@fundamental-ngx/ui5-webcomponents 0.60.1 → 0.60.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/package.json +2 -430
  2. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs +0 -76
  3. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs.map +0 -1
  4. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs +0 -161
  5. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs.map +0 -1
  6. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs +0 -206
  7. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs.map +0 -1
  8. package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs +0 -116
  9. package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs.map +0 -1
  10. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs +0 -109
  11. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs.map +0 -1
  12. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs +0 -117
  13. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs.map +0 -1
  14. package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs +0 -105
  15. package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs.map +0 -1
  16. package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs +0 -72
  17. package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs.map +0 -1
  18. package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs +0 -219
  19. package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs.map +0 -1
  20. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs +0 -67
  21. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs.map +0 -1
  22. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs +0 -61
  23. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs.map +0 -1
  24. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs +0 -65
  25. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs.map +0 -1
  26. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs +0 -100
  27. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs.map +0 -1
  28. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs +0 -189
  29. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs.map +0 -1
  30. package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs +0 -127
  31. package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs.map +0 -1
  32. package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs +0 -110
  33. package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs.map +0 -1
  34. package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs +0 -184
  35. package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs.map +0 -1
  36. package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs +0 -197
  37. package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs.map +0 -1
  38. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs +0 -70
  39. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs.map +0 -1
  40. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs +0 -143
  41. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs.map +0 -1
  42. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs +0 -80
  43. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs.map +0 -1
  44. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs +0 -93
  45. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs.map +0 -1
  46. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs +0 -140
  47. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs.map +0 -1
  48. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs +0 -65
  49. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs.map +0 -1
  50. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs +0 -239
  51. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs.map +0 -1
  52. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs +0 -285
  53. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs.map +0 -1
  54. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs +0 -311
  55. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs.map +0 -1
  56. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs +0 -285
  57. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs.map +0 -1
  58. package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs +0 -226
  59. package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs.map +0 -1
  60. package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs +0 -85
  61. package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs.map +0 -1
  62. package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs +0 -75
  63. package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs.map +0 -1
  64. package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs +0 -250
  65. package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs.map +0 -1
  66. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs +0 -107
  67. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs.map +0 -1
  68. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs +0 -96
  69. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs.map +0 -1
  70. package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs +0 -169
  71. package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs.map +0 -1
  72. package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs +0 -127
  73. package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs.map +0 -1
  74. package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs +0 -284
  75. package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs.map +0 -1
  76. package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs +0 -112
  77. package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs.map +0 -1
  78. package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs +0 -219
  79. package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs.map +0 -1
  80. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs +0 -163
  81. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs.map +0 -1
  82. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs +0 -140
  83. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs.map +0 -1
  84. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs +0 -230
  85. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs.map +0 -1
  86. package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs +0 -282
  87. package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs.map +0 -1
  88. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs +0 -86
  89. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs.map +0 -1
  90. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs +0 -263
  91. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs.map +0 -1
  92. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs +0 -36
  93. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs.map +0 -1
  94. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs +0 -162
  95. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs.map +0 -1
  96. package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs +0 -137
  97. package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs.map +0 -1
  98. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs +0 -140
  99. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs.map +0 -1
  100. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs +0 -70
  101. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs.map +0 -1
  102. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs +0 -258
  103. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs.map +0 -1
  104. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs +0 -308
  105. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs.map +0 -1
  106. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs +0 -102
  107. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs.map +0 -1
  108. package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs +0 -112
  109. package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs.map +0 -1
  110. package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs +0 -156
  111. package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs.map +0 -1
  112. package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs +0 -226
  113. package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs.map +0 -1
  114. package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs +0 -88
  115. package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs.map +0 -1
  116. package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs +0 -175
  117. package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs.map +0 -1
  118. package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs +0 -175
  119. package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs.map +0 -1
  120. package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs +0 -130
  121. package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs.map +0 -1
  122. package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs +0 -226
  123. package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs.map +0 -1
  124. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs +0 -130
  125. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs.map +0 -1
  126. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs +0 -164
  127. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs.map +0 -1
  128. package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs +0 -279
  129. package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs.map +0 -1
  130. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs +0 -170
  131. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs.map +0 -1
  132. package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs +0 -66
  133. package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs.map +0 -1
  134. package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs +0 -159
  135. package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs.map +0 -1
  136. package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs +0 -187
  137. package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs.map +0 -1
  138. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs +0 -86
  139. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs.map +0 -1
  140. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs +0 -140
  141. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs.map +0 -1
  142. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs +0 -65
  143. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs.map +0 -1
  144. package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs +0 -173
  145. package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs.map +0 -1
  146. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs +0 -179
  147. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs.map +0 -1
  148. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs +0 -36
  149. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs.map +0 -1
  150. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs +0 -134
  151. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs.map +0 -1
  152. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs +0 -85
  153. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs.map +0 -1
  154. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs +0 -101
  155. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs.map +0 -1
  156. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs +0 -55
  157. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs.map +0 -1
  158. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs +0 -145
  159. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs.map +0 -1
  160. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs +0 -89
  161. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs.map +0 -1
  162. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs +0 -86
  163. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs.map +0 -1
  164. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs +0 -98
  165. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs.map +0 -1
  166. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs +0 -117
  167. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs.map +0 -1
  168. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs +0 -89
  169. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs.map +0 -1
  170. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs +0 -84
  171. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs.map +0 -1
  172. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs +0 -84
  173. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs.map +0 -1
  174. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs +0 -95
  175. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs.map +0 -1
  176. package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs +0 -197
  177. package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs.map +0 -1
  178. package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs +0 -143
  179. package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs.map +0 -1
  180. package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs +0 -247
  181. package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs.map +0 -1
  182. package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs +0 -90
  183. package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs.map +0 -1
  184. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs +0 -23
  185. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs.map +0 -1
  186. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs +0 -226
  187. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs.map +0 -1
  188. package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs +0 -104
  189. package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs.map +0 -1
  190. package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs +0 -120
  191. package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs.map +0 -1
  192. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs +0 -224
  193. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs.map +0 -1
  194. package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs +0 -92
  195. package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs.map +0 -1
  196. package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs +0 -152
  197. package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs.map +0 -1
  198. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs +0 -178
  199. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs.map +0 -1
  200. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs +0 -87
  201. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs.map +0 -1
  202. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs +0 -167
  203. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs.map +0 -1
  204. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs +0 -67
  205. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs.map +0 -1
  206. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs +0 -74
  207. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs.map +0 -1
  208. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs +0 -102
  209. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs.map +0 -1
  210. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs +0 -224
  211. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs.map +0 -1
  212. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs +0 -224
  213. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs.map +0 -1
  214. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs +0 -199
  215. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs.map +0 -1
  216. package/types/fundamental-ngx-ui5-webcomponents-avatar-badge.d.ts +0 -33
  217. package/types/fundamental-ngx-ui5-webcomponents-avatar-group.d.ts +0 -97
  218. package/types/fundamental-ngx-ui5-webcomponents-avatar.d.ts +0 -135
  219. package/types/fundamental-ngx-ui5-webcomponents-bar.d.ts +0 -61
  220. package/types/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.d.ts +0 -63
  221. package/types/fundamental-ngx-ui5-webcomponents-breadcrumbs.d.ts +0 -58
  222. package/types/fundamental-ngx-ui5-webcomponents-busy-indicator.d.ts +0 -57
  223. package/types/fundamental-ngx-ui5-webcomponents-button-badge.d.ts +0 -29
  224. package/types/fundamental-ngx-ui5-webcomponents-button.d.ts +0 -149
  225. package/types/fundamental-ngx-ui5-webcomponents-calendar-date-range.d.ts +0 -24
  226. package/types/fundamental-ngx-ui5-webcomponents-calendar-date.d.ts +0 -19
  227. package/types/fundamental-ngx-ui5-webcomponents-calendar-legend-item.d.ts +0 -22
  228. package/types/fundamental-ngx-ui5-webcomponents-calendar-legend.d.ts +0 -53
  229. package/types/fundamental-ngx-ui5-webcomponents-calendar.d.ts +0 -112
  230. package/types/fundamental-ngx-ui5-webcomponents-card-header.d.ts +0 -62
  231. package/types/fundamental-ngx-ui5-webcomponents-card.d.ts +0 -63
  232. package/types/fundamental-ngx-ui5-webcomponents-carousel.d.ts +0 -114
  233. package/types/fundamental-ngx-ui5-webcomponents-check-box.d.ts +0 -108
  234. package/types/fundamental-ngx-ui5-webcomponents-color-palette-item.d.ts +0 -27
  235. package/types/fundamental-ngx-ui5-webcomponents-color-palette-popover.d.ts +0 -78
  236. package/types/fundamental-ngx-ui5-webcomponents-color-palette.d.ts +0 -42
  237. package/types/fundamental-ngx-ui5-webcomponents-color-picker.d.ts +0 -35
  238. package/types/fundamental-ngx-ui5-webcomponents-combo-box-item-group.d.ts +0 -75
  239. package/types/fundamental-ngx-ui5-webcomponents-combo-box-item.d.ts +0 -22
  240. package/types/fundamental-ngx-ui5-webcomponents-combo-box.d.ts +0 -138
  241. package/types/fundamental-ngx-ui5-webcomponents-date-picker.d.ts +0 -178
  242. package/types/fundamental-ngx-ui5-webcomponents-date-range-picker.d.ts +0 -197
  243. package/types/fundamental-ngx-ui5-webcomponents-date-time-picker.d.ts +0 -178
  244. package/types/fundamental-ngx-ui5-webcomponents-dialog.d.ts +0 -144
  245. package/types/fundamental-ngx-ui5-webcomponents-dynamic-date-range.d.ts +0 -29
  246. package/types/fundamental-ngx-ui5-webcomponents-expandable-text.d.ts +0 -30
  247. package/types/fundamental-ngx-ui5-webcomponents-file-uploader.d.ts +0 -136
  248. package/types/fundamental-ngx-ui5-webcomponents-form-group.d.ts +0 -59
  249. package/types/fundamental-ngx-ui5-webcomponents-form-item.d.ts +0 -48
  250. package/types/fundamental-ngx-ui5-webcomponents-form.d.ts +0 -113
  251. package/types/fundamental-ngx-ui5-webcomponents-icon.d.ts +0 -67
  252. package/types/fundamental-ngx-ui5-webcomponents-input.d.ts +0 -179
  253. package/types/fundamental-ngx-ui5-webcomponents-label.d.ts +0 -65
  254. package/types/fundamental-ngx-ui5-webcomponents-link.d.ts +0 -149
  255. package/types/fundamental-ngx-ui5-webcomponents-list-item-custom.d.ts +0 -99
  256. package/types/fundamental-ngx-ui5-webcomponents-list-item-group.d.ts +0 -75
  257. package/types/fundamental-ngx-ui5-webcomponents-list-item-standard.d.ts +0 -154
  258. package/types/fundamental-ngx-ui5-webcomponents-list.d.ts +0 -197
  259. package/types/fundamental-ngx-ui5-webcomponents-menu-item-group.d.ts +0 -42
  260. package/types/fundamental-ngx-ui5-webcomponents-menu-item.d.ts +0 -183
  261. package/types/fundamental-ngx-ui5-webcomponents-menu-separator.d.ts +0 -14
  262. package/types/fundamental-ngx-ui5-webcomponents-menu.d.ts +0 -94
  263. package/types/fundamental-ngx-ui5-webcomponents-message-strip.d.ts +0 -72
  264. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.d.ts +0 -75
  265. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.d.ts +0 -26
  266. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box.d.ts +0 -154
  267. package/types/fundamental-ngx-ui5-webcomponents-multi-input.d.ts +0 -196
  268. package/types/fundamental-ngx-ui5-webcomponents-option-custom.d.ts +0 -55
  269. package/types/fundamental-ngx-ui5-webcomponents-option.d.ts +0 -64
  270. package/types/fundamental-ngx-ui5-webcomponents-panel.d.ts +0 -87
  271. package/types/fundamental-ngx-ui5-webcomponents-popover.d.ts +0 -140
  272. package/types/fundamental-ngx-ui5-webcomponents-progress-indicator.d.ts +0 -42
  273. package/types/fundamental-ngx-ui5-webcomponents-radio-button.d.ts +0 -88
  274. package/types/fundamental-ngx-ui5-webcomponents-range-slider.d.ts +0 -86
  275. package/types/fundamental-ngx-ui5-webcomponents-rating-indicator.d.ts +0 -66
  276. package/types/fundamental-ngx-ui5-webcomponents-responsive-popover.d.ts +0 -140
  277. package/types/fundamental-ngx-ui5-webcomponents-segmented-button-item.d.ts +0 -79
  278. package/types/fundamental-ngx-ui5-webcomponents-segmented-button.d.ts +0 -81
  279. package/types/fundamental-ngx-ui5-webcomponents-select.d.ts +0 -155
  280. package/types/fundamental-ngx-ui5-webcomponents-slider.d.ts +0 -82
  281. package/types/fundamental-ngx-ui5-webcomponents-special-calendar-date.d.ts +0 -23
  282. package/types/fundamental-ngx-ui5-webcomponents-split-button.d.ts +0 -96
  283. package/types/fundamental-ngx-ui5-webcomponents-step-input.d.ts +0 -115
  284. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.d.ts +0 -42
  285. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item-group.d.ts +0 -75
  286. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item.d.ts +0 -22
  287. package/types/fundamental-ngx-ui5-webcomponents-switch.d.ts +0 -86
  288. package/types/fundamental-ngx-ui5-webcomponents-tab-container.d.ts +0 -108
  289. package/types/fundamental-ngx-ui5-webcomponents-tab-separator.d.ts +0 -14
  290. package/types/fundamental-ngx-ui5-webcomponents-tab.d.ts +0 -80
  291. package/types/fundamental-ngx-ui5-webcomponents-table-cell.d.ts +0 -41
  292. package/types/fundamental-ngx-ui5-webcomponents-table-growing.d.ts +0 -43
  293. package/types/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.d.ts +0 -19
  294. package/types/fundamental-ngx-ui5-webcomponents-table-header-cell.d.ts +0 -95
  295. package/types/fundamental-ngx-ui5-webcomponents-table-header-row.d.ts +0 -45
  296. package/types/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.d.ts +0 -29
  297. package/types/fundamental-ngx-ui5-webcomponents-table-row-action.d.ts +0 -40
  298. package/types/fundamental-ngx-ui5-webcomponents-table-row.d.ts +0 -69
  299. package/types/fundamental-ngx-ui5-webcomponents-table-selection-multi.d.ts +0 -31
  300. package/types/fundamental-ngx-ui5-webcomponents-table-selection-single.d.ts +0 -27
  301. package/types/fundamental-ngx-ui5-webcomponents-table-selection.d.ts +0 -27
  302. package/types/fundamental-ngx-ui5-webcomponents-table-virtualizer.d.ts +0 -37
  303. package/types/fundamental-ngx-ui5-webcomponents-table.d.ts +0 -117
  304. package/types/fundamental-ngx-ui5-webcomponents-tag.d.ts +0 -76
  305. package/types/fundamental-ngx-ui5-webcomponents-text-area.d.ts +0 -150
  306. package/types/fundamental-ngx-ui5-webcomponents-text.d.ts +0 -45
  307. package/types/fundamental-ngx-ui5-webcomponents-theming.d.ts +0 -11
  308. package/types/fundamental-ngx-ui5-webcomponents-time-picker.d.ts +0 -130
  309. package/types/fundamental-ngx-ui5-webcomponents-title.d.ts +0 -58
  310. package/types/fundamental-ngx-ui5-webcomponents-toast.d.ts +0 -60
  311. package/types/fundamental-ngx-ui5-webcomponents-toggle-button.d.ts +0 -153
  312. package/types/fundamental-ngx-ui5-webcomponents-token.d.ts +0 -47
  313. package/types/fundamental-ngx-ui5-webcomponents-tokenizer.d.ts +0 -87
  314. package/types/fundamental-ngx-ui5-webcomponents-toolbar-button.d.ts +0 -112
  315. package/types/fundamental-ngx-ui5-webcomponents-toolbar-select-option.d.ts +0 -43
  316. package/types/fundamental-ngx-ui5-webcomponents-toolbar-select.d.ts +0 -100
  317. package/types/fundamental-ngx-ui5-webcomponents-toolbar-separator.d.ts +0 -24
  318. package/types/fundamental-ngx-ui5-webcomponents-toolbar-spacer.d.ts +0 -30
  319. package/types/fundamental-ngx-ui5-webcomponents-toolbar.d.ts +0 -55
  320. package/types/fundamental-ngx-ui5-webcomponents-tree-item-custom.d.ts +0 -145
  321. package/types/fundamental-ngx-ui5-webcomponents-tree-item.d.ts +0 -148
  322. package/types/fundamental-ngx-ui5-webcomponents-tree.d.ts +0 -123
