@fundamental-ngx/ui5-webcomponents 0.65.1-rc.8 → 0.65.1

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 (391) hide show
  1. package/fesm2022/fundamental-ngx-ui5-webcomponents-utils.mjs +3 -3
  2. package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs +387 -387
  3. package/package.json +3 -519
  4. package/types/fundamental-ngx-ui5-webcomponents.d.ts +1 -1
  5. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs +0 -122
  6. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs.map +0 -1
  7. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs +0 -191
  8. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs.map +0 -1
  9. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs +0 -261
  10. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs.map +0 -1
  11. package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs +0 -143
  12. package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs.map +0 -1
  13. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs +0 -162
  14. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs.map +0 -1
  15. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs +0 -151
  16. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs.map +0 -1
  17. package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs +0 -130
  18. package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs.map +0 -1
  19. package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs +0 -95
  20. package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs.map +0 -1
  21. package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs +0 -266
  22. package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs.map +0 -1
  23. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs +0 -90
  24. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs.map +0 -1
  25. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs +0 -83
  26. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs.map +0 -1
  27. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs +0 -88
  28. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs.map +0 -1
  29. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs +0 -121
  30. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs.map +0 -1
  31. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs +0 -224
  32. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs.map +0 -1
  33. package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs +0 -156
  34. package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs.map +0 -1
  35. package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs +0 -134
  36. package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs.map +0 -1
  37. package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs +0 -218
  38. package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs.map +0 -1
  39. package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs +0 -227
  40. package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs.map +0 -1
  41. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs +0 -124
  42. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs.map +0 -1
  43. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs +0 -184
  44. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs.map +0 -1
  45. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs +0 -137
  46. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs.map +0 -1
  47. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs +0 -133
  48. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs.map +0 -1
  49. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-custom.mjs +0 -141
  50. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-custom.mjs.map +0 -1
  51. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs +0 -169
  52. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs.map +0 -1
  53. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs +0 -138
  54. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs.map +0 -1
  55. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs +0 -287
  56. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs.map +0 -1
  57. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs +0 -329
  58. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs.map +0 -1
  59. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs +0 -367
  60. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs.map +0 -1
  61. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-input.mjs +0 -321
  62. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-input.mjs.map +0 -1
  63. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs +0 -329
  64. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs.map +0 -1
  65. package/fesm2022/fundamental-ngx-ui5-webcomponents-day-picker.mjs +0 -131
  66. package/fesm2022/fundamental-ngx-ui5-webcomponents-day-picker.mjs.map +0 -1
  67. package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs +0 -267
  68. package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs.map +0 -1
  69. package/fesm2022/fundamental-ngx-ui5-webcomponents-drop-indicator.mjs +0 -100
  70. package/fesm2022/fundamental-ngx-ui5-webcomponents-drop-indicator.mjs.map +0 -1
  71. package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs +0 -119
  72. package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs.map +0 -1
  73. package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs +0 -100
  74. package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs.map +0 -1
  75. package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs +0 -287
  76. package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs.map +0 -1
  77. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs +0 -143
  78. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs.map +0 -1
  79. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs +0 -118
  80. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs.map +0 -1
  81. package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs +0 -202
  82. package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs.map +0 -1
  83. package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs +0 -197
  84. package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs.map +0 -1
  85. package/fesm2022/fundamental-ngx-ui5-webcomponents-input-icon.mjs +0 -117
  86. package/fesm2022/fundamental-ngx-ui5-webcomponents-input-icon.mjs.map +0 -1
  87. package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs +0 -321
  88. package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs.map +0 -1
  89. package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs +0 -135
  90. package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs.map +0 -1
  91. package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs +0 -261
  92. package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs.map +0 -1
  93. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs +0 -216
  94. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs.map +0 -1
  95. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group-header.mjs +0 -153
  96. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group-header.mjs.map +0 -1
  97. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs +0 -169
  98. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs.map +0 -1
  99. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs +0 -289
  100. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs.map +0 -1
  101. package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs +0 -322
  102. package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs.map +0 -1
  103. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs +0 -108
  104. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs.map +0 -1
  105. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs +0 -320
  106. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs.map +0 -1
  107. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs +0 -52
  108. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs.map +0 -1
  109. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs +0 -193
  110. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs.map +0 -1
  111. package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs +0 -165
  112. package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs.map +0 -1
  113. package/fesm2022/fundamental-ngx-ui5-webcomponents-month-picker.mjs +0 -131
  114. package/fesm2022/fundamental-ngx-ui5-webcomponents-month-picker.mjs.map +0 -1
  115. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-custom.mjs +0 -141
  116. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-custom.mjs.map +0 -1
  117. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs +0 -169
  118. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs.map +0 -1
  119. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs +0 -129
  120. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs.map +0 -1
  121. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs +0 -306
  122. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs.map +0 -1
  123. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs +0 -345
  124. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs.map +0 -1
  125. package/fesm2022/fundamental-ngx-ui5-webcomponents-number-input.mjs +0 -208
  126. package/fesm2022/fundamental-ngx-ui5-webcomponents-number-input.mjs.map +0 -1
  127. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs +0 -152
  128. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs.map +0 -1
  129. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-group.mjs +0 -109
  130. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-group.mjs.map +0 -1
  131. package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs +0 -163
  132. package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs.map +0 -1
  133. package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs +0 -186
  134. package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs.map +0 -1
  135. package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs +0 -263
  136. package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs.map +0 -1
  137. package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs +0 -113
  138. package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs.map +0 -1
  139. package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs +0 -205
  140. package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs.map +0 -1
  141. package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs +0 -226
  142. package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs.map +0 -1
  143. package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs +0 -182
  144. package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs.map +0 -1
  145. package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs +0 -263
  146. package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs.map +0 -1
  147. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs +0 -183
  148. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs.map +0 -1
  149. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs +0 -199
  150. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs.map +0 -1
  151. package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs +0 -317
  152. package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs.map +0 -1
  153. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-handle.mjs +0 -52
  154. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-handle.mjs.map +0 -1
  155. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-tooltip.mjs +0 -52
  156. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-tooltip.mjs.map +0 -1
  157. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs +0 -220
  158. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs.map +0 -1
  159. package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs +0 -89
  160. package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs.map +0 -1
  161. package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs +0 -187
  162. package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs.map +0 -1
  163. package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs +0 -213
  164. package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs.map +0 -1
  165. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs +0 -134
  166. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs.map +0 -1
  167. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs +0 -169
  168. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs.map +0 -1
  169. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs +0 -114
  170. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs.map +0 -1
  171. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-list-item.mjs +0 -289
  172. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-list-item.mjs.map +0 -1
  173. package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs +0 -212
  174. package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs.map +0 -1
  175. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs +0 -209
  176. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs.map +0 -1
  177. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs +0 -52
  178. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs.map +0 -1
  179. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs +0 -183
  180. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs.map +0 -1
  181. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs +0 -116
  182. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs.map +0 -1
  183. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-group-row.mjs +0 -140
  184. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-group-row.mjs.map +0 -1
  185. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs +0 -130
  186. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs.map +0 -1
  187. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs +0 -76
  188. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs.map +0 -1
  189. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs +0 -172
  190. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs.map +0 -1
  191. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs +0 -110
  192. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs.map +0 -1
  193. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs +0 -112
  194. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs.map +0 -1
  195. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs +0 -126
  196. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs.map +0 -1
  197. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs +0 -140
  198. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs.map +0 -1
  199. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs +0 -118
  200. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs.map +0 -1
  201. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs +0 -112
  202. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs.map +0 -1
  203. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs +0 -112
  204. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs.map +0 -1
  205. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs +0 -124
  206. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs.map +0 -1
  207. package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs +0 -229
  208. package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs.map +0 -1
  209. package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs +0 -173
  210. package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs.map +0 -1
  211. package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs +0 -281
  212. package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs.map +0 -1
  213. package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs +0 -113
  214. package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs.map +0 -1
  215. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming-bridge.mjs +0 -16
  216. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming-bridge.mjs.map +0 -1
  217. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs +0 -23
  218. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs.map +0 -1
  219. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker-clock.mjs +0 -52
  220. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker-clock.mjs.map +0 -1
  221. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs +0 -270
  222. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs.map +0 -1
  223. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-clocks.mjs +0 -93
  224. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-clocks.mjs.map +0 -1
  225. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-inputs.mjs +0 -93
  226. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-inputs.mjs.map +0 -1
  227. package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs +0 -128
  228. package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs.map +0 -1
  229. package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs +0 -148
  230. package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs.map +0 -1
  231. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs +0 -271
  232. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs.map +0 -1
  233. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-spin-button.mjs +0 -271
  234. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-spin-button.mjs.map +0 -1
  235. package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs +0 -114
  236. package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs.map +0 -1
  237. package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs +0 -181
  238. package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs.map +0 -1
  239. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs +0 -251
  240. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs.map +0 -1
  241. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-item.mjs +0 -137
  242. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-item.mjs.map +0 -1
  243. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs +0 -114
  244. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs.map +0 -1
  245. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs +0 -221
  246. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs.map +0 -1
  247. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs +0 -111
  248. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs.map +0 -1
  249. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs +0 -119
  250. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs.map +0 -1
  251. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs +0 -143
  252. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs.map +0 -1
  253. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs +0 -279
  254. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs.map +0 -1
  255. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs +0 -281
  256. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs.map +0 -1
  257. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs +0 -233
  258. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs.map +0 -1
  259. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-picker.mjs +0 -131
  260. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-picker.mjs.map +0 -1
  261. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-range-picker.mjs +0 -131
  262. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-range-picker.mjs.map +0 -1
  263. package/types/fundamental-ngx-ui5-webcomponents-avatar-badge.d.ts +0 -58
  264. package/types/fundamental-ngx-ui5-webcomponents-avatar-group.d.ts +0 -104
  265. package/types/fundamental-ngx-ui5-webcomponents-avatar.d.ts +0 -161
  266. package/types/fundamental-ngx-ui5-webcomponents-bar.d.ts +0 -69
  267. package/types/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.d.ts +0 -78
  268. package/types/fundamental-ngx-ui5-webcomponents-breadcrumbs.d.ts +0 -69
  269. package/types/fundamental-ngx-ui5-webcomponents-busy-indicator.d.ts +0 -63
  270. package/types/fundamental-ngx-ui5-webcomponents-button-badge.d.ts +0 -35
  271. package/types/fundamental-ngx-ui5-webcomponents-button.d.ts +0 -164
  272. package/types/fundamental-ngx-ui5-webcomponents-calendar-date-range.d.ts +0 -30
  273. package/types/fundamental-ngx-ui5-webcomponents-calendar-date.d.ts +0 -25
  274. package/types/fundamental-ngx-ui5-webcomponents-calendar-legend-item.d.ts +0 -28
  275. package/types/fundamental-ngx-ui5-webcomponents-calendar-legend.d.ts +0 -59
  276. package/types/fundamental-ngx-ui5-webcomponents-calendar.d.ts +0 -119
  277. package/types/fundamental-ngx-ui5-webcomponents-card-header.d.ts +0 -69
  278. package/types/fundamental-ngx-ui5-webcomponents-card.d.ts +0 -69
  279. package/types/fundamental-ngx-ui5-webcomponents-carousel.d.ts +0 -121
  280. package/types/fundamental-ngx-ui5-webcomponents-check-box.d.ts +0 -115
  281. package/types/fundamental-ngx-ui5-webcomponents-color-palette-item.d.ts +0 -45
  282. package/types/fundamental-ngx-ui5-webcomponents-color-palette-popover.d.ts +0 -93
  283. package/types/fundamental-ngx-ui5-webcomponents-color-palette.d.ts +0 -57
  284. package/types/fundamental-ngx-ui5-webcomponents-color-picker.d.ts +0 -50
  285. package/types/fundamental-ngx-ui5-webcomponents-combo-box-item-custom.d.ts +0 -61
  286. package/types/fundamental-ngx-ui5-webcomponents-combo-box-item-group.d.ts +0 -82
  287. package/types/fundamental-ngx-ui5-webcomponents-combo-box-item.d.ts +0 -58
  288. package/types/fundamental-ngx-ui5-webcomponents-combo-box.d.ts +0 -161
  289. package/types/fundamental-ngx-ui5-webcomponents-date-picker.d.ts +0 -189
  290. package/types/fundamental-ngx-ui5-webcomponents-date-range-picker.d.ts +0 -218
  291. package/types/fundamental-ngx-ui5-webcomponents-date-time-input.d.ts +0 -189
  292. package/types/fundamental-ngx-ui5-webcomponents-date-time-picker.d.ts +0 -189
  293. package/types/fundamental-ngx-ui5-webcomponents-day-picker.d.ts +0 -59
  294. package/types/fundamental-ngx-ui5-webcomponents-dialog.d.ts +0 -157
  295. package/types/fundamental-ngx-ui5-webcomponents-drop-indicator.d.ts +0 -36
  296. package/types/fundamental-ngx-ui5-webcomponents-dynamic-date-range.d.ts +0 -40
  297. package/types/fundamental-ngx-ui5-webcomponents-expandable-text.d.ts +0 -36
  298. package/types/fundamental-ngx-ui5-webcomponents-file-uploader.d.ts +0 -143
  299. package/types/fundamental-ngx-ui5-webcomponents-form-group.d.ts +0 -73
  300. package/types/fundamental-ngx-ui5-webcomponents-form-item.d.ts +0 -54
  301. package/types/fundamental-ngx-ui5-webcomponents-form.d.ts +0 -122
  302. package/types/fundamental-ngx-ui5-webcomponents-icon.d.ts +0 -112
  303. package/types/fundamental-ngx-ui5-webcomponents-input-icon.d.ts +0 -39
  304. package/types/fundamental-ngx-ui5-webcomponents-input.d.ts +0 -189
  305. package/types/fundamental-ngx-ui5-webcomponents-label.d.ts +0 -71
  306. package/types/fundamental-ngx-ui5-webcomponents-link.d.ts +0 -157
  307. package/types/fundamental-ngx-ui5-webcomponents-list-item-custom.d.ts +0 -125
  308. package/types/fundamental-ngx-ui5-webcomponents-list-item-group-header.d.ts +0 -73
  309. package/types/fundamental-ngx-ui5-webcomponents-list-item-group.d.ts +0 -82
  310. package/types/fundamental-ngx-ui5-webcomponents-list-item-standard.d.ts +0 -180
  311. package/types/fundamental-ngx-ui5-webcomponents-list.d.ts +0 -204
  312. package/types/fundamental-ngx-ui5-webcomponents-menu-item-group.d.ts +0 -48
  313. package/types/fundamental-ngx-ui5-webcomponents-menu-item.d.ts +0 -209
  314. package/types/fundamental-ngx-ui5-webcomponents-menu-separator.d.ts +0 -20
  315. package/types/fundamental-ngx-ui5-webcomponents-menu.d.ts +0 -101
  316. package/types/fundamental-ngx-ui5-webcomponents-message-strip.d.ts +0 -79
  317. package/types/fundamental-ngx-ui5-webcomponents-month-picker.d.ts +0 -59
  318. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-custom.d.ts +0 -61
  319. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.d.ts +0 -82
  320. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.d.ts +0 -48
  321. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box.d.ts +0 -177
  322. package/types/fundamental-ngx-ui5-webcomponents-multi-input.d.ts +0 -206
  323. package/types/fundamental-ngx-ui5-webcomponents-number-input.d.ts +0 -110
  324. package/types/fundamental-ngx-ui5-webcomponents-option-custom.d.ts +0 -69
  325. package/types/fundamental-ngx-ui5-webcomponents-option-group.d.ts +0 -49
  326. package/types/fundamental-ngx-ui5-webcomponents-option.d.ts +0 -78
  327. package/types/fundamental-ngx-ui5-webcomponents-panel.d.ts +0 -94
  328. package/types/fundamental-ngx-ui5-webcomponents-popover.d.ts +0 -147
  329. package/types/fundamental-ngx-ui5-webcomponents-progress-indicator.d.ts +0 -48
  330. package/types/fundamental-ngx-ui5-webcomponents-radio-button.d.ts +0 -95
  331. package/types/fundamental-ngx-ui5-webcomponents-range-slider.d.ts +0 -112
  332. package/types/fundamental-ngx-ui5-webcomponents-rating-indicator.d.ts +0 -88
  333. package/types/fundamental-ngx-ui5-webcomponents-responsive-popover.d.ts +0 -147
  334. package/types/fundamental-ngx-ui5-webcomponents-segmented-button-item.d.ts +0 -93
  335. package/types/fundamental-ngx-ui5-webcomponents-segmented-button.d.ts +0 -88
  336. package/types/fundamental-ngx-ui5-webcomponents-select.d.ts +0 -163
  337. package/types/fundamental-ngx-ui5-webcomponents-slider-handle.d.ts +0 -20
  338. package/types/fundamental-ngx-ui5-webcomponents-slider-tooltip.d.ts +0 -20
  339. package/types/fundamental-ngx-ui5-webcomponents-slider.d.ts +0 -108
  340. package/types/fundamental-ngx-ui5-webcomponents-special-calendar-date.d.ts +0 -29
  341. package/types/fundamental-ngx-ui5-webcomponents-split-button.d.ts +0 -101
  342. package/types/fundamental-ngx-ui5-webcomponents-step-input.d.ts +0 -112
  343. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.d.ts +0 -56
  344. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item-group.d.ts +0 -82
  345. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item.d.ts +0 -36
  346. package/types/fundamental-ngx-ui5-webcomponents-suggestion-list-item.d.ts +0 -175
  347. package/types/fundamental-ngx-ui5-webcomponents-switch.d.ts +0 -100
  348. package/types/fundamental-ngx-ui5-webcomponents-tab-container.d.ts +0 -115
  349. package/types/fundamental-ngx-ui5-webcomponents-tab-separator.d.ts +0 -20
  350. package/types/fundamental-ngx-ui5-webcomponents-tab.d.ts +0 -92
  351. package/types/fundamental-ngx-ui5-webcomponents-table-cell.d.ts +0 -55
  352. package/types/fundamental-ngx-ui5-webcomponents-table-group-row.d.ts +0 -75
  353. package/types/fundamental-ngx-ui5-webcomponents-table-growing.d.ts +0 -50
  354. package/types/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.d.ts +0 -26
  355. package/types/fundamental-ngx-ui5-webcomponents-table-header-cell.d.ts +0 -101
  356. package/types/fundamental-ngx-ui5-webcomponents-table-header-row.d.ts +0 -51
  357. package/types/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.d.ts +0 -36
  358. package/types/fundamental-ngx-ui5-webcomponents-table-row-action.d.ts +0 -47
  359. package/types/fundamental-ngx-ui5-webcomponents-table-row.d.ts +0 -75
  360. package/types/fundamental-ngx-ui5-webcomponents-table-selection-multi.d.ts +0 -38
  361. package/types/fundamental-ngx-ui5-webcomponents-table-selection-single.d.ts +0 -34
  362. package/types/fundamental-ngx-ui5-webcomponents-table-selection.d.ts +0 -34
  363. package/types/fundamental-ngx-ui5-webcomponents-table-virtualizer.d.ts +0 -44
  364. package/types/fundamental-ngx-ui5-webcomponents-table.d.ts +0 -124
  365. package/types/fundamental-ngx-ui5-webcomponents-tag.d.ts +0 -83
  366. package/types/fundamental-ngx-ui5-webcomponents-text-area.d.ts +0 -157
  367. package/types/fundamental-ngx-ui5-webcomponents-text.d.ts +0 -51
  368. package/types/fundamental-ngx-ui5-webcomponents-theming-bridge.d.ts +0 -6
  369. package/types/fundamental-ngx-ui5-webcomponents-theming.d.ts +0 -11
  370. package/types/fundamental-ngx-ui5-webcomponents-time-picker-clock.d.ts +0 -20
  371. package/types/fundamental-ngx-ui5-webcomponents-time-picker.d.ts +0 -145
  372. package/types/fundamental-ngx-ui5-webcomponents-time-selection-clocks.d.ts +0 -33
  373. package/types/fundamental-ngx-ui5-webcomponents-time-selection-inputs.d.ts +0 -33
  374. package/types/fundamental-ngx-ui5-webcomponents-title.d.ts +0 -64
  375. package/types/fundamental-ngx-ui5-webcomponents-toast.d.ts +0 -67
  376. package/types/fundamental-ngx-ui5-webcomponents-toggle-button.d.ts +0 -168
  377. package/types/fundamental-ngx-ui5-webcomponents-toggle-spin-button.d.ts +0 -168
  378. package/types/fundamental-ngx-ui5-webcomponents-token.d.ts +0 -53
  379. package/types/fundamental-ngx-ui5-webcomponents-tokenizer.d.ts +0 -94
  380. package/types/fundamental-ngx-ui5-webcomponents-toolbar-button.d.ts +0 -150
  381. package/types/fundamental-ngx-ui5-webcomponents-toolbar-item.d.ts +0 -74
  382. package/types/fundamental-ngx-ui5-webcomponents-toolbar-select-option.d.ts +0 -53
  383. package/types/fundamental-ngx-ui5-webcomponents-toolbar-select.d.ts +0 -127
  384. package/types/fundamental-ngx-ui5-webcomponents-toolbar-separator.d.ts +0 -50
  385. package/types/fundamental-ngx-ui5-webcomponents-toolbar-spacer.d.ts +0 -56
  386. package/types/fundamental-ngx-ui5-webcomponents-toolbar.d.ts +0 -75
  387. package/types/fundamental-ngx-ui5-webcomponents-tree-item-custom.d.ts +0 -171
  388. package/types/fundamental-ngx-ui5-webcomponents-tree-item.d.ts +0 -174
  389. package/types/fundamental-ngx-ui5-webcomponents-tree.d.ts +0 -130
  390. package/types/fundamental-ngx-ui5-webcomponents-year-picker.d.ts +0 -59
  391. package/types/fundamental-ngx-ui5-webcomponents-year-range-picker.d.ts +0 -59
