@forgeroute/ui 0.5.16 → 0.5.17

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 (340) 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-data-table-core.mjs +6150 -0
  46. package/fesm2022/forgeroute-ui-data-table-core.mjs.map +1 -0
  47. package/fesm2022/forgeroute-ui-date-input.mjs +384 -0
  48. package/fesm2022/forgeroute-ui-date-input.mjs.map +1 -0
  49. package/fesm2022/forgeroute-ui-date-range-picker.mjs +453 -0
  50. package/fesm2022/forgeroute-ui-date-range-picker.mjs.map +1 -0
  51. package/fesm2022/forgeroute-ui-datetime-input.mjs +375 -0
  52. package/fesm2022/forgeroute-ui-datetime-input.mjs.map +1 -0
  53. package/fesm2022/forgeroute-ui-detail-card.mjs +655 -0
  54. package/fesm2022/forgeroute-ui-detail-card.mjs.map +1 -0
  55. package/fesm2022/forgeroute-ui-discount-selector.mjs +259 -0
  56. package/fesm2022/forgeroute-ui-discount-selector.mjs.map +1 -0
  57. package/fesm2022/forgeroute-ui-divider.mjs +111 -0
  58. package/fesm2022/forgeroute-ui-divider.mjs.map +1 -0
  59. package/fesm2022/forgeroute-ui-dropdown.mjs +550 -0
  60. package/fesm2022/forgeroute-ui-dropdown.mjs.map +1 -0
  61. package/fesm2022/forgeroute-ui-editor.mjs +4545 -0
  62. package/fesm2022/forgeroute-ui-editor.mjs.map +1 -0
  63. package/fesm2022/forgeroute-ui-empty-state.mjs +231 -0
  64. package/fesm2022/forgeroute-ui-empty-state.mjs.map +1 -0
  65. package/fesm2022/forgeroute-ui-error-state.mjs +195 -0
  66. package/fesm2022/forgeroute-ui-error-state.mjs.map +1 -0
  67. package/fesm2022/forgeroute-ui-error.mjs +93 -0
  68. package/fesm2022/forgeroute-ui-error.mjs.map +1 -0
  69. package/fesm2022/forgeroute-ui-fade.mjs +117 -0
  70. package/fesm2022/forgeroute-ui-fade.mjs.map +1 -0
  71. package/fesm2022/forgeroute-ui-file-input.mjs +999 -0
  72. package/fesm2022/forgeroute-ui-file-input.mjs.map +1 -0
  73. package/fesm2022/forgeroute-ui-fixed-footer.mjs +115 -0
  74. package/fesm2022/forgeroute-ui-fixed-footer.mjs.map +1 -0
  75. package/fesm2022/forgeroute-ui-form-row.mjs +126 -0
  76. package/fesm2022/forgeroute-ui-form-row.mjs.map +1 -0
  77. package/fesm2022/forgeroute-ui-form-section.mjs +93 -0
  78. package/fesm2022/forgeroute-ui-form-section.mjs.map +1 -0
  79. package/fesm2022/forgeroute-ui-form.mjs +139 -0
  80. package/fesm2022/forgeroute-ui-form.mjs.map +1 -0
  81. package/fesm2022/forgeroute-ui-hint.mjs +47 -0
  82. package/fesm2022/forgeroute-ui-hint.mjs.map +1 -0
  83. package/fesm2022/forgeroute-ui-icon-picker.mjs +424 -0
  84. package/fesm2022/forgeroute-ui-icon-picker.mjs.map +1 -0
  85. package/fesm2022/forgeroute-ui-icon.mjs +311 -0
  86. package/fesm2022/forgeroute-ui-icon.mjs.map +1 -0
  87. package/fesm2022/forgeroute-ui-image-preview.mjs +237 -0
  88. package/fesm2022/forgeroute-ui-image-preview.mjs.map +1 -0
  89. package/fesm2022/forgeroute-ui-keypad.mjs +278 -0
  90. package/fesm2022/forgeroute-ui-keypad.mjs.map +1 -0
  91. package/fesm2022/forgeroute-ui-kpi-card.mjs +490 -0
  92. package/fesm2022/forgeroute-ui-kpi-card.mjs.map +1 -0
  93. package/fesm2022/forgeroute-ui-language-switcher.mjs +134 -0
  94. package/fesm2022/forgeroute-ui-language-switcher.mjs.map +1 -0
  95. package/fesm2022/forgeroute-ui-layout.mjs +18 -0
  96. package/fesm2022/forgeroute-ui-layout.mjs.map +1 -0
  97. package/fesm2022/forgeroute-ui-list-item.mjs +620 -0
  98. package/fesm2022/forgeroute-ui-list-item.mjs.map +1 -0
  99. package/fesm2022/forgeroute-ui-list.mjs +866 -0
  100. package/fesm2022/forgeroute-ui-list.mjs.map +1 -0
  101. package/fesm2022/forgeroute-ui-live-region.mjs +118 -0
  102. package/fesm2022/forgeroute-ui-live-region.mjs.map +1 -0
  103. package/fesm2022/forgeroute-ui-map.mjs +5 -1
  104. package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
  105. package/fesm2022/forgeroute-ui-maps.mjs +2 -1
  106. package/fesm2022/forgeroute-ui-maps.mjs.map +1 -1
  107. package/fesm2022/forgeroute-ui-media.mjs +4615 -0
  108. package/fesm2022/forgeroute-ui-media.mjs.map +1 -0
  109. package/fesm2022/forgeroute-ui-messaging.mjs +20 -1
  110. package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
  111. package/fesm2022/forgeroute-ui-more-menu.mjs +418 -0
  112. package/fesm2022/forgeroute-ui-more-menu.mjs.map +1 -0
  113. package/fesm2022/forgeroute-ui-multi-select.mjs +532 -0
  114. package/fesm2022/forgeroute-ui-multi-select.mjs.map +1 -0
  115. package/fesm2022/forgeroute-ui-notes.mjs +768 -0
  116. package/fesm2022/forgeroute-ui-notes.mjs.map +1 -0
  117. package/fesm2022/forgeroute-ui-notification-bell.mjs +587 -0
  118. package/fesm2022/forgeroute-ui-notification-bell.mjs.map +1 -0
  119. package/fesm2022/forgeroute-ui-offline-banner.mjs +156 -0
  120. package/fesm2022/forgeroute-ui-offline-banner.mjs.map +1 -0
  121. package/fesm2022/forgeroute-ui-option-card.mjs +379 -0
  122. package/fesm2022/forgeroute-ui-option-card.mjs.map +1 -0
  123. package/fesm2022/forgeroute-ui-page.mjs +317 -0
  124. package/fesm2022/forgeroute-ui-page.mjs.map +1 -0
  125. package/fesm2022/forgeroute-ui-pagination.mjs +225 -0
  126. package/fesm2022/forgeroute-ui-pagination.mjs.map +1 -0
  127. package/fesm2022/forgeroute-ui-panel-info-list.mjs +422 -0
  128. package/fesm2022/forgeroute-ui-panel-info-list.mjs.map +1 -0
  129. package/fesm2022/forgeroute-ui-password-requirements.mjs +237 -0
  130. package/fesm2022/forgeroute-ui-password-requirements.mjs.map +1 -0
  131. package/fesm2022/forgeroute-ui-payments.mjs +6243 -0
  132. package/fesm2022/forgeroute-ui-payments.mjs.map +1 -0
  133. package/fesm2022/forgeroute-ui-pdf.mjs +9 -1
  134. package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
  135. package/fesm2022/forgeroute-ui-phone-number-picker.mjs +840 -0
  136. package/fesm2022/forgeroute-ui-phone-number-picker.mjs.map +1 -0
  137. package/fesm2022/forgeroute-ui-pill-tabs.mjs +546 -0
  138. package/fesm2022/forgeroute-ui-pill-tabs.mjs.map +1 -0
  139. package/fesm2022/forgeroute-ui-print.mjs +76 -0
  140. package/fesm2022/forgeroute-ui-print.mjs.map +1 -0
  141. package/fesm2022/forgeroute-ui-progress-bar.mjs +252 -0
  142. package/fesm2022/forgeroute-ui-progress-bar.mjs.map +1 -0
  143. package/fesm2022/forgeroute-ui-progress-ring.mjs +277 -0
  144. package/fesm2022/forgeroute-ui-progress-ring.mjs.map +1 -0
  145. package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs +301 -0
  146. package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs.map +1 -0
  147. package/fesm2022/forgeroute-ui-quickbooks.mjs +18 -1
  148. package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
  149. package/fesm2022/forgeroute-ui-radio-matrix.mjs +471 -0
  150. package/fesm2022/forgeroute-ui-radio-matrix.mjs.map +1 -0
  151. package/fesm2022/forgeroute-ui-radio.mjs +911 -0
  152. package/fesm2022/forgeroute-ui-radio.mjs.map +1 -0
  153. package/fesm2022/forgeroute-ui-read-only-mode.mjs +15 -0
  154. package/fesm2022/forgeroute-ui-read-only-mode.mjs.map +1 -0
  155. package/fesm2022/forgeroute-ui-readonly-fieldset.mjs +146 -0
  156. package/fesm2022/forgeroute-ui-readonly-fieldset.mjs.map +1 -0
  157. package/fesm2022/forgeroute-ui-reminder-alerts.mjs +249 -0
  158. package/fesm2022/forgeroute-ui-reminder-alerts.mjs.map +1 -0
  159. package/fesm2022/forgeroute-ui-search-input.mjs +373 -0
  160. package/fesm2022/forgeroute-ui-search-input.mjs.map +1 -0
  161. package/fesm2022/forgeroute-ui-section-header.mjs +296 -0
  162. package/fesm2022/forgeroute-ui-section-header.mjs.map +1 -0
  163. package/fesm2022/forgeroute-ui-select.mjs +498 -0
  164. package/fesm2022/forgeroute-ui-select.mjs.map +1 -0
  165. package/fesm2022/forgeroute-ui-setup.mjs +4649 -0
  166. package/fesm2022/forgeroute-ui-setup.mjs.map +1 -0
  167. package/fesm2022/forgeroute-ui-share-menu.mjs +461 -0
  168. package/fesm2022/forgeroute-ui-share-menu.mjs.map +1 -0
  169. package/fesm2022/forgeroute-ui-shell.mjs +981 -0
  170. package/fesm2022/forgeroute-ui-shell.mjs.map +1 -0
  171. package/fesm2022/forgeroute-ui-show.mjs +129 -0
  172. package/fesm2022/forgeroute-ui-show.mjs.map +1 -0
  173. package/fesm2022/forgeroute-ui-sidebar-layout.mjs +355 -0
  174. package/fesm2022/forgeroute-ui-sidebar-layout.mjs.map +1 -0
  175. package/fesm2022/forgeroute-ui-skeleton.mjs +152 -0
  176. package/fesm2022/forgeroute-ui-skeleton.mjs.map +1 -0
  177. package/fesm2022/forgeroute-ui-skip-link.mjs +129 -0
  178. package/fesm2022/forgeroute-ui-skip-link.mjs.map +1 -0
  179. package/fesm2022/forgeroute-ui-snackbar.mjs +200 -0
  180. package/fesm2022/forgeroute-ui-snackbar.mjs.map +1 -0
  181. package/fesm2022/forgeroute-ui-square.mjs +15 -1
  182. package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
  183. package/fesm2022/forgeroute-ui-stack.mjs +233 -0
  184. package/fesm2022/forgeroute-ui-stack.mjs.map +1 -0
  185. package/fesm2022/forgeroute-ui-stacked-bar.mjs +200 -0
  186. package/fesm2022/forgeroute-ui-stacked-bar.mjs.map +1 -0
  187. package/fesm2022/forgeroute-ui-stacking-plan.mjs +365 -0
  188. package/fesm2022/forgeroute-ui-stacking-plan.mjs.map +1 -0
  189. package/fesm2022/forgeroute-ui-star-rating.mjs +498 -0
  190. package/fesm2022/forgeroute-ui-star-rating.mjs.map +1 -0
  191. package/fesm2022/forgeroute-ui-star.mjs +184 -0
  192. package/fesm2022/forgeroute-ui-star.mjs.map +1 -0
  193. package/fesm2022/forgeroute-ui-stepper.mjs +615 -0
  194. package/fesm2022/forgeroute-ui-stepper.mjs.map +1 -0
  195. package/fesm2022/forgeroute-ui-stripe.mjs +14 -1
  196. package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
  197. package/fesm2022/forgeroute-ui-swatch-picker.mjs +416 -0
  198. package/fesm2022/forgeroute-ui-swatch-picker.mjs.map +1 -0
  199. package/fesm2022/forgeroute-ui-table-toolbar.mjs +770 -0
  200. package/fesm2022/forgeroute-ui-table-toolbar.mjs.map +1 -0
  201. package/fesm2022/forgeroute-ui-table-types.mjs +277 -0
  202. package/fesm2022/forgeroute-ui-table-types.mjs.map +1 -0
  203. package/fesm2022/forgeroute-ui-text-input.mjs +1003 -0
  204. package/fesm2022/forgeroute-ui-text-input.mjs.map +1 -0
  205. package/fesm2022/forgeroute-ui-text-template-picker.mjs +356 -0
  206. package/fesm2022/forgeroute-ui-text-template-picker.mjs.map +1 -0
  207. package/fesm2022/forgeroute-ui-text.mjs +195 -0
  208. package/fesm2022/forgeroute-ui-text.mjs.map +1 -0
  209. package/fesm2022/forgeroute-ui-textarea-input.mjs +542 -0
  210. package/fesm2022/forgeroute-ui-textarea-input.mjs.map +1 -0
  211. package/fesm2022/forgeroute-ui-time-input.mjs +401 -0
  212. package/fesm2022/forgeroute-ui-time-input.mjs.map +1 -0
  213. package/fesm2022/forgeroute-ui-timeline.mjs +549 -0
  214. package/fesm2022/forgeroute-ui-timeline.mjs.map +1 -0
  215. package/fesm2022/forgeroute-ui-toast.mjs +507 -0
  216. package/fesm2022/forgeroute-ui-toast.mjs.map +1 -0
  217. package/fesm2022/forgeroute-ui-toggle-badge.mjs +177 -0
  218. package/fesm2022/forgeroute-ui-toggle-badge.mjs.map +1 -0
  219. package/fesm2022/forgeroute-ui-toggle.mjs +275 -0
  220. package/fesm2022/forgeroute-ui-toggle.mjs.map +1 -0
  221. package/fesm2022/forgeroute-ui-tooltip.mjs +155 -0
  222. package/fesm2022/forgeroute-ui-tooltip.mjs.map +1 -0
  223. package/fesm2022/forgeroute-ui-utils.mjs +1071 -0
  224. package/fesm2022/forgeroute-ui-utils.mjs.map +1 -0
  225. package/fesm2022/forgeroute-ui.mjs +105 -70663
  226. package/package.json +417 -1
  227. package/types/forgeroute-ui-action-bar.d.ts +74 -0
  228. package/types/forgeroute-ui-address-input.d.ts +354 -0
  229. package/types/forgeroute-ui-alert.d.ts +89 -0
  230. package/types/forgeroute-ui-avatar.d.ts +85 -0
  231. package/types/forgeroute-ui-badge.d.ts +45 -0
  232. package/types/forgeroute-ui-bar-row.d.ts +90 -0
  233. package/types/forgeroute-ui-boards.d.ts +575 -0
  234. package/types/forgeroute-ui-bulk-eligible.d.ts +53 -0
  235. package/types/forgeroute-ui-business-hours.d.ts +191 -0
  236. package/types/forgeroute-ui-calendar.d.ts +544 -0
  237. package/types/forgeroute-ui-card-list-item.d.ts +186 -0
  238. package/types/forgeroute-ui-charts.d.ts +1 -1
  239. package/types/forgeroute-ui-checkbox.d.ts +270 -0
  240. package/types/forgeroute-ui-chip.d.ts +125 -0
  241. package/types/forgeroute-ui-color-input.d.ts +160 -0
  242. package/types/forgeroute-ui-column-filter.d.ts +130 -0
  243. package/types/forgeroute-ui-columns.d.ts +150 -0
  244. package/types/forgeroute-ui-combobox.d.ts +252 -0
  245. package/types/forgeroute-ui-confirm.d.ts +34 -0
  246. package/types/forgeroute-ui-contact-picker.d.ts +173 -0
  247. package/types/forgeroute-ui-conversations.d.ts +993 -0
  248. package/types/forgeroute-ui-copy-field.d.ts +122 -0
  249. package/types/forgeroute-ui-data-table-core.d.ts +1221 -0
  250. package/types/forgeroute-ui-date-input.d.ts +101 -0
  251. package/types/forgeroute-ui-date-range-picker.d.ts +109 -0
  252. package/types/forgeroute-ui-datetime-input.d.ts +97 -0
  253. package/types/forgeroute-ui-detail-card.d.ts +252 -0
  254. package/types/forgeroute-ui-discount-selector.d.ts +57 -0
  255. package/types/forgeroute-ui-divider.d.ts +40 -0
  256. package/types/forgeroute-ui-dropdown.d.ts +156 -0
  257. package/types/forgeroute-ui-editor.d.ts +873 -0
  258. package/types/forgeroute-ui-empty-state.d.ts +29 -0
  259. package/types/forgeroute-ui-error-state.d.ts +38 -0
  260. package/types/forgeroute-ui-error.d.ts +29 -0
  261. package/types/forgeroute-ui-fade.d.ts +39 -0
  262. package/types/forgeroute-ui-file-input.d.ts +337 -0
  263. package/types/forgeroute-ui-fixed-footer.d.ts +53 -0
  264. package/types/forgeroute-ui-form-row.d.ts +30 -0
  265. package/types/forgeroute-ui-form-section.d.ts +18 -0
  266. package/types/forgeroute-ui-form.d.ts +68 -0
  267. package/types/forgeroute-ui-hint.d.ts +10 -0
  268. package/types/forgeroute-ui-icon-picker.d.ts +122 -0
  269. package/types/forgeroute-ui-icon.d.ts +95 -0
  270. package/types/forgeroute-ui-image-preview.d.ts +88 -0
  271. package/types/forgeroute-ui-keypad.d.ts +73 -0
  272. package/types/forgeroute-ui-kpi-card.d.ts +161 -0
  273. package/types/forgeroute-ui-language-switcher.d.ts +41 -0
  274. package/types/forgeroute-ui-layout.d.ts +13 -0
  275. package/types/forgeroute-ui-list-item.d.ts +253 -0
  276. package/types/forgeroute-ui-list.d.ts +282 -0
  277. package/types/forgeroute-ui-live-region.d.ts +49 -0
  278. package/types/forgeroute-ui-map.d.ts +1 -1
  279. package/types/forgeroute-ui-maps.d.ts +1 -1
  280. package/types/forgeroute-ui-media.d.ts +1221 -0
  281. package/types/forgeroute-ui-messaging.d.ts +6 -1
  282. package/types/forgeroute-ui-more-menu.d.ts +91 -0
  283. package/types/forgeroute-ui-multi-select.d.ts +119 -0
  284. package/types/forgeroute-ui-notes.d.ts +172 -0
  285. package/types/forgeroute-ui-notification-bell.d.ts +135 -0
  286. package/types/forgeroute-ui-offline-banner.d.ts +44 -0
  287. package/types/forgeroute-ui-option-card.d.ts +106 -0
  288. package/types/forgeroute-ui-page.d.ts +115 -0
  289. package/types/forgeroute-ui-pagination.d.ts +55 -0
  290. package/types/forgeroute-ui-panel-info-list.d.ts +147 -0
  291. package/types/forgeroute-ui-password-requirements.d.ts +89 -0
  292. package/types/forgeroute-ui-payments.d.ts +1818 -0
  293. package/types/forgeroute-ui-pdf.d.ts +1 -1
  294. package/types/forgeroute-ui-phone-number-picker.d.ts +199 -0
  295. package/types/forgeroute-ui-pill-tabs.d.ts +208 -0
  296. package/types/forgeroute-ui-print.d.ts +40 -0
  297. package/types/forgeroute-ui-progress-bar.d.ts +88 -0
  298. package/types/forgeroute-ui-progress-ring.d.ts +102 -0
  299. package/types/forgeroute-ui-quick-filter-tabs.d.ts +51 -0
  300. package/types/forgeroute-ui-quickbooks.d.ts +4 -1
  301. package/types/forgeroute-ui-radio-matrix.d.ts +131 -0
  302. package/types/forgeroute-ui-radio.d.ts +311 -0
  303. package/types/forgeroute-ui-read-only-mode.d.ts +26 -0
  304. package/types/forgeroute-ui-readonly-fieldset.d.ts +62 -0
  305. package/types/forgeroute-ui-reminder-alerts.d.ts +71 -0
  306. package/types/forgeroute-ui-search-input.d.ts +93 -0
  307. package/types/forgeroute-ui-section-header.d.ts +149 -0
  308. package/types/forgeroute-ui-select.d.ts +183 -0
  309. package/types/forgeroute-ui-setup.d.ts +775 -0
  310. package/types/forgeroute-ui-share-menu.d.ts +99 -0
  311. package/types/forgeroute-ui-shell.d.ts +173 -0
  312. package/types/forgeroute-ui-show.d.ts +40 -0
  313. package/types/forgeroute-ui-sidebar-layout.d.ts +161 -0
  314. package/types/forgeroute-ui-skeleton.d.ts +51 -0
  315. package/types/forgeroute-ui-skip-link.d.ts +51 -0
  316. package/types/forgeroute-ui-snackbar.d.ts +50 -0
  317. package/types/forgeroute-ui-square.d.ts +3 -1
  318. package/types/forgeroute-ui-stack.d.ts +99 -0
  319. package/types/forgeroute-ui-stacked-bar.d.ts +84 -0
  320. package/types/forgeroute-ui-stacking-plan.d.ts +116 -0
  321. package/types/forgeroute-ui-star-rating.d.ts +151 -0
  322. package/types/forgeroute-ui-star.d.ts +46 -0
  323. package/types/forgeroute-ui-stepper.d.ts +273 -0
  324. package/types/forgeroute-ui-stripe.d.ts +3 -1
  325. package/types/forgeroute-ui-swatch-picker.d.ts +118 -0
  326. package/types/forgeroute-ui-table-toolbar.d.ts +116 -0
  327. package/types/forgeroute-ui-table-types.d.ts +624 -0
  328. package/types/forgeroute-ui-text-input.d.ts +359 -0
  329. package/types/forgeroute-ui-text-template-picker.d.ts +100 -0
  330. package/types/forgeroute-ui-text.d.ts +76 -0
  331. package/types/forgeroute-ui-textarea-input.d.ts +174 -0
  332. package/types/forgeroute-ui-time-input.d.ts +105 -0
  333. package/types/forgeroute-ui-timeline.d.ts +196 -0
  334. package/types/forgeroute-ui-toast.d.ts +131 -0
  335. package/types/forgeroute-ui-toggle-badge.d.ts +64 -0
  336. package/types/forgeroute-ui-toggle.d.ts +92 -0
  337. package/types/forgeroute-ui-tooltip.d.ts +36 -0
  338. package/types/forgeroute-ui-utils.d.ts +210 -0
  339. package/types/forgeroute-ui.d.ts +106 -19539
  340. package/fesm2022/forgeroute-ui.mjs.map +0 -1
