@fundamental-ngx/ui5-webcomponents-fiori 0.63.2-rc.6 → 0.63.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs +4 -4
  2. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs.map +1 -1
  3. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header-actions.mjs +3 -3
  4. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs +4 -5
  5. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs.map +1 -1
  6. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs +3 -3
  7. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs +8 -9
  8. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs.map +1 -1
  9. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs +10 -14
  10. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs.map +1 -1
  11. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs +5 -6
  12. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs.map +1 -1
  13. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs +5 -7
  14. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs.map +1 -1
  15. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs +15 -26
  16. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs.map +1 -1
  17. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs +5 -6
  18. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs.map +1 -1
  19. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-hero-banner.mjs +8 -13
  20. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-hero-banner.mjs.map +1 -1
  21. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs +9 -14
  22. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs.map +1 -1
  23. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs +6 -7
  24. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs.map +1 -1
  25. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs +8 -11
  26. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs.map +1 -1
  27. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs +4 -5
  28. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs.map +1 -1
  29. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-menu-item.mjs +20 -32
  30. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-menu-item.mjs.map +1 -1
  31. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-menu.mjs +10 -15
  32. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-menu.mjs.map +1 -1
  33. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs +9 -12
  34. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs.map +1 -1
  35. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-list.mjs +20 -34
  36. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-list.mjs.map +1 -1
  37. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-internal.mjs +20 -34
  38. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-internal.mjs.map +1 -1
  39. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs +11 -16
  40. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs.map +1 -1
  41. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs +4 -5
  42. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs.map +1 -1
  43. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs +7 -8
  44. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs.map +1 -1
  45. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs +8 -13
  46. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs.map +1 -1
  47. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs +3 -3
  48. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-field.mjs +10 -15
  49. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-field.mjs.map +1 -1
  50. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs +6 -9
  51. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs.map +1 -1
  52. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs +5 -6
  53. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs.map +1 -1
  54. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs +9 -13
  55. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs.map +1 -1
  56. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs +5 -7
  57. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs.map +1 -1
  58. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs +5 -7
  59. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs.map +1 -1
  60. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs +13 -18
  61. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs.map +1 -1
  62. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs +6 -9
  63. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs.map +1 -1
  64. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs +7 -11
  65. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs.map +1 -1
  66. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs +14 -19
  67. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs.map +1 -1
  68. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs +3 -3
  69. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs +12 -16
  70. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs.map +1 -1
  71. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs +8 -11
  72. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs.map +1 -1
  73. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs +15 -23
  74. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs.map +1 -1
  75. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs +14 -22
  76. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs.map +1 -1
  77. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs +5 -6
  78. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs.map +1 -1
  79. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs +5 -6
  80. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs.map +1 -1
  81. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs +3 -3
  82. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs +5 -6
  83. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs.map +1 -1
  84. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs +10 -16
  85. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs.map +1 -1
  86. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs +9 -13
  87. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs.map +1 -1
  88. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs +19 -28
  89. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs.map +1 -1
  90. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs +9 -14
  91. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs.map +1 -1
  92. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs +12 -19
  93. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs.map +1 -1
  94. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs +4 -5
  95. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs.map +1 -1
  96. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs +19 -29
  97. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs.map +1 -1
  98. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs +10 -11
  99. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs.map +1 -1
  100. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs +7 -8
  101. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs.map +1 -1
  102. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-appearance-view-group.mjs +6 -9
  103. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-appearance-view-group.mjs.map +1 -1
  104. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-appearance-view-item.mjs +16 -26
  105. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-appearance-view-item.mjs.map +1 -1
  106. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-appearance-view.mjs +6 -7
  107. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-appearance-view.mjs.map +1 -1
  108. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs +6 -7
  109. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs.map +1 -1
  110. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs +12 -18
  111. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs.map +1 -1
  112. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs +6 -7
  113. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs.map +1 -1
  114. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-utils.mjs +3 -3
  115. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog-custom-tab.mjs +6 -9
  116. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog-custom-tab.mjs.map +1 -1
  117. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs +7 -7
  118. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs.map +1 -1
  119. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs +9 -12
  120. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs.map +1 -1
  121. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-tab.mjs +3 -3
  122. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs +4 -5
  123. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs.map +1 -1
  124. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori.mjs +542 -771
  125. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori.mjs.map +1 -1
  126. package/package.json +12 -13
@@ -8,7 +8,7 @@ class BarcodeScannerDialog {
8
8
  /**
9
9
  * Indicates whether the dialog is open.
10
10
  */
11
- this.open = input(false, { ...(ngDevMode ? { debugName: "open" } : /* istanbul ignore next */ {}), transform: booleanAttribute }); // className is now passed
11
+ this.open = input(false, { ...(ngDevMode ? { debugName: "open" } : {}), transform: booleanAttribute }); // className is now passed
12
12
  /**
13
13
  * Fired when the user closes the component.
14
14
  */
@@ -116,14 +116,14 @@ class BarcodeScannerDialog {
116
116
  }
117
117
  }
118
118
  }
