@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,184 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/Carousel.js';
4
-
5
- class Carousel {
6
- constructor() {
7
- /**
8
- * Defines the accessible name of the component.
9
- */
10
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
11
- /**
12
- * Defines the IDs of the elements that label the input.
13
- */
14
- this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
15
- /**
16
- * Defines whether the carousel should loop, i.e show the first page after the last page is reached and vice versa.
17
- */
18
- this.cyclic = input(false, { ...(ngDevMode ? { debugName: "cyclic" } : {}), transform: booleanAttribute });
19
- /**
20
- * Defines the number of items per page depending on the carousel width.
21
-
22
- - 'S' for screens smaller than 600 pixels.
23
- - 'M' for screens greater than or equal to 600 pixels and smaller than 1024 pixels.
24
- - 'L' for screens greater than or equal to 1024 pixels and smaller than 1440 pixels.
25
- - 'XL' for screens greater than or equal to 1440 pixels.
26
-
27
- One item per page is shown by default.
28
- */
29
- this.itemsPerPage = input("S1 M1 L1 XL1", ...(ngDevMode ? [{ debugName: "itemsPerPage" }] : []));
30
- /**
31
- * Defines the visibility of the navigation arrows.
32
- If set to true the navigation arrows will be hidden.
33
- */
34
- this.hideNavigationArrows = input(false, { ...(ngDevMode ? { debugName: "hideNavigationArrows" } : {}), transform: booleanAttribute });
35
- /**
36
- * Defines the visibility of the page indicator.
37
- If set to true the page indicator will be hidden.
38
- */
39
- this.hidePageIndicator = input(false, { ...(ngDevMode ? { debugName: "hidePageIndicator" } : {}), transform: booleanAttribute });
40
- /**
41
- * Defines the style of the page indicator.
42
- Available options are:
43
-
44
- - `Default` - The page indicator will be visualized as dots if there are fewer than 9 pages. If there are more pages, the page indicator will switch to displaying the current page and the total number of pages. (e.g. X of Y)
45
- - `Numeric` - The page indicator will display the current page and the total number of pages. (e.g. X of Y)
46
- */
47
- this.pageIndicatorType = input("Default", ...(ngDevMode ? [{ debugName: "pageIndicatorType" }] : []));
48
- /**
49
- * Defines the carousel's background design.
50
- */
51
- this.backgroundDesign = input("Translucent", ...(ngDevMode ? [{ debugName: "backgroundDesign" }] : []));
52
- /**
53
- * Defines the page indicator background design.
54
- */
55
- this.pageIndicatorBackgroundDesign = input("Solid", ...(ngDevMode ? [{ debugName: "pageIndicatorBackgroundDesign" }] : []));
56
- /**
57
- * Defines the page indicator border design.
58
- */
59
- this.pageIndicatorBorderDesign = input("Solid", ...(ngDevMode ? [{ debugName: "pageIndicatorBorderDesign" }] : []));
60
- /**
61
- * Defines the position of arrows.
62
-
63
- Available options are:
64
-
65
- - `Content` - the arrows are placed on the sides of the current page.
66
- - `Navigation` - the arrows are placed on the sides of the page indicator.
67
- */
68
- this.arrowsPlacement = input("Content", ...(ngDevMode ? [{ debugName: "arrowsPlacement" }] : [])); // className is now passed
69
- /**
70
- * Fired whenever the page changes due to user interaction,
71
- when the user clicks on the navigation arrows or while resizing,
72
- based on the `items-per-page` property.
73
- */
74
- this.ui5Navigate = output();
75
- /**
76
- * Available slots for content projection in this component.
77
- *
78
- * Slots allow you to insert custom content into predefined areas of the web component.
79
- * Use the `slot` attribute on child elements to target specific slots.
80
- *
81
- * - **(default)**: Defines the content of the component.
82
-
83
- **Note:** Items with the `hidden` attribute will be automatically excluded from carousel navigation and page calculations.
84
- They will not be displayed or accessible via keyboard navigation. See [sample](./#carousel-with-hidden-items).
85
- *
86
- * @example
87
- * ```html
88
- * <ui5-carousel>
89
- * <div slot="header">Custom header content</div>
90
- * <p>Default slot content</p>
91
- * </ui5-carousel>
92
- * ```
93
- *
94
- * @readonly
95
- * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
96
- */
97
- this.slots = [
98
- {
99
- "name": "default",
100
- "description": "Defines the content of the component.\n\n**Note:** Items with the `hidden` attribute will be automatically excluded from carousel navigation and page calculations.\nThey will not be displayed or accessible via keyboard navigation. See [sample](./#carousel-with-hidden-items)."
101
- }
102
- ];
103
- this.elementRef = inject(ElementRef);
104
- this.injector = inject(Injector);
105
- }
106
- /**
107
- * The indices of the currently visible items of the component.
108
- * @readonly This property is managed by the web component.
109
- */
110
- get visibleItemsIndices() {
111
- return this.element?.visibleItemsIndices ?? [];
112
- }
113
- get element() {
114
- return this.elementRef.nativeElement;
115
- }
116
- ngAfterViewInit() {
117
- const wcElement = this.element;
118
- const inputsToSync = [
119
- 'accessibleName',
120
- 'accessibleNameRef',
121
- 'cyclic',
122
- 'itemsPerPage',
123
- 'hideNavigationArrows',
124
- 'hidePageIndicator',
125
- 'pageIndicatorType',
126
- 'backgroundDesign',
127
- 'pageIndicatorBackgroundDesign',
128
- 'pageIndicatorBorderDesign',
129
- 'arrowsPlacement',
130
- ];
131
- // Synchronize inputs (properties)
132
- for (const inputName of inputsToSync) {
133
- // Find the corresponding camelCase signal property on the Angular component
134
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
135
- // Use the Injector to run the effect in the correct context
136
- if (this[signalName] && typeof this[signalName] === 'function') {
137
- runInInjectionContext(this.injector, () => {
138
- effect(() => {
139
- // Read the signal value
140
- const value = this[signalName]();
141
- if (wcElement) {
142
- // Write the value to the Web Component's property
143
- wcElement[inputName] = value;
144
- }
145
- });
146
- });
147
- }
148
- }
149
- const outputsToSync = [
150
- 'ui5Navigate',
151
- ];
152
- // Synchronize outputs (events)
153
- for (const outputName of outputsToSync) {
154
- // Map Angular output name to UI5 web component event name
155
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
156
- // Ensure the output property exists and has an emit function before adding listener
157
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
158
- // Cast the listener to the correct type to satisfy TypeScript
159
- wcElement.addEventListener(eventName, (e) => {
160
- this[outputName].emit(e);
161
- });
162
- }
163
- }
164
- }
165
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Carousel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
166
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: Carousel, isStandalone: true, selector: "ui5-carousel, [ui5-carousel]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, cyclic: { classPropertyName: "cyclic", publicName: "cyclic", isSignal: true, isRequired: false, transformFunction: null }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", isSignal: true, isRequired: false, transformFunction: null }, hideNavigationArrows: { classPropertyName: "hideNavigationArrows", publicName: "hideNavigationArrows", isSignal: true, isRequired: false, transformFunction: null }, hidePageIndicator: { classPropertyName: "hidePageIndicator", publicName: "hidePageIndicator", isSignal: true, isRequired: false, transformFunction: null }, pageIndicatorType: { classPropertyName: "pageIndicatorType", publicName: "pageIndicatorType", isSignal: true, isRequired: false, transformFunction: null }, backgroundDesign: { classPropertyName: "backgroundDesign", publicName: "backgroundDesign", isSignal: true, isRequired: false, transformFunction: null }, pageIndicatorBackgroundDesign: { classPropertyName: "pageIndicatorBackgroundDesign", publicName: "pageIndicatorBackgroundDesign", isSignal: true, isRequired: false, transformFunction: null }, pageIndicatorBorderDesign: { classPropertyName: "pageIndicatorBorderDesign", publicName: "pageIndicatorBorderDesign", isSignal: true, isRequired: false, transformFunction: null }, arrowsPlacement: { classPropertyName: "arrowsPlacement", publicName: "arrowsPlacement", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Navigate: "ui5Navigate" }, exportAs: ["ui5Carousel"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
167
- }
168
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Carousel, decorators: [{
169
- type: Component,
170
- args: [{
171
- standalone: true,
172
- selector: 'ui5-carousel, [ui5-carousel]',
173
- template: '<ng-content></ng-content>',
174
- exportAs: 'ui5Carousel',
175
- changeDetection: ChangeDetectionStrategy.OnPush,
176
- }]
177
- }], propDecorators: { accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }], cyclic: [{ type: i0.Input, args: [{ isSignal: true, alias: "cyclic", required: false }] }], itemsPerPage: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemsPerPage", required: false }] }], hideNavigationArrows: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideNavigationArrows", required: false }] }], hidePageIndicator: [{ type: i0.Input, args: [{ isSignal: true, alias: "hidePageIndicator", required: false }] }], pageIndicatorType: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageIndicatorType", required: false }] }], backgroundDesign: [{ type: i0.Input, args: [{ isSignal: true, alias: "backgroundDesign", required: false }] }], pageIndicatorBackgroundDesign: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageIndicatorBackgroundDesign", required: false }] }], pageIndicatorBorderDesign: [{ type: i0.Input, args: [{ isSignal: true, alias: "pageIndicatorBorderDesign", required: false }] }], arrowsPlacement: [{ type: i0.Input, args: [{ isSignal: true, alias: "arrowsPlacement", required: false }] }], ui5Navigate: [{ type: i0.Output, args: ["ui5Navigate"] }] } });
178
-
179
- /**
180
- * Generated bundle index. Do not edit.
181
- */
182
-
183
- export { Carousel };
184
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-carousel.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-carousel.mjs","sources":["../../../../libs/ui5-webcomponents/carousel/index.ts","../../../../libs/ui5-webcomponents/carousel/fundamental-ngx-ui5-webcomponents-carousel.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/Carousel.js';\nimport { default as _Carousel } from '@ui5/webcomponents/dist/Carousel.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\n\nimport { default as CarouselPageIndicatorType } from '@ui5/webcomponents/dist/types/CarouselPageIndicatorType.js';\nimport { default as BackgroundDesign } from '@ui5/webcomponents/dist/types/BackgroundDesign.js';\nimport { default as BorderDesign } from '@ui5/webcomponents/dist/types/BorderDesign.js';\nimport { default as CarouselArrowsPlacement } from '@ui5/webcomponents/dist/types/CarouselArrowsPlacement.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-carousel, [ui5-carousel]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Carousel',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Carousel implements AfterViewInit {\n\n /**\n * Defines the accessible name of the component.\n */\n accessibleName = input<typeof _Carousel.prototype.accessibleName | undefined>();\n\n /**\n * Defines the IDs of the elements that label the input.\n */\n accessibleNameRef = input<typeof _Carousel.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines whether the carousel should loop, i.e show the first page after the last page is reached and vice versa.\n */\n cyclic = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the number of items per page depending on the carousel width.\n\n- 'S' for screens smaller than 600 pixels.\n- 'M' for screens greater than or equal to 600 pixels and smaller than 1024 pixels.\n- 'L' for screens greater than or equal to 1024 pixels and smaller than 1440 pixels.\n- 'XL' for screens greater than or equal to 1440 pixels.\n\nOne item per page is shown by default.\n */\n itemsPerPage = input<typeof _Carousel.prototype.itemsPerPage | undefined>(\"S1 M1 L1 XL1\");\n\n /**\n * Defines the visibility of the navigation arrows.\nIf set to true the navigation arrows will be hidden.\n */\n hideNavigationArrows = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the visibility of the page indicator.\nIf set to true the page indicator will be hidden.\n */\n hidePageIndicator = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the style of the page indicator.\nAvailable options are:\n\n- `Default` - The page indicator will be visualized as dots if there are fewer than 9 pages. If there are more pages, the page indicator will switch to displaying the current page and the total number of pages. (e.g. X of Y)\n- `Numeric` - The page indicator will display the current page and the total number of pages. (e.g. X of Y)\n */\n pageIndicatorType = input<typeof _Carousel.prototype.pageIndicatorType | undefined>(\"Default\");\n\n /**\n * Defines the carousel's background design.\n */\n backgroundDesign = input<typeof _Carousel.prototype.backgroundDesign | undefined>(\"Translucent\");\n\n /**\n * Defines the page indicator background design.\n */\n pageIndicatorBackgroundDesign = input<typeof _Carousel.prototype.pageIndicatorBackgroundDesign | undefined>(\"Solid\");\n\n /**\n * Defines the page indicator border design.\n */\n pageIndicatorBorderDesign = input<typeof _Carousel.prototype.pageIndicatorBorderDesign | undefined>(\"Solid\");\n\n /**\n * Defines the position of arrows.\n\nAvailable options are:\n\n- `Content` - the arrows are placed on the sides of the current page.\n- `Navigation` - the arrows are placed on the sides of the page indicator.\n */\n arrowsPlacement = input<typeof _Carousel.prototype.arrowsPlacement | undefined>(\"Content\"); // className is now passed\n\n /**\n * The indices of the currently visible items of the component.\n * @readonly This property is managed by the web component.\n */\n get visibleItemsIndices(): Array<number> {\n return this.element?.visibleItemsIndices ?? [];\n }\n\n\n /**\n * Fired whenever the page changes due to user interaction,\nwhen the user clicks on the navigation arrows or while resizing,\nbased on the `items-per-page` property.\n */\n ui5Navigate = output<UI5CustomEvent<_Carousel, 'navigate'>>();\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**Note:** Items with the `hidden` attribute will be automatically excluded from carousel navigation and page calculations.\nThey will not be displayed or accessible via keyboard navigation. See [sample](./#carousel-with-hidden-items).\n *\n * @example\n * ```html\n * <ui5-carousel>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-carousel>\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**Note:** Items with the `hidden` attribute will be automatically excluded from carousel navigation and page calculations.\\nThey will not be displayed or accessible via keyboard navigation. See [sample](./#carousel-with-hidden-items).\"\n }\n ];\n\n\n public elementRef: ElementRef<_Carousel> = inject(ElementRef);\n public injector = inject(Injector);\n\n get element(): _Carousel {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'cyclic',\n 'itemsPerPage',\n 'hideNavigationArrows',\n 'hidePageIndicator',\n 'pageIndicatorType',\n 'backgroundDesign',\n 'pageIndicatorBackgroundDesign',\n 'pageIndicatorBorderDesign',\n 'arrowsPlacement',\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 'ui5Navigate',\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAgCa,QAAQ,CAAA;AAPrB,IAAA,WAAA,GAAA;AASE;;AAEG;QACH,IAAA,CAAA,cAAc,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAyD;AAE/E;;AAEG;QACH,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,mBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAA4D;AAErF;;AAEG;QACH,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,KAAK,mDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEtD;;;;;;;;;AASG;AACH,QAAA,IAAA,CAAA,YAAY,GAAG,KAAK,CAAsD,cAAc,wDAAC;AAEzF;;;AAGG;QACH,IAAA,CAAA,oBAAoB,GAAG,KAAK,CAAC,KAAK,iEAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEpE;;;AAGG;QACH,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAC,KAAK,8DAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEjE;;;;;;AAMG;AACH,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAA2D,SAAS,6DAAC;AAE9F;;AAEG;AACH,QAAA,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAA0D,aAAa,4DAAC;AAEhG;;AAEG;AACH,QAAA,IAAA,CAAA,6BAA6B,GAAG,KAAK,CAAuE,OAAO,yEAAC;AAEpH;;AAEG;AACH,QAAA,IAAA,CAAA,yBAAyB,GAAG,KAAK,CAAmE,OAAO,qEAAC;AAE5G;;;;;;;AAOG;AACH,QAAA,IAAA,CAAA,eAAe,G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BAPpB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,8BAA8B;AACxC,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,aAAa;oBACvB,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;AC/BD;;AAEG;;;;"}
@@ -1,197 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/CheckBox.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 CheckBox {
8
- constructor() {
9
- /**
10
- * Receives id(or many ids) of the elements that label the component
11
- */
12
- this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
13
- /**
14
- * Defines the accessible ARIA name of the component.
15
- */
16
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
17
- /**
18
- * Defines whether the component is disabled.
19
-
20
- **Note:** A disabled component is completely noninteractive.
21
- */
22
- this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
23
- /**
24
- * Defines whether the component is read-only.
25
-
26
- **Note:** A read-only component is not editable,
27
- but still provides visual feedback upon user interaction.
28
- */
29
- this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : {}), transform: booleanAttribute });
30
- /**
31
- * Determines whether the `ui5-checkbox` is in display only state.
32
-
33
- When set to `true`, the `ui5-checkbox` is not interactive, not editable, not focusable
34
- and not in the tab chain. This setting is used for forms in review mode.
35
-
36
- **Note:** When the property `disabled` is set to `true` this property has no effect.
37
- */
38
- this.displayOnly = input(false, { ...(ngDevMode ? { debugName: "displayOnly" } : {}), transform: booleanAttribute });
39
- /**
40
- * Defines whether the component is required.
41
-
42
- **Note:** We advise against using the text property of the checkbox when there is a
43
- label associated with it to avoid having two required asterisks.
44
- */
45
- this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : {}), transform: booleanAttribute });
46
- /**
47
- * Defines whether the component is displayed as partially checked.
48
-
49
- **Note:** The indeterminate state can be set only programmatically and can’t be achieved by user
50
- interaction and the resulting visual state depends on the values of the `indeterminate`
51
- and `checked` properties:
52
-
53
- - If the component is checked and indeterminate, it will be displayed as partially checked
54
- - If the component is checked and it is not indeterminate, it will be displayed as checked
55
- - If the component is not checked, it will be displayed as not checked regardless value of the indeterminate attribute
56
- */
57
- this.indeterminate = input(false, { ...(ngDevMode ? { debugName: "indeterminate" } : {}), transform: booleanAttribute });
58
- /**
59
- * Defines if the component is checked.
60
-
61
- **Note:** The property can be changed with user interaction,
62
- either by cliking/tapping on the component, or by
63
- pressing the Enter or Space key.
64
- */
65
- this.checked = input(false, { ...(ngDevMode ? { debugName: "checked" } : {}), transform: booleanAttribute });
66
- /**
67
- * Defines the text of the component.
68
- */
69
- this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
70
- /**
71
- * Defines the value state of the component.
72
- */
73
- this.valueState = input("None", ...(ngDevMode ? [{ debugName: "valueState" }] : []));
74
- /**
75
- * Defines whether the component text wraps when there is not enough space.
76
-
77
- **Note:** for option "Normal" the text will wrap and the words will not be broken based on hyphenation.
78
- **Note:** for option "None" the text will be truncated with an ellipsis.
79
- */
80
- this.wrappingType = input("Normal", ...(ngDevMode ? [{ debugName: "wrappingType" }] : []));
81
- /**
82
- * Determines the name by which the component will be identified upon submission in an HTML form.
83
-
84
- **Note:** This property is only applicable within the context of an HTML Form element.
85
- */
86
- this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
87
- /**
88
- * Defines the form value of the component that is submitted when the checkbox is checked.
89
-
90
- When a form containing `ui5-checkbox` elements is submitted, only the values of the
91
- **checked** checkboxes are included in the form data sent to the server. Unchecked
92
- checkboxes do not contribute any data to the form submission.
93
-
94
- This property is particularly useful for **checkbox groups**, where multiple checkboxes with the same `name` but different `value` properties can be used to represent a set of related options.
95
- */
96
- this.value = input("on", ...(ngDevMode ? [{ debugName: "value" }] : [])); // className is now passed
97
- /**
98
- * Fired when the component checked state changes.
99
- */
100
- this.ui5Change = output();
101
- this.elementRef = inject(ElementRef);
102
- this.injector = inject(Injector);
103
- }
104
- get element() {
105
- return this.elementRef.nativeElement;
106
- }
107
- ngAfterViewInit() {
108
- const wcElement = this.element;
109
- const inputsToSync = [
110
- 'accessibleNameRef',
111
- 'accessibleName',
112
- 'disabled',
113
- 'readonly',
114
- 'displayOnly',
115
- 'required',
116
- 'indeterminate',
117
- 'checked',
118
- 'text',
119
- 'valueState',
120
- 'wrappingType',
121
- 'name',
122
- 'value',
123
- ];
124
- // Synchronize inputs (properties)
125
- for (const inputName of inputsToSync) {
126
- // Find the corresponding camelCase signal property on the Angular component
127
- const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
128
- // Use the Injector to run the effect in the correct context
129
- if (this[signalName] && typeof this[signalName] === 'function') {
130
- runInInjectionContext(this.injector, () => {
131
- effect(() => {
132
- // Read the signal value
133
- const value = this[signalName]();
134
- if (wcElement) {
135
- // Write the value to the Web Component's property
136
- wcElement[inputName] = value;
137
- }
138
- });
139
- });
140
- }
141
- }
142
- const outputsToSync = [
143
- 'ui5Change',
144
- ];
145
- // Synchronize outputs (events)
146
- for (const outputName of outputsToSync) {
147
- // Map Angular output name to UI5 web component event name
148
- const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
149
- // Ensure the output property exists and has an emit function before adding listener
150
- if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
151
- // Cast the listener to the correct type to satisfy TypeScript
152
- wcElement.addEventListener(eventName, (e) => {
153
- this[outputName].emit(e);
154
- });
155
- }
156
- }
157
- }
158
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CheckBox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
159
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: CheckBox, isStandalone: true, selector: "ui5-checkbox, [ui5-checkbox]", inputs: { accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, displayOnly: { classPropertyName: "displayOnly", publicName: "displayOnly", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, valueState: { classPropertyName: "valueState", publicName: "valueState", isSignal: true, isRequired: false, transformFunction: null }, wrappingType: { classPropertyName: "wrappingType", publicName: "wrappingType", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change" }, providers: [
160
- {
161
- provide: CVA_CONFIG,
162
- useValue: {
163
- property: 'checked',
164
- events: ['change'],
165
- transformValue: (v) => !!v
166
- }
167
- }
168
- ], exportAs: ["ui5CheckBox"], hostDirectives: [{ directive: i1.GenericControlValueAccessor }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
169
- }
170
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CheckBox, decorators: [{
171
- type: Component,
172
- args: [{
173
- standalone: true,
174
- selector: 'ui5-checkbox, [ui5-checkbox]',
175
- template: '<ng-content></ng-content>',
176
- exportAs: 'ui5CheckBox',
177
- hostDirectives: [GenericControlValueAccessor],
178
- providers: [
179
- {
180
- provide: CVA_CONFIG,
181
- useValue: {
182
- property: 'checked',
183
- events: ['change'],
184
- transformValue: (v) => !!v
185
- }
186
- }
187
- ],
188
- changeDetection: ChangeDetectionStrategy.OnPush,
189
- }]
190
- }], propDecorators: { accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }], accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], displayOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "displayOnly", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], indeterminate: [{ type: i0.Input, args: [{ isSignal: true, alias: "indeterminate", required: false }] }], checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], valueState: [{ type: i0.Input, args: [{ isSignal: true, alias: "valueState", required: false }] }], wrappingType: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrappingType", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], ui5Change: [{ type: i0.Output, args: ["ui5Change"] }] } });
191
-
192
- /**
193
- * Generated bundle index. Do not edit.
194
- */
195
-
196
- export { CheckBox };
197
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-check-box.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-check-box.mjs","sources":["../../../../libs/ui5-webcomponents/check-box/index.ts","../../../../libs/ui5-webcomponents/check-box/fundamental-ngx-ui5-webcomponents-check-box.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/CheckBox.js';\nimport { default as _CheckBox } from '@ui5/webcomponents/dist/CheckBox.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';\nimport { default as WrappingType } from '@ui5/webcomponents/dist/types/WrappingType.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-checkbox, [ui5-checkbox]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5CheckBox',\n hostDirectives: [GenericControlValueAccessor],\n providers: [\n {\n provide: CVA_CONFIG,\n useValue: {\n property: 'checked',\n events: ['change'],\n transformValue: (v) => !!v\n }\n }\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CheckBox implements AfterViewInit {\n\n /**\n * Receives id(or many ids) of the elements that label the component\n */\n accessibleNameRef = input<typeof _CheckBox.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _CheckBox.prototype.accessibleName | undefined>();\n\n /**\n * Defines whether the component is disabled.\n\n**Note:** A disabled component is completely noninteractive.\n */\n disabled = input(false, { transform: booleanAttribute });\n\n /**\n * Defines whether the component is read-only.\n\n**Note:** A read-only component is not editable,\nbut still provides visual feedback upon user interaction.\n */\n readonly = input(false, { transform: booleanAttribute });\n\n /**\n * Determines whether the `ui5-checkbox` is in display only state.\n\nWhen set to `true`, the `ui5-checkbox` is not interactive, not editable, not focusable\nand not in the tab chain. This setting is used for forms in review mode.\n\n**Note:** When the property `disabled` is set to `true` this property has no effect.\n */\n displayOnly = input(false, { transform: booleanAttribute });\n\n /**\n * Defines whether the component is required.\n\n**Note:** We advise against using the text property of the checkbox when there is a\nlabel associated with it to avoid having two required asterisks.\n */\n required = input(false, { transform: booleanAttribute });\n\n /**\n * Defines whether the component is displayed as partially checked.\n\n**Note:** The indeterminate state can be set only programmatically and can’t be achieved by user\ninteraction and the resulting visual state depends on the values of the `indeterminate`\nand `checked` properties:\n\n- If the component is checked and indeterminate, it will be displayed as partially checked\n- If the component is checked and it is not indeterminate, it will be displayed as checked\n- If the component is not checked, it will be displayed as not checked regardless value of the indeterminate attribute\n */\n indeterminate = input(false, { transform: booleanAttribute });\n\n /**\n * Defines if the component is checked.\n\n**Note:** The property can be changed with user interaction,\neither by cliking/tapping on the component, or by\npressing the Enter or Space key.\n */\n checked = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the text of the component.\n */\n text = input<typeof _CheckBox.prototype.text | undefined>();\n\n /**\n * Defines the value state of the component.\n */\n valueState = input<typeof _CheckBox.prototype.valueState | undefined>(\"None\");\n\n /**\n * Defines whether the component text wraps when there is not enough space.\n\n**Note:** for option \"Normal\" the text will wrap and the words will not be broken based on hyphenation.\n**Note:** for option \"None\" the text will be truncated with an ellipsis.\n */\n wrappingType = input<typeof _CheckBox.prototype.wrappingType | undefined>(\"Normal\");\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 _CheckBox.prototype.name | undefined>();\n\n /**\n * Defines the form value of the component that is submitted when the checkbox is checked.\n\nWhen a form containing `ui5-checkbox` elements is submitted, only the values of the\n**checked** checkboxes are included in the form data sent to the server. Unchecked\ncheckboxes do not contribute any data to the form submission.\n\nThis property is particularly useful for **checkbox groups**, where multiple checkboxes with the same `name` but different `value` properties can be used to represent a set of related options.\n */\n value = input<typeof _CheckBox.prototype.value | undefined>(\"on\"); // className is now passed\n\n\n\n /**\n * Fired when the component checked state changes.\n */\n ui5Change = output<UI5CustomEvent<_CheckBox, 'change'>>();\n\n\n public elementRef: ElementRef<_CheckBox> = inject(ElementRef);\n public injector = inject(Injector);\n\n get element(): _CheckBox {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleNameRef',\n 'accessibleName',\n 'disabled',\n 'readonly',\n 'displayOnly',\n 'required',\n 'indeterminate',\n 'checked',\n 'text',\n 'valueState',\n 'wrappingType',\n 'name',\n 'value',\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","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAyCa,QAAQ,CAAA;AAlBrB,IAAA,WAAA,GAAA;AAoBE;;AAEG;QACH,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAA,IAAA,SAAA,G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Aa;oBACvB,cAAc,EAAE,CAAC,2BAA2B,CAAC;AAC7C,oBAAA,SAAS,EAAE;AACT,wBAAA;AACE,4BAAA,OAAO,EAAE,UAAU;AACnB,4BAAA,QAAQ,EAAE;AACR,gCAAA,QAAQ,EAAE,SAAS;gCACnB,MAAM,EAAE,CAAC,QAAQ,CAAC;gCAClB,cAAc,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC;AAC1B;AACF;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACxCD;;AAEG;;;;"}
@@ -1,70 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { input, booleanAttribute, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
- import '@ui5/webcomponents/dist/ColorPaletteItem.js';
4
-
5
- class ColorPaletteItem {
6
- constructor() {
7
- /**
8
- * Defines the colour of the component.
9
-
10
- **Note:** The value should be a valid CSS color.
11
- */
12
- this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : []));
13
- /**
14
- * Defines if the component is selected.
15
-
16
- **Note:** Only one item must be selected per <code>ui5-color-palette</code>.
17
- If more than one item is defined as selected, the last one would be considered as the selected one.
18
- */
19
- this.selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : {}), transform: booleanAttribute }); // className is now passed
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
- 'selected',
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
- }
51
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPaletteItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
52
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: ColorPaletteItem, isStandalone: true, selector: "ui5-color-palette-item, [ui5-color-palette-item]", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null } }, exportAs: ["ui5ColorPaletteItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
53
- }
54
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPaletteItem, decorators: [{
55
- type: Component,
56
- args: [{
57
- standalone: true,
58
- selector: 'ui5-color-palette-item, [ui5-color-palette-item]',
59
- template: '<ng-content></ng-content>',
60
- exportAs: 'ui5ColorPaletteItem',
61
- changeDetection: ChangeDetectionStrategy.OnPush,
62
- }]
63
- }], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }] } });
64
-
65
- /**
66
- * Generated bundle index. Do not edit.
67
- */
68
-
69
- export { ColorPaletteItem };
70
- //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-color-palette-item.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-color-palette-item.mjs","sources":["../../../../libs/ui5-webcomponents/color-palette-item/index.ts","../../../../libs/ui5-webcomponents/color-palette-item/fundamental-ngx-ui5-webcomponents-color-palette-item.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/ColorPaletteItem.js';\nimport { default as _ColorPaletteItem } from '@ui5/webcomponents/dist/ColorPaletteItem.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\n\n\n\n@Component({\n standalone: true,\n selector: 'ui5-color-palette-item, [ui5-color-palette-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5ColorPaletteItem',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ColorPaletteItem implements AfterViewInit {\n\n /**\n * Defines the colour of the component.\n\n**Note:** The value should be a valid CSS color.\n */\n value = input<typeof _ColorPaletteItem.prototype.value | undefined>(\"\");\n\n /**\n * Defines if the component is selected.\n\n**Note:** Only one item must be selected per <code>ui5-color-palette</code>.\nIf more than one item is defined as selected, the last one would be considered as the selected one.\n */\n selected = input(false, { transform: booleanAttribute }); // className is now passed\n\n\n\n\n\n public elementRef: ElementRef<_ColorPaletteItem> = inject(ElementRef);\n public injector = inject(Injector);\n\n get element(): _ColorPaletteItem {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'value',\n 'selected',\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,gBAAgB,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