@@ -0,0 +1,453 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, ElementRef, computed, effect, inject, input, linkedSignal, output, signal, untracked } from "@angular/core";
3
+ import { NgTemplateOutlet } from "@angular/common";
4
+ import * as i1 from "@angular/forms";
5
+ import { FormsModule } from "@angular/forms";
6
+ import { PillTabsComponent } from "@forgeroute/ui/pill-tabs";
7
+ import { DateInputComponent } from "@forgeroute/ui/date-input";
8
+ import { ButtonComponent, UiLabelsService, uiText } from "@forgeroute/ui/core";
9
+ const presetLabel = (key) => uiText(`dateRangePicker.preset.${key}`);
10
+ var DateRangePickerComponent = class DateRangePickerComponent {
11
+ constructor() {
12
+ this.labels = inject(UiLabelsService);
13
+ this.activePreset = input("ytd", ...ngDevMode ? [{ debugName: "activePreset" }] : /* istanbul ignore next */ []);
14
+ this.showPresets = input(true, ...ngDevMode ? [{ debugName: "showPresets" }] : /* istanbul ignore next */ []);
15
+ this.includeAllTime = input(false, ...ngDevMode ? [{ debugName: "includeAllTime" }] : /* istanbul ignore next */ []);
16
+ this.presets = input(null, ...ngDevMode ? [{ debugName: "presets" }] : /* istanbul ignore next */ []);
17
+ this.ariaLabelInput = input(null, {
18
+ ...ngDevMode ? { debugName: "ariaLabelInput" } : /* istanbul ignore next */ {},
19
+ alias: "ariaLabel"
20
+ });
21
+ this.ariaLabel = computed(() => this.ariaLabelInput() ?? this.labels.t("dateRangePicker.ariaLabel"), ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
22
+ this.rangeChange = output();
23
+ this.selectedPreset = linkedSignal(() => this.activePreset(), ...ngDevMode ? [{ debugName: "selectedPreset" }] : /* istanbul ignore next */ []);
24
+ this.popoverDismissed = linkedSignal({
25
+ ...ngDevMode ? { debugName: "popoverDismissed" } : /* istanbul ignore next */ {},
26
+ source: this.selectedPreset,
27
+ computation: (_, previous) => previous === void 0
28
+ });
29
+ this.popoverVisible = computed(() => {
30
+ const dismissed = this.popoverDismissed();
31
+ return this.showPresets() && this.selectedPreset() === "custom" && !dismissed;
32
+ }, ...ngDevMode ? [{ debugName: "popoverVisible" }] : /* istanbul ignore next */ []);
33
+ this.popTop = signal(0, ...ngDevMode ? [{ debugName: "popTop" }] : /* istanbul ignore next */ []);
34
+ this.popRight = signal(16, ...ngDevMode ? [{ debugName: "popRight" }] : /* istanbul ignore next */ []);
35
+ this.host = inject(ElementRef);
36
+ this.customStart = signal("", ...ngDevMode ? [{ debugName: "customStart" }] : /* istanbul ignore next */ []);
37
+ this.customEnd = signal("", ...ngDevMode ? [{ debugName: "customEnd" }] : /* istanbul ignore next */ []);
38
+ this.presetTabs = computed(() => {
39
+ const explicit = this.presets();
40
+ if (explicit) return explicit.map((key) => ({
41
+ key,
42
+ label: presetLabel(key)
43
+ }));
44
+ const keys = [
45
+ "today",
46
+ "7days",
47
+ "30days",
48
+ "month",
49
+ "quarter",
50
+ "ytd"
51
+ ];
52
+ if (this.includeAllTime()) keys.push("all");
53
+ keys.push("custom");
54
+ return keys.map((key) => ({
55
+ key,
56
+ label: presetLabel(key)
57
+ }));
58
+ }, ...ngDevMode ? [{ debugName: "presetTabs" }] : /* istanbul ignore next */ []);
59
+ effect((onCleanup) => {
60
+ if (!this.popoverVisible()) return;
61
+ const place = () => this.place();
62
+ untracked(place);
63
+ window.addEventListener("resize", place);
64
+ window.addEventListener("scroll", place, true);
65
+ onCleanup(() => {
66
+ window.removeEventListener("resize", place);
67
+ window.removeEventListener("scroll", place, true);
68
+ });
69
+ });
70
+ }
71
+ place() {
72
+ const pills = this.host.nativeElement.querySelector(".pills");
73
+ if (!pills) return;
74
+ const r = pills.getBoundingClientRect();
75
+ this.popTop.set(Math.round(r.bottom + 8));
76
+ this.popRight.set(Math.max(16, Math.round(document.documentElement.clientWidth - r.right)));
77
+ }
78
+ onDocumentClick(e) {
79
+ if (this.popoverVisible() && !this.host.nativeElement.contains(e.target)) this.dismissWithoutApply();
80
+ }
81
+ onEscape(e) {
82
+ if (!this.popoverVisible()) return;
83
+ e.stopPropagation();
84
+ this.dismissWithoutApply();
85
+ }
86
+ dismissWithoutApply() {
87
+ this.selectedPreset.set(this.activePreset());
88
+ this.popoverDismissed.set(true);
89
+ }
90
+ onPillsClick(e) {
91
+ if ((e.target?.closest?.("[role=\"tab\"]"))?.getAttribute("aria-selected") === "true" && this.selectedPreset() === "custom" && this.popoverDismissed()) this.popoverDismissed.set(false);
92
+ }
93
+ selectPreset(key) {
94
+ this.selectedPreset.set(key);
95
+ this.popoverDismissed.set(false);
96
+ if (key !== "custom") this.rangeChange.emit(resolvePreset(key, /* @__PURE__ */ new Date()));
97
+ }
98
+ applyCustom() {
99
+ if (!this.customStart() || !this.customEnd()) return;
100
+ this.popoverDismissed.set(true);
101
+ this.rangeChange.emit({
102
+ preset: "custom",
103
+ startDate: this.customStart(),
104
+ endDate: this.customEnd(),
105
+ label: presetLabel("custom")
106
+ });
107
+ }
108
+ static {
109
+ this.ɵfac = i0.ɵɵngDeclareFactory({
110
+ minVersion: "12.0.0",
111
+ version: "22.2.2",
112
+ ngImport: i0,
113
+ type: DateRangePickerComponent,
114
+ deps: [],
115
+ target: i0.ɵɵFactoryTarget.Component
116
+ });
117
+ }
118
+ static {
119
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
120
+ minVersion: "17.0.0",
121
+ version: "22.2.2",
122
+ type: DateRangePickerComponent,
123
+ isStandalone: true,
124
+ selector: "ui-date-range-picker",
125
+ inputs: {
126
+ activePreset: {
127
+ classPropertyName: "activePreset",
128
+ publicName: "activePreset",
129
+ isSignal: true,
130
+ isRequired: false,
131
+ transformFunction: null
132
+ },
133
+ showPresets: {
134
+ classPropertyName: "showPresets",
135
+ publicName: "showPresets",
136
+ isSignal: true,
137
+ isRequired: false,
138
+ transformFunction: null
139
+ },
140
+ includeAllTime: {
141
+ classPropertyName: "includeAllTime",
142
+ publicName: "includeAllTime",
143
+ isSignal: true,
144
+ isRequired: false,
145
+ transformFunction: null
146
+ },
147
+ presets: {
148
+ classPropertyName: "presets",
149
+ publicName: "presets",
150
+ isSignal: true,
151
+ isRequired: false,
152
+ transformFunction: null
153
+ },
154
+ ariaLabelInput: {
155
+ classPropertyName: "ariaLabelInput",
156
+ publicName: "ariaLabel",
157
+ isSignal: true,
158
+ isRequired: false,
159
+ transformFunction: null
160
+ }
161
+ },
162
+ outputs: { rangeChange: "rangeChange" },
163
+ host: { listeners: {
164
+ "document:click": "onDocumentClick($event)",
165
+ "keydown.escape": "onEscape($event)"
166
+ } },
167
+ ngImport: i0,
168
+ template: `
169
+ <div class="date-range-picker">
170
+ @if (showPresets()) {
171
+ <div class="pills" #pills (click)="onPillsClick($event)">
172
+ <ui-pill-tabs [tabs]="presetTabs()" [activeKey]="selectedPreset()" [ariaLabel]="ariaLabel()" [noWrap]="true" (tabChange)="selectPreset($any($event))" />
173
+ </div>
174
+ @if (popoverVisible()) {
175
+ <div class="custom-popover" role="group" [attr.aria-label]="labels.t('dateRangePicker.customDateRange')" data-testid="custom-range-popover"
176
+ [style.top.px]="popTop()" [style.right.px]="popRight()">
177
+ <ng-container *ngTemplateOutlet="customFields" />
178
+ </div>
179
+ }
180
+ } @else {
181
+ <ng-container *ngTemplateOutlet="customFields" />
182
+ }
183
+ </div>
184
+ <ng-template #customFields>
185
+ <div class="custom-range">
186
+ <ui-date-input [label]="labels.t('dateRangePicker.from')" [max]="customEnd()" [ngModel]="customStart()" (ngModelChange)="customStart.set($event)" />
187
+ <span class="date-sep" aria-hidden="true">–</span>
188
+ <ui-date-input [label]="labels.t('dateRangePicker.to')" [min]="customStart()" [ngModel]="customEnd()" (ngModelChange)="customEnd.set($event)" />
189
+ <ui-button variant="primary" size="sm" [disabled]="!customStart() || !customEnd()" (click)="applyCustom()">{{ labels.t('common.apply') }}</ui-button>
190
+ </div>
191
+ </ng-template>
192
+ `,
193
+ isInline: true,
194
+ styles: [":host{display:block}.date-range-picker{display:flex;flex-direction:column;gap:10px}.pills{width:fit-content;max-width:100%}.custom-range{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.date-sep{color:#94a3b8;font-weight:500;padding-bottom:10px}.custom-popover{position:fixed;z-index:1000;box-sizing:border-box;max-width:calc(100vw - 32px);background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;box-shadow:0 10px 25px #0f172a1f,0 4px 10px #0f172a0f}\n"],
195
+ dependencies: [
196
+ {
197
+ kind: "ngmodule",
198
+ type: FormsModule
199
+ },
200
+ {
201
+ kind: "directive",
202
+ type: i1.NgControlStatus,
203
+ selector: "[formControlName],[ngModel],[formControl]"
204
+ },
205
+ {
206
+ kind: "directive",
207
+ type: i1.NgModel,
208
+ selector: "[ngModel]:not([formControlName]):not([formControl])",
209
+ inputs: [
210
+ "name",
211
+ "disabled",
212
+ "ngModel",
213
+ "ngModelOptions"
214
+ ],
215
+ outputs: ["ngModelChange"],
216
+ exportAs: ["ngModel"]
217
+ },
218
+ {
219
+ kind: "directive",
220
+ type: NgTemplateOutlet,
221
+ selector: "[ngTemplateOutlet]",
222
+ inputs: [
223
+ "ngTemplateOutletContext",
224
+ "ngTemplateOutlet",
225
+ "ngTemplateOutletInjector"
226
+ ]
227
+ },
228
+ {
229
+ kind: "component",
230
+ type: PillTabsComponent,
231
+ selector: "ui-pill-tabs",
232
+ inputs: [
233
+ "tabs",
234
+ "activeKey",
235
+ "ariaLabel",
236
+ "name",
237
+ "noWrap",
238
+ "orientation",
239
+ "controlsPanels",
240
+ "showDescription",
241
+ "headingLevel"
242
+ ],
243
+ outputs: ["tabChange"]
244
+ },
245
+ {
246
+ kind: "component",
247
+ type: DateInputComponent,
248
+ selector: "ui-date-input",
249
+ inputs: [
250
+ "label",
251
+ "required",
252
+ "min",
253
+ "max",
254
+ "hint",
255
+ "ariaDescribedBy",
256
+ "error",
257
+ "showErrors",
258
+ "disabled"
259
+ ],
260
+ outputs: ["invalidChange", "valueChange"]
261
+ },
262
+ {
263
+ kind: "component",
264
+ type: ButtonComponent,
265
+ selector: "ui-button",
266
+ inputs: [
267
+ "variant",
268
+ "routerLink",
269
+ "queryParams",
270
+ "fragment",
271
+ "state",
272
+ "href",
273
+ "target",
274
+ "rel",
275
+ "shortLabel",
276
+ "shortBelow",
277
+ "color",
278
+ "active",
279
+ "size",
280
+ "type",
281
+ "disabled",
282
+ "loading",
283
+ "fullWidth",
284
+ "ariaLabel",
285
+ "ariaExpanded",
286
+ "ariaPressed",
287
+ "ariaDescribedBy",
288
+ "modal-footer-left",
289
+ "modal-footer-right"
290
+ ]
291
+ }
292
+ ],
293
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
294
+ });
295
+ }
296
+ };
297
+ i0.ɵɵngDeclareClassMetadata({
298
+ minVersion: "12.0.0",
299
+ version: "22.2.2",
300
+ ngImport: i0,
301
+ type: DateRangePickerComponent,
302
+ decorators: [{
303
+ type: Component,
304
+ args: [{
305
+ selector: "ui-date-range-picker",
306
+ standalone: true,
307
+ changeDetection: ChangeDetectionStrategy.OnPush,
308
+ imports: [
309
+ FormsModule,
310
+ NgTemplateOutlet,
311
+ PillTabsComponent,
312
+ DateInputComponent,
313
+ ButtonComponent
314
+ ],
315
+ host: {
316
+ "(document:click)": "onDocumentClick($event)",
317
+ "(keydown.escape)": "onEscape($event)"
318
+ },
319
+ template: `
320
+ <div class="date-range-picker">
321
+ @if (showPresets()) {
322
+ <div class="pills" #pills (click)="onPillsClick($event)">
323
+ <ui-pill-tabs [tabs]="presetTabs()" [activeKey]="selectedPreset()" [ariaLabel]="ariaLabel()" [noWrap]="true" (tabChange)="selectPreset($any($event))" />
324
+ </div>
325
+ @if (popoverVisible()) {
326
+ <div class="custom-popover" role="group" [attr.aria-label]="labels.t('dateRangePicker.customDateRange')" data-testid="custom-range-popover"
327
+ [style.top.px]="popTop()" [style.right.px]="popRight()">
328
+ <ng-container *ngTemplateOutlet="customFields" />
329
+ </div>
330
+ }
331
+ } @else {
332
+ <ng-container *ngTemplateOutlet="customFields" />
333
+ }
334
+ </div>
335
+ <ng-template #customFields>
336
+ <div class="custom-range">
337
+ <ui-date-input [label]="labels.t('dateRangePicker.from')" [max]="customEnd()" [ngModel]="customStart()" (ngModelChange)="customStart.set($event)" />
338
+ <span class="date-sep" aria-hidden="true">–</span>
339
+ <ui-date-input [label]="labels.t('dateRangePicker.to')" [min]="customStart()" [ngModel]="customEnd()" (ngModelChange)="customEnd.set($event)" />
340
+ <ui-button variant="primary" size="sm" [disabled]="!customStart() || !customEnd()" (click)="applyCustom()">{{ labels.t('common.apply') }}</ui-button>
341
+ </div>
342
+ </ng-template>
343
+ `,
344
+ styles: [":host{display:block}.date-range-picker{display:flex;flex-direction:column;gap:10px}.pills{width:fit-content;max-width:100%}.custom-range{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.date-sep{color:#94a3b8;font-weight:500;padding-bottom:10px}.custom-popover{position:fixed;z-index:1000;box-sizing:border-box;max-width:calc(100vw - 32px);background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;box-shadow:0 10px 25px #0f172a1f,0 4px 10px #0f172a0f}\n"]
345
+ }]
346
+ }],
347
+ ctorParameters: () => [],
348
+ propDecorators: {
349
+ activePreset: [{
350
+ type: i0.Input,
351
+ args: [{
352
+ isSignal: true,
353
+ alias: "activePreset",
354
+ required: false
355
+ }]
356
+ }],
357
+ showPresets: [{
358
+ type: i0.Input,
359
+ args: [{
360
+ isSignal: true,
361
+ alias: "showPresets",
362
+ required: false
363
+ }]
364
+ }],
365
+ includeAllTime: [{
366
+ type: i0.Input,
367
+ args: [{
368
+ isSignal: true,
369
+ alias: "includeAllTime",
370
+ required: false
371
+ }]
372
+ }],
373
+ presets: [{
374
+ type: i0.Input,
375
+ args: [{
376
+ isSignal: true,
377
+ alias: "presets",
378
+ required: false
379
+ }]
380
+ }],
381
+ ariaLabelInput: [{
382
+ type: i0.Input,
383
+ args: [{
384
+ isSignal: true,
385
+ alias: "ariaLabel",
386
+ required: false
387
+ }]
388
+ }],
389
+ rangeChange: [{
390
+ type: i0.Output,
391
+ args: ["rangeChange"]
392
+ }]
393
+ }
394
+ });
395
+ function resolvePreset(key, today) {
396
+ const fmt = (d) => `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")}`;
397
+ const end = fmt(today);
398
+ const range = (start, preset = key) => ({
399
+ preset,
400
+ startDate: typeof start === "string" ? start : fmt(start),
401
+ endDate: end,
402
+ label: presetLabel(preset)
403
+ });
404
+ switch (key) {
405
+ case "today": return range(end);
406
+ case "7days": {
407
+ const d = new Date(today);
408
+ d.setDate(d.getDate() - 6);
409
+ return range(d);
410
+ }
411
+ case "30days": {
412
+ const d = new Date(today);
413
+ d.setDate(d.getDate() - 29);
414
+ return range(d);
415
+ }
416
+ case "month": return range(new Date(today.getFullYear(), today.getMonth(), 1));
417
+ case "quarter": return range(new Date(today.getFullYear(), Math.floor(today.getMonth() / 3) * 3, 1));
418
+ case "ytd": return range(new Date(today.getFullYear(), 0, 1));
419
+ case "q1":
420
+ case "q2":
421
+ case "q3":
422
+ case "q4": {
423
+ const q = Number(key.slice(1)) - 1;
424
+ return {
425
+ preset: key,
426
+ startDate: fmt(new Date(today.getFullYear(), q * 3, 1)),
427
+ endDate: fmt(new Date(today.getFullYear(), q * 3 + 3, 0)),
428
+ label: presetLabel(key)
429
+ };
430
+ }
431
+ case "lastYear": return {
432
+ preset: "lastYear",
433
+ startDate: `${today.getFullYear() - 1}-01-01`,
434
+ endDate: `${today.getFullYear() - 1}-12-31`,
435
+ label: presetLabel("lastYear")
436
+ };
437
+ case "last12months": {
438
+ const d = new Date(today);
439
+ d.setFullYear(d.getFullYear() - 1);
440
+ return range(d);
441
+ }
442
+ case "all": return {
443
+ preset: "all",
444
+ startDate: "2000-01-01",
445
+ endDate: "2099-12-31",
446
+ label: presetLabel("all")
447
+ };
448
+ default: return range(new Date(today.getFullYear(), 0, 1), "ytd");
449
+ }
450
+ }
451
+ export { DateRangePickerComponent, resolvePreset };
452
+
453
+ //# sourceMappingURL=forgeroute-ui-date-range-picker.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgeroute-ui-date-range-picker.mjs","names":[],"sources":["../../../projects/forgeroute-ui/date-range-picker/src/lib/date-range-picker/date-range-picker.component.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, ElementRef, computed, effect, inject, input, linkedSignal, output, signal, untracked } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { PillTabsComponent, PillTab } from '@forgeroute/ui/pill-tabs';\nimport { DateInputComponent } from '@forgeroute/ui/date-input';\nimport { ButtonComponent } from '@forgeroute/ui/core';\nimport { UiLabelsService, UiLabelKey, uiText } from '@forgeroute/ui/core';\n\nexport type DatePreset =\n | 'today' | '7days' | '30days' | 'month' | 'quarter' | 'ytd' | 'all' | 'custom'\n /** Calendar quarters of the current year (Jan-Mar ... Oct-Dec; a quarter may end in the future). */\n | 'q1' | 'q2' | 'q3' | 'q4'\n /** The whole previous calendar year (Jan 1 - Dec 31). */\n | 'lastYear'\n /** The same day one year ago through today. */\n | 'last12months';\n\nexport interface DateRange {\n preset: DatePreset;\n /** ISO date, 'YYYY-MM-DD'. */\n startDate: string;\n /** ISO date, 'YYYY-MM-DD'. */\n endDate: string;\n label: string;\n}\n\n/** The pill / range label of a preset in the app's active language. */\nconst presetLabel = (key: DatePreset): string => uiText(`dateRangePicker.preset.${key}` as UiLabelKey);\n\n/**\n * Date range picker: preset pills (Today … Year to Date, optional All Time, Custom Range) plus\n * From / To date inputs with an Apply button for the custom range. With the presets shown, the custom range opens in a\n * popover card under the pills (right-aligned, closes on Apply / Escape / outside click; picking Custom Range again\n * reopens it; a picker CREATED on `activePreset=\"custom\"` starts with the popover closed and the Custom Range tab highlighted); with `showPresets` false the From / To row is rendered inline. Emits `rangeChange` with the\n * resolved ISO dates whenever a preset is picked or a custom range is applied.\n *\n * <ui-date-range-picker [activePreset]=\"preset()\" [includeAllTime]=\"true\" (rangeChange)=\"onRange($event)\" />\n * <!-- custom range only (host renders its own presets) -->\n * <ui-date-range-picker activePreset=\"custom\" [showPresets]=\"false\" (rangeChange)=\"onRange($event)\" />\n */\n@Component({\n selector: 'ui-date-range-picker',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [FormsModule, NgTemplateOutlet, PillTabsComponent, DateInputComponent, ButtonComponent],\n host: {\n '(document:click)': 'onDocumentClick($event)',\n '(keydown.escape)': 'onEscape($event)',\n },\n template: `\n <div class=\"date-range-picker\">\n @if (showPresets()) {\n <div class=\"pills\" #pills (click)=\"onPillsClick($event)\">\n <ui-pill-tabs [tabs]=\"presetTabs()\" [activeKey]=\"selectedPreset()\" [ariaLabel]=\"ariaLabel()\" [noWrap]=\"true\" (tabChange)=\"selectPreset($any($event))\" />\n </div>\n @if (popoverVisible()) {\n <div class=\"custom-popover\" role=\"group\" [attr.aria-label]=\"labels.t('dateRangePicker.customDateRange')\" data-testid=\"custom-range-popover\"\n [style.top.px]=\"popTop()\" [style.right.px]=\"popRight()\">\n <ng-container *ngTemplateOutlet=\"customFields\" />\n </div>\n }\n } @else {\n <ng-container *ngTemplateOutlet=\"customFields\" />\n }\n </div>\n <ng-template #customFields>\n <div class=\"custom-range\">\n <ui-date-input [label]=\"labels.t('dateRangePicker.from')\" [max]=\"customEnd()\" [ngModel]=\"customStart()\" (ngModelChange)=\"customStart.set($event)\" />\n <span class=\"date-sep\" aria-hidden=\"true\">–</span>\n <ui-date-input [label]=\"labels.t('dateRangePicker.to')\" [min]=\"customStart()\" [ngModel]=\"customEnd()\" (ngModelChange)=\"customEnd.set($event)\" />\n <ui-button variant=\"primary\" size=\"sm\" [disabled]=\"!customStart() || !customEnd()\" (click)=\"applyCustom()\">{{ labels.t('common.apply') }}</ui-button>\n </div>\n </ng-template>\n `,\n styles: [`\n :host { display: block; }\n .date-range-picker { display: flex; flex-direction: column; gap: 10px; }\n .pills { width: fit-content; max-width: 100%; }\n .custom-range { display: flex; align-items: flex-end; gap: 8px; flex-wrap: wrap; }\n .date-sep { color: #94a3b8; font-weight: 500; padding-bottom: 10px; }\n /* fixed (placed from the pills' rect): a card or panel with overflow: hidden around the picker cannot clip it */\n .custom-popover {\n position: fixed; z-index: 1000; box-sizing: border-box; max-width: calc(100vw - 32px);\n background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px;\n box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12), 0 4px 10px rgba(15, 23, 42, 0.06);\n }\n `],\n})\nexport class DateRangePickerComponent {\n protected readonly labels = inject(UiLabelsService);\n readonly activePreset = input<DatePreset>('ytd');\n readonly showPresets = input(true);\n readonly includeAllTime = input(false);\n /**\n * The preset tabs to show, in order (e.g. `['ytd', 'q1', 'q2', 'q3', 'q4', 'lastYear', 'last12months', 'custom']` for reporting).\n * `null` (default) = the standard tabs (Today ... Year to Date, All Time with `includeAllTime`, Custom Range); `includeAllTime` is ignored when set.\n * Add `'custom'` yourself to offer the custom range.\n */\n readonly presets = input<DatePreset[] | null>(null);\n /** Accessible name of the preset tab list (screen readers announce it when the tabs get focus). */\n readonly ariaLabelInput = input<string | null>(null, { alias: 'ariaLabel' });\n readonly ariaLabel = computed(() => this.ariaLabelInput() ?? this.labels.t('dateRangePicker.ariaLabel'));\n readonly rangeChange = output<DateRange>();\n\n /**\n * Follows `activePreset` from the host, and the user's own picks in between. A pick of Custom Range that is closed without Apply\n * (Escape / outside click) is discarded: the selection goes back to `activePreset`, the range the host actually applied.\n */\n protected readonly selectedPreset = linkedSignal(() => this.activePreset());\n /**\n * The popover was closed (Apply / Escape / outside click); any preset change reopens it. It starts CLOSED: a picker created with\n * `activePreset=\"custom\"` (a host that re-creates it while a custom range is applied: a tab switched back to, a retry after an error)\n * shows that applied range as the highlighted tab, it does not open an empty From / To card. Clicking the tab reopens it.\n */\n private readonly popoverDismissed = linkedSignal<DatePreset, boolean>({ source: this.selectedPreset, computation: (_, previous) => previous === undefined });\n /** `popoverDismissed` is read first on purpose: a linkedSignal is lazy, and its \"created closed\" start value must be computed before the preset ever becomes custom. */\n protected readonly popoverVisible = computed(() => {\n const dismissed = this.popoverDismissed();\n return this.showPresets() && this.selectedPreset() === 'custom' && !dismissed;\n });\n protected readonly popTop = signal(0);\n protected readonly popRight = signal(16);\n private readonly host = inject<ElementRef<HTMLElement>>(ElementRef);\n protected readonly customStart = signal('');\n protected readonly customEnd = signal('');\n\n protected readonly presetTabs = computed((): PillTab[] => {\n const explicit = this.presets();\n if (explicit) return explicit.map(key => ({ key, label: presetLabel(key) }));\n const keys: DatePreset[] = ['today', '7days', '30days', 'month', 'quarter', 'ytd'];\n if (this.includeAllTime()) keys.push('all');\n keys.push('custom');\n return keys.map(key => ({ key, label: presetLabel(key) }));\n });\n\n constructor() {\n // Place the popover under the pills while it is open and keep it there on resize / scroll of any ancestor.\n effect(onCleanup => {\n if (!this.popoverVisible()) return;\n const place = () => this.place();\n untracked(place);\n window.addEventListener('resize', place);\n window.addEventListener('scroll', place, true);\n onCleanup(() => { window.removeEventListener('resize', place); window.removeEventListener('scroll', place, true); });\n });\n }\n\n private place() {\n const pills = this.host.nativeElement.querySelector<HTMLElement>('.pills');\n if (!pills) return;\n const r = pills.getBoundingClientRect();\n this.popTop.set(Math.round(r.bottom + 8));\n this.popRight.set(Math.max(16, Math.round(document.documentElement.clientWidth - r.right)));\n }\n\n protected onDocumentClick(e: Event) {\n if (this.popoverVisible() && !this.host.nativeElement.contains(e.target as Node)) this.dismissWithoutApply();\n }\n\n protected onEscape(e: Event) {\n if (!this.popoverVisible()) return;\n e.stopPropagation();\n this.dismissWithoutApply();\n }\n\n /** Closes the custom popover without applying: nothing was applied, so the highlighted preset returns to the host's applied one. */\n private dismissWithoutApply() {\n // Order matters: changing the selection resets `popoverDismissed`, so it is set afterwards.\n this.selectedPreset.set(this.activePreset());\n this.popoverDismissed.set(true);\n }\n\n /**\n * The tab list only reports a CHANGE of tab, so a click on the Custom Range tab that is already selected (an applied custom range whose\n * popover was closed) reopens the popover here.\n */\n protected onPillsClick(e: Event) {\n const tab = (e.target as Element | null)?.closest?.('[role=\"tab\"]');\n if (tab?.getAttribute('aria-selected') === 'true' && this.selectedPreset() === 'custom' && this.popoverDismissed()) this.popoverDismissed.set(false);\n }\n\n selectPreset(key: DatePreset) {\n this.selectedPreset.set(key);\n this.popoverDismissed.set(false);\n if (key !== 'custom') this.rangeChange.emit(resolvePreset(key, new Date()));\n }\n\n applyCustom() {\n if (!this.customStart() || !this.customEnd()) return;\n this.popoverDismissed.set(true);\n this.rangeChange.emit({\n preset: 'custom', startDate: this.customStart(), endDate: this.customEnd(), label: presetLabel('custom'),\n });\n }\n}\n\n/** Resolves a preset to concrete ISO start/end dates relative to `today`. */\nexport function resolvePreset(key: DatePreset, today: Date): DateRange {\n // Local calendar date — toISOString() is UTC and shifts the day for non-UTC timezones.\n const fmt = (d: Date) =>\n `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}-${String(d.getDate()).padStart(2, '0')}`;\n const end = fmt(today);\n const range = (start: Date | string, preset: DatePreset = key): DateRange => ({\n preset, startDate: typeof start === 'string' ? start : fmt(start), endDate: end, label: presetLabel(preset),\n });\n switch (key) {\n case 'today': return range(end);\n case '7days': { const d = new Date(today); d.setDate(d.getDate() - 6); return range(d); }\n case '30days': { const d = new Date(today); d.setDate(d.getDate() - 29); return range(d); }\n case 'month': return range(new Date(today.getFullYear(), today.getMonth(), 1));\n case 'quarter': return range(new Date(today.getFullYear(), Math.floor(today.getMonth() / 3) * 3, 1));\n case 'ytd': return range(new Date(today.getFullYear(), 0, 1));\n case 'q1': case 'q2': case 'q3': case 'q4': {\n const q = Number(key.slice(1)) - 1;\n return { preset: key, startDate: fmt(new Date(today.getFullYear(), q * 3, 1)), endDate: fmt(new Date(today.getFullYear(), q * 3 + 3, 0)), label: presetLabel(key) };\n }\n case 'lastYear': return { preset: 'lastYear', startDate: `${today.getFullYear() - 1}-01-01`, endDate: `${today.getFullYear() - 1}-12-31`, label: presetLabel('lastYear') };\n case 'last12months': { const d = new Date(today); d.setFullYear(d.getFullYear() - 1); return range(d); }\n case 'all': return { preset: 'all', startDate: '2000-01-01', endDate: '2099-12-31', label: presetLabel('all') };\n default: return range(new Date(today.getFullYear(), 0, 1), 'ytd');\n }\n}\n"],"mappings":";;;;;;;;AA2BA,MAAM,eAAe,QAA4B,OAAO,0BAA0B,KAAmB;AA6DrG,IAAa,2BAAb,MAAa,yBAAwB;CA+CnC,cAAA;EA9CmB,KAAA,SAAS,OAAO,eAAe;EACzC,KAAA,eAAiB,MAAkB,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,eAAA,CAAA,+BAAA,CAAA,CAAA;EACzC,KAAA,cAAiB,MAAM,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,cAAA,CAAA,+BAAA,CAAA,CAAA;EAC5B,KAAA,iBAAiB,MAAM,OAAM,GAAA,YAAA,CAAA,EAAA,WAAA,iBAAA,CAAA,+BAAA,CAAA,CAAA;EAM7B,KAAA,UAAiB,MAA2B,MAAK,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;EAEjD,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,2BAA2B,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,YAAA,CAAA,+BAAA,CAAA,CAAA;EAC/F,KAAA,cAAiB,OAAM;EAMb,KAAA,iBAAiB,mBAAmB,KAAK,aAAY,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,iBAAA,CAAA,+BAAA,CAAA,CAAA;EAM1D,KAAA,mBAAmB,aAAY;GAAA,GAA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