@fundamental-ngx/ui5-webcomponents 0.63.2-rc.5 → 0.63.2-rc.7

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 (247) hide show
  1. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs +9 -6
  2. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs.map +1 -1
  3. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs +11 -7
  4. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs.map +1 -1
  5. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs +23 -14
  6. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs.map +1 -1
  7. package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs +11 -7
  8. package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs.map +1 -1
  9. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs +9 -6
  10. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs.map +1 -1
  11. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs +9 -6
  12. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs.map +1 -1
  13. package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs +12 -8
  14. package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs.map +1 -1
  15. package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs +7 -5
  16. package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs.map +1 -1
  17. package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs +30 -18
  18. package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs.map +1 -1
  19. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs +7 -5
  20. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs.map +1 -1
  21. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs +5 -4
  22. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs.map +1 -1
  23. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs +7 -5
  24. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs.map +1 -1
  25. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs +7 -7
  26. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs.map +1 -1
  27. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs +22 -13
  28. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs.map +1 -1
  29. package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs +10 -7
  30. package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs.map +1 -1
  31. package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs +10 -7
  32. package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs.map +1 -1
  33. package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs +22 -14
  34. package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs.map +1 -1
  35. package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs +23 -16
  36. package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs.map +1 -1
  37. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs +8 -6
  38. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs.map +1 -1
  39. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs +17 -12
  40. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs.map +1 -1
  41. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs +7 -5
  42. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs.map +1 -1
  43. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs +12 -8
  44. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs.map +1 -1
  45. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-custom.mjs +7 -5
  46. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-custom.mjs.map +1 -1
  47. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs +9 -6
  48. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs.map +1 -1
  49. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs +9 -6
  50. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs.map +1 -1
  51. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs +26 -18
  52. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs.map +1 -1
  53. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs +41 -25
  54. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs.map +1 -1
  55. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs +44 -27
  56. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs.map +1 -1
  57. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-input.mjs +32 -21
  58. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-input.mjs.map +1 -1
  59. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs +41 -25
  60. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs.map +1 -1
  61. package/fesm2022/fundamental-ngx-ui5-webcomponents-day-picker.mjs +19 -11
  62. package/fesm2022/fundamental-ngx-ui5-webcomponents-day-picker.mjs.map +1 -1
  63. package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs +25 -17
  64. package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs.map +1 -1
  65. package/fesm2022/fundamental-ngx-ui5-webcomponents-drop-indicator.mjs +11 -7
  66. package/fesm2022/fundamental-ngx-ui5-webcomponents-drop-indicator.mjs.map +1 -1
  67. package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs +7 -5
  68. package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs.map +1 -1
  69. package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs +11 -7
  70. package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs.map +1 -1
  71. package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs +31 -19
  72. package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs.map +1 -1
  73. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs +15 -9
  74. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs.map +1 -1
  75. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs +5 -4
  76. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs.map +1 -1
  77. package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs +21 -12
  78. package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs.map +1 -1
  79. package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs +12 -8
  80. package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs.map +1 -1
  81. package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs +32 -21
  82. package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs.map +1 -1
  83. package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs +9 -7
  84. package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs.map +1 -1
  85. package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs +30 -17
  86. package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs.map +1 -1
  87. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs +18 -12
  88. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs.map +1 -1
  89. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group-header.mjs +7 -5
  90. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group-header.mjs.map +1 -1
  91. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs +9 -6
  92. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs.map +1 -1
  93. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs +31 -19
  94. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs.map +1 -1
  95. package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs +34 -20
  96. package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs.map +1 -1
  97. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs +5 -4
  98. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs.map +1 -1
  99. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs +28 -18
  100. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs.map +1 -1
  101. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs +3 -3
  102. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs +15 -10
  103. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs.map +1 -1
  104. package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs +9 -7
  105. package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs.map +1 -1
  106. package/fesm2022/fundamental-ngx-ui5-webcomponents-month-picker.mjs +19 -11
  107. package/fesm2022/fundamental-ngx-ui5-webcomponents-month-picker.mjs.map +1 -1
  108. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-custom.mjs +7 -5
  109. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-custom.mjs.map +1 -1
  110. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs +9 -6
  111. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs.map +1 -1
  112. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs +10 -7
  113. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs.map +1 -1
  114. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs +28 -20
  115. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs.map +1 -1
  116. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs +33 -22
  117. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs.map +1 -1
  118. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs +10 -7
  119. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs.map +1 -1
  120. package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs +12 -8
  121. package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs.map +1 -1
  122. package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs +15 -11
  123. package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs.map +1 -1
  124. package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs +32 -21
  125. package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs.map +1 -1
  126. package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs +12 -8
  127. package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs.map +1 -1
  128. package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs +21 -14
  129. package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs.map +1 -1
  130. package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs +25 -16
  131. package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs.map +1 -1
  132. package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs +22 -14
  133. package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs.map +1 -1
  134. package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs +32 -21
  135. package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs.map +1 -1
  136. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs +17 -11
  137. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs.map +1 -1
  138. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs +18 -11
  139. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs.map +1 -1
  140. package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs +28 -17
  141. package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs.map +1 -1
  142. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-handle.mjs +3 -3
  143. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-tooltip.mjs +3 -3
  144. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs +23 -15
  145. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs.map +1 -1
  146. package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs +7 -5
  147. package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs.map +1 -1
  148. package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs +13 -9
  149. package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs.map +1 -1
  150. package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs +26 -16
  151. package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs.map +1 -1
  152. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs +5 -4
  153. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs.map +1 -1
  154. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs +9 -6
  155. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs.map +1 -1
  156. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs +7 -5
  157. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs.map +1 -1
  158. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-list-item.mjs +31 -19
  159. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-list-item.mjs.map +1 -1
  160. package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs +23 -15
  161. package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs.map +1 -1
  162. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs +13 -9
  163. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs.map +1 -1
  164. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs +3 -3
  165. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs +14 -10
  166. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs.map +1 -1
  167. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs +6 -5
  168. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs.map +1 -1
  169. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-group-row.mjs +10 -8
  170. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-group-row.mjs.map +1 -1
  171. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs +9 -6
  172. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs.map +1 -1
  173. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs +3 -3
  174. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs +16 -10
  175. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs.map +1 -1
  176. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs +4 -4
  177. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs.map +1 -1
  178. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs +5 -5
  179. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs.map +1 -1
  180. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs +8 -6
  181. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs.map +1 -1
  182. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs +10 -8
  183. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs.map +1 -1
  184. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs +9 -6
  185. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs.map +1 -1
  186. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs +7 -5
  187. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs.map +1 -1
  188. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs +7 -5
  189. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs.map +1 -1
  190. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs +9 -6
  191. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs.map +1 -1
  192. package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs +17 -11
  193. package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs.map +1 -1
  194. package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs +13 -9
  195. package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs.map +1 -1
  196. package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs +30 -19
  197. package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs.map +1 -1
  198. package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs +7 -5
  199. package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs.map +1 -1
  200. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs +3 -3
  201. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker-clock.mjs +3 -3
  202. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs +29 -18
  203. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs.map +1 -1
  204. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-clocks.mjs +7 -5
  205. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-clocks.mjs.map +1 -1
  206. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-inputs.mjs +7 -5
  207. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-inputs.mjs.map +1 -1
  208. package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs +9 -6
  209. package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs.map +1 -1
  210. package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs +8 -6
  211. package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs.map +1 -1
  212. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs +31 -19
  213. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs.map +1 -1
  214. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-spin-button.mjs +31 -19
  215. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-spin-button.mjs.map +1 -1
  216. package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs +6 -5
  217. package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs.map +1 -1
  218. package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs +13 -10
  219. package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs.map +1 -1
  220. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs +26 -16
  221. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs.map +1 -1
  222. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-item.mjs +6 -5
  223. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-item.mjs.map +1 -1
  224. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs +4 -4
  225. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs.map +1 -1
  226. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs +17 -11
  227. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs.map +1 -1
  228. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs +6 -5
  229. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs.map +1 -1
  230. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs +8 -6
  231. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs.map +1 -1
  232. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs +13 -8
  233. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs.map +1 -1
  234. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs +26 -18
  235. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs.map +1 -1
  236. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs +29 -19
  237. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs.map +1 -1
  238. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs +19 -11
  239. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs.map +1 -1
  240. package/fesm2022/fundamental-ngx-ui5-webcomponents-utils.mjs +3 -3
  241. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-picker.mjs +19 -11
  242. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-picker.mjs.map +1 -1
  243. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-range-picker.mjs +19 -11
  244. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-range-picker.mjs.map +1 -1
  245. package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs +1916 -1267
  246. package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs.map +1 -1
  247. package/package.json +11 -10
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-card.mjs","sources":["../../../../libs/ui5-webcomponents/card/index.ts","../../../../libs/ui5-webcomponents/card/fundamental-ngx-ui5-webcomponents-card.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/Card.js';\nimport { default as _Card } from '@ui5/webcomponents/dist/Card.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@Component({\n standalone: true,\n selector: 'ui5-card, [ui5-card]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Card',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Card implements AfterViewInit {\n\n /**\n * Defines the accessible name of the component, which is used as the name of the card region and should be unique per card.\n\n**Note:** `accessibleName` should be always set, unless `accessibleNameRef` is set.\n */\n accessibleName = input<typeof _Card.prototype.accessibleName | undefined>();\n\n /**\n * Defines the IDs of the elements that label the component.\n */\n accessibleNameRef = input<typeof _Card.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines if a loading indicator would be displayed over the card.\n */\n loading = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the delay in milliseconds, after which the loading indicator will show up for this card.\n */\n loadingDelay = input<typeof _Card.prototype.loadingDelay | undefined>(1000); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the component.\n * - **header**: Defines the header of the component.\n\n**Note:** Use `ui5-card-header` for the intended design.\n *\n * @example\n * ```html\n * <ui5-card>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-card>\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 \"name\": \"header\",\n \"description\": \"Defines the header of the component.\\n\\n**Note:** Use `ui5-card-header` for the intended design.\",\n \"since\": \"1.0.0-rc.15\"\n }\n ];\n\n\n public elementRef: ElementRef<_Card> = 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\n get element(): _Card {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'loading',\n 'loadingDelay',\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 // 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 \n\n }\n}\n\n","/**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,iBAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-card.mjs","sources":["../../../../libs/ui5-webcomponents/card/index.ts","../../../../libs/ui5-webcomponents/card/fundamental-ngx-ui5-webcomponents-card.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/Card.js';\nimport { default as _Card } from '@ui5/webcomponents/dist/Card.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@Component({\n standalone: true,\n selector: 'ui5-card, [ui5-card]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Card',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Card implements AfterViewInit {\n\n /**\n * Defines the accessible name of the component, which is used as the name of the card region and should be unique per card.\n\n**Note:** `accessibleName` should be always set, unless `accessibleNameRef` is set.\n */\n accessibleName = input<typeof _Card.prototype.accessibleName | undefined>();\n\n /**\n * Defines the IDs of the elements that label the component.\n */\n accessibleNameRef = input<typeof _Card.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines if a loading indicator would be displayed over the card.\n */\n loading = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the delay in milliseconds, after which the loading indicator will show up for this card.\n */\n loadingDelay = input<typeof _Card.prototype.loadingDelay | undefined>(1000); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the component.\n * - **header**: Defines the header of the component.\n\n**Note:** Use `ui5-card-header` for the intended design.\n *\n * @example\n * ```html\n * <ui5-card>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-card>\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 \"name\": \"header\",\n \"description\": \"Defines the header of the component.\\n\\n**Note:** Use `ui5-card-header` for the intended design.\",\n \"since\": \"1.0.0-rc.15\"\n }\n ];\n\n\n public elementRef: ElementRef<_Card> = 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\n get element(): _Card {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'loading',\n 'loadingDelay',\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 // 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 \n\n }\n}\n\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAuCa,IAAI,CAAA;AAZjB,IAAA,WAAA,GAAA;AAcE;;;;AAIG;AACH,QAAA,IAAA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AA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,YAAA,EAAA,EAAA,iBAAA,EAAA,cAAA,EAAA,UAAA,EAAA,cAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,SAAA,EAPJ;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,SAAA,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,IAAI,EAAA,UAAA,EAAA,CAAA;kBAZhB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sBAAsB;AAChC,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,SAAS;AACnB,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;;;ACtCD;;AAEG;;;;"}
@@ -8,11 +8,13 @@ class Carousel {
8
8
  /**
9
9
  * Defines the accessible name of the component.
10
10
  */
11
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
11
+ this.accessibleName = input(/* @ts-ignore */
12
+ ...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ []));
12
13
  /**
13
14
  * Defines the IDs of the elements that label the input.
14
15
  */
15
- this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
16
+ this.accessibleNameRef = input(/* @ts-ignore */
17
+ ...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : /* istanbul ignore next */ []));
16
18
  /**
17
19
  * Defines the position of arrows.
18
20
 
@@ -21,25 +23,27 @@ class Carousel {
21
23
  - `Content` - the arrows are placed on the sides of the current page.
22
24
  - `Navigation` - the arrows are placed on the sides of the page indicator.
23
25
  */
24
- this.arrowsPlacement = input("Content", ...(ngDevMode ? [{ debugName: "arrowsPlacement" }] : []));
26
+ this.arrowsPlacement = input("Content", /* @ts-ignore */
27
+ ...(ngDevMode ? [{ debugName: "arrowsPlacement" }] : /* istanbul ignore next */ []));
25
28
  /**
26
29
  * Defines the carousel's background design.
27
30
  */
28
- this.backgroundDesign = input("Translucent", ...(ngDevMode ? [{ debugName: "backgroundDesign" }] : []));
31
+ this.backgroundDesign = input("Translucent", /* @ts-ignore */
32
+ ...(ngDevMode ? [{ debugName: "backgroundDesign" }] : /* istanbul ignore next */ []));
29
33
  /**
30
34
  * Defines whether the carousel should loop, i.e show the first page after the last page is reached and vice versa.
31
35
  */
32
- this.cyclic = input(false, { ...(ngDevMode ? { debugName: "cyclic" } : {}), transform: booleanAttribute });
36
+ this.cyclic = input(false, { ...(ngDevMode ? { debugName: "cyclic" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
33
37
  /**
34
38
  * Defines the visibility of the navigation arrows.
35
39
  If set to true the navigation arrows will be hidden.
36
40
  */
37
- this.hideNavigationArrows = input(false, { ...(ngDevMode ? { debugName: "hideNavigationArrows" } : {}), transform: booleanAttribute });
41
+ this.hideNavigationArrows = input(false, { ...(ngDevMode ? { debugName: "hideNavigationArrows" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
38
42
  /**
39
43
  * Defines the visibility of the page indicator.
40
44
  If set to true the page indicator will be hidden.
41
45
  */
42
- this.hidePageIndicator = input(false, { ...(ngDevMode ? { debugName: "hidePageIndicator" } : {}), transform: booleanAttribute });
46
+ this.hidePageIndicator = input(false, { ...(ngDevMode ? { debugName: "hidePageIndicator" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
43
47
  /**
44
48
  * Defines the number of items per page depending on the carousel width.
45
49
 
@@ -50,15 +54,18 @@ class Carousel {
50
54
 
51
55
  One item per page is shown by default.
52
56
  */
53
- this.itemsPerPage = input("S1 M1 L1 XL1", ...(ngDevMode ? [{ debugName: "itemsPerPage" }] : []));
57
+ this.itemsPerPage = input("S1 M1 L1 XL1", /* @ts-ignore */
58
+ ...(ngDevMode ? [{ debugName: "itemsPerPage" }] : /* istanbul ignore next */ []));
54
59
  /**
55
60
  * Defines the page indicator background design.
56
61
  */
57
- this.pageIndicatorBackgroundDesign = input("Solid", ...(ngDevMode ? [{ debugName: "pageIndicatorBackgroundDesign" }] : []));
62
+ this.pageIndicatorBackgroundDesign = input("Solid", /* @ts-ignore */
63
+ ...(ngDevMode ? [{ debugName: "pageIndicatorBackgroundDesign" }] : /* istanbul ignore next */ []));
58
64
  /**
59
65
  * Defines the page indicator border design.
60
66
  */
61
- this.pageIndicatorBorderDesign = input("Solid", ...(ngDevMode ? [{ debugName: "pageIndicatorBorderDesign" }] : []));
67
+ this.pageIndicatorBorderDesign = input("Solid", /* @ts-ignore */
68
+ ...(ngDevMode ? [{ debugName: "pageIndicatorBorderDesign" }] : /* istanbul ignore next */ []));
62
69
  /**
63
70
  * Defines the style of the page indicator.
64
71
  Available options are:
@@ -66,7 +73,8 @@ class Carousel {
66
73
  - `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)
67
74
  - `Numeric` - The page indicator will display the current page and the total number of pages. (e.g. X of Y)
68
75
  */
69
- this.pageIndicatorType = input("Default", ...(ngDevMode ? [{ debugName: "pageIndicatorType" }] : [])); // className is now passed
76
+ this.pageIndicatorType = input("Default", /* @ts-ignore */
77
+ ...(ngDevMode ? [{ debugName: "pageIndicatorType" }] : /* istanbul ignore next */ [])); // className is now passed
70
78
  /**
71
79
  * Fired whenever the page changes due to user interaction,
72
80
  when the user clicks on the navigation arrows or while resizing,
@@ -174,14 +182,14 @@ class Carousel {
174
182
  }
175
183
  }
176
184
  }
177
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Carousel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
178
- 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 }, arrowsPlacement: { classPropertyName: "arrowsPlacement", publicName: "arrowsPlacement", isSignal: true, isRequired: false, transformFunction: null }, backgroundDesign: { classPropertyName: "backgroundDesign", publicName: "backgroundDesign", isSignal: true, isRequired: false, transformFunction: null }, cyclic: { classPropertyName: "cyclic", publicName: "cyclic", 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 }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", 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 }, pageIndicatorType: { classPropertyName: "pageIndicatorType", publicName: "pageIndicatorType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Navigate: "ui5Navigate" }, providers: [
185
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Carousel, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
186
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", 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 }, arrowsPlacement: { classPropertyName: "arrowsPlacement", publicName: "arrowsPlacement", isSignal: true, isRequired: false, transformFunction: null }, backgroundDesign: { classPropertyName: "backgroundDesign", publicName: "backgroundDesign", isSignal: true, isRequired: false, transformFunction: null }, cyclic: { classPropertyName: "cyclic", publicName: "cyclic", 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 }, itemsPerPage: { classPropertyName: "itemsPerPage", publicName: "itemsPerPage", 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 }, pageIndicatorType: { classPropertyName: "pageIndicatorType", publicName: "pageIndicatorType", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Navigate: "ui5Navigate" }, providers: [
179
187
  contentDensityObserverProviders({
180
188
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
181
189
  })
182
190
  ], exportAs: ["ui5Carousel"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
183
191
  }
184
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Carousel, decorators: [{
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Carousel, decorators: [{
185
193
  type: Component,
186
194
  args: [{
187
195
  standalone: true,
@@ -1 +1 @@
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';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { default as CarouselArrowsPlacement } from '@ui5/webcomponents/dist/types/CarouselArrowsPlacement.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 CarouselPageIndicatorType } from '@ui5/webcomponents/dist/types/CarouselPageIndicatorType.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-carousel, [ui5-carousel]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Carousel',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\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 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\");\n\n /**\n * Defines the carousel's background design.\n */\n backgroundDesign = input<typeof _Carousel.prototype.backgroundDesign | undefined>(\"Translucent\");\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 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 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 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 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\"); // 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 /**\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\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 'arrowsPlacement',\n 'backgroundDesign',\n 'cyclic',\n 'hideNavigationArrows',\n 'hidePageIndicator',\n 'itemsPerPage',\n 'pageIndicatorBackgroundDesign',\n 'pageIndicatorBorderDesign',\n 'pageIndicatorType',\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 // 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 '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":";;;;;MA0Ca,QAAQ,CAAA;AAZrB,IAAA,WAAA,GAAA;AAcE;;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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,EAAA,iBAAA,EAAA,mBAAA,EAAA,UAAA,EAAA,mBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,SAAA,EAPR;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,aAAA,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,QAAQ,EAAA,UAAA,EAAA,CAAA;kBAZpB,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;AACvB,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;;;ACzCD;;AAEG;;;;"}
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';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { default as CarouselArrowsPlacement } from '@ui5/webcomponents/dist/types/CarouselArrowsPlacement.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 CarouselPageIndicatorType } from '@ui5/webcomponents/dist/types/CarouselPageIndicatorType.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-carousel, [ui5-carousel]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Carousel',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\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 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\");\n\n /**\n * Defines the carousel's background design.\n */\n backgroundDesign = input<typeof _Carousel.prototype.backgroundDesign | undefined>(\"Translucent\");\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 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 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 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 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\"); // 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 /**\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\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 'arrowsPlacement',\n 'backgroundDesign',\n 'cyclic',\n 'hideNavigationArrows',\n 'hidePageIndicator',\n 'itemsPerPage',\n 'pageIndicatorBackgroundDesign',\n 'pageIndicatorBorderDesign',\n 'pageIndicatorType',\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 // 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 '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":";;;;;MA0Ca,QAAQ,CAAA;AAZrB,IAAA,WAAA,GAAA;AAcE;;AAEG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK;sGAAyD;AAE/E;;AAEG;AACH,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK;yGAA4D;AAErF;;;;;;;AAOG;QACH,IAAA,CAAA,eAAe,GAAG,KAAK,CAAyD,SAAS;4FAAC;AAE1F;;AAEG;QACH,IAAA,CAAA,gBAAgB,GAAG,KAAK,CAA0D,aAAa;6FAAC;AAEhG;;AAEG;QACH,IAAA,CAAA,MAAM,GAAG,KAAK,CAAC,KAAK,8EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEtD;;;AAGG;QACH,IAAA,CAAA,oBAAoB,GAAG,KAAK,CAAC,KAAK,4FAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEpE;;;AAGG;QACH,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAC,KAAK,yFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEjE;;;;;;;;;AASG;QACH,IAAA,CAAA,YAAY,GAAG,KAAK,CAAsD,cAAc;yFAAC;AAEzF;;AAEG;QACH,IAAA,CAAA,6BAA6B,GAAG,KAAK,CAAuE,OAAO;0GAAC;AAEpH;;AAEG;QACH,IAAA,CAAA,yBAAyB,GAAG,KAAK,CAAmE,OAAO;sGAAC;AAE5G;;;;;;AAMG;QACH,IAAA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AC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACzCD;;AAEG;;;;"}
@@ -10,11 +10,13 @@ class CheckBox {
10
10
  /**
11
11
  * Defines the accessible ARIA name of the component.
12
12
  */
13
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
13
+ this.accessibleName = input(/* @ts-ignore */
14
+ ...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ []));
14
15
  /**
15
16
  * Receives id(or many ids) of the elements that label the component
16
17
  */
17
- this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
18
+ this.accessibleNameRef = input(/* @ts-ignore */
19
+ ...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : /* istanbul ignore next */ []));
18
20
  /**
19
21
  * Defines if the component is checked.
20
22
 
@@ -22,13 +24,13 @@ class CheckBox {
22
24
  either by cliking/tapping on the component, or by
23
25
  pressing the Enter or Space key.
24
26
  */
25
- this.checked = input(false, { ...(ngDevMode ? { debugName: "checked" } : {}), transform: booleanAttribute });
27
+ this.checked = input(false, { ...(ngDevMode ? { debugName: "checked" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
26
28
  /**
27
29
  * Defines whether the component is disabled.
28
30
 
29
31
  **Note:** A disabled component is completely noninteractive.
30
32
  */
31
- this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : {}), transform: booleanAttribute });
33
+ this.disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
32
34
  /**
33
35
  * Determines whether the `ui5-checkbox` is in display only state.
34
36
 
@@ -37,7 +39,7 @@ class CheckBox {
37
39
 
38
40
  **Note:** When the property `disabled` is set to `true` this property has no effect.
39
41
  */
40
- this.displayOnly = input(false, { ...(ngDevMode ? { debugName: "displayOnly" } : {}), transform: booleanAttribute });
42
+ this.displayOnly = input(false, { ...(ngDevMode ? { debugName: "displayOnly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
41
43
  /**
42
44
  * Defines whether the component is displayed as partially checked.
43
45
 
@@ -49,31 +51,33 @@ class CheckBox {
49
51
  - If the component is checked and it is not indeterminate, it will be displayed as checked
50
52
  - If the component is not checked, it will be displayed as not checked regardless value of the indeterminate attribute
51
53
  */
52
- this.indeterminate = input(false, { ...(ngDevMode ? { debugName: "indeterminate" } : {}), transform: booleanAttribute });
54
+ this.indeterminate = input(false, { ...(ngDevMode ? { debugName: "indeterminate" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
53
55
  /**
54
56
  * Determines the name by which the component will be identified upon submission in an HTML form.
55
57
 
56
58
  **Note:** This property is only applicable within the context of an HTML Form element.
57
59
  */
58
- this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
60
+ this.name = input(/* @ts-ignore */
61
+ ...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
59
62
  /**
60
63
  * Defines whether the component is read-only.
61
64
 
62
65
  **Note:** A read-only component is not editable,
63
66
  but still provides visual feedback upon user interaction.
64
67
  */
65
- this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : {}), transform: booleanAttribute });
68
+ this.readonly = input(false, { ...(ngDevMode ? { debugName: "readonly" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
66
69
  /**
67
70
  * Defines whether the component is required.
68
71
 
69
72
  **Note:** We advise against using the text property of the checkbox when there is a
70
73
  label associated with it to avoid having two required asterisks.
71
74
  */
72
- this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : {}), transform: booleanAttribute });
75
+ this.required = input(false, { ...(ngDevMode ? { debugName: "required" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
73
76
  /**
74
77
  * Defines the text of the component.
75
78
  */
76
- this.text = input(...(ngDevMode ? [undefined, { debugName: "text" }] : []));
79
+ this.text = input(/* @ts-ignore */
80
+ ...(ngDevMode ? [undefined, { debugName: "text" }] : /* istanbul ignore next */ []));
77
81
  /**
78
82
  * Defines the form value of the component that is submitted when the checkbox is checked.
79
83
 
@@ -83,18 +87,21 @@ class CheckBox {
83
87
 
84
88
  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.
85
89
  */
86
- this.value = input("on", ...(ngDevMode ? [{ debugName: "value" }] : []));
90
+ this.value = input("on", /* @ts-ignore */
91
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ []));
87
92
  /**
88
93
  * Defines the value state of the component.
89
94
  */
90
- this.valueState = input("None", ...(ngDevMode ? [{ debugName: "valueState" }] : []));
95
+ this.valueState = input("None", /* @ts-ignore */
96
+ ...(ngDevMode ? [{ debugName: "valueState" }] : /* istanbul ignore next */ []));
91
97
  /**
92
98
  * Defines whether the component text wraps when there is not enough space.
93
99
 
94
100
  **Note:** for option "Normal" the text will wrap and the words will not be broken based on hyphenation.
95
101
  **Note:** for option "None" the text will be truncated with an ellipsis.
96
102
  */
97
- this.wrappingType = input("Normal", ...(ngDevMode ? [{ debugName: "wrappingType" }] : [])); // className is now passed
103
+ this.wrappingType = input("Normal", /* @ts-ignore */
104
+ ...(ngDevMode ? [{ debugName: "wrappingType" }] : /* istanbul ignore next */ [])); // className is now passed
98
105
  /**
99
106
  * Fired when the component checked state changes.
100
107
  */
@@ -167,8 +174,8 @@ class CheckBox {
167
174
  }
168
175
  }
169
176
  }
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CheckBox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
171
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: CheckBox, isStandalone: true, selector: "ui5-checkbox, [ui5-checkbox]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, displayOnly: { classPropertyName: "displayOnly", publicName: "displayOnly", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", 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 }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", 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 } }, outputs: { ui5Change: "ui5Change" }, providers: [
177
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CheckBox, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
178
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: CheckBox, isStandalone: true, selector: "ui5-checkbox, [ui5-checkbox]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, displayOnly: { classPropertyName: "displayOnly", publicName: "displayOnly", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", 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 }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", 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 } }, outputs: { ui5Change: "ui5Change" }, providers: [
172
179
  contentDensityObserverProviders({
173
180
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
174
181
  }),
@@ -182,7 +189,7 @@ class CheckBox {
182
189
  }
183
190
  ], exportAs: ["ui5CheckBox"], hostDirectives: [{ directive: i1.GenericControlValueAccessor }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
184
191
  }
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: CheckBox, decorators: [{
192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: CheckBox, decorators: [{
186
193
  type: Component,
187
194
  args: [{
188
195
  standalone: true,
@@ -1 +1 @@
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 {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\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 contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n }),\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 * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _CheckBox.prototype.accessibleName | undefined>();\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 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 whether the component is disabled.\n\n**Note:** A disabled component is completely noninteractive.\n */\n disabled = 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 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 * 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 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 * 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 the text of the component.\n */\n text = input<typeof _CheckBox.prototype.text | 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\");\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\"); // 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 /**\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\n get element(): _CheckBox {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'checked',\n 'disabled',\n 'displayOnly',\n 'indeterminate',\n 'name',\n 'readonly',\n 'required',\n 'text',\n 'value',\n 'valueState',\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, () => {\n effect(() => {\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 ];\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":";;;;;;;MAiDa,QAAQ,CAA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BAAA,EAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAfS,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAkB1B,QAAQ,EAAA,UAAA,EAAA,CAAA;kBArBpB,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,cAAc,EAAE,CAAC,2BAA2B,CAAC;AAC7C,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E,CAAC;AACF,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;;;AChDD;;AAEG;;;;"}
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 {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\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 contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n }),\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 * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _CheckBox.prototype.accessibleName | undefined>();\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 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 whether the component is disabled.\n\n**Note:** A disabled component is completely noninteractive.\n */\n disabled = 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 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 * 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 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 * 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 the text of the component.\n */\n text = input<typeof _CheckBox.prototype.text | 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\");\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\"); // 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 /**\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\n get element(): _CheckBox {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'checked',\n 'disabled',\n 'displayOnly',\n 'indeterminate',\n 'name',\n 'readonly',\n 'required',\n 'text',\n 'value',\n 'valueState',\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, () => {\n effect(() => {\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 ];\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":";;;;;;;MAiDa,QAAQ,CAAA;AArBrB,IAAA,WAAA,GAAA;AAuBE;;AAEG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK;sGAAyD;AAE/E;;AAEG;AACH,QAAA,IAAA,CAAA,iBAAiB,GAAG,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C,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E,CAAC;AACF,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;;;AChDD;;AAEG;;;;"}
@@ -11,17 +11,19 @@ class ColorPaletteItem {
11
11
  **Note:** Only one item must be selected per <code>ui5-color-palette</code>.
12
12
  If more than one item is defined as selected, the last one would be considered as the selected one.
13
13
  */
14
- this.selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : {}), transform: booleanAttribute });
14
+ this.selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
15
15
  /**
16
16
  * Defines the tooltip of the component. When not set, the color value is used as the tooltip.
17
17
  */
18
- this.tooltip = input(...(ngDevMode ? [undefined, { debugName: "tooltip" }] : []));
18
+ this.tooltip = input(/* @ts-ignore */
19
+ ...(ngDevMode ? [undefined, { debugName: "tooltip" }] : /* istanbul ignore next */ []));
19
20
  /**
20
21
  * Defines the colour of the component.
21
22
 
22
23
  **Note:** The value should be a valid CSS color.
23
24
  */
24
- this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : [])); // className is now passed
25
+ this.value = input("", /* @ts-ignore */
26
+ ...(ngDevMode ? [{ debugName: "value" }] : /* istanbul ignore next */ [])); // className is now passed
25
27
  /**
26
28
  * Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
27
29
 
@@ -86,14 +88,14 @@ class ColorPaletteItem {
86
88
  }
87
89
  }
88
90
  }
89
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPaletteItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
90
- 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: { selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, providers: [
91
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorPaletteItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
92
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: ColorPaletteItem, isStandalone: true, selector: "ui5-color-palette-item, [ui5-color-palette-item]", inputs: { selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, providers: [
91
93
  contentDensityObserverProviders({
92
94
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
93
95
  })
94
96
  ], exportAs: ["ui5ColorPaletteItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
95
97
  }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPaletteItem, decorators: [{
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorPaletteItem, decorators: [{
97
99
  type: Component,
98
100
  args: [{
99
101
  standalone: true,
@@ -1 +1 @@
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';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\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 providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ColorPaletteItem implements AfterViewInit {\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 });\n\n /**\n * Defines the tooltip of the component. When not set, the color value is used as the tooltip.\n */\n tooltip = input<typeof _ColorPaletteItem.prototype.tooltip | undefined>();\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>(\"\"); // 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<_ColorPaletteItem, 'click'>>();\n\n\n public elementRef: ElementRef<_ColorPaletteItem> = 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\n get element(): _ColorPaletteItem {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'selected',\n 'tooltip',\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 // 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 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":";;;;;MAuCa,gBAAgB,CAAA;AAZ7B,IAAA,WAAA,GAAA;AAcE;;;;;AAKG;QACH,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;A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-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';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\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 providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ColorPaletteItem implements AfterViewInit {\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 });\n\n /**\n * Defines the tooltip of the component. When not set, the color value is used as the tooltip.\n */\n tooltip = input<typeof _ColorPaletteItem.prototype.tooltip | undefined>();\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>(\"\"); // 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<_ColorPaletteItem, 'click'>>();\n\n\n public elementRef: ElementRef<_ColorPaletteItem> = 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\n get element(): _ColorPaletteItem {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'selected',\n 'tooltip',\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 // 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 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":";;;;;MAuCa,gBAAgB,CAAA;AAZ7B,IAAA,WAAA,GAAA;AAcE;;;;;AAKG;QACH,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAExD;;AAEG;AACH,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK;+FAA0D;AAEzE;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AAA,iBAAA,EAAA,IAAA,EAAA,EAAA,KAAA,EAAA,EAAA,iBAAA,EAAA,OAAA,EAAA,UAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,EAAA,SAAA,EAPhB;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,qBAAA,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,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAZ5B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,kDAAkD;AAC5D,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,qBAAqB;AAC/B,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;;;ACtCD;;AAEG;;;;"}
@@ -8,43 +8,48 @@ class ColorPalettePopover {
8
8
  /**
9
9
  * Defines the accessible name of the component.
10
10
  */
11
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
11
+ this.accessibleName = input(/* @ts-ignore */
12
+ ...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ []));
12
13
  /**
13
14
  * Receives id(or many ids) of the elements that label the component.
14
15
  */
15
- this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
16
+ this.accessibleNameRef = input(/* @ts-ignore */
17
+ ...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : /* istanbul ignore next */ []));
16
18
  /**
17
19
  * Defines the default color of the component.
18
20
 
19
21
  **Note:** The default color should be a part of the ColorPalette colors`
20
22
  */
21
- this.defaultColor = input(...(ngDevMode ? [undefined, { debugName: "defaultColor" }] : []));
23
+ this.defaultColor = input(/* @ts-ignore */
24
+ ...(ngDevMode ? [undefined, { debugName: "defaultColor" }] : /* istanbul ignore next */ []));
22
25
  /**
23
26
  * Defines the open | closed state of the popover.
24
27
  */
25
- this.open = input(false, { ...(ngDevMode ? { debugName: "open" } : {}), transform: booleanAttribute });
28
+ this.open = input(false, { ...(ngDevMode ? { debugName: "open" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
26
29
  /**
27
30
  * Defines the ID or DOM Reference of the element that the popover is shown at.
28
31
  When using this attribute in a declarative way, you must only use the `id` (as a string) of the element at which you want to show the popover.
29
32
  You can only set the `opener` attribute to a DOM Reference when using JavaScript.
30
33
  */
31
- this.opener = input(...(ngDevMode ? [undefined, { debugName: "opener" }] : []));
34
+ this.opener = input(/* @ts-ignore */
35
+ ...(ngDevMode ? [undefined, { debugName: "opener" }] : /* istanbul ignore next */ []));
32
36
  /**
33
37
  * Determines on which side the component is placed at.
34
38
  */
35
- this.placement = input("Bottom", ...(ngDevMode ? [{ debugName: "placement" }] : []));
39
+ this.placement = input("Bottom", /* @ts-ignore */
40
+ ...(ngDevMode ? [{ debugName: "placement" }] : /* istanbul ignore next */ []));
36
41
  /**
37
42
  * Defines whether the user can choose the default color from a button.
38
43
  */
39
- this.showDefaultColor = input(false, { ...(ngDevMode ? { debugName: "showDefaultColor" } : {}), transform: booleanAttribute });
44
+ this.showDefaultColor = input(false, { ...(ngDevMode ? { debugName: "showDefaultColor" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
40
45
  /**
41
46
  * Defines whether the user can choose a custom color from a component.
42
47
  */
43
- this.showMoreColors = input(false, { ...(ngDevMode ? { debugName: "showMoreColors" } : {}), transform: booleanAttribute });
48
+ this.showMoreColors = input(false, { ...(ngDevMode ? { debugName: "showMoreColors" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
44
49
  /**
45
50
  * Defines whether the user can see the last used colors in the bottom of the component
46
51
  */
47
- this.showRecentColors = input(false, { ...(ngDevMode ? { debugName: "showRecentColors" } : {}), transform: booleanAttribute }); // className is now passed
52
+ this.showRecentColors = input(false, { ...(ngDevMode ? { debugName: "showRecentColors" } : /* istanbul ignore next */ {}), transform: booleanAttribute }); // className is now passed
48
53
  /**
49
54
  * Fired when the `ui5-color-palette-popover` is closed due to user interaction.
50
55
  */
@@ -143,14 +148,14 @@ class ColorPalettePopover {
143
148
  }
144
149
  }
145
150
  }
146
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPalettePopover, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
147
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: ColorPalettePopover, isStandalone: true, selector: "ui5-color-palette-popover, [ui5-color-palette-popover]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, defaultColor: { classPropertyName: "defaultColor", publicName: "defaultColor", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, opener: { classPropertyName: "opener", publicName: "opener", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, showDefaultColor: { classPropertyName: "showDefaultColor", publicName: "showDefaultColor", isSignal: true, isRequired: false, transformFunction: null }, showMoreColors: { classPropertyName: "showMoreColors", publicName: "showMoreColors", isSignal: true, isRequired: false, transformFunction: null }, showRecentColors: { classPropertyName: "showRecentColors", publicName: "showRecentColors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Close: "ui5Close", ui5ItemClick: "ui5ItemClick" }, providers: [
151
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorPalettePopover, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
152
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: ColorPalettePopover, isStandalone: true, selector: "ui5-color-palette-popover, [ui5-color-palette-popover]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, defaultColor: { classPropertyName: "defaultColor", publicName: "defaultColor", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, opener: { classPropertyName: "opener", publicName: "opener", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, showDefaultColor: { classPropertyName: "showDefaultColor", publicName: "showDefaultColor", isSignal: true, isRequired: false, transformFunction: null }, showMoreColors: { classPropertyName: "showMoreColors", publicName: "showMoreColors", isSignal: true, isRequired: false, transformFunction: null }, showRecentColors: { classPropertyName: "showRecentColors", publicName: "showRecentColors", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Close: "ui5Close", ui5ItemClick: "ui5ItemClick" }, providers: [
148
153
  contentDensityObserverProviders({
149
154
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
150
155
  })
151
156
  ], exportAs: ["ui5ColorPalettePopover"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
152
157
  }
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPalettePopover, decorators: [{
158
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: ColorPalettePopover, decorators: [{
154
159
  type: Component,
155
160
  args: [{
156
161
  standalone: true,