@fundamental-ngx/ui5-webcomponents-fiori 0.58.0-rc.67 → 0.58.0-rc.69

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 (157) hide show
  1. package/package.json +2 -210
  2. package/barcode-scanner-dialog/index.d.ts +0 -66
  3. package/dynamic-page/index.d.ts +0 -65
  4. package/dynamic-page-header/index.d.ts +0 -37
  5. package/dynamic-page-title/index.d.ts +0 -63
  6. package/dynamic-side-content/index.d.ts +0 -81
  7. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs +0 -131
  8. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-barcode-scanner-dialog.mjs.map +0 -1
  9. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs +0 -61
  10. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-header.mjs.map +0 -1
  11. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs +0 -115
  12. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page-title.mjs.map +0 -1
  13. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs +0 -139
  14. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-page.mjs.map +0 -1
  15. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs +0 -148
  16. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-dynamic-side-content.mjs.map +0 -1
  17. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs +0 -65
  18. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item-option.mjs.map +0 -1
  19. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs +0 -91
  20. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-filter-item.mjs.map +0 -1
  21. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs +0 -297
  22. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-flexible-column-layout.mjs.map +0 -1
  23. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs +0 -65
  24. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-group-item.mjs.map +0 -1
  25. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs +0 -159
  26. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-illustrated-message.mjs.map +0 -1
  27. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs +0 -100
  28. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery-item.mjs.map +0 -1
  29. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs +0 -148
  30. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-media-gallery.mjs.map +0 -1
  31. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs +0 -95
  32. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-navigation-layout.mjs.map +0 -1
  33. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs +0 -139
  34. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-group-item.mjs.map +0 -1
  35. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs +0 -174
  36. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list-item.mjs.map +0 -1
  37. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs +0 -114
  38. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-notification-list.mjs.map +0 -1
  39. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs +0 -115
  40. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-page.mjs.map +0 -1
  41. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs +0 -145
  42. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch-item.mjs.map +0 -1
  43. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs +0 -61
  44. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-product-switch.mjs.map +0 -1
  45. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs +0 -36
  46. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-group.mjs.map +0 -1
  47. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs +0 -87
  48. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item-show-more.mjs.map +0 -1
  49. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs +0 -143
  50. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-item.mjs.map +0 -1
  51. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs +0 -65
  52. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-message-area.mjs.map +0 -1
  53. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs +0 -65
  54. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search-scope.mjs.map +0 -1
  55. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs +0 -191
  56. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-search.mjs.map +0 -1
  57. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs +0 -135
  58. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-branding.mjs.map +0 -1
  59. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs +0 -109
  60. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-item.mjs.map +0 -1
  61. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs +0 -196
  62. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-search.mjs.map +0 -1
  63. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs +0 -36
  64. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar-spacer.mjs.map +0 -1
  65. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs +0 -334
  66. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-shell-bar.mjs.map +0 -1
  67. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs +0 -105
  68. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-group.mjs.map +0 -1
  69. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs +0 -195
  70. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-item.mjs.map +0 -1
  71. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs +0 -165
  72. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation-sub-item.mjs.map +0 -1
  73. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs +0 -130
  74. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-side-navigation.mjs.map +0 -1
  75. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs +0 -65
  76. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-sort-item.mjs.map +0 -1
  77. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs +0 -23
  78. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-theming.mjs.map +0 -1
  79. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs +0 -109
  80. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-group-item.mjs.map +0 -1
  81. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs +0 -136
  82. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline-item.mjs.map +0 -1
  83. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs +0 -135
  84. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs.map +0 -1
  85. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs +0 -184
  86. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs.map +0 -1
  87. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs +0 -152
  88. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs.map +0 -1
  89. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs +0 -95
  90. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-account.mjs.map +0 -1
  91. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs +0 -36
  92. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item-group.mjs.map +0 -1
  93. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs +0 -63
  94. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu-item.mjs.map +0 -1
  95. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs +0 -174
  96. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-menu.mjs.map +0 -1
  97. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs +0 -130
  98. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-account-view.mjs.map +0 -1
  99. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs +0 -138
  100. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-dialog.mjs.map +0 -1
  101. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs +0 -158
  102. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-item.mjs.map +0 -1
  103. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs +0 -96
  104. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-user-settings-view.mjs.map +0 -1
  105. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs +0 -150
  106. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-view-settings-dialog.mjs.map +0 -1
  107. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs +0 -130
  108. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard-step.mjs.map +0 -1
  109. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs +0 -107
  110. package/fesm2022/fundamental-ngx-ui5-webcomponents-fiori-wizard.mjs.map +0 -1
  111. package/filter-item/index.d.ts +0 -46
  112. package/filter-item-option/index.d.ts +0 -22
  113. package/flexible-column-layout/index.d.ts +0 -135
  114. package/group-item/index.d.ts +0 -22
  115. package/illustrated-message/index.d.ts +0 -105
  116. package/media-gallery/index.d.ts +0 -84
  117. package/media-gallery-item/index.d.ts +0 -50
  118. package/navigation-layout/index.d.ts +0 -43
  119. package/notification-list/index.d.ts +0 -54
  120. package/notification-list-group-item/index.d.ts +0 -75
  121. package/notification-list-item/index.d.ts +0 -97
  122. package/page/index.d.ts +0 -60
  123. package/product-switch/index.d.ts +0 -37
  124. package/product-switch-item/index.d.ts +0 -83
  125. package/search/index.d.ts +0 -106
  126. package/search-item/index.d.ts +0 -75
  127. package/search-item-group/index.d.ts +0 -14
  128. package/search-item-show-more/index.d.ts +0 -30
  129. package/search-message-area/index.d.ts +0 -22
  130. package/search-scope/index.d.ts +0 -22
  131. package/shell-bar/index.d.ts +0 -218
  132. package/shell-bar-branding/index.d.ts +0 -71
  133. package/shell-bar-item/index.d.ts +0 -51
  134. package/shell-bar-search/index.d.ts +0 -110
  135. package/shell-bar-spacer/index.d.ts +0 -14
  136. package/side-navigation/index.d.ts +0 -67
  137. package/side-navigation-group/index.d.ts +0 -58
  138. package/side-navigation-item/index.d.ts +0 -128
  139. package/side-navigation-sub-item/index.d.ts +0 -101
  140. package/sort-item/index.d.ts +0 -22
  141. package/theming/index.d.ts +0 -11
  142. package/timeline/index.d.ts +0 -73
  143. package/timeline-group-item/index.d.ts +0 -50
  144. package/timeline-item/index.d.ts +0 -73
  145. package/upload-collection/index.d.ts +0 -84
  146. package/upload-collection-item/index.d.ts +0 -111
  147. package/user-menu/index.d.ts +0 -100
  148. package/user-menu-account/index.d.ts +0 -46
  149. package/user-menu-item/index.d.ts +0 -39
  150. package/user-menu-item-group/index.d.ts +0 -14
  151. package/user-settings-account-view/index.d.ts +0 -64
  152. package/user-settings-dialog/index.d.ts +0 -71
  153. package/user-settings-item/index.d.ts +0 -88
  154. package/user-settings-view/index.d.ts +0 -50
  155. package/view-settings-dialog/index.d.ts +0 -78
  156. package/wizard/index.d.ts +0 -49
  157. package/wizard-step/index.d.ts +0 -81