@@ -1,85 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/DynamicDateRange.js';
4
-
5
- class DynamicDateRange {
6
- constructor() {
7
- /**
8
- * Defines the value object.
9
- */
10
- this.value = input(...(ngDevMode ? [undefined, { debugName: "value" }] : []));
11
- /**
12
- * Defines the options listed as a string, separated by commas and using capital case.
13
- Example: "TODAY, YESTERDAY, DATERANGE"
14
- */
15
- this.options = input("", ...(ngDevMode ? [{ debugName: "options" }] : [])); // className is now passed
16
- /**
17
- * Fired when the input operation has finished by pressing Enter or on focusout or a value is selected in the popover.
18
- */
19
- this.ui5Change = output();
20
- this.elementRef = inject(ElementRef);
21
- this.injector = inject(Injector);
22
- }
23
- get element() {
24
- return this.elementRef.nativeElement;
25
- }
26
- ngAfterViewInit() {
27
- const wcElement = this.element;
28
- const inputsToSync = [
29
- 'value',
30
- 'options',
31
- ];
32
- // Synchronize inputs (properties)
33
- for (const inputName of inputsToSync) {
34
- // Find the corresponding camelCase signal property on the Angular component
35
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
36
- // Use the Injector to run the effect in the correct context
37
- if (this[signalName] && typeof this[signalName] === 'function') {
38
- runInInjectionContext(this.injector, () => {
39
- effect(() => {
40
- // Read the signal value
41
- const value = this[signalName]();
42
- if (wcElement) {
43
- // Write the value to the Web Component's property
44
- wcElement[inputName] = value;
45
- }
46
- });
47
- });
48
- }
49
- }
50
- const outputsToSync = [
51
- 'ui5Change',
52
- ];
53
- // Synchronize outputs (events)
54
- for (const outputName of outputsToSync) {
55
- // Map Angular output name to UI5 web component event name
56
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
57
- // Ensure the output property exists and has an emit function before adding listener
58
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
59
- // Cast the listener to the correct type to satisfy TypeScript
60
- wcElement.addEventListener(eventName, (e) => {
61
- this[outputName].emit(e);
62
- });
63
- }
64
- }
65
- }
66
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicDateRange, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
67
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: DynamicDateRange, isStandalone: true, selector: "ui5-dynamic-date-range, [ui5-dynamic-date-range]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change" }, exportAs: ["ui5DynamicDateRange"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
68
- }
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DynamicDateRange, decorators: [{
70
- type: Component,
71
- args: [{
72
- standalone: true,
73
- selector: 'ui5-dynamic-date-range, [ui5-dynamic-date-range]',
74
- template: '<ng-content></ng-content>',
75
- exportAs: 'ui5DynamicDateRange',
76
- changeDetection: ChangeDetectionStrategy.OnPush,
77
- }]
78
- }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], options: [{ type: i0.Input, args: [{ isSignal: true, alias: "options", required: false }] }], ui5Change: [{ type: i0.Output, args: ["ui5Change"] }] } });
79
-
80
- /**
81
- * Generated bundle index. Do not edit.
82
- */
83
-
84
- export { DynamicDateRange };
85
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs","sources":["../../../../libs/ui5-webcomponents/dynamic-date-range/index.ts","../../../../libs/ui5-webcomponents/dynamic-date-range/fundamental-ngx-ui5-webcomponents-dynamic-date-range.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/DynamicDateRange.js';\nimport { default as _DynamicDateRange } from '@ui5/webcomponents/dist/DynamicDateRange.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\n\nimport { DynamicDateRangeValue } from '@ui5/webcomponents/dist/DynamicDateRange.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-dynamic-date-range, [ui5-dynamic-date-range]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5DynamicDateRange',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class DynamicDateRange implements AfterViewInit {\n\n /**\n * Defines the value object.\n */\n value = input<typeof _DynamicDateRange.prototype.value | undefined>();\n\n /**\n * Defines the options listed as a string, separated by commas and using capital case.\nExample: \"TODAY, YESTERDAY, DATERANGE\"\n */\n options = input<typeof _DynamicDateRange.prototype.options | undefined>(\"\"); // className is now passed\n\n\n\n /**\n * Fired when the input operation has finished by pressing Enter or on focusout or a value is selected in the popover.\n */\n ui5Change = output<UI5CustomEvent<_DynamicDateRange, 'change'>>();\n\n\n public elementRef: ElementRef<_DynamicDateRange> = inject(ElementRef);\n public injector = inject(Injector);\n\n get element(): _DynamicDateRange {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'value',\n 'options',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5Change',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n }\n}\n\n// Re-export types for convenience\nexport { DynamicDateRangeValue } from '@ui5/webcomponents/dist/DynamicDateRange.js';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MA6Ba,gBAAgB,CAAA;AAP7B,IAAA,WAAA,GAAA;AASE;;AAEG;QACH,IAAA,CAAA,KAAK,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,OAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAwD;AAErE;;;AAGG;AACH,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAyD,EAAE,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAC,CAAC;AAI5E;;AAEG;QACH,IAAA,CAAA,SAAS,GAAG,MAAM,EAA+C;AAG1D,QAAA,IAAA,CAAA,UAAU,GAAkC,MAAM,CAAC,UAAU,CAAC;AAC9D,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAuDnC,IAAA;AArDC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa;IACtC;IAEA,eAAe,GAAA;AACb,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO;AAE9B,QAAA,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,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAhB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,gBAAgB,sbAJjB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAI1B,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAP5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,kDAAkD;AAC5D,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,qBAAqB;oBAC/B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;AC5BD;;AAEG;;;;"}
@@ -1,75 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/ExpandableText.js';
4
-
5
- class ExpandableText {
6
- constructor() {
7
- /**
8
- * Text of the component.
9
- */
10
- this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
11
- /**
12
- * Maximum number of characters to be displayed initially. If the text length exceeds this limit, the text will be truncated with an ellipsis, and the "More" link will be displayed.
13
- */
14
- this.maxCharacters = input(100, ...(ngDevMode ? [{ debugName: "maxCharacters" }] : []));
15
- /**
16
- * Determines how the full text will be displayed.
17
- */
18
- this.overflowMode = input("InPlace", ...(ngDevMode ? [{ debugName: "overflowMode" }] : []));
19
- /**
20
- * Specifies if an empty indicator should be displayed when there is no text.
21
- */
22
- this.emptyIndicatorMode = input("Off", ...(ngDevMode ? [{ debugName: "emptyIndicatorMode" }] : [])); // className is now passed
23
- this.elementRef = inject(ElementRef);
24
- this.injector = inject(Injector);
25
- }
26
- get element() {
27
- return this.elementRef.nativeElement;
28
- }
29
- ngAfterViewInit() {
30
- const wcElement = this.element;
31
- const inputsToSync = [
32
- 'text',
33
- 'maxCharacters',
34
- 'overflowMode',
35
- 'emptyIndicatorMode',
36
- ];
37
- // Synchronize inputs (properties)
38
- for (const inputName of inputsToSync) {
39
- // Find the corresponding camelCase signal property on the Angular component
40
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
41
- // Use the Injector to run the effect in the correct context
42
- if (this[signalName] && typeof this[signalName] === 'function') {
43
- runInInjectionContext(this.injector, () => {
44
- effect(() => {
45
- // Read the signal value
46
- const value = this[signalName]();
47
- if (wcElement) {
48
- // Write the value to the Web Component's property
49
- wcElement[inputName] = value;
50
- }
51
- });
52
- });
53
- }
54
- }
55
- }
56
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ExpandableText, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
57
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: ExpandableText, isStandalone: true, selector: "ui5-expandable-text, [ui5-expandable-text]", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, maxCharacters: { classPropertyName: "maxCharacters", publicName: "maxCharacters", isSignal: true, isRequired: false, transformFunction: null }, overflowMode: { classPropertyName: "overflowMode", publicName: "overflowMode", isSignal: true, isRequired: false, transformFunction: null }, emptyIndicatorMode: { classPropertyName: "emptyIndicatorMode", publicName: "emptyIndicatorMode", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ui5ExpandableText"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
58
- }
59
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ExpandableText, decorators: [{
60
- type: Component,
61
- args: [{
62
- standalone: true,
63
- selector: 'ui5-expandable-text, [ui5-expandable-text]',
64
- template: '<ng-content></ng-content>',
65
- exportAs: 'ui5ExpandableText',
66
- changeDetection: ChangeDetectionStrategy.OnPush,
67
- }]
68
- }], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], maxCharacters: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxCharacters", required: false }] }], overflowMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "overflowMode", required: false }] }], emptyIndicatorMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyIndicatorMode", required: false }] }] } });
69
-
70
- /**
71
- * Generated bundle index. Do not edit.
72
- */
73
-
74
- export { ExpandableText };
75
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-expandable-text.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-expandable-text.mjs","sources":["../../../../libs/ui5-webcomponents/expandable-text/index.ts","../../../../libs/ui5-webcomponents/expandable-text/fundamental-ngx-ui5-webcomponents-expandable-text.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/ExpandableText.js';\nimport { default as _ExpandableText } from '@ui5/webcomponents/dist/ExpandableText.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\n\nimport { default as ExpandableTextOverflowMode } from '@ui5/webcomponents/dist/types/ExpandableTextOverflowMode.js';\nimport { default as TextEmptyIndicatorMode } from '@ui5/webcomponents/dist/types/TextEmptyIndicatorMode.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-expandable-text, [ui5-expandable-text]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5ExpandableText',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ExpandableText implements AfterViewInit {\n\n /**\n * Text of the component.\n */\n text = input<typeof _ExpandableText.prototype.text | undefined>();\n\n /**\n * Maximum number of characters to be displayed initially. If the text length exceeds this limit, the text will be truncated with an ellipsis, and the \"More\" link will be displayed.\n */\n maxCharacters = input<typeof _ExpandableText.prototype.maxCharacters | undefined>(100);\n\n /**\n * Determines how the full text will be displayed.\n */\n overflowMode = input<typeof _ExpandableText.prototype.overflowMode | undefined>(\"InPlace\");\n\n /**\n * Specifies if an empty indicator should be displayed when there is no text.\n */\n emptyIndicatorMode = input<typeof _ExpandableText.prototype.emptyIndicatorMode | undefined>(\"Off\"); // className is now passed\n\n\n\n\n\n public elementRef: ElementRef<_ExpandableText> = inject(ElementRef);\n public injector = inject(Injector);\n\n get element(): _ExpandableText {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'text',\n 'maxCharacters',\n 'overflowMode',\n 'emptyIndicatorMode',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MA8Ba,cAAc,CAAA;AAP3B,IAAA,WAAA,GAAA;AASE;;AAEG;QACH,IAAA,CAAA,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAqD;AAEjE;;AAEG;AACH,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAA6D,GAAG,yD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AAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAd,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,cAAc,osBAJf,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAI1B,cAAc,EAAA,UAAA,EAAA,CAAA;kBAP1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,4CAA4C;AACtD,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,mBAAmB;oBAC7B,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;AC7BD;;AAEG;;;;"}
@@ -1,250 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, computed, output, inject, ElementRef, Injector, signal, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/FileUploader.js';
4
- import * as i1 from '@fundamental-ngx/ui5-webcomponents/utils';
5
- import { CVA_CONFIG, GenericControlValueAccessor } from '@fundamental-ngx/ui5-webcomponents/utils';
6
-
7
- class FileUploader {
8
- constructor() {
9
- /**
10
- * Comma-separated list of file types that the component should accept.
11
-
12
- **Note:** Please make sure you are adding the `.` in front on the file type, e.g. `.png` in case you want to accept png's only.
13
- */
14
- this.accept = input(...(ngDevMode ? [undefined, { debugName: "accept" }] : []));
15
- /**
16
- * If set to "true", the input field of component will not be rendered. Only the default slot that is passed will be rendered.
17
-
18
- **Note:** Use this property in combination with the default slot to achieve a button-only file uploader design.
19
- */
20
- this.hideInput = input(false, { ...(ngDevMode ? { debugName: "hideInput" } : {}), transform: booleanAttribute });
21
- /**
22
- * Defines whether the component is in disabled state.
23
-
24
- **Note:** A disabled component is completely noninteractive.
25
- */
26
- this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
27
- /**
28
- * Allows multiple files to be chosen.
29
- */
30
- this.multiple = input(false, { ...(ngDevMode ? { debugName: "multiple" } : {}), transform: booleanAttribute });
31
- /**
32
- * Determines the name by which the component will be identified upon submission in an HTML form.
33
-
34
- **Note:** This property is only applicable within the context of an HTML Form element.
35
- */
36
- this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
37
- /**
38
- * Defines a short hint intended to aid the user with data entry when the component has no value.
39
- */
40
- this.placeholder = input(...(ngDevMode ? [undefined, { debugName: "placeholder" }] : []));
41
- /**
42
- * Defines the name/names of the file/files to upload.
43
- */
44
- this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : []));
45
- /**
46
- * Defines the maximum file size in megabytes which prevents the upload if at least one file exceeds it.
47
- */
48
- this.maxFileSize = input(...(ngDevMode ? [undefined, { debugName: "maxFileSize" }] : []));
49
- /**
50
- * Defines the value state of the component.
51
- */
52
- this.valueState = input("None", ...(ngDevMode ? [{ debugName: "valueState" }] : []));
53
- /**
54
- * Defines whether the component is required.
55
- */
56
- this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : {}), transform: booleanAttribute });
57
- /**
58
- * Defines the accessible ARIA name of the component.
59
- */
60
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
61
- /**
62
- * Receives id(or many ids) of the elements that label the input.
63
- */
64
- this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
65
- /**
66
- * Defines the accessible description of the component.
67
- */
68
- this.accessibleDescription = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescription" }] : []));
69
- /**
70
- * Receives id(or many ids) of the elements that describe the input.
71
- */
72
- this.accessibleDescriptionRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleDescriptionRef" }] : [])); // className is now passed
73
- /**
74
- * FileList of all selected files.
75
- * @readonly This property is managed by the web component and updates reactively.
76
- * Based on schema: readonly field that updates via change event parameters.
77
- */
78
- this.files = computed(() => this._filesSignal(), ...(ngDevMode ? [{ debugName: "files" }] : []));
79
- /**
80
- * Event is fired when the value of the file path has been changed.
81
-
82
- **Note:** Keep in mind that because of the HTML input element of type file, the event is also fired in Chrome browser when the Cancel button of the uploads window is pressed.
83
- */
84
- this.ui5Change = output();
85
- /**
86
- * Event is fired when the size of a file is above the `maxFileSize` property value.
87
- */
88
- this.ui5FileSizeExceed = output();
89
- /**
90
- * Available slots for content projection in this component.
91
- *
92
- * Slots allow you to insert custom content into predefined areas of the web component.
93
- * Use the `slot` attribute on child elements to target specific slots.
94
- *
95
- * - **(default)**: This slot allows you to add custom content to the component, such as a button or any other interactive element to trigger the file selection dialog.
96
-
97
- **Note:** For best accessibility experience, set a `tabindex` of "-1" on your interactive element, or it will be set automatically.
98
- This slot is intended for use cases where you want a button-only file uploader.
99
- It is recommended to set `hideInput` property to "true" when using this slot.
100
- Not setting `hideInput` may negatively impact the screen reader users.
101
- * - **valueStateMessage**: Defines the value state message that will be displayed as pop up under the component.
102
-
103
- **Note:** If not specified, a default text (in the respective language) will be displayed.
104
-
105
- **Note:** The `valueStateMessage` would be displayed,
106
- when the component is in `Information`, `Critical` or `Negative` value state.
107
- *
108
- * @example
109
- * ```html
110
- * <ui5-file-uploader>
111
- * <div slot="header">Custom header content</div>
112
- * <p>Default slot content</p>
113
- * </ui5-file-uploader>
114
- * ```
115
- *
116
- * @readonly
117
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
118
- */
119
- this.slots = [
120
- {
121
- "name": "default",
122
- "description": "This slot allows you to add custom content to the component, such as a button or any other interactive element to trigger the file selection dialog.\n\n**Note:** For best accessibility experience, set a `tabindex` of \"-1\" on your interactive element, or it will be set automatically.\nThis slot is intended for use cases where you want a button-only file uploader.\nIt is recommended to set `hideInput` property to \"true\" when using this slot.\nNot setting `hideInput` may negatively impact the screen reader users."
123
- },
124
- {
125
- "name": "valueStateMessage",
126
- "description": "Defines the value state message that will be displayed as pop up under the component.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state.",
127
- "since": "1.0.0-rc.9"
128
- }
129
- ];
130
- this.elementRef = inject(ElementRef);
131
- this.injector = inject(Injector);
132
- // Internal signal to track files from change events
133
- this._filesSignal = signal(null, ...(ngDevMode ? [{ debugName: "_filesSignal" }] : []));
134
- }
135
- get element() {
136
- return this.elementRef.nativeElement;
137
- }
138
- ngAfterViewInit() {
139
- const wcElement = this.element;
140
- const inputsToSync = [
141
- 'accept',
142
- 'hideInput',
143
- 'disabled',
144
- 'multiple',
145
- 'name',
146
- 'placeholder',
147
- 'value',
148
- 'maxFileSize',
149
- 'valueState',
150
- 'required',
151
- 'accessibleName',
152
- 'accessibleNameRef',
153
- 'accessibleDescription',
154
- 'accessibleDescriptionRef',
155
- ];
156
- // Synchronize inputs (properties)
157
- for (const inputName of inputsToSync) {
158
- // Find the corresponding camelCase signal property on the Angular component
159
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
160
- // Use the Injector to run the effect in the correct context
161
- if (this[signalName] && typeof this[signalName] === 'function') {
162
- runInInjectionContext(this.injector, () => {
163
- effect(() => {
164
- // Read the signal value
165
- const value = this[signalName]();
166
- if (wcElement) {
167
- // Write the value to the Web Component's property
168
- wcElement[inputName] = value;
169
- }
170
- });
171
- });
172
- }
173
- }
174
- const outputsToSync = [
175
- 'ui5Change',
176
- 'ui5FileSizeExceed',
177
- ];
178
- // Synchronize outputs (events)
179
- for (const outputName of outputsToSync) {
180
- // Map Angular output name to UI5 web component event name
181
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
182
- // Ensure the output property exists and has an emit function before adding listener
183
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
184
- // Cast the listener to the correct type to satisfy TypeScript
185
- wcElement.addEventListener(eventName, (e) => {
186
- // Update files signal when change event fires
187
- if (eventName === 'change') {
188
- const customEvent = e;
189
- // Use files from event detail, fallback to web component property
190
- const filesValue = customEvent.detail?.files || wcElement.files || null;
191
- this._filesSignal.set(filesValue);
192
- }
193
- this[outputName].emit(e);
194
- });
195
- }
196
- }
197
- // Initialize files signal with current state using delayed initialization
198
- // to handle web component timing properly
199
- const initializeFiles = () => {
200
- const currentValue = wcElement.files || null;
201
- if (JSON.stringify(currentValue) !== JSON.stringify(this._filesSignal())) {
202
- this._filesSignal.set(currentValue);
203
- }
204
- };
205
- // Try immediate initialization
206
- initializeFiles();
207
- // Fallback delayed initialization if web component needs more time
208
- // Use requestAnimationFrame for zoneless compatibility
209
- requestAnimationFrame(() => initializeFiles());
210
- }
211
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FileUploader, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
212
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: FileUploader, isStandalone: true, selector: "ui5-file-uploader, [ui5-file-uploader]", inputs: { accept: { classPropertyName: "accept", publicName: "accept", isSignal: true, isRequired: false, transformFunction: null }, hideInput: { classPropertyName: "hideInput", publicName: "hideInput", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, maxFileSize: { classPropertyName: "maxFileSize", publicName: "maxFileSize", isSignal: true, isRequired: false, transformFunction: null }, valueState: { classPropertyName: "valueState", publicName: "valueState", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescription: { classPropertyName: "accessibleDescription", publicName: "accessibleDescription", isSignal: true, isRequired: false, transformFunction: null }, accessibleDescriptionRef: { classPropertyName: "accessibleDescriptionRef", publicName: "accessibleDescriptionRef", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change", ui5FileSizeExceed: "ui5FileSizeExceed" }, providers: [
213
- {
214
- provide: CVA_CONFIG,
215
- useValue: {
216
- property: 'value',
217
- events: ['change'],
218
- transformValue: (v) => v || ''
219
- }
220
- }
221
- ], exportAs: ["ui5FileUploader"], hostDirectives: [{ directive: i1.GenericControlValueAccessor }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
222
- }
223
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FileUploader, decorators: [{
224
- type: Component,
225
- args: [{
226
- standalone: true,
227
- selector: 'ui5-file-uploader, [ui5-file-uploader]',
228
- template: '<ng-content></ng-content>',
229
- exportAs: 'ui5FileUploader',
230
- hostDirectives: [GenericControlValueAccessor],
231
- providers: [
232
- {
233
- provide: CVA_CONFIG,
234
- useValue: {
235
- property: 'value',
236
- events: ['change'],
237
- transformValue: (v) => v || ''
238
- }
239
- }
240
- ],
241
- changeDetection: ChangeDetectionStrategy.OnPush,
242
- }]
243
- }], propDecorators: { accept: [{ type: i0.Input, args: [{ isSignal: true, alias: "accept", required: false }] }], hideInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideInput", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], maxFileSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxFileSize", required: false }] }], valueState: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueState", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }], accessibleDescription: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleDescription", required: false }] }], accessibleDescriptionRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleDescriptionRef", required: false }] }], ui5Change: [{ type: i0.Output, args: ["ui5Change"] }], ui5FileSizeExceed: [{ type: i0.Output, args: ["ui5FileSizeExceed"] }] } });
244
-
245
- /**
246
- * Generated bundle index. Do not edit.
247
- */
248
-
249
- export { FileUploader };
250
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-file-uploader.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-file-uploader.mjs","sources":["../../../../libs/ui5-webcomponents/file-uploader/index.ts","../../../../libs/ui5-webcomponents/file-uploader/fundamental-ngx-ui5-webcomponents-file-uploader.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/FileUploader.js';\nimport { default as _FileUploader } from '@ui5/webcomponents/dist/FileUploader.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport { GenericControlValueAccessor, CVA_CONFIG } from '@fundamental-ngx/ui5-webcomponents/utils';\nimport { default as ValueState } from '@ui5/webcomponents-base/dist/types/ValueState.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-file-uploader, [ui5-file-uploader]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FileUploader',\n hostDirectives: [GenericControlValueAccessor],\n providers: [\n {\n provide: CVA_CONFIG,\n useValue: {\n property: 'value',\n events: ['change'],\n transformValue: (v) => v || ''\n }\n }\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FileUploader implements AfterViewInit {\n\n /**\n * Comma-separated list of file types that the component should accept.\n\n**Note:** Please make sure you are adding the `.` in front on the file type, e.g. `.png` in case you want to accept png's only.\n */\n accept = input<typeof _FileUploader.prototype.accept | undefined>();\n\n /**\n * If set to \"true\", the input field of component will not be rendered. Only the default slot that is passed will be rendered.\n\n**Note:** Use this property in combination with the default slot to achieve a button-only file uploader design.\n */\n hideInput = input(false, { transform: booleanAttribute });\n\n /**\n * Defines whether the component is in disabled state.\n\n**Note:** A disabled component is completely noninteractive.\n */\n disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Allows multiple files to be chosen.\n */\n multiple = input(false, { transform: booleanAttribute });\n\n /**\n * Determines the name by which the component will be identified upon submission in an HTML form.\n\n**Note:** This property is only applicable within the context of an HTML Form element.\n */\n name = input<typeof _FileUploader.prototype.name | undefined>();\n\n /**\n * Defines a short hint intended to aid the user with data entry when the component has no value.\n */\n placeholder = input<typeof _FileUploader.prototype.placeholder | undefined>();\n\n /**\n * Defines the name/names of the file/files to upload.\n */\n value = input<typeof _FileUploader.prototype.value | undefined>(\"\");\n\n /**\n * Defines the maximum file size in megabytes which prevents the upload if at least one file exceeds it.\n */\n maxFileSize = input<typeof _FileUploader.prototype.maxFileSize | undefined>();\n\n /**\n * Defines the value state of the component.\n */\n valueState = input<typeof _FileUploader.prototype.valueState | undefined>(\"None\");\n\n /**\n * Defines whether the component is required.\n */\n required = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _FileUploader.prototype.accessibleName | undefined>();\n\n /**\n * Receives id(or many ids) of the elements that label the input.\n */\n accessibleNameRef = input<typeof _FileUploader.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines the accessible description of the component.\n */\n accessibleDescription = input<typeof _FileUploader.prototype.accessibleDescription | undefined>();\n\n /**\n * Receives id(or many ids) of the elements that describe the input.\n */\n accessibleDescriptionRef = input<typeof _FileUploader.prototype.accessibleDescriptionRef | undefined>(); // className is now passed\n\n /**\n * FileList of all selected files.\n * @readonly This property is managed by the web component and updates reactively.\n * Based on schema: readonly field that updates via change event parameters.\n */\n files = computed(() => this._filesSignal());\n\n\n /**\n * Event is fired when the value of the file path has been changed.\n\n**Note:** Keep in mind that because of the HTML input element of type file, the event is also fired in Chrome browser when the Cancel button of the uploads window is pressed.\n */\n ui5Change = output<UI5CustomEvent<_FileUploader, 'change'>>();\n\n /**\n * Event is fired when the size of a file is above the `maxFileSize` property value.\n */\n ui5FileSizeExceed = output<UI5CustomEvent<_FileUploader, 'file-size-exceed'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: This slot allows you to add custom content to the component, such as a button or any other interactive element to trigger the file selection dialog.\n\n**Note:** For best accessibility experience, set a `tabindex` of \"-1\" on your interactive element, or it will be set automatically.\nThis slot is intended for use cases where you want a button-only file uploader.\nIt is recommended to set `hideInput` property to \"true\" when using this slot.\nNot setting `hideInput` may negatively impact the screen reader users.\n * - **valueStateMessage**: Defines the value state message that will be displayed as pop up under the component.\n\n**Note:** If not specified, a default text (in the respective language) will be displayed.\n\n**Note:** The `valueStateMessage` would be displayed,\nwhen the component is in `Information`, `Critical` or `Negative` value state.\n *\n * @example\n * ```html\n * <ui5-file-uploader>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-file-uploader>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"This slot allows you to add custom content to the component, such as a button or any other interactive element to trigger the file selection dialog.\\n\\n**Note:** For best accessibility experience, set a `tabindex` of \\\"-1\\\" on your interactive element, or it will be set automatically.\\nThis slot is intended for use cases where you want a button-only file uploader.\\nIt is recommended to set `hideInput` property to \\\"true\\\" when using this slot.\\nNot setting `hideInput` may negatively impact the screen reader users.\"\n },\n {\n \"name\": \"valueStateMessage\",\n \"description\": \"Defines the value state message that will be displayed as pop up under the component.\\n\\n**Note:** If not specified, a default text (in the respective language) will be displayed.\\n\\n**Note:** The `valueStateMessage` would be displayed,\\nwhen the component is in `Information`, `Critical` or `Negative` value state.\",\n \"since\": \"1.0.0-rc.9\"\n }\n ];\n\n\n public elementRef: ElementRef<_FileUploader> = inject(ElementRef);\n public injector = inject(Injector);\n\n // Internal signal to track files from change events\n private _filesSignal = signal<FileList | null>(null);\n\n get element(): _FileUploader {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accept',\n 'hideInput',\n 'disabled',\n 'multiple',\n 'name',\n 'placeholder',\n 'value',\n 'maxFileSize',\n 'valueState',\n 'required',\n 'accessibleName',\n 'accessibleNameRef',\n 'accessibleDescription',\n 'accessibleDescriptionRef',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5Change',\n 'ui5FileSizeExceed',\n ];\n \n // Synchronize outputs (events)\n for (const outputName of outputsToSync) {\n // Map Angular output name to UI5 web component event name\n const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);\n // Ensure the output property exists and has an emit function before adding listener\n if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {\n // Cast the listener to the correct type to satisfy TypeScript\n wcElement.addEventListener(eventName, (e) => {\n // Update files signal when change event fires\n if (eventName === 'change') {\n const customEvent = e as CustomEvent<any>;\n // Use files from event detail, fallback to web component property\n const filesValue = customEvent.detail?.files || wcElement.files || null;\n this._filesSignal.set(filesValue);\n }\n this[outputName].emit(e as CustomEvent<any>);\n });\n }\n }\n \n\n // Initialize files signal with current state using delayed initialization\n // to handle web component timing properly\n const initializeFiles = (): void => {\n const currentValue = wcElement.files || null;\n if (JSON.stringify(currentValue) !== JSON.stringify(this._filesSignal())) {\n this._filesSignal.set(currentValue);\n }\n };\n\n // Try immediate initialization\n initializeFiles();\n\n // Fallback delayed initialization if web component needs more time\n // Use requestAnimationFrame for zoneless compatibility\n requestAnimationFrame(() => initializeFiles());\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAwCa,YAAY,CAAA;AAlBzB,IAAA,WAAA,GAAA;AAoBE;;;;AAIG;QACH,IAAA,CAAA,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAqD;AAEnE;;;;AAIG;QACH,IAAA,CAAA,SAAS,GAAG,KAAK,CAAC,KAAK,sDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEzD;;;;AAIG;QACH,IAAA,CAAA,QAAQ,GAAG,KAAK,C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A;kBAlBxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,wCAAwC;AAClD,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,iBAAiB;oBAC3B,cAAc,EAAE,CAAC,2BAA2B,CAAC;AAC7C,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,UAAU;AACnB,4BAAA,QAAQ,EAAE;AACR,gCAAA,QAAQ,EAAE,OAAO;gCACjB,MAAM,EAAE,CAAC,QAAQ,CAAC;gCAClB,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI;AAC7B;AACF;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACvCD;;AAEG;;;;"}
@@ -1,107 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/FormGroup.js';
4
-
5
- class FormGroup {
6
- constructor() {
7
- /**
8
- * Defines header text of the component.
9
- */
10
- this.headerText = input(...(ngDevMode ? [undefined, { debugName: "headerText" }] : []));
11
- /**
12
- * Defines the compoennt heading level,
13
- set by the `headerText`.
14
- */
15
- this.headerLevel = input("H3", ...(ngDevMode ? [{ debugName: "headerLevel" }] : []));
16
- /**
17
- * Defines column span of the component,
18
- e.g how many columns the group should span to.
19
- */
20
- this.columnSpan = input(...(ngDevMode ? [undefined, { debugName: "columnSpan" }] : []));
21
- /**
22
- * Defines the accessible ARIA name of the component.
23
- */
24
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
25
- /**
26
- * Defines id (or many ids) of the element (or elements) that label the component.
27
- */
28
- this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : [])); // className is now passed
29
- /**
30
- * Available slots for content projection in this component.
31
- *
32
- * Slots allow you to insert custom content into predefined areas of the web component.
33
- * Use the `slot` attribute on child elements to target specific slots.
34
- *
35
- * - **(default)**: Defines the items of the component.
36
- *
37
- * @example
38
- * ```html
39
- * <ui5-form-group>
40
- * <div slot="header">Custom header content</div>
41
- * <p>Default slot content</p>
42
- * </ui5-form-group>
43
- * ```
44
- *
45
- * @readonly
46
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
47
- */
48
- this.slots = [
49
- {
50
- "name": "default",
51
- "description": "Defines the items of the component."
52
- }
53
- ];
54
- this.elementRef = inject(ElementRef);
55
- this.injector = inject(Injector);
56
- }
57
- get element() {
58
- return this.elementRef.nativeElement;
59
- }
60
- ngAfterViewInit() {
61
- const wcElement = this.element;
62
- const inputsToSync = [
63
- 'headerText',
64
- 'headerLevel',
65
- 'columnSpan',
66
- 'accessibleName',
67
- 'accessibleNameRef',
68
- ];
69
- // Synchronize inputs (properties)
70
- for (const inputName of inputsToSync) {
71
- // Find the corresponding camelCase signal property on the Angular component
72
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
73
- // Use the Injector to run the effect in the correct context
74
- if (this[signalName] && typeof this[signalName] === 'function') {
75
- runInInjectionContext(this.injector, () => {
76
- effect(() => {
77
- // Read the signal value
78
- const value = this[signalName]();
79
- if (wcElement) {
80
- // Write the value to the Web Component's property
81
- wcElement[inputName] = value;
82
- }
83
- });
84
- });
85
- }
86
- }
87
- }
88
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FormGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
89
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: FormGroup, isStandalone: true, selector: "ui5-form-group, [ui5-form-group]", inputs: { headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, headerLevel: { classPropertyName: "headerLevel", publicName: "headerLevel", isSignal: true, isRequired: false, transformFunction: null }, columnSpan: { classPropertyName: "columnSpan", publicName: "columnSpan", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ui5FormGroup"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
90
- }
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FormGroup, decorators: [{
92
- type: Component,
93
- args: [{
94
- standalone: true,
95
- selector: 'ui5-form-group, [ui5-form-group]',
96
- template: '<ng-content></ng-content>',
97
- exportAs: 'ui5FormGroup',
98
- changeDetection: ChangeDetectionStrategy.OnPush,
99
- }]
100
- }], propDecorators: { headerText: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerText", required: false }] }], headerLevel: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerLevel", required: false }] }], columnSpan: [{ type: i0.Input, args: [{ isSignal: true, alias: "columnSpan", required: false }] }], accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }] } });
101
-
102
- /**
103
- * Generated bundle index. Do not edit.
104
- */
105
-
106
- export { FormGroup };
107
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-form-group.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-form-group.mjs","sources":["../../../../libs/ui5-webcomponents/form-group/index.ts","../../../../libs/ui5-webcomponents/form-group/fundamental-ngx-ui5-webcomponents-form-group.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/FormGroup.js';\nimport { default as _FormGroup } from '@ui5/webcomponents/dist/FormGroup.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\n\nimport { default as TitleLevel } from '@ui5/webcomponents/dist/types/TitleLevel.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-form-group, [ui5-form-group]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FormGroup',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormGroup implements AfterViewInit {\n\n /**\n * Defines header text of the component.\n */\n headerText = input<typeof _FormGroup.prototype.headerText | undefined>();\n\n /**\n * Defines the compoennt heading level,\nset by the `headerText`.\n */\n headerLevel = input<typeof _FormGroup.prototype.headerLevel | undefined>(\"H3\");\n\n /**\n * Defines column span of the component,\ne.g how many columns the group should span to.\n */\n columnSpan = input<typeof _FormGroup.prototype.columnSpan | undefined>();\n\n /**\n * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _FormGroup.prototype.accessibleName | undefined>();\n\n /**\n * Defines id (or many ids) of the element (or elements) that label the component.\n */\n accessibleNameRef = input<typeof _FormGroup.prototype.accessibleNameRef | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the items of the component.\n *\n * @example\n * ```html\n * <ui5-form-group>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-form-group>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the items of the component.\"\n }\n ];\n\n\n public elementRef: ElementRef<_FormGroup> = inject(ElementRef);\n public injector = inject(Injector);\n\n get element(): _FormGroup {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'headerText',\n 'headerLevel',\n 'columnSpan',\n 'accessibleName',\n 'accessibleNameRef',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MA6Ba,SAAS,CAAA;AAPtB,IAAA,WAAA,GAAA;AASE;;AAEG;QACH,IAAA,CAAA,UAAU,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,YAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAsD;AAExE;;;AAGG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAsD,IAAI,uDAAC;AAE9E;;;AAGG;QACH,IAAA,CAAA,UAAU,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,YAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAsD;AAExE;;AAEG;QACH,IAAA,CAAA,cAAc,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAA0D;AAEhF;;AAEG;AACH,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,mBA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