@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,64 @@
1
+ import { UiLabelsService } from "@forgeroute/ui/core";
2
+ import * as i0 from "@angular/core";
3
+ /** A small icon button shown inside a toggle badge, after the label (e.g. Configure, Analytics). */
4
+ export interface ToggleBadgeAction {
5
+ /** Emitted by `(action)` when the button is clicked. */
6
+ id: string;
7
+ /** Accessible name of the button (also used as the tooltip when `tooltip` is empty). */
8
+ label: string;
9
+ /** SVG path data (`d`) of a 24x24 stroked icon. Several shapes can be joined in one string (`M..M..`). */
10
+ icon: string;
11
+ /** Text of the hover / focus tooltip. */
12
+ tooltip?: string;
13
+ disabled?: boolean;
14
+ }
15
+ /**
16
+ * Pill that toggles on / off. Optional `actions` put small icon buttons INSIDE the pill, after the label and a divider, each with its own
17
+ * tooltip; the label button and the icon buttons are separate buttons (never nested). Clicking an icon button emits `(action)` with its id and
18
+ * never `(toggle)`. Content projected into the component (an icon) goes before the label, as before.
19
+ *
20
+ * Accessibility: the label button is a toggle button, so it carries `aria-pressed` (true while `active`); on touch devices
21
+ * (`pointer: coarse`) its hit area, and each icon button's, is 44px (an invisible overlay; it can reach into a neighbouring badge when the
22
+ * host's gap between badges is smaller than the overlay, see docs/ui-timeline-and-small-additions.md).
23
+ */
24
+ export declare class ToggleBadgeComponent {
25
+ protected readonly labels: UiLabelsService;
26
+ readonly label: import("@angular/core").InputSignal<string>;
27
+ readonly active: import("@angular/core").InputSignal<boolean>;
28
+ /** Icon buttons shown inside the pill after the label. Empty (default) = a plain pill, exactly as before. */
29
+ readonly actions: import("@angular/core").InputSignal<ToggleBadgeAction[]>;
30
+ /**
31
+ * Hover / focus tooltip of the LABEL button only. Use this instead of `uiTooltip` on `<ui-toggle-badge>` when the badge has `actions`:
32
+ * a tooltip on the host would also open while the pointer is over an icon button and stack on top of that icon's own tooltip.
33
+ */
34
+ readonly tooltip: import("@angular/core").InputSignal<string>;
35
+ readonly toggle: import("@angular/core").OutputEmitterRef<void>;
36
+ /** An icon button was clicked: its `id`. Never emits `toggle`. */
37
+ readonly action: import("@angular/core").OutputEmitterRef<string>;
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleBadgeComponent, never>;
39
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleBadgeComponent, "ui-toggle-badge", never, {
40
+ "label": {
41
+ "alias": "label";
42
+ "required": false;
43
+ "isSignal": true;
44
+ };
45
+ "active": {
46
+ "alias": "active";
47
+ "required": false;
48
+ "isSignal": true;
49
+ };
50
+ "actions": {
51
+ "alias": "actions";
52
+ "required": false;
53
+ "isSignal": true;
54
+ };
55
+ "tooltip": {
56
+ "alias": "tooltip";
57
+ "required": false;
58
+ "isSignal": true;
59
+ };
60
+ }, {
61
+ "toggle": "toggle";
62
+ "action": "action";
63
+ }, never, ["*"], true, never>;
64
+ }
@@ -0,0 +1,92 @@
1
+ import { ControlValueAccessor } from "@angular/forms";
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * On/off switch for settings: a label and optional hint on the left, the switch on the right
5
+ * (ControlValueAccessor with a boolean value; `[(checked)]` also works).
6
+ *
7
+ * <ui-toggle label="SMS Enabled" hint="Allow sending texts" [(ngModel)]="form.sms" />
8
+ * <ui-toggle label="Autoplay" [checked]="on()" (checkedChange)="on.set($event)" />
9
+ * <ui-toggle ariaLabel="Enable feature" [(checked)]="on" /> <!-- no visible label -->
10
+ *
11
+ * Built on a native `<input type="checkbox" role="switch">`, so Space toggles it, it is focusable, and a screen reader
12
+ * announces it as a switch (on / off). The label and hint name and describe it. `disabled` (input or form control) dims it
13
+ * and blocks changes. `ariaDescribedBy` adds the id of a description rendered elsewhere. On touch devices and phones the switch has a >= 44px hit area.
14
+ *
15
+ * Optional: content with the `toggle-before-switch` attribute is shown between the text and the switch (e.g. a preview icon button):
16
+ *
17
+ * <ui-toggle label="E-Signature Reminders" [(checked)]="on"><ui-icon toggle-before-switch name="view" ariaLabel="Preview" /></ui-toggle>
18
+ *
19
+ * Without it nothing changes. Clicking the slotted content does not toggle the switch.
20
+ */
21
+ export declare class ToggleComponent implements ControlValueAccessor {
22
+ /** Bold line on the left. */
23
+ readonly label: import("@angular/core").InputSignal<string>;
24
+ /** Grey helper text under the label. */
25
+ readonly hint: import("@angular/core").InputSignal<string>;
26
+ /** Accessible name when there is no visible `label`. */
27
+ readonly ariaLabel: import("@angular/core").InputSignal<string>;
28
+ /** Id of another element that describes the switch (e.g. a description rendered elsewhere); announced after the hint. Absent when empty. */
29
+ readonly ariaDescribedBy: import("@angular/core").InputSignal<string>;
30
+ /** `data-testid` put on the inner `<input role="switch">` (the host keeps its own attributes), so e2e can target the switch directly. Absent when empty. */
31
+ readonly inputTestId: import("@angular/core").InputSignal<string>;
32
+ /** Whether the switch is on. Two-way: `[(checked)]`. */
33
+ readonly checked: import("@angular/core").ModelSignal<boolean>;
34
+ /** Public so a host template can bind `[disabled]` (a protected input fails strict template type-checking, TS2445). */
35
+ readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
36
+ private readonly _cvaDisabled;
37
+ protected readonly disabled: import("@angular/core").Signal<boolean>;
38
+ private readonly _id;
39
+ protected readonly _inputId: string;
40
+ protected readonly _labelId: string;
41
+ protected readonly _hintId: string;
42
+ /** The hint's id (when there is a hint) followed by the host's `ariaDescribedBy`; null when neither exists. */
43
+ protected readonly _describedBy: import("@angular/core").Signal<string | null>;
44
+ private _onChange;
45
+ private _onTouched;
46
+ writeValue(val: boolean): void;
47
+ registerOnChange(fn: (v: boolean) => void): void;
48
+ registerOnTouched(fn: () => void): void;
49
+ setDisabledState(d: boolean): void;
50
+ protected onTouched(): void;
51
+ protected onToggle(event: Event): void;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleComponent, never>;
53
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleComponent, "ui-toggle", never, {
54
+ "label": {
55
+ "alias": "label";
56
+ "required": false;
57
+ "isSignal": true;
58
+ };
59
+ "hint": {
60
+ "alias": "hint";
61
+ "required": false;
62
+ "isSignal": true;
63
+ };
64
+ "ariaLabel": {
65
+ "alias": "ariaLabel";
66
+ "required": false;
67
+ "isSignal": true;
68
+ };
69
+ "ariaDescribedBy": {
70
+ "alias": "ariaDescribedBy";
71
+ "required": false;
72
+ "isSignal": true;
73
+ };
74
+ "inputTestId": {
75
+ "alias": "inputTestId";
76
+ "required": false;
77
+ "isSignal": true;
78
+ };
79
+ "checked": {
80
+ "alias": "checked";
81
+ "required": false;
82
+ "isSignal": true;
83
+ };
84
+ "_disabledInput": {
85
+ "alias": "disabled";
86
+ "required": false;
87
+ "isSignal": true;
88
+ };
89
+ }, {
90
+ "checked": "checkedChange";
91
+ }, never, ["[toggle-before-switch]"], true, never>;
92
+ }
@@ -0,0 +1,36 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Hover / focus tooltip for any element: `<span uiTooltip="Saved">`.
4
+ * Empty text shows nothing. Line breaks (`\n`) are kept. Escape or leaving the element closes it.
5
+ * Only one tooltip is open at a time anywhere on the page: opening one closes the previous (e.g. a tooltip on a container and on a control inside
6
+ * it never both show; the innermost one the pointer entered last wins).
7
+ * The bubble is rendered on `document.body` (position: fixed) so table/panel overflow never clips it.
8
+ */
9
+ export declare class TooltipDirective {
10
+ /** Tooltip text; empty or null disables the tooltip. */
11
+ readonly uiTooltip: import("@angular/core").InputSignal<string | null | undefined>;
12
+ /** Preferred side; flips to the other side when there is no room. */
13
+ readonly tooltipPosition: import("@angular/core").InputSignal<"top" | "bottom">;
14
+ private readonly host;
15
+ private readonly doc;
16
+ private bubble;
17
+ /** The host's own `aria-describedby` (e.g. an error id) before the tooltip was added, put back when it closes. */
18
+ private previousDescribedBy;
19
+ private readonly id;
20
+ constructor();
21
+ protected show(): void;
22
+ protected hide(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipDirective, never>;
24
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TooltipDirective, "[uiTooltip]", never, {
25
+ "uiTooltip": {
26
+ "alias": "uiTooltip";
27
+ "required": false;
28
+ "isSignal": true;
29
+ };
30
+ "tooltipPosition": {
31
+ "alias": "tooltipPosition";
32
+ "required": false;
33
+ "isSignal": true;
34
+ };
35
+ }, {}, never, never, true, never>;
36
+ }
@@ -0,0 +1,210 @@
1
+ export interface UsStateOption {
2
+ value: string;
3
+ label: string;
4
+ }
5
+ export declare const US_STATES: UsStateOption[];
6
+ /** The name of a state in the app's active language (`usState.<code>` labels); the given English name when the code is unknown. */
7
+ export declare function usStateName(code: string, fallback?: string): string;
8
+ /**
9
+ * THE State select options for every app, so every State dropdown shows the same names in the same order: the 50 states (+ DC only with `includeDc: true`),
10
+ * each labelled with the state NAME (in the app's active language when the `usState.<code>` labels have one, else English), sorted A to Z by that label.
11
+ * `store` is what the form saves: `'code'` (default) = the two-letter code, `'name'` = the English state name. `label` overrides how a state is worded
12
+ * (an app that keeps its own translations of the names). Pass the result to `<ui-select [options]>` or `<ui-address-input [states]>`.
13
+ */
14
+ export declare function usStateSelectOptions(opts?: {
15
+ store?: 'code' | 'name';
16
+ includeDc?: boolean;
17
+ label?: (state: UsStateOption) => string;
18
+ locale?: string;
19
+ }): {
20
+ value: string;
21
+ label: string;
22
+ }[];
23
+ /**
24
+ * The 50 US states (no DC) with their major cities, keyed by two-letter state code: `US_LOCATIONS['TX']` -> `['Abilene', ...]`. Cities are unique and
25
+ * trimmed per state. Use it for a city picker that follows a state select (the state names are in `US_STATES`).
26
+ */
27
+ export declare const US_LOCATIONS: Record<string, string[]>;
28
+ /**
29
+ * Look of the record-card groups on detail pages (the section header's title, icon and tint), so groups that exist in several apps look identical.
30
+ * Icon names are from the library's icon list; `background` is the section header's own light tint.
31
+ *
32
+ * const GROUPS = { ...COMMON_DETAIL_GROUP_STYLES, deals: { title: 'Deals & Money', icon: 'opportunity', background: '#ecfdf5' } };
33
+ */
34
+ export interface DetailGroupStyle {
35
+ title: string;
36
+ icon: string;
37
+ background: string;
38
+ }
39
+ /** The groups every app's detail pages share (the same title, icon and tint everywhere). An app adds its own groups next to these. */
40
+ export declare const COMMON_DETAIL_GROUP_STYLES: {
41
+ readonly activity: {
42
+ readonly title: "Activity";
43
+ readonly icon: "message";
44
+ readonly background: "#eff6ff";
45
+ };
46
+ readonly notes: {
47
+ readonly title: "Notes";
48
+ readonly icon: "add-note";
49
+ readonly background: "#f1f5f9";
50
+ };
51
+ };
52
+ /** Header background of every record card on the detail pages (bound as the library card's `headerBackground`). */
53
+ export declare const DETAIL_CARD_HEADER_BG = "#f8fafc";
54
+ /** Light blue behind every group section header on the detail pages (large header with an icon tile and a description). */
55
+ export declare const DETAIL_GROUP_HEADER_BG = "#eaf3ff";
56
+ /** The shared group style with its title in the app's active language (`COMMON_DETAIL_GROUP_STYLES` keeps the English titles). */
57
+ export declare function localizedDetailGroupStyle(key: keyof typeof COMMON_DETAIL_GROUP_STYLES): DetailGroupStyle;
58
+ /**
59
+ * Returns the trimmed text when `value` is a plain, user-facing sentence from the server, otherwise `null`
60
+ * (not a string, empty, longer than 300 chars, or technical: stack trace, exception/class name, JSON, HTML,
61
+ * raw status text, "null"). Callers fall back to their own generated wording on `null`.
62
+ */
63
+ export declare function humanReadableMessage(value: unknown): string | null;
64
+ /**
65
+ * Small formatting helpers shared by apps (money, postal addresses, names, phone numbers, durations and dates).
66
+ */
67
+ export interface FormatCurrencyOptions {
68
+ /** ISO 4217 code. Default `'USD'`. */
69
+ currency?: string;
70
+ /** BCP 47 locale. Default `'en-US'`. */
71
+ locale?: string;
72
+ /** Thousands separators. Default `true`; `false` gives `$1605.00` (like a plain `'$' + n.toFixed(2)`). */
73
+ grouping?: boolean;
74
+ /** Digits after the decimal point. Default 2. */
75
+ decimals?: number;
76
+ }
77
+ /**
78
+ * Formats an amount as money: `formatCurrency(1605)` -> `$1,605.00`, `formatCurrency(-5)` -> `-$5.00`.
79
+ * `null`, `undefined`, `NaN`, infinities and text that is not a number count as 0 (a numeric string such as `'12.5'` is parsed with
80
+ * `parseFloat`, like cremo's `formatPrice`). `{ grouping: false }` reproduces `'$' + price.toFixed(2)` exactly (`$1605.00`).
81
+ * An amount that rounds to zero is shown without a minus sign (`-0.001` -> `$0.00`).
82
+ */
83
+ export declare function formatCurrency(value: number | string | null | undefined, options?: FormatCurrencyOptions): string;
84
+ export interface AddressParts {
85
+ street?: string | null;
86
+ apt?: string | null;
87
+ city?: string | null;
88
+ state?: string | null;
89
+ zip?: string | null;
90
+ }
91
+ export interface FormatAddressOptions {
92
+ /** Joiner between the parts. Default `', '`. */
93
+ separator?: string;
94
+ /**
95
+ * `'comma'` (default): every non-empty part joined with the separator - `Street, Apt 4, City, ST, 12345` (cremo's next-of-kin and
96
+ * informant address). `'usa'`: the postal layout - `Street, Apt 4, City, ST 12345`: the apartment is prefixed with `Apt ` and the
97
+ * zip follows the state with a space (cremo's summary `joinAddress`); a state or city alone is still shown.
98
+ */
99
+ style?: 'comma' | 'usa';
100
+ }
101
+ /**
102
+ * Joins the non-empty, trimmed address parts in the order street, apt, city, state, zip. See `FormatAddressOptions.style`.
103
+ * `formatAddress({ street: '1 Main', city: 'Austin', state: 'TX', zip: '78701' })` -> `1 Main, Austin, TX, 78701`;
104
+ * with `{ style: 'usa' }` -> `1 Main, Austin, TX 78701`.
105
+ */
106
+ export declare function formatAddress(parts: AddressParts, options?: FormatAddressOptions): string;
107
+ /**
108
+ * The first letter of the first and last name: `getInitials('Sarah', 'Chen')` -> `SC`. A missing name contributes nothing (`getInitials('Sarah', '')` -> `S`).
109
+ * Letters are returned as written (not upper-cased).
110
+ */
111
+ export declare function getInitials(firstName: string | null | undefined, lastName: string | null | undefined): string;
112
+ /**
113
+ * A length of time in seconds as text: `formatDuration(90)` -> `1m 30s` (Spanish `1 min 30 s`), `formatDuration(45)` -> `45s`. `null`, `undefined` and 0 give `''`.
114
+ * Hours are not split out (`3700` -> `61m 40s`).
115
+ */
116
+ export declare function formatDuration(seconds: number | null | undefined): string;
117
+ /**
118
+ * A phone number as `(555) 555-5555` while it is typed or stored: `formatPhone('5125550001')` -> `(512) 555-0001`. A US `+1` / leading `1` is dropped,
119
+ * other international numbers (a `+` that is not `+1` plus 10 digits) are returned as given, fewer digits give the partial form
120
+ * (`'512555'` -> `(512) 555`, `'512'` -> `512`) and more than 10 digits are cut to 10. `null`, `undefined` and `''` give `''`.
121
+ */
122
+ export declare function formatPhone(raw: string | null | undefined): string;
123
+ /**
124
+ * A US / Canada E.164 number as `+1 512 555-0100` (for showing a stored number). Any other value is returned as given (trimmed values are
125
+ * still formatted: `' +15125550100 '` -> `+1 512 555-0100`); `null` and `undefined` give `''`. Use `formatPhone` for the domestic `(512) 555-0100` form.
126
+ */
127
+ export declare function formatPhoneDisplay(e164: string | null | undefined): string;
128
+ /**
129
+ * A date as short text: `formatShortDate('2026-01-05')` -> `Jan 5, 2026`; `''` / `null` / `undefined` give `—`. A plain `YYYY-MM-DD` is read as a LOCAL
130
+ * date (so it never shifts a day with the time zone); any other string goes through `new Date(...)` and uses the same format. The default locale is the app's active one (`en-US` until the label service says otherwise).
131
+ */
132
+ export declare function formatShortDate(value: string | null | undefined, locale?: string): string;
133
+ /**
134
+ * Today's date as `YYYY-MM-DD` in the given IANA time zone (e.g. the user's profile time zone): `todayInTimezone('America/Phoenix')` -> `2026-10-13`.
135
+ * No or an invalid time zone falls back to the browser's local date.
136
+ */
137
+ export declare function todayInTimezone(timezone?: string | null): string;
138
+ /**
139
+ * (library source 2026-11-06, not yet published) How long ago an ISO timestamp was, in short form: `just now` (under a minute), `5m ago`, `3h ago`, `2d ago`.
140
+ * An empty value gives `''`. Future timestamps count as `just now`.
141
+ */
142
+ export declare function formatTimeAgo(timestamp: string | null | undefined): string;
143
+ /** (library source 2026-11-06, not yet published) A SNAKE_CASE enum value as a label: `formatEnum('PAST_DUE')` -> `Past Due`. */
144
+ export declare function formatEnum(value: string | null | undefined): string;
145
+ /**
146
+ * Starts the browser download of a blob under `fileName`. The anchor is attached to the page while it is clicked (Firefox ignores a click on
147
+ * a detached anchor) and the object URL is revoked 1000 ms later (Safari reads it asynchronously, so an immediate revoke can cancel the
148
+ * download). A no-op without a DOM (server-side rendering).
149
+ */
150
+ export declare function downloadBlob(blob: Blob, fileName: string): void;
151
+ /**
152
+ * The file name of a `Content-Disposition` header (`attachment; filename="a.zip"`, `filename=a.zip` or the encoded `filename*=UTF-8''a%20b.zip`),
153
+ * or '' when the header is missing or names no file. Path separators and leading dots are removed so a server name can never point outside the
154
+ * downloads folder.
155
+ */
156
+ export declare function fileNameFromContentDisposition(header: string | null | undefined): string;
157
+ /** One cell of a CSV row: text, a number, or nothing (`null` / `undefined` become an empty cell). */
158
+ export type CsvCell = string | number | null | undefined;
159
+ /**
160
+ * CSV / formula-injection guard. Excel, Sheets and Numbers run a cell that starts with = + - @ (or a tab / carriage return) as a
161
+ * formula - also after leading spaces, which some spreadsheets skip - and exports carry free text (names, notes, subjects). Such a TEXT cell gets a leading apostrophe so it opens as plain text.
162
+ * Numbers, and strings that are only a signed number with an optional currency symbol or percent sign (-12.50, -$12.50, +15125550177, -3%),
163
+ * cannot form a formula and are left exactly as they are, so negative amounts and phone numbers keep their value.
164
+ */
165
+ export declare function csvSafeText(cell: CsvCell): string;
166
+ /** One CSV cell as it is written to the file: formula-guarded, and wrapped in double quotes (inner quotes doubled) when it holds a comma, quote or line break. */
167
+ export declare function csvCell(cell: CsvCell): string;
168
+ /** The text of a CSV file (RFC 4180): the header row, then one line per row, comma separated, `\n` line ends, no trailing line break. */
169
+ export declare function toCsv(headers: readonly CsvCell[], rows: readonly (readonly CsvCell[])[]): string;
170
+ export interface DownloadCsvOptions {
171
+ /** Start the file with a UTF-8 byte order mark so Excel reads accents correctly (default `false`). */
172
+ bom?: boolean;
173
+ }
174
+ /**
175
+ * Builds a CSV file from `headers` and `rows` (see {@link toCsv}) and starts its download as `fileName`
176
+ * (`.csv` is added when the name has no extension of that kind). Uses {@link downloadBlob}, so it works in Firefox and Safari.
177
+ */
178
+ export declare function downloadCsv(fileName: string, headers: readonly CsvCell[], rows: readonly (readonly CsvCell[])[], options?: DownloadCsvOptions): void;
179
+ /**
180
+ * Builds a universal maps URL that opens turn-by-turn navigation.
181
+ *
182
+ * Uses Google Maps web URL which:
183
+ * - Opens Google Maps on Android
184
+ * - Opens Apple Maps or Google Maps on iOS (respects user's default)
185
+ * - Opens Google Maps in a browser on desktop
186
+ *
187
+ * @param lotAddress The lot's own street address (e.g. "123 Oak Lane")
188
+ * @param fallback Optional fallback string used if lotAddress is blank (e.g. community address + lot number)
189
+ */
190
+ export declare function buildMapsUrl(lotAddress: string | null | undefined, fallback?: string): string | null;
191
+ /**
192
+ * Builds a Google Maps embed URL suitable for use in an <iframe>.
193
+ * No API key required — uses the legacy embed endpoint.
194
+ */
195
+ export declare function buildMapsEmbedUrl(lotAddress: string | null | undefined, fallback?: string): string | null;
196
+ /**
197
+ * True when the page is in dark mode: `data-theme="dark"` on the root, or the system prefers dark and the root is not forced to `light`.
198
+ * Shared by the payment entry points (`@forgeroute/ui/stripe` and `@forgeroute/ui/square` build their theme from it); a missing `matchMedia` counts as light.
199
+ */
200
+ export declare function isDarkPage(doc: Document): boolean;
201
+ /**
202
+ * The address of a link the library draws from host-supplied data (a radio option's link, a link inside a checkbox label), or null when it must not be linked.
203
+ *
204
+ * Linked: `http:`, `https:`, `mailto:` and `tel:` addresses (any letter case) and in-app paths (`/...`, `#...`). Everything else draws no link: empty text,
205
+ * `javascript:`, `data:`, `vbscript:`, a protocol-relative `//host`, and any address with a backslash or a control character (tab, line break, ...) anywhere in it -
206
+ * URL parsers drop or rewrite those (`/\evil.com` and `/<TAB>/evil.com` become `//evil.com`), so such an address is never linked. Surrounding spaces are trimmed.
207
+ */
208
+ export declare function safeLinkHref(url: string | null | undefined): string | null;
209
+ /** True for an absolute http(s) address: it opens in a new tab (`noopener noreferrer`, with "(opens in a new tab)" for screen readers); the others follow in the same tab. */
210
+ export declare function opensInNewTab(href: string | null | undefined): boolean;