@@ -1,213 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, output, inject, ElementRef, Injector, DestroyRef, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/StepInput.js';
4
- import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
5
-
6
- class StepInput {
7
- constructor() {
8
- /**
9
- * Defines the accessible ARIA name of the component.
10
- */
11
- this.accessibleName = input(/* @ts-ignore */
12
- ...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ []));
13
- /**
14
- * Receives id(or many ids) of the elements that label the component.
15
- */
16
- this.accessibleNameRef = input(/* @ts-ignore */
17
- ...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : /* istanbul ignore next */ []));
18
- /**
19
- * Determines whether the component is displayed as disabled.
20
- */
21
- this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
22
- /**
23
- * Defines a maximum value of the component.
24
- */
25
- this.max = input(/* @ts-ignore */
26
- ...(ngDevMode ? [undefined, { debugName: "max" }] : /* istanbul ignore next */ []));
27
- /**
28
- * Defines a minimum value of the component.
29
- */
30
- this.min = input(/* @ts-ignore */
31
- ...(ngDevMode ? [undefined, { debugName: "min" }] : /* istanbul ignore next */ []));
32
- /**
33
- * Determines the name by which the component will be identified upon submission in an HTML form.
34
- */
35
- this.name = input(/* @ts-ignore */
36
- ...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
37
- /**
38
- * Defines a short hint, intended to aid the user with data entry when the
39
- component has no value.
40
- */
41
- this.placeholder = input(/* @ts-ignore */
42
- ...(ngDevMode ? [undefined, { debugName: "placeholder" }] : /* istanbul ignore next */ []));
43
- /**
44
- * Determines whether the component is displayed as read-only.
45
- */
46
- this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
47
- /**
48
- * Defines whether the component is required.
49
- */
50
- this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
51
- /**
52
- * Defines a step of increasing/decreasing the value of the component.
53
- */
54
- this.step = input(1, /* @ts-ignore */
55
- ...(ngDevMode ? [{ debugName: "step" }] : /* istanbul ignore next */ []));
56
- /**
57
- * Defines a value of the component.
58
- */
59
- this.value = input(0, /* @ts-ignore */
60
- ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
61
- /**
62
- * Determines the number of digits after the decimal point of the component.
63
- */
64
- this.valuePrecision = input(0, /* @ts-ignore */
65
- ...(ngDevMode ? [{ debugName: "valuePrecision" }] : /* istanbul ignore next */ []));
66
- /**
67
- * Defines the value state of the component.
68
- */
69
- this.valueState = input("None", /* @ts-ignore */
70
- ...(ngDevMode ? [{ debugName: "valueState" }] : /* istanbul ignore next */ [])); // className is now passed
71
- /**
72
- * Fired when the input operation has finished by pressing Enter or on focusout.
73
- */
74
- this.ui5Change = output();
75
- /**
76
- * Fired when the value of the component changes at each keystroke.
77
- */
78
- this.ui5Input = output();
79
- /**
80
- * Fired before the value state of the component is updated internally.
81
- The event is preventable, meaning that if it's default action is
82
- prevented, the component will not update the value state.
83
- */
84
- this.ui5ValueStateChange = output();
85
- /**
86
- * Available slots for content projection in this component.
87
- *
88
- * Slots allow you to insert custom content into predefined areas of the web component.
89
- * Use the `slot` attribute on child elements to target specific slots.
90
- *
91
- * - **valueStateMessage**: Defines the value state message that will be displayed as pop up under the component.
92
- *
93
- * @example
94
- * ```html
95
- * <ui5-step-input>
96
- * <div slot="header">Custom header content</div>
97
- * <p>Default slot content</p>
98
- * </ui5-step-input>
99
- * ```
100
- *
101
- * @readonly
102
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
103
- */
104
- this.slots = [
105
- {
106
- "name": "valueStateMessage",
107
- "description": "Defines the value state message that will be displayed as pop up under the component."
108
- }
109
- ];
110
- this.elementRef = inject(ElementRef);
111
- this.injector = inject(Injector);
112
- /**
113
- * Content density observer is injected to activate automatic CSS class and
114
- * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
115
- * @private
116
- */
117
- this._contentDensityObserver = inject(ContentDensityObserver);
118
- this._destroyRef = inject(DestroyRef);
119
- }
120
- get element() {
121
- return this.elementRef.nativeElement;
122
- }
123
- ngAfterViewInit() {
124
- const wcElement = this.element;
125
- const inputsToSync = [
126
- 'accessibleName',
127
- 'accessibleNameRef',
128
- 'disabled',
129
- 'max',
130
- 'min',
131
- 'name',
132
- 'placeholder',
133
- 'readonly',
134
- 'required',
135
- 'step',
136
- 'value',
137
- 'valuePrecision',
138
- 'valueState',
139
- ];
140
- // Synchronize inputs (properties)
141
- for (const inputName of inputsToSync) {
142
- // Find the corresponding camelCase signal property on the Angular component
143
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
144
- // Use the Injector to run the effect in the correct context
145
- if (this[signalName] && typeof this[signalName] === 'function') {
146
- runInInjectionContext(this.injector, () => {
147
- effect(() => {
148
- // Read the signal value
149
- const value = this[signalName]();
150
- if (wcElement) {
151
- // Skip writes when the signal is undefined and the property is already truthy
152
- // This prevents clobbering imperatively-set values (e.g., from RouterLink)
153
- if (value === undefined && wcElement[inputName]) {
154
- return;
155
- }
156
- // Write the value to the Web Component's property
157
- wcElement[inputName] = value;
158
- }
159
- });
160
- });
161
- }
162
- }
163
- const outputsToSync = [
164
- 'ui5Change',
165
- 'ui5Input',
166
- 'ui5ValueStateChange',
167
- ];
168
- // Synchronize outputs (events)
169
- const _listeners = [];
170
- for (const outputName of outputsToSync) {
171
- // Map Angular output name to UI5 web component event name
172
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
173
- // Ensure the output property exists and has an emit function before adding listener
174
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
175
- // Cast the listener to the correct type to satisfy TypeScript
176
- const listener = (e) => {
177
- this[outputName].emit(e);
178
- };
179
- wcElement.addEventListener(eventName, listener);
180
- _listeners.push(() => wcElement.removeEventListener(eventName, listener));
181
- }
182
- }
183
- this._destroyRef.onDestroy(() => _listeners.forEach((fn) => fn()));
184
- }
185
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: StepInput, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
186
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.1", type: StepInput, isStandalone: true, selector: "ui5-step-input, [ui5-step-input]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", 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 }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, valuePrecision: { classPropertyName: "valuePrecision", publicName: "valuePrecision", isSignal: true, isRequired: false, transformFunction: null }, valueState: { classPropertyName: "valueState", publicName: "valueState", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change", ui5Input: "ui5Input", ui5ValueStateChange: "ui5ValueStateChange" }, providers: [
187
- contentDensityObserverProviders({
188
- supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
189
- })
190
- ], exportAs: ["ui5StepInput"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
191
- }
192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: StepInput, decorators: [{
193
- type: Component,
194
- args: [{
195
- standalone: true,
196
- selector: 'ui5-step-input, [ui5-step-input]',
197
- template: '<ng-content></ng-content>',
198
- exportAs: 'ui5StepInput',
199
- providers: [
200
- contentDensityObserverProviders({
201
- supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
202
- })
203
- ],
204
- changeDetection: ChangeDetectionStrategy.OnPush,
205
- }]
206
- }], propDecorators: { accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], valuePrecision: [{ type: i0.Input, args: [{ isSignal: true, alias: "valuePrecision", required: false }] }], valueState: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueState", required: false }] }], ui5Change: [{ type: i0.Output, args: ["ui5Change"] }], ui5Input: [{ type: i0.Output, args: ["ui5Input"] }], ui5ValueStateChange: [{ type: i0.Output, args: ["ui5ValueStateChange"] }] } });
207
-
208
- /**
209
- * Generated bundle index. Do not edit.
210
- */
211
-
212
- export { StepInput };
213
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-step-input.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-step-input.mjs","sources":["../../../../libs/ui5-webcomponents/step-input/index.ts","../../../../libs/ui5-webcomponents/step-input/fundamental-ngx-ui5-webcomponents-step-input.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 DestroyRef\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/StepInput.js';\nimport { default as _StepInput } from '@ui5/webcomponents/dist/StepInput.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\nimport { default as ValueState } from '@ui5/webcomponents-base/dist/types/ValueState.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-step-input, [ui5-step-input]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5StepInput',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class StepInput implements AfterViewInit {\n\n /**\n * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _StepInput.prototype.accessibleName | undefined>();\n\n /**\n * Receives id(or many ids) of the elements that label the component.\n */\n accessibleNameRef = input<typeof _StepInput.prototype.accessibleNameRef | undefined>();\n\n /**\n * Determines whether the component is displayed as disabled.\n */\n disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Defines a maximum value of the component.\n */\n max = input<typeof _StepInput.prototype.max | undefined>();\n\n /**\n * Defines a minimum value of the component.\n */\n min = input<typeof _StepInput.prototype.min | undefined>();\n\n /**\n * Determines the name by which the component will be identified upon submission in an HTML form.\n */\n name = input<typeof _StepInput.prototype.name | undefined>();\n\n /**\n * Defines a short hint, intended to aid the user with data entry when the\ncomponent has no value.\n */\n placeholder = input<typeof _StepInput.prototype.placeholder | undefined>();\n\n /**\n * Determines whether the component is displayed as read-only.\n */\n readonly = input(false, { transform: booleanAttribute });\n\n /**\n * Defines whether the component is required.\n */\n required = input(false, { transform: booleanAttribute });\n\n /**\n * Defines a step of increasing/decreasing the value of the component.\n */\n step = input<typeof _StepInput.prototype.step | undefined>(1);\n\n /**\n * Defines a value of the component.\n */\n value = input<typeof _StepInput.prototype.value | undefined>(0);\n\n /**\n * Determines the number of digits after the decimal point of the component.\n */\n valuePrecision = input<typeof _StepInput.prototype.valuePrecision | undefined>(0);\n\n /**\n * Defines the value state of the component.\n */\n valueState = input<typeof _StepInput.prototype.valueState | undefined>(\"None\"); // className is now passed\n\n\n\n /**\n * Fired when the input operation has finished by pressing Enter or on focusout.\n */\n ui5Change = output<UI5CustomEvent<_StepInput, 'change'>>();\n\n /**\n * Fired when the value of the component changes at each keystroke.\n */\n ui5Input = output<UI5CustomEvent<_StepInput, 'input'>>();\n\n /**\n * Fired before the value state of the component is updated internally.\nThe event is preventable, meaning that if it's default action is\nprevented, the component will not update the value state.\n */\n ui5ValueStateChange = output<UI5CustomEvent<_StepInput, 'value-state-change'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **valueStateMessage**: Defines the value state message that will be displayed as pop up under the component.\n *\n * @example\n * ```html\n * <ui5-step-input>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-step-input>\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\": \"valueStateMessage\",\n \"description\": \"Defines the value state message that will be displayed as pop up under the component.\"\n }\n ];\n\n\n public elementRef: ElementRef<_StepInput> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n private readonly _destroyRef = inject(DestroyRef);\n\n get element(): _StepInput {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'disabled',\n 'max',\n 'min',\n 'name',\n 'placeholder',\n 'readonly',\n 'required',\n 'step',\n 'value',\n 'valuePrecision',\n 'valueState',\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, (): void => {\n effect((): void => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Skip writes when the signal is undefined and the property is already truthy\n // This prevents clobbering imperatively-set values (e.g., from RouterLink)\n if (value === undefined && wcElement[inputName]) {\n return;\n }\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 'ui5Input',\n 'ui5ValueStateChange',\n ];\n \n // Synchronize outputs (events)\n const _listeners: Array<() => void> = [];\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 const listener = (e: Event): void => {\n\n this[outputName].emit(e as CustomEvent<any>);\n };\n wcElement.addEventListener(eventName, listener);\n _listeners.push(() => wcElement.removeEventListener(eventName, listener));\n }\n }\n this._destroyRef.onDestroy(() => _listeners.forEach((fn) => fn()));\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAyCa,SAAS,CAAA;AAZtB,IAAA,WAAA,GAAA;AAcE;;AAEG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK;sGAA0D;AAEhF;;AAEG;AACH,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK;yGAA6D;AAEtF;;AAEG;QACH,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAExD;;AAEG;AACH,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK;2FAA+C;AAE1D;;AAEG;AACH,QAAA,IAAA,CAAA,GAAG,GAAG,KAAK;2FAA+C;AAE1D;;AAEG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;4FAAgD;AAE5D;;;AAGG;AACH,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK;mGAAuD;AAE1E;;AAEG;QACH,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAExD;;AAEG;QACH,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAExD;;AAEG;QACH,IAAA,CAAA,IAAI,GAAG,KAAK,CAA+C,CAAC;iFAAC;AAE7D;;AAEG;QACH,IAAA,CAAA,KAAK,GAAG,KAAK,CAAgD,CAAC;kFAAC;AAE/D;;AAEG;QACH,IAAA,CAAA,cAAc,GA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,EAAA,EAAA,SAAA,EAAA,WAAA,EAAA,QAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,EAAA,SAAA,EAPT;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,cAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,SAAS,EAAA,UAAA,EAAA,CAAA;kBAZrB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,kCAAkC;AAC5C,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACxCD;;AAEG;;;;"}
@@ -1,134 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, output, inject, ElementRef, Injector, DestroyRef, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/SuggestionItemCustom.js';
4
- import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
5
-
6
- class SuggestionItemCustom {
7
- constructor() {
8
- /**
9
- * Defines the text of the `ui5-suggestion-item-custom`.
10
- **Note:** The text property is considered only for autocomplete.
11
- */
12
- this.text = input(/* @ts-ignore */
13
- ...(ngDevMode ? [undefined, { debugName: "text" }] : /* istanbul ignore next */ [])); // className is now passed
14
- /**
15
- * Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
16
-
17
- **Note:** The event will not be fired if the `disabled` property is set to `true`.
18
- */
19
- this.ui5Click = output();
20
- /**
21
- * Available slots for content projection in this component.
22
- *
23
- * Slots allow you to insert custom content into predefined areas of the web component.
24
- * Use the `slot` attribute on child elements to target specific slots.
25
- *
26
- * - **(default)**: Defines the content of the component.
27
- *
28
- * @example
29
- * ```html
30
- * <ui5-suggestion-item-custom>
31
- * <div slot="header">Custom header content</div>
32
- * <p>Default slot content</p>
33
- * </ui5-suggestion-item-custom>
34
- * ```
35
- *
36
- * @readonly
37
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
38
- */
39
- this.slots = [
40
- {
41
- "name": "default",
42
- "description": "Defines the content of the component."
43
- }
44
- ];
45
- this.elementRef = inject(ElementRef);
46
- this.injector = inject(Injector);
47
- /**
48
- * Content density observer is injected to activate automatic CSS class and
49
- * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
50
- * @private
51
- */
52
- this._contentDensityObserver = inject(ContentDensityObserver);
53
- this._destroyRef = inject(DestroyRef);
54
- }
55
- get element() {
56
- return this.elementRef.nativeElement;
57
- }
58
- ngAfterViewInit() {
59
- const wcElement = this.element;
60
- const inputsToSync = [
61
- 'text',
62
- ];
63
- // Synchronize inputs (properties)
64
- for (const inputName of inputsToSync) {
65
- // Find the corresponding camelCase signal property on the Angular component
66
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
67
- // Use the Injector to run the effect in the correct context
68
- if (this[signalName] && typeof this[signalName] === 'function') {
69
- runInInjectionContext(this.injector, () => {
70
- effect(() => {
71
- // Read the signal value
72
- const value = this[signalName]();
73
- if (wcElement) {
74
- // Skip writes when the signal is undefined and the property is already truthy
75
- // This prevents clobbering imperatively-set values (e.g., from RouterLink)
76
- if (value === undefined && wcElement[inputName]) {
77
- return;
78
- }
79
- // Write the value to the Web Component's property
80
- wcElement[inputName] = value;
81
- }
82
- });
83
- });
84
- }
85
- }
86
- const outputsToSync = [
87
- 'ui5Click',
88
- ];
89
- // Synchronize outputs (events)
90
- const _listeners = [];
91
- for (const outputName of outputsToSync) {
92
- // Map Angular output name to UI5 web component event name
93
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
94
- // Ensure the output property exists and has an emit function before adding listener
95
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
96
- // Cast the listener to the correct type to satisfy TypeScript
97
- const listener = (e) => {
98
- this[outputName].emit(e);
99
- };
100
- wcElement.addEventListener(eventName, listener);
101
- _listeners.push(() => wcElement.removeEventListener(eventName, listener));
102
- }
103
- }
104
- this._destroyRef.onDestroy(() => _listeners.forEach((fn) => fn()));
105
- }
106
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SuggestionItemCustom, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
107
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.1", type: SuggestionItemCustom, isStandalone: true, selector: "ui5-suggestion-item-custom, [ui5-suggestion-item-custom]", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, providers: [
108
- contentDensityObserverProviders({
109
- supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
110
- })
111
- ], exportAs: ["ui5SuggestionItemCustom"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
112
- }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SuggestionItemCustom, decorators: [{
114
- type: Component,
115
- args: [{
116
- standalone: true,
117
- selector: 'ui5-suggestion-item-custom, [ui5-suggestion-item-custom]',
118
- template: '<ng-content></ng-content>',
119
- exportAs: 'ui5SuggestionItemCustom',
120
- providers: [
121
- contentDensityObserverProviders({
122
- supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
123
- })
124
- ],
125
- changeDetection: ChangeDetectionStrategy.OnPush,
126
- }]
127
- }], propDecorators: { text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], ui5Click: [{ type: i0.Output, args: ["ui5Click"] }] } });
128
-
129
- /**
130
- * Generated bundle index. Do not edit.
131
- */
132
-
133
- export { SuggestionItemCustom };
134
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs","sources":["../../../../libs/ui5-webcomponents/suggestion-item-custom/index.ts","../../../../libs/ui5-webcomponents/suggestion-item-custom/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.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 DestroyRef\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/SuggestionItemCustom.js';\nimport { default as _SuggestionItemCustom } from '@ui5/webcomponents/dist/SuggestionItemCustom.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-suggestion-item-custom, [ui5-suggestion-item-custom]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5SuggestionItemCustom',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SuggestionItemCustom implements AfterViewInit {\n\n /**\n * Defines the text of the `ui5-suggestion-item-custom`.\n**Note:** The text property is considered only for autocomplete.\n */\n text = input<typeof _SuggestionItemCustom.prototype.text | undefined>(); // className is now passed\n\n\n\n /**\n * Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.\n\n**Note:** The event will not be fired if the `disabled` property is set to `true`.\n */\n ui5Click = output<UI5CustomEvent<_SuggestionItemCustom, 'click'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the component.\n *\n * @example\n * ```html\n * <ui5-suggestion-item-custom>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-suggestion-item-custom>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the content of the component.\"\n }\n ];\n\n\n public elementRef: ElementRef<_SuggestionItemCustom> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n private readonly _destroyRef = inject(DestroyRef);\n\n get element(): _SuggestionItemCustom {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'text',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, (): void => {\n effect((): void => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Skip writes when the signal is undefined and the property is already truthy\n // This prevents clobbering imperatively-set values (e.g., from RouterLink)\n if (value === undefined && wcElement[inputName]) {\n return;\n }\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 'ui5Click',\n ];\n \n // Synchronize outputs (events)\n const _listeners: Array<() => void> = [];\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 const listener = (e: Event): void => {\n\n this[outputName].emit(e as CustomEvent<any>);\n };\n wcElement.addEventListener(eventName, listener);\n _listeners.push(() => wcElement.removeEventListener(eventName, listener));\n }\n }\n this._destroyRef.onDestroy(() => _listeners.forEach((fn) => fn()));\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAyCa,oBAAoB,CAAA;AAZjC,IAAA,WAAA,GAAA;AAcE;;;AAGG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK;AAA2D,QAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAA,CAAC;AAIxE;;;;AAIG;QACH,IAAA,CAAA,QAAQ,GAAG,MAAM,EAAkD;AAEnE;;;;;;;;;;;;;;;;;;AAkBG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG;AACb,YAAA;AACI,gBAAA,MAAM,EAAE,SAAS;AACjB,gBAAA,aAAa,EAAE;AAClB;SACJ;AAGM,QAAA,IAAA,CAAA,UAAU,GAAsC,MAAM,CAAC,UAAU,CAAC;AAClE,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CA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,EAAA,QAAA,EAAA,CAAA,yBAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EANS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAZhC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0DAA0D;AACpE,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACxCD;;AAEG;;;;"}
@@ -1,169 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, output, inject, ElementRef, Injector, DestroyRef, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/SuggestionItemGroup.js';
4
- import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
5
-
6
- class SuggestionItemGroup {
7
- constructor() {
8
- /**
9
- * Defines the accessible name of the header.
10
- */
11
- this.headerAccessibleName = input(/* @ts-ignore */
12
- ...(ngDevMode ? [undefined, { debugName: "headerAccessibleName" }] : /* istanbul ignore next */ []));
13
- /**
14
- * Defines the header text of the group.
15
- */
16
- this.headerText = input(/* @ts-ignore */
17
- ...(ngDevMode ? [undefined, { debugName: "headerText" }] : /* istanbul ignore next */ []));
18
- /**
19
- * Defines if the text of the component should wrap when it's too long.
20
- When set to "Normal", the content (title, description) will be wrapped
21
- using the `ui5-expandable-text` component.<br/>
22
-
23
- The text can wrap up to 100 characters on small screens (size S) and
24
- up to 300 characters on larger screens (size M and above). When text exceeds
25
- these limits, it truncates with an ellipsis followed by a text expansion trigger.
26
-
27
- Available options are:
28
- - `None` (default) - The text will truncate with an ellipsis.
29
- - `Normal` - The text will wrap (without truncation).
30
- */
31
- this.wrappingType = input("None", /* @ts-ignore */
32
- ...(ngDevMode ? [{ debugName: "wrappingType" }] : /* istanbul ignore next */ [])); // className is now passed
33
- /**
34
- * Fired when a movable list item is dropped onto a drop target.
35
-
36
- **Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.
37
- */
38
- this.ui5Move = output();
39
- /**
40
- * Fired when a movable list item is moved over a potential drop target during a dragging operation.
41
-
42
- If the new position is valid, prevent the default action of the event using `preventDefault()`.
43
- */
44
- this.ui5MoveOver = output();
45
- /**
46
- * Available slots for content projection in this component.
47
- *
48
- * Slots allow you to insert custom content into predefined areas of the web component.
49
- * Use the `slot` attribute on child elements to target specific slots.
50
- *
51
- * - **(default)**: Defines the items of the <code>ui5-suggestion-item-group</code>.
52
- * - **header**: Defines the header of the component.
53
-
54
- **Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.
55
- *
56
- * @example
57
- * ```html
58
- * <ui5-suggestion-item-group>
59
- * <div slot="header">Custom header content</div>
60
- * <p>Default slot content</p>
61
- * </ui5-suggestion-item-group>
62
- * ```
63
- *
64
- * @readonly
65
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
66
- */
67
- this.slots = [
68
- {
69
- "name": "default",
70
- "description": "Defines the items of the <code>ui5-suggestion-item-group</code>."
71
- },
72
- {
73
- "name": "header",
74
- "description": "Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten."
75
- }
76
- ];
77
- this.elementRef = inject(ElementRef);
78
- this.injector = inject(Injector);
79
- /**
80
- * Content density observer is injected to activate automatic CSS class and
81
- * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
82
- * @private
83
- */
84
- this._contentDensityObserver = inject(ContentDensityObserver);
85
- this._destroyRef = inject(DestroyRef);
86
- }
87
- get element() {
88
- return this.elementRef.nativeElement;
89
- }
90
- ngAfterViewInit() {
91
- const wcElement = this.element;
92
- const inputsToSync = [
93
- 'headerAccessibleName',
94
- 'headerText',
95
- 'wrappingType',
96
- ];
97
- // Synchronize inputs (properties)
98
- for (const inputName of inputsToSync) {
99
- // Find the corresponding camelCase signal property on the Angular component
100
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
101
- // Use the Injector to run the effect in the correct context
102
- if (this[signalName] && typeof this[signalName] === 'function') {
103
- runInInjectionContext(this.injector, () => {
104
- effect(() => {
105
- // Read the signal value
106
- const value = this[signalName]();
107
- if (wcElement) {
108
- // Skip writes when the signal is undefined and the property is already truthy
109
- // This prevents clobbering imperatively-set values (e.g., from RouterLink)
110
- if (value === undefined && wcElement[inputName]) {
111
- return;
112
- }
113
- // Write the value to the Web Component's property
114
- wcElement[inputName] = value;
115
- }
116
- });
117
- });
118
- }
119
- }
120
- const outputsToSync = [
121
- 'ui5Move',
122
- 'ui5MoveOver',
123
- ];
124
- // Synchronize outputs (events)
125
- const _listeners = [];
126
- for (const outputName of outputsToSync) {
127
- // Map Angular output name to UI5 web component event name
128
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
129
- // Ensure the output property exists and has an emit function before adding listener
130
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
131
- // Cast the listener to the correct type to satisfy TypeScript
132
- const listener = (e) => {
133
- this[outputName].emit(e);
134
- };
135
- wcElement.addEventListener(eventName, listener);
136
- _listeners.push(() => wcElement.removeEventListener(eventName, listener));
137
- }
138
- }
139
- this._destroyRef.onDestroy(() => _listeners.forEach((fn) => fn()));
140
- }
141
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SuggestionItemGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
142
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.2.1", type: SuggestionItemGroup, isStandalone: true, selector: "ui5-suggestion-item-group, [ui5-suggestion-item-group]", inputs: { headerAccessibleName: { classPropertyName: "headerAccessibleName", publicName: "headerAccessibleName", isSignal: true, isRequired: false, transformFunction: null }, headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, wrappingType: { classPropertyName: "wrappingType", publicName: "wrappingType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Move: "ui5Move", ui5MoveOver: "ui5MoveOver" }, providers: [
143
- contentDensityObserverProviders({
144
- supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
145
- })
146
- ], exportAs: ["ui5SuggestionItemGroup"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
147
- }
148
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: SuggestionItemGroup, decorators: [{
149
- type: Component,
150
- args: [{
151
- standalone: true,
152
- selector: 'ui5-suggestion-item-group, [ui5-suggestion-item-group]',
153
- template: '<ng-content></ng-content>',
154
- exportAs: 'ui5SuggestionItemGroup',
155
- providers: [
156
- contentDensityObserverProviders({
157
- supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
158
- })
159
- ],
160
- changeDetection: ChangeDetectionStrategy.OnPush,
161
- }]
162
- }], propDecorators: { headerAccessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerAccessibleName", required: false }] }], headerText: [{ type: i0.Input, args: [{ isSignal: true, alias: "headerText", required: false }] }], wrappingType: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrappingType", required: false }] }], ui5Move: [{ type: i0.Output, args: ["ui5Move"] }], ui5MoveOver: [{ type: i0.Output, args: ["ui5MoveOver"] }] } });
163
-
164
- /**
165
- * Generated bundle index. Do not edit.
166
- */
167
-
168
- export { SuggestionItemGroup };
169
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs","sources":["../../../../libs/ui5-webcomponents/suggestion-item-group/index.ts","../../../../libs/ui5-webcomponents/suggestion-item-group/fundamental-ngx-ui5-webcomponents-suggestion-item-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 DestroyRef\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/SuggestionItemGroup.js';\nimport { default as _SuggestionItemGroup } from '@ui5/webcomponents/dist/SuggestionItemGroup.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\n\nimport { default as WrappingType } from '@ui5/webcomponents/dist/types/WrappingType.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-suggestion-item-group, [ui5-suggestion-item-group]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5SuggestionItemGroup',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SuggestionItemGroup implements AfterViewInit {\n\n /**\n * Defines the accessible name of the header.\n */\n headerAccessibleName = input<typeof _SuggestionItemGroup.prototype.headerAccessibleName | undefined>();\n\n /**\n * Defines the header text of the group.\n */\n headerText = input<typeof _SuggestionItemGroup.prototype.headerText | undefined>();\n\n /**\n * Defines if the text of the component should wrap when it's too long.\nWhen set to \"Normal\", the content (title, description) will be wrapped\nusing the `ui5-expandable-text` component.<br/>\n\nThe text can wrap up to 100 characters on small screens (size S) and\nup to 300 characters on larger screens (size M and above). When text exceeds\nthese limits, it truncates with an ellipsis followed by a text expansion trigger.\n\nAvailable options are:\n- `None` (default) - The text will truncate with an ellipsis.\n- `Normal` - The text will wrap (without truncation).\n */\n wrappingType = input<typeof _SuggestionItemGroup.prototype.wrappingType | undefined>(\"None\"); // className is now passed\n\n\n\n /**\n * Fired when a movable list item is dropped onto a drop target.\n\n**Note:** `move` event is fired only if there was a preceding `move-over` with prevented default action.\n */\n ui5Move = output<UI5CustomEvent<_SuggestionItemGroup, 'move'>>();\n\n /**\n * Fired when a movable list item is moved over a potential drop target during a dragging operation.\n\nIf the new position is valid, prevent the default action of the event using `preventDefault()`.\n */\n ui5MoveOver = output<UI5CustomEvent<_SuggestionItemGroup, 'move-over'>>();\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 <code>ui5-suggestion-item-group</code>.\n * - **header**: Defines the header of the component.\n\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\n *\n * @example\n * ```html\n * <ui5-suggestion-item-group>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-suggestion-item-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 <code>ui5-suggestion-item-group</code>.\"\n },\n {\n \"name\": \"header\",\n \"description\": \"Defines the header of the component.\\n\\n**Note:** Using this slot, the default header text of group and the value of `headerText` property will be overwritten.\"\n }\n ];\n\n\n public elementRef: ElementRef<_SuggestionItemGroup> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\n * Content density observer is injected to activate automatic CSS class and\n * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.\n * @private\n */\n private readonly _contentDensityObserver = inject(ContentDensityObserver);\n private readonly _destroyRef = inject(DestroyRef);\n\n get element(): _SuggestionItemGroup {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'headerAccessibleName',\n 'headerText',\n 'wrappingType',\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, (): void => {\n effect((): void => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Skip writes when the signal is undefined and the property is already truthy\n // This prevents clobbering imperatively-set values (e.g., from RouterLink)\n if (value === undefined && wcElement[inputName]) {\n return;\n }\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 'ui5Move',\n 'ui5MoveOver',\n ];\n \n // Synchronize outputs (events)\n const _listeners: Array<() => void> = [];\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 const listener = (e: Event): void => {\n\n this[outputName].emit(e as CustomEvent<any>);\n };\n wcElement.addEventListener(eventName, listener);\n _listeners.push(() => wcElement.removeEventListener(eventName, listener));\n }\n }\n this._destroyRef.onDestroy(() => _listeners.forEach((fn) => fn()));\n \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAyCa,mBAAmB,CAAA;AAZhC,IAAA,WAAA,GAAA;AAcE;;AAEG;AACH,QAAA,IAAA,CAAA,oBAAoB,GAAG,KAAK;4GAA0E;AAEtG;;AAEG;AAC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