@forgeroute/ui 0.5.16 → 0.5.18

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 (345) hide show
  1. package/fesm2022/forgeroute-ui-action-bar.mjs +190 -0
  2. package/fesm2022/forgeroute-ui-action-bar.mjs.map +1 -0
  3. package/fesm2022/forgeroute-ui-address-input.mjs +1164 -0
  4. package/fesm2022/forgeroute-ui-address-input.mjs.map +1 -0
  5. package/fesm2022/forgeroute-ui-alert.mjs +223 -0
  6. package/fesm2022/forgeroute-ui-alert.mjs.map +1 -0
  7. package/fesm2022/forgeroute-ui-avatar.mjs +320 -0
  8. package/fesm2022/forgeroute-ui-avatar.mjs.map +1 -0
  9. package/fesm2022/forgeroute-ui-badge.mjs +158 -0
  10. package/fesm2022/forgeroute-ui-badge.mjs.map +1 -0
  11. package/fesm2022/forgeroute-ui-bar-row.mjs +255 -0
  12. package/fesm2022/forgeroute-ui-bar-row.mjs.map +1 -0
  13. package/fesm2022/forgeroute-ui-boards.mjs +2201 -0
  14. package/fesm2022/forgeroute-ui-boards.mjs.map +1 -0
  15. package/fesm2022/forgeroute-ui-bulk-eligible.mjs +172 -0
  16. package/fesm2022/forgeroute-ui-bulk-eligible.mjs.map +1 -0
  17. package/fesm2022/forgeroute-ui-business-hours.mjs +771 -0
  18. package/fesm2022/forgeroute-ui-business-hours.mjs.map +1 -0
  19. package/fesm2022/forgeroute-ui-calendar.mjs +2006 -0
  20. package/fesm2022/forgeroute-ui-calendar.mjs.map +1 -0
  21. package/fesm2022/forgeroute-ui-card-list-item.mjs +556 -0
  22. package/fesm2022/forgeroute-ui-card-list-item.mjs.map +1 -0
  23. package/fesm2022/forgeroute-ui-charts.mjs +1 -1
  24. package/fesm2022/forgeroute-ui-charts.mjs.map +1 -1
  25. package/fesm2022/forgeroute-ui-checkbox.mjs +815 -0
  26. package/fesm2022/forgeroute-ui-checkbox.mjs.map +1 -0
  27. package/fesm2022/forgeroute-ui-chip.mjs +379 -0
  28. package/fesm2022/forgeroute-ui-chip.mjs.map +1 -0
  29. package/fesm2022/forgeroute-ui-color-input.mjs +492 -0
  30. package/fesm2022/forgeroute-ui-color-input.mjs.map +1 -0
  31. package/fesm2022/forgeroute-ui-column-filter.mjs +645 -0
  32. package/fesm2022/forgeroute-ui-column-filter.mjs.map +1 -0
  33. package/fesm2022/forgeroute-ui-columns.mjs +351 -0
  34. package/fesm2022/forgeroute-ui-columns.mjs.map +1 -0
  35. package/fesm2022/forgeroute-ui-combobox.mjs +772 -0
  36. package/fesm2022/forgeroute-ui-combobox.mjs.map +1 -0
  37. package/fesm2022/forgeroute-ui-confirm.mjs +48 -0
  38. package/fesm2022/forgeroute-ui-confirm.mjs.map +1 -0
  39. package/fesm2022/forgeroute-ui-contact-picker.mjs +865 -0
  40. package/fesm2022/forgeroute-ui-contact-picker.mjs.map +1 -0
  41. package/fesm2022/forgeroute-ui-conversations.mjs +3627 -0
  42. package/fesm2022/forgeroute-ui-conversations.mjs.map +1 -0
  43. package/fesm2022/forgeroute-ui-copy-field.mjs +378 -0
  44. package/fesm2022/forgeroute-ui-copy-field.mjs.map +1 -0
  45. package/fesm2022/{forgeroute-ui-core-ui-labels.es-Dzj_XJJM.mjs → forgeroute-ui-core-ui-labels.es-Woi3az70.mjs} +186 -2
  46. package/fesm2022/{forgeroute-ui-core-ui-labels.es-Dzj_XJJM.mjs.map → forgeroute-ui-core-ui-labels.es-Woi3az70.mjs.map} +1 -1
  47. package/fesm2022/forgeroute-ui-core.mjs +186 -2
  48. package/fesm2022/forgeroute-ui-core.mjs.map +1 -1
  49. package/fesm2022/forgeroute-ui-data-table-core.mjs +6150 -0
  50. package/fesm2022/forgeroute-ui-data-table-core.mjs.map +1 -0
  51. package/fesm2022/forgeroute-ui-date-input.mjs +384 -0
  52. package/fesm2022/forgeroute-ui-date-input.mjs.map +1 -0
  53. package/fesm2022/forgeroute-ui-date-range-picker.mjs +453 -0
  54. package/fesm2022/forgeroute-ui-date-range-picker.mjs.map +1 -0
  55. package/fesm2022/forgeroute-ui-datetime-input.mjs +375 -0
  56. package/fesm2022/forgeroute-ui-datetime-input.mjs.map +1 -0
  57. package/fesm2022/forgeroute-ui-detail-card.mjs +655 -0
  58. package/fesm2022/forgeroute-ui-detail-card.mjs.map +1 -0
  59. package/fesm2022/forgeroute-ui-discount-selector.mjs +259 -0
  60. package/fesm2022/forgeroute-ui-discount-selector.mjs.map +1 -0
  61. package/fesm2022/forgeroute-ui-divider.mjs +111 -0
  62. package/fesm2022/forgeroute-ui-divider.mjs.map +1 -0
  63. package/fesm2022/forgeroute-ui-dropdown.mjs +550 -0
  64. package/fesm2022/forgeroute-ui-dropdown.mjs.map +1 -0
  65. package/fesm2022/forgeroute-ui-editor.mjs +4545 -0
  66. package/fesm2022/forgeroute-ui-editor.mjs.map +1 -0
  67. package/fesm2022/forgeroute-ui-empty-state.mjs +231 -0
  68. package/fesm2022/forgeroute-ui-empty-state.mjs.map +1 -0
  69. package/fesm2022/forgeroute-ui-error-state.mjs +195 -0
  70. package/fesm2022/forgeroute-ui-error-state.mjs.map +1 -0
  71. package/fesm2022/forgeroute-ui-error.mjs +93 -0
  72. package/fesm2022/forgeroute-ui-error.mjs.map +1 -0
  73. package/fesm2022/forgeroute-ui-fade.mjs +117 -0
  74. package/fesm2022/forgeroute-ui-fade.mjs.map +1 -0
  75. package/fesm2022/forgeroute-ui-file-input.mjs +999 -0
  76. package/fesm2022/forgeroute-ui-file-input.mjs.map +1 -0
  77. package/fesm2022/forgeroute-ui-fixed-footer.mjs +115 -0
  78. package/fesm2022/forgeroute-ui-fixed-footer.mjs.map +1 -0
  79. package/fesm2022/forgeroute-ui-form-row.mjs +126 -0
  80. package/fesm2022/forgeroute-ui-form-row.mjs.map +1 -0
  81. package/fesm2022/forgeroute-ui-form-section.mjs +93 -0
  82. package/fesm2022/forgeroute-ui-form-section.mjs.map +1 -0
  83. package/fesm2022/forgeroute-ui-form.mjs +139 -0
  84. package/fesm2022/forgeroute-ui-form.mjs.map +1 -0
  85. package/fesm2022/forgeroute-ui-hint.mjs +47 -0
  86. package/fesm2022/forgeroute-ui-hint.mjs.map +1 -0
  87. package/fesm2022/forgeroute-ui-icon-picker.mjs +424 -0
  88. package/fesm2022/forgeroute-ui-icon-picker.mjs.map +1 -0
  89. package/fesm2022/forgeroute-ui-icon.mjs +311 -0
  90. package/fesm2022/forgeroute-ui-icon.mjs.map +1 -0
  91. package/fesm2022/forgeroute-ui-image-preview.mjs +237 -0
  92. package/fesm2022/forgeroute-ui-image-preview.mjs.map +1 -0
  93. package/fesm2022/forgeroute-ui-keypad.mjs +278 -0
  94. package/fesm2022/forgeroute-ui-keypad.mjs.map +1 -0
  95. package/fesm2022/forgeroute-ui-kpi-card.mjs +490 -0
  96. package/fesm2022/forgeroute-ui-kpi-card.mjs.map +1 -0
  97. package/fesm2022/forgeroute-ui-language-switcher.mjs +134 -0
  98. package/fesm2022/forgeroute-ui-language-switcher.mjs.map +1 -0
  99. package/fesm2022/forgeroute-ui-layout.mjs +18 -0
  100. package/fesm2022/forgeroute-ui-layout.mjs.map +1 -0
  101. package/fesm2022/forgeroute-ui-list-item.mjs +620 -0
  102. package/fesm2022/forgeroute-ui-list-item.mjs.map +1 -0
  103. package/fesm2022/forgeroute-ui-list.mjs +866 -0
  104. package/fesm2022/forgeroute-ui-list.mjs.map +1 -0
  105. package/fesm2022/forgeroute-ui-live-region.mjs +118 -0
  106. package/fesm2022/forgeroute-ui-live-region.mjs.map +1 -0
  107. package/fesm2022/forgeroute-ui-map.mjs +5 -1
  108. package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
  109. package/fesm2022/forgeroute-ui-maps.mjs +2 -1
  110. package/fesm2022/forgeroute-ui-maps.mjs.map +1 -1
  111. package/fesm2022/forgeroute-ui-media.mjs +4615 -0
  112. package/fesm2022/forgeroute-ui-media.mjs.map +1 -0
  113. package/fesm2022/forgeroute-ui-messaging.mjs +20 -1
  114. package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
  115. package/fesm2022/forgeroute-ui-more-menu.mjs +418 -0
  116. package/fesm2022/forgeroute-ui-more-menu.mjs.map +1 -0
  117. package/fesm2022/forgeroute-ui-multi-select.mjs +532 -0
  118. package/fesm2022/forgeroute-ui-multi-select.mjs.map +1 -0
  119. package/fesm2022/forgeroute-ui-notes.mjs +768 -0
  120. package/fesm2022/forgeroute-ui-notes.mjs.map +1 -0
  121. package/fesm2022/forgeroute-ui-notification-bell.mjs +587 -0
  122. package/fesm2022/forgeroute-ui-notification-bell.mjs.map +1 -0
  123. package/fesm2022/forgeroute-ui-offline-banner.mjs +156 -0
  124. package/fesm2022/forgeroute-ui-offline-banner.mjs.map +1 -0
  125. package/fesm2022/forgeroute-ui-option-card.mjs +379 -0
  126. package/fesm2022/forgeroute-ui-option-card.mjs.map +1 -0
  127. package/fesm2022/forgeroute-ui-page.mjs +317 -0
  128. package/fesm2022/forgeroute-ui-page.mjs.map +1 -0
  129. package/fesm2022/forgeroute-ui-pagination.mjs +225 -0
  130. package/fesm2022/forgeroute-ui-pagination.mjs.map +1 -0
  131. package/fesm2022/forgeroute-ui-panel-info-list.mjs +422 -0
  132. package/fesm2022/forgeroute-ui-panel-info-list.mjs.map +1 -0
  133. package/fesm2022/forgeroute-ui-password-requirements.mjs +237 -0
  134. package/fesm2022/forgeroute-ui-password-requirements.mjs.map +1 -0
  135. package/fesm2022/forgeroute-ui-payments.mjs +6258 -0
  136. package/fesm2022/forgeroute-ui-payments.mjs.map +1 -0
  137. package/fesm2022/forgeroute-ui-pdf.mjs +9 -1
  138. package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
  139. package/fesm2022/forgeroute-ui-phone-number-picker.mjs +840 -0
  140. package/fesm2022/forgeroute-ui-phone-number-picker.mjs.map +1 -0
  141. package/fesm2022/forgeroute-ui-pill-tabs.mjs +546 -0
  142. package/fesm2022/forgeroute-ui-pill-tabs.mjs.map +1 -0
  143. package/fesm2022/forgeroute-ui-print.mjs +76 -0
  144. package/fesm2022/forgeroute-ui-print.mjs.map +1 -0
  145. package/fesm2022/forgeroute-ui-progress-bar.mjs +252 -0
  146. package/fesm2022/forgeroute-ui-progress-bar.mjs.map +1 -0
  147. package/fesm2022/forgeroute-ui-progress-ring.mjs +277 -0
  148. package/fesm2022/forgeroute-ui-progress-ring.mjs.map +1 -0
  149. package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs +301 -0
  150. package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs.map +1 -0
  151. package/fesm2022/forgeroute-ui-quickbooks.mjs +18 -1
  152. package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
  153. package/fesm2022/forgeroute-ui-radio-matrix.mjs +471 -0
  154. package/fesm2022/forgeroute-ui-radio-matrix.mjs.map +1 -0
  155. package/fesm2022/forgeroute-ui-radio.mjs +911 -0
  156. package/fesm2022/forgeroute-ui-radio.mjs.map +1 -0
  157. package/fesm2022/forgeroute-ui-read-only-mode.mjs +15 -0
  158. package/fesm2022/forgeroute-ui-read-only-mode.mjs.map +1 -0
  159. package/fesm2022/forgeroute-ui-readonly-fieldset.mjs +146 -0
  160. package/fesm2022/forgeroute-ui-readonly-fieldset.mjs.map +1 -0
  161. package/fesm2022/forgeroute-ui-reminder-alerts.mjs +249 -0
  162. package/fesm2022/forgeroute-ui-reminder-alerts.mjs.map +1 -0
  163. package/fesm2022/forgeroute-ui-search-input.mjs +373 -0
  164. package/fesm2022/forgeroute-ui-search-input.mjs.map +1 -0
  165. package/fesm2022/forgeroute-ui-section-header.mjs +296 -0
  166. package/fesm2022/forgeroute-ui-section-header.mjs.map +1 -0
  167. package/fesm2022/forgeroute-ui-select.mjs +498 -0
  168. package/fesm2022/forgeroute-ui-select.mjs.map +1 -0
  169. package/fesm2022/forgeroute-ui-setup.mjs +4649 -0
  170. package/fesm2022/forgeroute-ui-setup.mjs.map +1 -0
  171. package/fesm2022/forgeroute-ui-share-menu.mjs +461 -0
  172. package/fesm2022/forgeroute-ui-share-menu.mjs.map +1 -0
  173. package/fesm2022/forgeroute-ui-shell.mjs +981 -0
  174. package/fesm2022/forgeroute-ui-shell.mjs.map +1 -0
  175. package/fesm2022/forgeroute-ui-show.mjs +129 -0
  176. package/fesm2022/forgeroute-ui-show.mjs.map +1 -0
  177. package/fesm2022/forgeroute-ui-sidebar-layout.mjs +355 -0
  178. package/fesm2022/forgeroute-ui-sidebar-layout.mjs.map +1 -0
  179. package/fesm2022/forgeroute-ui-skeleton.mjs +152 -0
  180. package/fesm2022/forgeroute-ui-skeleton.mjs.map +1 -0
  181. package/fesm2022/forgeroute-ui-skip-link.mjs +129 -0
  182. package/fesm2022/forgeroute-ui-skip-link.mjs.map +1 -0
  183. package/fesm2022/forgeroute-ui-snackbar.mjs +200 -0
  184. package/fesm2022/forgeroute-ui-snackbar.mjs.map +1 -0
  185. package/fesm2022/forgeroute-ui-square.mjs +15 -1
  186. package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
  187. package/fesm2022/forgeroute-ui-stack.mjs +233 -0
  188. package/fesm2022/forgeroute-ui-stack.mjs.map +1 -0
  189. package/fesm2022/forgeroute-ui-stacked-bar.mjs +200 -0
  190. package/fesm2022/forgeroute-ui-stacked-bar.mjs.map +1 -0
  191. package/fesm2022/forgeroute-ui-stacking-plan.mjs +365 -0
  192. package/fesm2022/forgeroute-ui-stacking-plan.mjs.map +1 -0
  193. package/fesm2022/forgeroute-ui-star-rating.mjs +498 -0
  194. package/fesm2022/forgeroute-ui-star-rating.mjs.map +1 -0
  195. package/fesm2022/forgeroute-ui-star.mjs +184 -0
  196. package/fesm2022/forgeroute-ui-star.mjs.map +1 -0
  197. package/fesm2022/forgeroute-ui-stepper.mjs +615 -0
  198. package/fesm2022/forgeroute-ui-stepper.mjs.map +1 -0
  199. package/fesm2022/forgeroute-ui-stripe.mjs +6254 -1188
  200. package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
  201. package/fesm2022/forgeroute-ui-swatch-picker.mjs +416 -0
  202. package/fesm2022/forgeroute-ui-swatch-picker.mjs.map +1 -0
  203. package/fesm2022/forgeroute-ui-table-toolbar.mjs +770 -0
  204. package/fesm2022/forgeroute-ui-table-toolbar.mjs.map +1 -0
  205. package/fesm2022/forgeroute-ui-table-types.mjs +277 -0
  206. package/fesm2022/forgeroute-ui-table-types.mjs.map +1 -0
  207. package/fesm2022/forgeroute-ui-text-input.mjs +1003 -0
  208. package/fesm2022/forgeroute-ui-text-input.mjs.map +1 -0
  209. package/fesm2022/forgeroute-ui-text-template-picker.mjs +356 -0
  210. package/fesm2022/forgeroute-ui-text-template-picker.mjs.map +1 -0
  211. package/fesm2022/forgeroute-ui-text.mjs +195 -0
  212. package/fesm2022/forgeroute-ui-text.mjs.map +1 -0
  213. package/fesm2022/forgeroute-ui-textarea-input.mjs +542 -0
  214. package/fesm2022/forgeroute-ui-textarea-input.mjs.map +1 -0
  215. package/fesm2022/forgeroute-ui-time-input.mjs +401 -0
  216. package/fesm2022/forgeroute-ui-time-input.mjs.map +1 -0
  217. package/fesm2022/forgeroute-ui-timeline.mjs +549 -0
  218. package/fesm2022/forgeroute-ui-timeline.mjs.map +1 -0
  219. package/fesm2022/forgeroute-ui-toast.mjs +507 -0
  220. package/fesm2022/forgeroute-ui-toast.mjs.map +1 -0
  221. package/fesm2022/forgeroute-ui-toggle-badge.mjs +177 -0
  222. package/fesm2022/forgeroute-ui-toggle-badge.mjs.map +1 -0
  223. package/fesm2022/forgeroute-ui-toggle.mjs +275 -0
  224. package/fesm2022/forgeroute-ui-toggle.mjs.map +1 -0
  225. package/fesm2022/forgeroute-ui-tooltip.mjs +155 -0
  226. package/fesm2022/forgeroute-ui-tooltip.mjs.map +1 -0
  227. package/fesm2022/forgeroute-ui-utils.mjs +1071 -0
  228. package/fesm2022/forgeroute-ui-utils.mjs.map +1 -0
  229. package/fesm2022/forgeroute-ui.mjs +105 -70663
  230. package/package.json +422 -2
  231. package/types/forgeroute-ui-action-bar.d.ts +74 -0
  232. package/types/forgeroute-ui-address-input.d.ts +354 -0
  233. package/types/forgeroute-ui-alert.d.ts +89 -0
  234. package/types/forgeroute-ui-avatar.d.ts +85 -0
  235. package/types/forgeroute-ui-badge.d.ts +45 -0
  236. package/types/forgeroute-ui-bar-row.d.ts +90 -0
  237. package/types/forgeroute-ui-boards.d.ts +575 -0
  238. package/types/forgeroute-ui-bulk-eligible.d.ts +53 -0
  239. package/types/forgeroute-ui-business-hours.d.ts +191 -0
  240. package/types/forgeroute-ui-calendar.d.ts +544 -0
  241. package/types/forgeroute-ui-card-list-item.d.ts +186 -0
  242. package/types/forgeroute-ui-charts.d.ts +1 -1
  243. package/types/forgeroute-ui-checkbox.d.ts +270 -0
  244. package/types/forgeroute-ui-chip.d.ts +125 -0
  245. package/types/forgeroute-ui-color-input.d.ts +160 -0
  246. package/types/forgeroute-ui-column-filter.d.ts +130 -0
  247. package/types/forgeroute-ui-columns.d.ts +150 -0
  248. package/types/forgeroute-ui-combobox.d.ts +252 -0
  249. package/types/forgeroute-ui-confirm.d.ts +34 -0
  250. package/types/forgeroute-ui-contact-picker.d.ts +173 -0
  251. package/types/forgeroute-ui-conversations.d.ts +993 -0
  252. package/types/forgeroute-ui-copy-field.d.ts +122 -0
  253. package/types/forgeroute-ui-core.d.ts +188 -4
  254. package/types/forgeroute-ui-data-table-core.d.ts +1221 -0
  255. package/types/forgeroute-ui-date-input.d.ts +101 -0
  256. package/types/forgeroute-ui-date-range-picker.d.ts +109 -0
  257. package/types/forgeroute-ui-datetime-input.d.ts +97 -0
  258. package/types/forgeroute-ui-detail-card.d.ts +252 -0
  259. package/types/forgeroute-ui-discount-selector.d.ts +57 -0
  260. package/types/forgeroute-ui-divider.d.ts +40 -0
  261. package/types/forgeroute-ui-dropdown.d.ts +156 -0
  262. package/types/forgeroute-ui-editor.d.ts +873 -0
  263. package/types/forgeroute-ui-empty-state.d.ts +29 -0
  264. package/types/forgeroute-ui-error-state.d.ts +38 -0
  265. package/types/forgeroute-ui-error.d.ts +29 -0
  266. package/types/forgeroute-ui-fade.d.ts +39 -0
  267. package/types/forgeroute-ui-file-input.d.ts +337 -0
  268. package/types/forgeroute-ui-fixed-footer.d.ts +53 -0
  269. package/types/forgeroute-ui-form-row.d.ts +30 -0
  270. package/types/forgeroute-ui-form-section.d.ts +18 -0
  271. package/types/forgeroute-ui-form.d.ts +68 -0
  272. package/types/forgeroute-ui-hint.d.ts +10 -0
  273. package/types/forgeroute-ui-icon-picker.d.ts +122 -0
  274. package/types/forgeroute-ui-icon.d.ts +95 -0
  275. package/types/forgeroute-ui-image-preview.d.ts +88 -0
  276. package/types/forgeroute-ui-keypad.d.ts +73 -0
  277. package/types/forgeroute-ui-kpi-card.d.ts +161 -0
  278. package/types/forgeroute-ui-language-switcher.d.ts +41 -0
  279. package/types/forgeroute-ui-layout.d.ts +13 -0
  280. package/types/forgeroute-ui-list-item.d.ts +253 -0
  281. package/types/forgeroute-ui-list.d.ts +282 -0
  282. package/types/forgeroute-ui-live-region.d.ts +49 -0
  283. package/types/forgeroute-ui-map.d.ts +1 -1
  284. package/types/forgeroute-ui-maps.d.ts +1 -1
  285. package/types/forgeroute-ui-media.d.ts +1221 -0
  286. package/types/forgeroute-ui-messaging.d.ts +11 -6
  287. package/types/forgeroute-ui-more-menu.d.ts +91 -0
  288. package/types/forgeroute-ui-multi-select.d.ts +119 -0
  289. package/types/forgeroute-ui-notes.d.ts +172 -0
  290. package/types/forgeroute-ui-notification-bell.d.ts +135 -0
  291. package/types/forgeroute-ui-offline-banner.d.ts +44 -0
  292. package/types/forgeroute-ui-option-card.d.ts +106 -0
  293. package/types/forgeroute-ui-page.d.ts +115 -0
  294. package/types/forgeroute-ui-pagination.d.ts +55 -0
  295. package/types/forgeroute-ui-panel-info-list.d.ts +147 -0
  296. package/types/forgeroute-ui-password-requirements.d.ts +89 -0
  297. package/types/forgeroute-ui-payments.d.ts +1826 -0
  298. package/types/forgeroute-ui-pdf.d.ts +1 -1
  299. package/types/forgeroute-ui-phone-number-picker.d.ts +199 -0
  300. package/types/forgeroute-ui-pill-tabs.d.ts +208 -0
  301. package/types/forgeroute-ui-print.d.ts +40 -0
  302. package/types/forgeroute-ui-progress-bar.d.ts +88 -0
  303. package/types/forgeroute-ui-progress-ring.d.ts +102 -0
  304. package/types/forgeroute-ui-quick-filter-tabs.d.ts +51 -0
  305. package/types/forgeroute-ui-quickbooks.d.ts +6 -3
  306. package/types/forgeroute-ui-radio-matrix.d.ts +131 -0
  307. package/types/forgeroute-ui-radio.d.ts +311 -0
  308. package/types/forgeroute-ui-read-only-mode.d.ts +26 -0
  309. package/types/forgeroute-ui-readonly-fieldset.d.ts +62 -0
  310. package/types/forgeroute-ui-reminder-alerts.d.ts +71 -0
  311. package/types/forgeroute-ui-search-input.d.ts +93 -0
  312. package/types/forgeroute-ui-section-header.d.ts +149 -0
  313. package/types/forgeroute-ui-select.d.ts +183 -0
  314. package/types/forgeroute-ui-setup.d.ts +775 -0
  315. package/types/forgeroute-ui-share-menu.d.ts +99 -0
  316. package/types/forgeroute-ui-shell.d.ts +173 -0
  317. package/types/forgeroute-ui-show.d.ts +40 -0
  318. package/types/forgeroute-ui-sidebar-layout.d.ts +161 -0
  319. package/types/forgeroute-ui-skeleton.d.ts +51 -0
  320. package/types/forgeroute-ui-skip-link.d.ts +51 -0
  321. package/types/forgeroute-ui-snackbar.d.ts +50 -0
  322. package/types/forgeroute-ui-square.d.ts +5 -3
  323. package/types/forgeroute-ui-stack.d.ts +99 -0
  324. package/types/forgeroute-ui-stacked-bar.d.ts +84 -0
  325. package/types/forgeroute-ui-stacking-plan.d.ts +116 -0
  326. package/types/forgeroute-ui-star-rating.d.ts +151 -0
  327. package/types/forgeroute-ui-star.d.ts +46 -0
  328. package/types/forgeroute-ui-stepper.d.ts +273 -0
  329. package/types/forgeroute-ui-stripe.d.ts +1458 -3
  330. package/types/forgeroute-ui-swatch-picker.d.ts +118 -0
  331. package/types/forgeroute-ui-table-toolbar.d.ts +116 -0
  332. package/types/forgeroute-ui-table-types.d.ts +624 -0
  333. package/types/forgeroute-ui-text-input.d.ts +359 -0
  334. package/types/forgeroute-ui-text-template-picker.d.ts +100 -0
  335. package/types/forgeroute-ui-text.d.ts +76 -0
  336. package/types/forgeroute-ui-textarea-input.d.ts +174 -0
  337. package/types/forgeroute-ui-time-input.d.ts +105 -0
  338. package/types/forgeroute-ui-timeline.d.ts +196 -0
  339. package/types/forgeroute-ui-toast.d.ts +131 -0
  340. package/types/forgeroute-ui-toggle-badge.d.ts +64 -0
  341. package/types/forgeroute-ui-toggle.d.ts +92 -0
  342. package/types/forgeroute-ui-tooltip.d.ts +36 -0
  343. package/types/forgeroute-ui-utils.d.ts +210 -0
  344. package/types/forgeroute-ui.d.ts +106 -19539
  345. package/fesm2022/forgeroute-ui.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgeroute-ui-file-input.mjs","names":[],"sources":["../../../projects/forgeroute-ui/file-input/src/lib/file-input/file-input.component.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, DestroyRef, effect, forwardRef, inject, input, output, signal, computed, viewChild, ElementRef } from '@angular/core';\nimport { AbstractControl, ControlValueAccessor, NG_VALIDATORS, NG_VALUE_ACCESSOR, ValidationErrors, Validator } from '@angular/forms';\nimport { ImagePreviewComponent } from '@forgeroute/ui/image-preview';\nimport { SkeletonComponent } from '@forgeroute/ui/skeleton';\nimport { ToastService } from '@forgeroute/ui/core';\nimport { FieldIssue, UiFieldValidity, createFieldReveal, issueToErrors, mergeDescribedBy, requiredIssue } from '@forgeroute/ui/core';\nimport { UiLabelsService, uiLocale, uiText } from '@forgeroute/ui/core';\nimport { uiFormatNumber } from '@forgeroute/ui/core';\n\n/** Why a chosen file was refused. */\n/** 'type' = not an accepted type, 'size' = over `maxSize`, 'empty' = a 0-byte file (`rejectEmpty`), 'small' = under `minSize`. */\nexport type FileRejectReason = 'type' | 'size' | 'empty' | 'small';\n\n/** A refused file with the message the field shows (also emitted by `(fileRejected)`). */\nexport interface FileRejection {\n file: File;\n reason: FileRejectReason;\n message: string;\n}\n\n/** \"1.5 MB\", \"820 KB\", \"12 B\" (binary units, one decimal for MB and above). */\nexport function formatFileSize(bytes: number): string {\n if (bytes < 1024) return `${bytes} B`;\n if (bytes < 1024 * 1024) return `${Math.round(bytes / 1024)} KB`;\n const mb = bytes / (1024 * 1024);\n const one = (n: number) => uiFormatNumber(Number(n.toFixed(1)), uiLocale(), { maximumFractionDigits: 1 }); // rounded like toFixed(1), written with the locale's decimal mark\n return mb < 1024 ? `${one(mb)} MB` : `${one(mb / 1024)} GB`;\n}\n\n/**\n * The size caption of an attachment chip: \"820 KB\" below 1 MB (rounded to whole KB), else \"1.5 MB\" / \"1.0 MB\" (always one decimal) written with the active\n * locale's decimal mark (\"1,5 MB\" in a locale that uses a comma). English output is exactly `${n.toFixed(1)} MB` as before.\n */\nexport function formatAttachmentSize(bytes: number): string {\n if (bytes < 1024 * 1024) return `${Math.round(bytes / 1024)} KB`;\n const mb = Number((bytes / (1024 * 1024)).toFixed(1));\n return `${uiFormatNumber(mb, uiLocale(), { minimumFractionDigits: 1, maximumFractionDigits: 1 })} MB`;\n}\n\n/** True when `file` matches one token of a native `accept` string (`.pdf`, `image/png`, `image/*`). Empty `accept` accepts everything. */\nexport function fileMatchesAccept(file: File, accept: string): boolean {\n const tokens = accept.split(',').map(t => t.trim().toLowerCase()).filter(Boolean);\n if (tokens.length === 0) return true;\n const name = file.name.toLowerCase();\n const type = (file.type || '').toLowerCase();\n return tokens.some(t => {\n if (t.startsWith('.')) return name.endsWith(t);\n if (t.endsWith('/*')) return !!type && type.startsWith(t.slice(0, -1));\n return !!type && type === t;\n });\n}\n\n/** \"PDF\", \"PNG, JPEG and WEBP\" from an `accept` string, for the default type message. */\nexport function acceptLabel(accept: string): string {\n const names = accept.split(',').map(t => t.trim()).filter(Boolean).map(t => {\n if (t.startsWith('.')) return t.slice(1).toUpperCase();\n if (t.endsWith('/*')) {\n const kind = t.slice(0, -2);\n return kind === 'image' ? uiText('fileInput.word.image') : kind === 'video' ? uiText('fileInput.word.video') : kind === 'audio' ? uiText('fileInput.word.audio') : kind;\n }\n const sub = t.split('/')[1] ?? t;\n return sub.toUpperCase();\n });\n const unique = [...new Set(names)];\n if (unique.length <= 1) return unique[0] ?? '';\n const last = unique[unique.length - 1];\n // A last item that starts with the sound \"i\" (i-, hi- but not hie-: \"imagen\", \"icono\", \"hielo\" is not one) takes the joiner \"e\" in Spanish (\"video e imagen\").\n const iSound = /^(?:i|hi(?!e))/i.test(last.normalize('NFD').replace(/[\\u0300-\\u036f]/g, ''));\n return uiText(iSound ? 'common.listAndBeforeI' : 'common.listAnd', { list: unique.slice(0, -1).join(', '), last });\n}\n\n/**\n * File picker styled like the other `ui-*` inputs (label, hint, required marker, error, disabled).\n * Value (ngModel / forms) is `File | null`, or `File[]` when `multiple` is set.\n *\n * Set `[showField]=\"false\"` for a picker with no visible field and call `open()` from the host\n * (e.g. an \"Attach document\" menu action). `(filesSelected)` fires in both modes.\n *\n * Built in (all opt-in, nothing changes unless an input is set):\n * - `clearable`: a Remove button next to the chosen file; `(fileRemoved)` fires after it clears the selection.\n * - `accept` is enforced on picked AND dropped files (`enforceAccept`, on by default), `maxSize` (bytes) refuses bigger\n * files, `rejectEmpty` refuses a 0-byte file (`emptyMessage`) and `minSize` (bytes) refuses smaller ones (`minSizeMessage`). A refused file is never added to the value: the field shows the message (`typeMessage` / `sizeMessage`\n * override the wording, also in picker-only mode), and `(fileRejected)` emits `{ file, reason, message }`.\n * - `required` is a real rule: Angular `Validator` + `UiFieldValidity` (`invalid`, `errorMessage`, `invalidChange`,\n * `showErrors`), like the other inputs. The message (built-in and host `error`) shows only after the user used the field; `[showErrors]=\"true\"` also reveals it. A refused file is always shown at once.\n * - `dropzone`: the field accepts files dropped on it.\n * - `showDetails`: file size after the name; `preview`: a thumbnail of a chosen image.\n * - `loading` (+ `loadingText`): a `ui-skeleton` replaces the file name while the host works on the file (scanning, uploading).\n */\n@Component({\n selector: 'ui-file-input',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [ImagePreviewComponent, SkeletonComponent],\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => FileInputComponent),\n multi: true,\n }, {\n provide: NG_VALIDATORS,\n useExisting: forwardRef(() => FileInputComponent),\n multi: true,\n }, {\n provide: UiFieldValidity,\n useExisting: forwardRef(() => FileInputComponent),\n }],\n template: `\n <div class=\"fi-field\" [class.fi-error]=\"!!_shownError()\" [class.fi-disabled]=\"disabled()\" [class.fi-hidden]=\"!showField()\" [class.fi-drag]=\"_dragging()\">\n @if (showField() && label()) {\n <label class=\"fi-label\" [for]=\"_inputId\">\n {{ label() }}\n @if (required()) { <span class=\"fi-required\" aria-hidden=\"true\">*</span> }\n @if (hint()) { <span class=\"fi-hint-inline\">({{ hint() }})</span> }\n </label>\n }\n <input\n #fileEl\n type=\"file\"\n class=\"fi-native\"\n [id]=\"_inputId\"\n [attr.accept]=\"accept() || null\"\n [multiple]=\"multiple()\"\n [disabled]=\"disabled()\"\n [attr.required]=\"required() || null\"\n [attr.aria-label]=\"ariaLabel() || null\"\n [attr.aria-invalid]=\"_shownError() ? 'true' : null\"\n [attr.aria-describedby]=\"_describedBy()\"\n [attr.tabindex]=\"showField() ? -1 : null\"\n (change)=\"onChange($event)\"\n (blur)=\"_onTouched()\" />\n @if (showField()) {\n <div class=\"fi-row\">\n <button type=\"button\" class=\"fi-control\" [disabled]=\"disabled() || loading()\" [attr.aria-busy]=\"loading() ? 'true' : null\"\n [attr.aria-describedby]=\"_describedBy()\"\n (click)=\"open()\" (blur)=\"_touch()\"\n (dragenter)=\"onDragOver($event)\" (dragover)=\"onDragOver($event)\" (dragleave)=\"onDragLeave($event)\" (drop)=\"onDrop($event)\">\n @if (_previewUrl(); as src) {\n <ui-image-preview [src]=\"src\" alt=\"\" shape=\"rounded\" size=\"sm\" placeholder=\"image\" />\n }\n @if (loading()) {\n <span class=\"fi-name fi-loading\"><ui-skeleton [height]=\"14\" width=\"60%\" [radius]=\"4\" /></span>\n <span class=\"fi-sr\" role=\"status\">{{ loadingText() || labels.t('fileInput.processing') }}</span>\n } @else {\n <span class=\"fi-name\" [class.fi-placeholder]=\"!summary()\">{{ summary() || placeholder() }}</span>\n }\n <span class=\"fi-browse\">{{ buttonLabel() }}</span>\n </button>\n @if (clearable() && _files().length > 0 && !loading() && !disabled()) {\n <button type=\"button\" class=\"fi-remove\" [attr.aria-label]=\"removeLabel() + (summary() ? ' ' + summary() : '')\" (click)=\"remove()\">{{ removeLabel() }}</button>\n }\n </div>\n }\n @if (_shownError()) {\n @if (_showRejectList()) {\n <ul class=\"fi-desc fi-desc-error fi-reject-list\" [id]=\"_inputId + '-desc'\" role=\"alert\">\n @for (line of rejectionLines(); track $index) { <li>{{ line }}</li> }\n </ul>\n } @else {\n <p class=\"fi-desc fi-desc-error\" [id]=\"_inputId + '-desc'\" role=\"alert\">{{ _shownError() }}</p>\n }\n }\n </div>\n `,\n styles: [`\n :host { display: block; }\n :host(:has(.fi-hidden)) { display: contents; }\n\n .fi-field { display: flex; flex-direction: column; gap: 6px; }\n .fi-hidden { display: contents; }\n\n .fi-label { font-size: 0.8125rem; font-weight: 600; color: #374151; line-height: 1; }\n .fi-required { color: #dc2626; margin-left: 2px; }\n .fi-hint-inline { font-size: 0.75rem; color: #94a3b8; font-weight: 400; margin-left: 4px; }\n\n /* Native control stays in the DOM (forms, a11y, programmatic click) but is visually hidden. */\n .fi-native {\n position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;\n overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;\n }\n\n .fi-row { display: flex; align-items: stretch; gap: 8px; }\n .fi-control {\n display: flex; align-items: center; justify-content: space-between; gap: 12px;\n flex: 1 1 auto; min-width: 0; box-sizing: border-box; text-align: left;\n padding: 9px 12px; font-size: 0.875rem; font-family: inherit;\n color: #1e293b; background: #fff;\n border: 1px solid #7c8ba1; border-radius: 8px;\n outline: none; cursor: pointer;\n transition: border-color 0.15s, box-shadow 0.15s;\n &:focus-visible {\n border-color: #3b82f6;\n box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);\n }\n }\n .fi-control:has(ui-image-preview) { padding-top: 6px; padding-bottom: 6px; }\n .fi-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n .fi-loading { overflow: visible; }\n .fi-placeholder { color: #64748b; }\n .fi-browse {\n flex-shrink: 0; font-size: 0.75rem; font-weight: 600; color: #374151;\n padding: 3px 10px; border: 1px solid #e2e8f0; border-radius: 6px; background: #f8fafc;\n }\n .fi-remove {\n flex-shrink: 0; align-self: center; font-family: inherit; font-size: 0.75rem; font-weight: 600; color: #b91c1c;\n padding: 6px 10px; border: 1px solid #fecaca; border-radius: 6px; background: #fff; cursor: pointer;\n -webkit-appearance: none; appearance: none;\n &:hover { background: #fef2f2; }\n &:focus-visible { outline: 2px solid #ef4444; outline-offset: 2px; }\n }\n .fi-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }\n\n .fi-error .fi-control {\n border-color: #ef4444;\n &:focus-visible { box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12); }\n }\n .fi-drag .fi-control { border-color: #3b82f6; border-style: dashed; background: #eff6ff; }\n .fi-disabled .fi-control { opacity: 0.5; cursor: not-allowed; }\n\n .fi-desc { margin: 0; font-size: 0.75rem; line-height: 1.4; color: #64748b; }\n .fi-desc-error { color: #dc2626; }\n .fi-reject-list { margin: 4px 0 0; padding-left: 18px; }\n .fi-reject-list li { margin: 0 0 2px; }\n\n @media (max-width: 480px) { .fi-control { font-size: 1rem; } .fi-remove { padding: 10px 12px; } }\n @media (pointer: coarse) { .fi-control, .fi-remove { min-height: 44px; } }\n `],\n})\nexport class FileInputComponent implements ControlValueAccessor, Validator, UiFieldValidity {\n protected readonly labels = inject(UiLabelsService);\n readonly label = input('');\n /** Accessible name for a field with no visible label. */\n readonly ariaLabel = input('');\n readonly placeholderInput = input<string | null>(null, { alias: 'placeholder' });\n readonly placeholder = computed(() => this.placeholderInput() ?? this.labels.t('fileInput.placeholder'));\n readonly buttonLabelInput = input<string | null>(null, { alias: 'buttonLabel' });\n readonly buttonLabel = computed(() => this.buttonLabelInput() ?? this.labels.t('fileInput.buttonLabel'));\n /** Native `accept` string, e.g. \".pdf,.png\". Also enforced on picked and dropped files unless `enforceAccept` is false. */\n readonly accept = input('');\n readonly multiple = input(false);\n /** A file must be chosen (a real rule: Validator + UiFieldValidity, message shown only after the user used the field; `showErrors=\"true\"` reveals it at once). */\n readonly required = input(false);\n readonly hint = input('');\n /** Host-provided error message (wins over the built-in ones). Shown under a visible field only. */\n readonly error = input('');\n /** false = no visible field; open the picker from the host with `open()`. */\n readonly showField = input(true);\n /** The host's \"tried to submit\" flag (e.g. after a failed Save click). `true` reveals the \"required\" message before the user used the field. */\n readonly showErrors = input(false);\n\n /**\n * Also report every refused file (wrong type, too big, too small, empty) with a `ToastService` error toast that names the file and\n * the reason, e.g. `\"scan.exe\" was not added. Only PDF files are allowed.` Meant for the picker-only mode (`[showField]=\"false\"`),\n * where no field is visible to show the message; it works with a visible field too. Several refused files make ONE toast listing each.\n * Default `false`: nothing is toasted (the field message and `(fileRejected)` are unchanged). Needs a `ui-toast` outlet like any toast.\n */\n readonly toastOnReject = input(false);\n /**\n * When several files are refused in one pick or drop, show EVERY one inside the field as a list (each line\n * `\"name\" was not added. <reason>`) instead of only the first refusal message. No toast is raised. The same list is available to the\n * host through `rejections` and `(filesRejected)`. Default `false`: the field shows the first refusal message only (unchanged).\n */\n readonly listRejections = input(false);\n /** Id(s) of host elements that describe the picker (space-separated), added after the field's own error text, like `ui-text-input`'s `ariaDescribedBy`. Empty: nothing is added. */\n readonly ariaDescribedBy = input('');\n /** Show a Remove button next to the chosen file. */\n readonly clearable = input(false);\n readonly removeLabelInput = input<string | null>(null, { alias: 'removeLabel' });\n readonly removeLabel = computed(() => this.removeLabelInput() ?? this.labels.t('fileInput.removeLabel'));\n /** Largest allowed file in bytes; a bigger file is refused. null = no limit. */\n readonly maxSize = input<number | null>(null);\n /** Refuse files that do not match `accept` (picked or dropped). */\n readonly enforceAccept = input(true);\n /** Replaces the built-in \"Only PDF files are allowed.\" message. */\n readonly typeMessage = input('');\n /** Replaces the built-in \"The file must be 5 MB or smaller.\" message. */\n readonly sizeMessage = input('');\n /** Refuse a file with no content (0 bytes). Off by default. */\n readonly rejectEmpty = input(false);\n /** Replaces the built-in \"The file is empty.\" message. */\n readonly emptyMessage = input('');\n /** Smallest allowed file in bytes; a smaller (non-empty) file is refused. null = no minimum. */\n readonly minSize = input<number | null>(null);\n /** Replaces the built-in \"The file must be at least 10 KB.\" message. */\n readonly minSizeMessage = input('');\n /** The field accepts files dropped on it. */\n readonly dropzone = input(false);\n /** Show the file size after the name. */\n readonly showDetails = input(false);\n /** Show a thumbnail when the chosen file is an image. */\n readonly preview = input(false);\n /** The host is working on the file (scanning, uploading): a skeleton replaces the name and Browse / Remove are disabled. */\n readonly loading = input(false);\n /** Screen-reader text while `loading` (default \"Processing…\"). */\n readonly loadingText = input('');\n\n /** Emits the chosen (accepted) files (one or many) each time the user picks or drops. */\n readonly filesSelected = output<File[]>();\n /** A picked or dropped file was refused (wrong type or too big). */\n readonly fileRejected = output<FileRejection>();\n /** Every file refused by ONE pick or drop, in one event (fires only when at least one file was refused; `(fileRejected)` still fires per file). */\n readonly filesRejected = output<FileRejection[]>();\n /** The Remove button cleared the selection. */\n readonly fileRemoved = output<void>();\n /** Emits whenever the field becomes invalid / valid. */\n readonly invalidChange = output<boolean>();\n\n readonly _disabledInput = input(false, { alias: 'disabled' });\n private readonly _cvaDisabled = signal(false);\n protected readonly disabled = computed(() => this._disabledInput() || this._cvaDisabled());\n\n protected readonly _files = signal<File[]>([]);\n protected readonly _inputId = `fi-${Math.random().toString(36).slice(2, 8)}`;\n private readonly fileEl = viewChild<ElementRef<HTMLInputElement>>('fileEl');\n protected readonly _dragging = signal(false);\n /** Message of the last refused file ('' when the last pick was fine); shown in every mode. */\n private readonly _toast = inject(ToastService);\n private readonly _rejection = signal('');\n /** `aria-describedby` of the native input and the drop zone: the shown error text, then the host's ids. Absent when neither exists. */\n protected readonly _describedBy = computed(() => mergeDescribedBy(this._shownError() ? this._inputId + '-desc' : '', this.ariaDescribedBy()));\n private readonly _rejected = signal<FileRejection[]>([]);\n /** The files refused by the last pick or drop (empty when the last pick was fine, after Remove / clear, and when files are set from the form). */\n readonly rejections = this._rejected.asReadonly();\n /** One line per refused file: `\"name\" was not added. <reason>`. */\n readonly rejectionLines = computed(() => this._rejected().map(r => this.labels.t('fileInput.notAdded', { name: r.file.name, message: r.message })));\n /** The list replaces the single message only while it is the refusal that is shown (a host `[error]` on a visible field wins). */\n protected readonly _showRejectList = computed(() =>\n this.listRejections() && this._rejected().length > 0 && !(this.showField() && this.error()));\n private readonly _reveal = createFieldReveal(this.showErrors);\n private readonly _issue = computed((): FieldIssue | null =>\n this.disabled() || !this.required() || this._files().length > 0 ? null : requiredIssue(this.label() || this.labels.t('common.file')));\n /** True while a required field is empty, the last pick was refused, or the host passed an `[error]`. */\n readonly invalid = computed(() => !!this.error() || !!this._rejection() || !!this._issue());\n /** Message of the first broken built-in rule ('' when valid), shown or not. */\n readonly errorMessage = computed(() =>\n (this.listRejections() && this._rejected().length > 0 ? this.rejectionLines().join(' ') : this._rejection()) || this._issue()?.message || '');\n /** What the field shows: the host error (visible field only), a refused file, or the revealed built-in message. */\n protected readonly _shownError = computed(() =>\n (this.listRejections() && this._rejected().length > 0 && this.showField() ? this.error() : '') || this._rejection() || (this._reveal.revealed() ? ((this.showField() ? this.error() : '') || (this._issue()?.message ?? '')) : ''));\n\n protected readonly summary = computed(() => {\n const f = this._files();\n if (f.length === 0) return '';\n const size = this.showDetails() ? ` · ${formatFileSize(f.reduce((n, x) => n + x.size, 0))}` : '';\n return (f.length === 1 ? f[0].name : this.labels.t('fileInput.filesSelected', { count: f.length })) + size;\n });\n\n /** Object URL of the chosen image (single file) while `preview` is on. */\n protected readonly _previewUrl = signal<string | null>(null);\n private _urlToRevoke: string | null = null;\n private _onValidatorChange = () => {};\n\n protected _onChange = (_: File | File[] | null) => {};\n protected _onTouched = () => {};\n\n constructor() {\n effect(() => { this.invalidChange.emit(this.invalid()); });\n effect(() => {\n const files = this._files();\n const want = this.preview() && files.length === 1 && (files[0].type || '').startsWith('image/') ? files[0] : null;\n this.revokePreview();\n if (want) {\n this._urlToRevoke = URL.createObjectURL(want);\n this._previewUrl.set(this._urlToRevoke);\n } else {\n this._previewUrl.set(null);\n }\n });\n inject(DestroyRef).onDestroy(() => this.revokePreview());\n }\n\n private revokePreview(): void {\n if (this._urlToRevoke) { URL.revokeObjectURL(this._urlToRevoke); this._urlToRevoke = null; }\n }\n\n /** Re-run the form control's validation when a rule input changes. */\n ngOnChanges() { this._onValidatorChange(); }\n\n validate(_control: AbstractControl): ValidationErrors | null {\n return issueToErrors(this._issue());\n }\n registerOnValidatorChange(fn: () => void) { this._onValidatorChange = fn; }\n\n /** Opens the native file dialog. */\n open(): void {\n if (!this.disabled() && !this.loading()) this.fileEl()?.nativeElement.click();\n }\n\n /** Clears the selection (and the native input, so the same file can be picked again) and any \"refused file\" message. */\n clear(): void {\n const el = this.fileEl()?.nativeElement;\n if (el) el.value = '';\n this._files.set([]);\n this.setRejections([]);\n this._onChange(this.multiple() ? [] : null);\n }\n\n /** The Remove button: clears, then tells the host. */\n protected remove(): void {\n this.clear();\n this._touch();\n this.fileRemoved.emit();\n }\n\n writeValue(val: File | File[] | null) {\n const files = Array.isArray(val) ? val : val ? [val] : [];\n this._files.set(files);\n if (files.length > 0) this.setRejections([]);\n const el = this.fileEl()?.nativeElement;\n if (files.length === 0 && el) el.value = '';\n }\n registerOnChange(fn: (v: File | File[] | null) => void) { this._onChange = fn; }\n registerOnTouched(fn: () => void) { this._onTouched = fn; }\n setDisabledState(d: boolean) { this._cvaDisabled.set(d); }\n\n protected _touch(): void {\n this._onTouched();\n this._reveal.touched.set(true);\n }\n\n protected onChange(event: Event) {\n const el = event.target as HTMLInputElement;\n this.accept$(Array.from(el.files ?? []), el);\n // Visible field keeps its selection; picker-only mode resets so the same file can be chosen again.\n if (!this.showField()) el.value = '';\n }\n\n // ── Drag and drop ──────────────────────────────────────────────\n protected onDragOver(event: DragEvent): void {\n if (!this.dropzone() || this.disabled() || this.loading()) return;\n event.preventDefault();\n if (event.dataTransfer) event.dataTransfer.dropEffect = 'copy';\n this._dragging.set(true);\n }\n\n protected onDragLeave(event: DragEvent): void {\n if (!this.dropzone()) return;\n // Ignore leaves into a child of the field\n const next = event.relatedTarget as Node | null;\n if (next && (event.currentTarget as Node).contains(next)) return;\n this._dragging.set(false);\n }\n\n protected onDrop(event: DragEvent): void {\n if (!this.dropzone()) return;\n event.preventDefault();\n this._dragging.set(false);\n if (this.disabled() || this.loading()) return;\n const dropped = Array.from(event.dataTransfer?.files ?? []);\n if (dropped.length === 0) return;\n this.accept$(this.multiple() ? dropped : dropped.slice(0, 1), this.fileEl()?.nativeElement ?? null);\n }\n\n /** Keeps the first-message string (the `invalid` state) and the full list in step. */\n private setRejections(list: FileRejection[]): void {\n this._rejected.set(list);\n this._rejection.set(list[0]?.message ?? '');\n }\n\n // ── Validating the chosen files ────────────────────────────────\n private rejectionFor(file: File): FileRejection | null {\n const accept = this.accept();\n if (this.enforceAccept() && accept && !fileMatchesAccept(file, accept)) {\n return { file, reason: 'type', message: this.typeMessage() || this.labels.t('fileInput.onlyTypesAllowed', { types: acceptLabel(accept) }) };\n }\n if (file.size === 0 && this.rejectEmpty()) {\n return { file, reason: 'empty', message: this.emptyMessage() || this.labels.t('fileInput.empty') };\n }\n const max = this.maxSize();\n if (max != null && file.size > max) {\n return { file, reason: 'size', message: this.sizeMessage() || this.labels.t('fileInput.tooBig', { size: formatFileSize(max) }) };\n }\n const min = this.minSize();\n if (min != null && file.size < min) {\n return { file, reason: 'small', message: this.minSizeMessage() || this.labels.t('fileInput.tooSmall', { size: formatFileSize(min) }) };\n }\n return null;\n }\n\n /** Applies picked / dropped files: refused ones raise the message and `fileRejected`, accepted ones become the value. */\n private accept$(files: File[], native: HTMLInputElement | null): void {\n if (files.length === 0) { // dialog cancelled: the selection is emptied, nothing is emitted\n this._files.set([]);\n this.setRejections([]);\n this._onChange(this.multiple() ? [] : null);\n this._onTouched();\n return;\n }\n const ok: File[] = [];\n const rejected: FileRejection[] = [];\n for (const f of files) {\n const r = this.rejectionFor(f);\n if (r) rejected.push(r); else ok.push(f);\n }\n this.setRejections(rejected);\n rejected.forEach(r => this.fileRejected.emit(r));\n if (rejected.length > 0) this.filesRejected.emit(rejected);\n if (this.toastOnReject() && rejected.length > 0) {\n this._toast.error(rejected.map(r => this.labels.t('fileInput.notAdded', { name: r.file.name, message: r.message })).join(' '));\n }\n if (ok.length === 0) {\n // Nothing usable was chosen: empty the picker so a refused file's name does not linger\n if (native) native.value = '';\n this._files.set([]);\n this._onChange(this.multiple() ? [] : null);\n this._touch();\n return;\n }\n this._files.set(ok);\n this._onChange(this.multiple() ? ok : ok[0]);\n this._touch();\n this.filesSelected.emit(ok);\n }\n}\n"],"mappings":";;;;;;AAqBA,SAAgB,eAAe,OAAa;CAC1C,IAAI,QAAQ,MAAM,OAAO,GAAG,MAAK;CACjC,IAAI,QAAQ,SAAa,OAAO,GAAG,KAAK,MAAM,QAAQ,IAAI,EAAC;CAC3D,MAAM,KAAK,QAAS;CACpB,MAAM,OAAO,MAAc,eAAe,OAAO,EAAE,QAAQ,CAAC,CAAC,GAAG,SAAQ,GAAI,EAAE,uBAAuB,EAAC,CAAE;CACxG,OAAO,KAAK,OAAO,GAAG,IAAI,EAAE,EAAC,OAAQ,GAAG,IAAI,KAAK,IAAI,EAAC;AACxD;AAMA,SAAgB,qBAAqB,OAAa;CAChD,IAAI,QAAQ,SAAa,OAAO,GAAG,KAAK,MAAM,QAAQ,IAAI,EAAC;CAC3D,MAAM,KAAK,QAAQ,QAAS,QAAO,CAAO,QAAQ,CAAC,CAAC;CACp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AA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,eAAA;EAAA,CAAA;EAAA,cAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,cAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,eAAA;EAAA,CAAA;EAAA,aAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,aAAA;EAAA,CAAA;EAAA,eAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,eAAA;EAAA,CAAA;EAAA,gBAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA;IAAA,UAAA;IAAA,OAAA;IAAA,UAAA;GAAA,CAAA;EAAA,CAAA;EAAA,QAAA,CAAA;GAAA,MAAA,GAAA;GAAA,MAAA,CAAA,UAAQ,EAAA,UAAA,KAAA,CAAA;EAAA,CAAA;CAAA;AAAA,CAAA"}
@@ -0,0 +1,115 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, computed, inject, input } from "@angular/core";
3
+ import { UiLabelsService } from "@forgeroute/ui/core";
4
+ var FixedFooterComponent = class FixedFooterComponent {
5
+ constructor() {
6
+ this.labels = inject(UiLabelsService);
7
+ this.align = input("end", ...ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []);
8
+ this.ariaLabelInput = input(null, {
9
+ ...ngDevMode ? { debugName: "ariaLabelInput" } : /* istanbul ignore next */ {},
10
+ alias: "ariaLabel"
11
+ });
12
+ this.ariaLabel = computed(() => this.ariaLabelInput() ?? this.labels.t("fixedFooter.ariaLabel"), ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
13
+ this.elevated = input(true, ...ngDevMode ? [{ debugName: "elevated" }] : /* istanbul ignore next */ []);
14
+ }
15
+ static {
16
+ this.ɵfac = i0.ɵɵngDeclareFactory({
17
+ minVersion: "12.0.0",
18
+ version: "22.2.2",
19
+ ngImport: i0,
20
+ type: FixedFooterComponent,
21
+ deps: [],
22
+ target: i0.ɵɵFactoryTarget.Component
23
+ });
24
+ }
25
+ static {
26
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
27
+ minVersion: "17.1.0",
28
+ version: "22.2.2",
29
+ type: FixedFooterComponent,
30
+ isStandalone: true,
31
+ selector: "ui-fixed-footer",
32
+ inputs: {
33
+ align: {
34
+ classPropertyName: "align",
35
+ publicName: "align",
36
+ isSignal: true,
37
+ isRequired: false,
38
+ transformFunction: null
39
+ },
40
+ ariaLabelInput: {
41
+ classPropertyName: "ariaLabelInput",
42
+ publicName: "ariaLabel",
43
+ isSignal: true,
44
+ isRequired: false,
45
+ transformFunction: null
46
+ },
47
+ elevated: {
48
+ classPropertyName: "elevated",
49
+ publicName: "elevated",
50
+ isSignal: true,
51
+ isRequired: false,
52
+ transformFunction: null
53
+ }
54
+ },
55
+ host: {
56
+ attributes: { "role": "region" },
57
+ properties: { "attr.aria-label": "ariaLabel()" }
58
+ },
59
+ ngImport: i0,
60
+ template: `<div class="uff" [class.uff-elevated]="elevated()" [attr.data-align]="align()"><ng-content /></div>`,
61
+ isInline: true,
62
+ styles: [":host{display:block;position:-webkit-sticky;position:sticky;bottom:calc(-1 * var(--shell-content-padding, 0px));z-index:10;flex-shrink:0;margin:0 calc(-1 * var(--shell-content-padding, 0px)) calc(-1 * var(--shell-content-padding, 0px))}.uff{box-sizing:border-box;display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:flex-end;padding:var(--ui-footer-pad-y, 20px) max(var(--shell-content-padding, 0px),16px);padding-bottom:calc(var(--ui-footer-pad-y, 20px) + env(safe-area-inset-bottom,0px));padding-left:max(var(--shell-content-padding, 0px),16px,env(safe-area-inset-left,0px));padding-right:max(var(--shell-content-padding, 0px),16px,env(safe-area-inset-right,0px));background:var(--ui-footer-bg, #fff);border-top:1px solid var(--ui-footer-border, #e2e8f0)}.uff-elevated{box-shadow:0 -4px 12px #0f172a0f}.uff[data-align=start]{justify-content:flex-start}.uff[data-align=center]{justify-content:center}.uff[data-align=between]{justify-content:space-between}@media(max-width:1024px){.uff{padding-top:var(--ui-footer-pad-y, 16px);padding-bottom:calc(var(--ui-footer-pad-y, 16px) + env(safe-area-inset-bottom,0px))}}@media(max-width:480px){.uff{padding-top:var(--ui-footer-pad-y, 14px);padding-bottom:calc(var(--ui-footer-pad-y, 14px) + env(safe-area-inset-bottom,0px))}}\n"],
63
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
64
+ });
65
+ }
66
+ };
67
+ i0.ɵɵngDeclareClassMetadata({
68
+ minVersion: "12.0.0",
69
+ version: "22.2.2",
70
+ ngImport: i0,
71
+ type: FixedFooterComponent,
72
+ decorators: [{
73
+ type: Component,
74
+ args: [{
75
+ selector: "ui-fixed-footer",
76
+ standalone: true,
77
+ changeDetection: ChangeDetectionStrategy.OnPush,
78
+ host: {
79
+ role: "region",
80
+ "[attr.aria-label]": "ariaLabel()"
81
+ },
82
+ template: `<div class="uff" [class.uff-elevated]="elevated()" [attr.data-align]="align()"><ng-content /></div>`,
83
+ styles: [":host{display:block;position:-webkit-sticky;position:sticky;bottom:calc(-1 * var(--shell-content-padding, 0px));z-index:10;flex-shrink:0;margin:0 calc(-1 * var(--shell-content-padding, 0px)) calc(-1 * var(--shell-content-padding, 0px))}.uff{box-sizing:border-box;display:flex;align-items:center;flex-wrap:wrap;gap:12px;justify-content:flex-end;padding:var(--ui-footer-pad-y, 20px) max(var(--shell-content-padding, 0px),16px);padding-bottom:calc(var(--ui-footer-pad-y, 20px) + env(safe-area-inset-bottom,0px));padding-left:max(var(--shell-content-padding, 0px),16px,env(safe-area-inset-left,0px));padding-right:max(var(--shell-content-padding, 0px),16px,env(safe-area-inset-right,0px));background:var(--ui-footer-bg, #fff);border-top:1px solid var(--ui-footer-border, #e2e8f0)}.uff-elevated{box-shadow:0 -4px 12px #0f172a0f}.uff[data-align=start]{justify-content:flex-start}.uff[data-align=center]{justify-content:center}.uff[data-align=between]{justify-content:space-between}@media(max-width:1024px){.uff{padding-top:var(--ui-footer-pad-y, 16px);padding-bottom:calc(var(--ui-footer-pad-y, 16px) + env(safe-area-inset-bottom,0px))}}@media(max-width:480px){.uff{padding-top:var(--ui-footer-pad-y, 14px);padding-bottom:calc(var(--ui-footer-pad-y, 14px) + env(safe-area-inset-bottom,0px))}}\n"]
84
+ }]
85
+ }],
86
+ propDecorators: {
87
+ align: [{
88
+ type: i0.Input,
89
+ args: [{
90
+ isSignal: true,
91
+ alias: "align",
92
+ required: false
93
+ }]
94
+ }],
95
+ ariaLabelInput: [{
96
+ type: i0.Input,
97
+ args: [{
98
+ isSignal: true,
99
+ alias: "ariaLabel",
100
+ required: false
101
+ }]
102
+ }],
103
+ elevated: [{
104
+ type: i0.Input,
105
+ args: [{
106
+ isSignal: true,
107
+ alias: "elevated",
108
+ required: false
109
+ }]
110
+ }]
111
+ }
112
+ });
113
+ export { FixedFooterComponent };
114
+
115
+ //# sourceMappingURL=forgeroute-ui-fixed-footer.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgeroute-ui-fixed-footer.mjs","names":[],"sources":["../../../projects/forgeroute-ui/fixed-footer/src/lib/fixed-footer/fixed-footer.component.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, input, computed, inject } from '@angular/core';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\nexport type FixedFooterAlign = 'start' | 'center' | 'end' | 'between';\n\n/**\n * A footer bar fixed to the bottom of the page: it stays visible while the page scrolls, sits flush with the bottom of the viewport\n * and spans the full width of the content area (from the side nav to the end of the screen). Put it as the LAST child of the page:\n *\n * <div class=\"settings-page\">\n * ...the page content...\n * <ui-fixed-footer>\n * <ui-button variant=\"primary\" (click)=\"save()\">Save All Settings</ui-button>\n * </ui-fixed-footer>\n * </div>\n *\n * How it works: the bar is `position: sticky` at the bottom of the scrolling page. Inside `ui-app-shell` the content area is padded\n * (24px / 16px / 12px by width) and the shell publishes that padding as `--shell-content-padding`; the footer cancels it with negative\n * margins and a negative `bottom`, so it reaches the viewport edges instead of stopping inside the padding. Outside the shell the\n * variable is unset (0px) and the bar simply sticks to the bottom of its scrolling parent. Nothing else needs to be set up.\n *\n * Inputs:\n * - `align` (default `end`): where the projected content sits: start | center | end | between.\n * - `ariaLabel` (default `Page actions`): the accessible name of the bar (a labelled region).\n * - `elevated` (default true): the soft shadow above the bar; false = just the top border.\n * Theming by CSS custom properties: `--ui-footer-bg` (white), `--ui-footer-border` (#e2e8f0), `--ui-footer-pad-y` (20px; 16px up to 1024px, 14px up to 480px).\n */\n@Component({\n selector: 'ui-fixed-footer',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: { role: 'region', '[attr.aria-label]': 'ariaLabel()' },\n template: `<div class=\"uff\" [class.uff-elevated]=\"elevated()\" [attr.data-align]=\"align()\"><ng-content /></div>`,\n styles: [`\n :host {\n display: block;\n position: -webkit-sticky;\n position: sticky;\n bottom: calc(-1 * var(--shell-content-padding, 0px));\n z-index: 10;\n flex-shrink: 0;\n margin: 0 calc(-1 * var(--shell-content-padding, 0px)) calc(-1 * var(--shell-content-padding, 0px));\n }\n .uff {\n box-sizing: border-box;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n gap: 12px;\n justify-content: flex-end;\n padding: var(--ui-footer-pad-y, 20px) max(var(--shell-content-padding, 0px), 16px);\n /* iOS: keep the buttons clear of the home indicator / rounded corners (0 where there is no inset; needs viewport-fit=cover to be non-zero) */\n padding-bottom: calc(var(--ui-footer-pad-y, 20px) + env(safe-area-inset-bottom, 0px));\n padding-left: max(var(--shell-content-padding, 0px), 16px, env(safe-area-inset-left, 0px));\n padding-right: max(var(--shell-content-padding, 0px), 16px, env(safe-area-inset-right, 0px));\n background: var(--ui-footer-bg, #fff);\n border-top: 1px solid var(--ui-footer-border, #e2e8f0);\n }\n .uff-elevated { box-shadow: 0 -4px 12px rgba(15, 23, 42, 0.06); }\n .uff[data-align='start'] { justify-content: flex-start; }\n .uff[data-align='center'] { justify-content: center; }\n .uff[data-align='between'] { justify-content: space-between; }\n @media (max-width: 1024px) { .uff { padding-top: var(--ui-footer-pad-y, 16px); padding-bottom: calc(var(--ui-footer-pad-y, 16px) + env(safe-area-inset-bottom, 0px)); } }\n @media (max-width: 480px) { .uff { padding-top: var(--ui-footer-pad-y, 14px); padding-bottom: calc(var(--ui-footer-pad-y, 14px) + env(safe-area-inset-bottom, 0px)); } }\n `],\n})\nexport class FixedFooterComponent {\n protected readonly labels = inject(UiLabelsService);\n /** Where the projected content sits in the bar. */\n readonly align = input<FixedFooterAlign>('end');\n /** Accessible name of the bar. */\n readonly ariaLabelInput = input<string | null>(null, { alias: 'ariaLabel' });\n readonly ariaLabel = computed(() => this.ariaLabelInput() ?? this.labels.t('fixedFooter.ariaLabel'));\n /** The soft shadow above the bar (false = only the top border). */\n readonly elevated = input(true);\n}\n"],"mappings":";;;AAkEA,IAAa,uBAAb,MAAa,qBAAoB;CAvCjC,cAAA;EAwCqB,KAAA,SAAS,OAAO,eAAe;EAEzC,KAAA,QAAQ,MAAwB,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EAEtC,KAAA,iBAAiB,MAAqB,MAAI;GAAA,GAAA,YAAA,EAAA,WAAA,iBAAA,+BAAA,CAAA;GAAI,OAAO;EAAW,CAAA;EAChE,KAAA,YAAY,eAAe,KAAK,eAAc,KAAM,KAAK,OAAO,EAAE,uBAAuB,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;EAE3F,KAAA,WAAW,MAAM,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,WAAA,CAAA,+BAAA,CAAA,CAAA;CAChC;CATY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAApB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAoB,cAAA;GAAA,UAAA;GAAA,QAAA;IAAA,OAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,gBAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,UAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;GAAA;GAAA,MAAA;IAAA,YAAA,EAAA,QAAA,SAAA;IAAA,YAAA,EAAA,mBAAA,cAAA;GAAA;GAAA,UAAA;GAAA,UAlCrB;GAAqG,UAAA;GAAA,QAAA,CAAA,0wCAAA;GAAA,iBAAA,GAAA,wBAAA;EAAA,CAAA;CAAA;;AAkCpG,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAoB,YAAA,CAAA;EAvChC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAiB,YACf;GAAI,iBACC,wBAAwB;GAAM,MACzC;IAAE,MAAM;IAAU,qBAAqB;GAAa;GAAE,UAClD;GAAqG,QAAA,CAAA,0wCAAA;EAAA,CAAA"}
@@ -0,0 +1,126 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, Directive, ViewEncapsulation, computed, input } from "@angular/core";
3
+ var FormRowComponent = class FormRowComponent {
4
+ constructor() {
5
+ this.cols = input(2, ...ngDevMode ? [{ debugName: "cols" }] : /* istanbul ignore next */ []);
6
+ }
7
+ static {
8
+ this.ɵfac = i0.ɵɵngDeclareFactory({
9
+ minVersion: "12.0.0",
10
+ version: "22.2.2",
11
+ ngImport: i0,
12
+ type: FormRowComponent,
13
+ deps: [],
14
+ target: i0.ɵɵFactoryTarget.Component
15
+ });
16
+ }
17
+ static {
18
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
19
+ minVersion: "17.1.0",
20
+ version: "22.2.2",
21
+ type: FormRowComponent,
22
+ isStandalone: true,
23
+ selector: "ui-form-row",
24
+ inputs: { cols: {
25
+ classPropertyName: "cols",
26
+ publicName: "cols",
27
+ isSignal: true,
28
+ isRequired: false,
29
+ transformFunction: null
30
+ } },
31
+ ngImport: i0,
32
+ template: `<div class="fr-row" [class.fr-row--4]="cols() === 4" [style.--fr-cols]="cols()"><ng-content /></div>`,
33
+ isInline: true,
34
+ styles: ["ui-form-row{display:block}.fr-row{display:grid;grid-template-columns:repeat(var(--fr-cols, 2),1fr);gap:12px}.fr-row>.ui-span-2{grid-column:span 2}.fr-row>.ui-span-3{grid-column:span 3}.fr-row>.ui-span-all{grid-column:1 / -1}@media(max-width:768px){.fr-row--4{grid-template-columns:repeat(2,1fr)}.fr-row--4>.ui-span-3{grid-column:1 / -1}}@media(max-width:480px){.fr-row{grid-template-columns:1fr}.fr-row>.ui-span-2,.fr-row>.ui-span-3,.fr-row>.ui-span-all{grid-column:1 / -1}}\n"],
35
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
36
+ encapsulation: i0.ViewEncapsulation.None
37
+ });
38
+ }
39
+ };
40
+ i0.ɵɵngDeclareClassMetadata({
41
+ minVersion: "12.0.0",
42
+ version: "22.2.2",
43
+ ngImport: i0,
44
+ type: FormRowComponent,
45
+ decorators: [{
46
+ type: Component,
47
+ args: [{
48
+ selector: "ui-form-row",
49
+ standalone: true,
50
+ changeDetection: ChangeDetectionStrategy.OnPush,
51
+ encapsulation: ViewEncapsulation.None,
52
+ template: `<div class="fr-row" [class.fr-row--4]="cols() === 4" [style.--fr-cols]="cols()"><ng-content /></div>`,
53
+ styles: ["ui-form-row{display:block}.fr-row{display:grid;grid-template-columns:repeat(var(--fr-cols, 2),1fr);gap:12px}.fr-row>.ui-span-2{grid-column:span 2}.fr-row>.ui-span-3{grid-column:span 3}.fr-row>.ui-span-all{grid-column:1 / -1}@media(max-width:768px){.fr-row--4{grid-template-columns:repeat(2,1fr)}.fr-row--4>.ui-span-3{grid-column:1 / -1}}@media(max-width:480px){.fr-row{grid-template-columns:1fr}.fr-row>.ui-span-2,.fr-row>.ui-span-3,.fr-row>.ui-span-all{grid-column:1 / -1}}\n"]
54
+ }]
55
+ }],
56
+ propDecorators: { cols: [{
57
+ type: i0.Input,
58
+ args: [{
59
+ isSignal: true,
60
+ alias: "cols",
61
+ required: false
62
+ }]
63
+ }] }
64
+ });
65
+ var FormColSpanDirective = class FormColSpanDirective {
66
+ constructor() {
67
+ this.uiColSpan = input("", ...ngDevMode ? [{ debugName: "uiColSpan" }] : /* istanbul ignore next */ []);
68
+ this._class = computed(() => {
69
+ const v = String(this.uiColSpan());
70
+ return v === "2" || v === "3" || v === "all" ? `ui-span-${v}` : "";
71
+ }, ...ngDevMode ? [{ debugName: "_class" }] : /* istanbul ignore next */ []);
72
+ }
73
+ static {
74
+ this.ɵfac = i0.ɵɵngDeclareFactory({
75
+ minVersion: "12.0.0",
76
+ version: "22.2.2",
77
+ ngImport: i0,
78
+ type: FormColSpanDirective,
79
+ deps: [],
80
+ target: i0.ɵɵFactoryTarget.Directive
81
+ });
82
+ }
83
+ static {
84
+ this.ɵdir = i0.ɵɵngDeclareDirective({
85
+ minVersion: "17.1.0",
86
+ version: "22.2.2",
87
+ type: FormColSpanDirective,
88
+ isStandalone: true,
89
+ selector: "[uiColSpan]",
90
+ inputs: { uiColSpan: {
91
+ classPropertyName: "uiColSpan",
92
+ publicName: "uiColSpan",
93
+ isSignal: true,
94
+ isRequired: false,
95
+ transformFunction: null
96
+ } },
97
+ host: { properties: { "class": "_class()" } },
98
+ ngImport: i0
99
+ });
100
+ }
101
+ };
102
+ i0.ɵɵngDeclareClassMetadata({
103
+ minVersion: "12.0.0",
104
+ version: "22.2.2",
105
+ ngImport: i0,
106
+ type: FormColSpanDirective,
107
+ decorators: [{
108
+ type: Directive,
109
+ args: [{
110
+ selector: "[uiColSpan]",
111
+ standalone: true,
112
+ host: { "[class]": "_class()" }
113
+ }]
114
+ }],
115
+ propDecorators: { uiColSpan: [{
116
+ type: i0.Input,
117
+ args: [{
118
+ isSignal: true,
119
+ alias: "uiColSpan",
120
+ required: false
121
+ }]
122
+ }] }
123
+ });
124
+ export { FormColSpanDirective, FormRowComponent };
125
+
126
+ //# sourceMappingURL=forgeroute-ui-form-row.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgeroute-ui-form-row.mjs","names":[],"sources":["../../../projects/forgeroute-ui/form-row/src/lib/form-row/form-row.component.ts","../../../projects/forgeroute-ui/form-row/src/lib/form-row/form-col-span.directive.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, input, ViewEncapsulation } from '@angular/core';\n\n@Component({\n selector: 'ui-form-row',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n template: `<div class=\"fr-row\" [class.fr-row--4]=\"cols() === 4\" [style.--fr-cols]=\"cols()\"><ng-content /></div>`,\n styles: [`\n ui-form-row { display: block; }\n\n .fr-row {\n display: grid;\n grid-template-columns: repeat(var(--fr-cols, 2), 1fr);\n gap: 12px;\n }\n\n /* Column spanning for a direct child: class ui-span-2 / ui-span-3 / ui-span-all (or the uiColSpan directive). Use ui-span-all for\n \"the whole row\"; a numeric span wider than the row columns would add implicit columns, so keep it within the cols input. */\n .fr-row > .ui-span-2 { grid-column: span 2; }\n .fr-row > .ui-span-3 { grid-column: span 3; }\n .fr-row > .ui-span-all { grid-column: 1 / -1; }\n\n /* 4 columns: two columns on tablets and small laptops (the 3-column row keeps its single breakpoint at 480px). */\n @media (max-width: 768px) {\n .fr-row--4 { grid-template-columns: repeat(2, 1fr); }\n .fr-row--4 > .ui-span-3 { grid-column: 1 / -1; }\n }\n\n @media (max-width: 480px) {\n .fr-row { grid-template-columns: 1fr; }\n /* One column on a phone: a span must not create extra implicit columns. */\n .fr-row > .ui-span-2,\n .fr-row > .ui-span-3,\n .fr-row > .ui-span-all { grid-column: 1 / -1; }\n }\n `],\n})\nexport class FormRowComponent {\n readonly cols = input<1 | 2 | 3 | 4>(2);\n}\n","import { Directive, computed, input } from '@angular/core';\n\n/**\n * Lets a direct child of `ui-form-row` span several columns: `<ui-text-input uiColSpan=\"2\" .../>` (2 or 3 columns) or\n * `uiColSpan=\"all\"` (every column). It only adds the class `ui-span-2` / `ui-span-3` / `ui-span-all`, which `ui-form-row` styles, so a\n * plain `class=\"ui-span-2\"` on the child works too without importing this directive. On a phone (<= 480px) the row is one column and the\n * child simply takes the full width. Keep a numeric span within the row's `cols` (use `all` for the whole row).\n */\n@Directive({\n selector: '[uiColSpan]',\n standalone: true,\n host: { '[class]': '_class()' },\n})\nexport class FormColSpanDirective {\n readonly uiColSpan = input<2 | 3 | 'all' | '2' | '3' | ''>('');\n protected readonly _class = computed(() => {\n const v = String(this.uiColSpan());\n return v === '2' || v === '3' || v === 'all' ? `ui-span-${v}` : '';\n });\n}\n"],"mappings":";;AAsCA,IAAa,mBAAb,MAAa,iBAAgB;CApC7B,cAAA;EAqCW,KAAA,OAAO,MAAqB,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,OAAA,CAAA,+BAAA,CAAA,CAAA;CACxC;CAFY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAgB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAAhB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAgB,cAAA;GAAA,UAAA;GAAA,QAAA,EAAA,MAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA,EAAA;GAAA,UAAA;GAAA,UA/BjB;GAAsG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AAA;GACT,UAAU;GACV,YAAY;GACZ,MAAM,EAAE,WAAW,WAAU;EAC9B,CAAA"}
@@ -0,0 +1,93 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, input } from "@angular/core";
3
+ var FormSectionComponent = class FormSectionComponent {
4
+ constructor() {
5
+ this.label = input("", ...ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []);
6
+ this.divider = input(false, ...ngDevMode ? [{ debugName: "divider" }] : /* istanbul ignore next */ []);
7
+ }
8
+ static {
9
+ this.ɵfac = i0.ɵɵngDeclareFactory({
10
+ minVersion: "12.0.0",
11
+ version: "22.2.2",
12
+ ngImport: i0,
13
+ type: FormSectionComponent,
14
+ deps: [],
15
+ target: i0.ɵɵFactoryTarget.Component
16
+ });
17
+ }
18
+ static {
19
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
20
+ minVersion: "17.0.0",
21
+ version: "22.2.2",
22
+ type: FormSectionComponent,
23
+ isStandalone: true,
24
+ selector: "ui-form-section",
25
+ inputs: {
26
+ label: {
27
+ classPropertyName: "label",
28
+ publicName: "label",
29
+ isSignal: true,
30
+ isRequired: false,
31
+ transformFunction: null
32
+ },
33
+ divider: {
34
+ classPropertyName: "divider",
35
+ publicName: "divider",
36
+ isSignal: true,
37
+ isRequired: false,
38
+ transformFunction: null
39
+ }
40
+ },
41
+ ngImport: i0,
42
+ template: `
43
+ @if (divider()) { <div class="fs-divider"></div> }
44
+ @if (label()) { <p class="fs-label">{{ label() }}</p> }
45
+ <div class="fs-fields"><ng-content /></div>
46
+ `,
47
+ isInline: true,
48
+ styles: [":host{display:block}.fs-divider{height:1px;background:#f1f5f9;margin:8px -24px 16px}.fs-label{font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b;margin:0 0 12px}.fs-fields{display:flex;flex-direction:column;gap:14px}\n"],
49
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
50
+ });
51
+ }
52
+ };
53
+ i0.ɵɵngDeclareClassMetadata({
54
+ minVersion: "12.0.0",
55
+ version: "22.2.2",
56
+ ngImport: i0,
57
+ type: FormSectionComponent,
58
+ decorators: [{
59
+ type: Component,
60
+ args: [{
61
+ selector: "ui-form-section",
62
+ standalone: true,
63
+ changeDetection: ChangeDetectionStrategy.OnPush,
64
+ template: `
65
+ @if (divider()) { <div class="fs-divider"></div> }
66
+ @if (label()) { <p class="fs-label">{{ label() }}</p> }
67
+ <div class="fs-fields"><ng-content /></div>
68
+ `,
69
+ styles: [":host{display:block}.fs-divider{height:1px;background:#f1f5f9;margin:8px -24px 16px}.fs-label{font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#64748b;margin:0 0 12px}.fs-fields{display:flex;flex-direction:column;gap:14px}\n"]
70
+ }]
71
+ }],
72
+ propDecorators: {
73
+ label: [{
74
+ type: i0.Input,
75
+ args: [{
76
+ isSignal: true,
77
+ alias: "label",
78
+ required: false
79
+ }]
80
+ }],
81
+ divider: [{
82
+ type: i0.Input,
83
+ args: [{
84
+ isSignal: true,
85
+ alias: "divider",
86
+ required: false
87
+ }]
88
+ }]
89
+ }
90
+ });
91
+ export { FormSectionComponent };
92
+
93
+ //# sourceMappingURL=forgeroute-ui-form-section.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgeroute-ui-form-section.mjs","names":[],"sources":["../../../projects/forgeroute-ui/form-section/src/lib/form-section/form-section.component.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, input } from '@angular/core';\n\n@Component({\n selector: 'ui-form-section',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `\n @if (divider()) { <div class=\"fs-divider\"></div> }\n @if (label()) { <p class=\"fs-label\">{{ label() }}</p> }\n <div class=\"fs-fields\"><ng-content /></div>\n `,\n styles: [`\n :host { display: block; }\n\n .fs-divider {\n height: 1px;\n background: #f1f5f9;\n margin: 8px -24px 16px;\n }\n\n .fs-label {\n font-size: 0.6875rem;\n font-weight: 700;\n letter-spacing: 0.06em;\n text-transform: uppercase;\n color: #64748b;\n margin: 0 0 12px;\n }\n\n .fs-fields {\n display: flex;\n flex-direction: column;\n gap: 14px;\n }\n `],\n})\nexport class FormSectionComponent {\n readonly label = input('');\n readonly divider = input(false);\n}\n"],"mappings":";;AAoCA,IAAa,uBAAb,MAAa,qBAAoB;CAlCjC,cAAA;EAmCW,KAAA,QAAU,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;EACnB,KAAA,UAAU,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAChC;CAHY;EAAA,KAAA,OAAA,GAAA,mBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,UAAA;GAAA,MAAA;GAAoB,MAAA,CAAA;GAAA,QAAA,GAAA,gBAAA;EAAA,CAAA;CAAA;CAApB;EAAA,KAAA,OAAA,GAAA,qBAAA;GAAA,YAAA;GAAA,SAAA;GAAA,MAAA;GAAoB,cAAA;GAAA,UAAA;GAAA,QAAA;IAAA,OAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;IAAA,SAAA;KAAA,mBAAA;KAAA,YAAA;KAAA,UAAA;KAAA,YAAA;KAAA,mBAAA;IAAA;GAAA;GAAA,UAAA;GAAA,UA9BrB;;;;;GAIT,UAAA;GAAA,QAAA,CAAA,wQAAA;GAAA,iBAAA,GAAA,wBAAA;EAAA,CAAA;CAAA;;AA0BU,GAAA,yBAAA;CAAA,YAAA;CAAA,SAAA;CAAA,UAAA;CAAA,MAAA;CAAoB,YAAA,CAAA;EAlChC,MAAA;EACW,MAAA,CAAA;GAAA,UAAA;GAAiB,YACf;GAAI,iBACC,wBAAwB;GAAM,UACrC;;;;;GAIT,QAAA,CAAA,wQAAA;EAAA,CAAA"}
@@ -0,0 +1,139 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, ElementRef, inject, input, output } from "@angular/core";
3
+ const FOCUSABLE = "input:not([type=\"hidden\"]), select, textarea, button, [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"]";
4
+ var FormComponent = class FormComponent {
5
+ constructor() {
6
+ this.ariaLabel = input("", ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
7
+ this.ariaLabelledby = input("", ...ngDevMode ? [{ debugName: "ariaLabelledby" }] : /* istanbul ignore next */ []);
8
+ this.autocomplete = input("", ...ngDevMode ? [{ debugName: "autocomplete" }] : /* istanbul ignore next */ []);
9
+ this.submitted = output();
10
+ this._host = inject(ElementRef);
11
+ }
12
+ static _usable(el) {
13
+ if (el.matches(":disabled")) return false;
14
+ if (el.getClientRects().length === 0) return false;
15
+ const style = typeof getComputedStyle === "function" ? getComputedStyle(el) : null;
16
+ return !style || style.visibility !== "hidden" && style.display !== "none";
17
+ }
18
+ invalidFields() {
19
+ const found = [];
20
+ for (const marked of Array.from(this._host.nativeElement.querySelectorAll("[aria-invalid=\"true\"]"))) {
21
+ let target;
22
+ if (marked.matches(FOCUSABLE)) target = FormComponent._usable(marked) ? marked : void 0;
23
+ else target = Array.from(marked.querySelectorAll(FOCUSABLE)).find((c) => FormComponent._usable(c));
24
+ const sameGroup = (t) => target instanceof HTMLInputElement && target.type === "radio" && t instanceof HTMLInputElement && t.type === "radio" && t.name === target.name && t.form === target.form;
25
+ if (target && !found.some((t) => t === target || sameGroup(t))) found.push(target);
26
+ }
27
+ return found;
28
+ }
29
+ focusFirstInvalid(options = {}) {
30
+ const first = this.invalidFields()[0];
31
+ if (!first) return false;
32
+ if (options.scroll !== false && typeof first.scrollIntoView === "function") first.scrollIntoView({ block: "center" });
33
+ first.focus({ preventScroll: true });
34
+ return first.ownerDocument.activeElement === first;
35
+ }
36
+ onSubmit(event) {
37
+ event.preventDefault();
38
+ this.submitted.emit(event);
39
+ }
40
+ static {
41
+ this.ɵfac = i0.ɵɵngDeclareFactory({
42
+ minVersion: "12.0.0",
43
+ version: "22.2.2",
44
+ ngImport: i0,
45
+ type: FormComponent,
46
+ deps: [],
47
+ target: i0.ɵɵFactoryTarget.Component
48
+ });
49
+ }
50
+ static {
51
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
52
+ minVersion: "17.1.0",
53
+ version: "22.2.2",
54
+ type: FormComponent,
55
+ isStandalone: true,
56
+ selector: "ui-form",
57
+ inputs: {
58
+ ariaLabel: {
59
+ classPropertyName: "ariaLabel",
60
+ publicName: "ariaLabel",
61
+ isSignal: true,
62
+ isRequired: false,
63
+ transformFunction: null
64
+ },
65
+ ariaLabelledby: {
66
+ classPropertyName: "ariaLabelledby",
67
+ publicName: "ariaLabelledby",
68
+ isSignal: true,
69
+ isRequired: false,
70
+ transformFunction: null
71
+ },
72
+ autocomplete: {
73
+ classPropertyName: "autocomplete",
74
+ publicName: "autocomplete",
75
+ isSignal: true,
76
+ isRequired: false,
77
+ transformFunction: null
78
+ }
79
+ },
80
+ outputs: { submitted: "submitted" },
81
+ ngImport: i0,
82
+ template: `<form class="uf" novalidate [attr.aria-label]="ariaLabel() || null" [attr.aria-labelledby]="ariaLabelledby() || null"
83
+ [attr.autocomplete]="autocomplete() || null" (submit)="onSubmit($event)"><ng-content /></form>`,
84
+ isInline: true,
85
+ styles: [":host{display:block}.uf{display:block;margin:0;padding:0}\n"],
86
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
87
+ });
88
+ }
89
+ };
90
+ i0.ɵɵngDeclareClassMetadata({
91
+ minVersion: "12.0.0",
92
+ version: "22.2.2",
93
+ ngImport: i0,
94
+ type: FormComponent,
95
+ decorators: [{
96
+ type: Component,
97
+ args: [{
98
+ selector: "ui-form",
99
+ standalone: true,
100
+ changeDetection: ChangeDetectionStrategy.OnPush,
101
+ template: `<form class="uf" novalidate [attr.aria-label]="ariaLabel() || null" [attr.aria-labelledby]="ariaLabelledby() || null"
102
+ [attr.autocomplete]="autocomplete() || null" (submit)="onSubmit($event)"><ng-content /></form>`,
103
+ styles: [":host{display:block}.uf{display:block;margin:0;padding:0}\n"]
104
+ }]
105
+ }],
106
+ propDecorators: {
107
+ ariaLabel: [{
108
+ type: i0.Input,
109
+ args: [{
110
+ isSignal: true,
111
+ alias: "ariaLabel",
112
+ required: false
113
+ }]
114
+ }],
115
+ ariaLabelledby: [{
116
+ type: i0.Input,
117
+ args: [{
118
+ isSignal: true,
119
+ alias: "ariaLabelledby",
120
+ required: false
121
+ }]
122
+ }],
123
+ autocomplete: [{
124
+ type: i0.Input,
125
+ args: [{
126
+ isSignal: true,
127
+ alias: "autocomplete",
128
+ required: false
129
+ }]
130
+ }],
131
+ submitted: [{
132
+ type: i0.Output,
133
+ args: ["submitted"]
134
+ }]
135
+ }
136
+ });
137
+ export { FormComponent };
138
+
139
+ //# sourceMappingURL=forgeroute-ui-form.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgeroute-ui-form.mjs","names":[],"sources":["../../../projects/forgeroute-ui/form/src/lib/form/form.component.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ElementRef, inject, input, output } from '@angular/core';\n\n/** Native controls that can take focus. */\nconst FOCUSABLE = 'input:not([type=\"hidden\"]), select, textarea, button, [tabindex]:not([tabindex=\"-1\"]), [contenteditable=\"true\"]';\n\n/**\n * A real `<form>` for a group of library fields, so the browser (and assistive tech) treats it as one: it is announced as a\n * \"form\" landmark when it has a name, and pressing Enter in a field submits it through a `ui-button type=\"submit\"`. Apps do not write\n * a native `<form>`; they use this.\n *\n * <ui-form ariaLabel=\"Informant contact details\" (submitted)=\"save()\">\n * <ui-text-input label=\"Name\" [(ngModel)]=\"name\" />\n * <ui-button type=\"submit\">Save</ui-button>\n * </ui-form>\n *\n * Works with Reactive Forms: `<ui-form [formGroup]=\"form\" ariaLabel=\"...\" (ngSubmit)=\"save()\">` (the `submit` event of the inner\n * form bubbles to the host, which is what `FormGroupDirective` listens to; it also stops the page from reloading).\n *\n * - `ariaLabel` (or `ariaLabelledby`): the form's name. A named form is a landmark, so give it one only for a main form of the page.\n * - The browser's own validation bubbles are off (`novalidate`): library inputs show their own messages.\n * - `submitted` emits the submit event after the default action (a page reload) was prevented.\n * - `focusFirstInvalid({ scroll })`: after a failed Save, call it (e.g. `form.focusFirstInvalid()` from a `viewChild(FormComponent)`) to scroll to and focus the first\n * field that shows an error. It looks for `aria-invalid=\"true\"` in DOM order (what every library input sets once it shows an error); on a\n * group (radio group, checkbox group, business hours) it focuses the group's first enabled control. Disabled and hidden controls are\n * skipped. Returns whether something was focused. `invalidFields()` returns those controls without moving focus.\n * - Layout: the host is a block and the form inside is a plain block - it adds no spacing; put a `ui-stack` / `ui-form-section` inside.\n */\n@Component({\n selector: 'ui-form',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n template: `<form class=\"uf\" novalidate [attr.aria-label]=\"ariaLabel() || null\" [attr.aria-labelledby]=\"ariaLabelledby() || null\"\n [attr.autocomplete]=\"autocomplete() || null\" (submit)=\"onSubmit($event)\"><ng-content /></form>`,\n styles: [`\n :host { display: block; }\n .uf { display: block; margin: 0; padding: 0; }\n `],\n})\nexport class FormComponent {\n /** The form's accessible name. Empty = unnamed (no landmark). */\n readonly ariaLabel = input('');\n /** Id of an element that names the form (wins over `ariaLabel`). */\n readonly ariaLabelledby = input('');\n /** Browser autofill for the whole form: 'on' | 'off'. Empty = the browser default. */\n readonly autocomplete = input<'' | 'on' | 'off'>('');\n /** Emits the submit event (Enter in a field, or a submit button). The page is never reloaded. */\n readonly submitted = output<Event>();\n\n private readonly _host = inject<ElementRef<HTMLElement>>(ElementRef);\n\n private static _usable(el: HTMLElement): boolean {\n if (el.matches(':disabled')) return false; // also controls inside a disabled fieldset\n if (el.getClientRects().length === 0) return false;\n const style = typeof getComputedStyle === 'function' ? getComputedStyle(el) : null;\n return !style || (style.visibility !== 'hidden' && style.display !== 'none');\n }\n\n /**\n * The native controls that currently show an error (`aria-invalid=\"true\"`), in DOM order. A group marked invalid (radio group, checkbox\n * group, business hours...) contributes its first enabled, visible control. Disabled and hidden controls are left out.\n */\n invalidFields(): HTMLElement[] {\n const found: HTMLElement[] = [];\n for (const marked of Array.from(this._host.nativeElement.querySelectorAll<HTMLElement>('[aria-invalid=\"true\"]'))) {\n let target: HTMLElement | undefined;\n if (marked.matches(FOCUSABLE)) {\n target = FormComponent._usable(marked) ? marked : undefined;\n } else {\n target = Array.from(marked.querySelectorAll<HTMLElement>(FOCUSABLE)).find(c => FormComponent._usable(c));\n }\n // A radio group is marked on the group and on each radio: it still counts once (its first radio).\n const sameGroup = (t: HTMLElement) => target instanceof HTMLInputElement && target.type === 'radio' && t instanceof HTMLInputElement\n && t.type === 'radio' && t.name === target.name && t.form === target.form;\n if (target && !found.some(t => t === target || sameGroup(t))) found.push(target);\n }\n return found;\n }\n\n /**\n * Scrolls the first invalid field (see `invalidFields`) to the middle of the screen and focuses it without a second scroll.\n * `scroll: false` only focuses. Returns false (and does nothing) when no field is invalid.\n */\n focusFirstInvalid(options: { scroll?: boolean } = {}): boolean {\n const first = this.invalidFields()[0];\n if (!first) return false;\n if (options.scroll !== false && typeof first.scrollIntoView === 'function') first.scrollIntoView({ block: 'center' });\n first.focus({ preventScroll: true });\n return first.ownerDocument.activeElement === first;\n }\n\n protected onSubmit(event: Event): void {\n event.preventDefault();\n this.submitted.emit(event);\n }\n}\n"],"mappings":";;AAGA,MAAM,YAAY;AAmClB,IAAa,gBAAb,MAAa,cAAa;CAX1B,cAAA;EAaW,KAAA,YAAY,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;EAErB,KAAA,iBAAiB,MAAM,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,iBAAA,CAAA,+BAAA,CAAA,CAAA;EAE1B,KAAA,eAAe,MAAyB,IAAG,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;EAE3C,KAAA,YAAY,OAAM;EAEV,KAAA,Q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