@@ -1,135 +0,0 @@
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
- /**
43
- * Available slots for content projection in this component.
44
- *
45
- * Slots allow you to insert custom content into predefined areas of the web component.
46
- * Use the `slot` attribute on child elements to target specific slots.
47
- *
48
- * - **(default)**: Determines the content of the `ui5-timeline`.
49
- *
50
- * @example
51
- * ```html
52
- * <ui5-timeline>
53
- * <div slot="header">Custom header content</div>
54
- * <p>Default slot content</p>
55
- * </ui5-timeline>
56
- * ```
57
- *
58
- * @readonly
59
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
60
- */
61
- this.slots = [
62
- {
63
- "name": "default",
64
- "description": "Determines the content of the `ui5-timeline`."
65
- }
66
- ];
67
- this.elementRef = inject(ElementRef);
68
- this.injector = inject(Injector);
69
- }
70
- get element() {
71
- return this.elementRef.nativeElement;
72
- }
73
- ngAfterViewInit() {
74
- const wcElement = this.element;
75
- const inputsToSync = [
76
- 'layout',
77
- 'accessibleName',
78
- 'loading',
79
- 'loadingDelay',
80
- 'growing',
81
- ];
82
- // Synchronize inputs (properties)
83
- for (const inputName of inputsToSync) {
84
- // Find the corresponding camelCase signal property on the Angular component
85
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
86
- // Use the Injector to run the effect in the correct context
87
- if (this[signalName] && typeof this[signalName] === 'function') {
88
- runInInjectionContext(this.injector, () => {
89
- effect(() => {
90
- // Read the signal value
91
- const value = this[signalName]();
92
- if (wcElement) {
93
- // Write the value to the Web Component's property
94
- wcElement[inputName] = value;
95
- }
96
- });
97
- });
98
- }
99
- }
100
- const outputsToSync = [
101
- 'ui5LoadMore',
102
- ];
103
- // Synchronize outputs (events)
104
- for (const outputName of outputsToSync) {
105
- // Map Angular output name to UI5 web component event name
106
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
107
- // Ensure the output property exists and has an emit function before adding listener
108
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
109
- // Cast the listener to the correct type to satisfy TypeScript
110
- wcElement.addEventListener(eventName, (e) => {
111
- this[outputName].emit(e);
112
- });
113
- }
114
- }
115
- }
116
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Timeline, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
117
- 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 }); }
118
- }
119
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: Timeline, decorators: [{
120
- type: Component,
121
- args: [{
122
- standalone: true,
123
- selector: 'ui5-timeline, [ui5-timeline]',
124
- template: '<ng-content></ng-content>',
125
- exportAs: 'ui5Timeline',
126
- changeDetection: ChangeDetectionStrategy.OnPush,
127
- }]
128
- }] });
129
-
130
- /**
131
- * Generated bundle index. Do not edit.
132
- */
133
-
134
- export { Timeline };
135
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-timeline.mjs.map
@@ -1 +0,0 @@
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 /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Determines the content of the `ui5-timeline`.\n *\n * @example\n * ```html\n * <ui5-timeline>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-timeline>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n this.slots = [\n {\n \"name\": \"default\",\n \"description\": \"Determines the content of the `ui5-timeline`.\"\n }\n ];\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3RpbWVsaW5lL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUy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C8vIENhc3QgdGhlIGxpc3RlbmVyIHRvIHRoZSBjb3JyZWN0IHR5cGUgdG8gc2F0aXNmeSBUeXBlU2NyaXB0XG4gICAgICAgIHdjRWxlbWVudC5hZGRFdmVudExpc3RlbmVyKGV2ZW50TmFtZSwgKGUpID0+IHtcblxuICAgICAgICAgIHRoaXNbb3V0cHV0TmFtZV0uZW1pdChlIGFzIEN1c3RvbUV2ZW50PGFueT4pO1xuICAgICAgICB9KTtcbiAgICAgIH1cbiAgICB9XG4gIFxuXG4gIH1cbn1cblxuIl19","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXRpbWVsaW5lLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vbGlicy91aTUtd2ViY29tcG9uZW50cy1maW9yaS90aW1lbGluZS9mdW5kYW1lbnRhbC1uZ3gtdWk1LXdlYmNvbXBvbmVudHMtZmlvcmktdGltZWxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0="],"names":[],"mappings":";;;;AAGO,MAAM,QAAQ,CAAC;AACtB,IAAI,WAAW,GAAG;AAClB;AACA;AACA;AACA,QAAQ,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,UAAU,EAAE,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;AACxF;AACA;AACA;AACA,QAAQ,IAAI,CAAC,cA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,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,OAAO,EAAE,EAAE,iBAAiB,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,iBAAiB,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,WAAW,EAAE,aAAa,EAAE,EAAE,QAAQ,EAAE,CAAC,aAAa,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,2BAA2B,EAAE,QAAQ,EAAE,IAAI,EAAE,eAAe,EAAE,EAAE,CAAC,uBAAuB,CAAC,MAAM,EAAE,CAAC,CAAC;AAC5gC;AACA,EAAE,CAAC,wBAAwB,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;AAClH,YAAY,IAAI,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;;AC9Hb;AACA;AACA;;;;"}
@@ -1,184 +0,0 @@
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
- /**
78
- * Available slots for content projection in this component.
79
- *
80
- * Slots allow you to insert custom content into predefined areas of the web component.
81
- * Use the `slot` attribute on child elements to target specific slots.
82
- *
83
- * - **(default)**: Hold the description of the `ui5-upload-collection-item`. Will be shown below the file name.
84
- * - **thumbnail**: A thumbnail, which will be shown in the beginning of the `ui5-upload-collection-item`.
85
-
86
- **Note:** Use `ui5-icon` or `img` for the intended design.
87
- *
88
- * @example
89
- * ```html
90
- * <ui5-upload-collection-item>
91
- * <div slot="header">Custom header content</div>
92
- * <p>Default slot content</p>
93
- * </ui5-upload-collection-item>
94
- * ```
95
- *
96
- * @readonly
97
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
98
- */
99
- this.slots = [
100
- {
101
- "name": "default",
102
- "description": "Hold the description of the `ui5-upload-collection-item`. Will be shown below the file name."
103
- },
104
- {
105
- "name": "thumbnail",
106
- "description": "A thumbnail, which will be shown in the beginning of the `ui5-upload-collection-item`.\n\n**Note:** Use `ui5-icon` or `img` for the intended design."
107
- }
108
- ];
109
- this.elementRef = inject(ElementRef);
110
- this.injector = inject(Injector);
111
- }
112
- get element() {
113
- return this.elementRef.nativeElement;
114
- }
115
- ngAfterViewInit() {
116
- const wcElement = this.element;
117
- const inputsToSync = [
118
- 'file',
119
- 'fileName',
120
- 'fileNameClickable',
121
- 'disableDeleteButton',
122
- 'hideDeleteButton',
123
- 'hideRetryButton',
124
- 'hideTerminateButton',
125
- 'progress',
126
- 'uploadState',
127
- ];
128
- // Synchronize inputs (properties)
129
- for (const inputName of inputsToSync) {
130
- // Find the corresponding camelCase signal property on the Angular component
131
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
132
- // Use the Injector to run the effect in the correct context
133
- if (this[signalName] && typeof this[signalName] === 'function') {
134
- runInInjectionContext(this.injector, () => {
135
- effect(() => {
136
- // Read the signal value
137
- const value = this[signalName]();
138
- if (wcElement) {
139
- // Write the value to the Web Component's property
140
- wcElement[inputName] = value;
141
- }
142
- });
143
- });
144
- }
145
- }
146
- const outputsToSync = [
147
- 'ui5FileNameClick',
148
- 'ui5Rename',
149
- 'ui5Terminate',
150
- 'ui5Retry',
151
- ];
152
- // Synchronize outputs (events)
153
- for (const outputName of outputsToSync) {
154
- // Map Angular output name to UI5 web component event name
155
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
156
- // Ensure the output property exists and has an emit function before adding listener
157
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
158
- // Cast the listener to the correct type to satisfy TypeScript
159
- wcElement.addEventListener(eventName, (e) => {
160
- this[outputName].emit(e);
161
- });
162
- }
163
- }
164
- }
165
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UploadCollectionItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
166
- 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 }); }
167
- }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.4", ngImport: i0, type: UploadCollectionItem, decorators: [{
169
- type: Component,
170
- args: [{
171
- standalone: true,
172
- selector: 'ui5-upload-collection-item, [ui5-upload-collection-item]',
173
- template: '<ng-content></ng-content>',
174
- exportAs: 'ui5UploadCollectionItem',
175
- changeDetection: ChangeDetectionStrategy.OnPush,
176
- }]
177
- }] });
178
-
179
- /**
180
- * Generated bundle index. Do not edit.
181
- */
182
-
183
- export { UploadCollectionItem };
184
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.mjs","sources":["../tmp-esm2022/upload-collection-item/index.js","../tmp-esm2022/upload-collection-item/fundamental-ngx-ui5-webcomponents-fiori-upload-collection-item.js"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ElementRef, input, output, effect, runInInjectionContext, inject, Injector, booleanAttribute } from '@angular/core';\nimport '@ui5/webcomponents-fiori/dist/UploadCollectionItem.js';\nimport * as i0 from \"@angular/core\";\nexport class UploadCollectionItem {\n constructor() {\n /**\n * Holds an instance of `File` associated with this item.\n */\n this.file = input(null, ...(ngDevMode ? [{ debugName: \"file\" }] : []));\n /**\n * The name of the file.\n */\n this.fileName = input(\"\", ...(ngDevMode ? [{ debugName: \"fileName\" }] : []));\n /**\n * If set to `true` the file name will be clickable and it will fire `file-name-click` event upon click.\n */\n this.fileNameClickable = input(false, ...(ngDevMode ? [{ debugName: \"fileNameClickable\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Disables the delete button.\n */\n this.disableDeleteButton = input(false, ...(ngDevMode ? [{ debugName: \"disableDeleteButton\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Hides the delete button.\n */\n this.hideDeleteButton = input(false, ...(ngDevMode ? [{ debugName: \"hideDeleteButton\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Hides the retry button when `uploadState` property is `Error`.\n */\n this.hideRetryButton = input(false, ...(ngDevMode ? [{ debugName: \"hideRetryButton\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * Hides the terminate button when `uploadState` property is `Uploading`.\n */\n this.hideTerminateButton = input(false, ...(ngDevMode ? [{ debugName: \"hideTerminateButton\", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));\n /**\n * The upload progress in percentage.\n \n **Note:** Expected values are in the interval [0, 100].\n */\n this.progress = input(0, ...(ngDevMode ? [{ debugName: \"progress\" }] : []));\n /**\n * Upload state.\n \n Depending on this property, the item displays the following:\n \n - `Ready` - progress indicator is displayed.\n - `Uploading` - progress indicator and terminate button are displayed. When the terminate button is pressed, `terminate` event is fired.\n - `Error` - progress indicator and retry button are displayed. When the retry button is pressed, `retry` event is fired.\n - `Complete` - progress indicator is not displayed.\n */\n this.uploadState = input(\"Ready\", ...(ngDevMode ? [{ debugName: \"uploadState\" }] : [])); // className is now passed\n /**\n * Fired when the file name is clicked.\n \n **Note:** This event is only available when `fileNameClickable` property is `true`.\n */\n this.ui5FileNameClick = output();\n /**\n * Fired when the `fileName` property gets changed.\n \n **Note:** An edit button is displayed on each item,\n when the `ui5-upload-collection-item` `type` property is set to `Detail`.\n */\n this.ui5Rename = output();\n /**\n * Fired when the terminate button is pressed.\n \n **Note:** Terminate button is displayed when `uploadState` property is set to `Uploading`.\n */\n this.ui5Terminate = output();\n /**\n * Fired when the retry button is pressed.\n \n **Note:** Retry button is displayed when `uploadState` property is set to `Error`.\n */\n this.ui5Retry = output();\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Hold the description of the `ui5-upload-collection-item`. Will be shown below the file name.\n * - **thumbnail**: A thumbnail, which will be shown in the beginning of the `ui5-upload-collection-item`.\n \n **Note:** Use `ui5-icon` or `img` for the intended design.\n *\n * @example\n * ```html\n * <ui5-upload-collection-item>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-upload-collection-item>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n this.slots = [\n {\n \"name\": \"default\",\n \"description\": \"Hold the description of the `ui5-upload-collection-item`. Will be shown below the file name.\"\n },\n {\n \"name\": \"thumbnail\",\n \"description\": \"A thumbnail, which will be shown in the beginning of the `ui5-upload-collection-item`.\\n\\n**Note:** Use `ui5-icon` or `img` for the intended design.\"\n }\n ];\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 'file',\n 'fileName',\n 'fileNameClickable',\n 'disableDeleteButton',\n 'hideDeleteButton',\n 'hideRetryButton',\n 'hideTerminateButton',\n 'progress',\n 'uploadState',\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 'ui5FileNameClick',\n 'ui5Rename',\n 'ui5Terminate',\n 'ui5Retry',\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: UploadCollectionItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }\n 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 }); }\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.4\", ngImport: i0, type: UploadCollectionItem, decorators: [{\n type: Component,\n args: [{\n standalone: true,\n selector: 'ui5-upload-collection-item, [ui5-upload-collection-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5UploadCollectionItem',\n changeDetection: ChangeDetectionStrategy.OnPush,\n }]\n }] });\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3VwbG9hZC1jb2xsZWN0aW9uLWl0ZW0vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsVUFBVSxFQUNWLEtBQUssRUFDTCxNQUFNLEVBRU4sTUFBTSxFQUNOLHFCQUFxQixFQUNyQixNQUFNLEVBQ04sUUFBUSxFQUNSLGdCQUFnQ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XBvbmVudCBldmVudCBuYW1lXG4gICAgICBjb25zdCBldmVudE5hbWUgPSBvdXRwdXROYW1lLnJlcGxhY2UoJ3VpNScsICcnKS5yZXBsYWNlKC8oW0EtWl0pL2csICctJDEnKS50b0xvd2VyQ2FzZSgpLnN1YnN0cmluZygxKTtcbiAgICAgIC8vIEVuc3VyZSB0aGUgb3V0cHV0IHByb3BlcnR5IGV4aXN0cyBhbmQgaGFzIGFuIGVtaXQgZnVuY3Rpb24gYmVmb3JlIGFkZGluZyBsaXN0ZW5lclxuICAgICAgaWYgKHRoaXNbb3V0cHV0TmFtZV0gJiYgdHlwZW9mIHRoaXNbb3V0cHV0TmFtZV0uZW1pdCA9PT0gJ2Z1bmN0aW9uJyAmJiB3Y0VsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcikge1xuICAgICAgICAvLyBDYXN0IHRoZSBsaXN0ZW5lciB0byB0aGUgY29ycmVjdCB0eXBlIHRvIHNhdGlzZnkgVHlwZVNjcmlwdFxuICAgICAgICB3Y0VsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihldmVudE5hbWUsIChlKSA9PiB7XG5cbiAgICAgICAgICB0aGlzW291dHB1dE5hbWVdLmVtaXQoZSBhcyBDdXN0b21FdmVudDxhbnk+KTtcbiAgICAgICAgfSk7XG4gICAgICB9XG4gICAgfVxuICBcblxuICB9XG59XG5cbiJdfQ==","/**\n * Generated bundle index. Do not edit.\n */\nexport * from './index';\n//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZnVuZGFtZW50YWwtbmd4LXVpNS13ZWJjb21wb25lbnRzLWZpb3JpLXVwbG9hZC1jb2xsZWN0aW9uLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL3VpNS13ZWJjb21wb25lbnRzLWZpb3JpL3VwbG9hZC1jb2xsZWN0aW9uLWl0ZW0vZnVuZGFtZW50YWwtbmd4LXVpN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
- 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/UploadCollection.js';
4
-
5
- class UploadCollection {
6
- constructor() {
7
- /**
8
- * Defines the selection mode of the `ui5-upload-collection`.
9
- */
10
- this.selectionMode = input("None", ...(ngDevMode ? [{ debugName: "selectionMode" }] : []));
11
- /**
12
- * Allows you to set your own text for the 'No data' description.
13
- */
14
- this.noDataDescription = input(...(ngDevMode ? [undefined, { debugName: "noDataDescription" }] : []));
15
- /**
16
- * Allows you to set your own text for the 'No data' text.
17
- */
18
- this.noDataText = input(...(ngDevMode ? [undefined, { debugName: "noDataText" }] : []));
19
- /**
20
- * Defines the header level of the 'No data' text.
21
- */
22
- this.noDataHeaderLevel = input("H2", ...(ngDevMode ? [{ debugName: "noDataHeaderLevel" }] : []));
23
- /**
24
- * By default there will be drag and drop overlay shown over the `ui5-upload-collection` when files
25
- are dragged. If you don't intend to use drag and drop, set this property.
26
-
27
- **Note:** It is up to the application developer to add handler for `drop` event and handle it.
28
- `ui5-upload-collection` only displays an overlay.
29
- */
30
- this.hideDragOverlay = input(false, ...(ngDevMode ? [{ debugName: "hideDragOverlay", transform: booleanAttribute }] : [{ transform: booleanAttribute }]));
31
- /**
32
- * Defines the accessible ARIA name of the component.
33
- */
34
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : [])); // className is now passed
35
- /**
36
- * Fired when an element is dropped inside the drag and drop overlay.
37
-
38
- **Note:** The `drop` event is fired only when elements are dropped within the drag and drop overlay and ignored for the other parts of the `ui5-upload-collection`.
39
- */
40
- this.ui5ItemDelete = output();
41
- /**
42
- * Fired when selection is changed by user interaction
43
- in `Single` and `Multiple` modes.
44
- */
45
- this.ui5SelectionChange = output();
46
- /**
47
- * Available slots for content projection in this component.
48
- *
49
- * Slots allow you to insert custom content into predefined areas of the web component.
50
- * Use the `slot` attribute on child elements to target specific slots.
51
- *
52
- * - **(default)**: Defines the items of the `ui5-upload-collection`.
53
-
54
- **Note:** Use `ui5-upload-collection-item` for the intended design.
55
- * - **header**: Defines the `ui5-upload-collection` header.
56
-
57
- **Note:** If `header` slot is provided,
58
- the labelling of the `UploadCollection` is a responsibility of the application developer.
59
- `accessibleName` should be used.
60
- *
61
- * @example
62
- * ```html
63
- * <ui5-upload-collection>
64
- * <div slot="header">Custom header content</div>
65
- * <p>Default slot content</p>
66
- * </ui5-upload-collection>
67
- * ```
68
- *
69
- * @readonly
70
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
71
- */
72
- this.slots = [
73
- {
74
- "name": "default",
75
- "description": "Defines the items of the `ui5-upload-collection`.\n\n**Note:** Use `ui5-upload-collection-item` for the intended design."
76
- },
77
- {
78
- "name": "header",
79
- "description": "Defines the `ui5-upload-collection` header.\n\n**Note:** If `header` slot is provided,\nthe labelling of the `UploadCollection` is a responsibility of the application developer.\n`accessibleName` should be used."
80
- }
81
- ];
82
- this.elementRef = inject(ElementRef);
83
- this.injector = inject(Injector);
84
- }
85
- get element() {
86
- return this.elementRef.nativeElement;
87
- }
88
- ngAfterViewInit() {
89
- const wcElement = this.element;
90
- const inputsToSync = [
91
- 'selectionMode',
92
- 'noDataDescription',
93
- 'noDataText',
94
- 'noDataHeaderLevel',
95
- 'hideDragOverlay',
96
- 'accessibleName',
97
- ];
98
- // Synchronize inputs (properties)
99
- for (const inputName of inputsToSync) {
100
- // Find the corresponding camelCase signal property on the Angular component
101
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
102
- // Use the Injector to run the effect in the correct context
103
- if (this[signalName] && typeof this[signalName] === 'function') {
104
- runInInjectionContext(this.injector, () => {
105
- effect(() => {
106
- // Read the signal value
107
- const value = this[signalName]();
108
- if (wcElement) {
109
- // Write the value to the Web Component's property
110
- wcElement[inputName] = value;
111
- }
112
- });
113
- });
114
- }
115
- }
116
- const outputsToSync = [
117
- 'ui5ItemDelete',
118
- 'ui5SelectionChange',
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: UploadCollection, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
134
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.1.4", type: UploadCollection, isStandalone: true, selector: "ui5-upload-collection, [ui5-upload-collection]", inputs: { selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, noDataDescription: { classPropertyName: "noDataDescription", publicName: "noDataDescription", isSignal: true, isRequired: false, transformFunction: null }, noDataText: { classPropertyName: "noDataText", publicName: "noDataText", isSignal: true, isRequired: false, transformFunction: null }, noDataHeaderLevel: { classPropertyName: "noDataHeaderLevel", publicName: "noDataHeaderLevel", isSignal: true, isRequired: false, transformFunction: null }, hideDragOverlay: { classPropertyName: "hideDragOverlay", publicName: "hideDragOverlay", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5ItemDelete: "ui5ItemDelete", ui5SelectionChange: "ui5SelectionChange" }, exportAs: ["ui5UploadCollection"], 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: UploadCollection, decorators: [{
137
- type: Component,
138
- args: [{
139
- standalone: true,
140
- selector: 'ui5-upload-collection, [ui5-upload-collection]',
141
- template: '<ng-content></ng-content>',
142
- exportAs: 'ui5UploadCollection',
143
- changeDetection: ChangeDetectionStrategy.OnPush,
144
- }]
145
- }] });
146
-
147
- /**
148
- * Generated bundle index. Do not edit.
149
- */
150
-
151
- export { UploadCollection };
152
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-fiori-upload-collection.mjs.map