@fundamental-ngx/ui5-webcomponents 0.63.0-rc.9 → 0.63.0

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 (373) hide show
  1. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs +100 -0
  2. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-badge.mjs.map +1 -0
  3. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs +177 -0
  4. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar-group.mjs.map +1 -0
  5. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs +242 -0
  6. package/fesm2022/fundamental-ngx-ui5-webcomponents-avatar.mjs.map +1 -0
  7. package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs +132 -0
  8. package/fesm2022/fundamental-ngx-ui5-webcomponents-bar.mjs.map +1 -0
  9. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs +146 -0
  10. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.mjs.map +1 -0
  11. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs +133 -0
  12. package/fesm2022/fundamental-ngx-ui5-webcomponents-breadcrumbs.mjs.map +1 -0
  13. package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs +121 -0
  14. package/fesm2022/fundamental-ngx-ui5-webcomponents-busy-indicator.mjs.map +1 -0
  15. package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs +88 -0
  16. package/fesm2022/fundamental-ngx-ui5-webcomponents-button-badge.mjs.map +1 -0
  17. package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs +244 -0
  18. package/fesm2022/fundamental-ngx-ui5-webcomponents-button.mjs.map +1 -0
  19. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs +83 -0
  20. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date-range.mjs.map +1 -0
  21. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs +77 -0
  22. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-date.mjs.map +1 -0
  23. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs +81 -0
  24. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend-item.mjs.map +1 -0
  25. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs +116 -0
  26. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar-legend.mjs.map +1 -0
  27. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs +205 -0
  28. package/fesm2022/fundamental-ngx-ui5-webcomponents-calendar.mjs.map +1 -0
  29. package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs +143 -0
  30. package/fesm2022/fundamental-ngx-ui5-webcomponents-card-header.mjs.map +1 -0
  31. package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs +126 -0
  32. package/fesm2022/fundamental-ngx-ui5-webcomponents-card.mjs.map +1 -0
  33. package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs +200 -0
  34. package/fesm2022/fundamental-ngx-ui5-webcomponents-carousel.mjs.map +1 -0
  35. package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs +210 -0
  36. package/fesm2022/fundamental-ngx-ui5-webcomponents-check-box.mjs.map +1 -0
  37. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs +112 -0
  38. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-item.mjs.map +1 -0
  39. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs +169 -0
  40. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs.map +1 -0
  41. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs +125 -0
  42. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-palette.mjs.map +1 -0
  43. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs +119 -0
  44. package/fesm2022/fundamental-ngx-ui5-webcomponents-color-picker.mjs.map +1 -0
  45. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs +156 -0
  46. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item-group.mjs.map +1 -0
  47. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs +125 -0
  48. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box-item.mjs.map +1 -0
  49. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs +269 -0
  50. package/fesm2022/fundamental-ngx-ui5-webcomponents-combo-box.mjs.map +1 -0
  51. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs +303 -0
  52. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-picker.mjs.map +1 -0
  53. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs +340 -0
  54. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-range-picker.mjs.map +1 -0
  55. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-input.mjs +300 -0
  56. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-input.mjs.map +1 -0
  57. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs +303 -0
  58. package/fesm2022/fundamental-ngx-ui5-webcomponents-date-time-picker.mjs.map +1 -0
  59. package/fesm2022/fundamental-ngx-ui5-webcomponents-day-picker.mjs +118 -0
  60. package/fesm2022/fundamental-ngx-ui5-webcomponents-day-picker.mjs.map +1 -0
  61. package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs +238 -0
  62. package/fesm2022/fundamental-ngx-ui5-webcomponents-dialog.mjs.map +1 -0
  63. package/fesm2022/fundamental-ngx-ui5-webcomponents-drop-indicator.mjs +91 -0
  64. package/fesm2022/fundamental-ngx-ui5-webcomponents-drop-indicator.mjs.map +1 -0
  65. package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs +101 -0
  66. package/fesm2022/fundamental-ngx-ui5-webcomponents-dynamic-date-range.mjs.map +1 -0
  67. package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs +91 -0
  68. package/fesm2022/fundamental-ngx-ui5-webcomponents-expandable-text.mjs.map +1 -0
  69. package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs +263 -0
  70. package/fesm2022/fundamental-ngx-ui5-webcomponents-file-uploader.mjs.map +1 -0
  71. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs +132 -0
  72. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-group.mjs.map +1 -0
  73. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs +112 -0
  74. package/fesm2022/fundamental-ngx-ui5-webcomponents-form-item.mjs.map +1 -0
  75. package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs +188 -0
  76. package/fesm2022/fundamental-ngx-ui5-webcomponents-form.mjs.map +1 -0
  77. package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs +181 -0
  78. package/fesm2022/fundamental-ngx-ui5-webcomponents-icon.mjs.map +1 -0
  79. package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs +300 -0
  80. package/fesm2022/fundamental-ngx-ui5-webcomponents-input.mjs.map +1 -0
  81. package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs +128 -0
  82. package/fesm2022/fundamental-ngx-ui5-webcomponents-label.mjs.map +1 -0
  83. package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs +235 -0
  84. package/fesm2022/fundamental-ngx-ui5-webcomponents-link.mjs.map +1 -0
  85. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs +195 -0
  86. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-custom.mjs.map +1 -0
  87. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group-header.mjs +141 -0
  88. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group-header.mjs.map +1 -0
  89. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs +156 -0
  90. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-group.mjs.map +1 -0
  91. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs +262 -0
  92. package/fesm2022/fundamental-ngx-ui5-webcomponents-list-item-standard.mjs.map +1 -0
  93. package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs +298 -0
  94. package/fesm2022/fundamental-ngx-ui5-webcomponents-list.mjs.map +1 -0
  95. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs +102 -0
  96. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item-group.mjs.map +1 -0
  97. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs +295 -0
  98. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-item.mjs.map +1 -0
  99. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs +73 -0
  100. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu-separator.mjs.map +1 -0
  101. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs +178 -0
  102. package/fesm2022/fundamental-ngx-ui5-webcomponents-menu.mjs.map +1 -0
  103. package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs +153 -0
  104. package/fesm2022/fundamental-ngx-ui5-webcomponents-message-strip.mjs.map +1 -0
  105. package/fesm2022/fundamental-ngx-ui5-webcomponents-month-picker.mjs +118 -0
  106. package/fesm2022/fundamental-ngx-ui5-webcomponents-month-picker.mjs.map +1 -0
  107. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs +156 -0
  108. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.mjs.map +1 -0
  109. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs +116 -0
  110. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.mjs.map +1 -0
  111. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs +285 -0
  112. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-combo-box.mjs.map +1 -0
  113. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs +324 -0
  114. package/fesm2022/fundamental-ngx-ui5-webcomponents-multi-input.mjs.map +1 -0
  115. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs +139 -0
  116. package/fesm2022/fundamental-ngx-ui5-webcomponents-option-custom.mjs.map +1 -0
  117. package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs +149 -0
  118. package/fesm2022/fundamental-ngx-ui5-webcomponents-option.mjs.map +1 -0
  119. package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs +172 -0
  120. package/fesm2022/fundamental-ngx-ui5-webcomponents-panel.mjs.map +1 -0
  121. package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs +242 -0
  122. package/fesm2022/fundamental-ngx-ui5-webcomponents-popover.mjs.map +1 -0
  123. package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs +104 -0
  124. package/fesm2022/fundamental-ngx-ui5-webcomponents-progress-indicator.mjs.map +1 -0
  125. package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs +188 -0
  126. package/fesm2022/fundamental-ngx-ui5-webcomponents-radio-button.mjs.map +1 -0
  127. package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs +207 -0
  128. package/fesm2022/fundamental-ngx-ui5-webcomponents-range-slider.mjs.map +1 -0
  129. package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs +156 -0
  130. package/fesm2022/fundamental-ngx-ui5-webcomponents-rating-indicator.mjs.map +1 -0
  131. package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs +242 -0
  132. package/fesm2022/fundamental-ngx-ui5-webcomponents-responsive-popover.mjs.map +1 -0
  133. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs +167 -0
  134. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button-item.mjs.map +1 -0
  135. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs +180 -0
  136. package/fesm2022/fundamental-ngx-ui5-webcomponents-segmented-button.mjs.map +1 -0
  137. package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs +292 -0
  138. package/fesm2022/fundamental-ngx-ui5-webcomponents-select.mjs.map +1 -0
  139. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-handle.mjs +52 -0
  140. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-handle.mjs.map +1 -0
  141. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-tooltip.mjs +52 -0
  142. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider-tooltip.mjs.map +1 -0
  143. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs +202 -0
  144. package/fesm2022/fundamental-ngx-ui5-webcomponents-slider.mjs.map +1 -0
  145. package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs +82 -0
  146. package/fesm2022/fundamental-ngx-ui5-webcomponents-special-calendar-date.mjs.map +1 -0
  147. package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs +175 -0
  148. package/fesm2022/fundamental-ngx-ui5-webcomponents-split-button.mjs.map +1 -0
  149. package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs +203 -0
  150. package/fesm2022/fundamental-ngx-ui5-webcomponents-step-input.mjs.map +1 -0
  151. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs +123 -0
  152. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.mjs.map +1 -0
  153. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs +156 -0
  154. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item-group.mjs.map +1 -0
  155. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs +102 -0
  156. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-item.mjs.map +1 -0
  157. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-list-item.mjs +262 -0
  158. package/fesm2022/fundamental-ngx-ui5-webcomponents-suggestion-list-item.mjs.map +1 -0
  159. package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs +194 -0
  160. package/fesm2022/fundamental-ngx-ui5-webcomponents-switch.mjs.map +1 -0
  161. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs +195 -0
  162. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-container.mjs.map +1 -0
  163. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs +52 -0
  164. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab-separator.mjs.map +1 -0
  165. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs +169 -0
  166. package/fesm2022/fundamental-ngx-ui5-webcomponents-tab.mjs.map +1 -0
  167. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs +110 -0
  168. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-cell.mjs.map +1 -0
  169. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-group-row.mjs +133 -0
  170. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-group-row.mjs.map +1 -0
  171. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs +117 -0
  172. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-growing.mjs.map +1 -0
  173. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs +71 -0
  174. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.mjs.map +1 -0
  175. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs +161 -0
  176. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-cell.mjs.map +1 -0
  177. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs +105 -0
  178. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-header-row.mjs.map +1 -0
  179. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs +102 -0
  180. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.mjs.map +1 -0
  181. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs +114 -0
  182. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row-action.mjs.map +1 -0
  183. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs +133 -0
  184. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-row.mjs.map +1 -0
  185. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs +105 -0
  186. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-multi.mjs.map +1 -0
  187. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs +100 -0
  188. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection-single.mjs.map +1 -0
  189. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs +100 -0
  190. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-selection.mjs.map +1 -0
  191. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs +111 -0
  192. package/fesm2022/fundamental-ngx-ui5-webcomponents-table-virtualizer.mjs.map +1 -0
  193. package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs +213 -0
  194. package/fesm2022/fundamental-ngx-ui5-webcomponents-table.mjs.map +1 -0
  195. package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs +159 -0
  196. package/fesm2022/fundamental-ngx-ui5-webcomponents-tag.mjs.map +1 -0
  197. package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs +260 -0
  198. package/fesm2022/fundamental-ngx-ui5-webcomponents-text-area.mjs.map +1 -0
  199. package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs +106 -0
  200. package/fesm2022/fundamental-ngx-ui5-webcomponents-text.mjs.map +1 -0
  201. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs +23 -0
  202. package/fesm2022/fundamental-ngx-ui5-webcomponents-theming.mjs.map +1 -0
  203. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker-clock.mjs +52 -0
  204. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker-clock.mjs.map +1 -0
  205. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs +249 -0
  206. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-picker.mjs.map +1 -0
  207. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-clocks.mjs +86 -0
  208. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-clocks.mjs.map +1 -0
  209. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-inputs.mjs +86 -0
  210. package/fesm2022/fundamental-ngx-ui5-webcomponents-time-selection-inputs.mjs.map +1 -0
  211. package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs +120 -0
  212. package/fesm2022/fundamental-ngx-ui5-webcomponents-title.mjs.map +1 -0
  213. package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs +136 -0
  214. package/fesm2022/fundamental-ngx-ui5-webcomponents-toast.mjs.map +1 -0
  215. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs +249 -0
  216. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-button.mjs.map +1 -0
  217. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-spin-button.mjs +249 -0
  218. package/fesm2022/fundamental-ngx-ui5-webcomponents-toggle-spin-button.mjs.map +1 -0
  219. package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs +108 -0
  220. package/fesm2022/fundamental-ngx-ui5-webcomponents-token.mjs.map +1 -0
  221. package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs +168 -0
  222. package/fesm2022/fundamental-ngx-ui5-webcomponents-tokenizer.mjs.map +1 -0
  223. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs +194 -0
  224. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-button.mjs.map +1 -0
  225. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-item.mjs +109 -0
  226. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-item.mjs.map +1 -0
  227. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs +103 -0
  228. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select-option.mjs.map +1 -0
  229. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs +183 -0
  230. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-select.mjs.map +1 -0
  231. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs +83 -0
  232. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-separator.mjs.map +1 -0
  233. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs +90 -0
  234. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar-spacer.mjs.map +1 -0
  235. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs +125 -0
  236. package/fesm2022/fundamental-ngx-ui5-webcomponents-toolbar.mjs.map +1 -0
  237. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs +256 -0
  238. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item-custom.mjs.map +1 -0
  239. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs +256 -0
  240. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree-item.mjs.map +1 -0
  241. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs +215 -0
  242. package/fesm2022/fundamental-ngx-ui5-webcomponents-tree.mjs.map +1 -0
  243. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-picker.mjs +118 -0
  244. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-picker.mjs.map +1 -0
  245. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-range-picker.mjs +118 -0
  246. package/fesm2022/fundamental-ngx-ui5-webcomponents-year-range-picker.mjs.map +1 -0
  247. package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs +532 -39
  248. package/fesm2022/fundamental-ngx-ui5-webcomponents.mjs.map +1 -1
  249. package/package.json +498 -6
  250. package/types/fundamental-ngx-ui5-webcomponents-avatar-badge.d.ts +46 -0
  251. package/types/fundamental-ngx-ui5-webcomponents-avatar-group.d.ts +103 -0
  252. package/types/fundamental-ngx-ui5-webcomponents-avatar.d.ts +160 -0
  253. package/types/fundamental-ngx-ui5-webcomponents-bar.d.ts +67 -0
  254. package/types/fundamental-ngx-ui5-webcomponents-breadcrumbs-item.d.ts +76 -0
  255. package/types/fundamental-ngx-ui5-webcomponents-breadcrumbs.d.ts +64 -0
  256. package/types/fundamental-ngx-ui5-webcomponents-busy-indicator.d.ts +63 -0
  257. package/types/fundamental-ngx-ui5-webcomponents-button-badge.d.ts +35 -0
  258. package/types/fundamental-ngx-ui5-webcomponents-button.d.ts +163 -0
  259. package/types/fundamental-ngx-ui5-webcomponents-calendar-date-range.d.ts +30 -0
  260. package/types/fundamental-ngx-ui5-webcomponents-calendar-date.d.ts +25 -0
  261. package/types/fundamental-ngx-ui5-webcomponents-calendar-legend-item.d.ts +28 -0
  262. package/types/fundamental-ngx-ui5-webcomponents-calendar-legend.d.ts +59 -0
  263. package/types/fundamental-ngx-ui5-webcomponents-calendar.d.ts +118 -0
  264. package/types/fundamental-ngx-ui5-webcomponents-card-header.d.ts +68 -0
  265. package/types/fundamental-ngx-ui5-webcomponents-card.d.ts +69 -0
  266. package/types/fundamental-ngx-ui5-webcomponents-carousel.d.ts +120 -0
  267. package/types/fundamental-ngx-ui5-webcomponents-check-box.d.ts +114 -0
  268. package/types/fundamental-ngx-ui5-webcomponents-color-palette-item.d.ts +44 -0
  269. package/types/fundamental-ngx-ui5-webcomponents-color-palette-popover.d.ts +92 -0
  270. package/types/fundamental-ngx-ui5-webcomponents-color-palette.d.ts +56 -0
  271. package/types/fundamental-ngx-ui5-webcomponents-color-picker.d.ts +49 -0
  272. package/types/fundamental-ngx-ui5-webcomponents-combo-box-item-group.d.ts +81 -0
  273. package/types/fundamental-ngx-ui5-webcomponents-combo-box-item.d.ts +57 -0
  274. package/types/fundamental-ngx-ui5-webcomponents-combo-box.d.ts +160 -0
  275. package/types/fundamental-ngx-ui5-webcomponents-date-picker.d.ts +188 -0
  276. package/types/fundamental-ngx-ui5-webcomponents-date-range-picker.d.ts +217 -0
  277. package/types/fundamental-ngx-ui5-webcomponents-date-time-input.d.ts +188 -0
  278. package/types/fundamental-ngx-ui5-webcomponents-date-time-picker.d.ts +188 -0
  279. package/types/fundamental-ngx-ui5-webcomponents-day-picker.d.ts +59 -0
  280. package/types/fundamental-ngx-ui5-webcomponents-dialog.d.ts +146 -0
  281. package/types/fundamental-ngx-ui5-webcomponents-drop-indicator.d.ts +36 -0
  282. package/types/fundamental-ngx-ui5-webcomponents-dynamic-date-range.d.ts +35 -0
  283. package/types/fundamental-ngx-ui5-webcomponents-expandable-text.d.ts +36 -0
  284. package/types/fundamental-ngx-ui5-webcomponents-file-uploader.d.ts +142 -0
  285. package/types/fundamental-ngx-ui5-webcomponents-form-group.d.ts +73 -0
  286. package/types/fundamental-ngx-ui5-webcomponents-form-item.d.ts +54 -0
  287. package/types/fundamental-ngx-ui5-webcomponents-form.d.ts +122 -0
  288. package/types/fundamental-ngx-ui5-webcomponents-icon.d.ts +109 -0
  289. package/types/fundamental-ngx-ui5-webcomponents-input.d.ts +188 -0
  290. package/types/fundamental-ngx-ui5-webcomponents-label.d.ts +71 -0
  291. package/types/fundamental-ngx-ui5-webcomponents-link.d.ts +155 -0
  292. package/types/fundamental-ngx-ui5-webcomponents-list-item-custom.d.ts +119 -0
  293. package/types/fundamental-ngx-ui5-webcomponents-list-item-group-header.d.ts +72 -0
  294. package/types/fundamental-ngx-ui5-webcomponents-list-item-group.d.ts +81 -0
  295. package/types/fundamental-ngx-ui5-webcomponents-list-item-standard.d.ts +174 -0
  296. package/types/fundamental-ngx-ui5-webcomponents-list.d.ts +203 -0
  297. package/types/fundamental-ngx-ui5-webcomponents-menu-item-group.d.ts +48 -0
  298. package/types/fundamental-ngx-ui5-webcomponents-menu-item.d.ts +203 -0
  299. package/types/fundamental-ngx-ui5-webcomponents-menu-separator.d.ts +27 -0
  300. package/types/fundamental-ngx-ui5-webcomponents-menu.d.ts +100 -0
  301. package/types/fundamental-ngx-ui5-webcomponents-message-strip.d.ts +78 -0
  302. package/types/fundamental-ngx-ui5-webcomponents-month-picker.d.ts +59 -0
  303. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item-group.d.ts +81 -0
  304. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box-item.d.ts +47 -0
  305. package/types/fundamental-ngx-ui5-webcomponents-multi-combo-box.d.ts +173 -0
  306. package/types/fundamental-ngx-ui5-webcomponents-multi-input.d.ts +205 -0
  307. package/types/fundamental-ngx-ui5-webcomponents-option-custom.d.ts +68 -0
  308. package/types/fundamental-ngx-ui5-webcomponents-option.d.ts +77 -0
  309. package/types/fundamental-ngx-ui5-webcomponents-panel.d.ts +93 -0
  310. package/types/fundamental-ngx-ui5-webcomponents-popover.d.ts +146 -0
  311. package/types/fundamental-ngx-ui5-webcomponents-progress-indicator.d.ts +48 -0
  312. package/types/fundamental-ngx-ui5-webcomponents-radio-button.d.ts +94 -0
  313. package/types/fundamental-ngx-ui5-webcomponents-range-slider.d.ts +111 -0
  314. package/types/fundamental-ngx-ui5-webcomponents-rating-indicator.d.ts +80 -0
  315. package/types/fundamental-ngx-ui5-webcomponents-responsive-popover.d.ts +146 -0
  316. package/types/fundamental-ngx-ui5-webcomponents-segmented-button-item.d.ts +92 -0
  317. package/types/fundamental-ngx-ui5-webcomponents-segmented-button.d.ts +87 -0
  318. package/types/fundamental-ngx-ui5-webcomponents-select.d.ts +161 -0
  319. package/types/fundamental-ngx-ui5-webcomponents-slider-handle.d.ts +20 -0
  320. package/types/fundamental-ngx-ui5-webcomponents-slider-tooltip.d.ts +20 -0
  321. package/types/fundamental-ngx-ui5-webcomponents-slider.d.ts +107 -0
  322. package/types/fundamental-ngx-ui5-webcomponents-special-calendar-date.d.ts +29 -0
  323. package/types/fundamental-ngx-ui5-webcomponents-split-button.d.ts +102 -0
  324. package/types/fundamental-ngx-ui5-webcomponents-step-input.d.ts +121 -0
  325. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item-custom.d.ts +55 -0
  326. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item-group.d.ts +81 -0
  327. package/types/fundamental-ngx-ui5-webcomponents-suggestion-item.d.ts +35 -0
  328. package/types/fundamental-ngx-ui5-webcomponents-suggestion-list-item.d.ts +169 -0
  329. package/types/fundamental-ngx-ui5-webcomponents-switch.d.ts +99 -0
  330. package/types/fundamental-ngx-ui5-webcomponents-tab-container.d.ts +114 -0
  331. package/types/fundamental-ngx-ui5-webcomponents-tab-separator.d.ts +20 -0
  332. package/types/fundamental-ngx-ui5-webcomponents-tab.d.ts +91 -0
  333. package/types/fundamental-ngx-ui5-webcomponents-table-cell.d.ts +55 -0
  334. package/types/fundamental-ngx-ui5-webcomponents-table-group-row.d.ts +75 -0
  335. package/types/fundamental-ngx-ui5-webcomponents-table-growing.d.ts +49 -0
  336. package/types/fundamental-ngx-ui5-webcomponents-table-header-cell-action-a-i.d.ts +25 -0
  337. package/types/fundamental-ngx-ui5-webcomponents-table-header-cell.d.ts +101 -0
  338. package/types/fundamental-ngx-ui5-webcomponents-table-header-row.d.ts +51 -0
  339. package/types/fundamental-ngx-ui5-webcomponents-table-row-action-navigation.d.ts +35 -0
  340. package/types/fundamental-ngx-ui5-webcomponents-table-row-action.d.ts +46 -0
  341. package/types/fundamental-ngx-ui5-webcomponents-table-row.d.ts +75 -0
  342. package/types/fundamental-ngx-ui5-webcomponents-table-selection-multi.d.ts +37 -0
  343. package/types/fundamental-ngx-ui5-webcomponents-table-selection-single.d.ts +33 -0
  344. package/types/fundamental-ngx-ui5-webcomponents-table-selection.d.ts +33 -0
  345. package/types/fundamental-ngx-ui5-webcomponents-table-virtualizer.d.ts +43 -0
  346. package/types/fundamental-ngx-ui5-webcomponents-table.d.ts +123 -0
  347. package/types/fundamental-ngx-ui5-webcomponents-tag.d.ts +82 -0
  348. package/types/fundamental-ngx-ui5-webcomponents-text-area.d.ts +156 -0
  349. package/types/fundamental-ngx-ui5-webcomponents-text.d.ts +51 -0
  350. package/types/fundamental-ngx-ui5-webcomponents-theming.d.ts +11 -0
  351. package/types/fundamental-ngx-ui5-webcomponents-time-picker-clock.d.ts +20 -0
  352. package/types/fundamental-ngx-ui5-webcomponents-time-picker.d.ts +144 -0
  353. package/types/fundamental-ngx-ui5-webcomponents-time-selection-clocks.d.ts +33 -0
  354. package/types/fundamental-ngx-ui5-webcomponents-time-selection-inputs.d.ts +33 -0
  355. package/types/fundamental-ngx-ui5-webcomponents-title.d.ts +64 -0
  356. package/types/fundamental-ngx-ui5-webcomponents-toast.d.ts +66 -0
  357. package/types/fundamental-ngx-ui5-webcomponents-toggle-button.d.ts +167 -0
  358. package/types/fundamental-ngx-ui5-webcomponents-toggle-spin-button.d.ts +167 -0
  359. package/types/fundamental-ngx-ui5-webcomponents-token.d.ts +53 -0
  360. package/types/fundamental-ngx-ui5-webcomponents-tokenizer.d.ts +93 -0
  361. package/types/fundamental-ngx-ui5-webcomponents-toolbar-button.d.ts +118 -0
  362. package/types/fundamental-ngx-ui5-webcomponents-toolbar-item.d.ts +54 -0
  363. package/types/fundamental-ngx-ui5-webcomponents-toolbar-select-option.d.ts +49 -0
  364. package/types/fundamental-ngx-ui5-webcomponents-toolbar-select.d.ts +106 -0
  365. package/types/fundamental-ngx-ui5-webcomponents-toolbar-separator.d.ts +30 -0
  366. package/types/fundamental-ngx-ui5-webcomponents-toolbar-spacer.d.ts +36 -0
  367. package/types/fundamental-ngx-ui5-webcomponents-toolbar.d.ts +67 -0
  368. package/types/fundamental-ngx-ui5-webcomponents-tree-item-custom.d.ts +165 -0
  369. package/types/fundamental-ngx-ui5-webcomponents-tree-item.d.ts +168 -0
  370. package/types/fundamental-ngx-ui5-webcomponents-tree.d.ts +129 -0
  371. package/types/fundamental-ngx-ui5-webcomponents-year-picker.d.ts +59 -0
  372. package/types/fundamental-ngx-ui5-webcomponents-year-range-picker.d.ts +59 -0
  373. package/types/fundamental-ngx-ui5-webcomponents.d.ts +309 -19
