@fundamental-ngx/ui5-webcomponents-fiori 0.58.0-rc.21 → 0.58.0-rc.22

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,84 @@
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/TimelineGroupItem.js';
4
+
5
+ class TimelineGroupItem {
6
+ constructor() {
7
+ /**
8
+ * Defines the text of the button that expands and collapses the group.
9
+ */
10
+ this.groupName = input(...(ngDevMode ? [undefined, { debugName: "groupName" }] : []));
11
+ /**
12
+ * Determines if the group is collapsed or expanded.
13
+ */
14
+ this.collapsed = input(false, ...(ngDevMode ? [{ debugName: "collapsed", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed
15
+ /**
16
+ * Fired when the group item is expanded or collapsed.
17
+ */
18
+ this.ui5Toggle = output();
19
+ this.elementRef = inject(ElementRef);
20
+ this.injector = inject(Injector);
21
+ }
22
+ get element() {
23
+ return this.elementRef.nativeElement;
24
+ }
25
+ ngAfterViewInit() {
26
+ const wcElement = this.element;
27
+ const inputsToSync = [
28
+ 'groupName',
29
+ 'collapsed',
30
+ ];
31
+ // Synchronize inputs (properties)
32
+ for (const inputName of inputsToSync) {
33
+ // Find the corresponding camelCase signal property on the Angular component
34
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
35
+ // Use the Injector to run the effect in the correct context
36
+ if (this[signalName] && typeof this[signalName] === 'function') {
37
+ runInInjectionContext(this.injector, () => {
38
+ effect(() => {
39
+ // Read the signal value
40
+ const value = this[signalName]();
41
+ if (wcElement) {
42
+ // Write the value to the Web Component's property
43
+ wcElement[inputName] = value;
44
+ }
45
+ });
46
+ });
47
+ }
48
+ }
49
+ const outputsToSync = [
50
+ 'ui5Toggle',
51
+ ];
52
+ // Synchronize outputs (events)
53
+ for (const outputName of outputsToSync) {
54
+ // Map Angular output name to UI5 web component event name
55
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
56
+ // Ensure the output property exists and has an emit function before adding listener
57
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
58
+ // Cast the listener to the correct type to satisfy TypeScript
59
+ wcElement.addEventListener(eventName, (e) => {
60
+ this[outputName].emit(e);
61
+ });
62
+ }
63
+ }
64
+ }
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TimelineGroupItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
66
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: TimelineGroupItem, isStandalone: true, selector: "ui5-timeline-group-item, [ui5-timeline-group-item]", inputs: { groupName: { classPropertyName: "groupName", publicName: "groupName", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: "collapsed", publicName: "collapsed", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Toggle: "ui5Toggle" }, exportAs: ["ui5TimelineGroupItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
67
+ }
68
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TimelineGroupItem, decorators: [{
69
+ type: Component,
70
+ args: [{
71
+ standalone: true,
72
+ selector: 'ui5-timeline-group-item, [ui5-timeline-group-item]',
73
+ template: '<ng-content></ng-content>',
74
+ exportAs: 'ui5TimelineGroupItem',
75
+ changeDetection: ChangeDetectionStrategy.OnPush,
76
+ }]
77
+ }] });
78
+
79
+ /**
80
+ * Generated bundle index. Do not edit.
81
+ */
82
+
83
+ export { TimelineGroupItem };
84
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs","sources":["../tmp-esm2022/timeline-group-item/index.js","../tmp-esm2022/timeline-group-item/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/TimelineGroupItem.js';\nimport * as i0 from \"@angular/core\";\nexport class TimelineGroupItem {\n constructor() {\n /**\n * Defines the text of the button that expands and collapses the group.\n */\n this.groupName = input(...(ngDevMode ? [undefined, { debugName: \"groupName\" }] : []));\n /**\n * Determines if the group is collapsed or expanded.\n */\n this.collapsed = input(false, ...(ngDevMode ? [{ debugName: \"collapsed\", transform: booleanAttribute }] : [{ transform: booleanAttribute }])); // className is now passed\n /**\n * Fired when the group item is expanded or collapsed.\n */\n this.ui5Toggle = 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 'groupName',\n 'collapsed',\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 'ui5Toggle',\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: TimelineGroupItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: TimelineGroupItem, isStandalone: true, selector: \"ui5-timeline-group-item, [ui5-timeline-group-item]\", inputs: { groupName: { classPropertyName: \"groupName\", publicName: \"groupName\", isSignal: true, isRequired: false, transformFunction: null }, collapsed: { classPropertyName: \"collapsed\", publicName: \"collapsed\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Toggle: \"ui5Toggle\" }, exportAs: [\"ui5TimelineGroupItem\"], 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: TimelineGroupItem, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-timeline-group-item, [ui5-timeline-group-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5TimelineGroupItem',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json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1dE5hbWUucmVwbGFjZSgndWk1JywgJycpLnJlcGxhY2UoLyhbQS1aXSkvZywgJy0kMScpLnRvTG93ZXJDYXNlKCkuc3Vic3RyaW5nKDEpO1xuICAgICAgLy8gRW5zdXJlIHRoZSBvdXRwdXQgcHJvcGVydHkgZXhpc3RzIGFuZCBoYXMgYW4gZW1pdCBmdW5jdGlvbiBiZWZvcmUgYWRkaW5nIGxpc3RlbmVyXG4gICAgICBpZiAodGhpc1tvdXRwdXROYW1lXSAmJiB0eXBlb2YgdGhpc1tvdXRwdXROYW1lXS5lbWl0ID09PSAnZnVuY3Rpb24nICYmIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKSB7XG4gICAgICAgIC8vIENhc3QgdGhlIGxpc3RlbmVyIHRvIHRoZSBjb3JyZWN0IHR5cGUgdG8gc2F0aXNmeSBUeXBlU2NyaXB0XG4gICAgICAgIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgKGUpID0+IHtcblxuICAgICAgICAgIHRoaXNbb3V0cHV0TmFtZV0uZW1pdChlIGFzIEN1c3RvbUV2ZW50PGFueT4pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuXG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXRpbWVsaW5lLWdyb3VwLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3RpbWVsaW5lLWdyb3VwLWl0ZW0vZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXRpbWVsaW5lLWdyb3VwLWl0ZW0udHMiXSwibmFtZXMiO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,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;;AC3Eb;AACA;AACA;;;;"}
@@ -0,0 +1,111 @@
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/TimelineItem.js';
4
+
5
+ class TimelineItem {
6
+ constructor() {
7
+ /**
8
+ * Defines the icon to be displayed as graphical element within the `ui5-timeline-item`.
9
+ SAP-icons font provides numerous options.
10
+
11
+ See all the available icons in the [Icon Explorer](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html).
12
+ */
13
+ this.icon = input(...(ngDevMode ? [undefined, { debugName: "icon" }] : []));
14
+ /**
15
+ * Defines the name of the item, displayed before the `title-text`.
16
+ */
17
+ this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
18
+ /**
19
+ * Defines if the `name` is clickable.
20
+ */
21
+ this.nameClickable = input(false, ...(ngDevMode ? [{ debugName: "nameClickable", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
22
+ /**
23
+ * Defines the title text of the component.
24
+ */
25
+ this.titleText = input(...(ngDevMode ? [undefined, { debugName: "titleText" }] : []));
26
+ /**
27
+ * Defines the subtitle text of the component.
28
+ */
29
+ this.subtitleText = input(...(ngDevMode ? [undefined, { debugName: "subtitleText" }] : []));
30
+ /**
31
+ * Defines the state of the icon displayed in the `ui5-timeline-item`.
32
+ */
33
+ this.state = input("None", ...(ngDevMode ? [{ debugName: "state" }] : [])); // className is now passed
34
+ /**
35
+ * Fired when the item name is pressed either with a
36
+ click/tap or by using the Enter or Space key.
37
+
38
+ **Note:** The event will not be fired if the `name-clickable`
39
+ attribute is not set.
40
+ */
41
+ this.ui5NameClick = output();
42
+ this.elementRef = inject(ElementRef);
43
+ this.injector = inject(Injector);
44
+ }
45
+ get element() {
46
+ return this.elementRef.nativeElement;
47
+ }
48
+ ngAfterViewInit() {
49
+ const wcElement = this.element;
50
+ const inputsToSync = [
51
+ 'icon',
52
+ 'name',
53
+ 'nameClickable',
54
+ 'titleText',
55
+ 'subtitleText',
56
+ 'state',
57
+ ];
58
+ // Synchronize inputs (properties)
59
+ for (const inputName of inputsToSync) {
60
+ // Find the corresponding camelCase signal property on the Angular component
61
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
62
+ // Use the Injector to run the effect in the correct context
63
+ if (this[signalName] && typeof this[signalName] === 'function') {
64
+ runInInjectionContext(this.injector, () => {
65
+ effect(() => {
66
+ // Read the signal value
67
+ const value = this[signalName]();
68
+ if (wcElement) {
69
+ // Write the value to the Web Component's property
70
+ wcElement[inputName] = value;
71
+ }
72
+ });
73
+ });
74
+ }
75
+ }
76
+ const outputsToSync = [
77
+ 'ui5NameClick',
78
+ ];
79
+ // Synchronize outputs (events)
80
+ for (const outputName of outputsToSync) {
81
+ // Map Angular output name to UI5 web component event name
82
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
83
+ // Ensure the output property exists and has an emit function before adding listener
84
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
85
+ // Cast the listener to the correct type to satisfy TypeScript
86
+ wcElement.addEventListener(eventName, (e) => {
87
+ this[outputName].emit(e);
88
+ });
89
+ }
90
+ }
91
+ }
92
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TimelineItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
93
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: TimelineItem, isStandalone: true, selector: "ui5-timeline-item, [ui5-timeline-item]", inputs: { icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, nameClickable: { classPropertyName: "nameClickable", publicName: "nameClickable", isSignal: true, isRequired: false, transformFunction: null }, titleText: { classPropertyName: "titleText", publicName: "titleText", isSignal: true, isRequired: false, transformFunction: null }, subtitleText: { classPropertyName: "subtitleText", publicName: "subtitleText", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: "state", publicName: "state", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5NameClick: "ui5NameClick" }, exportAs: ["ui5TimelineItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
94
+ }
95
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: TimelineItem, decorators: [{
96
+ type: Component,
97
+ args: [{
98
+ standalone: true,
99
+ selector: 'ui5-timeline-item, [ui5-timeline-item]',
100
+ template: '<ng-content></ng-content>',
101
+ exportAs: 'ui5TimelineItem',
102
+ changeDetection: ChangeDetectionStrategy.OnPush,
103
+ }]
104
+ }] });
105
+
106
+ /**
107
+ * Generated bundle index. Do not edit.
108
+ */
109
+
110
+ export { TimelineItem };
111
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs","sources":["../tmp-esm2022/timeline-item/index.js","../tmp-esm2022/timeline-item/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/TimelineItem.js';\nimport * as i0 from \"@angular/core\";\nexport class TimelineItem {\n constructor() {\n /**\n * Defines the icon to be displayed as graphical element within the `ui5-timeline-item`.\n SAP-icons font provides numerous options.\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 the name of the item, displayed before the `title-text`.\n */\n this.name = input(...(ngDevMode ? [undefined, { debugName: \"name\" }] : []));\n /**\n * Defines if the `name` is clickable.\n */\n this.nameClickable = input(false, ...(ngDevMode ? [{ debugName: \"nameClickable\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines the title text of the component.\n */\n this.titleText = input(...(ngDevMode ? [undefined, { debugName: \"titleText\" }] : []));\n /**\n * Defines the subtitle text of the component.\n */\n this.subtitleText = input(...(ngDevMode ? [undefined, { debugName: \"subtitleText\" }] : []));\n /**\n * Defines the state of the icon displayed in the `ui5-timeline-item`.\n */\n this.state = input(\"None\", ...(ngDevMode ? [{ debugName: \"state\" }] : [])); // className is now passed\n /**\n * Fired when the item name is pressed either with a\n click/tap or by using the Enter or Space key.\n \n **Note:** The event will not be fired if the `name-clickable`\n attribute is not set.\n */\n this.ui5NameClick = 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 'icon',\n 'name',\n 'nameClickable',\n 'titleText',\n 'subtitleText',\n 'state',\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 'ui5NameClick',\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: TimelineItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: TimelineItem, isStandalone: true, selector: \"ui5-timeline-item, [ui5-timeline-item]\", inputs: { icon: { classPropertyName: \"icon\", publicName: \"icon\", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: \"name\", publicName: \"name\", isSignal: true, isRequired: false, transformFunction: null }, nameClickable: { classPropertyName: \"nameClickable\", publicName: \"nameClickable\", isSignal: true, isRequired: false, transformFunction: null }, titleText: { classPropertyName: \"titleText\", publicName: \"titleText\", isSignal: true, isRequired: false, transformFunction: null }, subtitleText: { classPropertyName: \"subtitleText\", publicName: \"subtitleText\", isSignal: true, isRequired: false, transformFunction: null }, state: { classPropertyName: \"state\", publicName: \"state\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5NameClick: \"ui5NameClick\" }, exportAs: [\"ui5TimelineItem\"], 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: TimelineItem, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-timeline-item, [ui5-timeline-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5TimelineItem',\n changeDetection: ChangeDet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GUgdG8gc2F0aXNmeSBUeXBlU2NyaXB0XG4gICAgICAgIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgKGUpID0+IHtcblxuICAgICAgICAgIHRoaXNbb3V0cHV0TmFtZV0uZW1pdChlIGFzIEN1c3RvbUV2ZW50PGFueT4pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuXG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXRpbWVsaW5lLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3RpbWVsaW5lLWl0ZW0vZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXRpbWVsaW5lLWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,YAAY,CAAC;AAC1B,IAAI,WAAW,GAAG;AAClB;AACA;AACA;AACA;AACA;AACA;AACA,QAAQ,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,IAAI,SAAS,GAAG,CAAC,SAAS,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA,QAAQ,IAAI,CAAC,IAAI,GAAG,KAAK,C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AI,EAAE,EAAE,YAAY,EAAE,EAAE,iBAAiB,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,iBAAiB,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,YAAY,EAAE,cAAc,EAAE,EAAE,QAAQ,EAAE,CAAC,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5oC;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC;AACtH,YAAY,IAAI,EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,wCAAwC;AACtE,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,iBAAiB;AAC/C,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACtGb;AACA;AACA;;;;"}
@@ -0,0 +1,110 @@
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/Timeline.js';
4
+
5
+ class Timeline {
6
+ constructor() {
7
+ /**
8
+ * Defines the items orientation.
9
+ */
10
+ this.layout = input("Vertical", ...(ngDevMode ? [{ debugName: "layout" }] : []));
11
+ /**
12
+ * Defines the accessible ARIA name of the component.
13
+ */
14
+ this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
15
+ /**
16
+ * Defines if the component should display a loading indicator over the Timeline.
17
+ */
18
+ this.loading = input(false, ...(ngDevMode ? [{ debugName: "loading", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
19
+ /**
20
+ * Defines the delay in milliseconds, after which the loading indicator will show up for this component.
21
+ */
22
+ this.loadingDelay = input(1000, ...(ngDevMode ? [{ debugName: "loadingDelay" }] : []));
23
+ /**
24
+ * Defines whether the Timeline will have growing capability either by pressing a "More" button,
25
+ or via user scroll. In both cases a `load-more` event is fired.
26
+
27
+ Available options:
28
+
29
+ `Button` - Displays a button at the end of the Timeline, which when pressed triggers the `load-more` event.
30
+
31
+ `Scroll` -Triggers the `load-more` event when the user scrolls to the end of the Timeline.
32
+
33
+ `None` (default) - The growing functionality is off.
34
+ */
35
+ this.growing = input("None", ...(ngDevMode ? [{ debugName: "growing" }] : [])); // className is now passed
36
+ /**
37
+ * Fired when the user presses the `More` button or scrolls to the Timeline's end.
38
+
39
+ **Note:** The event will be fired if `growing` is set to `Button` or `Scroll`.
40
+ */
41
+ this.ui5LoadMore = output();
42
+ this.elementRef = inject(ElementRef);
43
+ this.injector = inject(Injector);
44
+ }
45
+ get element() {
46
+ return this.elementRef.nativeElement;
47
+ }
48
+ ngAfterViewInit() {
49
+ const wcElement = this.element;
50
+ const inputsToSync = [
51
+ 'layout',
52
+ 'accessibleName',
53
+ 'loading',
54
+ 'loadingDelay',
55
+ 'growing',
56
+ ];
57
+ // Synchronize inputs (properties)
58
+ for (const inputName of inputsToSync) {
59
+ // Find the corresponding camelCase signal property on the Angular component
60
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
61
+ // Use the Injector to run the effect in the correct context
62
+ if (this[signalName] && typeof this[signalName] === 'function') {
63
+ runInInjectionContext(this.injector, () => {
64
+ effect(() => {
65
+ // Read the signal value
66
+ const value = this[signalName]();
67
+ if (wcElement) {
68
+ // Write the value to the Web Component's property
69
+ wcElement[inputName] = value;
70
+ }
71
+ });
72
+ });
73
+ }
74
+ }
75
+ const outputsToSync = [
76
+ 'ui5LoadMore',
77
+ ];
78
+ // Synchronize outputs (events)
79
+ for (const outputName of outputsToSync) {
80
+ // Map Angular output name to UI5 web component event name
81
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
82
+ // Ensure the output property exists and has an emit function before adding listener
83
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
84
+ // Cast the listener to the correct type to satisfy TypeScript
85
+ wcElement.addEventListener(eventName, (e) => {
86
+ this[outputName].emit(e);
87
+ });
88
+ }
89
+ }
90
+ }
91
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Timeline, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
92
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: Timeline, isStandalone: true, selector: "ui5-timeline, [ui5-timeline]", inputs: { layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, loadingDelay: { classPropertyName: "loadingDelay", publicName: "loadingDelay", isSignal: true, isRequired: false, transformFunction: null }, growing: { classPropertyName: "growing", publicName: "growing", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5LoadMore: "ui5LoadMore" }, exportAs: ["ui5Timeline"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
93
+ }
94
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Timeline, decorators: [{
95
+ type: Component,
96
+ args: [{
97
+ standalone: true,
98
+ selector: 'ui5-timeline, [ui5-timeline]',
99
+ template: '<ng-content></ng-content>',
100
+ exportAs: 'ui5Timeline',
101
+ changeDetection: ChangeDetectionStrategy.OnPush,
102
+ }]
103
+ }] });
104
+
105
+ /**
106
+ * Generated bundle index. Do not edit.
107
+ */
108
+
109
+ export { Timeline };
110
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs","sources":["../tmp-esm2022/timeline/index.js","../tmp-esm2022/timeline/fundamental-ngx-ui5-webcomponents-fiori-timeline.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/Timeline.js';\nimport * as i0 from \"@angular/core\";\nexport class Timeline {\n constructor() {\n /**\n * Defines the items orientation.\n */\n this.layout = input(\"Vertical\", ...(ngDevMode ? [{ debugName: \"layout\" }] : []));\n /**\n * Defines the accessible ARIA name of the component.\n */\n this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: \"accessibleName\" }] : []));\n /**\n * Defines if the component should display a loading indicator over the Timeline.\n */\n this.loading = input(false, ...(ngDevMode ? [{ debugName: \"loading\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Defines the delay in milliseconds, after which the loading indicator will show up for this component.\n */\n this.loadingDelay = input(1000, ...(ngDevMode ? [{ debugName: \"loadingDelay\" }] : []));\n /**\n * Defines whether the Timeline will have growing capability either by pressing a \"More\" button,\n or via user scroll. In both cases a `load-more` event is fired.\n \n Available options:\n \n `Button` - Displays a button at the end of the Timeline, which when pressed triggers the `load-more` event.\n \n `Scroll` -Triggers the `load-more` event when the user scrolls to the end of the Timeline.\n \n `None` (default) - The growing functionality is off.\n */\n this.growing = input(\"None\", ...(ngDevMode ? [{ debugName: \"growing\" }] : [])); // className is now passed\n /**\n * Fired when the user presses the `More` button or scrolls to the Timeline's end.\n \n **Note:** The event will be fired if `growing` is set to `Button` or `Scroll`.\n */\n this.ui5LoadMore = 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 'layout',\n 'accessibleName',\n 'loading',\n 'loadingDelay',\n 'growing',\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 'ui5LoadMore',\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: Timeline, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"17.1.0\", version: \"20.1.4\", type: Timeline, isStandalone: true, selector: \"ui5-timeline, [ui5-timeline]\", inputs: { layout: { classPropertyName: \"layout\", publicName: \"layout\", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: \"accessibleName\", publicName: \"accessibleName\", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: \"loading\", publicName: \"loading\", isSignal: true, isRequired: false, transformFunction: null }, loadingDelay: { classPropertyName: \"loadingDelay\", publicName: \"loadingDelay\", isSignal: true, isRequired: false, transformFunction: null }, growing: { classPropertyName: \"growing\", publicName: \"growing\", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5LoadMore: \"ui5LoadMore\" }, exportAs: [\"ui5Timeline\"], 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: Timeline, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-timeline, [ui5-timeline]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Timeline',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3RpbWVsaW5lL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFVBQVUsRUFDVixLQUFLLEVBQ0wsTUFBTSxFQUVOLE1BQU0sRUFDTixxQkFBcUIsRUFDckIsTUFBTSxFQUNOLFFBQVEsRUFDUixnQkFBZ0IsRUFHakIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTywyQ0FBMkMsQ0FBQzs7QUFlbkQsTUFBTSxPQUFPLFFBQVE7SUFSckI7UUFVRTs7V0FFRztRQUNILFdB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biAgICAgICd1aTVMb2FkTW9yZScsXG4gICAgXTtcbiAgICBcbiAgICAvLyBTeW5jaHJvbml6ZSBvdXRwdXRzIChldmVudHMpXG4gICAgZm9yIChjb25zdCBvdXRwdXROYW1lIG9mIG91dHB1dHNUb1N5bmMpIHtcbiAgICAgIC8vIE1hcCBBbmd1bGFyIG91dHB1dCBuYW1lIHRvIFVJNSB3ZWIgY29tcG9uZW50IGV2ZW50IG5hbWVcbiAgICAgIGNvbnN0IGV2ZW50TmFtZSA9IG91dHB1dE5hbWUucmVwbGFjZSgndWk1JywgJycpLnJlcGxhY2UoLyhbQS1aXSkvZywgJy0kMScpLnRvTG93ZXJDYXNlKCkuc3Vic3RyaW5nKDEpO1xuICAgICAgLy8gRW5zdXJlIHRoZSBvdXRwdXQgcHJvcGVydHkgZXhpc3RzIGFuZCBoYXMgYW4gZW1pdCBmdW5jdGlvbiBiZWZvcmUgYWRkaW5nIGxpc3RlbmVyXG4gICAgICBpZiAodGhpc1tvdXRwdXROYW1lXSAmJiB0eXBlb2YgdGhpc1tvdXRwdXROYW1lXS5lbWl0ID09PSAnZnVuY3Rpb24nICYmIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKSB7XG4gICAgICAgIC8vIENhc3QgdGhlIGxpc3RlbmVyIHRvIHRoZSBjb3JyZWN0IHR5cGUgdG8gc2F0aXNmeSBUeXBlU2NyaXB0XG4gICAgICAgIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgKGUpID0+IHtcblxuICAgICAgICAgIHRoaXNbb3V0cHV0TmFtZV0uZW1pdChlIGFzIEN1c3RvbUV2ZW50PGFueT4pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuXG4gIH1cbn1cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVp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EAAE,SAAS;AAC3B,YAAY,IAAI,EAAE,CAAC;AACnB,oBAAoB,UAAU,EAAE,IAAI;AACpC,oBAAoB,QAAQ,EAAE,8BAA8B;AAC5D,oBAAoB,QAAQ,EAAE,2BAA2B;AACzD,oBAAoB,QAAQ,EAAE,aAAa;AAC3C,oBAAoB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AACnE,iBAAiB;AACjB,SAAS,CAAC,EAAE,CAAC;;ACrGb;AACA;AACA;;;;"}
@@ -0,0 +1,152 @@
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/UploadCollectionItem.js';
4
+
5
+ class UploadCollectionItem {
6
+ constructor() {
7
+ /**
8
+ * Holds an instance of `File` associated with this item.
9
+ */
10
+ this.file = input(null, ...(ngDevMode ? [{ debugName: "file" }] : []));
11
+ /**
12
+ * The name of the file.
13
+ */
14
+ this.fileName = input("", ...(ngDevMode ? [{ debugName: "fileName" }] : []));
15
+ /**
16
+ * If set to `true` the file name will be clickable and it will fire `file-name-click` event upon click.
17
+ */
18
+ this.fileNameClickable = input(false, ...(ngDevMode ? [{ debugName: "fileNameClickable", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
19
+ /**
20
+ * Disables the delete button.
21
+ */
22
+ this.disableDeleteButton = input(false, ...(ngDevMode ? [{ debugName: "disableDeleteButton", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
23
+ /**
24
+ * Hides the delete button.
25
+ */
26
+ this.hideDeleteButton = input(false, ...(ngDevMode ? [{ debugName: "hideDeleteButton", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
27
+ /**
28
+ * Hides the retry button when `uploadState` property is `Error`.
29
+ */
30
+ this.hideRetryButton = input(false, ...(ngDevMode ? [{ debugName: "hideRetryButton", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
31
+ /**
32
+ * Hides the terminate button when `uploadState` property is `Uploading`.
33
+ */
34
+ this.hideTerminateButton = input(false, ...(ngDevMode ? [{ debugName: "hideTerminateButton", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
35
+ /**
36
+ * The upload progress in percentage.
37
+
38
+ **Note:** Expected values are in the interval [0, 100].
39
+ */
40
+ this.progress = input(0, ...(ngDevMode ? [{ debugName: "progress" }] : []));
41
+ /**
42
+ * Upload state.
43
+
44
+ Depending on this property, the item displays the following:
45
+
46
+ - `Ready` - progress indicator is displayed.
47
+ - `Uploading` - progress indicator and terminate button are displayed. When the terminate button is pressed, `terminate` event is fired.
48
+ - `Error` - progress indicator and retry button are displayed. When the retry button is pressed, `retry` event is fired.
49
+ - `Complete` - progress indicator is not displayed.
50
+ */
51
+ this.uploadState = input("Ready", ...(ngDevMode ? [{ debugName: "uploadState" }] : [])); // className is now passed
52
+ /**
53
+ * Fired when the file name is clicked.
54
+
55
+ **Note:** This event is only available when `fileNameClickable` property is `true`.
56
+ */
57
+ this.ui5FileNameClick = output();
58
+ /**
59
+ * Fired when the `fileName` property gets changed.
60
+
61
+ **Note:** An edit button is displayed on each item,
62
+ when the `ui5-upload-collection-item` `type` property is set to `Detail`.
63
+ */
64
+ this.ui5Rename = output();
65
+ /**
66
+ * Fired when the terminate button is pressed.
67
+
68
+ **Note:** Terminate button is displayed when `uploadState` property is set to `Uploading`.
69
+ */
70
+ this.ui5Terminate = output();
71
+ /**
72
+ * Fired when the retry button is pressed.
73
+
74
+ **Note:** Retry button is displayed when `uploadState` property is set to `Error`.
75
+ */
76
+ this.ui5Retry = output();
77
+ this.elementRef = inject(ElementRef);
78
+ this.injector = inject(Injector);
79
+ }
80
+ get element() {
81
+ return this.elementRef.nativeElement;
82
+ }
83
+ ngAfterViewInit() {
84
+ const wcElement = this.element;
85
+ const inputsToSync = [
86
+ 'file',
87
+ 'fileName',
88
+ 'fileNameClickable',
89
+ 'disableDeleteButton',
90
+ 'hideDeleteButton',
91
+ 'hideRetryButton',
92
+ 'hideTerminateButton',
93
+ 'progress',
94
+ 'uploadState',
95
+ ];
96
+ // Synchronize inputs (properties)
97
+ for (const inputName of inputsToSync) {
98
+ // Find the corresponding camelCase signal property on the Angular component
99
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
100
+ // Use the Injector to run the effect in the correct context
101
+ if (this[signalName] && typeof this[signalName] === 'function') {
102
+ runInInjectionContext(this.injector, () => {
103
+ effect(() => {
104
+ // Read the signal value
105
+ const value = this[signalName]();
106
+ if (wcElement) {
107
+ // Write the value to the Web Component's property
108
+ wcElement[inputName] = value;
109
+ }
110
+ });
111
+ });
112
+ }
113
+ }
114
+ const outputsToSync = [
115
+ 'ui5FileNameClick',
116
+ 'ui5Rename',
117
+ 'ui5Terminate',
118
+ 'ui5Retry',
119
+ ];
120
+ // Synchronize outputs (events)
121
+ for (const outputName of outputsToSync) {
122
+ // Map Angular output name to UI5 web component event name
123
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
124
+ // Ensure the output property exists and has an emit function before adding listener
125
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
126
+ // Cast the listener to the correct type to satisfy TypeScript
127
+ wcElement.addEventListener(eventName, (e) => {
128
+ this[outputName].emit(e);
129
+ });
130
+ }
131
+ }
132
+ }
133
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UploadCollectionItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
134
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: UploadCollectionItem, isStandalone: true, selector: "ui5-upload-collection-item, [ui5-upload-collection-item]", inputs: { file: { classPropertyName: "file", publicName: "file", isSignal: true, isRequired: false, transformFunction: null }, fileName: { classPropertyName: "fileName", publicName: "fileName", isSignal: true, isRequired: false, transformFunction: null }, fileNameClickable: { classPropertyName: "fileNameClickable", publicName: "fileNameClickable", isSignal: true, isRequired: false, transformFunction: null }, disableDeleteButton: { classPropertyName: "disableDeleteButton", publicName: "disableDeleteButton", isSignal: true, isRequired: false, transformFunction: null }, hideDeleteButton: { classPropertyName: "hideDeleteButton", publicName: "hideDeleteButton", isSignal: true, isRequired: false, transformFunction: null }, hideRetryButton: { classPropertyName: "hideRetryButton", publicName: "hideRetryButton", isSignal: true, isRequired: false, transformFunction: null }, hideTerminateButton: { classPropertyName: "hideTerminateButton", publicName: "hideTerminateButton", isSignal: true, isRequired: false, transformFunction: null }, progress: { classPropertyName: "progress", publicName: "progress", isSignal: true, isRequired: false, transformFunction: null }, uploadState: { classPropertyName: "uploadState", publicName: "uploadState", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5FileNameClick: "ui5FileNameClick", ui5Rename: "ui5Rename", ui5Terminate: "ui5Terminate", ui5Retry: "ui5Retry" }, exportAs: ["ui5UploadCollectionItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
135
+ }
136
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UploadCollectionItem, decorators: [{
137
+ type: Component,
138
+ args: [{
139
+ standalone: true,
140
+ selector: 'ui5-upload-collection-item, [ui5-upload-collection-item]',
141
+ template: '<ng-content></ng-content>',
142
+ exportAs: 'ui5UploadCollectionItem',
143
+ changeDetection: ChangeDetectionStrategy.OnPush,
144
+ }]
145
+ }] });
146
+
147
+ /**
148
+ * Generated bundle index. Do not edit.
149
+ */
150
+
151
+ export { UploadCollectionItem };
152
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs.map