@forgeroute/ui 0.5.16 → 0.5.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (340) hide show
  1. package/fesm2022/forgeroute-ui-action-bar.mjs +190 -0
  2. package/fesm2022/forgeroute-ui-action-bar.mjs.map +1 -0
  3. package/fesm2022/forgeroute-ui-address-input.mjs +1164 -0
  4. package/fesm2022/forgeroute-ui-address-input.mjs.map +1 -0
  5. package/fesm2022/forgeroute-ui-alert.mjs +223 -0
  6. package/fesm2022/forgeroute-ui-alert.mjs.map +1 -0
  7. package/fesm2022/forgeroute-ui-avatar.mjs +320 -0
  8. package/fesm2022/forgeroute-ui-avatar.mjs.map +1 -0
  9. package/fesm2022/forgeroute-ui-badge.mjs +158 -0
  10. package/fesm2022/forgeroute-ui-badge.mjs.map +1 -0
  11. package/fesm2022/forgeroute-ui-bar-row.mjs +255 -0
  12. package/fesm2022/forgeroute-ui-bar-row.mjs.map +1 -0
  13. package/fesm2022/forgeroute-ui-boards.mjs +2201 -0
  14. package/fesm2022/forgeroute-ui-boards.mjs.map +1 -0
  15. package/fesm2022/forgeroute-ui-bulk-eligible.mjs +172 -0
  16. package/fesm2022/forgeroute-ui-bulk-eligible.mjs.map +1 -0
  17. package/fesm2022/forgeroute-ui-business-hours.mjs +771 -0
  18. package/fesm2022/forgeroute-ui-business-hours.mjs.map +1 -0
  19. package/fesm2022/forgeroute-ui-calendar.mjs +2006 -0
  20. package/fesm2022/forgeroute-ui-calendar.mjs.map +1 -0
  21. package/fesm2022/forgeroute-ui-card-list-item.mjs +556 -0
  22. package/fesm2022/forgeroute-ui-card-list-item.mjs.map +1 -0
  23. package/fesm2022/forgeroute-ui-charts.mjs +1 -1
  24. package/fesm2022/forgeroute-ui-charts.mjs.map +1 -1
  25. package/fesm2022/forgeroute-ui-checkbox.mjs +815 -0
  26. package/fesm2022/forgeroute-ui-checkbox.mjs.map +1 -0
  27. package/fesm2022/forgeroute-ui-chip.mjs +379 -0
  28. package/fesm2022/forgeroute-ui-chip.mjs.map +1 -0
  29. package/fesm2022/forgeroute-ui-color-input.mjs +492 -0
  30. package/fesm2022/forgeroute-ui-color-input.mjs.map +1 -0
  31. package/fesm2022/forgeroute-ui-column-filter.mjs +645 -0
  32. package/fesm2022/forgeroute-ui-column-filter.mjs.map +1 -0
  33. package/fesm2022/forgeroute-ui-columns.mjs +351 -0
  34. package/fesm2022/forgeroute-ui-columns.mjs.map +1 -0
  35. package/fesm2022/forgeroute-ui-combobox.mjs +772 -0
  36. package/fesm2022/forgeroute-ui-combobox.mjs.map +1 -0
  37. package/fesm2022/forgeroute-ui-confirm.mjs +48 -0
  38. package/fesm2022/forgeroute-ui-confirm.mjs.map +1 -0
  39. package/fesm2022/forgeroute-ui-contact-picker.mjs +865 -0
  40. package/fesm2022/forgeroute-ui-contact-picker.mjs.map +1 -0
  41. package/fesm2022/forgeroute-ui-conversations.mjs +3627 -0
  42. package/fesm2022/forgeroute-ui-conversations.mjs.map +1 -0
  43. package/fesm2022/forgeroute-ui-copy-field.mjs +378 -0
  44. package/fesm2022/forgeroute-ui-copy-field.mjs.map +1 -0
  45. package/fesm2022/forgeroute-ui-data-table-core.mjs +6150 -0
  46. package/fesm2022/forgeroute-ui-data-table-core.mjs.map +1 -0
  47. package/fesm2022/forgeroute-ui-date-input.mjs +384 -0
  48. package/fesm2022/forgeroute-ui-date-input.mjs.map +1 -0
  49. package/fesm2022/forgeroute-ui-date-range-picker.mjs +453 -0
  50. package/fesm2022/forgeroute-ui-date-range-picker.mjs.map +1 -0
  51. package/fesm2022/forgeroute-ui-datetime-input.mjs +375 -0
  52. package/fesm2022/forgeroute-ui-datetime-input.mjs.map +1 -0
  53. package/fesm2022/forgeroute-ui-detail-card.mjs +655 -0
  54. package/fesm2022/forgeroute-ui-detail-card.mjs.map +1 -0
  55. package/fesm2022/forgeroute-ui-discount-selector.mjs +259 -0
  56. package/fesm2022/forgeroute-ui-discount-selector.mjs.map +1 -0
  57. package/fesm2022/forgeroute-ui-divider.mjs +111 -0
  58. package/fesm2022/forgeroute-ui-divider.mjs.map +1 -0
  59. package/fesm2022/forgeroute-ui-dropdown.mjs +550 -0
  60. package/fesm2022/forgeroute-ui-dropdown.mjs.map +1 -0
  61. package/fesm2022/forgeroute-ui-editor.mjs +4545 -0
  62. package/fesm2022/forgeroute-ui-editor.mjs.map +1 -0
  63. package/fesm2022/forgeroute-ui-empty-state.mjs +231 -0
  64. package/fesm2022/forgeroute-ui-empty-state.mjs.map +1 -0
  65. package/fesm2022/forgeroute-ui-error-state.mjs +195 -0
  66. package/fesm2022/forgeroute-ui-error-state.mjs.map +1 -0
  67. package/fesm2022/forgeroute-ui-error.mjs +93 -0
  68. package/fesm2022/forgeroute-ui-error.mjs.map +1 -0
  69. package/fesm2022/forgeroute-ui-fade.mjs +117 -0
  70. package/fesm2022/forgeroute-ui-fade.mjs.map +1 -0
  71. package/fesm2022/forgeroute-ui-file-input.mjs +999 -0
  72. package/fesm2022/forgeroute-ui-file-input.mjs.map +1 -0
  73. package/fesm2022/forgeroute-ui-fixed-footer.mjs +115 -0
  74. package/fesm2022/forgeroute-ui-fixed-footer.mjs.map +1 -0
  75. package/fesm2022/forgeroute-ui-form-row.mjs +126 -0
  76. package/fesm2022/forgeroute-ui-form-row.mjs.map +1 -0
  77. package/fesm2022/forgeroute-ui-form-section.mjs +93 -0
  78. package/fesm2022/forgeroute-ui-form-section.mjs.map +1 -0
  79. package/fesm2022/forgeroute-ui-form.mjs +139 -0
  80. package/fesm2022/forgeroute-ui-form.mjs.map +1 -0
  81. package/fesm2022/forgeroute-ui-hint.mjs +47 -0
  82. package/fesm2022/forgeroute-ui-hint.mjs.map +1 -0
  83. package/fesm2022/forgeroute-ui-icon-picker.mjs +424 -0
  84. package/fesm2022/forgeroute-ui-icon-picker.mjs.map +1 -0
  85. package/fesm2022/forgeroute-ui-icon.mjs +311 -0
  86. package/fesm2022/forgeroute-ui-icon.mjs.map +1 -0
  87. package/fesm2022/forgeroute-ui-image-preview.mjs +237 -0
  88. package/fesm2022/forgeroute-ui-image-preview.mjs.map +1 -0
  89. package/fesm2022/forgeroute-ui-keypad.mjs +278 -0
  90. package/fesm2022/forgeroute-ui-keypad.mjs.map +1 -0
  91. package/fesm2022/forgeroute-ui-kpi-card.mjs +490 -0
  92. package/fesm2022/forgeroute-ui-kpi-card.mjs.map +1 -0
  93. package/fesm2022/forgeroute-ui-language-switcher.mjs +134 -0
  94. package/fesm2022/forgeroute-ui-language-switcher.mjs.map +1 -0
  95. package/fesm2022/forgeroute-ui-layout.mjs +18 -0
  96. package/fesm2022/forgeroute-ui-layout.mjs.map +1 -0
  97. package/fesm2022/forgeroute-ui-list-item.mjs +620 -0
  98. package/fesm2022/forgeroute-ui-list-item.mjs.map +1 -0
  99. package/fesm2022/forgeroute-ui-list.mjs +866 -0
  100. package/fesm2022/forgeroute-ui-list.mjs.map +1 -0
  101. package/fesm2022/forgeroute-ui-live-region.mjs +118 -0
  102. package/fesm2022/forgeroute-ui-live-region.mjs.map +1 -0
  103. package/fesm2022/forgeroute-ui-map.mjs +5 -1
  104. package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
  105. package/fesm2022/forgeroute-ui-maps.mjs +2 -1
  106. package/fesm2022/forgeroute-ui-maps.mjs.map +1 -1
  107. package/fesm2022/forgeroute-ui-media.mjs +4615 -0
  108. package/fesm2022/forgeroute-ui-media.mjs.map +1 -0
  109. package/fesm2022/forgeroute-ui-messaging.mjs +20 -1
  110. package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
  111. package/fesm2022/forgeroute-ui-more-menu.mjs +418 -0
  112. package/fesm2022/forgeroute-ui-more-menu.mjs.map +1 -0
  113. package/fesm2022/forgeroute-ui-multi-select.mjs +532 -0
  114. package/fesm2022/forgeroute-ui-multi-select.mjs.map +1 -0
  115. package/fesm2022/forgeroute-ui-notes.mjs +768 -0
  116. package/fesm2022/forgeroute-ui-notes.mjs.map +1 -0
  117. package/fesm2022/forgeroute-ui-notification-bell.mjs +587 -0
  118. package/fesm2022/forgeroute-ui-notification-bell.mjs.map +1 -0
  119. package/fesm2022/forgeroute-ui-offline-banner.mjs +156 -0
  120. package/fesm2022/forgeroute-ui-offline-banner.mjs.map +1 -0
  121. package/fesm2022/forgeroute-ui-option-card.mjs +379 -0
  122. package/fesm2022/forgeroute-ui-option-card.mjs.map +1 -0
  123. package/fesm2022/forgeroute-ui-page.mjs +317 -0
  124. package/fesm2022/forgeroute-ui-page.mjs.map +1 -0
  125. package/fesm2022/forgeroute-ui-pagination.mjs +225 -0
  126. package/fesm2022/forgeroute-ui-pagination.mjs.map +1 -0
  127. package/fesm2022/forgeroute-ui-panel-info-list.mjs +422 -0
  128. package/fesm2022/forgeroute-ui-panel-info-list.mjs.map +1 -0
  129. package/fesm2022/forgeroute-ui-password-requirements.mjs +237 -0
  130. package/fesm2022/forgeroute-ui-password-requirements.mjs.map +1 -0
  131. package/fesm2022/forgeroute-ui-payments.mjs +6243 -0
  132. package/fesm2022/forgeroute-ui-payments.mjs.map +1 -0
  133. package/fesm2022/forgeroute-ui-pdf.mjs +9 -1
  134. package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
  135. package/fesm2022/forgeroute-ui-phone-number-picker.mjs +840 -0
  136. package/fesm2022/forgeroute-ui-phone-number-picker.mjs.map +1 -0
  137. package/fesm2022/forgeroute-ui-pill-tabs.mjs +546 -0
  138. package/fesm2022/forgeroute-ui-pill-tabs.mjs.map +1 -0
  139. package/fesm2022/forgeroute-ui-print.mjs +76 -0
  140. package/fesm2022/forgeroute-ui-print.mjs.map +1 -0
  141. package/fesm2022/forgeroute-ui-progress-bar.mjs +252 -0
  142. package/fesm2022/forgeroute-ui-progress-bar.mjs.map +1 -0
  143. package/fesm2022/forgeroute-ui-progress-ring.mjs +277 -0
  144. package/fesm2022/forgeroute-ui-progress-ring.mjs.map +1 -0
  145. package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs +301 -0
  146. package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs.map +1 -0
  147. package/fesm2022/forgeroute-ui-quickbooks.mjs +18 -1
  148. package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
  149. package/fesm2022/forgeroute-ui-radio-matrix.mjs +471 -0
  150. package/fesm2022/forgeroute-ui-radio-matrix.mjs.map +1 -0
  151. package/fesm2022/forgeroute-ui-radio.mjs +911 -0
  152. package/fesm2022/forgeroute-ui-radio.mjs.map +1 -0
  153. package/fesm2022/forgeroute-ui-read-only-mode.mjs +15 -0
  154. package/fesm2022/forgeroute-ui-read-only-mode.mjs.map +1 -0
  155. package/fesm2022/forgeroute-ui-readonly-fieldset.mjs +146 -0
  156. package/fesm2022/forgeroute-ui-readonly-fieldset.mjs.map +1 -0
  157. package/fesm2022/forgeroute-ui-reminder-alerts.mjs +249 -0
  158. package/fesm2022/forgeroute-ui-reminder-alerts.mjs.map +1 -0
  159. package/fesm2022/forgeroute-ui-search-input.mjs +373 -0
  160. package/fesm2022/forgeroute-ui-search-input.mjs.map +1 -0
  161. package/fesm2022/forgeroute-ui-section-header.mjs +296 -0
  162. package/fesm2022/forgeroute-ui-section-header.mjs.map +1 -0
  163. package/fesm2022/forgeroute-ui-select.mjs +498 -0
  164. package/fesm2022/forgeroute-ui-select.mjs.map +1 -0
  165. package/fesm2022/forgeroute-ui-setup.mjs +4649 -0
  166. package/fesm2022/forgeroute-ui-setup.mjs.map +1 -0
  167. package/fesm2022/forgeroute-ui-share-menu.mjs +461 -0
  168. package/fesm2022/forgeroute-ui-share-menu.mjs.map +1 -0
  169. package/fesm2022/forgeroute-ui-shell.mjs +981 -0
  170. package/fesm2022/forgeroute-ui-shell.mjs.map +1 -0
  171. package/fesm2022/forgeroute-ui-show.mjs +129 -0
  172. package/fesm2022/forgeroute-ui-show.mjs.map +1 -0
  173. package/fesm2022/forgeroute-ui-sidebar-layout.mjs +355 -0
  174. package/fesm2022/forgeroute-ui-sidebar-layout.mjs.map +1 -0
  175. package/fesm2022/forgeroute-ui-skeleton.mjs +152 -0
  176. package/fesm2022/forgeroute-ui-skeleton.mjs.map +1 -0
  177. package/fesm2022/forgeroute-ui-skip-link.mjs +129 -0
  178. package/fesm2022/forgeroute-ui-skip-link.mjs.map +1 -0
  179. package/fesm2022/forgeroute-ui-snackbar.mjs +200 -0
  180. package/fesm2022/forgeroute-ui-snackbar.mjs.map +1 -0
  181. package/fesm2022/forgeroute-ui-square.mjs +15 -1
  182. package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
  183. package/fesm2022/forgeroute-ui-stack.mjs +233 -0
  184. package/fesm2022/forgeroute-ui-stack.mjs.map +1 -0
  185. package/fesm2022/forgeroute-ui-stacked-bar.mjs +200 -0
  186. package/fesm2022/forgeroute-ui-stacked-bar.mjs.map +1 -0
  187. package/fesm2022/forgeroute-ui-stacking-plan.mjs +365 -0
  188. package/fesm2022/forgeroute-ui-stacking-plan.mjs.map +1 -0
  189. package/fesm2022/forgeroute-ui-star-rating.mjs +498 -0
  190. package/fesm2022/forgeroute-ui-star-rating.mjs.map +1 -0
  191. package/fesm2022/forgeroute-ui-star.mjs +184 -0
  192. package/fesm2022/forgeroute-ui-star.mjs.map +1 -0
  193. package/fesm2022/forgeroute-ui-stepper.mjs +615 -0
  194. package/fesm2022/forgeroute-ui-stepper.mjs.map +1 -0
  195. package/fesm2022/forgeroute-ui-stripe.mjs +14 -1
  196. package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
  197. package/fesm2022/forgeroute-ui-swatch-picker.mjs +416 -0
  198. package/fesm2022/forgeroute-ui-swatch-picker.mjs.map +1 -0
  199. package/fesm2022/forgeroute-ui-table-toolbar.mjs +770 -0
  200. package/fesm2022/forgeroute-ui-table-toolbar.mjs.map +1 -0
  201. package/fesm2022/forgeroute-ui-table-types.mjs +277 -0
  202. package/fesm2022/forgeroute-ui-table-types.mjs.map +1 -0
  203. package/fesm2022/forgeroute-ui-text-input.mjs +1003 -0
  204. package/fesm2022/forgeroute-ui-text-input.mjs.map +1 -0
  205. package/fesm2022/forgeroute-ui-text-template-picker.mjs +356 -0
  206. package/fesm2022/forgeroute-ui-text-template-picker.mjs.map +1 -0
  207. package/fesm2022/forgeroute-ui-text.mjs +195 -0
  208. package/fesm2022/forgeroute-ui-text.mjs.map +1 -0
  209. package/fesm2022/forgeroute-ui-textarea-input.mjs +542 -0
  210. package/fesm2022/forgeroute-ui-textarea-input.mjs.map +1 -0
  211. package/fesm2022/forgeroute-ui-time-input.mjs +401 -0
  212. package/fesm2022/forgeroute-ui-time-input.mjs.map +1 -0
  213. package/fesm2022/forgeroute-ui-timeline.mjs +549 -0
  214. package/fesm2022/forgeroute-ui-timeline.mjs.map +1 -0
  215. package/fesm2022/forgeroute-ui-toast.mjs +507 -0
  216. package/fesm2022/forgeroute-ui-toast.mjs.map +1 -0
  217. package/fesm2022/forgeroute-ui-toggle-badge.mjs +177 -0
  218. package/fesm2022/forgeroute-ui-toggle-badge.mjs.map +1 -0
  219. package/fesm2022/forgeroute-ui-toggle.mjs +275 -0
  220. package/fesm2022/forgeroute-ui-toggle.mjs.map +1 -0
  221. package/fesm2022/forgeroute-ui-tooltip.mjs +155 -0
  222. package/fesm2022/forgeroute-ui-tooltip.mjs.map +1 -0
  223. package/fesm2022/forgeroute-ui-utils.mjs +1071 -0
  224. package/fesm2022/forgeroute-ui-utils.mjs.map +1 -0
  225. package/fesm2022/forgeroute-ui.mjs +105 -70663
  226. package/package.json +417 -1
  227. package/types/forgeroute-ui-action-bar.d.ts +74 -0
  228. package/types/forgeroute-ui-address-input.d.ts +354 -0
  229. package/types/forgeroute-ui-alert.d.ts +89 -0
  230. package/types/forgeroute-ui-avatar.d.ts +85 -0
  231. package/types/forgeroute-ui-badge.d.ts +45 -0
  232. package/types/forgeroute-ui-bar-row.d.ts +90 -0
  233. package/types/forgeroute-ui-boards.d.ts +575 -0
  234. package/types/forgeroute-ui-bulk-eligible.d.ts +53 -0
  235. package/types/forgeroute-ui-business-hours.d.ts +191 -0
  236. package/types/forgeroute-ui-calendar.d.ts +544 -0
  237. package/types/forgeroute-ui-card-list-item.d.ts +186 -0
  238. package/types/forgeroute-ui-charts.d.ts +1 -1
  239. package/types/forgeroute-ui-checkbox.d.ts +270 -0
  240. package/types/forgeroute-ui-chip.d.ts +125 -0
  241. package/types/forgeroute-ui-color-input.d.ts +160 -0
  242. package/types/forgeroute-ui-column-filter.d.ts +130 -0
  243. package/types/forgeroute-ui-columns.d.ts +150 -0
  244. package/types/forgeroute-ui-combobox.d.ts +252 -0
  245. package/types/forgeroute-ui-confirm.d.ts +34 -0
  246. package/types/forgeroute-ui-contact-picker.d.ts +173 -0
  247. package/types/forgeroute-ui-conversations.d.ts +993 -0
  248. package/types/forgeroute-ui-copy-field.d.ts +122 -0
  249. package/types/forgeroute-ui-data-table-core.d.ts +1221 -0
  250. package/types/forgeroute-ui-date-input.d.ts +101 -0
  251. package/types/forgeroute-ui-date-range-picker.d.ts +109 -0
  252. package/types/forgeroute-ui-datetime-input.d.ts +97 -0
  253. package/types/forgeroute-ui-detail-card.d.ts +252 -0
  254. package/types/forgeroute-ui-discount-selector.d.ts +57 -0
  255. package/types/forgeroute-ui-divider.d.ts +40 -0
  256. package/types/forgeroute-ui-dropdown.d.ts +156 -0
  257. package/types/forgeroute-ui-editor.d.ts +873 -0
  258. package/types/forgeroute-ui-empty-state.d.ts +29 -0
  259. package/types/forgeroute-ui-error-state.d.ts +38 -0
  260. package/types/forgeroute-ui-error.d.ts +29 -0
  261. package/types/forgeroute-ui-fade.d.ts +39 -0
  262. package/types/forgeroute-ui-file-input.d.ts +337 -0
  263. package/types/forgeroute-ui-fixed-footer.d.ts +53 -0
  264. package/types/forgeroute-ui-form-row.d.ts +30 -0
  265. package/types/forgeroute-ui-form-section.d.ts +18 -0
  266. package/types/forgeroute-ui-form.d.ts +68 -0
  267. package/types/forgeroute-ui-hint.d.ts +10 -0
  268. package/types/forgeroute-ui-icon-picker.d.ts +122 -0
  269. package/types/forgeroute-ui-icon.d.ts +95 -0
  270. package/types/forgeroute-ui-image-preview.d.ts +88 -0
  271. package/types/forgeroute-ui-keypad.d.ts +73 -0
  272. package/types/forgeroute-ui-kpi-card.d.ts +161 -0
  273. package/types/forgeroute-ui-language-switcher.d.ts +41 -0
  274. package/types/forgeroute-ui-layout.d.ts +13 -0
  275. package/types/forgeroute-ui-list-item.d.ts +253 -0
  276. package/types/forgeroute-ui-list.d.ts +282 -0
  277. package/types/forgeroute-ui-live-region.d.ts +49 -0
  278. package/types/forgeroute-ui-map.d.ts +1 -1
  279. package/types/forgeroute-ui-maps.d.ts +1 -1
  280. package/types/forgeroute-ui-media.d.ts +1221 -0
  281. package/types/forgeroute-ui-messaging.d.ts +6 -1
  282. package/types/forgeroute-ui-more-menu.d.ts +91 -0
  283. package/types/forgeroute-ui-multi-select.d.ts +119 -0
  284. package/types/forgeroute-ui-notes.d.ts +172 -0
  285. package/types/forgeroute-ui-notification-bell.d.ts +135 -0
  286. package/types/forgeroute-ui-offline-banner.d.ts +44 -0
  287. package/types/forgeroute-ui-option-card.d.ts +106 -0
  288. package/types/forgeroute-ui-page.d.ts +115 -0
  289. package/types/forgeroute-ui-pagination.d.ts +55 -0
  290. package/types/forgeroute-ui-panel-info-list.d.ts +147 -0
  291. package/types/forgeroute-ui-password-requirements.d.ts +89 -0
  292. package/types/forgeroute-ui-payments.d.ts +1818 -0
  293. package/types/forgeroute-ui-pdf.d.ts +1 -1
  294. package/types/forgeroute-ui-phone-number-picker.d.ts +199 -0
  295. package/types/forgeroute-ui-pill-tabs.d.ts +208 -0
  296. package/types/forgeroute-ui-print.d.ts +40 -0
  297. package/types/forgeroute-ui-progress-bar.d.ts +88 -0
  298. package/types/forgeroute-ui-progress-ring.d.ts +102 -0
  299. package/types/forgeroute-ui-quick-filter-tabs.d.ts +51 -0
  300. package/types/forgeroute-ui-quickbooks.d.ts +4 -1
  301. package/types/forgeroute-ui-radio-matrix.d.ts +131 -0
  302. package/types/forgeroute-ui-radio.d.ts +311 -0
  303. package/types/forgeroute-ui-read-only-mode.d.ts +26 -0
  304. package/types/forgeroute-ui-readonly-fieldset.d.ts +62 -0
  305. package/types/forgeroute-ui-reminder-alerts.d.ts +71 -0
  306. package/types/forgeroute-ui-search-input.d.ts +93 -0
  307. package/types/forgeroute-ui-section-header.d.ts +149 -0
  308. package/types/forgeroute-ui-select.d.ts +183 -0
  309. package/types/forgeroute-ui-setup.d.ts +775 -0
  310. package/types/forgeroute-ui-share-menu.d.ts +99 -0
  311. package/types/forgeroute-ui-shell.d.ts +173 -0
  312. package/types/forgeroute-ui-show.d.ts +40 -0
  313. package/types/forgeroute-ui-sidebar-layout.d.ts +161 -0
  314. package/types/forgeroute-ui-skeleton.d.ts +51 -0
  315. package/types/forgeroute-ui-skip-link.d.ts +51 -0
  316. package/types/forgeroute-ui-snackbar.d.ts +50 -0
  317. package/types/forgeroute-ui-square.d.ts +3 -1
  318. package/types/forgeroute-ui-stack.d.ts +99 -0
  319. package/types/forgeroute-ui-stacked-bar.d.ts +84 -0
  320. package/types/forgeroute-ui-stacking-plan.d.ts +116 -0
  321. package/types/forgeroute-ui-star-rating.d.ts +151 -0
  322. package/types/forgeroute-ui-star.d.ts +46 -0
  323. package/types/forgeroute-ui-stepper.d.ts +273 -0
  324. package/types/forgeroute-ui-stripe.d.ts +3 -1
  325. package/types/forgeroute-ui-swatch-picker.d.ts +118 -0
  326. package/types/forgeroute-ui-table-toolbar.d.ts +116 -0
  327. package/types/forgeroute-ui-table-types.d.ts +624 -0
  328. package/types/forgeroute-ui-text-input.d.ts +359 -0
  329. package/types/forgeroute-ui-text-template-picker.d.ts +100 -0
  330. package/types/forgeroute-ui-text.d.ts +76 -0
  331. package/types/forgeroute-ui-textarea-input.d.ts +174 -0
  332. package/types/forgeroute-ui-time-input.d.ts +105 -0
  333. package/types/forgeroute-ui-timeline.d.ts +196 -0
  334. package/types/forgeroute-ui-toast.d.ts +131 -0
  335. package/types/forgeroute-ui-toggle-badge.d.ts +64 -0
  336. package/types/forgeroute-ui-toggle.d.ts +92 -0
  337. package/types/forgeroute-ui-tooltip.d.ts +36 -0
  338. package/types/forgeroute-ui-utils.d.ts +210 -0
  339. package/types/forgeroute-ui.d.ts +106 -19539
  340. package/fesm2022/forgeroute-ui.mjs.map +0 -1