@@ -0,0 +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 // 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;QACH,IAAA,CAAA,cAAc,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAyD;AAE/E;;AAEG;QACH,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,mBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAA4D;AAErF;;;;;;AAMG;QACH,IAAA,CAAA,OAAO,GAAG,KAAK,CAAC,KAAK,oDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEvD;;;;AAIG;QACH,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAC,KAAK,qDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAExD;;;;;;;AAOG;QACH,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,KAAK,wDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAE3D;;;;;;;;;;AAUG;QACH,IAAA,CAAA,aAAa,GAAG,KAAK,CAAC,KAAK,0DAAI,SAAS,EAAE,gBAAgB,E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AEG;;;;"}
@@ -0,0 +1,112 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents/dist/ColorPaletteItem.js';
4
+ import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
5
+
6
+ class ColorPaletteItem {
7
+ constructor() {
8
+ /**
9
+ * Defines if the component is selected.
10
+
11
+ **Note:** Only one item must be selected per <code>ui5-color-palette</code>.
12
+ If more than one item is defined as selected, the last one would be considered as the selected one.
13
+ */
14
+ this.selected = input(false, { ...(ngDevMode ? { debugName: "selected" } : {}), transform: booleanAttribute });
15
+ /**
16
+ * Defines the tooltip of the component. When not set, the color value is used as the tooltip.
17
+ */
18
+ this.tooltip = input(...(ngDevMode ? [undefined, { debugName: "tooltip" }] : []));
19
+ /**
20
+ * Defines the colour of the component.
21
+
22
+ **Note:** The value should be a valid CSS color.
23
+ */
24
+ this.value = input("", ...(ngDevMode ? [{ debugName: "value" }] : [])); // className is now passed
25
+ /**
26
+ * Fired when the component is activated either with a mouse/tap or by using the Enter or Space key.
27
+
28
+ **Note:** The event will not be fired if the `disabled` property is set to `true`.
29
+ */
30
+ this.ui5Click = output();
31
+ this.elementRef = inject(ElementRef);
32
+ this.injector = inject(Injector);
33
+ /**
34
+ * Content density observer is injected to activate automatic CSS class and
35
+ * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
36
+ * @private
37
+ */
38
+ this._contentDensityObserver = inject(ContentDensityObserver);
39
+ }
40
+ get element() {
41
+ return this.elementRef.nativeElement;
42
+ }
43
+ ngAfterViewInit() {
44
+ const wcElement = this.element;
45
+ const inputsToSync = [
46
+ 'selected',
47
+ 'tooltip',
48
+ 'value',
49
+ ];
50
+ // Synchronize inputs (properties)
51
+ for (const inputName of inputsToSync) {
52
+ // Find the corresponding camelCase signal property on the Angular component
53
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
54
+ // Use the Injector to run the effect in the correct context
55
+ if (this[signalName] && typeof this[signalName] === 'function') {
56
+ runInInjectionContext(this.injector, () => {
57
+ effect(() => {
58
+ // Read the signal value
59
+ const value = this[signalName]();
60
+ if (wcElement) {
61
+ // Write the value to the Web Component's property
62
+ wcElement[inputName] = value;
63
+ }
64
+ });
65
+ });
66
+ }
67
+ }
68
+ const outputsToSync = [
69
+ 'ui5Click',
70
+ ];
71
+ // Synchronize outputs (events)
72
+ for (const outputName of outputsToSync) {
73
+ // Map Angular output name to UI5 web component event name
74
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
75
+ // Ensure the output property exists and has an emit function before adding listener
76
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
77
+ // Cast the listener to the correct type to satisfy TypeScript
78
+ wcElement.addEventListener(eventName, (e) => {
79
+ this[outputName].emit(e);
80
+ });
81
+ }
82
+ }
83
+ }
84
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPaletteItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
85
+ 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: [
86
+ contentDensityObserverProviders({
87
+ supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
88
+ })
89
+ ], exportAs: ["ui5ColorPaletteItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
90
+ }
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPaletteItem, decorators: [{
92
+ type: Component,
93
+ args: [{
94
+ standalone: true,
95
+ selector: 'ui5-color-palette-item, [ui5-color-palette-item]',
96
+ template: '<ng-content></ng-content>',
97
+ exportAs: 'ui5ColorPaletteItem',
98
+ providers: [
99
+ contentDensityObserverProviders({
100
+ supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
101
+ })
102
+ ],
103
+ changeDetection: ChangeDetectionStrategy.OnPush,
104
+ }]
105
+ }], propDecorators: { selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], tooltip: [{ type: i0.Input, args: [{ isSignal: true, alias: "tooltip", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], ui5Click: [{ type: i0.Output, args: ["ui5Click"] }] } });
106
+
107
+ /**
108
+ * Generated bundle index. Do not edit.
109
+ */
110
+
111
+ export { ColorPaletteItem };
112
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-color-palette-item.mjs.map
@@ -0,0 +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 // 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;AAExD;;AAEG;QACH,IAAA,CAAA,OAAO,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,SAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAA0D;AAEzE;;;;AAIG;AACH,QAAA,IAAA,CAAA,KAAK,GAAG,KAAK,CAAuD,EAAE,EAAA,IAAA,SAAA,GAAA,CAAA,EAAA,SAAA,EAAA,OAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAC,CAAC;AAIxE;;;;AAIG;QACH,IAAA,CAAA,QAAQ,GAAG,MAAM,EAA8C;AAGxD,QAAA,IAAA,CAAA,UAAU,GAAkC,MAAM,CAAC,UAAU,CAAC;AAC9D,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,CAA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A,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;;;;"}
@@ -0,0 +1,169 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents/dist/ColorPalettePopover.js';
4
+ import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
5
+
6
+ class ColorPalettePopover {
7
+ constructor() {
8
+ /**
9
+ * Defines the accessible name of the component.
10
+ */
11
+ this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
12
+ /**
13
+ * Receives id(or many ids) of the elements that label the component.
14
+ */
15
+ this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
16
+ /**
17
+ * Defines the default color of the component.
18
+
19
+ **Note:** The default color should be a part of the ColorPalette colors`
20
+ */
21
+ this.defaultColor = input(...(ngDevMode ? [undefined, { debugName: "defaultColor" }] : []));
22
+ /**
23
+ * Defines the open | closed state of the popover.
24
+ */
25
+ this.open = input(false, { ...(ngDevMode ? { debugName: "open" } : {}), transform: booleanAttribute });
26
+ /**
27
+ * Defines the ID or DOM Reference of the element that the popover is shown at.
28
+ 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
+ You can only set the `opener` attribute to a DOM Reference when using JavaScript.
30
+ */
31
+ this.opener = input(...(ngDevMode ? [undefined, { debugName: "opener" }] : []));
32
+ /**
33
+ * Determines on which side the component is placed at.
34
+ */
35
+ this.placement = input("Bottom", ...(ngDevMode ? [{ debugName: "placement" }] : []));
36
+ /**
37
+ * Defines whether the user can choose the default color from a button.
38
+ */
39
+ this.showDefaultColor = input(false, { ...(ngDevMode ? { debugName: "showDefaultColor" } : {}), transform: booleanAttribute });
40
+ /**
41
+ * Defines whether the user can choose a custom color from a component.
42
+ */
43
+ this.showMoreColors = input(false, { ...(ngDevMode ? { debugName: "showMoreColors" } : {}), transform: booleanAttribute });
44
+ /**
45
+ * Defines whether the user can see the last used colors in the bottom of the component
46
+ */
47
+ this.showRecentColors = input(false, { ...(ngDevMode ? { debugName: "showRecentColors" } : {}), transform: booleanAttribute }); // className is now passed
48
+ /**
49
+ * Fired when the `ui5-color-palette-popover` is closed due to user interaction.
50
+ */
51
+ this.ui5Close = output();
52
+ /**
53
+ * Fired when the user selects a color.
54
+ */
55
+ this.ui5ItemClick = output();
56
+ /**
57
+ * Available slots for content projection in this component.
58
+ *
59
+ * Slots allow you to insert custom content into predefined areas of the web component.
60
+ * Use the `slot` attribute on child elements to target specific slots.
61
+ *
62
+ * - **(default)**: Defines the content of the component.
63
+ *
64
+ * @example
65
+ * ```html
66
+ * <ui5-color-palette-popover>
67
+ * <div slot="header">Custom header content</div>
68
+ * <p>Default slot content</p>
69
+ * </ui5-color-palette-popover>
70
+ * ```
71
+ *
72
+ * @readonly
73
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
74
+ */
75
+ this.slots = [
76
+ {
77
+ "name": "default",
78
+ "description": "Defines the content of the component."
79
+ }
80
+ ];
81
+ this.elementRef = inject(ElementRef);
82
+ this.injector = inject(Injector);
83
+ /**
84
+ * Content density observer is injected to activate automatic CSS class and
85
+ * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
86
+ * @private
87
+ */
88
+ this._contentDensityObserver = inject(ContentDensityObserver);
89
+ }
90
+ get element() {
91
+ return this.elementRef.nativeElement;
92
+ }
93
+ ngAfterViewInit() {
94
+ const wcElement = this.element;
95
+ const inputsToSync = [
96
+ 'accessibleName',
97
+ 'accessibleNameRef',
98
+ 'defaultColor',
99
+ 'open',
100
+ 'opener',
101
+ 'placement',
102
+ 'showDefaultColor',
103
+ 'showMoreColors',
104
+ 'showRecentColors',
105
+ ];
106
+ // Synchronize inputs (properties)
107
+ for (const inputName of inputsToSync) {
108
+ // Find the corresponding camelCase signal property on the Angular component
109
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
110
+ // Use the Injector to run the effect in the correct context
111
+ if (this[signalName] && typeof this[signalName] === 'function') {
112
+ runInInjectionContext(this.injector, () => {
113
+ effect(() => {
114
+ // Read the signal value
115
+ const value = this[signalName]();
116
+ if (wcElement) {
117
+ // Write the value to the Web Component's property
118
+ wcElement[inputName] = value;
119
+ }
120
+ });
121
+ });
122
+ }
123
+ }
124
+ const outputsToSync = [
125
+ 'ui5Close',
126
+ 'ui5ItemClick',
127
+ ];
128
+ // Synchronize outputs (events)
129
+ for (const outputName of outputsToSync) {
130
+ // Map Angular output name to UI5 web component event name
131
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
132
+ // Ensure the output property exists and has an emit function before adding listener
133
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
134
+ // Cast the listener to the correct type to satisfy TypeScript
135
+ wcElement.addEventListener(eventName, (e) => {
136
+ this[outputName].emit(e);
137
+ });
138
+ }
139
+ }
140
+ }
141
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPalettePopover, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
142
+ 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: [
143
+ contentDensityObserverProviders({
144
+ supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
145
+ })
146
+ ], exportAs: ["ui5ColorPalettePopover"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
147
+ }
148
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPalettePopover, decorators: [{
149
+ type: Component,
150
+ args: [{
151
+ standalone: true,
152
+ selector: 'ui5-color-palette-popover, [ui5-color-palette-popover]',
153
+ template: '<ng-content></ng-content>',
154
+ exportAs: 'ui5ColorPalettePopover',
155
+ providers: [
156
+ contentDensityObserverProviders({
157
+ supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
158
+ })
159
+ ],
160
+ changeDetection: ChangeDetectionStrategy.OnPush,
161
+ }]
162
+ }], propDecorators: { accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }], defaultColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "defaultColor", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], opener: [{ type: i0.Input, args: [{ isSignal: true, alias: "opener", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], showDefaultColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "showDefaultColor", required: false }] }], showMoreColors: [{ type: i0.Input, args: [{ isSignal: true, alias: "showMoreColors", required: false }] }], showRecentColors: [{ type: i0.Input, args: [{ isSignal: true, alias: "showRecentColors", required: false }] }], ui5Close: [{ type: i0.Output, args: ["ui5Close"] }], ui5ItemClick: [{ type: i0.Output, args: ["ui5ItemClick"] }] } });
163
+
164
+ /**
165
+ * Generated bundle index. Do not edit.
166
+ */
167
+
168
+ export { ColorPalettePopover };
169
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-color-palette-popover.mjs","sources":["../../../../libs/ui5-webcomponents/color-palette-popover/index.ts","../../../../libs/ui5-webcomponents/color-palette-popover/fundamental-ngx-ui5-webcomponents-color-palette-popover.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/ColorPalettePopover.js';\nimport { default as _ColorPalettePopover } from '@ui5/webcomponents/dist/ColorPalettePopover.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 PopoverPlacement } from '@ui5/webcomponents/dist/types/PopoverPlacement.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-color-palette-popover, [ui5-color-palette-popover]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5ColorPalettePopover',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ColorPalettePopover implements AfterViewInit {\n\n /**\n * Defines the accessible name of the component.\n */\n accessibleName = input<typeof _ColorPalettePopover.prototype.accessibleName | undefined>();\n\n /**\n * Receives id(or many ids) of the elements that label the component.\n */\n accessibleNameRef = input<typeof _ColorPalettePopover.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines the default color of the component.\n\n**Note:** The default color should be a part of the ColorPalette colors`\n */\n defaultColor = input<typeof _ColorPalettePopover.prototype.defaultColor | undefined>();\n\n /**\n * Defines the open | closed state of the popover.\n */\n open = input(false, { transform: booleanAttribute });\n\n /**\n * Defines the ID or DOM Reference of the element that the popover is shown at.\nWhen 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.\nYou can only set the `opener` attribute to a DOM Reference when using JavaScript.\n */\n opener = input<typeof _ColorPalettePopover.prototype.opener | undefined>();\n\n /**\n * Determines on which side the component is placed at.\n */\n placement = input<typeof _ColorPalettePopover.prototype.placement | undefined>(\"Bottom\");\n\n /**\n * Defines whether the user can choose the default color from a button.\n */\n showDefaultColor = input(false, { transform: booleanAttribute });\n\n /**\n * Defines whether the user can choose a custom color from a component.\n */\n showMoreColors = input(false, { transform: booleanAttribute });\n\n /**\n * Defines whether the user can see the last used colors in the bottom of the component\n */\n showRecentColors = input(false, { transform: booleanAttribute }); // className is now passed\n\n\n\n /**\n * Fired when the `ui5-color-palette-popover` is closed due to user interaction.\n */\n ui5Close = output<UI5CustomEvent<_ColorPalettePopover, 'close'>>();\n\n /**\n * Fired when the user selects a color.\n */\n ui5ItemClick = output<UI5CustomEvent<_ColorPalettePopover, 'item-click'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the component.\n *\n * @example\n * ```html\n * <ui5-color-palette-popover>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-color-palette-popover>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the content of the component.\"\n }\n ];\n\n\n public elementRef: ElementRef<_ColorPalettePopover> = 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(): _ColorPalettePopover {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'defaultColor',\n 'open',\n 'opener',\n 'placement',\n 'showDefaultColor',\n 'showMoreColors',\n 'showRecentColors',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5Close',\n 'ui5ItemClick',\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,mBAAmB,CAAA;AAZhC,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,CAAoE;AAE1F;;AAEG;QACH,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,mBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAuE;AAEhG;;;;AAIG;QACH,IAAA,CAAA,YAAY,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,cAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAkE;AAEtF;;AAEG;QACH,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,KAAK,iDAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;AAEpD;;;;AAIG;QACH,IAAA,CAAA,MAAM,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,QAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAA4D;AAE1E;;AAEG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAA8D,QAAQ,qDAAC;AAExF;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iBAAA,EAAA,gBAAA,EAAA,UAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,gBAAA,EAAA,EAAA,iBAAA,EAAA,kBAAA,EAAA,UAAA,EAAA,kBAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,UAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,SAAA,EAPnB;AACT,YAAA,+BAA+B,CAAC;gBAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;aAC9E;AACF,SAAA,EAAA,QAAA,EAAA,CAAA,wBAAA,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,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAZ/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,wDAAwD;AAClE,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,wBAAwB;AAClC,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;;;;"}
@@ -0,0 +1,125 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents/dist/ColorPalette.js';
4
+ import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
5
+
6
+ class ColorPalette {
7
+ constructor() {
8
+ /**
9
+ * Defines the accessible name of the component.
10
+ */
11
+ this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
12
+ /**
13
+ * Receives id(or many ids) of the elements that label the component.
14
+ */
15
+ this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : [])); // className is now passed
16
+ /**
17
+ * Fired when the user selects a color.
18
+ */
19
+ this.ui5ItemClick = output();
20
+ /**
21
+ * Available slots for content projection in this component.
22
+ *
23
+ * Slots allow you to insert custom content into predefined areas of the web component.
24
+ * Use the `slot` attribute on child elements to target specific slots.
25
+ *
26
+ * - **(default)**: Defines the `ui5-color-palette-item` elements.
27
+ *
28
+ * @example
29
+ * ```html
30
+ * <ui5-color-palette>
31
+ * <div slot="header">Custom header content</div>
32
+ * <p>Default slot content</p>
33
+ * </ui5-color-palette>
34
+ * ```
35
+ *
36
+ * @readonly
37
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}
38
+ */
39
+ this.slots = [
40
+ {
41
+ "name": "default",
42
+ "description": "Defines the `ui5-color-palette-item` elements."
43
+ }
44
+ ];
45
+ this.elementRef = inject(ElementRef);
46
+ this.injector = inject(Injector);
47
+ /**
48
+ * Content density observer is injected to activate automatic CSS class and
49
+ * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
50
+ * @private
51
+ */
52
+ this._contentDensityObserver = inject(ContentDensityObserver);
53
+ }
54
+ get element() {
55
+ return this.elementRef.nativeElement;
56
+ }
57
+ ngAfterViewInit() {
58
+ const wcElement = this.element;
59
+ const inputsToSync = [
60
+ 'accessibleName',
61
+ 'accessibleNameRef',
62
+ ];
63
+ // Synchronize inputs (properties)
64
+ for (const inputName of inputsToSync) {
65
+ // Find the corresponding camelCase signal property on the Angular component
66
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
67
+ // Use the Injector to run the effect in the correct context
68
+ if (this[signalName] && typeof this[signalName] === 'function') {
69
+ runInInjectionContext(this.injector, () => {
70
+ effect(() => {
71
+ // Read the signal value
72
+ const value = this[signalName]();
73
+ if (wcElement) {
74
+ // Write the value to the Web Component's property
75
+ wcElement[inputName] = value;
76
+ }
77
+ });
78
+ });
79
+ }
80
+ }
81
+ const outputsToSync = [
82
+ 'ui5ItemClick',
83
+ ];
84
+ // Synchronize outputs (events)
85
+ for (const outputName of outputsToSync) {
86
+ // Map Angular output name to UI5 web component event name
87
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
88
+ // Ensure the output property exists and has an emit function before adding listener
89
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
90
+ // Cast the listener to the correct type to satisfy TypeScript
91
+ wcElement.addEventListener(eventName, (e) => {
92
+ this[outputName].emit(e);
93
+ });
94
+ }
95
+ }
96
+ }
97
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPalette, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
98
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: ColorPalette, isStandalone: true, selector: "ui5-color-palette, [ui5-color-palette]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5ItemClick: "ui5ItemClick" }, providers: [
99
+ contentDensityObserverProviders({
100
+ supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
101
+ })
102
+ ], exportAs: ["ui5ColorPalette"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
103
+ }
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPalette, decorators: [{
105
+ type: Component,
106
+ args: [{
107
+ standalone: true,
108
+ selector: 'ui5-color-palette, [ui5-color-palette]',
109
+ template: '<ng-content></ng-content>',
110
+ exportAs: 'ui5ColorPalette',
111
+ providers: [
112
+ contentDensityObserverProviders({
113
+ supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
114
+ })
115
+ ],
116
+ changeDetection: ChangeDetectionStrategy.OnPush,
117
+ }]
118
+ }], propDecorators: { accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }], ui5ItemClick: [{ type: i0.Output, args: ["ui5ItemClick"] }] } });
119
+
120
+ /**
121
+ * Generated bundle index. Do not edit.
122
+ */
123
+
124
+ export { ColorPalette };
125
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-color-palette.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-color-palette.mjs","sources":["../../../../libs/ui5-webcomponents/color-palette/index.ts","../../../../libs/ui5-webcomponents/color-palette/fundamental-ngx-ui5-webcomponents-color-palette.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/ColorPalette.js';\nimport { default as _ColorPalette } from '@ui5/webcomponents/dist/ColorPalette.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, [ui5-color-palette]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5ColorPalette',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ColorPalette implements AfterViewInit {\n\n /**\n * Defines the accessible name of the component.\n */\n accessibleName = input<typeof _ColorPalette.prototype.accessibleName | undefined>();\n\n /**\n * Receives id(or many ids) of the elements that label the component.\n */\n accessibleNameRef = input<typeof _ColorPalette.prototype.accessibleNameRef | undefined>(); // className is now passed\n\n\n\n /**\n * Fired when the user selects a color.\n */\n ui5ItemClick = output<UI5CustomEvent<_ColorPalette, 'item-click'>>();\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the `ui5-color-palette-item` elements.\n *\n * @example\n * ```html\n * <ui5-color-palette>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-color-palette>\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 `ui5-color-palette-item` elements.\"\n }\n ];\n\n\n public elementRef: ElementRef<_ColorPalette> = 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(): _ColorPalette {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n ];\n \n // Synchronize inputs (properties)\n for (const inputName of inputsToSync) {\n // Find the corresponding camelCase signal property on the Angular component\n const signalName = inputName.replace(/-./g, (x: string) => x[1].toUpperCase());\n\n // Use the Injector to run the effect in the correct context\n if (this[signalName] && typeof this[signalName] === 'function') {\n runInInjectionContext(this.injector, () => {\n effect(() => {\n // Read the signal value\n const value = this[signalName]();\n if (wcElement) {\n // Write the value to the Web Component's property\n wcElement[inputName] = value;\n }\n });\n });\n }\n }\n \n \n const outputsToSync = [\n 'ui5ItemClick',\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,YAAY,CAAA;AAZzB,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,CAA6D;AAEnF;;AAEG;AACH,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,mBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAgE,CAAC;AAI1F;;AAEG;QACH,IAAA,CAAA,YAAY,GAAG,MAAM,EAA+C;AAEpE;;;;;;;;;;;;;;;;;;AAkBG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG;AACb,YAAA;AACI,gBAAA,MAAM,EAAE,SAAS;AACjB,gBAAA,aAAa,EAAE;AAClB;SACJ;AAGM,QAAA,IAAA,CAAA,UAAU,GAA8B,MAAM,CAA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,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;2FAS1B,YAAY,EAAA,UAAA,EAAA,CAAA;kBAZxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,wCAAwC;AAClD,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,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;;;;"}
@@ -0,0 +1,119 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, booleanAttribute, output, inject, ElementRef, Injector, runInInjectionContext, effect, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import '@ui5/webcomponents/dist/ColorPicker.js';
4
+ import { ContentDensityObserver, contentDensityObserverProviders, ContentDensityMode } from '@fundamental-ngx/core/content-density';
5
+
6
+ class ColorPicker {
7
+ constructor() {
8
+ /**
9
+ * Defines the accessible name of the component.
10
+ */
11
+ this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
12
+ /**
13
+ * Receives id(or many ids) of the elements that label the component.
14
+ */
15
+ this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
16
+ /**
17
+ * Determines the name by which the component will be identified upon submission in an HTML form.
18
+
19
+ **Note:** This property is only applicable within the context of an HTML Form element.
20
+ */
21
+ this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
22
+ /**
23
+ * When set to `true`, the alpha slider and inputs for RGB values will not be displayed.
24
+ */
25
+ this.simplified = input(false, { ...(ngDevMode ? { debugName: "simplified" } : {}), transform: booleanAttribute });
26
+ /**
27
+ * Defines the currently selected color of the component.
28
+
29
+ **Note**: use HEX, RGB, RGBA, HSV formats or a CSS color name when modifying this property.
30
+ */
31
+ this.value = input("rgba(255,255,255,1)", ...(ngDevMode ? [{ debugName: "value" }] : [])); // className is now passed
32
+ /**
33
+ * Fired when the the selected color is changed
34
+ */
35
+ this.ui5Change = output();
36
+ this.elementRef = inject(ElementRef);
37
+ this.injector = inject(Injector);
38
+ /**
39
+ * Content density observer is injected to activate automatic CSS class and
40
+ * UI5 attribute application. The observer self-initializes, no explicit subscribe() needed.
41
+ * @private
42
+ */
43
+ this._contentDensityObserver = inject(ContentDensityObserver);
44
+ }
45
+ get element() {
46
+ return this.elementRef.nativeElement;
47
+ }
48
+ ngAfterViewInit() {
49
+ const wcElement = this.element;
50
+ const inputsToSync = [
51
+ 'accessibleName',
52
+ 'accessibleNameRef',
53
+ 'name',
54
+ 'simplified',
55
+ 'value',
56
+ ];
57
+ // Synchronize inputs (properties)
58
+ for (const inputName of inputsToSync) {
59
+ // Find the corresponding camelCase signal property on the Angular component
60
+ const signalName = inputName.replace(/-./g, (x) => x[1].toUpperCase());
61
+ // Use the Injector to run the effect in the correct context
62
+ if (this[signalName] && typeof this[signalName] === 'function') {
63
+ runInInjectionContext(this.injector, () => {
64
+ effect(() => {
65
+ // Read the signal value
66
+ const value = this[signalName]();
67
+ if (wcElement) {
68
+ // Write the value to the Web Component's property
69
+ wcElement[inputName] = value;
70
+ }
71
+ });
72
+ });
73
+ }
74
+ }
75
+ const outputsToSync = [
76
+ 'ui5Change',
77
+ ];
78
+ // Synchronize outputs (events)
79
+ for (const outputName of outputsToSync) {
80
+ // Map Angular output name to UI5 web component event name
81
+ const eventName = outputName.replace('ui5', '').replace(/([A-Z])/g, '-$1').toLowerCase().substring(1);
82
+ // Ensure the output property exists and has an emit function before adding listener
83
+ if (this[outputName] && typeof this[outputName].emit === 'function' && wcElement.addEventListener) {
84
+ // Cast the listener to the correct type to satisfy TypeScript
85
+ wcElement.addEventListener(eventName, (e) => {
86
+ this[outputName].emit(e);
87
+ });
88
+ }
89
+ }
90
+ }
91
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPicker, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
92
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: ColorPicker, isStandalone: true, selector: "ui5-color-picker, [ui5-color-picker]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, simplified: { classPropertyName: "simplified", publicName: "simplified", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Change: "ui5Change" }, providers: [
93
+ contentDensityObserverProviders({
94
+ supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
95
+ })
96
+ ], exportAs: ["ui5ColorPicker"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
97
+ }
98
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: ColorPicker, decorators: [{
99
+ type: Component,
100
+ args: [{
101
+ standalone: true,
102
+ selector: 'ui5-color-picker, [ui5-color-picker]',
103
+ template: '<ng-content></ng-content>',
104
+ exportAs: 'ui5ColorPicker',
105
+ providers: [
106
+ contentDensityObserverProviders({
107
+ supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
108
+ })
109
+ ],
110
+ changeDetection: ChangeDetectionStrategy.OnPush,
111
+ }]
112
+ }], propDecorators: { accessibleName: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleName", required: false }] }], accessibleNameRef: [{ type: i0.Input, args: [{ isSignal: true, alias: "accessibleNameRef", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], simplified: [{ type: i0.Input, args: [{ isSignal: true, alias: "simplified", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], ui5Change: [{ type: i0.Output, args: ["ui5Change"] }] } });
113
+
114
+ /**
115
+ * Generated bundle index. Do not edit.
116
+ */
117
+
118
+ export { ColorPicker };
119
+ //# sourceMappingURL=fundamental-ngx-ui5-webcomponents-color-picker.mjs.map