Skip to content

Latest commit

 

History

History
120 lines (107 loc) · 5.5 KB

File metadata and controls

120 lines (107 loc) · 5.5 KB

Complete List of Migrated Properties (Phase 1)

89 Simple @Input Properties Migrated to input() Signals

Template Reference Properties (9)

  1. customFindbarInputArea - input<TemplateRef>()
  2. customToolbar - input<TemplateRef>()
  3. customFindbar - input<TemplateRef>()
  4. customFindbarButtons - input<TemplateRef>()
  5. customPdfViewer - input<TemplateRef>()
  6. customSecondaryToolbar - input<TemplateRef>()
  7. customSidebar - input<TemplateRef>()
  8. customThumbnail - input<TemplateRef>()
  9. customFreeFloatingBar - input<TemplateRef>()

Boolean Properties (16)

  1. showFreeFloatingBar - input(true)
  2. enableDragAndDrop - input(true)
  3. forceUsingLegacyES5 - input(false)
  4. disableForms - input(false)
  5. contextMenuAllowed - input(true)
  6. enablePrint - input(true)
  7. forceFullReloadOfJavaScriptCode - input(false)
  8. ignoreKeyboard - input(false)
  9. listenToURL - input(false)
  10. replaceBrowserPrint - input(true)
  11. useInlineScripts - input(true)
  12. showUnverifiedSignatures - input(false)
  13. findbarVisible - input(false)
  14. propertiesDialogVisible - input(false)
  15. showFindHighlightAll - input(true)
  16. showFindMatchCase - input(true)
  17. showFindMultiple - input(true)
  18. showFindRegexp - input(false)
  19. showFindEntireWord - input(true)
  20. showFindMatchDiacritics - input(true)
  21. showFindResultsCount - input(true)
  22. showFindMessages - input(true)
  23. showToolbar - input(true)
  24. showBorders - input(true)

ResponsiveVisibility Properties (36)

  1. showTextEditor - input('xxl')
  2. showStampEditor - input('xxl')
  3. showCommentEditor - input(pdfDefaultOptions.enableComment ? 'xxl' : false)
  4. showDrawEditor - input('xxl')
  5. showHighlightEditor - input('xxl')
  6. showSignatureEditor - input('xxl')
  7. showFindButton - input<ResponsiveVisibility | undefined>(undefined)
  8. showMovePageButton - input(false)
  9. showPagingButtons - input(true)
  10. showFirstAndLastPageButtons - input(true)
  11. showPreviousAndNextPageButtons - input(true)
  12. showPageNumber - input(true)
  13. showPageLabel - input(true)
  14. showZoomButtons - input(true)
  15. showZoomDropdown - input(true)
  16. showPresentationModeButton - input(false)
  17. showOpenFileButton - input(true)
  18. showPrintButton - input(true)
  19. showDownloadButton - input(true)
  20. showSecondaryToolbarButton - input(true)
  21. showSinglePageModeButton - input(true)
  22. showVerticalScrollButton - input(true)
  23. showHorizontalScrollButton - input(true)
  24. showWrappedScrollButton - input(true)
  25. showInfiniteScrollButton - input(true)
  26. showBookModeButton - input(true)
  27. showRotateCwButton - input(true)
  28. showRotateCcwButton - input(true)
  29. showHandToolButton - input(false)
  30. showSpreadButton - input(true)
  31. showPropertiesButton - input(true)

String Properties (7)

  1. minHeight - input<string | undefined>(undefined)
  2. filenameForDownload - input<string | undefined>(undefined)
  3. imageResourcesPath - input(assetsUrl(pdfDefaultOptions.assetsFolder) + '/images/')
  4. localeFolderPath - input(assetsUrl(pdfDefaultOptions.assetsFolder) + '/locale')
  5. language - input<string | undefined>(typeof window === 'undefined' ? 'en' : navigator.language)
  6. nameddest - input<string | undefined>(undefined)
  7. password - input<string | undefined>(undefined)
  8. pageLabel - input<string | undefined>(undefined)

Object Properties (2)

  1. authorization - input<Object | boolean | undefined>(undefined)
  2. httpHeaders - input<Object | undefined>(undefined)

Array Properties (2)

  1. ignoreKeys - input<Array>([])
  2. acceptKeys - input<Array>([])

Enum/Union Type Properties (4)

  1. logLevel - input(VerbosityLevel.WARNINGS)
  2. theme - input<'dark' | 'light' | 'custom' | string>('light')
  3. activeSidebarView - input(PdfSidebarView.OUTLINE)
  4. textLayer - input<boolean | undefined>(undefined)

Number Properties (4)

  1. printResolution - input(null)
  2. startTabindex - input()
  3. maxZoom - input(10)
  4. minZoom - input(0.1)

Required Properties (2)

  1. rotation - input.required<0 | 90 | 180 | 270>()
  2. spread - input.required()

Other Type Properties (3)

  1. backgroundColor - input(undefined)
  2. pdfBackgroundColor - input(undefined)
  3. zoom - input(undefined)

Notes

  • All properties maintain their original types and default values
  • Properties with ! (definite assignment assertion) were converted to input.required<Type>()
  • Properties with | undefined in type maintain that in the signal type
  • Complex expressions in default values are preserved (e.g., pdfDefaultOptions.enableComment ? 'xxl' : false)
  • Array and object properties correctly typed with Array<string> or Object types