@fundamental-ngx/ui5-webcomponents-fiori 0.58.0-rc.30 → 0.58.0-rc.32

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 (154) hide show
  1. package/barcode-scanner-dialog/index.d.ts +31 -0
  2. package/dynamic-page/index.d.ts +39 -0
  3. package/dynamic-page-header/index.d.ts +14 -0
  4. package/dynamic-page-title/index.d.ts +14 -0
  5. package/dynamic-side-content/index.d.ts +56 -0
  6. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs +89 -0
  7. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs.map +1 -0
  8. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs +36 -0
  9. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs.map +1 -0
  10. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs +36 -0
  11. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs.map +1 -0
  12. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs +99 -0
  13. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs.map +1 -0
  14. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs +118 -0
  15. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs.map +1 -0
  16. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs +65 -0
  17. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs.map +1 -0
  18. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs +66 -0
  19. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs.map +1 -0
  20. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs +262 -0
  21. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs.map +1 -0
  22. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs +65 -0
  23. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs.map +1 -0
  24. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs +116 -0
  25. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs.map +1 -0
  26. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs +70 -0
  27. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs.map +1 -0
  28. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs +119 -0
  29. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs.map +1 -0
  30. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs +60 -0
  31. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs.map +1 -0
  32. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs +113 -0
  33. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs.map +1 -0
  34. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs +121 -0
  35. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs.map +1 -0
  36. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs +89 -0
  37. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs.map +1 -0
  38. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs +80 -0
  39. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs.map +1 -0
  40. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs +116 -0
  41. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs.map +1 -0
  42. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs +36 -0
  43. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs.map +1 -0
  44. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs +36 -0
  45. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs.map +1 -0
  46. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs +87 -0
  47. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs.map +1 -0
  48. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs +105 -0
  49. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs.map +1 -0
  50. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs +65 -0
  51. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs.map +1 -0
  52. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs +65 -0
  53. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs.map +1 -0
  54. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs +137 -0
  55. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs.map +1 -0
  56. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs +102 -0
  57. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs.map +1 -0
  58. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs +109 -0
  59. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs.map +1 -0
  60. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs +142 -0
  61. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs.map +1 -0
  62. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs +36 -0
  63. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs.map +1 -0
  64. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs +242 -0
  65. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs.map +1 -0
  66. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs +80 -0
  67. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs.map +1 -0
  68. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs +170 -0
  69. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs.map +1 -0
  70. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs +165 -0
  71. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs.map +1 -0
  72. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs +90 -0
  73. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs.map +1 -0
  74. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs +65 -0
  75. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs.map +1 -0
  76. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs +23 -0
  77. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs.map +1 -0
  78. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs +84 -0
  79. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs.map +1 -0
  80. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs +111 -0
  81. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs.map +1 -0
  82. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs +110 -0
  83. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs.map +1 -0
  84. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs +152 -0
  85. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs.map +1 -0
  86. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs +116 -0
  87. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs.map +1 -0
  88. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs +95 -0
  89. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs.map +1 -0
  90. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs +36 -0
  91. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs.map +1 -0
  92. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs +36 -0
  93. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs.map +1 -0
  94. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs +141 -0
  95. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs.map +1 -0
  96. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs +106 -0
  97. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs.map +1 -0
  98. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs +123 -0
  99. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs.map +1 -0
  100. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs +71 -0
  101. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs.map +1 -0
  102. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs +109 -0
  103. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs.map +1 -0
  104. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs +105 -0
  105. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs.map +1 -0
  106. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs +80 -0
  107. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs.map +1 -0
  108. package/filter-item/index.d.ts +23 -0
  109. package/filter-item-option/index.d.ts +22 -0
  110. package/flexible-column-layout/index.d.ts +109 -0
  111. package/group-item/index.d.ts +22 -0
  112. package/illustrated-message/index.d.ts +69 -0
  113. package/media-gallery/index.d.ts +57 -0
  114. package/media-gallery-item/index.d.ts +26 -0
  115. package/navigation-layout/index.d.ts +18 -0
  116. package/notification-list/index.d.ts +31 -0
  117. package/notification-list-group-item/index.d.ts +51 -0
  118. package/notification-list-item/index.d.ts +58 -0
  119. package/package.json +206 -2
  120. package/page/index.d.ts +35 -0
  121. package/product-switch/index.d.ts +14 -0
  122. package/product-switch-item/index.d.ts +56 -0
  123. package/search/index.d.ts +70 -0
  124. package/search-item/index.d.ts +44 -0
  125. package/search-item-group/index.d.ts +14 -0
  126. package/search-item-show-more/index.d.ts +30 -0
  127. package/search-message-area/index.d.ts +22 -0
  128. package/search-scope/index.d.ts +22 -0
  129. package/shell-bar/index.d.ts +160 -0
  130. package/shell-bar-branding/index.d.ts +44 -0
  131. package/shell-bar-item/index.d.ts +50 -0
  132. package/shell-bar-search/index.d.ts +74 -0
  133. package/shell-bar-spacer/index.d.ts +14 -0
  134. package/side-navigation/index.d.ts +33 -0
  135. package/side-navigation-group/index.d.ts +35 -0
  136. package/side-navigation-item/index.d.ts +105 -0
  137. package/side-navigation-sub-item/index.d.ts +101 -0
  138. package/sort-item/index.d.ts +22 -0
  139. package/theming/index.d.ts +11 -0
  140. package/timeline/index.d.ts +50 -0
  141. package/timeline-group-item/index.d.ts +27 -0
  142. package/timeline-item/index.d.ts +50 -0
  143. package/upload-collection/index.d.ts +54 -0
  144. package/upload-collection-item/index.d.ts +85 -0
  145. package/user-menu/index.d.ts +73 -0
  146. package/user-menu-account/index.d.ts +46 -0
  147. package/user-menu-item/index.d.ts +14 -0
  148. package/user-menu-item-group/index.d.ts +14 -0
  149. package/user-settings-dialog/index.d.ts +45 -0
  150. package/user-settings-item/index.d.ts +59 -0
  151. package/user-settings-view/index.d.ts +27 -0
  152. package/view-settings-dialog/index.d.ts +47 -0
  153. package/wizard/index.d.ts +24 -0
  154. package/wizard-step/index.d.ts +58 -0