119
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: BarcodeScannerDialog, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
120
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: BarcodeScannerDialog, isStandalone: true, selector: "ui5-barcode-scanner-dialog, [ui5-barcode-scanner-dialog]", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Close: "ui5Close", ui5ScanError: "ui5ScanError", ui5ScanSuccess: "ui5ScanSuccess" }, providers: [
119
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: BarcodeScannerDialog, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
120
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: BarcodeScannerDialog, isStandalone: true, selector: "ui5-barcode-scanner-dialog, [ui5-barcode-scanner-dialog]", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Close: "ui5Close", ui5ScanError: "ui5ScanError", ui5ScanSuccess: "ui5ScanSuccess" }, providers: [
121
121
  contentDensityObserverProviders({
122
122
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
123
123
  })
124
124
  ], exportAs: ["ui5BarcodeScannerDialog"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
125
125
  }
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: BarcodeScannerDialog, decorators: [{
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: BarcodeScannerDialog, decorators: [{
127
127
  type: Component,
128
128
  args: [{
129
129
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/barcode-scanner-dialog/index.ts","../../../../libs/ui5-webcomponents-fiori/barcode-scanner-dialog/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js';\nimport { default as _BarcodeScannerDialog } from '@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-barcode-scanner-dialog, [ui5-barcode-scanner-dialog]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5BarcodeScannerDialog',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BarcodeScannerDialog implements AfterViewInit {\n\n /**\n * Indicates whether the dialog is open.\n */\n open = input(false, { transform: booleanAttribute }); // className is now passed\n\n\n\n /**\n * Fired when the user closes the component.\n */\n ui5Close = output<UI5CustomEvent<_BarcodeScannerDialog, 'close'>>();\n\n /**\n * Fires when the scan fails with error.\n */\n ui5ScanError = output<UI5CustomEvent<_BarcodeScannerDialog, 'scan-error'>>();\n\n /**\n * Fires when the scan is completed successfully.\n */\n ui5ScanSuccess = output<UI5CustomEvent<_BarcodeScannerDialog, 'scan-success'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **footer**: Defines the footer HTML Element.\n\n**Note:** When you provide custom content for the `footer` slot, the default close button is not rendered.\nThis means you need to include your own mechanism within the custom `footer` to close the dialog,\nsuch as a button with an event listener that closes the dialog.\n\n**Note:** If the `footer` slot is not provided, a default footer with a close button is rendered automatically,\nallowing users to close the dialog without any additional implementation.\n * - **header**: Defines the header HTML Element.\n\n**Note:** If `header` slot is provided, the labelling of the dialog is a responsibility of the application developer.\n`accessibleName` should be used.\n *\n * @example\n * ```html\n * <ui5-barcode-scanner-dialog>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-barcode-scanner-dialog>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"footer\",\n \"description\": \"Defines the footer HTML Element.\\n\\n**Note:** When you provide custom content for the `footer` slot, the default close button is not rendered.\\nThis means you need to include your own mechanism within the custom `footer` to close the dialog,\\nsuch as a button with an event listener that closes the dialog.\\n\\n**Note:** If the `footer` slot is not provided, a default footer with a close button is rendered automatically,\\nallowing users to close the dialog without any additional implementation.\",\n \"since\": \"2.4.0\"\n },\n {\n \"name\": \"header\",\n \"description\": \"Defines the header HTML Element.\\n\\n**Note:** If `header` slot is provided, the labelling of the dialog is a responsibility of the application developer.\\n`accessibleName` should be used.\",\n \"since\": \"2.4.0\"\n }\n ];\n\n\n public elementRef: ElementRef<_BarcodeScannerDialog> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _BarcodeScannerDialog {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'open',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5Close',\n 'ui5ScanError',\n 'ui5ScanSuccess',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,oBAAoB,CAAA;AAZjC,IAAA,WAAA,GAAA;AAcE;;AAEG;QACH,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,KAAK,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,MAAA,EAAA,8BAAA,EAAA,CAAA,EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG,CAAC;AAIrD;;AAEG;QACH,IAAA,CAAA,QAAQ,GAAG,MAAM,EAAkD;AAEnE;;AAEG;QACH,IAAA,CAAA,YAAY,GAAG,MAAM,EAAuD;AAE5E;;AAEG;QACH,IAAA,CAAA,cAAc,GAAG,MAAM,EAAyD;AAEhF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG;AACb,YAAA;AACI,gBAAA,MAAM,EAAE,QAAQ;AAChB,gBAAA,aAAa,EAAE,kfAAkf;AACjgB,gBAAA,OAAO,EAAE;AACZ,aAAA;AACD,YAAA;AACI,gBAAA,MAAM,EAAE,QAAQ;AAChB,gBAAA,aAAa,EAAE,6LAA6L;AAC5M,gBAAA,OAAO,EAAE;AACZ;SACJ;AAGM,QAAA,IAAA,CAAA,UAAU,GAAsC,MAAM,CAAC,UAAU,CAAC;AAClE,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAwD1E,IAAA;AAtDC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,C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BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/barcode-scanner-dialog/index.ts","../../../../libs/ui5-webcomponents-fiori/barcode-scanner-dialog/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js';\nimport { default as _BarcodeScannerDialog } from '@ui5/webcomponents-fiori/dist/BarcodeScannerDialog.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-barcode-scanner-dialog, [ui5-barcode-scanner-dialog]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5BarcodeScannerDialog',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BarcodeScannerDialog implements AfterViewInit {\n\n /**\n * Indicates whether the dialog is open.\n */\n open = input(false, { transform: booleanAttribute }); // className is now passed\n\n\n\n /**\n * Fired when the user closes the component.\n */\n ui5Close = output<UI5CustomEvent<_BarcodeScannerDialog, 'close'>>();\n\n /**\n * Fires when the scan fails with error.\n */\n ui5ScanError = output<UI5CustomEvent<_BarcodeScannerDialog, 'scan-error'>>();\n\n /**\n * Fires when the scan is completed successfully.\n */\n ui5ScanSuccess = output<UI5CustomEvent<_BarcodeScannerDialog, 'scan-success'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **footer**: Defines the footer HTML Element.\n\n**Note:** When you provide custom content for the `footer` slot, the default close button is not rendered.\nThis means you need to include your own mechanism within the custom `footer` to close the dialog,\nsuch as a button with an event listener that closes the dialog.\n\n**Note:** If the `footer` slot is not provided, a default footer with a close button is rendered automatically,\nallowing users to close the dialog without any additional implementation.\n * - **header**: Defines the header HTML Element.\n\n**Note:** If `header` slot is provided, the labelling of the dialog is a responsibility of the application developer.\n`accessibleName` should be used.\n *\n * @example\n * ```html\n * <ui5-barcode-scanner-dialog>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-barcode-scanner-dialog>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"footer\",\n \"description\": \"Defines the footer HTML Element.\\n\\n**Note:** When you provide custom content for the `footer` slot, the default close button is not rendered.\\nThis means you need to include your own mechanism within the custom `footer` to close the dialog,\\nsuch as a button with an event listener that closes the dialog.\\n\\n**Note:** If the `footer` slot is not provided, a default footer with a close button is rendered automatically,\\nallowing users to close the dialog without any additional implementation.\",\n \"since\": \"2.4.0\"\n },\n {\n \"name\": \"header\",\n \"description\": \"Defines the header HTML Element.\\n\\n**Note:** If `header` slot is provided, the labelling of the dialog is a responsibility of the application developer.\\n`accessibleName` should be used.\",\n \"since\": \"2.4.0\"\n }\n ];\n\n\n public elementRef: ElementRef<_BarcodeScannerDialog> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _BarcodeScannerDialog {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'open',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5Close',\n 'ui5ScanError',\n 'ui5ScanSuccess',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,oBAAoB,CAAA;AAZjC,IAAA,WAAA,GAAA;AAcE;;AAEG;QACH,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,KAAK,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,MAAA,EAAA,GAAA,EAAA,CAAA,EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG,CAAC;AAIrD;;AAEG;QACH,IAAA,CAAA,QAAQ,GAAG,MAAM,EAAkD;AAEnE;;AAEG;QACH,IAAA,CAAA,YAAY,GAAG,MAAM,EAAuD;AAE5E;;AAEG;QACH,IAAA,CA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AA,EAAA,gBAAA,EAAA,EAAA,SAAA,EAPpB;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,yBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAZhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0DAA0D;AACpE,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
@@ -21,14 +21,14 @@ class DynamicPageHeaderActions {
21
21
  ngAfterViewInit() {
22
22
  const wcElement = this.element;
23
23
  }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicPageHeaderActions, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: DynamicPageHeaderActions, isStandalone: true, selector: "ui5-dynamic-page-header-actions, [ui5-dynamic-page-header-actions]", providers: [
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicPageHeaderActions, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
25
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: DynamicPageHeaderActions, isStandalone: true, selector: "ui5-dynamic-page-header-actions, [ui5-dynamic-page-header-actions]", providers: [
26
26
  contentDensityObserverProviders({
27
27
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
28
28
  })
29
29
  ], exportAs: ["ui5DynamicPageHeaderActions"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicPageHeaderActions, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicPageHeaderActions, decorators: [{
32
32
  type: Component,
33
33
  args: [{
34
34
  standalone: true,
@@ -9,8 +9,7 @@ class DynamicPageHeader {
9
9
  * Defines the accessible ARIA label for the header region.
10
10
  Overrides the default "Header Expanded" / "Header Snapped" text.
11
11
  */
12
- this.accessibleName = input(/* @ts-ignore */
13
- ...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ [])); // className is now passed
12
+ this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : [])); // className is now passed
14
13
  /**
15
14
  * Available slots for content projection in this component.
16
15
  *
@@ -72,14 +71,14 @@ class DynamicPageHeader {
72
71
  }
73
72
  }
74
73
  }
75
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicPageHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
76
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: DynamicPageHeader, isStandalone: true, selector: "ui5-dynamic-page-header, [ui5-dynamic-page-header]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
74
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicPageHeader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
75
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: DynamicPageHeader, isStandalone: true, selector: "ui5-dynamic-page-header, [ui5-dynamic-page-header]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
77
76
  contentDensityObserverProviders({
78
77
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
79
78
  })
80
79
  ], exportAs: ["ui5DynamicPageHeader"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
81
80
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicPageHeader, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicPageHeader, decorators: [{
83
82
  type: Component,
84
83
  args: [{
85
84
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/dynamic-page-header/index.ts","../../../../libs/ui5-webcomponents-fiori/dynamic-page-header/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/DynamicPageHeader.js';\nimport { default as _DynamicPageHeader } from '@ui5/webcomponents-fiori/dist/DynamicPageHeader.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-dynamic-page-header, [ui5-dynamic-page-header]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5DynamicPageHeader',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DynamicPageHeader implements AfterViewInit {\n\n /**\n * Defines the accessible ARIA label for the header region.\nOverrides the default \"Header Expanded\" / \"Header Snapped\" text.\n */\n accessibleName = input<typeof _DynamicPageHeader.prototype.accessibleName | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the Dynamic Page Header.\n *\n * @example\n * ```html\n * <ui5-dynamic-page-header>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-dynamic-page-header>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the content of the Dynamic Page Header.\"\n }\n ];\n\n\n public elementRef: ElementRef<_DynamicPageHeader> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _DynamicPageHeader {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,iBAAiB,CAAA;AAZ9B,IAAA,WAAA,GAAA;AAcE;;;AAGG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK;AAAkE,QAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAA,CAAC;AAKzF;;;;;;;;;;;;;;;;;;AAkBG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG;AACb,YAAA;AACI,gBAAA,MAAM,EAAE,SAAS;AACjB,gBAAA,aAAa,EAAE;AAClB;SACJ;AAGM,QAAA,IAAA,CAAA,UAAU,GAAmC,MAAM,CAAC,UAAU,CAAC;AAC/D,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAqC1E,IAAA;AAnCC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa;IACtC;IAEA,eAAe,GAAA;AACb,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO;AAE9B,QAAA,MAAM,YAAY,GAAG;YACnB,gBAAgB;SACjB;;AAGD,QAAA,KAAK,MAAM,SAAS,IAAI,YAAY,EAAE;;YAEpC,MAAM,UAAU,GAAG,SAAS,CAAC,OAAO,CAAC,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A,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAZ7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,oDAAoD;AAC9D,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/dynamic-page-header/index.ts","../../../../libs/ui5-webcomponents-fiori/dynamic-page-header/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/DynamicPageHeader.js';\nimport { default as _DynamicPageHeader } from '@ui5/webcomponents-fiori/dist/DynamicPageHeader.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-dynamic-page-header, [ui5-dynamic-page-header]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5DynamicPageHeader',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DynamicPageHeader implements AfterViewInit {\n\n /**\n * Defines the accessible ARIA label for the header region.\nOverrides the default \"Header Expanded\" / \"Header Snapped\" text.\n */\n accessibleName = input<typeof _DynamicPageHeader.prototype.accessibleName | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the Dynamic Page Header.\n *\n * @example\n * ```html\n * <ui5-dynamic-page-header>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-dynamic-page-header>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the content of the Dynamic Page Header.\"\n }\n ];\n\n\n public elementRef: ElementRef<_DynamicPageHeader> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _DynamicPageHeader {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings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B,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
@@ -100,14 +100,14 @@ class DynamicPageTitle {
100
100
  ngAfterViewInit() {
101
101
  const wcElement = this.element;
102
102
  }
103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicPageTitle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
104
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.5", type: DynamicPageTitle, isStandalone: true, selector: "ui5-dynamic-page-title, [ui5-dynamic-page-title]", providers: [
103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicPageTitle, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
104
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.1.0", type: DynamicPageTitle, isStandalone: true, selector: "ui5-dynamic-page-title, [ui5-dynamic-page-title]", providers: [
105
105
  contentDensityObserverProviders({
106
106
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
107
107
  })
108
108
  ], exportAs: ["ui5DynamicPageTitle"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
109
109
  }
110
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicPageTitle, decorators: [{
110
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicPageTitle, decorators: [{
111
111
  type: Component,
112
112
  args: [{
113
113
  standalone: true,
@@ -28,24 +28,23 @@ class DynamicPage {
28
28
  - **name**: Defines the accessible ARIA name of the area.
29
29
  Accepts any string.
30
30
  */
31
- this.accessibilityAttributes = input({}, /* @ts-ignore */
32
- ...(ngDevMode ? [{ debugName: "accessibilityAttributes" }] : /* istanbul ignore next */ []));
31
+ this.accessibilityAttributes = input({}, ...(ngDevMode ? [{ debugName: "accessibilityAttributes" }] : []));
33
32
  /**
34
33
  * Defines if the header is pinned.
35
34
  */
36
- this.headerPinned = input(false, { ...(ngDevMode ? { debugName: "headerPinned" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
35
+ this.headerPinned = input(false, { ...(ngDevMode ? { debugName: "headerPinned" } : {}), transform: booleanAttribute });
37
36
  /**
38
37
  * Defines if the header is snapped.
39
38
  */
40
- this.headerSnapped = input(false, { ...(ngDevMode ? { debugName: "headerSnapped" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
39
+ this.headerSnapped = input(false, { ...(ngDevMode ? { debugName: "headerSnapped" } : {}), transform: booleanAttribute });
41
40
  /**
42
41
  * Defines if the pin button is hidden.
43
42
  */
44
- this.hidePinButton = input(false, { ...(ngDevMode ? { debugName: "hidePinButton" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
43
+ this.hidePinButton = input(false, { ...(ngDevMode ? { debugName: "hidePinButton" } : {}), transform: booleanAttribute });
45
44
  /**
46
45
  * Defines if the footer is shown.
47
46
  */
48
- this.showFooter = input(false, { ...(ngDevMode ? { debugName: "showFooter" } : /* istanbul ignore next */ {}), transform: booleanAttribute }); // className is now passed
47
+ this.showFooter = input(false, { ...(ngDevMode ? { debugName: "showFooter" } : {}), transform: booleanAttribute }); // className is now passed
49
48
  /**
50
49
  * Fired when the pin header button is toggled.
51
50
  */
@@ -150,14 +149,14 @@ class DynamicPage {
150
149
  }
151
150
  }
152
151
  }
153
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicPage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
154
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: DynamicPage, isStandalone: true, selector: "ui5-dynamic-page, [ui5-dynamic-page]", inputs: { accessibilityAttributes: { classPropertyName: "accessibilityAttributes", publicName: "accessibilityAttributes", isSignal: true, isRequired: false, transformFunction: null }, headerPinned: { classPropertyName: "headerPinned", publicName: "headerPinned", isSignal: true, isRequired: false, transformFunction: null }, headerSnapped: { classPropertyName: "headerSnapped", publicName: "headerSnapped", isSignal: true, isRequired: false, transformFunction: null }, hidePinButton: { classPropertyName: "hidePinButton", publicName: "hidePinButton", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5PinButtonToggle: "ui5PinButtonToggle", ui5TitleToggle: "ui5TitleToggle" }, providers: [
152
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicPage, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
153
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: DynamicPage, isStandalone: true, selector: "ui5-dynamic-page, [ui5-dynamic-page]", inputs: { accessibilityAttributes: { classPropertyName: "accessibilityAttributes", publicName: "accessibilityAttributes", isSignal: true, isRequired: false, transformFunction: null }, headerPinned: { classPropertyName: "headerPinned", publicName: "headerPinned", isSignal: true, isRequired: false, transformFunction: null }, headerSnapped: { classPropertyName: "headerSnapped", publicName: "headerSnapped", isSignal: true, isRequired: false, transformFunction: null }, hidePinButton: { classPropertyName: "hidePinButton", publicName: "hidePinButton", isSignal: true, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5PinButtonToggle: "ui5PinButtonToggle", ui5TitleToggle: "ui5TitleToggle" }, providers: [
155
154
  contentDensityObserverProviders({
156
155
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
157
156
  })
158
157
  ], exportAs: ["ui5DynamicPage"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
159
158
  }
160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicPage, decorators: [{
159
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicPage, decorators: [{
161
160
  type: Component,
162
161
  args: [{
163
162
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/dynamic-page/index.ts","../../../../libs/ui5-webcomponents-fiori/dynamic-page/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/DynamicPage.js';\nimport { default as _DynamicPage } from '@ui5/webcomponents-fiori/dist/DynamicPage.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { DynamicPageAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/DynamicPage.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-dynamic-page, [ui5-dynamic-page]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5DynamicPage',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DynamicPage implements AfterViewInit {\n\n /**\n * Defines additional accessibility attributes on different areas of the component.\n\nThe accessibilityAttributes object has the following fields,\nwhere each field is an object supporting one or more accessibility attributes:\n\n - **root**: `root.role` and `root.name`.\n - **header**: `header.role` and `header.name`.\n - **content**: `content.role` and `content.name`.\n - **footer**: `footer.role` and `footer.name`.\n\nThe accessibility attributes support the following values:\n\n- **role**: Defines the accessible ARIA landmark role of the area.\nAccepts the following values per section:\n`root` — `none`, `main`, `region`;\n`header` — `none`, `banner`, `region`;\n`content` — `none`, `main`, `region`, `form`;\n`footer` — `none`, `contentinfo`, `region`.\n\n- **name**: Defines the accessible ARIA name of the area.\nAccepts any string.\n */\n accessibilityAttributes = input<typeof _DynamicPage.prototype.accessibilityAttributes | undefined>({});\n\n /**\n * Defines if the header is pinned.\n */\n headerPinned = input(false, { transform: booleanAttribute });\n\n /**\n * Defines if the header is snapped.\n */\n headerSnapped = input(false, { transform: booleanAttribute });\n\n /**\n * Defines if the pin button is hidden.\n */\n hidePinButton = input(false, { transform: booleanAttribute });\n\n /**\n * Defines if the footer is shown.\n */\n showFooter = input(false, { transform: booleanAttribute }); // className is now passed\n\n\n\n /**\n * Fired when the pin header button is toggled.\n */\n ui5PinButtonToggle = output<UI5CustomEvent<_DynamicPage, 'pin-button-toggle'>>();\n\n /**\n * Fired when the expand/collapse area of the title is toggled.\n */\n ui5TitleToggle = output<UI5CustomEvent<_DynamicPage, 'title-toggle'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the Dynamic Page.\n * - **footerArea**: Defines the footer HTML Element.\n * - **headerArea**: Defines the header HTML Element.\n * - **titleArea**: Defines the title HTML Element.\n *\n * @example\n * ```html\n * <ui5-dynamic-page>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-dynamic-page>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the content of the Dynamic Page.\"\n },\n {\n \"name\": \"footerArea\",\n \"description\": \"Defines the footer HTML Element.\"\n },\n {\n \"name\": \"headerArea\",\n \"description\": \"Defines the header HTML Element.\"\n },\n {\n \"name\": \"titleArea\",\n \"description\": \"Defines the title HTML Element.\"\n }\n ];\n\n\n public elementRef: ElementRef<_DynamicPage> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _DynamicPage {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibilityAttributes',\n 'headerPinned',\n 'headerSnapped',\n 'hidePinButton',\n 'showFooter',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5PinButtonToggle',\n 'ui5TitleToggle',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n// Re-export types for convenience\nexport { DynamicPageAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/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A,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,iBAAA,EAAA,YAAA,EAAA,UAAA,EAAA,YAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,EAAA,SAAA,EAPX;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,gBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,WAAW,EAAA,UAAA,EAAA,CAAA;kBAZvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sCAAsC;AAChD,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/dynamic-page/index.ts","../../../../libs/ui5-webcomponents-fiori/dynamic-page/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/DynamicPage.js';\nimport { default as _DynamicPage } from '@ui5/webcomponents-fiori/dist/DynamicPage.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { DynamicPageAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/DynamicPage.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-dynamic-page, [ui5-dynamic-page]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5DynamicPage',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DynamicPage implements AfterViewInit {\n\n /**\n * Defines additional accessibility attributes on different areas of the component.\n\nThe accessibilityAttributes object has the following fields,\nwhere each field is an object supporting one or more accessibility attributes:\n\n - **root**: `root.role` and `root.name`.\n - **header**: `header.role` and `header.name`.\n - **content**: `content.role` and `content.name`.\n - **footer**: `footer.role` and `footer.name`.\n\nThe accessibility attributes support the following values:\n\n- **role**: Defines the accessible ARIA landmark role of the area.\nAccepts the following values per section:\n`root` — `none`, `main`, `region`;\n`header` — `none`, `banner`, `region`;\n`content` — `none`, `main`, `region`, `form`;\n`footer` — `none`, `contentinfo`, `region`.\n\n- **name**: Defines the accessible ARIA name of the area.\nAccepts any string.\n */\n accessibilityAttributes = input<typeof _DynamicPage.prototype.accessibilityAttributes | undefined>({});\n\n /**\n * Defines if the header is pinned.\n */\n headerPinned = input(false, { transform: booleanAttribute });\n\n /**\n * Defines if the header is snapped.\n */\n headerSnapped = input(false, { transform: booleanAttribute });\n\n /**\n * Defines if the pin button is hidden.\n */\n hidePinButton = input(false, { transform: booleanAttribute });\n\n /**\n * Defines if the footer is shown.\n */\n showFooter = input(false, { transform: booleanAttribute }); // className is now passed\n\n\n\n /**\n * Fired when the pin header button is toggled.\n */\n ui5PinButtonToggle = output<UI5CustomEvent<_DynamicPage, 'pin-button-toggle'>>();\n\n /**\n * Fired when the expand/collapse area of the title is toggled.\n */\n ui5TitleToggle = output<UI5CustomEvent<_DynamicPage, 'title-toggle'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the Dynamic Page.\n * - **footerArea**: Defines the footer HTML Element.\n * - **headerArea**: Defines the header HTML Element.\n * - **titleArea**: Defines the title HTML Element.\n *\n * @example\n * ```html\n * <ui5-dynamic-page>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-dynamic-page>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the content of the Dynamic Page.\"\n },\n {\n \"name\": \"footerArea\",\n \"description\": \"Defines the footer HTML Element.\"\n },\n {\n \"name\": \"headerArea\",\n \"description\": \"Defines the header HTML Element.\"\n },\n {\n \"name\": \"titleArea\",\n \"description\": \"Defines the title HTML Element.\"\n }\n ];\n\n\n public elementRef: ElementRef<_DynamicPage> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _DynamicPage {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibilityAttributes',\n 'headerPinned',\n 'headerSnapped',\n 'hidePinButton',\n 'showFooter',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5PinButtonToggle',\n 'ui5TitleToggle',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n// Re-export types for convenience\nexport { DynamicPageAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/DynamicPage.js';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,WAAW,CAAA;AAZxB,IAAA,WAAA,GAAA;AAcE;;;;;;;;;;;;;;;;;;;;;;AAsBG;AACH,QAAA,IAAA,CAAA,uBAAuB,GAAG,KAAK,CAAoE,EAAE,mEAAC;AAEtG;;AAEG;QACH,IAAA,CAAA,YAAY,GAAG,KAAK,CAAC,KAAK,yDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE5D;;AAEG;QACH,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,KAAK,0DAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE7D;;AAEG;QACH,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,KAAK,0DAAI,SAAS,EAAE,gBAAgB,EAAA,CAA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A,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,WAAW,EAAA,UAAA,EAAA,CAAA;kBAZvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sCAAsC;AAChD,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
@@ -18,39 +18,35 @@ class DynamicSideContent {
18
18
  - **ariaLabel**: defines the aria-label of the side content area. Accepts any string.
19
19
  - **role**: defines the role of the side content area. When not set, defaults to `"complementary"`. Set to `undefined` to remove the role attribute.
20
20
  */
21
- this.accessibilityAttributes = input({}, /* @ts-ignore */
22
- ...(ngDevMode ? [{ debugName: "accessibilityAttributes" }] : /* istanbul ignore next */ []));
21
+ this.accessibilityAttributes = input({}, ...(ngDevMode ? [{ debugName: "accessibilityAttributes" }] : []));
23
22
  /**
24
23
  * Defines whether the component is in equal split mode. In this mode, the side and
25
24
  the main content take 50:50 percent of the container on all screen sizes
26
25
  except for phone, where the main and side contents are switching visibility
27
26
  using the toggle method.
28
27
  */
29
- this.equalSplit = input(false, { ...(ngDevMode ? { debugName: "equalSplit" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
28
+ this.equalSplit = input(false, { ...(ngDevMode ? { debugName: "equalSplit" } : {}), transform: booleanAttribute });
30
29
  /**
31
30
  * Defines the visibility of the main content.
32
31
  */
33
- this.hideMainContent = input(false, { ...(ngDevMode ? { debugName: "hideMainContent" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
32
+ this.hideMainContent = input(false, { ...(ngDevMode ? { debugName: "hideMainContent" } : {}), transform: booleanAttribute });
34
33
  /**
35
34
  * Defines the visibility of the side content.
36
35
  */
37
- this.hideSideContent = input(false, { ...(ngDevMode ? { debugName: "hideSideContent" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
36
+ this.hideSideContent = input(false, { ...(ngDevMode ? { debugName: "hideSideContent" } : {}), transform: booleanAttribute });
38
37
  /**
39
38
  * Defines on which breakpoints the side content falls down below the main content.
40
39
  */
41
- this.sideContentFallDown = input("OnMinimumWidth", /* @ts-ignore */
42
- ...(ngDevMode ? [{ debugName: "sideContentFallDown" }] : /* istanbul ignore next */ []));
40
+ this.sideContentFallDown = input("OnMinimumWidth", ...(ngDevMode ? [{ debugName: "sideContentFallDown" }] : []));
43
41
  /**
44
42
  * Defines whether the side content is positioned before the main content (left side
45
43
  in LTR mode), or after the the main content (right side in LTR mode).
46
44
  */
47
- this.sideContentPosition = input("End", /* @ts-ignore */
48
- ...(ngDevMode ? [{ debugName: "sideContentPosition" }] : /* istanbul ignore next */ []));
45
+ this.sideContentPosition = input("End", ...(ngDevMode ? [{ debugName: "sideContentPosition" }] : []));
49
46
  /**
50
47
  * Defines on which breakpoints the side content is visible.
51
48
  */
52
- this.sideContentVisibility = input("ShowAboveS", /* @ts-ignore */
53
- ...(ngDevMode ? [{ debugName: "sideContentVisibility" }] : /* istanbul ignore next */ [])); // className is now passed
49
+ this.sideContentVisibility = input("ShowAboveS", ...(ngDevMode ? [{ debugName: "sideContentVisibility" }] : [])); // className is now passed
54
50
  /**
55
51
  * Fires when the current breakpoint has been changed.
56
52
  */
@@ -142,14 +138,14 @@ class DynamicSideContent {
142
138
  }
143
139
  }
144
140
  }
145
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicSideContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
146
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: DynamicSideContent, isStandalone: true, selector: "ui5-dynamic-side-content, [ui5-dynamic-side-content]", inputs: { accessibilityAttributes: { classPropertyName: "accessibilityAttributes", publicName: "accessibilityAttributes", isSignal: true, isRequired: false, transformFunction: null }, equalSplit: { classPropertyName: "equalSplit", publicName: "equalSplit", isSignal: true, isRequired: false, transformFunction: null }, hideMainContent: { classPropertyName: "hideMainContent", publicName: "hideMainContent", isSignal: true, isRequired: false, transformFunction: null }, hideSideContent: { classPropertyName: "hideSideContent", publicName: "hideSideContent", isSignal: true, isRequired: false, transformFunction: null }, sideContentFallDown: { classPropertyName: "sideContentFallDown", publicName: "sideContentFallDown", isSignal: true, isRequired: false, transformFunction: null }, sideContentPosition: { classPropertyName: "sideContentPosition", publicName: "sideContentPosition", isSignal: true, isRequired: false, transformFunction: null }, sideContentVisibility: { classPropertyName: "sideContentVisibility", publicName: "sideContentVisibility", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5LayoutChange: "ui5LayoutChange" }, providers: [
141
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicSideContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
142
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: DynamicSideContent, isStandalone: true, selector: "ui5-dynamic-side-content, [ui5-dynamic-side-content]", inputs: { accessibilityAttributes: { classPropertyName: "accessibilityAttributes", publicName: "accessibilityAttributes", isSignal: true, isRequired: false, transformFunction: null }, equalSplit: { classPropertyName: "equalSplit", publicName: "equalSplit", isSignal: true, isRequired: false, transformFunction: null }, hideMainContent: { classPropertyName: "hideMainContent", publicName: "hideMainContent", isSignal: true, isRequired: false, transformFunction: null }, hideSideContent: { classPropertyName: "hideSideContent", publicName: "hideSideContent", isSignal: true, isRequired: false, transformFunction: null }, sideContentFallDown: { classPropertyName: "sideContentFallDown", publicName: "sideContentFallDown", isSignal: true, isRequired: false, transformFunction: null }, sideContentPosition: { classPropertyName: "sideContentPosition", publicName: "sideContentPosition", isSignal: true, isRequired: false, transformFunction: null }, sideContentVisibility: { classPropertyName: "sideContentVisibility", publicName: "sideContentVisibility", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5LayoutChange: "ui5LayoutChange" }, providers: [
147
143
  contentDensityObserverProviders({
148
144
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
149
145
  })
150
146
  ], exportAs: ["ui5DynamicSideContent"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
151
147
  }
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: DynamicSideContent, decorators: [{
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicSideContent, decorators: [{
153
149
  type: Component,
154
150
  args: [{
155
151
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/dynamic-side-content/index.ts","../../../../libs/ui5-webcomponents-fiori/dynamic-side-content/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';\nimport { default as _DynamicSideContent } from '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { DynamicSideContentAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';\nimport { default as SideContentFallDown } from '@ui5/webcomponents-fiori/dist/types/SideContentFallDown.js';\nimport { default as SideContentPosition } from '@ui5/webcomponents-fiori/dist/types/SideContentPosition.js';\nimport { default as SideContentVisibility } from '@ui5/webcomponents-fiori/dist/types/SideContentVisibility.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-dynamic-side-content, [ui5-dynamic-side-content]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5DynamicSideContent',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DynamicSideContent implements AfterViewInit {\n\n /**\n * Defines additional accessibility attributes on different areas of the component.\n\nThe accessibilityAttributes object has the following fields:\n\n- **mainContent**:\n - **ariaLabel**: defines the aria-label of the main content area. Accepts any string.\n - **role**: defines the role of the main content area. When not set, defaults to `\"main\"`. Set to `undefined` to remove the role attribute.\n\n- **sideContent**:\n - **ariaLabel**: defines the aria-label of the side content area. Accepts any string.\n - **role**: defines the role of the side content area. When not set, defaults to `\"complementary\"`. Set to `undefined` to remove the role attribute.\n */\n accessibilityAttributes = input<typeof _DynamicSideContent.prototype.accessibilityAttributes | undefined>({});\n\n /**\n * Defines whether the component is in equal split mode. In this mode, the side and\nthe main content take 50:50 percent of the container on all screen sizes\nexcept for phone, where the main and side contents are switching visibility\nusing the toggle method.\n */\n equalSplit = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the visibility of the main content.\n */\n hideMainContent = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the visibility of the side content.\n */\n hideSideContent = input(false, { transform: booleanAttribute });\n\n /**\n * Defines on which breakpoints the side content falls down below the main content.\n */\n sideContentFallDown = input<typeof _DynamicSideContent.prototype.sideContentFallDown | undefined>(\"OnMinimumWidth\");\n\n /**\n * Defines whether the side content is positioned before the main content (left side\nin LTR mode), or after the the main content (right side in LTR mode).\n */\n sideContentPosition = input<typeof _DynamicSideContent.prototype.sideContentPosition | undefined>(\"End\");\n\n /**\n * Defines on which breakpoints the side content is visible.\n */\n sideContentVisibility = input<typeof _DynamicSideContent.prototype.sideContentVisibility | undefined>(\"ShowAboveS\"); // className is now passed\n\n\n\n /**\n * Fires when the current breakpoint has been changed.\n */\n ui5LayoutChange = output<UI5CustomEvent<_DynamicSideContent, 'layout-change'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the main content.\n * - **sideContent**: Defines the side content.\n *\n * @example\n * ```html\n * <ui5-dynamic-side-content>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-dynamic-side-content>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the main content.\"\n },\n {\n \"name\": \"sideContent\",\n \"description\": \"Defines the side content.\"\n }\n ];\n\n\n public elementRef: ElementRef<_DynamicSideContent> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _DynamicSideContent {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibilityAttributes',\n 'equalSplit',\n 'hideMainContent',\n 'hideSideContent',\n 'sideContentFallDown',\n 'sideContentPosition',\n 'sideContentVisibility',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5LayoutChange',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n// Re-export types for convenience\nexport { DynamicSideContentAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MA0Ca,kBAAkB,CAAA;AAZ/B,IAAA,WAAA,GAAA;AAcE;;;;;;;;;;;;AAYG;QACH,IAAA,CAAA,uBAAuB,GAAG,KAAK,CAA2E,EAAE;oGAAC;AAE7G;;;;;AAKG;QACH,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,KAAK,kFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE1D;;AAEG;QACH,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,KAAK,uFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE/D;;AAEG;QACH,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,KAAK,uFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE/D;;AAEG;QACH,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAuE,gBAAgB;gGAAC;AAEnH;;;AAGG;QACH,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAuE,KAAK;gGAAC;AAExG;;AAEG;QACH,IAAA,CAAA,qBAAqB,GA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AA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sDAAsD;AAChE,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACzCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/dynamic-side-content/index.ts","../../../../libs/ui5-webcomponents-fiori/dynamic-side-content/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';\nimport { default as _DynamicSideContent } from '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { DynamicSideContentAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';\nimport { default as SideContentFallDown } from '@ui5/webcomponents-fiori/dist/types/SideContentFallDown.js';\nimport { default as SideContentPosition } from '@ui5/webcomponents-fiori/dist/types/SideContentPosition.js';\nimport { default as SideContentVisibility } from '@ui5/webcomponents-fiori/dist/types/SideContentVisibility.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-dynamic-side-content, [ui5-dynamic-side-content]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5DynamicSideContent',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DynamicSideContent implements AfterViewInit {\n\n /**\n * Defines additional accessibility attributes on different areas of the component.\n\nThe accessibilityAttributes object has the following fields:\n\n- **mainContent**:\n - **ariaLabel**: defines the aria-label of the main content area. Accepts any string.\n - **role**: defines the role of the main content area. When not set, defaults to `\"main\"`. Set to `undefined` to remove the role attribute.\n\n- **sideContent**:\n - **ariaLabel**: defines the aria-label of the side content area. Accepts any string.\n - **role**: defines the role of the side content area. When not set, defaults to `\"complementary\"`. Set to `undefined` to remove the role attribute.\n */\n accessibilityAttributes = input<typeof _DynamicSideContent.prototype.accessibilityAttributes | undefined>({});\n\n /**\n * Defines whether the component is in equal split mode. In this mode, the side and\nthe main content take 50:50 percent of the container on all screen sizes\nexcept for phone, where the main and side contents are switching visibility\nusing the toggle method.\n */\n equalSplit = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the visibility of the main content.\n */\n hideMainContent = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the visibility of the side content.\n */\n hideSideContent = input(false, { transform: booleanAttribute });\n\n /**\n * Defines on which breakpoints the side content falls down below the main content.\n */\n sideContentFallDown = input<typeof _DynamicSideContent.prototype.sideContentFallDown | undefined>(\"OnMinimumWidth\");\n\n /**\n * Defines whether the side content is positioned before the main content (left side\nin LTR mode), or after the the main content (right side in LTR mode).\n */\n sideContentPosition = input<typeof _DynamicSideContent.prototype.sideContentPosition | undefined>(\"End\");\n\n /**\n * Defines on which breakpoints the side content is visible.\n */\n sideContentVisibility = input<typeof _DynamicSideContent.prototype.sideContentVisibility | undefined>(\"ShowAboveS\"); // className is now passed\n\n\n\n /**\n * Fires when the current breakpoint has been changed.\n */\n ui5LayoutChange = output<UI5CustomEvent<_DynamicSideContent, 'layout-change'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the main content.\n * - **sideContent**: Defines the side content.\n *\n * @example\n * ```html\n * <ui5-dynamic-side-content>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-dynamic-side-content>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the main content.\"\n },\n {\n \"name\": \"sideContent\",\n \"description\": \"Defines the side content.\"\n }\n ];\n\n\n public elementRef: ElementRef<_DynamicSideContent> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _DynamicSideContent {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibilityAttributes',\n 'equalSplit',\n 'hideMainContent',\n 'hideSideContent',\n 'sideContentFallDown',\n 'sideContentPosition',\n 'sideContentVisibility',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5LayoutChange',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n// Re-export types for convenience\nexport { DynamicSideContentAccessibilityAttributes } from '@ui5/webcomponents-fiori/dist/DynamicSideContent.js';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MA0Ca,kBAAkB,CAAA;AAZ/B,IAAA,WAAA,GAAA;AAcE;;;;;;;;;;;;AAYG;AACH,QAAA,IAAA,CAAA,uBAAuB,GAAG,KAAK,CAA2E,EAAE,mEAAC;AAE7G;;;;;AAKG;QACH,IAAA,CAAA,UAAU,GAAG,KAAK,CAAC,KAAK,uDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE1D;;AAEG;QACH,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,KAAK,4DAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE/D;;AAEG;QACH,IAAA,CAAA,eAAe,GAAG,KAAK,CAAC,KAAK,4DAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE/D;;AAEG;AACH,QAAA,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAuE,gBAAgB,+DAAC;AAEnH;;;AAGG;AACH,QAAA,IAAA,CAAA,mBAAmB,GAAG,KAAK,CAAuE,KAAK,+DAAC;AAExG;;AAEG;AACH,QAAA,IAAA,CAAA,qBAAqB,GAAG,KAAK,CAAyE,YAAY,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAA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AA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAZ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sDAAsD;AAChE,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACzCD;;AAEG;;;;"}
@@ -8,12 +8,11 @@ class FilterItemOption {
8
8
  /**
9
9
  * Defines if the filter option is selected.
10
10
  */
11
- this.selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
11
+ this.selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : {}), transform: booleanAttribute });
12
12
  /**
13
13
  * Defines the text of the filter option.
14
14
  */
15
- this.text = input(/* @ts-ignore */
16
- ...(ngDevMode ? [undefined, { debugName: "text" }] : /* istanbul ignore next */ [])); // className is now passed
15
+ this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : [])); // className is now passed
17
16
  this.elementRef = inject(ElementRef);
18
17
  this.injector = inject(Injector);
19
18
  /**
@@ -51,14 +50,14 @@ class FilterItemOption {
51
50
  }
52
51
  }
53
52
  }
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FilterItemOption, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
55
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: FilterItemOption, isStandalone: true, selector: "ui5-filter-item-option, [ui5-filter-item-option]", inputs: { selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FilterItemOption, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
54
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: FilterItemOption, isStandalone: true, selector: "ui5-filter-item-option, [ui5-filter-item-option]", inputs: { selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
56
55
  contentDensityObserverProviders({
57
56
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
58
57
  })
59
58
  ], exportAs: ["ui5FilterItemOption"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
60
59
  }
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FilterItemOption, decorators: [{
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FilterItemOption, decorators: [{
62
61
  type: Component,
63
62
  args: [{
64
63
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/filter-item-option/index.ts","../../../../libs/ui5-webcomponents-fiori/filter-item-option/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/FilterItemOption.js';\nimport { default as _FilterItemOption } from '@ui5/webcomponents-fiori/dist/FilterItemOption.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-filter-item-option, [ui5-filter-item-option]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FilterItemOption',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FilterItemOption implements AfterViewInit {\n\n /**\n * Defines if the filter option is selected.\n */\n selected = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the text of the filter option.\n */\n text = input<typeof _FilterItemOption.prototype.text | undefined>(); // className is now passed\n\n\n\n\n\n public elementRef: ElementRef<_FilterItemOption> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _FilterItemOption {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'selected',\n 'text',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,gB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AAqB;AAC/B,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/filter-item-option/index.ts","../../../../libs/ui5-webcomponents-fiori/filter-item-option/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/FilterItemOption.js';\nimport { default as _FilterItemOption } from '@ui5/webcomponents-fiori/dist/FilterItemOption.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-filter-item-option, [ui5-filter-item-option]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FilterItemOption',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FilterItemOption implements AfterViewInit {\n\n /**\n * Defines if the filter option is selected.\n */\n selected = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the text of the filter option.\n */\n text = input<typeof _FilterItemOption.prototype.text | undefined>(); // className is now passed\n\n\n\n\n\n public elementRef: ElementRef<_FilterItemOption> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _FilterItemOption {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'selected',\n 'text',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,gBAAgB,CAAA;AAZ7B,IAAA,WAAA,GAAA;AAcE;;AAEG;QACH,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAExD;;AAEG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAuD,CAAC;AAM7D,QAAA,IAAA,CAAA,UAAU,GAAkC,MAAM,CAAC,UAAU,CAAC;AAC9D,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AAsC1E,IAAA;AApCC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa;IACtC;IAEA,eAAe,GAAA;AACb,QAAA,MAAM,SAAS,GAA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A,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,SAAA,EAPhB;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAZ5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,kDAAkD;AAC5D,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
@@ -9,13 +9,11 @@ class FilterItem {
9
9
  * Defines the additional text of the filter item.
10
10
  This text is typically used to show the number of selected filter options within this category.
11
11
  */
12
- this.additionalText = input(/* @ts-ignore */
13
- ...(ngDevMode ? [undefined, { debugName: "additionalText" }] : /* istanbul ignore next */ []));
12
+ this.additionalText = input(...(ngDevMode ? [undefined, { debugName: "additionalText" }] : []));
14
13
  /**
15
14
  * Defines the text of the filter item.
16
15
  */
17
- this.text = input(/* @ts-ignore */
18
- ...(ngDevMode ? [undefined, { debugName: "text" }] : /* istanbul ignore next */ [])); // className is now passed
16
+ this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : [])); // className is now passed
19
17
  /**
20
18
  * Available slots for content projection in this component.
21
19
  *
@@ -78,14 +76,14 @@ class FilterItem {
78
76
  }
79
77
  }
80
78
  }
81
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FilterItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
82
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: FilterItem, isStandalone: true, selector: "ui5-filter-item, [ui5-filter-item]", inputs: { additionalText: { classPropertyName: "additionalText", publicName: "additionalText", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FilterItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
80
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: FilterItem, isStandalone: true, selector: "ui5-filter-item, [ui5-filter-item]", inputs: { additionalText: { classPropertyName: "additionalText", publicName: "additionalText", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
83
81
  contentDensityObserverProviders({
84
82
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
85
83
  })
86
84
  ], exportAs: ["ui5FilterItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
87
85
  }
88
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FilterItem, decorators: [{
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FilterItem, decorators: [{
89
87
  type: Component,
90
88
  args: [{
91
89
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/filter-item/index.ts","../../../../libs/ui5-webcomponents-fiori/filter-item/fundamental-ngx-ui5-webcomponents-fiori-filter-item.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/FilterItem.js';\nimport { default as _FilterItem } from '@ui5/webcomponents-fiori/dist/FilterItem.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-filter-item, [ui5-filter-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FilterItem',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FilterItem implements AfterViewInit {\n\n /**\n * Defines the additional text of the filter item.\nThis text is typically used to show the number of selected filter options within this category.\n */\n additionalText = input<typeof _FilterItem.prototype.additionalText | undefined>();\n\n /**\n * Defines the text of the filter item.\n */\n text = input<typeof _FilterItem.prototype.text | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **values**: Defines the filter options available for this filter category.\n *\n * @example\n * ```html\n * <ui5-filter-item>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-filter-item>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"values\",\n \"description\": \"Defines the filter options available for this filter category.\"\n }\n ];\n\n\n public elementRef: ElementRef<_FilterItem> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _FilterItem {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'additionalText',\n 'text',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,UAAU,CAAA;AAZvB,IAAA,WAAA,GAAA;AAcE;;;AAGG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK;sGAA2D;AAEjF;;AAEG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;AAAiD,QAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAA,CAAC;AAK9D;;;;;;;;;;;;;;;;;;AAkBG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG;AACb,YAAA;AACI,gBAAA,MAAM,EAAE,QAAQ;AAChB,gBAAA,aAAa,EAAE;AAClB;SACJ;AAGM,QAAA,IAAA,CAAA,UAAU,GAA4B,MAAM,CAAC,UAAU,CAAC;AACxD,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CA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iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,IAAA,EAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,UAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,SAAA,EAPV;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,eAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,UAAU,EAAA,UAAA,EAAA,CAAA;kBAZtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,oCAAoC;AAC9C,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs","sources":["../../../../libs/ui5-webcomponents-fiori/filter-item/index.ts","../../../../libs/ui5-webcomponents-fiori/filter-item/fundamental-ngx-ui5-webcomponents-fiori-filter-item.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/FilterItem.js';\nimport { default as _FilterItem } from '@ui5/webcomponents-fiori/dist/FilterItem.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-filter-item, [ui5-filter-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FilterItem',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FilterItem implements AfterViewInit {\n\n /**\n * Defines the additional text of the filter item.\nThis text is typically used to show the number of selected filter options within this category.\n */\n additionalText = input<typeof _FilterItem.prototype.additionalText | undefined>();\n\n /**\n * Defines the text of the filter item.\n */\n text = input<typeof _FilterItem.prototype.text | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **values**: Defines the filter options available for this filter category.\n *\n * @example\n * ```html\n * <ui5-filter-item>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-filter-item>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"values\",\n \"description\": \"Defines the filter options available for this filter category.\"\n }\n ];\n\n\n public elementRef: ElementRef<_FilterItem> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n\n get element(): _FilterItem {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'additionalText',\n 'text',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,UAAU,CAAA;AAZvB,IAAA,WAAA,GAAA;AAcE;;;AAGG;QACH,IAAA,CAAA,cAAc,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAA2D;AAEjF;;AAEG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAiD,CAAC;AAK9D;;;;;;;;;;;;;;;;;;AAkBG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG;AACb,YAAA;AACI,gBAAA,MAAM,EAAE,QAAQ;AAChB,gBAAA,aAAa,EAAE;AAClB;SACJ;AAGM,QAAA,IAAA,CAAA,UAAU,GAA4B,MAAM,CAAC,UAAU,CAAC;AACxD,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB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