@@ -0,0 +1,422 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, Component, computed, inject, input } from "@angular/core";
3
+ import { NgTemplateOutlet } from "@angular/common";
4
+ import { RouterLink } from "@angular/router";
5
+ import { BadgeComponent } from "@forgeroute/ui/badge";
6
+ import { ButtonComponent, UiLabelsService } from "@forgeroute/ui/core";
7
+ import { EmptyStateComponent } from "@forgeroute/ui/empty-state";
8
+ import { IconComponent, iconPath } from "@forgeroute/ui/icon";
9
+ import { BADGE_VARIANT_STYLES } from "@forgeroute/ui/table-types";
10
+ var PanelInfoListComponent = class PanelInfoListComponent {
11
+ constructor() {
12
+ this.labels = inject(UiLabelsService);
13
+ this.sections = input([], ...ngDevMode ? [{ debugName: "sections" }] : /* istanbul ignore next */ []);
14
+ this.showEmptyState = input(false, ...ngDevMode ? [{ debugName: "showEmptyState" }] : /* istanbul ignore next */ []);
15
+ this.labelColon = input(false, ...ngDevMode ? [{ debugName: "labelColon" }] : /* istanbul ignore next */ []);
16
+ this.fill = input(false, ...ngDevMode ? [{ debugName: "fill" }] : /* istanbul ignore next */ []);
17
+ this.displaySections = computed(() => this.showEmptyState() ? this.sections() : this.sections().filter((s) => s.items.some((i) => !i.hidden)), ...ngDevMode ? [{ debugName: "displaySections" }] : /* istanbul ignore next */ []);
18
+ }
19
+ hrefOf(item) {
20
+ let raw = item.href?.replace(/[\u0000-\u001F]/g, "").trim() ?? "";
21
+ if (!raw && item.email?.trim()) raw = "mailto:" + item.email.trim().replace(/[?#&%\s<>"]/g, (c) => encodeURIComponent(c));
22
+ if (!raw && item.phone?.trim()) {
23
+ const m = /^(.*?)(?:\s*(?:ext\.?|x|#)\s*(\d+))?\s*$/i.exec(item.phone.trim());
24
+ const num = m[1];
25
+ const digits = num.replace(/\D/g, "");
26
+ if (digits) raw = "tel:" + (num.trim().startsWith("+") ? "+" : "") + digits + (m[2] ? ";ext=" + m[2] : "");
27
+ }
28
+ if (!raw) return null;
29
+ const scheme = /^([a-z][a-z0-9+.\-]*):/i.exec(raw.replace(/[\u0000-\u0020]/g, ""));
30
+ return scheme && [
31
+ "mailto",
32
+ "tel",
33
+ "http",
34
+ "https"
35
+ ].includes(scheme[1].toLowerCase()) ? raw : null;
36
+ }
37
+ isWeb(href) {
38
+ return /^https?:/i.test(href.replace(/[\u0000-\u0020]/g, ""));
39
+ }
40
+ textOf(item) {
41
+ return item.value || item.email || item.phone || item.href || "";
42
+ }
43
+ valueOf(item) {
44
+ return item.value?.trim() ? item.value : "—";
45
+ }
46
+ statusStyle(variant) {
47
+ return BADGE_VARIANT_STYLES[variant] ?? BADGE_VARIANT_STYLES["gray"];
48
+ }
49
+ statusPath(icon) {
50
+ return iconPath(icon);
51
+ }
52
+ runHeaderAction(ha) {
53
+ if (!ha.disabled) ha.action();
54
+ }
55
+ visibleItems(section) {
56
+ return section.items.filter((i) => !i.hidden);
57
+ }
58
+ static {
59
+ this.ɵfac = i0.ɵɵngDeclareFactory({
60
+ minVersion: "12.0.0",
61
+ version: "22.2.2",
62
+ ngImport: i0,
63
+ type: PanelInfoListComponent,
64
+ deps: [],
65
+ target: i0.ɵɵFactoryTarget.Component
66
+ });
67
+ }
68
+ static {
69
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
70
+ minVersion: "17.0.0",
71
+ version: "22.2.2",
72
+ type: PanelInfoListComponent,
73
+ isStandalone: true,
74
+ selector: "ui-panel-info-list",
75
+ inputs: {
76
+ sections: {
77
+ classPropertyName: "sections",
78
+ publicName: "sections",
79
+ isSignal: true,
80
+ isRequired: false,
81
+ transformFunction: null
82
+ },
83
+ showEmptyState: {
84
+ classPropertyName: "showEmptyState",
85
+ publicName: "showEmptyState",
86
+ isSignal: true,
87
+ isRequired: false,
88
+ transformFunction: null
89
+ },
90
+ labelColon: {
91
+ classPropertyName: "labelColon",
92
+ publicName: "labelColon",
93
+ isSignal: true,
94
+ isRequired: false,
95
+ transformFunction: null
96
+ },
97
+ fill: {
98
+ classPropertyName: "fill",
99
+ publicName: "fill",
100
+ isSignal: true,
101
+ isRequired: false,
102
+ transformFunction: null
103
+ }
104
+ },
105
+ host: { properties: { "class.pil-fill": "fill()" } },
106
+ ngImport: i0,
107
+ template: `
108
+ @for (section of displaySections(); track $index) {
109
+ <div class="pil-section">
110
+ @if (section.title || section.headerAction || section.headerLink || section.status) {
111
+ <div class="pil-section-label">
112
+ @if (section.status; as st) {
113
+ <span class="pil-status" role="img" [attr.aria-label]="st.label" [attr.title]="st.label" [attr.data-status]="st.icon" [style.background]="statusStyle(st.variant).bg" [style.color]="statusStyle(st.variant).color">
114
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="statusPath(st.icon)" /></svg>
115
+ </span>
116
+ }
117
+ <span>{{ section.title }}</span>
118
+ @if (section.headerLink) {
119
+ <a class="pil-header-link" [routerLink]="section.headerLink.url">{{ section.headerLink.label }}</a>
120
+ }
121
+ @if (section.headerAction; as ha) {
122
+ <ui-button class="pil-header-action" variant="secondary" size="xs" [disabled]="!!ha.disabled" [ariaLabel]="ha.ariaLabel ?? ha.label" (click)="runHeaderAction(ha)">
123
+ @if (ha.icon) {
124
+ <svg class="pil-header-action-icon" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="ha.icon"/></svg>
125
+ }{{ ha.label }}</ui-button>
126
+ }
127
+ </div>
128
+ }
129
+ @if (visibleItems(section).length === 0) {
130
+ <ui-empty-state [message]="labels.t('panelInfoList.noInformationAvailable')" />
131
+ } @else if (section.columns === 2) {
132
+ <div class="pil-grid-2">
133
+ @for (item of visibleItems(section); track $index) {
134
+ <div class="pil-grid-cell" [class.pil-strong]="item.emphasis">
135
+ <span class="pil-label">{{ item.label }}{{ labelColon() ? ':' : '' }}</span>{{ labelColon() ? ' ' : '' }}
136
+ <span class="pil-value pil-value--block">
137
+ <ng-container *ngTemplateOutlet="valueTpl; context: { $implicit: item }" />
138
+ </span>
139
+ </div>
140
+ }
141
+ </div>
142
+ } @else {
143
+ @for (item of visibleItems(section); track $index) {
144
+ <div class="pil-row" [class.pil-row--inline]="labelColon()" [class.pil-strong]="item.emphasis">
145
+ <span class="pil-label">{{ item.label }}{{ labelColon() ? ':' : '' }}</span>{{ labelColon() ? ' ' : '' }}
146
+ <span class="pil-value">
147
+ <ng-container *ngTemplateOutlet="valueTpl; context: { $implicit: item }" />
148
+ </span>
149
+ </div>
150
+ }
151
+ }
152
+ </div>
153
+ }
154
+ <ng-template #valueTpl let-item>
155
+ @if (item.badges) {
156
+ <span class="pil-badges">
157
+ @for (b of item.badges; track $index) {
158
+ <ui-badge [label]="b.label" [variant]="b.variant" />
159
+ }
160
+ </span>
161
+ } @else if (item.badge) {
162
+ <ui-badge [label]="item.badge.label" [variant]="item.badge.variant" />
163
+ } @else if (hrefOf(item); as h) {
164
+ <a class="pil-link pil-link--href" [attr.href]="h" [attr.target]="isWeb(h) ? '_blank' : null" [attr.rel]="isWeb(h) ? 'noopener noreferrer' : null">{{ textOf(item) }}</a>
165
+ } @else if (item.link && item.value && item.linkIcon) {
166
+ <a class="pil-link-icon" [routerLink]="item.link">
167
+ {{ item.value }}
168
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" aria-hidden="true" focusable="false"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
169
+ </a>
170
+ } @else if (item.link && item.value) {
171
+ <a class="pil-link" [routerLink]="item.link">{{ item.value }}</a>
172
+ } @else {
173
+ <span [class.pil-muted]="item.muted" [class.pil-danger]="item.danger" [class.pil-multiline]="item.multiline">{{ valueOf(item) }}</span>
174
+ }
175
+ @if (item.editAction) {
176
+ <ui-icon class="pil-edit-btn" name="edit" [size]="14" [tooltip]="item.editTooltip ?? labels.t('common.edit')" (iconClick)="item.editAction()" />
177
+ }
178
+ @if (item.deleteAction) {
179
+ <ui-icon class="pil-edit-btn" name="delete" variant="danger" [size]="14" [tooltip]="item.deleteTooltip ?? labels.t('common.delete')" (iconClick)="item.deleteAction()" />
180
+ }
181
+ </ng-template>
182
+ `,
183
+ isInline: true,
184
+ styles: [":host{display:flex;flex-direction:column;gap:12px}:host(.pil-fill){flex:1;min-height:0}:host(.pil-fill) .pil-section{flex:1}.pil-section{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.pil-section-label{display:flex;justify-content:space-between;align-items:center;font-size:.6875rem;font-weight:700;letter-spacing:.07em;color:#64748b;text-transform:uppercase;padding:8px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.pil-header-action{text-transform:none;letter-spacing:0;margin:-4px 0;flex-shrink:0}.pil-header-action-icon{margin-right:6px;vertical-align:-2px;flex-shrink:0}.pil-status{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;margin:-2px 8px -2px 0;border-radius:50%}.pil-status+span{margin-right:auto}.pil-header-link{font-size:.75rem;font-weight:500;color:#2563eb;text-decoration:none;text-transform:none;letter-spacing:0}.pil-header-link:hover{text-decoration:underline}.pil-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #f1f5f9}.pil-row:last-child{border-bottom:none}.pil-row--inline{justify-content:flex-start}.pil-row--inline .pil-value{text-align:left;justify-content:flex-start;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-label{font-size:.8125rem;color:#64748b;flex-shrink:0}.pil-value{font-size:.875rem;font-weight:500;color:#1e293b;text-align:right;display:flex;align-items:center;justify-content:flex-end;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-multiline{white-space:pre-line;overflow-wrap:anywhere;word-break:break-word}.pil-strong .pil-label,.pil-strong .pil-value,.pil-strong .pil-muted{font-weight:700;color:#0f172a}.pil-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.pil-edit-btn{margin-left:4px;flex-shrink:0}ui-empty-state{padding:12px 0}.pil-muted{color:#1e293b;font-weight:400}.pil-danger{color:#dc2626;font-weight:600}.pil-link{font-size:.875rem;font-weight:500;color:#2563eb;text-decoration:none}.pil-link:hover{text-decoration:underline}.pil-link,.pil-link-icon,.pil-header-link{position:relative}@media(pointer:coarse),(max-width:480px){.pil-link:after,.pil-link-icon:after,.pil-header-link:after{content:\"\";position:absolute;inset:-14px -4px}}.pil-link--href{overflow-wrap:anywhere;word-break:break-word}.pil-link:focus-visible,.pil-link-icon:focus-visible,.pil-header-link:focus-visible{outline:2px solid #3b82f6;outline-offset:2px;border-radius:2px}.pil-link-icon{display:inline-flex;align-items:center;gap:5px;font-size:.875rem;font-weight:500;color:#1e293b;text-decoration:none}.pil-link-icon svg{color:#94a3b8;flex-shrink:0}.pil-grid-2{display:grid;grid-template-columns:1fr 1fr}.pil-grid-cell{display:flex;flex-direction:column;gap:3px;padding:10px 14px;min-width:0;border-right:1px solid #f1f5f9}.pil-grid-cell:last-child{border-right:none}.pil-grid-cell:nth-child(2n){border-right:none}@media(max-width:480px){.pil-grid-2{grid-template-columns:1fr}.pil-grid-cell{border-right:none;border-bottom:1px solid #f1f5f9}.pil-grid-cell:last-child{border-bottom:none}}.pil-value--block{text-align:left;justify-content:flex-start}\n"],
185
+ dependencies: [
186
+ {
187
+ kind: "directive",
188
+ type: NgTemplateOutlet,
189
+ selector: "[ngTemplateOutlet]",
190
+ inputs: [
191
+ "ngTemplateOutletContext",
192
+ "ngTemplateOutlet",
193
+ "ngTemplateOutletInjector"
194
+ ]
195
+ },
196
+ {
197
+ kind: "component",
198
+ type: BadgeComponent,
199
+ selector: "ui-badge",
200
+ inputs: [
201
+ "label",
202
+ "variant",
203
+ "color"
204
+ ]
205
+ },
206
+ {
207
+ kind: "component",
208
+ type: ButtonComponent,
209
+ selector: "ui-button",
210
+ inputs: [
211
+ "variant",
212
+ "routerLink",
213
+ "queryParams",
214
+ "fragment",
215
+ "state",
216
+ "href",
217
+ "target",
218
+ "rel",
219
+ "shortLabel",
220
+ "shortBelow",
221
+ "color",
222
+ "active",
223
+ "size",
224
+ "type",
225
+ "disabled",
226
+ "loading",
227
+ "fullWidth",
228
+ "ariaLabel",
229
+ "ariaExpanded",
230
+ "ariaPressed",
231
+ "ariaDescribedBy",
232
+ "modal-footer-left",
233
+ "modal-footer-right"
234
+ ]
235
+ },
236
+ {
237
+ kind: "directive",
238
+ type: RouterLink,
239
+ selector: "[routerLink]",
240
+ inputs: [
241
+ "target",
242
+ "queryParams",
243
+ "fragment",
244
+ "queryParamsHandling",
245
+ "state",
246
+ "info",
247
+ "relativeTo",
248
+ "preserveFragment",
249
+ "skipLocationChange",
250
+ "replaceUrl",
251
+ "browserUrl",
252
+ "routerLink"
253
+ ]
254
+ },
255
+ {
256
+ kind: "component",
257
+ type: EmptyStateComponent,
258
+ selector: "ui-empty-state",
259
+ inputs: [
260
+ "message",
261
+ "title",
262
+ "iconType"
263
+ ]
264
+ },
265
+ {
266
+ kind: "component",
267
+ type: IconComponent,
268
+ selector: "ui-icon",
269
+ inputs: [
270
+ "name",
271
+ "tooltip",
272
+ "ariaLabel",
273
+ "size",
274
+ "variant",
275
+ "disabled",
276
+ "loading",
277
+ "interactive"
278
+ ],
279
+ outputs: ["iconClick"]
280
+ }
281
+ ],
282
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
283
+ });
284
+ }
285
+ };
286
+ i0.ɵɵngDeclareClassMetadata({
287
+ minVersion: "12.0.0",
288
+ version: "22.2.2",
289
+ ngImport: i0,
290
+ type: PanelInfoListComponent,
291
+ decorators: [{
292
+ type: Component,
293
+ args: [{
294
+ selector: "ui-panel-info-list",
295
+ standalone: true,
296
+ changeDetection: ChangeDetectionStrategy.OnPush,
297
+ imports: [
298
+ NgTemplateOutlet,
299
+ BadgeComponent,
300
+ ButtonComponent,
301
+ RouterLink,
302
+ EmptyStateComponent,
303
+ IconComponent
304
+ ],
305
+ host: { "[class.pil-fill]": "fill()" },
306
+ template: `
307
+ @for (section of displaySections(); track $index) {
308
+ <div class="pil-section">
309
+ @if (section.title || section.headerAction || section.headerLink || section.status) {
310
+ <div class="pil-section-label">
311
+ @if (section.status; as st) {
312
+ <span class="pil-status" role="img" [attr.aria-label]="st.label" [attr.title]="st.label" [attr.data-status]="st.icon" [style.background]="statusStyle(st.variant).bg" [style.color]="statusStyle(st.variant).color">
313
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="statusPath(st.icon)" /></svg>
314
+ </span>
315
+ }
316
+ <span>{{ section.title }}</span>
317
+ @if (section.headerLink) {
318
+ <a class="pil-header-link" [routerLink]="section.headerLink.url">{{ section.headerLink.label }}</a>
319
+ }
320
+ @if (section.headerAction; as ha) {
321
+ <ui-button class="pil-header-action" variant="secondary" size="xs" [disabled]="!!ha.disabled" [ariaLabel]="ha.ariaLabel ?? ha.label" (click)="runHeaderAction(ha)">
322
+ @if (ha.icon) {
323
+ <svg class="pil-header-action-icon" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path [attr.d]="ha.icon"/></svg>
324
+ }{{ ha.label }}</ui-button>
325
+ }
326
+ </div>
327
+ }
328
+ @if (visibleItems(section).length === 0) {
329
+ <ui-empty-state [message]="labels.t('panelInfoList.noInformationAvailable')" />
330
+ } @else if (section.columns === 2) {
331
+ <div class="pil-grid-2">
332
+ @for (item of visibleItems(section); track $index) {
333
+ <div class="pil-grid-cell" [class.pil-strong]="item.emphasis">
334
+ <span class="pil-label">{{ item.label }}{{ labelColon() ? ':' : '' }}</span>{{ labelColon() ? ' ' : '' }}
335
+ <span class="pil-value pil-value--block">
336
+ <ng-container *ngTemplateOutlet="valueTpl; context: { $implicit: item }" />
337
+ </span>
338
+ </div>
339
+ }
340
+ </div>
341
+ } @else {
342
+ @for (item of visibleItems(section); track $index) {
343
+ <div class="pil-row" [class.pil-row--inline]="labelColon()" [class.pil-strong]="item.emphasis">
344
+ <span class="pil-label">{{ item.label }}{{ labelColon() ? ':' : '' }}</span>{{ labelColon() ? ' ' : '' }}
345
+ <span class="pil-value">
346
+ <ng-container *ngTemplateOutlet="valueTpl; context: { $implicit: item }" />
347
+ </span>
348
+ </div>
349
+ }
350
+ }
351
+ </div>
352
+ }
353
+ <ng-template #valueTpl let-item>
354
+ @if (item.badges) {
355
+ <span class="pil-badges">
356
+ @for (b of item.badges; track $index) {
357
+ <ui-badge [label]="b.label" [variant]="b.variant" />
358
+ }
359
+ </span>
360
+ } @else if (item.badge) {
361
+ <ui-badge [label]="item.badge.label" [variant]="item.badge.variant" />
362
+ } @else if (hrefOf(item); as h) {
363
+ <a class="pil-link pil-link--href" [attr.href]="h" [attr.target]="isWeb(h) ? '_blank' : null" [attr.rel]="isWeb(h) ? 'noopener noreferrer' : null">{{ textOf(item) }}</a>
364
+ } @else if (item.link && item.value && item.linkIcon) {
365
+ <a class="pil-link-icon" [routerLink]="item.link">
366
+ {{ item.value }}
367
+ <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" aria-hidden="true" focusable="false"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/><polyline points="15 3 21 3 21 9"/><line x1="10" y1="14" x2="21" y2="3"/></svg>
368
+ </a>
369
+ } @else if (item.link && item.value) {
370
+ <a class="pil-link" [routerLink]="item.link">{{ item.value }}</a>
371
+ } @else {
372
+ <span [class.pil-muted]="item.muted" [class.pil-danger]="item.danger" [class.pil-multiline]="item.multiline">{{ valueOf(item) }}</span>
373
+ }
374
+ @if (item.editAction) {
375
+ <ui-icon class="pil-edit-btn" name="edit" [size]="14" [tooltip]="item.editTooltip ?? labels.t('common.edit')" (iconClick)="item.editAction()" />
376
+ }
377
+ @if (item.deleteAction) {
378
+ <ui-icon class="pil-edit-btn" name="delete" variant="danger" [size]="14" [tooltip]="item.deleteTooltip ?? labels.t('common.delete')" (iconClick)="item.deleteAction()" />
379
+ }
380
+ </ng-template>
381
+ `,
382
+ styles: [":host{display:flex;flex-direction:column;gap:12px}:host(.pil-fill){flex:1;min-height:0}:host(.pil-fill) .pil-section{flex:1}.pil-section{border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.pil-section-label{display:flex;justify-content:space-between;align-items:center;font-size:.6875rem;font-weight:700;letter-spacing:.07em;color:#64748b;text-transform:uppercase;padding:8px 14px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.pil-header-action{text-transform:none;letter-spacing:0;margin:-4px 0;flex-shrink:0}.pil-header-action-icon{margin-right:6px;vertical-align:-2px;flex-shrink:0}.pil-status{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:20px;height:20px;margin:-2px 8px -2px 0;border-radius:50%}.pil-status+span{margin-right:auto}.pil-header-link{font-size:.75rem;font-weight:500;color:#2563eb;text-decoration:none;text-transform:none;letter-spacing:0}.pil-header-link:hover{text-decoration:underline}.pil-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid #f1f5f9}.pil-row:last-child{border-bottom:none}.pil-row--inline{justify-content:flex-start}.pil-row--inline .pil-value{text-align:left;justify-content:flex-start;flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-label{font-size:.8125rem;color:#64748b;flex-shrink:0}.pil-value{font-size:.875rem;font-weight:500;color:#1e293b;text-align:right;display:flex;align-items:center;justify-content:flex-end;min-width:0;overflow-wrap:anywhere;word-break:break-word}.pil-multiline{white-space:pre-line;overflow-wrap:anywhere;word-break:break-word}.pil-strong .pil-label,.pil-strong .pil-value,.pil-strong .pil-muted{font-weight:700;color:#0f172a}.pil-badges{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}.pil-edit-btn{margin-left:4px;flex-shrink:0}ui-empty-state{padding:12px 0}.pil-muted{color:#1e293b;font-weight:400}.pil-danger{color:#dc2626;font-weight:600}.pil-link{font-size:.875rem;font-weight:500;color:#2563eb;text-decoration:none}.pil-link:hover{text-decoration:underline}.pil-link,.pil-link-icon,.pil-header-link{position:relative}@media(pointer:coarse),(max-width:480px){.pil-link:after,.pil-link-icon:after,.pil-header-link:after{content:\"\";position:absolute;inset:-14px -4px}}.pil-link--href{overflow-wrap:anywhere;word-break:break-word}.pil-link:focus-visible,.pil-link-icon:focus-visible,.pil-header-link:focus-visible{outline:2px solid #3b82f6;outline-offset:2px;border-radius:2px}.pil-link-icon{display:inline-flex;align-items:center;gap:5px;font-size:.875rem;font-weight:500;color:#1e293b;text-decoration:none}.pil-link-icon svg{color:#94a3b8;flex-shrink:0}.pil-grid-2{display:grid;grid-template-columns:1fr 1fr}.pil-grid-cell{display:flex;flex-direction:column;gap:3px;padding:10px 14px;min-width:0;border-right:1px solid #f1f5f9}.pil-grid-cell:last-child{border-right:none}.pil-grid-cell:nth-child(2n){border-right:none}@media(max-width:480px){.pil-grid-2{grid-template-columns:1fr}.pil-grid-cell{border-right:none;border-bottom:1px solid #f1f5f9}.pil-grid-cell:last-child{border-bottom:none}}.pil-value--block{text-align:left;justify-content:flex-start}\n"]
383
+ }]
384
+ }],
385
+ propDecorators: {
386
+ sections: [{
387
+ type: i0.Input,
388
+ args: [{
389
+ isSignal: true,
390
+ alias: "sections",
391
+ required: false
392
+ }]
393
+ }],
394
+ showEmptyState: [{
395
+ type: i0.Input,
396
+ args: [{
397
+ isSignal: true,
398
+ alias: "showEmptyState",
399
+ required: false
400
+ }]
401
+ }],
402
+ labelColon: [{
403
+ type: i0.Input,
404
+ args: [{
405
+ isSignal: true,
406
+ alias: "labelColon",
407
+ required: false
408
+ }]
409
+ }],
410
+ fill: [{
411
+ type: i0.Input,
412
+ args: [{
413
+ isSignal: true,
414
+ alias: "fill",
415
+ required: false
416
+ }]
417
+ }]
418
+ }
419
+ });
420
+ export { PanelInfoListComponent };
421
+
422
+ //# sourceMappingURL=forgeroute-ui-panel-info-list.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgeroute-ui-panel-info-list.mjs","names":[],"sources":["../../../projects/forgeroute-ui/panel-info-list/src/lib/panel-info-list/panel-info-list.component.ts"],"sourcesContent":["import { Component, ChangeDetectionStrategy, input, computed, inject } from '@angular/core';\nimport { NgTemplateOutlet } from '@angular/common';\nimport { RouterLink } from '@angular/router';\nimport { BadgeComponent } from '@forgeroute/ui/badge';\nimport { ButtonComponent } from '@forgeroute/ui/core';\nimport { EmptyStateComponent } from '@forgeroute/ui/empty-state';\nimport { IconComponent, iconPath } from '@forgeroute/ui/icon';\nimport { BADGE_VARIANT_STYLES, BadgeVariant } from '@forgeroute/ui/table-types';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\nexport interface PanelInfoItem {\n label: string;\n value?: string | null;\n badge?: { label: string; variant: BadgeVariant };\n badges?: Array<{ label: string; variant: BadgeVariant }>;\n /** Router link for the value. */\n link?: string;\n /**\n * A real `<a href>` for the value (the visible `value` is the link text). Only `mailto:`, `tel:`, `http:` and `https:` are\n * allowed; any other scheme (`javascript:`, `data:` ...) renders the value as plain text. `http(s)` links open in a new tab with\n * `rel=\"noopener noreferrer\"`. Wins over `email` / `phone` / `link`.\n */\n href?: string;\n /** Shortcut: the value becomes a `mailto:` link to this address (the value defaults to the address). */\n email?: string;\n /** Shortcut: the value becomes a `tel:` link to this number (digits and a leading + are kept; the value defaults to the number as written). */\n phone?: string;\n /** Show the value with an \"open\" icon instead of blue link styling. */\n linkIcon?: boolean;\n /** Renders a small edit (pencil) `ui-icon` button after the value; `editTooltip` is its tooltip and accessible name (default \"Edit\"). */\n editAction?: () => void;\n editTooltip?: string;\n /** Renders a small delete (bin) `ui-icon` button after the edit pencil; the host asks for confirmation and does the deleting. `deleteTooltip` is its tooltip and accessible name (default \"Delete\"). */\n deleteAction?: () => void;\n deleteTooltip?: string;\n muted?: boolean;\n danger?: boolean;\n hidden?: boolean;\n /** Keep the line breaks of `value` (an address, a note); long lines still wrap. Plain values only. */\n multiline?: boolean;\n /** Bold row: the label and the value in the strong text colour and weight (a total, a balance due). */\n emphasis?: boolean;\n}\n\nexport interface PanelInfoSection {\n title?: string;\n headerLink?: { label: string; url: string };\n /**\n * A small secondary button at the end of the section's header bar (e.g. \"Add item\" for a list of line items). `action` runs on\n * click; `ariaLabel` is the accessible name when the visible label is not enough (default: the label). The header bar is shown\n * for a section with a `headerAction` even when it has no `title`. Not rendered for a section with no visible items unless\n * `showEmptyState` keeps the section. `icon` is an optional SVG path (the `d` value, 24x24 grid, same convention as a toolbar action's\n * `icon`) drawn before the label; it is decorative, so the accessible name stays the label / `ariaLabel`.\n */\n headerAction?: { label: string; action: () => void; ariaLabel?: string; disabled?: boolean; icon?: string };\n items: PanelInfoItem[];\n columns?: 2;\n /**\n * A state mark drawn before the section's title in the header bar: a round tile in the colours of the badge `variant` holding a check (`icon: 'check'`)\n * or a cross (`icon: 'close'`). `label` (\"Done\", \"Not done\") is the mark's accessible name (the tile has no visible text; the shape tells check from cross,\n * so the colour is never the only signal) and its hover tooltip. The header bar is shown for a section with a `status` even without a `title`.\n * Absent: the header bar is as before.\n */\n status?: { icon: 'check' | 'close'; label: string; variant: BadgeVariant };\n}\n\n/**\n * Read-only label/value list for side panels and detail views, grouped into bordered\n * sections. Items with `hidden: true` are skipped; sections with no visible items are\n * dropped unless `showEmptyState` is set (then they show an empty-state message).\n *\n * Usage:\n * <ui-panel-info-list [sections]=\"[{ title: 'DETAILS', items: [\n * { label: 'Status', badge: { label: 'Pending', variant: 'yellow' } },\n * { label: 'Notes', value: notes, hidden: !notes },\n * ] }]\" />\n */\n@Component({\n selector: 'ui-panel-info-list',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [NgTemplateOutlet, BadgeComponent, ButtonComponent, RouterLink, EmptyStateComponent, IconComponent],\n host: { '[class.pil-fill]': 'fill()' },\n template: `\n @for (section of displaySections(); track $index) {\n <div class=\"pil-section\">\n @if (section.title || section.headerAction || section.headerLink || section.status) {\n <div class=\"pil-section-label\">\n @if (section.status; as st) {\n <span class=\"pil-status\" role=\"img\" [attr.aria-label]=\"st.label\" [attr.title]=\"st.label\" [attr.data-status]=\"st.icon\" [style.background]=\"statusStyle(st.variant).bg\" [style.color]=\"statusStyle(st.variant).color\">\n <svg width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"3\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path [attr.d]=\"statusPath(st.icon)\" /></svg>\n </span>\n }\n <span>{{ section.title }}</span>\n @if (section.headerLink) {\n <a class=\"pil-header-link\" [routerLink]=\"section.headerLink.url\">{{ section.headerLink.label }}</a>\n }\n @if (section.headerAction; as ha) {\n <ui-button class=\"pil-header-action\" variant=\"secondary\" size=\"xs\" [disabled]=\"!!ha.disabled\" [ariaLabel]=\"ha.ariaLabel ?? ha.label\" (click)=\"runHeaderAction(ha)\">\n @if (ha.icon) {\n <svg class=\"pil-header-action-icon\" width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\" focusable=\"false\"><path [attr.d]=\"ha.icon\"/></svg>\n }{{ ha.label }}</ui-button>\n }\n </div>\n }\n @if (visibleItems(section).length === 0) {\n <ui-empty-state [message]=\"labels.t('panelInfoList.noInformationAvailable')\" />\n } @else if (section.columns === 2) {\n <div class=\"pil-grid-2\">\n @for (item of visibleItems(section); track $index) {\n <div class=\"pil-grid-cell\" [class.pil-strong]=\"item.emphasis\">\n <span class=\"pil-label\">{{ item.label }}{{ labelColon() ? ':' : '' }}</span>{{ labelColon() ? ' ' : '' }}\n <span class=\"pil-value pil-value--block\">\n <ng-container *ngTemplateOutlet=\"valueTpl; context: { $implicit: item }\" />\n </span>\n </div>\n }\n </div>\n } @else {\n @for (item of visibleItems(section); track $index) {\n <div class=\"pil-row\" [class.pil-row--inline]=\"labelColon()\" [class.pil-strong]=\"item.emphasis\">\n <span class=\"pil-label\">{{ item.label }}{{ labelColon() ? ':' : '' }}</span>{{ labelColon() ? ' ' : '' }}\n <span class=\"pil-value\">\n <ng-container *ngTemplateOutlet=\"valueTpl; context: { $implicit: item }\" />\n </span>\n </div>\n }\n }\n </div>\n }\n <ng-template #valueTpl let-item>\n @if (item.badges) {\n <span class=\"pil-badges\">\n @for (b of item.badges; track $index) {\n <ui-badge [label]=\"b.label\" [variant]=\"b.variant\" />\n }\n </span>\n } @else if (item.badge) {\n <ui-badge [label]=\"item.badge.label\" [variant]=\"item.badge.variant\" />\n } @else if (hrefOf(item); as h) {\n <a class=\"pil-link pil-link--href\" [attr.href]=\"h\" [attr.target]=\"isWeb(h) ? '_blank' : null\" [attr.rel]=\"isWeb(h) ? 'noopener noreferrer' : null\">{{ textOf(item) }}</a>\n } @else if (item.link && item.value && item.linkIcon) {\n <a class=\"pil-link-icon\" [routerLink]=\"item.link\">\n {{ item.value }}\n <svg width=\"12\" height=\"12\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\"/><polyline points=\"15 3 21 3 21 9\"/><line x1=\"10\" y1=\"14\" x2=\"21\" y2=\"3\"/></svg>\n </a>\n } @else if (item.link && item.value) {\n <a class=\"pil-link\" [routerLink]=\"item.link\">{{ item.value }}</a>\n } @else {\n <span [class.pil-muted]=\"item.muted\" [class.pil-danger]=\"item.danger\" [class.pil-multiline]=\"item.multiline\">{{ valueOf(item) }}</span>\n }\n @if (item.editAction) {\n <ui-icon class=\"pil-edit-btn\" name=\"edit\" [size]=\"14\" [tooltip]=\"item.editTooltip ?? labels.t('common.edit')\" (iconClick)=\"item.editAction()\" />\n }\n @if (item.deleteAction) {\n <ui-icon class=\"pil-edit-btn\" name=\"delete\" variant=\"danger\" [size]=\"14\" [tooltip]=\"item.deleteTooltip ?? labels.t('common.delete')\" (iconClick)=\"item.deleteAction()\" />\n }\n </ng-template>\n `,\n styles: [`\n :host { display: flex; flex-direction: column; gap: 12px; }\n /* fill: the list grows to the height of its container (a grid cell / flex item) and its section's box stretches with it */\n :host(.pil-fill) { flex: 1; min-height: 0; }\n :host(.pil-fill) .pil-section { flex: 1; }\n\n .pil-section {\n border: 1px solid #e2e8f0;\n border-radius: 8px;\n overflow: hidden;\n }\n\n .pil-section-label {\n display: flex;\n justify-content: space-between;\n align-items: center;\n font-size: 0.6875rem;\n font-weight: 700;\n letter-spacing: 0.07em;\n color: #64748b; /* slate-500: 4.55:1 on #f8fafc (slate-400 was 2.45:1) */\n text-transform: uppercase;\n padding: 8px 14px;\n background: #f8fafc;\n border-bottom: 1px solid #e2e8f0;\n }\n\n /* the header action sits at the end of the bar; the bar keeps its height with a button in it */\n .pil-header-action { text-transform: none; letter-spacing: 0; margin: -4px 0; flex-shrink: 0; }\n .pil-header-action-icon { margin-right: 6px; vertical-align: -2px; flex-shrink: 0; }\n\n /* status: the mark sits next to the title (the title takes the free space, so a link or action still ends the bar) */\n .pil-status { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; margin: -2px 8px -2px 0; border-radius: 50%; }\n .pil-status + span { margin-right: auto; }\n\n .pil-header-link {\n font-size: 0.75rem;\n font-weight: 500;\n color: #2563eb;\n text-decoration: none;\n text-transform: none;\n letter-spacing: 0;\n &:hover { text-decoration: underline; }\n }\n\n .pil-row {\n display: flex;\n justify-content: space-between;\n align-items: center;\n gap: 12px;\n padding: 9px 14px;\n border-bottom: 1px solid #f1f5f9;\n &:last-child { border-bottom: none; }\n }\n\n /* labelColon: \"Label: value\" on one line, value next to the label */\n .pil-row--inline { justify-content: flex-start; }\n .pil-row--inline .pil-value { text-align: left; justify-content: flex-start; flex-wrap: wrap; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }\n\n .pil-label {\n font-size: 0.8125rem;\n color: #64748b;\n flex-shrink: 0;\n }\n\n .pil-value {\n font-size: 0.875rem;\n font-weight: 500;\n color: #1e293b;\n text-align: right;\n display: flex;\n align-items: center;\n justify-content: flex-end;\n min-width: 0; /* a long unbroken value wraps instead of pushing the row wider than the panel */\n overflow-wrap: anywhere;\n word-break: break-word;\n }\n\n /* multiline: keep the line breaks of the value; strong: a bold row */\n .pil-multiline { white-space: pre-line; overflow-wrap: anywhere; word-break: break-word; }\n .pil-strong .pil-label { font-weight: 700; color: #0f172a; }\n .pil-strong .pil-value, .pil-strong .pil-muted { font-weight: 700; color: #0f172a; }\n .pil-badges { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }\n\n .pil-edit-btn { margin-left: 4px; flex-shrink: 0; }\n\n ui-empty-state { padding: 12px 0; }\n .pil-muted { color: #1e293b; font-weight: 400; }\n .pil-danger { color: #dc2626; font-weight: 600; } /* #dc2626 on white = 4.83:1 (the old #ef4444 was 3.76:1, below WCAG AA 4.5:1) */\n\n .pil-link {\n font-size: 0.875rem;\n font-weight: 500;\n color: #2563eb;\n text-decoration: none;\n &:hover { text-decoration: underline; }\n }\n\n /* Touch targets: the value links (phone, email, web, record link) and the section header link get a >= 44px tall hit area through an invisible ::after\n (the visible text stays as it is, desktop unchanged). position: relative is set at every width so the ::after has its containing block. */\n .pil-link, .pil-link-icon, .pil-header-link { position: relative; }\n @media (pointer: coarse), (max-width: 480px) {\n .pil-link::after, .pil-link-icon::after, .pil-header-link::after { content: ''; position: absolute; inset: -14px -4px; }\n }\n\n .pil-link--href { overflow-wrap: anywhere; word-break: break-word; } /* word-break: Safari < 15.4 has no overflow-wrap: anywhere */\n .pil-link:focus-visible, .pil-link-icon:focus-visible, .pil-header-link:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; border-radius: 2px; }\n\n .pil-link-icon {\n display: inline-flex;\n align-items: center;\n gap: 5px;\n font-size: 0.875rem;\n font-weight: 500;\n color: #1e293b;\n text-decoration: none;\n svg { color: #94a3b8; flex-shrink: 0; }\n }\n\n .pil-grid-2 {\n display: grid;\n grid-template-columns: 1fr 1fr;\n }\n\n .pil-grid-cell {\n display: flex;\n flex-direction: column;\n gap: 3px;\n padding: 10px 14px;\n min-width: 0;\n border-right: 1px solid #f1f5f9;\n &:last-child { border-right: none; }\n &:nth-child(even) { border-right: none; }\n }\n\n /* phones: one column, so two long values never squeeze each other */\n @media (max-width: 480px) {\n .pil-grid-2 { grid-template-columns: 1fr; }\n .pil-grid-cell { border-right: none; border-bottom: 1px solid #f1f5f9; &:last-child { border-bottom: none; } }\n }\n\n .pil-value--block {\n text-align: left;\n justify-content: flex-start;\n }\n `],\n})\nexport class PanelInfoListComponent {\n protected readonly labels = inject(UiLabelsService);\n readonly sections = input<PanelInfoSection[]>([]);\n readonly showEmptyState = input(false);\n /**\n * true = each row reads \"Label: value\" (a colon after the label and a real space, so `textContent` is \"Label: value\") with the value\n * next to the label instead of pushed to the right edge. Works with plain values, links (href / email / phone / link) and badges.\n * Default false = the label and value as before.\n */\n readonly labelColon = input(false);\n /**\n * The list stretches to the height of its container (a grid cell or flex item with a definite height), so lists side by side in\n * one grid row end at the same height; with one section, that section's box fills the height. Default false = as tall as its content.\n */\n readonly fill = input(false);\n\n readonly displaySections = computed(() =>\n this.showEmptyState()\n ? this.sections()\n : this.sections().filter(s => s.items.some(i => !i.hidden))\n );\n\n /**\n * The safe href of an item, or null: `href` first, else `mailto:`/`tel:` built from `email`/`phone`. Only mailto, tel, http and https\n * are allowed (the scheme is checked after removing control characters and spaces, like browsers do).\n */\n hrefOf(item: PanelInfoItem): string | null {\n // control characters (tab, newline ...) are dropped, as browsers do, so the sanitised href and the scheme check see the same text\n let raw = item.href?.replace(/[\\u0000-\\u001F]/g, '').trim() ?? '';\n if (!raw && item.email?.trim()) {\n // encode what would start a mailto: header (?bcc=..., &body=...) or break the URL\n raw = 'mailto:' + item.email.trim().replace(/[?#&%\\s<>\"]/g, c => encodeURIComponent(c));\n }\n if (!raw && item.phone?.trim()) {\n // \"555-0100 ext 12\" / \"x12\" / \"#12\": the extension is its own ;ext= part, never glued onto the number\n const m = /^(.*?)(?:\\s*(?:ext\\.?|x|#)\\s*(\\d+))?\\s*$/i.exec(item.phone.trim())!;\n const num = m[1];\n const digits = num.replace(/\\D/g, '');\n if (digits) raw = 'tel:' + (num.trim().startsWith('+') ? '+' : '') + digits + (m[2] ? ';ext=' + m[2] : '');\n }\n if (!raw) return null;\n const scheme = /^([a-z][a-z0-9+.\\-]*):/i.exec(raw.replace(/[\\u0000-\\u0020]/g, ''));\n return scheme && ['mailto', 'tel', 'http', 'https'].includes(scheme[1].toLowerCase()) ? raw : null;\n }\n isWeb(href: string): boolean { return /^https?:/i.test(href.replace(/[\\u0000-\\u0020]/g, '')); }\n /** Link text: the value, else the email / phone as written. */\n textOf(item: PanelInfoItem): string { return item.value || item.email || item.phone || item.href || ''; }\n\n /** Plain value, or the dash for an empty / blank one. */\n valueOf(item: PanelInfoItem): string { return item.value?.trim() ? item.value : '—'; }\n\n /** Colours of a section's `status` mark: the badge colours of its variant (an unknown variant falls back to gray, like the badge). */\n statusStyle(variant: BadgeVariant): { bg: string; color: string } { return BADGE_VARIANT_STYLES[variant] ?? BADGE_VARIANT_STYLES['gray']; }\n\n /** SVG path of a section's `status` icon (the library's own check and close icons). */\n statusPath(icon: 'check' | 'close'): string { return iconPath(icon)!; }\n\n /** A disabled header action never runs, even when the click reaches the host element. */\n runHeaderAction(ha: NonNullable<PanelInfoSection['headerAction']>): void { if (!ha.disabled) ha.action(); }\n\n visibleItems(section: PanelInfoSection): PanelInfoItem[] {\n return section.items.filter(i => !i.hidden);\n }\n}\n"],"mappings":"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"}