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

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
@@ -8,33 +8,39 @@ class FormGroup {
8
8
  /**
9
9
  * Defines the accessible ARIA 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 id (or many ids) of the element (or 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 number of columns to distribute the form content by breakpoint (S1 M2 L3 XL4 for example).
18
20
 
19
21
  **Note:** This property is ignored if `columnSpan` is set, as it is expected that the column span is defined.
20
22
  */
21
- this.colSpan = input(...(ngDevMode ? [undefined, { debugName: "colSpan" }] : []));
23
+ this.colSpan = input(/* @ts-ignore */
24
+ ...(ngDevMode ? [undefined, { debugName: "colSpan" }] : /* istanbul ignore next */ []));
22
25
  /**
23
26
  * Defines column span of the component,
24
27
  e.g how many columns the group should span to.
25
28
 
26
29
  **Note:** If this property is set, it has higher priority than `colSpan` and `colSpan` will be ignored.
27
30
  */
28
- this.columnSpan = input(...(ngDevMode ? [undefined, { debugName: "columnSpan" }] : []));
31
+ this.columnSpan = input(/* @ts-ignore */
32
+ ...(ngDevMode ? [undefined, { debugName: "columnSpan" }] : /* istanbul ignore next */ []));
29
33
  /**
30
34
  * Defines the compoennt heading level,
31
35
  set by the `headerText`.
32
36
  */
33
- this.headerLevel = input("H3", ...(ngDevMode ? [{ debugName: "headerLevel" }] : []));
37
+ this.headerLevel = input("H3", /* @ts-ignore */
38
+ ...(ngDevMode ? [{ debugName: "headerLevel" }] : /* istanbul ignore next */ []));
34
39
  /**
35
40
  * Defines header text of the component.
36
41
  */
37
- this.headerText = input(...(ngDevMode ? [undefined, { debugName: "headerText" }] : [])); // className is now passed
42
+ this.headerText = input(/* @ts-ignore */
43
+ ...(ngDevMode ? [undefined, { debugName: "headerText" }] : /* istanbul ignore next */ [])); // className is now passed
38
44
  /**
39
45
  * Available slots for content projection in this component.
40
46
  *
@@ -106,14 +112,14 @@ class FormGroup {
106
112
  }
107
113
  }
108
114
  }
109
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FormGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
110
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: FormGroup, isStandalone: true, selector: "ui5-form-group, [ui5-form-group]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, colSpan: { classPropertyName: "colSpan", publicName: "colSpan", isSignal: true, isRequired: false, transformFunction: null }, columnSpan: { classPropertyName: "columnSpan", publicName: "columnSpan", isSignal: true, isRequired: false, transformFunction: null }, headerLevel: { classPropertyName: "headerLevel", publicName: "headerLevel", isSignal: true, isRequired: false, transformFunction: null }, headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
115
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormGroup, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
116
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: FormGroup, isStandalone: true, selector: "ui5-form-group, [ui5-form-group]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, colSpan: { classPropertyName: "colSpan", publicName: "colSpan", isSignal: true, isRequired: false, transformFunction: null }, columnSpan: { classPropertyName: "columnSpan", publicName: "columnSpan", isSignal: true, isRequired: false, transformFunction: null }, headerLevel: { classPropertyName: "headerLevel", publicName: "headerLevel", isSignal: true, isRequired: false, transformFunction: null }, headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
111
117
  contentDensityObserverProviders({
112
118
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
113
119
  })
114
120
  ], exportAs: ["ui5FormGroup"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
115
121
  }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FormGroup, decorators: [{
122
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormGroup, decorators: [{
117
123
  type: Component,
118
124
  args: [{
119
125
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-form-group.mjs","sources":["../../../../libs/ui5-webcomponents/form-group/index.ts","../../../../libs/ui5-webcomponents/form-group/fundamental-ngx-ui5-webcomponents-form-group.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/FormGroup.js';\nimport { default as _FormGroup } from '@ui5/webcomponents/dist/FormGroup.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { default as TitleLevel } from '@ui5/webcomponents/dist/types/TitleLevel.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-form-group, [ui5-form-group]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FormGroup',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormGroup implements AfterViewInit {\n\n /**\n * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _FormGroup.prototype.accessibleName | undefined>();\n\n /**\n * Defines id (or many ids) of the element (or elements) that label the component.\n */\n accessibleNameRef = input<typeof _FormGroup.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines the number of columns to distribute the form content by breakpoint (S1 M2 L3 XL4 for example).\n\n**Note:** This property is ignored if `columnSpan` is set, as it is expected that the column span is defined.\n */\n colSpan = input<typeof _FormGroup.prototype.colSpan | undefined>();\n\n /**\n * Defines column span of the component,\ne.g how many columns the group should span to.\n\n**Note:** If this property is set, it has higher priority than `colSpan` and `colSpan` will be ignored.\n */\n columnSpan = input<typeof _FormGroup.prototype.columnSpan | undefined>();\n\n /**\n * Defines the compoennt heading level,\nset by the `headerText`.\n */\n headerLevel = input<typeof _FormGroup.prototype.headerLevel | undefined>(\"H3\");\n\n /**\n * Defines header text of the component.\n */\n headerText = input<typeof _FormGroup.prototype.headerText | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the items of the component.\n *\n * @example\n * ```html\n * <ui5-form-group>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-form-group>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the items of the component.\"\n }\n ];\n\n\n public elementRef: ElementRef<_FormGroup> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\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(): _FormGroup {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'colSpan',\n 'columnSpan',\n 'headerLevel',\n 'headerText',\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,SAAS,CAAA;AAZtB,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,CAA0D;AAEhF;;AAEG;QACH,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,m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kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-form-group.mjs","sources":["../../../../libs/ui5-webcomponents/form-group/index.ts","../../../../libs/ui5-webcomponents/form-group/fundamental-ngx-ui5-webcomponents-form-group.ts"],"sourcesContent":["\nimport {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n input,\n output,\n AfterViewInit,\n effect,\n runInInjectionContext,\n inject,\n Injector,\n booleanAttribute,\n computed,\n signal\n} from '@angular/core';\nimport '@ui5/webcomponents/dist/FormGroup.js';\nimport { default as _FormGroup } from '@ui5/webcomponents/dist/FormGroup.js';\nimport { UI5CustomEvent } from '@ui5/webcomponents-base';\nimport {\n ContentDensityObserver,\n contentDensityObserverProviders,\n ContentDensityMode\n} from '@fundamental-ngx/core/content-density';\n\nimport { default as TitleLevel } from '@ui5/webcomponents/dist/types/TitleLevel.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-form-group, [ui5-form-group]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FormGroup',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormGroup implements AfterViewInit {\n\n /**\n * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _FormGroup.prototype.accessibleName | undefined>();\n\n /**\n * Defines id (or many ids) of the element (or elements) that label the component.\n */\n accessibleNameRef = input<typeof _FormGroup.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines the number of columns to distribute the form content by breakpoint (S1 M2 L3 XL4 for example).\n\n**Note:** This property is ignored if `columnSpan` is set, as it is expected that the column span is defined.\n */\n colSpan = input<typeof _FormGroup.prototype.colSpan | undefined>();\n\n /**\n * Defines column span of the component,\ne.g how many columns the group should span to.\n\n**Note:** If this property is set, it has higher priority than `colSpan` and `colSpan` will be ignored.\n */\n columnSpan = input<typeof _FormGroup.prototype.columnSpan | undefined>();\n\n /**\n * Defines the compoennt heading level,\nset by the `headerText`.\n */\n headerLevel = input<typeof _FormGroup.prototype.headerLevel | undefined>(\"H3\");\n\n /**\n * Defines header text of the component.\n */\n headerText = input<typeof _FormGroup.prototype.headerText | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the items of the component.\n *\n * @example\n * ```html\n * <ui5-form-group>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-form-group>\n * ```\n *\n * @readonly\n * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_templates_and_slots | MDN Web Components Slots}\n */\n readonly slots = [\n {\n \"name\": \"default\",\n \"description\": \"Defines the items of the component.\"\n }\n ];\n\n\n public elementRef: ElementRef<_FormGroup> = inject(ElementRef);\n public injector = inject(Injector);\n\n /**\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(): _FormGroup {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'accessibleNameRef',\n 'colSpan',\n 'columnSpan',\n 'headerLevel',\n 'headerText',\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,SAAS,CAAA;AAZtB,IAAA,WAAA,GAAA;AAcE;;AAEG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK;sGAA0D;AAEhF;;AAEG;AACH,QAAA,IAAA,CAAA,iBAAiB,GAAG,KAAK;yGAA6D;AAEtF;;;;AAIG;AACH,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK;+FAAmD;AAElE;;;;;AAKG;AACH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK;kGAAsD;AAExE;;;AAGG;QACH,IAAA,CAAA,WAAW,GAAG,KAAK,CAAsD,IAAI;wFAAC;AAE9E;;AAEG;AACH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK;AAAsD,QAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,YAAA,EAAA,CAAA,8BAAA,EAAA,CAAA,CAAA,CAAC;AAKzE;;;;;;;;;;;;;;;;;;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,GAA2B,MAAM,CAAC,UAAU,CAAC;AACvD,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AA+C1E,IAAA;AA7CC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa;IACtC;IAEA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AChB,oBAAA,QAAQ,EAAE,kCAAkC;AAC5C,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,SAAS,EAAE;AACT,wBAAA,+BAA+B,CAAC;4BAC9B,uBAAuB,EAAE,CAAC,kBAAkB,CAAC,OAAO,EAAE,kBAAkB,CAAC,IAAI;yBAC9E;AACF,qBAAA;oBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAChD,iBAAA;;;ACtCD;;AAEG;;;;"}
@@ -13,7 +13,8 @@ class FormItem {
13
13
  or the Form. The available columns can be affected by the FormGroup#columnSpan and/or the Form#layout.
14
14
  A number bigger than the available columns won't take effect.
15
15
  */
16
- this.columnSpan = input(...(ngDevMode ? [undefined, { debugName: "columnSpan" }] : [])); // className is now passed
16
+ this.columnSpan = input(/* @ts-ignore */
17
+ ...(ngDevMode ? [undefined, { debugName: "columnSpan" }] : /* istanbul ignore next */ [])); // className is now passed
17
18
  /**
18
19
  * Available slots for content projection in this component.
19
20
  *
@@ -86,14 +87,14 @@ class FormItem {
86
87
  }
87
88
  }
88
89
  }
89
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FormItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
90
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: FormItem, isStandalone: true, selector: "ui5-form-item, [ui5-form-item]", inputs: { columnSpan: { classPropertyName: "columnSpan", publicName: "columnSpan", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
90
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormItem, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
91
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: FormItem, isStandalone: true, selector: "ui5-form-item, [ui5-form-item]", inputs: { columnSpan: { classPropertyName: "columnSpan", publicName: "columnSpan", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
91
92
  contentDensityObserverProviders({
92
93
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
93
94
  })
94
95
  ], exportAs: ["ui5FormItem"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
95
96
  }
96
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: FormItem, decorators: [{
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: FormItem, decorators: [{
97
98
  type: Component,
98
99
  args: [{
99
100
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-form-item.mjs","sources":["../../../../libs/ui5-webcomponents/form-item/index.ts","../../../../libs/ui5-webcomponents/form-item/fundamental-ngx-ui5-webcomponents-form-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/FormItem.js';\nimport { default as _FormItem } from '@ui5/webcomponents/dist/FormItem.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-form-item, [ui5-form-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FormItem',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormItem implements AfterViewInit {\n\n /**\n * Defines the column span of the component,\ne.g how many columns the component should span to.\n\n**Note:** The column span should be a number between 1 and the available columns of the FormGroup (when items are placed in a group)\nor the Form. The available columns can be affected by the FormGroup#columnSpan and/or the Form#layout.\nA number bigger than the available columns won't take effect.\n */\n columnSpan = input<typeof _FormItem.prototype.columnSpan | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the component,\nassociated to `labelContent`.\n * - **labelContent**: Defines the label of the component.\n *\n * @example\n * ```html\n * <ui5-form-item>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-form-item>\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,\\nassociated to `labelContent`.\"\n },\n {\n \"name\": \"labelContent\",\n \"description\": \"Defines the label of the component.\"\n }\n ];\n\n\n public elementRef: ElementRef<_FormItem> = 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(): _FormItem {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'columnSpan',\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,QAAQ,CAAA;AAZrB,IAAA,WAAA,GAAA;AAcE;;;;;;;AAOG;AACH,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,YAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAqD,CAAC;AAKxE;;;;;;;;;;;;;;;;;;;;AAoBG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG;AACb,YAAA;AACI,gBAAA,MAAM,EAAE,SAAS;AACjB,gBAAA,aAAa,EAAE;AAClB,aAAA;AACD,YAAA;AACI,gBAAA,MAAM,EAAE,cAAc;AACtB,gBAAA,aAAa,EAAE;AAClB;SACJ;AAGM,QAAA,IAAA,CAAA,UAAU,GAA0B,MAAM,CAAC,UAAU,CAAC;AACtD,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAElC;;;;AAIG;AACc,QAAA,IAAA,CAAA,uBAAuB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AA0C1E,IAAA;AAxCC,IAAA,IAAI,OAAO,GAAA;AACT,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa;IACtC;IAEA,eAAe,GAAA;AACb,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,OAAO;AAE9B,QAAA,MAAM,YAAY,GAAG;YACnB,YAAY;SACb;;AAGD,QAAA,KAAK,MAAM,SAAS,IAAI,YAAY,EAAE;;YAEpC,MAAM,UAAU,GAAG,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,CAAS,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;;AAG9E,YAAA,IAAI,IAAI,CAAC,UAAU,C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QAAQ,EAAA,UAAA,EAAA,CAAA;kBAZpB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gCAAgC;AAC1C,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;;;ACtCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-form-item.mjs","sources":["../../../../libs/ui5-webcomponents/form-item/index.ts","../../../../libs/ui5-webcomponents/form-item/fundamental-ngx-ui5-webcomponents-form-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/FormItem.js';\nimport { default as _FormItem } from '@ui5/webcomponents/dist/FormItem.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-form-item, [ui5-form-item]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5FormItem',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FormItem implements AfterViewInit {\n\n /**\n * Defines the column span of the component,\ne.g how many columns the component should span to.\n\n**Note:** The column span should be a number between 1 and the available columns of the FormGroup (when items are placed in a group)\nor the Form. The available columns can be affected by the FormGroup#columnSpan and/or the Form#layout.\nA number bigger than the available columns won't take effect.\n */\n columnSpan = input<typeof _FormItem.prototype.columnSpan | undefined>(); // className is now passed\n\n\n\n\n /**\n * Available slots for content projection in this component.\n *\n * Slots allow you to insert custom content into predefined areas of the web component.\n * Use the `slot` attribute on child elements to target specific slots.\n *\n * - **(default)**: Defines the content of the component,\nassociated to `labelContent`.\n * - **labelContent**: Defines the label of the component.\n *\n * @example\n * ```html\n * <ui5-form-item>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-form-item>\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,\\nassociated to `labelContent`.\"\n },\n {\n \"name\": \"labelContent\",\n \"description\": \"Defines the label of the component.\"\n }\n ];\n\n\n public elementRef: ElementRef<_FormItem> = 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(): _FormItem {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'columnSpan',\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[in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B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gCAAgC;AAC1C,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;;;ACtCD;;AAEG;;;;"}
@@ -15,15 +15,18 @@ class Form {
15
15
  - Set this property to "Display", when the form consists of non-editable (e.g. texts) form items.
16
16
  - Set this property to "Edit", when the form consists of editable (e.g. input fields) form items.
17
17
  */
18
- this.accessibleMode = input("Display", ...(ngDevMode ? [{ debugName: "accessibleMode" }] : []));
18
+ this.accessibleMode = input("Display", /* @ts-ignore */
19
+ ...(ngDevMode ? [{ debugName: "accessibleMode" }] : /* istanbul ignore next */ []));
19
20
  /**
20
21
  * Defines the accessible ARIA name of the component.
21
22
  */
22
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
23
+ this.accessibleName = input(/* @ts-ignore */
24
+ ...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ []));
23
25
  /**
24
26
  * Defines id (or many ids) of the element (or elements) that label the component.
25
27
  */
26
- this.accessibleNameRef = input(...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : []));
28
+ this.accessibleNameRef = input(/* @ts-ignore */
29
+ ...(ngDevMode ? [undefined, { debugName: "accessibleNameRef" }] : /* istanbul ignore next */ []));
27
30
  /**
28
31
  * Defines the number of cells that are empty at the end of each form item, configurable by breakpoint.
29
32
 
@@ -34,18 +37,21 @@ class Form {
34
37
  - The maximum allowable empty space is 10 cells. At least 1 cell each must remain for the label and the field.
35
38
  - When `emptySpan` is specified (greater than 0), ensure that the combined value of `emptySpan` and `labelSpan` does not exceed 11. This guarantees a minimum of 1 cell for the field.
36
39
  */
37
- this.emptySpan = input("S0 M0 L0 XL0", ...(ngDevMode ? [{ debugName: "emptySpan" }] : []));
40
+ this.emptySpan = input("S0 M0 L0 XL0", /* @ts-ignore */
41
+ ...(ngDevMode ? [{ debugName: "emptySpan" }] : /* istanbul ignore next */ []));
38
42
  /**
39
43
  * Defines the compoennt heading level,
40
44
  set by the `headerText`.
41
45
  */
42
- this.headerLevel = input("H2", ...(ngDevMode ? [{ debugName: "headerLevel" }] : []));
46
+ this.headerLevel = input("H2", /* @ts-ignore */
47
+ ...(ngDevMode ? [{ debugName: "headerLevel" }] : /* istanbul ignore next */ []));
43
48
  /**
44
49
  * Defines the header text of the component.
45
50
 
46
51
  **Note:** The property gets overridden by the `header` slot.
47
52
  */
48
- this.headerText = input(...(ngDevMode ? [undefined, { debugName: "headerText" }] : []));
53
+ this.headerText = input(/* @ts-ignore */
54
+ ...(ngDevMode ? [undefined, { debugName: "headerText" }] : /* istanbul ignore next */ []));
49
55
  /**
50
56
  * Defines the vertical spacing between form items.
51
57
 
@@ -53,7 +59,8 @@ class Form {
53
59
  we recommend using "Large" item spacing in "display"("non-edit") mode, and "Normal" - for "edit" mode,
54
60
  to avoid "jumping" effect, caused by the hight difference between texts in "display"("non-edit") mode and the input fields in "edit" mode.
55
61
  */
56
- this.itemSpacing = input("Normal", ...(ngDevMode ? [{ debugName: "itemSpacing" }] : []));
62
+ this.itemSpacing = input("Normal", /* @ts-ignore */
63
+ ...(ngDevMode ? [{ debugName: "itemSpacing" }] : /* istanbul ignore next */ []));
57
64
  /**
58
65
  * Defines the width proportion of the labels and fields of a form item by breakpoint.
59
66
 
@@ -64,7 +71,8 @@ class Form {
64
71
 
65
72
  **Note:** If "12" is set, the label will be displayed on top of its assosiated field.
66
73
  */
67
- this.labelSpan = input("S12 M4 L4 XL4", ...(ngDevMode ? [{ debugName: "labelSpan" }] : []));
74
+ this.labelSpan = input("S12 M4 L4 XL4", /* @ts-ignore */
75
+ ...(ngDevMode ? [{ debugName: "labelSpan" }] : /* istanbul ignore next */ []));
68
76
  /**
69
77
  * Defines the number of columns to distribute the form content by breakpoint.
70
78
 
@@ -74,7 +82,8 @@ class Form {
74
82
  - `L` - 2 columns by default (up to 3 columns are recommended)
75
83
  - `XL` - 3 columns by default (up to 6 columns are recommended)
76
84
  */
77
- this.layout = input("S1 M1 L2 XL3", ...(ngDevMode ? [{ debugName: "layout" }] : [])); // className is now passed
85
+ this.layout = input("S1 M1 L2 XL3", /* @ts-ignore */
86
+ ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ [])); // className is now passed
78
87
  /**
79
88
  * Available slots for content projection in this component.
80
89
  *
@@ -162,14 +171,14 @@ class Form {
162
171
  }
163
172
  }
164
173
  }
165
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Form, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
166
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: Form, isStandalone: true, selector: "ui5-form, [ui5-form]", inputs: { accessibleMode: { classPropertyName: "accessibleMode", publicName: "accessibleMode", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, emptySpan: { classPropertyName: "emptySpan", publicName: "emptySpan", isSignal: true, isRequired: false, transformFunction: null }, headerLevel: { classPropertyName: "headerLevel", publicName: "headerLevel", isSignal: true, isRequired: false, transformFunction: null }, headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, itemSpacing: { classPropertyName: "itemSpacing", publicName: "itemSpacing", isSignal: true, isRequired: false, transformFunction: null }, labelSpan: { classPropertyName: "labelSpan", publicName: "labelSpan", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Form, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
175
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: Form, isStandalone: true, selector: "ui5-form, [ui5-form]", inputs: { accessibleMode: { classPropertyName: "accessibleMode", publicName: "accessibleMode", isSignal: true, isRequired: false, transformFunction: null }, accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, accessibleNameRef: { classPropertyName: "accessibleNameRef", publicName: "accessibleNameRef", isSignal: true, isRequired: false, transformFunction: null }, emptySpan: { classPropertyName: "emptySpan", publicName: "emptySpan", isSignal: true, isRequired: false, transformFunction: null }, headerLevel: { classPropertyName: "headerLevel", publicName: "headerLevel", isSignal: true, isRequired: false, transformFunction: null }, headerText: { classPropertyName: "headerText", publicName: "headerText", isSignal: true, isRequired: false, transformFunction: null }, itemSpacing: { classPropertyName: "itemSpacing", publicName: "itemSpacing", isSignal: true, isRequired: false, transformFunction: null }, labelSpan: { classPropertyName: "labelSpan", publicName: "labelSpan", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
167
176
  contentDensityObserverProviders({
168
177
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
169
178
  })
170
179
  ], exportAs: ["ui5Form"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
171
180
  }
172
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Form, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Form, decorators: [{
173
182
  type: Component,
174
183
  args: [{
175
184
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-form.mjs","sources":["../../../../libs/ui5-webcomponents/form/index.ts","../../../../libs/ui5-webcomponents/form/fundamental-ngx-ui5-webcomponents-form.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/Form.js';\nimport { default as _Form } from '@ui5/webcomponents/dist/Form.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 FormAccessibleMode } from '@ui5/webcomponents/dist/types/FormAccessibleMode.js';\nimport { default as TitleLevel } from '@ui5/webcomponents/dist/types/TitleLevel.js';\nimport { default as FormItemSpacing } from '@ui5/webcomponents/dist/types/FormItemSpacing.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-form, [ui5-form]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Form',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Form implements AfterViewInit {\n\n /**\n * Defines the accessibility mode of the component in \"edit\" and \"display\" use-cases.\n\nBased on the mode, the component renders different HTML elements and ARIA attributes,\nwhich are appropriate for the use-case.\n\n**Usage:**\n- Set this property to \"Display\", when the form consists of non-editable (e.g. texts) form items.\n- Set this property to \"Edit\", when the form consists of editable (e.g. input fields) form items.\n */\n accessibleMode = input<typeof _Form.prototype.accessibleMode | undefined>(\"Display\");\n\n /**\n * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _Form.prototype.accessibleName | undefined>();\n\n /**\n * Defines id (or many ids) of the element (or elements) that label the component.\n */\n accessibleNameRef = input<typeof _Form.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines the number of cells that are empty at the end of each form item, configurable by breakpoint.\n\nBy default, a form item spans 12 cells, fully divided between its label (4 cells) and field (8 cells), with no empty space at the end.\nThe `emptySpan` provides additional layout flexibility by defining empty space at the form item’s end.\n\n**Note:**\n- The maximum allowable empty space is 10 cells. At least 1 cell each must remain for the label and the field.\n- When `emptySpan` is specified (greater than 0), ensure that the combined value of `emptySpan` and `labelSpan` does not exceed 11. This guarantees a minimum of 1 cell for the field.\n */\n emptySpan = input<typeof _Form.prototype.emptySpan | undefined>(\"S0 M0 L0 XL0\");\n\n /**\n * Defines the compoennt heading level,\nset by the `headerText`.\n */\n headerLevel = input<typeof _Form.prototype.headerLevel | undefined>(\"H2\");\n\n /**\n * Defines the header text of the component.\n\n**Note:** The property gets overridden by the `header` slot.\n */\n headerText = input<typeof _Form.prototype.headerText | undefined>();\n\n /**\n * Defines the vertical spacing between form items.\n\n**Note:** If the Form is meant to be switched between \"display\"(\"non-edit\") and \"edit\" modes,\nwe recommend using \"Large\" item spacing in \"display\"(\"non-edit\") mode, and \"Normal\" - for \"edit\" mode,\nto avoid \"jumping\" effect, caused by the hight difference between texts in \"display\"(\"non-edit\") mode and the input fields in \"edit\" mode.\n */\n itemSpacing = input<typeof _Form.prototype.itemSpacing | undefined>(\"Normal\");\n\n /**\n * Defines the width proportion of the labels and fields of a form item by breakpoint.\n\nBy default, the labels take 4/12 (or 1/3) of the form item in M,L and XL sizes,\nand 12/12 in S size, e.g in S the label is on top of its associated field.\n\nThe supported values are between 1 and 12. Greater the number, more space the label will use.\n\n**Note:** If \"12\" is set, the label will be displayed on top of its assosiated field.\n */\n labelSpan = input<typeof _Form.prototype.labelSpan | undefined>(\"S12 M4 L4 XL4\");\n\n /**\n * Defines the number of columns to distribute the form content by breakpoint.\n\nSupported values:\n- `S` - 1 column by default (1 column is recommended)\n- `M` - 1 column by default (up to 2 columns are recommended)\n- `L` - 2 columns by default (up to 3 columns are recommended)\n- `XL` - 3 columns by default (up to 6 columns are recommended)\n */\n layout = input<typeof _Form.prototype.layout | undefined>(\"S1 M1 L2 XL3\"); // 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 component content - FormGroups or FormItems.\n\n**Note:** Mixing FormGroups and standalone FormItems (not belonging to a group) is not supported.\nEither use FormGroups and make sure all FormItems are part of a FormGroup, or use just FormItems without any FormGroups.\n\n**Note:** As of version 2.23.0 the support for standalone FormItems (not belonging to a group) is deprecated.\nWe recommend using FormGroups, as they provide better accessibility and layout options.\n * - **header**: Defines the component header area.\n\n**Note:** When a `header` is provided, the `headerText` property is ignored.\n *\n * @example\n * ```html\n * <ui5-form>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-form>\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 component content - FormGroups or FormItems.\\n\\n**Note:** Mixing FormGroups and standalone FormItems (not belonging to a group) is not supported.\\nEither use FormGroups and make sure all FormItems are part of a FormGroup, or use just FormItems without any FormGroups.\\n\\n**Note:** As of version 2.23.0 the support for standalone FormItems (not belonging to a group) is deprecated.\\nWe recommend using FormGroups, as they provide better accessibility and layout options.\"\n },\n {\n \"name\": \"header\",\n \"description\": \"Defines the component header area.\\n\\n**Note:** When a `header` is provided, the `headerText` property is ignored.\"\n }\n ];\n\n\n public elementRef: ElementRef<_Form> = 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(): _Form {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleMode',\n 'accessibleName',\n 'accessibleNameRef',\n 'emptySpan',\n 'headerLevel',\n 'headerText',\n 'itemSpacing',\n 'labelSpan',\n 'layout',\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":";;;;;MAyCa,IAAI,CAAA;AAZjB,IAAA,WAAA,GAAA;AAcE;;;;;;;;;AASG;AACH,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAoD,SAAS,0DAAC;AAEpF;;AAEG;QACH,IAAA,CAAA,cAAc,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAqD;AAE3E;;AAEG;QACH,IAAA,CAAA,iBAAiB,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,mBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAwD;AAEjF;;;;;;;;;AASG;AACH,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAA+C,cAAc,qDAAC;AAE/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,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;;;ACxCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-form.mjs","sources":["../../../../libs/ui5-webcomponents/form/index.ts","../../../../libs/ui5-webcomponents/form/fundamental-ngx-ui5-webcomponents-form.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/Form.js';\nimport { default as _Form } from '@ui5/webcomponents/dist/Form.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 FormAccessibleMode } from '@ui5/webcomponents/dist/types/FormAccessibleMode.js';\nimport { default as TitleLevel } from '@ui5/webcomponents/dist/types/TitleLevel.js';\nimport { default as FormItemSpacing } from '@ui5/webcomponents/dist/types/FormItemSpacing.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-form, [ui5-form]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Form',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Form implements AfterViewInit {\n\n /**\n * Defines the accessibility mode of the component in \"edit\" and \"display\" use-cases.\n\nBased on the mode, the component renders different HTML elements and ARIA attributes,\nwhich are appropriate for the use-case.\n\n**Usage:**\n- Set this property to \"Display\", when the form consists of non-editable (e.g. texts) form items.\n- Set this property to \"Edit\", when the form consists of editable (e.g. input fields) form items.\n */\n accessibleMode = input<typeof _Form.prototype.accessibleMode | undefined>(\"Display\");\n\n /**\n * Defines the accessible ARIA name of the component.\n */\n accessibleName = input<typeof _Form.prototype.accessibleName | undefined>();\n\n /**\n * Defines id (or many ids) of the element (or elements) that label the component.\n */\n accessibleNameRef = input<typeof _Form.prototype.accessibleNameRef | undefined>();\n\n /**\n * Defines the number of cells that are empty at the end of each form item, configurable by breakpoint.\n\nBy default, a form item spans 12 cells, fully divided between its label (4 cells) and field (8 cells), with no empty space at the end.\nThe `emptySpan` provides additional layout flexibility by defining empty space at the form item’s end.\n\n**Note:**\n- The maximum allowable empty space is 10 cells. At least 1 cell each must remain for the label and the field.\n- When `emptySpan` is specified (greater than 0), ensure that the combined value of `emptySpan` and `labelSpan` does not exceed 11. This guarantees a minimum of 1 cell for the field.\n */\n emptySpan = input<typeof _Form.prototype.emptySpan | undefined>(\"S0 M0 L0 XL0\");\n\n /**\n * Defines the compoennt heading level,\nset by the `headerText`.\n */\n headerLevel = input<typeof _Form.prototype.headerLevel | undefined>(\"H2\");\n\n /**\n * Defines the header text of the component.\n\n**Note:** The property gets overridden by the `header` slot.\n */\n headerText = input<typeof _Form.prototype.headerText | undefined>();\n\n /**\n * Defines the vertical spacing between form items.\n\n**Note:** If the Form is meant to be switched between \"display\"(\"non-edit\") and \"edit\" modes,\nwe recommend using \"Large\" item spacing in \"display\"(\"non-edit\") mode, and \"Normal\" - for \"edit\" mode,\nto avoid \"jumping\" effect, caused by the hight difference between texts in \"display\"(\"non-edit\") mode and the input fields in \"edit\" mode.\n */\n itemSpacing = input<typeof _Form.prototype.itemSpacing | undefined>(\"Normal\");\n\n /**\n * Defines the width proportion of the labels and fields of a form item by breakpoint.\n\nBy default, the labels take 4/12 (or 1/3) of the form item in M,L and XL sizes,\nand 12/12 in S size, e.g in S the label is on top of its associated field.\n\nThe supported values are between 1 and 12. Greater the number, more space the label will use.\n\n**Note:** If \"12\" is set, the label will be displayed on top of its assosiated field.\n */\n labelSpan = input<typeof _Form.prototype.labelSpan | undefined>(\"S12 M4 L4 XL4\");\n\n /**\n * Defines the number of columns to distribute the form content by breakpoint.\n\nSupported values:\n- `S` - 1 column by default (1 column is recommended)\n- `M` - 1 column by default (up to 2 columns are recommended)\n- `L` - 2 columns by default (up to 3 columns are recommended)\n- `XL` - 3 columns by default (up to 6 columns are recommended)\n */\n layout = input<typeof _Form.prototype.layout | undefined>(\"S1 M1 L2 XL3\"); // 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 component content - FormGroups or FormItems.\n\n**Note:** Mixing FormGroups and standalone FormItems (not belonging to a group) is not supported.\nEither use FormGroups and make sure all FormItems are part of a FormGroup, or use just FormItems without any FormGroups.\n\n**Note:** As of version 2.23.0 the support for standalone FormItems (not belonging to a group) is deprecated.\nWe recommend using FormGroups, as they provide better accessibility and layout options.\n * - **header**: Defines the component header area.\n\n**Note:** When a `header` is provided, the `headerText` property is ignored.\n *\n * @example\n * ```html\n * <ui5-form>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-form>\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 component content - FormGroups or FormItems.\\n\\n**Note:** Mixing FormGroups and standalone FormItems (not belonging to a group) is not supported.\\nEither use FormGroups and make sure all FormItems are part of a FormGroup, or use just FormItems without any FormGroups.\\n\\n**Note:** As of version 2.23.0 the support for standalone FormItems (not belonging to a group) is deprecated.\\nWe recommend using FormGroups, as they provide better accessibility and layout options.\"\n },\n {\n \"name\": \"header\",\n \"description\": \"Defines the component header area.\\n\\n**Note:** When a `header` is provided, the `headerText` property is ignored.\"\n }\n ];\n\n\n public elementRef: ElementRef<_Form> = 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(): _Form {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleMode',\n 'accessibleName',\n 'accessibleNameRef',\n 'emptySpan',\n 'headerLevel',\n 'headerText',\n 'itemSpacing',\n 'labelSpan',\n 'layout',\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 bund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A,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,MAAA,EAAA,EAAA,iBAAA,EAAA,QAAA,EAAA,UAAA,EAAA,QAAA,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;;;ACxCD;;AAEG;;;;"}
@@ -12,15 +12,18 @@ class Icon {
12
12
  **Note:** Every icon should have a text alternative in order to
13
13
  calculate its accessible name.
14
14
  */
15
- this.accessibleName = input(...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : []));
15
+ this.accessibleName = input(/* @ts-ignore */
16
+ ...(ngDevMode ? [undefined, { debugName: "accessibleName" }] : /* istanbul ignore next */ []));
16
17
  /**
17
18
  * Defines the component semantic design.
18
19
  */
19
- this.design = input("Default", ...(ngDevMode ? [{ debugName: "design" }] : []));
20
+ this.design = input("Default", /* @ts-ignore */
21
+ ...(ngDevMode ? [{ debugName: "design" }] : /* istanbul ignore next */ []));
20
22
  /**
21
23
  * Defines the mode of the component.
22
24
  */
23
- this.mode = input("Decorative", ...(ngDevMode ? [{ debugName: "mode" }] : []));
25
+ this.mode = input("Decorative", /* @ts-ignore */
26
+ ...(ngDevMode ? [{ debugName: "mode" }] : /* istanbul ignore next */ []));
24
27
  /**
25
28
  * Defines the unique identifier (icon name) of the component.
26
29
 
@@ -44,13 +47,14 @@ class Icon {
44
47
  Example:
45
48
  `name='business-suite/3d'`, `name='business-suite/1x2-grid-layout'`, `name='business-suite/4x4-grid-layout'`.
46
49
  */
47
- this.name = input(...(ngDevMode ? [undefined, { debugName: "name" }] : []));
50
+ this.name = input(/* @ts-ignore */
51
+ ...(ngDevMode ? [undefined, { debugName: "name" }] : /* istanbul ignore next */ []));
48
52
  /**
49
53
  * Defines whether the component should have a tooltip.
50
54
 
51
55
  **Note:** The tooltip text should be provided via the `accessible-name` property.
52
56
  */
53
- this.showTooltip = input(false, { ...(ngDevMode ? { debugName: "showTooltip" } : {}), transform: booleanAttribute }); // className is now passed
57
+ this.showTooltip = input(false, { ...(ngDevMode ? { debugName: "showTooltip" } : /* istanbul ignore next */ {}), transform: booleanAttribute }); // className is now passed
54
58
  /**
55
59
  * Fired when the component is activated by mouse/touch, keyboard (Enter or Space),
56
60
  or screen reader virtual cursor activation.
@@ -155,14 +159,14 @@ class Icon {
155
159
  }
156
160
  }
157
161
  }
158
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Icon, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
159
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.1.0", type: Icon, isStandalone: true, selector: "ui5-icon, [ui5-icon]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, design: { classPropertyName: "design", publicName: "design", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, showTooltip: { classPropertyName: "showTooltip", publicName: "showTooltip", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, providers: [
162
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Icon, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
163
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.5", type: Icon, isStandalone: true, selector: "ui5-icon, [ui5-icon]", inputs: { accessibleName: { classPropertyName: "accessibleName", publicName: "accessibleName", isSignal: true, isRequired: false, transformFunction: null }, design: { classPropertyName: "design", publicName: "design", isSignal: true, isRequired: false, transformFunction: null }, mode: { classPropertyName: "mode", publicName: "mode", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, showTooltip: { classPropertyName: "showTooltip", publicName: "showTooltip", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ui5Click: "ui5Click" }, providers: [
160
164
  contentDensityObserverProviders({
161
165
  supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]
162
166
  })
163
167
  ], exportAs: ["ui5Icon"], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
164
168
  }
165
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: Icon, decorators: [{
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: Icon, decorators: [{
166
170
  type: Component,
167
171
  args: [{
168
172
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"fundamental-ngx-ui5-webcomponents-icon.mjs","sources":["../../../../libs/ui5-webcomponents/icon/index.ts","../../../../libs/ui5-webcomponents/icon/fundamental-ngx-ui5-webcomponents-icon.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/Icon.js';\nimport { default as _Icon } from '@ui5/webcomponents/dist/Icon.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 IconDesign } from '@ui5/webcomponents/dist/types/IconDesign.js';\nimport { default as IconMode } from '@ui5/webcomponents/dist/types/IconMode.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-icon, [ui5-icon]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Icon',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Icon implements AfterViewInit {\n\n /**\n * Defines the text alternative of the component.\nIf not provided a default text alternative will be set, if present.\n\n**Note:** Every icon should have a text alternative in order to\ncalculate its accessible name.\n */\n accessibleName = input<typeof _Icon.prototype.accessibleName | undefined>();\n\n /**\n * Defines the component semantic design.\n */\n design = input<typeof _Icon.prototype.design | undefined>(\"Default\");\n\n /**\n * Defines the mode of the component.\n */\n mode = input<typeof _Icon.prototype.mode | undefined>(\"Decorative\");\n\n /**\n * Defines the unique identifier (icon name) of the component.\n\nTo browse all available icons, see the\n[SAP Icons](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html),\n[SAP Fiori Tools](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons-TNT) and\n[SAP Business Suite](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html)\n\nExample:\n`name='add'`, `name='delete'`, `name='employee'`.\n\n**Note:** To use the SAP Fiori Tools icons,\nyou need to set the `tnt` prefix in front of the icon's name.\n\nExample:\n`name='tnt/antenna'`, `name='tnt/actor'`, `name='tnt/api'`.\n\n**Note:** To use the SAP Business Suite icons,\nyou need to set the `business-suite` prefix in front of the icon's name.\n\nExample:\n`name='business-suite/3d'`, `name='business-suite/1x2-grid-layout'`, `name='business-suite/4x4-grid-layout'`.\n */\n name = input<typeof _Icon.prototype.name | undefined>();\n\n /**\n * Defines whether the component should have a tooltip.\n\n**Note:** The tooltip text should be provided via the `accessible-name` property.\n */\n showTooltip = input(false, { transform: booleanAttribute }); // className is now passed\n\n\n\n /**\n * Fired when the component is activated by mouse/touch, keyboard (Enter or Space),\nor screen reader virtual cursor activation.\n\n**Note:** The event will not be fired if the `mode` property is set to `Decorative` or `Image`.\n */\n ui5Click = output<UI5CustomEvent<_Icon, '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 * - **fontIcon**: Defines the font icon to be used as an icon.\nIntended for font-based icon libraries where\nthe application loads the font and provides a slotted element with the unicode character.\nWhen this slot is used, the component renders a `<span>` instead of an `<svg>`.\nAccessibility is fully delegated to the application — set `accessible-name` and `mode` explicitly.\n\n**Example:**\n```html\n<ui5-icon mode=\"Image\" accessible-name=\"Home\">\n <i class=\"fa fa-home\" slot=\"fontIcon\"></i>\n</ui5-icon>\n```\n *\n * @example\n * ```html\n * <ui5-icon>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-icon>\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\": \"fontIcon\",\n \"description\": \"Defines the font icon to be used as an icon.\\nIntended for font-based icon libraries where\\nthe application loads the font and provides a slotted element with the unicode character.\\nWhen this slot is used, the component renders a `<span>` instead of an `<svg>`.\\nAccessibility is fully delegated to the application — set `accessible-name` and `mode` explicitly.\\n\\n**Example:**\\n```html\\n<ui5-icon mode=\\\"Image\\\" accessible-name=\\\"Home\\\">\\n <i class=\\\"fa fa-home\\\" slot=\\\"fontIcon\\\"></i>\\n</ui5-icon>\\n```\",\n \"since\": \"2.23.0\"\n }\n ];\n\n\n public elementRef: ElementRef<_Icon> = 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(): _Icon {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'design',\n 'mode',\n 'name',\n 'showTooltip',\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":";;;;;MAwCa,IAAI,CAAA;AAZjB,IAAA,WAAA,GAAA;AAcE;;;;;;AAMG;QACH,IAAA,CAAA,cAAc,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,gBAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAAqD;AAE3E;;AAEG;AACH,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAA4C,SAAS,kDAAC;AAEpE;;AAEG;AACH,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAA0C,YAAY,gDAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;AAsBG;QACH,IAAA,CAAA,IAAI,GAAG,KAAK,CAAA,IAAA,SAAA,GAAA,CAAA,SAAA,EAAA,EAAA,SAAA,EAAA,MAAA,EAAA,CAAA,GAAA,EAAA,CAAA,CAA2C;AAEvD;;;;AAIG;QACH,IAAA,CAAA,WAAW,GAAG,KAAK,CAAC,KAAK,EAAA,EAAA,IAAA,SAAA,GAAA,EAAA,SAAA,EAAA,aAAA,EAAA,GAAA,EAAA,CAAA,EAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG,CAAC;AAI5D;;;;;AAKG;QACH,IAAA,CAAA,QAAQ,GAAG,MAAM,EAAkC;AAEnD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BG;AACM,QAAA,IAAA,CAAA,KAAK,GAAG;AACb,YAAA;AACI,gBAAA,MAAM,EAAE,UAAU;AAClB,gBAAA,aAAa,EAAE,6fAA6f;AAC5gB,gBAAA,OAAO,EAAE;AACZ;SACJ;AAGM,QAAA,IAAA,CAAA,UAAU,GAAsB,MAAM,C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,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,WAAA,EAAA,EAAA,iBAAA,EAAA,aAAA,EAAA,UAAA,EAAA,aAAA,EAAA,QAAA,EAAA,IAAA,EAAA,UAAA,EAAA,KAAA,EAAA,iBAAA,EAAA,IAAA,EAAA,EAAA,EAAA,OAAA,EAAA,EAAA,QAAA,EAAA,UAAA,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;;;ACvCD;;AAEG;;;;"}
1
+ {"version":3,"file":"fundamental-ngx-ui5-webcomponents-icon.mjs","sources":["../../../../libs/ui5-webcomponents/icon/index.ts","../../../../libs/ui5-webcomponents/icon/fundamental-ngx-ui5-webcomponents-icon.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/Icon.js';\nimport { default as _Icon } from '@ui5/webcomponents/dist/Icon.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 IconDesign } from '@ui5/webcomponents/dist/types/IconDesign.js';\nimport { default as IconMode } from '@ui5/webcomponents/dist/types/IconMode.js';\n\n@Component({\n standalone: true,\n selector: 'ui5-icon, [ui5-icon]',\n template: '<ng-content></ng-content>',\n exportAs: 'ui5Icon',\n providers: [\n contentDensityObserverProviders({\n supportedContentDensity: [ContentDensityMode.COMPACT, ContentDensityMode.COZY]\n })\n ],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class Icon implements AfterViewInit {\n\n /**\n * Defines the text alternative of the component.\nIf not provided a default text alternative will be set, if present.\n\n**Note:** Every icon should have a text alternative in order to\ncalculate its accessible name.\n */\n accessibleName = input<typeof _Icon.prototype.accessibleName | undefined>();\n\n /**\n * Defines the component semantic design.\n */\n design = input<typeof _Icon.prototype.design | undefined>(\"Default\");\n\n /**\n * Defines the mode of the component.\n */\n mode = input<typeof _Icon.prototype.mode | undefined>(\"Decorative\");\n\n /**\n * Defines the unique identifier (icon name) of the component.\n\nTo browse all available icons, see the\n[SAP Icons](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html),\n[SAP Fiori Tools](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html#/overview/SAP-icons-TNT) and\n[SAP Business Suite](https://sdk.openui5.org/test-resources/sap/m/demokit/iconExplorer/webapp/index.html)\n\nExample:\n`name='add'`, `name='delete'`, `name='employee'`.\n\n**Note:** To use the SAP Fiori Tools icons,\nyou need to set the `tnt` prefix in front of the icon's name.\n\nExample:\n`name='tnt/antenna'`, `name='tnt/actor'`, `name='tnt/api'`.\n\n**Note:** To use the SAP Business Suite icons,\nyou need to set the `business-suite` prefix in front of the icon's name.\n\nExample:\n`name='business-suite/3d'`, `name='business-suite/1x2-grid-layout'`, `name='business-suite/4x4-grid-layout'`.\n */\n name = input<typeof _Icon.prototype.name | undefined>();\n\n /**\n * Defines whether the component should have a tooltip.\n\n**Note:** The tooltip text should be provided via the `accessible-name` property.\n */\n showTooltip = input(false, { transform: booleanAttribute }); // className is now passed\n\n\n\n /**\n * Fired when the component is activated by mouse/touch, keyboard (Enter or Space),\nor screen reader virtual cursor activation.\n\n**Note:** The event will not be fired if the `mode` property is set to `Decorative` or `Image`.\n */\n ui5Click = output<UI5CustomEvent<_Icon, '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 * - **fontIcon**: Defines the font icon to be used as an icon.\nIntended for font-based icon libraries where\nthe application loads the font and provides a slotted element with the unicode character.\nWhen this slot is used, the component renders a `<span>` instead of an `<svg>`.\nAccessibility is fully delegated to the application — set `accessible-name` and `mode` explicitly.\n\n**Example:**\n```html\n<ui5-icon mode=\"Image\" accessible-name=\"Home\">\n <i class=\"fa fa-home\" slot=\"fontIcon\"></i>\n</ui5-icon>\n```\n *\n * @example\n * ```html\n * <ui5-icon>\n * <div slot=\"header\">Custom header content</div>\n * <p>Default slot content</p>\n * </ui5-icon>\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\": \"fontIcon\",\n \"description\": \"Defines the font icon to be used as an icon.\\nIntended for font-based icon libraries where\\nthe application loads the font and provides a slotted element with the unicode character.\\nWhen this slot is used, the component renders a `<span>` instead of an `<svg>`.\\nAccessibility is fully delegated to the application — set `accessible-name` and `mode` explicitly.\\n\\n**Example:**\\n```html\\n<ui5-icon mode=\\\"Image\\\" accessible-name=\\\"Home\\\">\\n <i class=\\\"fa fa-home\\\" slot=\\\"fontIcon\\\"></i>\\n</ui5-icon>\\n```\",\n \"since\": \"2.23.0\"\n }\n ];\n\n\n public elementRef: ElementRef<_Icon> = 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(): _Icon {\n return this.elementRef.nativeElement;\n }\n\n ngAfterViewInit(): void {\n const wcElement = this.element;\n \n const inputsToSync = [\n 'accessibleName',\n 'design',\n 'mode',\n 'name',\n 'showTooltip',\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":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