@@ -0,0 +1,80 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, booleanAttribute, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents-fiori/dist/Page.js';
4
+
5
+ class Page {
6
+ constructor() {
7
+ /**
8
+ * Defines the background color of the `ui5-page`.
9
+
10
+ **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.
11
+ */
12
+ this.backgroundDesign = input("Solid", ...(ngDevMode ? [{ debugName: "backgroundDesign" }] : []));
13
+ /**
14
+ * Disables vertical scrolling of page content.
15
+ If set to true, there will be no vertical scrolling at all.
16
+ */
17
+ this.noScrolling = input(false, ...(ngDevMode ? [{ debugName: "noScrolling", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
18
+ /**
19
+ * Defines if the footer is fixed at the very bottom of the page.
20
+
21
+ **Note:** When set to true the footer is fixed at the very bottom of the page, otherwise it floats over the content with a slight offset from the bottom.
22
+ */
23
+ this.fixedFooter = input(false, ...(ngDevMode ? [{ debugName: "fixedFooter", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
24
+ /**
25
+ * Defines the footer visibility.
26
+ */
27
+ this.hideFooter = input(false, ...(ngDevMode ? [{ debugName: "hideFooter", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
28
+ this.elementRef = inject(ElementRef);
29
+ this.injector = inject(Injector);
30
+ }
31
+ get element() {
32
+ return this.elementRef.nativeElement;
33
+ }
34
+ ngAfterViewInit() {
35
+ const wcElement = this.element;
36
+ const inputsToSync = [
37
+ 'backgroundDesign',
38
+ 'noScrolling',
39
+ 'fixedFooter',
40
+ 'hideFooter',
41
+ ];
42
+ // Synchronize inputs (properties)
43
+ for (const inputName of inputsToSync) {
44
+ // Find the corresponding camelCase signal property on the Angular component
45
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
46
+ // Use the Injector to run the effect in the correct context
47
+ if (this[signalName] && typeof this[signalName] === 'function') {
48
+ runInInjectionContext(this.injector, () => {
49
+ effect(() => {
50
+ // Read the signal value
51
+ const value = this[signalName]();
52
+ if (wcElement) {
53
+ // Write the value to the Web Component's property
54
+ wcElement[inputName] = value;
55
+ }
56
+ });
57
+ });
58
+ }
59
+ }
60
+ }
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Page, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
62
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: Page, isStandalone: true, selector: "ui5-page, [ui5-page]", inputs: { backgroundDesign: { classPropertyName: "backgroundDesign", publicName: "backgroundDesign", isSignal: true, isRequired: false, transformFunction: null }, noScrolling: { classPropertyName: "noScrolling", publicName: "noScrolling", isSignal: true, isRequired: false, transformFunction: null }, fixedFooter: { classPropertyName: "fixedFooter", publicName: "fixedFooter", isSignal: true, isRequired: false, transformFunction: null }, hideFooter: { classPropertyName: "hideFooter", publicName: "hideFooter", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ui5Page"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Page, decorators: [{
65
+ type: Component,
66
+ args: [{
67
+ standalone: true,
68
+ selector: 'ui5-page, [ui5-page]',
69
+ template: '<ng-content></ng-content>',
70
+ exportAs: 'ui5Page',
71
+ changeDetection: ChangeDetectionStrategy.OnPush,
72
+ }]
73
+ }] });
74
+
75
+ /**
76
+ * Generated bundle index. Do not edit.
77
+ */
78
+
79
+ export { Page };
80
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-page.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-page.mjs","sources":["../tmp-esm2022/page/index.js","../tmp-esm2022/page/fundamental-ngx-ui5-webcomponents-fiori-page.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/Page.js';\nimport * as i0 from \"@angular/core\";\nexport class Page {\n constructor() {\n /**\n * Defines the background color of the `ui5-page`.\n \n **Note:** When a ui5-list is placed inside the page, we recommend using “List” to ensure better color contrast.\n */\n this.backgroundDesign = input(\"Solid\", ...(ngDevMode ? [{ debugName: \"backgroundDesign\" }] : []));\n /**\n * Disables vertical scrolling of page content.\n If set to true, there will be no vertical scrolling at all.\n */\n this.noScrolling = input(false, ...(ngDevMode ? [{ debugName: \"noScrolling\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines if the footer is fixed at the very bottom of the page.\n \n **Note:** When set to true the footer is fixed at the very bottom of the page, otherwise it floats over the content with a slight offset from the bottom.\n */\n this.fixedFooter = input(false, ...(ngDevMode ? [{ debugName: \"fixedFooter\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines the footer visibility.\n */\n this.hideFooter = input(false, ...(ngDevMode ? [{ debugName: \"hideFooter\", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'backgroundDesign',\n 'noScrolling',\n 'fixedFooter',\n 'hideFooter',\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) => x[1].toUpperCase());\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 static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: Page, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: Page, isStandalone: true, selector: \"ui5-page, [ui5-page]\", inputs: { backgroundDesign: { classPropertyName: \"backgroundDesign\", publicName: \"backgroundDesign\", isSignal: true, isRequired: false, transformFunction: null }, noScrolling: { classPropertyName: \"noScrolling\", publicName: \"noScrolling\", isSignal: true, isRequired: false, transformFunction: null }, fixedFooter: { classPropertyName: \"fixedFooter\", publicName: \"fixedFooter\", isSignal: true, isRequired: false, transformFunction: null }, hideFooter: { classPropertyName: \"hideFooter\", publicName: \"hideFooter\", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: [\"ui5Page\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: Page, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-page, [ui5-page]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Page',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3BhZ2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFHTCxNQUFNLEVBQ04scUJBQXFCLEVBQ3JCLE1BQU0sRUFDTixRQUFRLEVBQ1IsZ0JBQWdCLEVBR2pCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sdUNBQXVDLENBQUM7O0FBYy9DLE1BQU0sT0FBTyxJQUFJO0lBUmpCO1FBVUU7Ozs7V0FJRztRQUNILHFCQUFnQixHQUFHLEtBQUssQ0FBc0QsT0FBTyw0REFBQyxDQUFDO1FBRXZGOzs7V0FHRztRQUNILGdCQUFXLEdBQUcsS0FBSyxDQUFDLEtBQUssK0NBQUksU0FBUyxFQUFFLGdCQUFnQixPQUE3QixFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxHQUFDLENBQUM7UUFFNUQ7Ozs7V0FJRztRQUNILGdCQUFXLEdBQUcsS0FBSyxDQUFDLEtBQUssK0NBQUksU0FBUyxFQUFFLGdCQUFnQixPQUE3QixFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxHQUFDLENBQUM7UUFFNUQ7O1dBRUc7UUFDSCxlQUFVLEdBQUcsS0FBSyxDQUFDLEtBQUssOENBQUksU0FBUyxFQUFFLGdCQUFnQixPQUE3QixFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxHQUFDLENBQUMsQ0FB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uICAgICAgJ2hpZGVGb290ZXInLFxuICAgIF07XG4gICAgXG4gICAgLy8gU3luY2hyb25pemUgaW5wdXRzIChwcm9wZXJ0aWVzKVxuICAgIGZvciAoY29uc3QgaW5wdXROYW1lIG9mIGlucHV0c1RvU3luYykge1xuICAgICAgLy8gRmluZCB0aGUgY29ycmVzcG9uZGluZyBjYW1lbENhc2Ugc2lnbmFsIHByb3BlcnR5IG9uIHRoZSBBbmd1bGFyIGNvbXBvbmVudFxuICAgICAgY29uc3Qgc2lnbmFsTmFtZSA9IGlucHV0TmFtZS5yZXBsYWNlKC8tLi9nLCAoeDogc3RyaW5nKSA9PiB4WzFdLnRvVXBwZXJDYXNlKCkpO1xuXG4gICAgICAvLyBVc2UgdGhlIEluamVjdG9yIHRvIHJ1biB0aGUgZWZmZWN0IGluIHRoZSBjb3JyZWN0IGNvbnRleHRcbiAgICAgIGlmICh0aGlzW3NpZ25hbE5hbWVdICYmIHR5cGVvZiB0aGlzW3NpZ25hbE5hbWVdID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgIHJ1bkluSW5qZWN0aW9uQ29udGV4dCh0aGlzLmluamVjdG9yLCAoKSA9PiB7XG4gICAgICAgICAgZWZmZWN0KCgpID0+IHtcbiAgICAgICAgICAgIC8vIFJlYWQgdGhlIHNpZ25hbCB2YWx1ZVxuICAgICAgICAgICAgY29uc3QgdmFsdWUgPSB0aGlzW3NpZ25hbE5hbWVdKCk7XG4gICAgICAgICAgICBpZiAod2NFbGVtZW50KSB7XG4gICAgICAgICAgICAgIC8vIFdyaXRlIHRoZSB2YWx1ZSB0byB0aGUgV2ViIENvbXBvbmVudCdzIHByb3BlcnR5XG4gICAgICAgICAgICAgIHdjRWxlbWVudFtpbnB1dE5hbWVdID0gdmFsdWU7XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSk7XG4gICAgICAgIH0pO1xuICAgICAgfVxuICAgIH1cbiAgXG4gICAgXG4gICAgXG5cbiAgfVxufVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXBhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3BhZ2UvZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXBhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,IAAI,CAAC;AAClB,IAAI,WAAW,GAAG;AAClB;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC,OAAO,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AACzG;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,KAAK,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC,GAAG,CAAC,EAAE,SAAS,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AACzJ;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,KAAK,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAE,gBAAgB,EAAE,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,QAAQ,EAAE,CAAC,SAAS,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AACh3B;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;AAC9G,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,sBAAsB;AACpD,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,SAAS;AACvC,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACvEb;AACA;AACA;;;;"}
@@ -0,0 +1,116 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents-fiori/dist/ProductSwitchItem.js';
4
+
5
+ class ProductSwitchItem {
6
+ constructor() {
7
+ /**
8
+ * Defines the title of the component.
9
+ */
10
+ this.titleText = input(...(ngDevMode ? [undefined, { debugName: "titleText" }] : []));
11
+ /**
12
+ * Defines the subtitle of the component.
13
+ */
14
+ this.subtitleText = input(...(ngDevMode ? [undefined, { debugName: "subtitleText" }] : []));
15
+ /**
16
+ * Defines the icon to be displayed as a graphical element within the component.
17
+
18
+ Example:
19
+
20
+ `<ui5-product-switch-item icon="palette">`
21
+
22
+ See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
23
+ */
24
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
25
+ /**
26
+ * Defines a target where the `targetSrc` content must be open.
27
+
28
+ Available options are:
29
+
30
+ - `_self`
31
+ - `_top`
32
+ - `_blank`
33
+ - `_parent`
34
+ - `_search`
35
+
36
+ **Note:** By default target will be open in the same frame as it was clicked.
37
+ */
38
+ this.target = input(...(ngDevMode ? [undefined, { debugName: "target" }] : []));
39
+ /**
40
+ * Defines the component target URI. Supports standard hyperlink behavior.
41
+ */
42
+ this.targetSrc = input(...(ngDevMode ? [undefined, { debugName: "targetSrc" }] : [])); // className is now passed
43
+ /**
44
+ * Fired when the `ui5-product-switch-item` is activated either with a
45
+ click/tap or by using the Enter or Space key.
46
+ */
47
+ this.ui5Click = output();
48
+ this.elementRef = inject(ElementRef);
49
+ this.injector = inject(Injector);
50
+ }
51
+ get element() {
52
+ return this.elementRef.nativeElement;
53
+ }
54
+ ngAfterViewInit() {
55
+ const wcElement = this.element;
56
+ const inputsToSync = [
57
+ 'titleText',
58
+ 'subtitleText',
59
+ 'icon',
60
+ 'target',
61
+ 'targetSrc',
62
+ ];
63
+ // Synchronize inputs (properties)
64
+ for (const inputName of inputsToSync) {
65
+ // Find the corresponding camelCase signal property on the Angular component
66
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
67
+ // Use the Injector to run the effect in the correct context
68
+ if (this[signalName] && typeof this[signalName] === 'function') {
69
+ runInInjectionContext(this.injector, () => {
70
+ effect(() => {
71
+ // Read the signal value
72
+ const value = this[signalName]();
73
+ if (wcElement) {
74
+ // Write the value to the Web Component's property
75
+ wcElement[inputName] = value;
76
+ }
77
+ });
78
+ });
79
+ }
80
+ }
81
+ const outputsToSync = [
82
+ 'ui5Click',
83
+ ];
84
+ // Synchronize outputs (events)
85
+ for (const outputName of outputsToSync) {
86
+ // Map Angular output name to UI5 web component event name
87
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
88
+ // Ensure the output property exists and has an emit function before adding listener
89
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
90
+ // Cast the listener to the correct type to satisfy TypeScript
91
+ wcElement.addEventListener(eventName, (e) => {
92
+ this[outputName].emit(e);
93
+ });
94
+ }
95
+ }
96
+ }
97
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductSwitchItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
98
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: ProductSwitchItem, isStandalone: true, selector: "ui5-product-switch-item, [ui5-product-switch-item]", inputs: { titleText: { classPropertyName: "titleText", publicName: "titleText", isSignal: true, isRequired: false, transformFunction: null }, subtitleText: { classPropertyName: "subtitleText", publicName: "subtitleText", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: "target", publicName: "target", isSignal: true, isRequired: false, transformFunction: null }, targetSrc: { classPropertyName: "targetSrc", publicName: "targetSrc", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, exportAs: ["ui5ProductSwitchItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
99
+ }
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductSwitchItem, decorators: [{
101
+ type: Component,
102
+ args: [{
103
+ standalone: true,
104
+ selector: 'ui5-product-switch-item, [ui5-product-switch-item]',
105
+ template: '<ng-content></ng-content>',
106
+ exportAs: 'ui5ProductSwitchItem',
107
+ changeDetection: ChangeDetectionStrategy.OnPush,
108
+ }]
109
+ }] });
110
+
111
+ /**
112
+ * Generated bundle index. Do not edit.
113
+ */
114
+
115
+ export { ProductSwitchItem };
116
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs","sources":["../tmp-esm2022/product-switch-item/index.js","../tmp-esm2022/product-switch-item/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/ProductSwitchItem.js';\nimport * as i0 from \"@angular/core\";\nexport class ProductSwitchItem {\n constructor() {\n /**\n * Defines the title of the component.\n */\n this.titleText = input(...(ngDevMode ? [undefined, { debugName: \"titleText\" }] : []));\n /**\n * Defines the subtitle of the component.\n */\n this.subtitleText = input(...(ngDevMode ? [undefined, { debugName: \"subtitleText\" }] : []));\n /**\n * Defines the icon to be displayed as a graphical element within the component.\n \n Example:\n \n `<ui5-product-switch-item icon=\"palette\">`\n \n See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).\n */\n this.icon = input(...(ngDevMode ? [undefined, { debugName: \"icon\" }] : []));\n /**\n * Defines a target where the `targetSrc` content must be open.\n \n Available options are:\n \n - `_self`\n - `_top`\n - `_blank`\n - `_parent`\n - `_search`\n \n **Note:** By default target will be open in the same frame as it was clicked.\n */\n this.target = input(...(ngDevMode ? [undefined, { debugName: \"target\" }] : []));\n /**\n * Defines the component target URI. Supports standard hyperlink behavior.\n */\n this.targetSrc = input(...(ngDevMode ? [undefined, { debugName: \"targetSrc\" }] : [])); // className is now passed\n /**\n * Fired when the `ui5-product-switch-item` is activated either with a\n click/tap or by using the Enter or Space key.\n */\n this.ui5Click = output();\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'titleText',\n 'subtitleText',\n 'icon',\n 'target',\n 'targetSrc',\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) => x[1].toUpperCase());\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 const outputsToSync = [\n 'ui5Click',\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 this[outputName].emit(e);\n });\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: ProductSwitchItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: ProductSwitchItem, isStandalone: true, selector: \"ui5-product-switch-item, [ui5-product-switch-item]\", inputs: { titleText: { classPropertyName: \"titleText\", publicName: \"titleText\", isSignal: true, isRequired: false, transformFunction: null }, subtitleText: { classPropertyName: \"subtitleText\", publicName: \"subtitleText\", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: \"icon\", publicName: \"icon\", isSignal: true, isRequired: false, transformFunction: null }, target: { classPropertyName: \"target\", publicName: \"target\", isSignal: true, isRequired: false, transformFunction: null }, targetSrc: { classPropertyName: \"targetSrc\", publicName: \"targetSrc\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: \"ui5Click\" }, exportAs: [\"ui5ProductSwitchItem\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: ProductSwitchItem, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-product-switch-item, [ui5-product-switch-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5ProductSwitchItem',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3Byb2R1Y3Qtc3dpdGNoLWl0ZW0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFDTCxNQUFNLEVBRU4sTUFBTSxFQUNOLHFCQUFxQixFQUNyQixNQUFNLEVBQ04sUUFBUSxFQUlULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sb0RBQW9ELENBQUM7O0FBYzVELE1BQU0sT0FBTyxpQkFBaUI7SUFSOUI7UUFVRTs7V0FFRztRQUNILGNBQVMsR0FBRyxLQUFLLCtEQUE2RCxDQUFDO1FBRS9FOztXQUVHO1FBQ0gsaUJBQVksR0FBRyxLQUFLLGtFQUFnRSxDQUFDO1FBRXJGOzs7Ozs7OztXQVFHO1FBQ0gsU0FBSSxHQUFHLEtBQUssMERBQXdELENBQUM7UUFFckU7Ozs7Ozs7Ozs7OztXQVlHO1FBQ0gsV0FBTSxHQUFHLEtBQUssNERBQTBELENBQUM7UUFFekU7O1dBRUc7UUFDSCxjQUFTLEdBQUcsS0FBSywrREFBNkQsQ0FBQyxDQUFDLDBCQUE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RoZSBjb3JyZWN0IHR5cGUgdG8gc2F0aXNmeSBUeXBlU2NyaXB0XG4gICAgICAgIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgKGUpID0+IHtcblxuICAgICAgICAgIHRoaXNbb3V0cHV0TmFtZV0uZW1pdChlIGFzIEN1c3RvbUV2ZW50PGFueT4pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuXG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXByb2R1Y3Qtc3dpdGNoLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3Byb2R1Y3Qtc3dpdGNoLWl0ZW0vZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXByb2R1Y3Qtc3dpdGNoLWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,iBAAiB,CAAC;AAC/B,IAAI,WAAW,GAAG;AAClB;AACA;AACA;AACA,QAAQ,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC,IAAI,SAAS,GAAG,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AAC7F;AACA;AAC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AAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,QAAQ,EAAE,CAAC,sBAAsB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5hC;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC;AAC3H,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,oDAAoD;AAClF,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,sBAAsB;AACpD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC3Gb;AACA;AACA;;;;"}
@@ -0,0 +1,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, ElementRef, Injector, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents-fiori/dist/ProductSwitch.js';
4
+
5
+ class ProductSwitch {
6
+ constructor() {
7
+ // className is now passed
8
+ this.elementRef = inject(ElementRef);
9
+ this.injector = inject(Injector);
10
+ }
11
+ get element() {
12
+ return this.elementRef.nativeElement;
13
+ }
14
+ ngAfterViewInit() {
15
+ const wcElement = this.element;
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductSwitch, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: ProductSwitch, isStandalone: true, selector: "ui5-product-switch, [ui5-product-switch]", exportAs: ["ui5ProductSwitch"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: ProductSwitch, decorators: [{
21
+ type: Component,
22
+ args: [{
23
+ standalone: true,
24
+ selector: 'ui5-product-switch, [ui5-product-switch]',
25
+ template: '<ng-content></ng-content>',
26
+ exportAs: 'ui5ProductSwitch',
27
+ changeDetection: ChangeDetectionStrategy.OnPush,
28
+ }]
29
+ }] });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { ProductSwitch };
36
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs","sources":["../tmp-esm2022/product-switch/index.js","../tmp-esm2022/product-switch/fundamental-ngx-ui5-webcomponents-fiori-product-switch.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, inject, Injector } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/ProductSwitch.js';\nimport * as i0 from \"@angular/core\";\nexport class ProductSwitch {\n constructor() {\n // className is now passed\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: ProductSwitch, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.4\", type: ProductSwitch, isStandalone: true, selector: \"ui5-product-switch, [ui5-product-switch]\", exportAs: [\"ui5ProductSwitch\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: ProductSwitch, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-product-switch, [ui5-product-switch]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5ProductSwitch',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3Byb2R1Y3Qtc3dpdGNoL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFVBQVUsRUFNVixNQUFNLEVBQ04sUUFBUSxFQUlULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sZ0RBQWdELENBQUM7O0FBY3hELE1BQU0sT0FBTyxhQUFhO0lBUjFCO1FBU0MsMEJBQTBCO1FBS2xCLGVBQVUsR0FBK0IsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQzVELGFBQVEsR0FBRyxNQUFNLENBQUMsUUFBUSxDQUFDLENBQUM7S0FjcEM7SUFaQyxJQUFJLE9BQU87UUFDVCxPQUFPLElBQUksQ0FBQyxVQUFVLENBQUMsYUFBYSxDQUFDO0lBQ3ZDLENBQUM7SUFFRCxlQUFlO1FBQ2IsTUFBTSxTQUFTLEdBQUcsSUFBSSxDQUFDLE9BQU8sQ0FBQztJQU1qQyxDQUFDOzhHQXBCVSxhQUFhO2tHQUFiLGFBQWEsb0lBTGQsMkJBQTJCOzsyRkFLMU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GNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBQcm9kdWN0U3dpdGNoIGltcGxlbWVudHMgQWZ0ZXJWaWV3SW5pdCB7XG4gLy8gY2xhc3NOYW1lIGlzIG5vdyBwYXNzZWRcblxuXG5cblxuICBwdWJsaWMgZWxlbWVudFJlZjogRWxlbWVudFJlZjxfUHJvZHVjdFN3aXRjaD4gPSBpbmplY3QoRWxlbWVudFJlZik7XG4gIHB1YmxpYyBpbmplY3RvciA9IGluamVjdChJbmplY3Rvcik7XG5cbiAgZ2V0IGVsZW1lbnQoKTogX1Byb2R1Y3RTd2l0Y2gge1xuICAgIHJldHVybiB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudDtcbiAgfVxuXG4gIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICBjb25zdCB3Y0VsZW1lbnQgPSB0aGlzLmVsZW1lbnQ7XG4gICAgXG4gICAgXG4gICAgXG4gICAgXG5cbiAgfVxufVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXByb2R1Y3Qtc3dpdGNoLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy91aTUtd2ViY29tcG9uZW50cy1maW9yaS9wcm9kdWN0LXN3aXRjaC9mdW5kYW1lbnRhbC1uZ3gtdWk1LXdlYmNvbXBvbmVudHMtZmlvcmktcHJvZHVjdC1zd2l0Y2gudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZ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,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,UAAU,EAAE,CAAC;AACvH,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,0CAA0C;AACxE,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,kBAAkB;AAChD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC3Bb;AACA;AACA;;;;"}
@@ -0,0 +1,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { inject, ElementRef, Injector, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents-fiori/dist/SearchItemGroup.js';
4
+
5
+ class SearchItemGroup {
6
+ constructor() {
7
+ // className is now passed
8
+ this.elementRef = inject(ElementRef);
9
+ this.injector = inject(Injector);
10
+ }
11
+ get element() {
12
+ return this.elementRef.nativeElement;
13
+ }
14
+ ngAfterViewInit() {
15
+ const wcElement = this.element;
16
+ }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SearchItemGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
18
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.4", type: SearchItemGroup, isStandalone: true, selector: "ui5-search-item-group, [ui5-search-item-group]", exportAs: ["ui5SearchItemGroup"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
19
+ }
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SearchItemGroup, decorators: [{
21
+ type: Component,
22
+ args: [{
23
+ standalone: true,
24
+ selector: 'ui5-search-item-group, [ui5-search-item-group]',
25
+ template: '<ng-content></ng-content>',
26
+ exportAs: 'ui5SearchItemGroup',
27
+ changeDetection: ChangeDetectionStrategy.OnPush,
28
+ }]
29
+ }] });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { SearchItemGroup };
36
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs","sources":["../tmp-esm2022/search-item-group/index.js","../tmp-esm2022/search-item-group/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, inject, Injector } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/SearchItemGroup.js';\nimport * as i0 from \"@angular/core\";\nexport class SearchItemGroup {\n constructor() {\n // className is now passed\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SearchItemGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.4\", type: SearchItemGroup, isStandalone: true, selector: \"ui5-search-item-group, [ui5-search-item-group]\", exportAs: [\"ui5SearchItemGroup\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SearchItemGroup, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-search-item-group, [ui5-search-item-group]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5SearchItemGroup',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sour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PF9TZWFyY2hJdGVtR3JvdXA+ID0gaW5qZWN0KEVsZW1lbnRSZWYpO1xuICBwdWJsaWMgaW5qZWN0b3IgPSBpbmplY3QoSW5qZWN0b3IpO1xuXG4gIGdldCBlbGVtZW50KCk6IF9TZWFyY2hJdGVtR3JvdXAge1xuICAgIHJldHVybiB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudDtcbiAgfVxuXG4gIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICBjb25zdCB3Y0VsZW1lbnQgPSB0aGlzLmVsZW1lbnQ7XG4gICAgXG4gICAgXG4gICAgXG4gICAgXG5cbiAgfVxufVxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXNlYXJjaC1pdGVtLWdyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy91aTUtd2ViY29tcG9uZW50cy1maW9yaS9zZWFyY2gtaXRlbS1ncm91cC9mdW5kYW1lbnRhbC1uZ3gtdWk1LXdlYmNvbXBvbmVudHMtZmlvcmktc2VhcmNoLWl0ZW0tZ3JvdXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,eAAe,CAAC;AAC7B,IAAI,WAAW,GAAG;AAClB;AACA,QAAQ,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC5C,Q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AQ,EAAE,oBAAoB;AAClD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC3Bb;AACA;AACA;;;;"}
@@ -0,0 +1,87 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents-fiori/dist/SearchItemShowMore.js';
4
+
5
+ class SearchItemShowMore {
6
+ constructor() {
7
+ /**
8
+ * Specifies the number of additional items available to show.
9
+ This value replaces the placeholder (N) in the "Show more (N)" text.
10
+ If not set, the placeholder will remain as (N).
11
+ */
12
+ this.itemsToShowCount = input(...(ngDevMode ? [undefined, { debugName: "itemsToShowCount" }] : []));
13
+ /**
14
+ * Defines whether the show more item is selected.
15
+ */
16
+ this.selected = input(false, ...(ngDevMode ? [{ debugName: "selected", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
17
+ /**
18
+ * Fired when the component is activated, either with a mouse/tap
19
+ or by pressing the Enter or Space keys.
20
+ */
21
+ this.ui5Click = output();
22
+ this.elementRef = inject(ElementRef);
23
+ this.injector = inject(Injector);
24
+ }
25
+ get element() {
26
+ return this.elementRef.nativeElement;
27
+ }
28
+ ngAfterViewInit() {
29
+ const wcElement = this.element;
30
+ const inputsToSync = [
31
+ 'itemsToShowCount',
32
+ 'selected',
33
+ ];
34
+ // Synchronize inputs (properties)
35
+ for (const inputName of inputsToSync) {
36
+ // Find the corresponding camelCase signal property on the Angular component
37
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
38
+ // Use the Injector to run the effect in the correct context
39
+ if (this[signalName] && typeof this[signalName] === 'function') {
40
+ runInInjectionContext(this.injector, () => {
41
+ effect(() => {
42
+ // Read the signal value
43
+ const value = this[signalName]();
44
+ if (wcElement) {
45
+ // Write the value to the Web Component's property
46
+ wcElement[inputName] = value;
47
+ }
48
+ });
49
+ });
50
+ }
51
+ }
52
+ const outputsToSync = [
53
+ 'ui5Click',
54
+ ];
55
+ // Synchronize outputs (events)
56
+ for (const outputName of outputsToSync) {
57
+ // Map Angular output name to UI5 web component event name
58
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
59
+ // Ensure the output property exists and has an emit function before adding listener
60
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
61
+ // Cast the listener to the correct type to satisfy TypeScript
62
+ wcElement.addEventListener(eventName, (e) => {
63
+ this[outputName].emit(e);
64
+ });
65
+ }
66
+ }
67
+ }
68
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SearchItemShowMore, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
69
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: SearchItemShowMore, isStandalone: true, selector: "ui5-search-item-show-more, [ui5-search-item-show-more]", inputs: { itemsToShowCount: { classPropertyName: "itemsToShowCount", publicName: "itemsToShowCount", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, exportAs: ["ui5SearchItemShowMore"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
70
+ }
71
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SearchItemShowMore, decorators: [{
72
+ type: Component,
73
+ args: [{
74
+ standalone: true,
75
+ selector: 'ui5-search-item-show-more, [ui5-search-item-show-more]',
76
+ template: '<ng-content></ng-content>',
77
+ exportAs: 'ui5SearchItemShowMore',
78
+ changeDetection: ChangeDetectionStrategy.OnPush,
79
+ }]
80
+ }] });
81
+
82
+ /**
83
+ * Generated bundle index. Do not edit.
84
+ */
85
+
86
+ export { SearchItemShowMore };
87
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs","sources":["../tmp-esm2022/search-item-show-more/index.js","../tmp-esm2022/search-item-show-more/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/SearchItemShowMore.js';\nimport * as i0 from \"@angular/core\";\nexport class SearchItemShowMore {\n constructor() {\n /**\n * Specifies the number of additional items available to show.\n This value replaces the placeholder (N) in the \"Show more (N)\" text.\n If not set, the placeholder will remain as (N).\n */\n this.itemsToShowCount = input(...(ngDevMode ? [undefined, { debugName: \"itemsToShowCount\" }] : []));\n /**\n * Defines whether the show more item is selected.\n */\n this.selected = input(false, ...(ngDevMode ? [{ debugName: \"selected\", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed\n /**\n * Fired when the component is activated, either with a mouse/tap\n or by pressing the Enter or Space keys.\n */\n this.ui5Click = output();\n this.elementRef = inject(ElementRef);\n this.injector = inject(Injector);\n }\n get element() {\n return this.elementRef.nativeElement;\n }\n ngAfterViewInit() {\n const wcElement = this.element;\n const inputsToSync = [\n 'itemsToShowCount',\n 'selected',\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) => x[1].toUpperCase());\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 const outputsToSync = [\n 'ui5Click',\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 this[outputName].emit(e);\n });\n }\n }\n }\n static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SearchItemShowMore, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: SearchItemShowMore, isStandalone: true, selector: \"ui5-search-item-show-more, [ui5-search-item-show-more]\", inputs: { itemsToShowCount: { classPropertyName: \"itemsToShowCount\", publicName: \"itemsToShowCount\", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: \"selected\", publicName: \"selected\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: \"ui5Click\" }, exportAs: [\"ui5SearchItemShowMore\"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: SearchItemShowMore, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-search-item-show-more, [ui5-search-item-show-more]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5SearchItemShowMore',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3NlYXJjaC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dHB1dHNUb1N5bmMpIHtcbiAgICAgIC8vIE1hcCBBbmd1bGFyIG91dHB1dCBuYW1lIHRvIFVJNSB3ZWIgY29tcG9uZW50IGV2ZW50IG5hbWVcbiAgICAgIGNvbnN0IGV2ZW50TmFtZSA9IG91dHB1dE5hbWUucmVwbGFjZSgndWk1JywgJycpLnJlcGxhY2UoLyhbQS1aXSkvZywgJy0kMScpLnRvTG93ZXJDYXNlKCkuc3Vic3RyaW5nKDEpO1xuICAgICAgLy8gRW5zdXJlIHRoZSBvdXRwdXQgcHJvcGVydHkgZXhpc3RzIGFuZCBoYXMgYW4gZW1pdCBmdW5jdGlvbiBiZWZvcmUgYWRkaW5nIGxpc3RlbmVyXG4gICAgICBpZiAodGhpc1tvdXRwdXROYW1lXSAmJiB0eXBlb2YgdGhpc1tvdXRwdXROYW1lXS5lbWl0ID09PSAnZnVuY3Rpb24nICYmIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKSB7XG4gICAgICAgIC8vIENhc3QgdGhlIGxpc3RlbmVyIHRvIHRoZSBjb3JyZWN0IHR5cGUgdG8gc2F0aXNmeSBUeXBlU2NyaXB0XG4gICAgICAgIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgKGUpID0+IHtcblxuICAgICAgICAgIHRoaXNbb3V0cHV0TmFtZV0uZW1pdChlIGFzIEN1c3RvbUV2ZW50PGFueT4pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuXG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXNlYXJjaC1pdGVtLXNob3ctbW9yZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvdW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,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC;AAC5H,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,wDAAwD;AACtF,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,uBAAuB;AACrD,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;AC9Eb;AACA;AACA;;;;"}
@@ -0,0 +1,105 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents-fiori/dist/SearchItem.js';
4
+
5
+ class SearchItem {
6
+ constructor() {
7
+ /**
8
+ * Defines the heading text of the search item.
9
+ */
10
+ this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
11
+ /**
12
+ * Defines the description that appears right under the item text, if available.
13
+ */
14
+ this.description = input(...(ngDevMode ? [undefined, { debugName: "description" }] : []));
15
+ /**
16
+ * Defines the icon name of the search item.
17
+ **Note:** If provided, the image slot will be ignored.
18
+ */
19
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
20
+ /**
21
+ * Defines whether the search item is selected.
22
+ */
23
+ this.selected = input(false, ...(ngDevMode ? [{ debugName: "selected", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
24
+ /**
25
+ * Defines whether the search item is deletable.
26
+ */
27
+ this.deletable = input(false, ...(ngDevMode ? [{ debugName: "deletable", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
28
+ /**
29
+ * Defines the scope of the search item
30
+ */
31
+ this.scopeName = input(...(ngDevMode ? [undefined, { debugName: "scopeName" }] : [])); // className is now passed
32
+ /**
33
+ * Fired when delete button is pressed.
34
+ */
35
+ this.ui5Delete = output();
36
+ this.elementRef = inject(ElementRef);
37
+ this.injector = inject(Injector);
38
+ }
39
+ get element() {
40
+ return this.elementRef.nativeElement;
41
+ }
42
+ ngAfterViewInit() {
43
+ const wcElement = this.element;
44
+ const inputsToSync = [
45
+ 'text',
46
+ 'description',
47
+ 'icon',
48
+ 'selected',
49
+ 'deletable',
50
+ 'scopeName',
51
+ ];
52
+ // Synchronize inputs (properties)
53
+ for (const inputName of inputsToSync) {
54
+ // Find the corresponding camelCase signal property on the Angular component
55
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
56
+ // Use the Injector to run the effect in the correct context
57
+ if (this[signalName] && typeof this[signalName] === 'function') {
58
+ runInInjectionContext(this.injector, () => {
59
+ effect(() => {
60
+ // Read the signal value
61
+ const value = this[signalName]();
62
+ if (wcElement) {
63
+ // Write the value to the Web Component's property
64
+ wcElement[inputName] = value;
65
+ }
66
+ });
67
+ });
68
+ }
69
+ }
70
+ const outputsToSync = [
71
+ 'ui5Delete',
72
+ ];
73
+ // Synchronize outputs (events)
74
+ for (const outputName of outputsToSync) {
75
+ // Map Angular output name to UI5 web component event name
76
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
77
+ // Ensure the output property exists and has an emit function before adding listener
78
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
79
+ // Cast the listener to the correct type to satisfy TypeScript
80
+ wcElement.addEventListener(eventName, (e) => {
81
+ this[outputName].emit(e);
82
+ });
83
+ }
84
+ }
85
+ }
86
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SearchItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
87
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: SearchItem, isStandalone: true, selector: "ui5-search-item, [ui5-search-item]", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, deletable: { classPropertyName: "deletable", publicName: "deletable", isSignal: true, isRequired: false, transformFunction: null }, scopeName: { classPropertyName: "scopeName", publicName: "scopeName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Delete: "ui5Delete" }, exportAs: ["ui5SearchItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
88
+ }
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: SearchItem, decorators: [{
90
+ type: Component,
91
+ args: [{
92
+ standalone: true,
93
+ selector: 'ui5-search-item, [ui5-search-item]',
94
+ template: '<ng-content></ng-content>',
95
+ exportAs: 'ui5SearchItem',
96
+ changeDetection: ChangeDetectionStrategy.OnPush,
97
+ }]
98
+ }] });
99
+
100
+ /**
101
+ * Generated bundle index. Do not edit.
102
+ */
103
+
104
+ export { SearchItem };
105
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs.map