@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
@@ -1,8 +1,13 @@
1
- import { ComboboxOption, ComboboxSelection, ContactLookup, PillTab, RadioOption, SelectOption, UiFieldValidity, UiLabelsService } from "@forgeroute/ui";
1
+ import { UiFieldValidity, UiLabelsService } from "@forgeroute/ui/core";
2
2
  import * as i0 from "@angular/core";
3
3
  import { ChangeDetectorRef, OnInit } from "@angular/core";
4
4
  import { Observable, Subject } from "rxjs";
5
+ import { ComboboxOption, ComboboxSelection } from "@forgeroute/ui/combobox";
6
+ import { ContactLookup } from "@forgeroute/ui/contact-picker";
7
+ import { SelectOption } from "@forgeroute/ui/select";
8
+ import { RadioOption } from "@forgeroute/ui/radio";
5
9
  import { HttpClient } from "@angular/common/http";
10
+ import { PillTab } from "@forgeroute/ui/pill-tabs";
6
11
  export interface VideoMessage {
7
12
  id: string;
8
13
  title: string;
@@ -117,7 +122,7 @@ export declare class TemplatePickerComponent {
117
122
  private readonly host;
118
123
  private readonly search$;
119
124
  /** Filter results to a specific channel: 'email', 'text', or omit for all. */
120
- readonly channel: import("@angular/core").InputSignal<"" | "text" | "email">;
125
+ readonly channel: import("@angular/core").InputSignal<"" | "email" | "text">;
121
126
  readonly selectedId: import("@angular/core").InputSignal<string | null>;
122
127
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
123
128
  readonly label: import("@angular/core").Signal<string>;
@@ -548,7 +553,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
548
553
  /** API root from FORGEROUTE_CONFIG (e.g. a cross-origin prod API); falls back to same-origin `/api`. */
549
554
  private readonly apiBase;
550
555
  /** `email` → purpose select + attachment allowed; `text` → link only (purpose fixed to e-signature). */
551
- readonly channel: import("@angular/core").InputSignal<"text" | "email">;
556
+ readonly channel: import("@angular/core").InputSignal<"email" | "text">;
552
557
  readonly labelInput: import("@angular/core").InputSignal<string | null>;
553
558
  readonly label: import("@angular/core").Signal<string>;
554
559
  /** When true, at least one document must be chosen. The message forms leave it false: documents are optional there. */
@@ -624,7 +629,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
624
629
  /** Roles of documents whose row had no `signerRoles` and that the host resolves (`signers().resolveRoles`). */
625
630
  readonly roleStates: import("@angular/core").WritableSignal<Record<string, RoleState>>;
626
631
  /** The envelope's documents: `loading` / `error` while the panel reads them (`loadDocuments`), `ready` once known. */
627
- readonly envelopeStatus: import("@angular/core").WritableSignal<"error" | "loading" | "ready" | "idle">;
632
+ readonly envelopeStatus: import("@angular/core").WritableSignal<"idle" | "loading" | "ready" | "error">;
628
633
  private envelopeSub;
629
634
  private readonly roleSubs;
630
635
  /** The sender opened the collapsed "Signing options" line. */
@@ -2015,7 +2020,7 @@ export declare class SendMessagePanelComponent {
2015
2020
  * somebody can receive that channel; otherwise the usual default applies (email if anybody has an email, else text). null (default) = the usual default.
2016
2021
  * `textEnabled` must already be known when the panel opens for `'text'` to take effect (bind `[recipients]` after async settings loaded, or re-open).
2017
2022
  */
2018
- readonly initialChannel: import("@angular/core").InputSignal<"text" | "email" | null>;
2023
+ readonly initialChannel: import("@angular/core").InputSignal<"email" | "text" | null>;
2019
2024
  /** Bulk mode: the plural noun in "To: 12 residents" (default `recipients`, localized). */
2020
2025
  readonly recipientNoun: import("@angular/core").InputSignal<string>;
2021
2026
  /** Bulk mode: the singular noun used when exactly one is selected; empty = the plural without a trailing "s". */
@@ -2246,7 +2251,7 @@ export declare class SendMessagePanelComponent {
2246
2251
  readonly activeContact: import("@angular/core").WritableSignal<MessageContact | null>;
2247
2252
  /** What the sender should know about the picked contact before sending (why a channel is missing, what to add). */
2248
2253
  readonly contactNotices: import("@angular/core").Signal<string[]>;
2249
- readonly channel: import("@angular/core").WritableSignal<"text" | "email">;
2254
+ readonly channel: import("@angular/core").WritableSignal<"email" | "text">;
2250
2255
  readonly valid: import("@angular/core").WritableSignal<boolean>;
2251
2256
  /** A send is in flight in the active form: the Send button spins and stays disabled. */
2252
2257
  readonly busy: import("@angular/core").WritableSignal<boolean>;
@@ -0,0 +1,91 @@
1
+ import { RowAction } from "@forgeroute/ui/table-types";
2
+ import { UiLabelsService } from "@forgeroute/ui/core";
3
+ import * as i0 from "@angular/core";
4
+ export interface MenuItem {
5
+ type: string;
6
+ label: string;
7
+ icon?: string;
8
+ primary?: boolean;
9
+ danger?: boolean;
10
+ disabled?: boolean;
11
+ }
12
+ /** Built-in SVG path for a row-action type (exported so apps can reuse it for their own action types). */
13
+ export declare function builtInActionIcon(type: string): string | undefined;
14
+ export declare class MoreMenuComponent {
15
+ protected readonly labels: UiLabelsService;
16
+ /** Accessible name of the ⋮ trigger. Lists pass a row-specific one ("Row actions for Acme Electric"). */
17
+ readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
18
+ readonly actions: import("@angular/core").InputSignal<RowAction[]>;
19
+ readonly actionClick: import("@angular/core").OutputEmitterRef<string>;
20
+ protected readonly open: import("@angular/core").WritableSignal<boolean>;
21
+ protected readonly openUp: import("@angular/core").WritableSignal<boolean>;
22
+ /** Caps the dropdown to the space on the side it opens, so it never runs off-screen; it scrolls instead. */
23
+ protected readonly maxHeight: import("@angular/core").WritableSignal<number | null>;
24
+ /** Caps a fixed dropdown to the visible width minus 8px each side (the CSS cap uses 100vw, which includes classic scrollbars). */
25
+ protected readonly maxWidth: import("@angular/core").WritableSignal<number | null>;
26
+ /**
27
+ * Viewport placement (px) of a `position: fixed` dropdown; null = the dropdown is positioned absolutely under the trigger
28
+ * (an ancestor with a transform / filter / contain makes `fixed` unusable there).
29
+ */
30
+ protected readonly placement: import("@angular/core").WritableSignal<{
31
+ top: number | null;
32
+ bottom: number | null;
33
+ right: number;
34
+ } | null>;
35
+ private readonly _el;
36
+ private readonly _cdr;
37
+ /** Width of the window when the menu opened: a resize that keeps it (the on-screen keyboard, a collapsing address bar) does not close the menu. */
38
+ private _openWidth;
39
+ constructor();
40
+ protected readonly visibleActions: () => RowAction[];
41
+ protected resolveIcon(action: RowAction): string;
42
+ protected isDisabled(action: RowAction): boolean;
43
+ toggle(event: Event): void;
44
+ /**
45
+ * Decides where the open dropdown goes: below the trigger when its real height fits, otherwise above when there is more
46
+ * room there, capped to the room on that side (it scrolls inside). Measured against the visible window (the on-screen
47
+ * keyboard and pinch-zoom shrink it, and the home-indicator safe area is kept clear), or, when `position: fixed` is not
48
+ * usable, against the nearest scrolling ancestor. A fixed dropdown also stays inside the screen horizontally.
49
+ */
50
+ private _place;
51
+ /**
52
+ * The layout viewport: the box `position: fixed` offsets are measured from. It excludes scrollbars and ignores pinch-zoom,
53
+ * unlike `window.innerWidth / innerHeight`.
54
+ */
55
+ private _layoutViewport;
56
+ /** The part of the page that is actually visible (shrinks with the on-screen keyboard and pinch-zoom on phones). */
57
+ private _viewport;
58
+ /** Height of the bottom safe area (home indicator) in px; 0 where there is none. */
59
+ protected _safeAreaBottom(): number;
60
+ onActionClick(action: RowAction, event: Event): void;
61
+ onDocumentClick(): void;
62
+ /** A touch or mouse press anywhere outside the menu closes it (more reliable than a click on phones: iOS does not send clicks for plain page areas). */
63
+ onDocumentPointerDown(event: Event): void;
64
+ onEscape(event?: Event): void;
65
+ onArrow(event: Event, dir: 1 | -1): void;
66
+ /** Visible top/bottom of the nearest scrolling ancestor, clipped to the viewport. */
67
+ private _visibleBounds;
68
+ /**
69
+ * False when an ancestor creates a containing block for `position: fixed` (transform and the individual translate / rotate / scale,
70
+ * filter, perspective, backdrop-filter, contain, container-type, content-visibility, will-change naming any of those).
71
+ */
72
+ private _fixedPositionable;
73
+ private _dropdownEl;
74
+ private _menuItems;
75
+ private _trigger;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<MoreMenuComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<MoreMenuComponent, "ui-more-menu", never, {
78
+ "ariaLabel": {
79
+ "alias": "ariaLabel";
80
+ "required": false;
81
+ "isSignal": true;
82
+ };
83
+ "actions": {
84
+ "alias": "actions";
85
+ "required": false;
86
+ "isSignal": true;
87
+ };
88
+ }, {
89
+ "actionClick": "actionClick";
90
+ }, never, never, true, never>;
91
+ }
@@ -0,0 +1,119 @@
1
+ import { ControlValueAccessor } from "@angular/forms";
2
+ import { SelectOption } from "@forgeroute/ui/select";
3
+ import { UiLabelsService } from "@forgeroute/ui/core";
4
+ import * as i0 from "@angular/core";
5
+ /**
6
+ * Searchable multi-value dropdown. Selected values render as dismissible chips above the trigger.
7
+ *
8
+ * Bind with `[(selected)]` or `[(ngModel)]` — the value is an array of option `value`s.
9
+ *
10
+ * <ui-multi-select label="Job Types" [options]="jobTypeOptions" [(selected)]="jobTypeIds" />
11
+ */
12
+ export declare class MultiSelectComponent implements ControlValueAccessor {
13
+ protected readonly labels: UiLabelsService;
14
+ readonly label: import("@angular/core").InputSignal<string>;
15
+ readonly placeholderInput: import("@angular/core").InputSignal<string | null>;
16
+ readonly placeholder: import("@angular/core").Signal<string>;
17
+ readonly options: import("@angular/core").InputSignal<SelectOption<string>[]>;
18
+ readonly searchable: import("@angular/core").InputSignal<boolean>;
19
+ readonly searchPlaceholderInput: import("@angular/core").InputSignal<string | null>;
20
+ readonly searchPlaceholder: import("@angular/core").Signal<string>;
21
+ readonly required: import("@angular/core").InputSignal<boolean>;
22
+ readonly hint: import("@angular/core").InputSignal<string>;
23
+ readonly error: import("@angular/core").InputSignal<string>;
24
+ /** Selected option values — two-way bindable as `[(selected)]`. */
25
+ readonly selected: import("@angular/core").ModelSignal<string[]>;
26
+ readonly _disabledInput: import("@angular/core").InputSignal<boolean>;
27
+ private readonly _cvaDisabled;
28
+ protected readonly disabled: import("@angular/core").Signal<boolean>;
29
+ private readonly el;
30
+ protected readonly _id: string;
31
+ protected readonly _open: import("@angular/core").WritableSignal<boolean>;
32
+ protected readonly _query: import("@angular/core").WritableSignal<string>;
33
+ protected readonly _selectedSet: import("@angular/core").Signal<Set<string>>;
34
+ protected readonly _selectedOptions: import("@angular/core").Signal<SelectOption<string>[]>;
35
+ protected readonly _filteredOptions: import("@angular/core").Signal<SelectOption<string>[]>;
36
+ private _onChange;
37
+ /** The host's "tried to submit" flag (e.g. after a failed Save click): `true` shows the host `error` at once, even before the user touched the field; otherwise it shows once the user closed the list or moved focus out of the control (Tab away) even if the list stayed open; true -> false forgets the interaction (closing the form leaves no red field). */
38
+ readonly showErrors: import("@angular/core").InputSignal<boolean>;
39
+ private readonly _reveal;
40
+ private readonly _touched;
41
+ protected readonly _shownError: import("@angular/core").Signal<string>;
42
+ /** Forgets that the user interacted (call it when the host resets its form): a host `error` is hidden again until the list is closed or focus leaves. Same method on ui-signature-pad and ui-rich-text-editor. */
43
+ resetTouched(): void;
44
+ private _onTouched;
45
+ writeValue(val: string[] | null): void;
46
+ registerOnChange(fn: (v: string[]) => void): void;
47
+ registerOnTouched(fn: () => void): void;
48
+ setDisabledState(d: boolean): void;
49
+ protected onDocumentClick(event: Event): void;
50
+ /** Focus moved to another element outside the control (Tab away): the field counts as touched even when the list stayed open. */
51
+ protected onFocusOut(event: FocusEvent): void;
52
+ /** Escape with the list open closes ONLY the list (focus back on the trigger) and is not passed on, so a surrounding side panel / modal stays open. */
53
+ protected onEscape(event: Event): void;
54
+ protected toggleOpen(): void;
55
+ protected toggleValue(value: string): void;
56
+ protected remove(value: string): void;
57
+ private close;
58
+ private _set;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<MultiSelectComponent, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<MultiSelectComponent, "ui-multi-select", never, {
61
+ "label": {
62
+ "alias": "label";
63
+ "required": false;
64
+ "isSignal": true;
65
+ };
66
+ "placeholderInput": {
67
+ "alias": "placeholder";
68
+ "required": false;
69
+ "isSignal": true;
70
+ };
71
+ "options": {
72
+ "alias": "options";
73
+ "required": false;
74
+ "isSignal": true;
75
+ };
76
+ "searchable": {
77
+ "alias": "searchable";
78
+ "required": false;
79
+ "isSignal": true;
80
+ };
81
+ "searchPlaceholderInput": {
82
+ "alias": "searchPlaceholder";
83
+ "required": false;
84
+ "isSignal": true;
85
+ };
86
+ "required": {
87
+ "alias": "required";
88
+ "required": false;
89
+ "isSignal": true;
90
+ };
91
+ "hint": {
92
+ "alias": "hint";
93
+ "required": false;
94
+ "isSignal": true;
95
+ };
96
+ "error": {
97
+ "alias": "error";
98
+ "required": false;
99
+ "isSignal": true;
100
+ };
101
+ "selected": {
102
+ "alias": "selected";
103
+ "required": false;
104
+ "isSignal": true;
105
+ };
106
+ "_disabledInput": {
107
+ "alias": "disabled";
108
+ "required": false;
109
+ "isSignal": true;
110
+ };
111
+ "showErrors": {
112
+ "alias": "showErrors";
113
+ "required": false;
114
+ "isSignal": true;
115
+ };
116
+ }, {
117
+ "selected": "selectedChange";
118
+ }, never, never, true, never>;
119
+ }
@@ -0,0 +1,172 @@
1
+ import { QueuedNote, UiLabelsService } from "@forgeroute/ui/core";
2
+ import * as i0 from "@angular/core";
3
+ /** A note as the notes API returns it. */
4
+ export interface NoteItem {
5
+ id: string;
6
+ body: string;
7
+ createdByName: string;
8
+ createdAt: string;
9
+ updatedAt: string;
10
+ }
11
+ /** A note as listed: a server note, or one saved on the device (`queued`) that the server does not have yet / has a pending change for. */
12
+ interface NoteView extends NoteItem {
13
+ queued?: {
14
+ kind: QueuedNote['kind'];
15
+ state: QueuedNote['state'];
16
+ };
17
+ }
18
+ /**
19
+ * Longest note body, in characters, counted AFTER trimming. Matches the backend `NoteController` cap (10000 after trim; the server trims first,
20
+ * so leading / trailing spaces never count). The add box and the edit box block Add Note / Save above it and show "Too long (max 10000 characters).".
21
+ */
22
+ export declare const NOTES_MAX_LENGTH = 10000;
23
+ /**
24
+ * Notes for one record: a soft "Add a note" panel, then one clean card per note (author avatar, name, date, edit / delete icons, the text),
25
+ * inline edit and a delete confirmation. Notes are listed 5 per page in the server's order. It talks to the notes API itself, so a page only names the record:
26
+ *
27
+ * <ui-notes resourceType="contact" [resourceId]="contactId" [readOnly]="!canEdit()" (totalChange)="notesTotal.set($event)" />
28
+ *
29
+ * API (under `FORGEROUTE_CONFIG.baseUrl`, default `/api`):
30
+ * - `GET /notes/{resourceType}/{resourceId}?page=<0-based>&size=5` -> `{ content: NoteItem[], totalElements, totalPages, page, size }`
31
+ * - `POST /notes/{resourceType}/{resourceId}` `{ body }` -> the new note
32
+ * - `PUT /notes/{noteId}` `{ body }` -> the updated note
33
+ * - `DELETE /notes/{noteId}`
34
+ *
35
+ * `readOnly` lists the notes only (no box, no edit / delete). `totalChange` emits the total after every load. Failures show a
36
+ * library toast with the server's message. Put it in a `ui-detail-card`: the card's body padding is the only outer inset.
37
+ * A note may hold at most `NOTES_MAX_LENGTH` (10000) characters after trimming; longer text (typed or pasted) shows the field's
38
+ * "Too long" message at once and Add Note / Save stay disabled, so no request is sent.
39
+ * Pagination is the library `ui-pagination` (shown only above one page). Cmd/Ctrl+Enter in the add box adds the note.
40
+ *
41
+ * Offline (optional): when an offline layer provides `UI_NOTES_QUEUE` (`provideOfflineSupport` from `@forgeroute/ui/offline` does), a note added, edited
42
+ * or deleted while offline is shown at once with "Waiting to send" (text in the card, announced in a live region), replaced by the real note after the
43
+ * layer delivered it, and marked "Not sent" when the change failed or conflicted (it disappears if the user discards it). A note that is waiting has no
44
+ * edit / delete icons. Without a provider nothing of this exists. See `docs/notes-offline.md`.
45
+ */
46
+ export declare class NotesComponent {
47
+ protected readonly labels: UiLabelsService;
48
+ /** What the notes belong to, as the API names it: `contact`, `transaction`, `property`, `task`, ... */
49
+ readonly resourceType: import("@angular/core").InputSignal<string>;
50
+ readonly resourceId: import("@angular/core").InputSignal<string>;
51
+ /**
52
+ * Resource-specific notes API (optional). When set (e.g. `/permits/42/notes`, relative to `FORGEROUTE_CONFIG.baseUrl`), the component uses it instead of
53
+ * the generic `/notes/{resourceType}/{resourceId}` API and `resourceType` / `resourceId` are not needed:
54
+ * - `GET {basePath}?page=<0-based>&size=5` -> `{ content, totalElements, ... }` (`page` or Spring's `number` is accepted for the page index)
55
+ * - `POST {basePath}` `{ content }` -> the new note
56
+ * - `PUT {basePath}/{noteId}` `{ content }` (only when `editable` is true)
57
+ * - `DELETE {basePath}/{noteId}`
58
+ * A note's text may come as `body` or `content`; a missing `updatedAt` counts as `createdAt` (no "edited" tag). Empty (default) = the generic API.
59
+ */
60
+ readonly basePath: import("@angular/core").InputSignal<string>;
61
+ /** True: list only, no add box, edit or delete. */
62
+ readonly readOnly: import("@angular/core").InputSignal<boolean>;
63
+ /** False hides the edit icon (for APIs without an update endpoint). Default true. */
64
+ readonly editable: import("@angular/core").InputSignal<boolean>;
65
+ /** Longest note, in characters after trimming (default `NOTES_MAX_LENGTH`, 10000). Set it to the API's column size, e.g. 255 for customer notes. */
66
+ readonly maxLength: import("@angular/core").InputSignal<number>;
67
+ /** Total number of notes after every load / add / delete. */
68
+ readonly totalChange: import("@angular/core").OutputEmitterRef<number>;
69
+ private readonly http;
70
+ private readonly toast;
71
+ private readonly destroyRef;
72
+ private readonly apiBase;
73
+ readonly pageSize = 5;
74
+ readonly notes: import("@angular/core").WritableSignal<NoteItem[]>;
75
+ readonly loading: import("@angular/core").WritableSignal<boolean>;
76
+ readonly saving: import("@angular/core").WritableSignal<boolean>;
77
+ /** 0-based page index, as the server numbers it. */
78
+ readonly page: import("@angular/core").WritableSignal<number>;
79
+ readonly totalElements: import("@angular/core").WritableSignal<number>;
80
+ readonly editingId: import("@angular/core").WritableSignal<string | null>;
81
+ readonly deletingId: import("@angular/core").WritableSignal<string | null>;
82
+ /** Optional offline layer (see `UI_NOTES_QUEUE`). Absent = every queue-related behaviour below is off. */
83
+ protected readonly queue: import("@forgeroute/ui/core").UiNotesQueue | null;
84
+ protected readonly announcement: import("@angular/core").WritableSignal<string>;
85
+ /** Saved changes that just left the queue (delivered) and are still shown until the reload that fetches the real data has answered. Each knows its list. */
86
+ private readonly settling;
87
+ /** Overlay clean-ups waiting for the NEWEST load to answer (an older, superseded load never runs them). */
88
+ private afters;
89
+ /** Number of the newest load; an answer from an older load is ignored. */
90
+ private loadSeq;
91
+ /** True when the last load failed while the offline layer says we are offline (the list then shows only what is saved on this device). */
92
+ readonly offlineLoadFailed: import("@angular/core").WritableSignal<boolean>;
93
+ /**
94
+ * What the list shows: with an offline layer, notes saved on this device are shown right away - new notes first on page 1 (newest first, like the
95
+ * server's order), and a note with a saved edit / delete keeps its place, marked as waiting. Without one it is exactly `notes()`.
96
+ */
97
+ readonly shown: import("@angular/core").Signal<NoteView[]>;
98
+ newBody: string;
99
+ editBody: string;
100
+ /** Up to two initials of the author's name for the avatar ("Ana Lopez" -> "AL"); "Y" for the current user's own unnamed notes. */
101
+ protected initials(name: string): string;
102
+ /** True when the trimmed text is longer than the limit. */
103
+ protected tooLong(text: string): boolean;
104
+ /** True when the trimmed text is not empty and within the limit. */
105
+ protected validBody(text: string): boolean;
106
+ private get listUrl();
107
+ private noteUrl;
108
+ /** The URL of one note up to its id (`.../notes/` or `<basePath>/`). */
109
+ private get itemPrefix();
110
+ private get ready();
111
+ /** Request body for create / update: `{ content }` for a `basePath` API, `{ body }` for the generic one. */
112
+ private payload;
113
+ /** Accepts `body` or `content` as the text and a missing `updatedAt`. */
114
+ private normalize;
115
+ constructor();
116
+ /** The label under a queued note: what is waiting and why it may be stuck (text, not colour alone). */
117
+ protected queuedText(q: {
118
+ kind: QueuedNote['kind'];
119
+ state: QueuedNote['state'];
120
+ }): string;
121
+ /** Says it in the live region; clears first so the same words twice in a row are read twice. */
122
+ private announce;
123
+ /** True when the answer is the offline layer's "saved on this device" reply (and an offline layer is present). */
124
+ private savedOffline;
125
+ /**
126
+ * Loads one page. Only the NEWEST load's answer is applied (an older answer arriving late is ignored, so stale data never overwrites newer data and
127
+ * `loading` stays true until the latest answer). `after` (overlay clean-up of delivered changes) runs when the newest load has answered - also when
128
+ * a later load superseded the one it was given to, so the overlay drops in the same render the replacing data arrives.
129
+ */
130
+ loadPage(p: number, after?: () => void): void;
131
+ addNote(): void;
132
+ startEdit(note: NoteItem): void;
133
+ cancelEdit(): void;
134
+ saveEdit(noteId: string): void;
135
+ confirmDelete(id: string): void;
136
+ deleteNote(): void;
137
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotesComponent, never>;
138
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotesComponent, "ui-notes", never, {
139
+ "resourceType": {
140
+ "alias": "resourceType";
141
+ "required": false;
142
+ "isSignal": true;
143
+ };
144
+ "resourceId": {
145
+ "alias": "resourceId";
146
+ "required": false;
147
+ "isSignal": true;
148
+ };
149
+ "basePath": {
150
+ "alias": "basePath";
151
+ "required": false;
152
+ "isSignal": true;
153
+ };
154
+ "readOnly": {
155
+ "alias": "readOnly";
156
+ "required": false;
157
+ "isSignal": true;
158
+ };
159
+ "editable": {
160
+ "alias": "editable";
161
+ "required": false;
162
+ "isSignal": true;
163
+ };
164
+ "maxLength": {
165
+ "alias": "maxLength";
166
+ "required": false;
167
+ "isSignal": true;
168
+ };
169
+ }, {
170
+ "totalChange": "totalChange";
171
+ }, never, never, true, never>;
172
+ }
@@ -0,0 +1,135 @@
1
+ import { UiLabelsService } from "@forgeroute/ui/core";
2
+ import * as i0 from "@angular/core";
3
+ /** One row of the notification list. `time` is the text to show (the host formats it: "5 min ago", "Nov 10"); `read` false = unread (highlighted, "New" badge, a Mark read button). */
4
+ export interface NotificationItem {
5
+ id: string;
6
+ title: string;
7
+ body?: string | null;
8
+ time?: string | null;
9
+ read: boolean;
10
+ }
11
+ /**
12
+ * The notification bell: a bell button with an unread count, that opens a side panel listing the user's notifications
13
+ * (`<ui-notification-bell [items]="items()" [unreadCount]="unread()" [(open)]="open" (opened)="load()" (itemSelect)="go($event)" (markRead)="read($event)" (markAllRead)="readAll()" />`).
14
+ *
15
+ * The component owns the look and the keyboard / screen-reader behaviour and holds NO http: the host loads the list (when `(opened)` fires), formats the times, keeps the unread count
16
+ * current (the bell shows `unreadCount` even while the panel is closed) and answers `(markRead)` / `(markAllRead)` / `(loadMore)` / `(retry)`. Selecting a row emits `(itemSelect)` (the host
17
+ * marks it read, navigates, and closes the panel with `open.set(false)`); the "Mark read" button of an unread row emits `(markRead)` only. Built from the library's own button, icon, badge,
18
+ * side panel, list item, empty / error state and skeleton, so it follows their theming, focus rings and 44px touch targets.
19
+ *
20
+ * Accessibility: the trigger is a real button named "Notifications, N unread" (`ariaLabel` + the count), `aria-expanded` follows the panel; the count badge is decorative (the name already
21
+ * carries it, so it is `aria-hidden`); a read row has no "New" badge; "Mark read" buttons carry the row title in their name. A visually hidden polite live region announces every CHANGE of
22
+ * the unread count ("You have 3 unread notifications.", "You have no unread notifications.") - never the count the bell was first shown with, so a page load is silent.
23
+ *
24
+ * Text: every word comes from the label service (keys `notificationBell.*`, English and Spanish); `ariaLabel`, `panelTitle` and `emptyMessage` override the defaults when the host wants
25
+ * its own wording.
26
+ */
27
+ export declare class NotificationBellComponent {
28
+ /** The notifications to list, newest first. */
29
+ readonly items: import("@angular/core").InputSignal<readonly NotificationItem[]>;
30
+ /** How many notifications are unread (shown on the bell even while the panel is closed). */
31
+ readonly unreadCount: import("@angular/core").InputSignal<number>;
32
+ readonly loading: import("@angular/core").InputSignal<boolean>;
33
+ readonly loadingMore: import("@angular/core").InputSignal<boolean>;
34
+ /** A load failure message ('' = none): shown with a Retry button instead of the list. */
35
+ readonly error: import("@angular/core").InputSignal<string>;
36
+ /** More pages exist: shows a "Load more" button under the list. */
37
+ readonly hasMore: import("@angular/core").InputSignal<boolean>;
38
+ /** Overrides the bell's accessible name (default: the label service's "Notifications"). */
39
+ readonly ariaLabelInput: import("@angular/core").InputSignal<string | null>;
40
+ /** Overrides the panel title (default: "Notifications"). */
41
+ readonly panelTitleInput: import("@angular/core").InputSignal<string | null>;
42
+ /** Overrides the empty-list message (default: "You have no notifications."). */
43
+ readonly emptyMessageInput: import("@angular/core").InputSignal<string | null>;
44
+ /** Counts above this show as "<max>+" on the bell. */
45
+ readonly maxCount: import("@angular/core").InputSignal<number>;
46
+ /** Whether the panel is open (two-way: `[(open)]`). */
47
+ readonly open: import("@angular/core").ModelSignal<boolean>;
48
+ /** Fires every time the panel is opened by the bell: the host (re)loads the list. */
49
+ readonly opened: import("@angular/core").OutputEmitterRef<void>;
50
+ readonly itemSelect: import("@angular/core").OutputEmitterRef<NotificationItem>;
51
+ readonly markRead: import("@angular/core").OutputEmitterRef<NotificationItem>;
52
+ readonly markAllRead: import("@angular/core").OutputEmitterRef<void>;
53
+ readonly loadMore: import("@angular/core").OutputEmitterRef<void>;
54
+ readonly retry: import("@angular/core").OutputEmitterRef<void>;
55
+ protected readonly labels: UiLabelsService;
56
+ /** The text a screen reader hears when the unread count changes ('' until it does). */
57
+ protected readonly announcement: import("@angular/core").WritableSignal<string>;
58
+ protected readonly baseLabel: import("@angular/core").Signal<string>;
59
+ protected readonly panelTitleText: import("@angular/core").Signal<string>;
60
+ protected readonly emptyText: import("@angular/core").Signal<string>;
61
+ protected readonly countText: import("@angular/core").Signal<string>;
62
+ protected readonly triggerLabel: import("@angular/core").Signal<string>;
63
+ protected readonly summaryText: import("@angular/core").Signal<string>;
64
+ /** The unread count the live region last saw (null until the first render, so the count the bell starts with is never announced). */
65
+ private lastCount;
66
+ constructor();
67
+ toggle(): void;
68
+ close(): void;
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBellComponent, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationBellComponent, "ui-notification-bell", never, {
71
+ "items": {
72
+ "alias": "items";
73
+ "required": false;
74
+ "isSignal": true;
75
+ };
76
+ "unreadCount": {
77
+ "alias": "unreadCount";
78
+ "required": false;
79
+ "isSignal": true;
80
+ };
81
+ "loading": {
82
+ "alias": "loading";
83
+ "required": false;
84
+ "isSignal": true;
85
+ };
86
+ "loadingMore": {
87
+ "alias": "loadingMore";
88
+ "required": false;
89
+ "isSignal": true;
90
+ };
91
+ "error": {
92
+ "alias": "error";
93
+ "required": false;
94
+ "isSignal": true;
95
+ };
96
+ "hasMore": {
97
+ "alias": "hasMore";
98
+ "required": false;
99
+ "isSignal": true;
100
+ };
101
+ "ariaLabelInput": {
102
+ "alias": "ariaLabel";
103
+ "required": false;
104
+ "isSignal": true;
105
+ };
106
+ "panelTitleInput": {
107
+ "alias": "panelTitle";
108
+ "required": false;
109
+ "isSignal": true;
110
+ };
111
+ "emptyMessageInput": {
112
+ "alias": "emptyMessage";
113
+ "required": false;
114
+ "isSignal": true;
115
+ };
116
+ "maxCount": {
117
+ "alias": "maxCount";
118
+ "required": false;
119
+ "isSignal": true;
120
+ };
121
+ "open": {
122
+ "alias": "open";
123
+ "required": false;
124
+ "isSignal": true;
125
+ };
126
+ }, {
127
+ "open": "openChange";
128
+ "opened": "opened";
129
+ "itemSelect": "itemSelect";
130
+ "markRead": "markRead";
131
+ "markAllRead": "markAllRead";
132
+ "loadMore": "loadMore";
133
+ "retry": "retry";
134
+ }, never, never, true, never>;
135
+ }
@@ -0,0 +1,44 @@
1
+ import { UiLabelsService } from "@forgeroute/ui/core";
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * A banner across the top of the page while the browser is offline (`navigator.onLine`, kept current by the window's `online` /
5
+ * `offline` events). The user can dismiss it; it comes back the next time the connection drops. Put one near the root of the app:
6
+ *
7
+ * <ui-offline-banner />
8
+ *
9
+ * `offline` overrides the browser's own state (for an app that does its own connectivity check). Texts can be changed with `title`
10
+ * and `message`. Test ids: `offline-banner`, `offline-banner-dismiss`.
11
+ */
12
+ export declare class OfflineBannerComponent {
13
+ protected readonly labels: UiLabelsService;
14
+ /** Banner heading; `null` (default) = the library text for the active language. */
15
+ readonly title: import("@angular/core").InputSignal<string | null>;
16
+ /** Banner body; `null` (default) = the library text for the active language. */
17
+ readonly message: import("@angular/core").InputSignal<string | null>;
18
+ /** Forces the state (true = offline); `null` (default) follows the browser. */
19
+ readonly offline: import("@angular/core").InputSignal<boolean | null>;
20
+ private readonly browserOffline;
21
+ private readonly dismissed;
22
+ protected readonly isOffline: import("@angular/core").Signal<boolean>;
23
+ protected readonly visible: import("@angular/core").Signal<boolean>;
24
+ constructor();
25
+ protected dismiss(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<OfflineBannerComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<OfflineBannerComponent, "ui-offline-banner", never, {
28
+ "title": {
29
+ "alias": "title";
30
+ "required": false;
31
+ "isSignal": true;
32
+ };
33
+ "message": {
34
+ "alias": "message";
35
+ "required": false;
36
+ "isSignal": true;
37
+ };
38
+ "offline": {
39
+ "alias": "offline";
40
+ "required": false;
41
+ "isSignal": true;
42
+ };
43
+ }, {}, never, never, true, never>;
44
+ }