@forgeroute/ui 0.5.16 → 0.5.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. package/fesm2022/forgeroute-ui-action-bar.mjs +190 -0
  2. package/fesm2022/forgeroute-ui-action-bar.mjs.map +1 -0
  3. package/fesm2022/forgeroute-ui-address-input.mjs +1164 -0
  4. package/fesm2022/forgeroute-ui-address-input.mjs.map +1 -0
  5. package/fesm2022/forgeroute-ui-alert.mjs +223 -0
  6. package/fesm2022/forgeroute-ui-alert.mjs.map +1 -0
  7. package/fesm2022/forgeroute-ui-avatar.mjs +320 -0
  8. package/fesm2022/forgeroute-ui-avatar.mjs.map +1 -0
  9. package/fesm2022/forgeroute-ui-badge.mjs +158 -0
  10. package/fesm2022/forgeroute-ui-badge.mjs.map +1 -0
  11. package/fesm2022/forgeroute-ui-bar-row.mjs +255 -0
  12. package/fesm2022/forgeroute-ui-bar-row.mjs.map +1 -0
  13. package/fesm2022/forgeroute-ui-boards.mjs +2201 -0
  14. package/fesm2022/forgeroute-ui-boards.mjs.map +1 -0
  15. package/fesm2022/forgeroute-ui-bulk-eligible.mjs +172 -0
  16. package/fesm2022/forgeroute-ui-bulk-eligible.mjs.map +1 -0
  17. package/fesm2022/forgeroute-ui-business-hours.mjs +771 -0
  18. package/fesm2022/forgeroute-ui-business-hours.mjs.map +1 -0
  19. package/fesm2022/forgeroute-ui-calendar.mjs +2006 -0
  20. package/fesm2022/forgeroute-ui-calendar.mjs.map +1 -0
  21. package/fesm2022/forgeroute-ui-card-list-item.mjs +556 -0
  22. package/fesm2022/forgeroute-ui-card-list-item.mjs.map +1 -0
  23. package/fesm2022/forgeroute-ui-charts.mjs +1 -1
  24. package/fesm2022/forgeroute-ui-charts.mjs.map +1 -1
  25. package/fesm2022/forgeroute-ui-checkbox.mjs +815 -0
  26. package/fesm2022/forgeroute-ui-checkbox.mjs.map +1 -0
  27. package/fesm2022/forgeroute-ui-chip.mjs +379 -0
  28. package/fesm2022/forgeroute-ui-chip.mjs.map +1 -0
  29. package/fesm2022/forgeroute-ui-color-input.mjs +492 -0
  30. package/fesm2022/forgeroute-ui-color-input.mjs.map +1 -0
  31. package/fesm2022/forgeroute-ui-column-filter.mjs +645 -0
  32. package/fesm2022/forgeroute-ui-column-filter.mjs.map +1 -0
  33. package/fesm2022/forgeroute-ui-columns.mjs +351 -0
  34. package/fesm2022/forgeroute-ui-columns.mjs.map +1 -0
  35. package/fesm2022/forgeroute-ui-combobox.mjs +772 -0
  36. package/fesm2022/forgeroute-ui-combobox.mjs.map +1 -0
  37. package/fesm2022/forgeroute-ui-confirm.mjs +48 -0
  38. package/fesm2022/forgeroute-ui-confirm.mjs.map +1 -0
  39. package/fesm2022/forgeroute-ui-contact-picker.mjs +865 -0
  40. package/fesm2022/forgeroute-ui-contact-picker.mjs.map +1 -0
  41. package/fesm2022/forgeroute-ui-conversations.mjs +3627 -0
  42. package/fesm2022/forgeroute-ui-conversations.mjs.map +1 -0
  43. package/fesm2022/forgeroute-ui-copy-field.mjs +378 -0
  44. package/fesm2022/forgeroute-ui-copy-field.mjs.map +1 -0
  45. package/fesm2022/{forgeroute-ui-core-ui-labels.es-Dzj_XJJM.mjs → forgeroute-ui-core-ui-labels.es-Woi3az70.mjs} +186 -2
  46. package/fesm2022/{forgeroute-ui-core-ui-labels.es-Dzj_XJJM.mjs.map → forgeroute-ui-core-ui-labels.es-Woi3az70.mjs.map} +1 -1
  47. package/fesm2022/forgeroute-ui-core.mjs +186 -2
  48. package/fesm2022/forgeroute-ui-core.mjs.map +1 -1
  49. package/fesm2022/forgeroute-ui-data-table-core.mjs +6150 -0
  50. package/fesm2022/forgeroute-ui-data-table-core.mjs.map +1 -0
  51. package/fesm2022/forgeroute-ui-date-input.mjs +384 -0
  52. package/fesm2022/forgeroute-ui-date-input.mjs.map +1 -0
  53. package/fesm2022/forgeroute-ui-date-range-picker.mjs +453 -0
  54. package/fesm2022/forgeroute-ui-date-range-picker.mjs.map +1 -0
  55. package/fesm2022/forgeroute-ui-datetime-input.mjs +375 -0
  56. package/fesm2022/forgeroute-ui-datetime-input.mjs.map +1 -0
  57. package/fesm2022/forgeroute-ui-detail-card.mjs +655 -0
  58. package/fesm2022/forgeroute-ui-detail-card.mjs.map +1 -0
  59. package/fesm2022/forgeroute-ui-discount-selector.mjs +259 -0
  60. package/fesm2022/forgeroute-ui-discount-selector.mjs.map +1 -0
  61. package/fesm2022/forgeroute-ui-divider.mjs +111 -0
  62. package/fesm2022/forgeroute-ui-divider.mjs.map +1 -0
  63. package/fesm2022/forgeroute-ui-dropdown.mjs +550 -0
  64. package/fesm2022/forgeroute-ui-dropdown.mjs.map +1 -0
  65. package/fesm2022/forgeroute-ui-editor.mjs +4545 -0
  66. package/fesm2022/forgeroute-ui-editor.mjs.map +1 -0
  67. package/fesm2022/forgeroute-ui-empty-state.mjs +231 -0
  68. package/fesm2022/forgeroute-ui-empty-state.mjs.map +1 -0
  69. package/fesm2022/forgeroute-ui-error-state.mjs +195 -0
  70. package/fesm2022/forgeroute-ui-error-state.mjs.map +1 -0
  71. package/fesm2022/forgeroute-ui-error.mjs +93 -0
  72. package/fesm2022/forgeroute-ui-error.mjs.map +1 -0
  73. package/fesm2022/forgeroute-ui-fade.mjs +117 -0
  74. package/fesm2022/forgeroute-ui-fade.mjs.map +1 -0
  75. package/fesm2022/forgeroute-ui-file-input.mjs +999 -0
  76. package/fesm2022/forgeroute-ui-file-input.mjs.map +1 -0
  77. package/fesm2022/forgeroute-ui-fixed-footer.mjs +115 -0
  78. package/fesm2022/forgeroute-ui-fixed-footer.mjs.map +1 -0
  79. package/fesm2022/forgeroute-ui-form-row.mjs +126 -0
  80. package/fesm2022/forgeroute-ui-form-row.mjs.map +1 -0
  81. package/fesm2022/forgeroute-ui-form-section.mjs +93 -0
  82. package/fesm2022/forgeroute-ui-form-section.mjs.map +1 -0
  83. package/fesm2022/forgeroute-ui-form.mjs +139 -0
  84. package/fesm2022/forgeroute-ui-form.mjs.map +1 -0
  85. package/fesm2022/forgeroute-ui-hint.mjs +47 -0
  86. package/fesm2022/forgeroute-ui-hint.mjs.map +1 -0
  87. package/fesm2022/forgeroute-ui-icon-picker.mjs +424 -0
  88. package/fesm2022/forgeroute-ui-icon-picker.mjs.map +1 -0
  89. package/fesm2022/forgeroute-ui-icon.mjs +311 -0
  90. package/fesm2022/forgeroute-ui-icon.mjs.map +1 -0
  91. package/fesm2022/forgeroute-ui-image-preview.mjs +237 -0
  92. package/fesm2022/forgeroute-ui-image-preview.mjs.map +1 -0
  93. package/fesm2022/forgeroute-ui-keypad.mjs +278 -0
  94. package/fesm2022/forgeroute-ui-keypad.mjs.map +1 -0
  95. package/fesm2022/forgeroute-ui-kpi-card.mjs +490 -0
  96. package/fesm2022/forgeroute-ui-kpi-card.mjs.map +1 -0
  97. package/fesm2022/forgeroute-ui-language-switcher.mjs +134 -0
  98. package/fesm2022/forgeroute-ui-language-switcher.mjs.map +1 -0
  99. package/fesm2022/forgeroute-ui-layout.mjs +18 -0
  100. package/fesm2022/forgeroute-ui-layout.mjs.map +1 -0
  101. package/fesm2022/forgeroute-ui-list-item.mjs +620 -0
  102. package/fesm2022/forgeroute-ui-list-item.mjs.map +1 -0
  103. package/fesm2022/forgeroute-ui-list.mjs +866 -0
  104. package/fesm2022/forgeroute-ui-list.mjs.map +1 -0
  105. package/fesm2022/forgeroute-ui-live-region.mjs +118 -0
  106. package/fesm2022/forgeroute-ui-live-region.mjs.map +1 -0
  107. package/fesm2022/forgeroute-ui-map.mjs +5 -1
  108. package/fesm2022/forgeroute-ui-map.mjs.map +1 -1
  109. package/fesm2022/forgeroute-ui-maps.mjs +2 -1
  110. package/fesm2022/forgeroute-ui-maps.mjs.map +1 -1
  111. package/fesm2022/forgeroute-ui-media.mjs +4615 -0
  112. package/fesm2022/forgeroute-ui-media.mjs.map +1 -0
  113. package/fesm2022/forgeroute-ui-messaging.mjs +20 -1
  114. package/fesm2022/forgeroute-ui-messaging.mjs.map +1 -1
  115. package/fesm2022/forgeroute-ui-more-menu.mjs +418 -0
  116. package/fesm2022/forgeroute-ui-more-menu.mjs.map +1 -0
  117. package/fesm2022/forgeroute-ui-multi-select.mjs +532 -0
  118. package/fesm2022/forgeroute-ui-multi-select.mjs.map +1 -0
  119. package/fesm2022/forgeroute-ui-notes.mjs +768 -0
  120. package/fesm2022/forgeroute-ui-notes.mjs.map +1 -0
  121. package/fesm2022/forgeroute-ui-notification-bell.mjs +587 -0
  122. package/fesm2022/forgeroute-ui-notification-bell.mjs.map +1 -0
  123. package/fesm2022/forgeroute-ui-offline-banner.mjs +156 -0
  124. package/fesm2022/forgeroute-ui-offline-banner.mjs.map +1 -0
  125. package/fesm2022/forgeroute-ui-option-card.mjs +379 -0
  126. package/fesm2022/forgeroute-ui-option-card.mjs.map +1 -0
  127. package/fesm2022/forgeroute-ui-page.mjs +317 -0
  128. package/fesm2022/forgeroute-ui-page.mjs.map +1 -0
  129. package/fesm2022/forgeroute-ui-pagination.mjs +225 -0
  130. package/fesm2022/forgeroute-ui-pagination.mjs.map +1 -0
  131. package/fesm2022/forgeroute-ui-panel-info-list.mjs +422 -0
  132. package/fesm2022/forgeroute-ui-panel-info-list.mjs.map +1 -0
  133. package/fesm2022/forgeroute-ui-password-requirements.mjs +237 -0
  134. package/fesm2022/forgeroute-ui-password-requirements.mjs.map +1 -0
  135. package/fesm2022/forgeroute-ui-payments.mjs +6258 -0
  136. package/fesm2022/forgeroute-ui-payments.mjs.map +1 -0
  137. package/fesm2022/forgeroute-ui-pdf.mjs +9 -1
  138. package/fesm2022/forgeroute-ui-pdf.mjs.map +1 -1
  139. package/fesm2022/forgeroute-ui-phone-number-picker.mjs +840 -0
  140. package/fesm2022/forgeroute-ui-phone-number-picker.mjs.map +1 -0
  141. package/fesm2022/forgeroute-ui-pill-tabs.mjs +546 -0
  142. package/fesm2022/forgeroute-ui-pill-tabs.mjs.map +1 -0
  143. package/fesm2022/forgeroute-ui-print.mjs +76 -0
  144. package/fesm2022/forgeroute-ui-print.mjs.map +1 -0
  145. package/fesm2022/forgeroute-ui-progress-bar.mjs +252 -0
  146. package/fesm2022/forgeroute-ui-progress-bar.mjs.map +1 -0
  147. package/fesm2022/forgeroute-ui-progress-ring.mjs +277 -0
  148. package/fesm2022/forgeroute-ui-progress-ring.mjs.map +1 -0
  149. package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs +301 -0
  150. package/fesm2022/forgeroute-ui-quick-filter-tabs.mjs.map +1 -0
  151. package/fesm2022/forgeroute-ui-quickbooks.mjs +18 -1
  152. package/fesm2022/forgeroute-ui-quickbooks.mjs.map +1 -1
  153. package/fesm2022/forgeroute-ui-radio-matrix.mjs +471 -0
  154. package/fesm2022/forgeroute-ui-radio-matrix.mjs.map +1 -0
  155. package/fesm2022/forgeroute-ui-radio.mjs +911 -0
  156. package/fesm2022/forgeroute-ui-radio.mjs.map +1 -0
  157. package/fesm2022/forgeroute-ui-read-only-mode.mjs +15 -0
  158. package/fesm2022/forgeroute-ui-read-only-mode.mjs.map +1 -0
  159. package/fesm2022/forgeroute-ui-readonly-fieldset.mjs +146 -0
  160. package/fesm2022/forgeroute-ui-readonly-fieldset.mjs.map +1 -0
  161. package/fesm2022/forgeroute-ui-reminder-alerts.mjs +249 -0
  162. package/fesm2022/forgeroute-ui-reminder-alerts.mjs.map +1 -0
  163. package/fesm2022/forgeroute-ui-search-input.mjs +373 -0
  164. package/fesm2022/forgeroute-ui-search-input.mjs.map +1 -0
  165. package/fesm2022/forgeroute-ui-section-header.mjs +296 -0
  166. package/fesm2022/forgeroute-ui-section-header.mjs.map +1 -0
  167. package/fesm2022/forgeroute-ui-select.mjs +498 -0
  168. package/fesm2022/forgeroute-ui-select.mjs.map +1 -0
  169. package/fesm2022/forgeroute-ui-setup.mjs +4649 -0
  170. package/fesm2022/forgeroute-ui-setup.mjs.map +1 -0
  171. package/fesm2022/forgeroute-ui-share-menu.mjs +461 -0
  172. package/fesm2022/forgeroute-ui-share-menu.mjs.map +1 -0
  173. package/fesm2022/forgeroute-ui-shell.mjs +981 -0
  174. package/fesm2022/forgeroute-ui-shell.mjs.map +1 -0
  175. package/fesm2022/forgeroute-ui-show.mjs +129 -0
  176. package/fesm2022/forgeroute-ui-show.mjs.map +1 -0
  177. package/fesm2022/forgeroute-ui-sidebar-layout.mjs +355 -0
  178. package/fesm2022/forgeroute-ui-sidebar-layout.mjs.map +1 -0
  179. package/fesm2022/forgeroute-ui-skeleton.mjs +152 -0
  180. package/fesm2022/forgeroute-ui-skeleton.mjs.map +1 -0
  181. package/fesm2022/forgeroute-ui-skip-link.mjs +129 -0
  182. package/fesm2022/forgeroute-ui-skip-link.mjs.map +1 -0
  183. package/fesm2022/forgeroute-ui-snackbar.mjs +200 -0
  184. package/fesm2022/forgeroute-ui-snackbar.mjs.map +1 -0
  185. package/fesm2022/forgeroute-ui-square.mjs +15 -1
  186. package/fesm2022/forgeroute-ui-square.mjs.map +1 -1
  187. package/fesm2022/forgeroute-ui-stack.mjs +233 -0
  188. package/fesm2022/forgeroute-ui-stack.mjs.map +1 -0
  189. package/fesm2022/forgeroute-ui-stacked-bar.mjs +200 -0
  190. package/fesm2022/forgeroute-ui-stacked-bar.mjs.map +1 -0
  191. package/fesm2022/forgeroute-ui-stacking-plan.mjs +365 -0
  192. package/fesm2022/forgeroute-ui-stacking-plan.mjs.map +1 -0
  193. package/fesm2022/forgeroute-ui-star-rating.mjs +498 -0
  194. package/fesm2022/forgeroute-ui-star-rating.mjs.map +1 -0
  195. package/fesm2022/forgeroute-ui-star.mjs +184 -0
  196. package/fesm2022/forgeroute-ui-star.mjs.map +1 -0
  197. package/fesm2022/forgeroute-ui-stepper.mjs +615 -0
  198. package/fesm2022/forgeroute-ui-stepper.mjs.map +1 -0
  199. package/fesm2022/forgeroute-ui-stripe.mjs +6254 -1188
  200. package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
  201. package/fesm2022/forgeroute-ui-swatch-picker.mjs +416 -0
  202. package/fesm2022/forgeroute-ui-swatch-picker.mjs.map +1 -0
  203. package/fesm2022/forgeroute-ui-table-toolbar.mjs +770 -0
  204. package/fesm2022/forgeroute-ui-table-toolbar.mjs.map +1 -0
  205. package/fesm2022/forgeroute-ui-table-types.mjs +277 -0
  206. package/fesm2022/forgeroute-ui-table-types.mjs.map +1 -0
  207. package/fesm2022/forgeroute-ui-text-input.mjs +1003 -0
  208. package/fesm2022/forgeroute-ui-text-input.mjs.map +1 -0
  209. package/fesm2022/forgeroute-ui-text-template-picker.mjs +356 -0
  210. package/fesm2022/forgeroute-ui-text-template-picker.mjs.map +1 -0
  211. package/fesm2022/forgeroute-ui-text.mjs +195 -0
  212. package/fesm2022/forgeroute-ui-text.mjs.map +1 -0
  213. package/fesm2022/forgeroute-ui-textarea-input.mjs +542 -0
  214. package/fesm2022/forgeroute-ui-textarea-input.mjs.map +1 -0
  215. package/fesm2022/forgeroute-ui-time-input.mjs +401 -0
  216. package/fesm2022/forgeroute-ui-time-input.mjs.map +1 -0
  217. package/fesm2022/forgeroute-ui-timeline.mjs +549 -0
  218. package/fesm2022/forgeroute-ui-timeline.mjs.map +1 -0
  219. package/fesm2022/forgeroute-ui-toast.mjs +507 -0
  220. package/fesm2022/forgeroute-ui-toast.mjs.map +1 -0
  221. package/fesm2022/forgeroute-ui-toggle-badge.mjs +177 -0
  222. package/fesm2022/forgeroute-ui-toggle-badge.mjs.map +1 -0
  223. package/fesm2022/forgeroute-ui-toggle.mjs +275 -0
  224. package/fesm2022/forgeroute-ui-toggle.mjs.map +1 -0
  225. package/fesm2022/forgeroute-ui-tooltip.mjs +155 -0
  226. package/fesm2022/forgeroute-ui-tooltip.mjs.map +1 -0
  227. package/fesm2022/forgeroute-ui-utils.mjs +1071 -0
  228. package/fesm2022/forgeroute-ui-utils.mjs.map +1 -0
  229. package/fesm2022/forgeroute-ui.mjs +105 -70663
  230. package/package.json +422 -2
  231. package/types/forgeroute-ui-action-bar.d.ts +74 -0
  232. package/types/forgeroute-ui-address-input.d.ts +354 -0
  233. package/types/forgeroute-ui-alert.d.ts +89 -0
  234. package/types/forgeroute-ui-avatar.d.ts +85 -0
  235. package/types/forgeroute-ui-badge.d.ts +45 -0
  236. package/types/forgeroute-ui-bar-row.d.ts +90 -0
  237. package/types/forgeroute-ui-boards.d.ts +575 -0
  238. package/types/forgeroute-ui-bulk-eligible.d.ts +53 -0
  239. package/types/forgeroute-ui-business-hours.d.ts +191 -0
  240. package/types/forgeroute-ui-calendar.d.ts +544 -0
  241. package/types/forgeroute-ui-card-list-item.d.ts +186 -0
  242. package/types/forgeroute-ui-charts.d.ts +1 -1
  243. package/types/forgeroute-ui-checkbox.d.ts +270 -0
  244. package/types/forgeroute-ui-chip.d.ts +125 -0
  245. package/types/forgeroute-ui-color-input.d.ts +160 -0
  246. package/types/forgeroute-ui-column-filter.d.ts +130 -0
  247. package/types/forgeroute-ui-columns.d.ts +150 -0
  248. package/types/forgeroute-ui-combobox.d.ts +252 -0
  249. package/types/forgeroute-ui-confirm.d.ts +34 -0
  250. package/types/forgeroute-ui-contact-picker.d.ts +173 -0
  251. package/types/forgeroute-ui-conversations.d.ts +993 -0
  252. package/types/forgeroute-ui-copy-field.d.ts +122 -0
  253. package/types/forgeroute-ui-core.d.ts +188 -4
  254. package/types/forgeroute-ui-data-table-core.d.ts +1221 -0
  255. package/types/forgeroute-ui-date-input.d.ts +101 -0
  256. package/types/forgeroute-ui-date-range-picker.d.ts +109 -0
  257. package/types/forgeroute-ui-datetime-input.d.ts +97 -0
  258. package/types/forgeroute-ui-detail-card.d.ts +252 -0
  259. package/types/forgeroute-ui-discount-selector.d.ts +57 -0
  260. package/types/forgeroute-ui-divider.d.ts +40 -0
  261. package/types/forgeroute-ui-dropdown.d.ts +156 -0
  262. package/types/forgeroute-ui-editor.d.ts +873 -0
  263. package/types/forgeroute-ui-empty-state.d.ts +29 -0
  264. package/types/forgeroute-ui-error-state.d.ts +38 -0
  265. package/types/forgeroute-ui-error.d.ts +29 -0
  266. package/types/forgeroute-ui-fade.d.ts +39 -0
  267. package/types/forgeroute-ui-file-input.d.ts +337 -0
  268. package/types/forgeroute-ui-fixed-footer.d.ts +53 -0
  269. package/types/forgeroute-ui-form-row.d.ts +30 -0
  270. package/types/forgeroute-ui-form-section.d.ts +18 -0
  271. package/types/forgeroute-ui-form.d.ts +68 -0
  272. package/types/forgeroute-ui-hint.d.ts +10 -0
  273. package/types/forgeroute-ui-icon-picker.d.ts +122 -0
  274. package/types/forgeroute-ui-icon.d.ts +95 -0
  275. package/types/forgeroute-ui-image-preview.d.ts +88 -0
  276. package/types/forgeroute-ui-keypad.d.ts +73 -0
  277. package/types/forgeroute-ui-kpi-card.d.ts +161 -0
  278. package/types/forgeroute-ui-language-switcher.d.ts +41 -0
  279. package/types/forgeroute-ui-layout.d.ts +13 -0
  280. package/types/forgeroute-ui-list-item.d.ts +253 -0
  281. package/types/forgeroute-ui-list.d.ts +282 -0
  282. package/types/forgeroute-ui-live-region.d.ts +49 -0
  283. package/types/forgeroute-ui-map.d.ts +1 -1
  284. package/types/forgeroute-ui-maps.d.ts +1 -1
  285. package/types/forgeroute-ui-media.d.ts +1221 -0
  286. package/types/forgeroute-ui-messaging.d.ts +11 -6
  287. package/types/forgeroute-ui-more-menu.d.ts +91 -0
  288. package/types/forgeroute-ui-multi-select.d.ts +119 -0
  289. package/types/forgeroute-ui-notes.d.ts +172 -0
  290. package/types/forgeroute-ui-notification-bell.d.ts +135 -0
  291. package/types/forgeroute-ui-offline-banner.d.ts +44 -0
  292. package/types/forgeroute-ui-option-card.d.ts +106 -0
  293. package/types/forgeroute-ui-page.d.ts +115 -0
  294. package/types/forgeroute-ui-pagination.d.ts +55 -0
  295. package/types/forgeroute-ui-panel-info-list.d.ts +147 -0
  296. package/types/forgeroute-ui-password-requirements.d.ts +89 -0
  297. package/types/forgeroute-ui-payments.d.ts +1826 -0
  298. package/types/forgeroute-ui-pdf.d.ts +1 -1
  299. package/types/forgeroute-ui-phone-number-picker.d.ts +199 -0
  300. package/types/forgeroute-ui-pill-tabs.d.ts +208 -0
  301. package/types/forgeroute-ui-print.d.ts +40 -0
  302. package/types/forgeroute-ui-progress-bar.d.ts +88 -0
  303. package/types/forgeroute-ui-progress-ring.d.ts +102 -0
  304. package/types/forgeroute-ui-quick-filter-tabs.d.ts +51 -0
  305. package/types/forgeroute-ui-quickbooks.d.ts +6 -3
  306. package/types/forgeroute-ui-radio-matrix.d.ts +131 -0
  307. package/types/forgeroute-ui-radio.d.ts +311 -0
  308. package/types/forgeroute-ui-read-only-mode.d.ts +26 -0
  309. package/types/forgeroute-ui-readonly-fieldset.d.ts +62 -0
  310. package/types/forgeroute-ui-reminder-alerts.d.ts +71 -0
  311. package/types/forgeroute-ui-search-input.d.ts +93 -0
  312. package/types/forgeroute-ui-section-header.d.ts +149 -0
  313. package/types/forgeroute-ui-select.d.ts +183 -0
  314. package/types/forgeroute-ui-setup.d.ts +775 -0
  315. package/types/forgeroute-ui-share-menu.d.ts +99 -0
  316. package/types/forgeroute-ui-shell.d.ts +173 -0
  317. package/types/forgeroute-ui-show.d.ts +40 -0
  318. package/types/forgeroute-ui-sidebar-layout.d.ts +161 -0
  319. package/types/forgeroute-ui-skeleton.d.ts +51 -0
  320. package/types/forgeroute-ui-skip-link.d.ts +51 -0
  321. package/types/forgeroute-ui-snackbar.d.ts +50 -0
  322. package/types/forgeroute-ui-square.d.ts +5 -3
  323. package/types/forgeroute-ui-stack.d.ts +99 -0
  324. package/types/forgeroute-ui-stacked-bar.d.ts +84 -0
  325. package/types/forgeroute-ui-stacking-plan.d.ts +116 -0
  326. package/types/forgeroute-ui-star-rating.d.ts +151 -0
  327. package/types/forgeroute-ui-star.d.ts +46 -0
  328. package/types/forgeroute-ui-stepper.d.ts +273 -0
  329. package/types/forgeroute-ui-stripe.d.ts +1458 -3
  330. package/types/forgeroute-ui-swatch-picker.d.ts +118 -0
  331. package/types/forgeroute-ui-table-toolbar.d.ts +116 -0
  332. package/types/forgeroute-ui-table-types.d.ts +624 -0
  333. package/types/forgeroute-ui-text-input.d.ts +359 -0
  334. package/types/forgeroute-ui-text-template-picker.d.ts +100 -0
  335. package/types/forgeroute-ui-text.d.ts +76 -0
  336. package/types/forgeroute-ui-textarea-input.d.ts +174 -0
  337. package/types/forgeroute-ui-time-input.d.ts +105 -0
  338. package/types/forgeroute-ui-timeline.d.ts +196 -0
  339. package/types/forgeroute-ui-toast.d.ts +131 -0
  340. package/types/forgeroute-ui-toggle-badge.d.ts +64 -0
  341. package/types/forgeroute-ui-toggle.d.ts +92 -0
  342. package/types/forgeroute-ui-tooltip.d.ts +36 -0
  343. package/types/forgeroute-ui-utils.d.ts +210 -0
  344. package/types/forgeroute-ui.d.ts +106 -19539
  345. package/fesm2022/forgeroute-ui.mjs.map +0 -1
@@ -0,0 +1,418 @@
1
+ import * as i0 from "@angular/core";
2
+ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, effect, inject, input, output, signal } from "@angular/core";
3
+ import { UiLabelsService } from "@forgeroute/ui/core";
4
+ const BUILT_IN_ICONS = {
5
+ "view": "M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6z",
6
+ "edit": "M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7 M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z",
7
+ "delete": "M3 6h18 M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6 M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2",
8
+ "call": "M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z",
9
+ "message": "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",
10
+ "email": "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z M22 6l-10 7L2 6",
11
+ "task": "M9 11l3 3L22 4 M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11",
12
+ "opportunity": "M22 12h-4l-3 9L9 3l-3 9H2",
13
+ "assign-owner": "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2 M12 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M19 8v6 M22 11h-6",
14
+ "assign-agent": "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2 M12 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M19 8v6 M22 11h-6",
15
+ "view-contact": "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2 M12 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z",
16
+ "confirm": "M22 11.08V12a10 10 0 1 1-5.93-9.14 M22 4L12 14.01l-3-3",
17
+ "decline": "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M15 9l-6 6 M9 9l6 6",
18
+ "sphere": "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2 M9 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M23 21v-2a4 4 0 0 0-3-3.87 M16 3.13a4 4 0 0 1 0 7.75",
19
+ "remove-sphere": "M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2 M9 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M23 18h-6",
20
+ "portal-invite": "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z M15 9l3 3-3 3 M18 12H8",
21
+ "archive": "M21 8v13H3V8 M1 3h22v5H1z M10 12h4",
22
+ "duplicate": "M20 2H8a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2z M4 6H2v14a2 2 0 0 0 2 2h14v-2H4V6z",
23
+ "download": "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4 M7 10l5 5 5-5 M12 15V3",
24
+ "export": "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4 M7 10l5 5 5-5 M12 15V3",
25
+ "share": "M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8 M16 6l-4-4-4 4 M12 2v13",
26
+ "approve": "M22 11.08V12a10 10 0 1 1-5.93-9.14 M22 4L12 14.01l-3-3",
27
+ "reject": "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M15 9l-6 6 M9 9l6 6",
28
+ "activate": "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M10 8l6 4-6 4V8z",
29
+ "deactivate": "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M8 12h8",
30
+ "pause": "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M10 15V9 M14 15V9",
31
+ "cancel": "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M4.93 4.93l14.14 14.14",
32
+ "restore": "M1 4v6h6 M3.51 15a9 9 0 1 0 2.13-9.36L1 10",
33
+ "send-message": "M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",
34
+ "create-job": "M20 7H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",
35
+ "view-job": "M20 7H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",
36
+ "create-invoice": "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z M14 2v6h6 M16 13H8 M16 17H8 M10 9H8",
37
+ "create-estimate": "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z M14 2v6h6 M12 18v-6 M9 15h6",
38
+ "add-note": "M12 20h9 M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z",
39
+ "history": "M3 3v5h5 M3.05 13A9 9 0 1 0 6 5.3L3 8 M12 7v5l4 2",
40
+ "move-up": "M12 19V5 M5 12l7-7 7 7",
41
+ "move-down": "M12 5v14 M19 12l-7 7-7-7",
42
+ "invite-portal": "M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z M15 9l3 3-3 3 M18 12H8"
43
+ };
44
+ function builtInActionIcon(type) {
45
+ return Object.prototype.hasOwnProperty.call(BUILT_IN_ICONS, type) ? BUILT_IN_ICONS[type] : void 0;
46
+ }
47
+ var MoreMenuComponent = class MoreMenuComponent {
48
+ constructor() {
49
+ this.labels = inject(UiLabelsService);
50
+ this.ariaLabel = input(null, ...ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []);
51
+ this.actions = input([], ...ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []);
52
+ this.actionClick = output();
53
+ this.open = signal(false, ...ngDevMode ? [{ debugName: "open" }] : /* istanbul ignore next */ []);
54
+ this.openUp = signal(false, ...ngDevMode ? [{ debugName: "openUp" }] : /* istanbul ignore next */ []);
55
+ this.maxHeight = signal(null, ...ngDevMode ? [{ debugName: "maxHeight" }] : /* istanbul ignore next */ []);
56
+ this.maxWidth = signal(null, ...ngDevMode ? [{ debugName: "maxWidth" }] : /* istanbul ignore next */ []);
57
+ this.placement = signal(null, ...ngDevMode ? [{ debugName: "placement" }] : /* istanbul ignore next */ []);
58
+ this._el = inject(ElementRef);
59
+ this._cdr = inject(ChangeDetectorRef);
60
+ this._openWidth = 0;
61
+ this.visibleActions = () => this.actions().filter((a) => !a.hidden?.(null));
62
+ effect((onCleanup) => {
63
+ if (!this.open()) return;
64
+ const onPointerDown = (event) => this.onDocumentPointerDown(event);
65
+ document.addEventListener("pointerdown", onPointerDown, true);
66
+ const onKeydown = (event) => {
67
+ if (event.key === "Escape") this.onEscape(event);
68
+ };
69
+ document.addEventListener("keydown", onKeydown, true);
70
+ const fixed = this.placement() !== null;
71
+ const onScroll = (event) => {
72
+ if (!(event.target instanceof Node && this._dropdownEl()?.contains(event.target))) this.open.set(false);
73
+ };
74
+ const onResize = () => {
75
+ if (this._layoutViewport().width !== this._openWidth) this.open.set(false);
76
+ };
77
+ if (fixed) {
78
+ document.addEventListener("scroll", onScroll, true);
79
+ window.addEventListener("resize", onResize);
80
+ }
81
+ onCleanup(() => {
82
+ document.removeEventListener("pointerdown", onPointerDown, true);
83
+ document.removeEventListener("keydown", onKeydown, true);
84
+ if (fixed) {
85
+ document.removeEventListener("scroll", onScroll, true);
86
+ window.removeEventListener("resize", onResize);
87
+ }
88
+ });
89
+ });
90
+ }
91
+ resolveIcon(action) {
92
+ return action.icon ?? builtInActionIcon(action.type) ?? "M5 12h14 M12 5l7 7-7 7";
93
+ }
94
+ isDisabled(action) {
95
+ return typeof action.disabled === "function" ? action.disabled(null) : !!action.disabled;
96
+ }
97
+ toggle(event) {
98
+ event.stopPropagation();
99
+ if (this.open()) {
100
+ this.open.set(false);
101
+ return;
102
+ }
103
+ const triggerRect = event.currentTarget.getBoundingClientRect();
104
+ const view = this._layoutViewport();
105
+ const fixed = this._fixedPositionable();
106
+ this._openWidth = view.width;
107
+ this.openUp.set(false);
108
+ this.maxHeight.set(null);
109
+ this.maxWidth.set(null);
110
+ this.placement.set(fixed ? {
111
+ top: triggerRect.bottom + 4,
112
+ bottom: null,
113
+ right: 8
114
+ } : null);
115
+ this.open.set(true);
116
+ this._cdr.detectChanges();
117
+ this._place(triggerRect, fixed);
118
+ this._cdr.detectChanges();
119
+ setTimeout(() => this._menuItems()[0]?.focus({ preventScroll: true }), 30);
120
+ }
121
+ _place(rect, fixed) {
122
+ const dropdown = this._dropdownEl();
123
+ if (!dropdown) return;
124
+ const view = this._viewport();
125
+ const layout = this._layoutViewport();
126
+ const bounds = fixed ? {
127
+ top: view.top,
128
+ bottom: view.bottom - this._safeAreaBottom()
129
+ } : this._visibleBounds();
130
+ const natural = Math.max(dropdown.offsetHeight, dropdown.scrollHeight);
131
+ const spaceBelow = bounds.bottom - rect.bottom;
132
+ const spaceAbove = rect.top - bounds.top;
133
+ const up = natural + 12 > spaceBelow && spaceAbove > spaceBelow;
134
+ this.openUp.set(up);
135
+ this.maxHeight.set(Math.max(120, Math.floor((up ? spaceAbove : spaceBelow) - 12)));
136
+ if (!fixed) {
137
+ this.placement.set(null);
138
+ return;
139
+ }
140
+ this.maxWidth.set(Math.max(160, view.right - view.left - 16));
141
+ const width = Math.min(dropdown.offsetWidth, this.maxWidth());
142
+ const rightEdge = Math.min(Math.max(rect.right, view.left + 8 + width), view.right - 8);
143
+ const right = Math.max(8, layout.width - rightEdge);
144
+ this.placement.set(up ? {
145
+ top: null,
146
+ bottom: layout.height - rect.top + 4,
147
+ right
148
+ } : {
149
+ top: rect.bottom + 4,
150
+ bottom: null,
151
+ right
152
+ });
153
+ }
154
+ _layoutViewport() {
155
+ const root = document.documentElement;
156
+ return {
157
+ width: root.clientWidth,
158
+ height: root.clientHeight
159
+ };
160
+ }
161
+ _viewport() {
162
+ const vv = window.visualViewport;
163
+ if (!vv) {
164
+ const layout = this._layoutViewport();
165
+ return {
166
+ top: 0,
167
+ left: 0,
168
+ right: layout.width,
169
+ bottom: layout.height
170
+ };
171
+ }
172
+ return {
173
+ top: vv.offsetTop,
174
+ left: vv.offsetLeft,
175
+ right: vv.offsetLeft + vv.width,
176
+ bottom: vv.offsetTop + vv.height
177
+ };
178
+ }
179
+ _safeAreaBottom() {
180
+ const probe = document.createElement("div");
181
+ probe.style.cssText = "position:fixed;left:0;top:0;width:0;height:0;visibility:hidden;padding-bottom:env(safe-area-inset-bottom,0px)";
182
+ document.body.appendChild(probe);
183
+ const value = parseFloat(getComputedStyle(probe).paddingBottom) || 0;
184
+ probe.remove();
185
+ return value;
186
+ }
187
+ onActionClick(action, event) {
188
+ event.stopPropagation();
189
+ this.actionClick.emit(action.type);
190
+ this.open.set(false);
191
+ this._trigger()?.focus();
192
+ }
193
+ onDocumentClick() {
194
+ if (this.open()) this.open.set(false);
195
+ }
196
+ onDocumentPointerDown(event) {
197
+ if (!this.open()) return;
198
+ const target = event.target;
199
+ if (target instanceof Node && this._el.nativeElement.contains(target)) return;
200
+ this.open.set(false);
201
+ }
202
+ onEscape(event) {
203
+ if (!this.open()) return;
204
+ event?.stopPropagation();
205
+ event?.preventDefault();
206
+ this.open.set(false);
207
+ this._trigger()?.focus();
208
+ }
209
+ onArrow(event, dir) {
210
+ if (!this.open()) return;
211
+ event.preventDefault();
212
+ const items = this._menuItems();
213
+ if (!items.length) return;
214
+ const idx = items.indexOf(document.activeElement);
215
+ items[idx === -1 ? 0 : (idx + dir + items.length) % items.length].focus();
216
+ }
217
+ _visibleBounds() {
218
+ let top = 0;
219
+ let bottom = this._layoutViewport().height;
220
+ let el = this._el.nativeElement.parentElement;
221
+ while (el && el !== document.body) {
222
+ const oy = getComputedStyle(el).overflowY;
223
+ if (oy === "auto" || oy === "scroll" || oy === "hidden") {
224
+ const r = el.getBoundingClientRect();
225
+ top = Math.max(top, r.top);
226
+ bottom = Math.min(bottom, r.bottom);
227
+ break;
228
+ }
229
+ el = el.parentElement;
230
+ }
231
+ return {
232
+ top,
233
+ bottom
234
+ };
235
+ }
236
+ _fixedPositionable() {
237
+ const isSet = (value) => !!value && value !== "none";
238
+ let el = this._el.nativeElement.parentElement;
239
+ while (el) {
240
+ const cs = getComputedStyle(el);
241
+ if (isSet(cs.transform) || isSet(cs["translate"]) || isSet(cs["rotate"]) || isSet(cs["scale"]) || isSet(cs.filter) || isSet(cs.perspective) || isSet(cs["backdropFilter"]) || /paint|layout|strict|content/.test(cs.contain || "") || !!cs["containerType"] && cs["containerType"] !== "normal" || cs["contentVisibility"] === "auto" || /transform|filter|perspective|translate|rotate|scale|contain|backdrop-filter/.test(cs.willChange || "")) return false;
242
+ el = el.parentElement;
243
+ }
244
+ return true;
245
+ }
246
+ _dropdownEl() {
247
+ return this._el.nativeElement.querySelector(".mm-dropdown");
248
+ }
249
+ _menuItems() {
250
+ return Array.from(this._el.nativeElement.querySelectorAll(".mm-item:not([disabled])"));
251
+ }
252
+ _trigger() {
253
+ return this._el.nativeElement.querySelector(".mm-trigger");
254
+ }
255
+ static {
256
+ this.ɵfac = i0.ɵɵngDeclareFactory({
257
+ minVersion: "12.0.0",
258
+ version: "22.2.2",
259
+ ngImport: i0,
260
+ type: MoreMenuComponent,
261
+ deps: [],
262
+ target: i0.ɵɵFactoryTarget.Component
263
+ });
264
+ }
265
+ static {
266
+ this.ɵcmp = i0.ɵɵngDeclareComponent({
267
+ minVersion: "17.0.0",
268
+ version: "22.2.2",
269
+ type: MoreMenuComponent,
270
+ isStandalone: true,
271
+ selector: "ui-more-menu",
272
+ inputs: {
273
+ ariaLabel: {
274
+ classPropertyName: "ariaLabel",
275
+ publicName: "ariaLabel",
276
+ isSignal: true,
277
+ isRequired: false,
278
+ transformFunction: null
279
+ },
280
+ actions: {
281
+ classPropertyName: "actions",
282
+ publicName: "actions",
283
+ isSignal: true,
284
+ isRequired: false,
285
+ transformFunction: null
286
+ }
287
+ },
288
+ outputs: { actionClick: "actionClick" },
289
+ host: { listeners: {
290
+ "document:click": "onDocumentClick()",
291
+ "keydown.arrowdown": "onArrow($event, 1)",
292
+ "keydown.arrowup": "onArrow($event, -1)"
293
+ } },
294
+ ngImport: i0,
295
+ template: `
296
+ <div class="mm-wrapper">
297
+ <button
298
+ class="mm-trigger"
299
+ data-testid="more-menu-trigger"
300
+ [attr.aria-expanded]="open()"
301
+ aria-haspopup="menu"
302
+ [attr.aria-label]="ariaLabel() ?? labels.t('common.rowActions')"
303
+ (click)="toggle($event)">
304
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
305
+ <circle cx="12" cy="5" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="12" cy="19" r="1.5"/>
306
+ </svg>
307
+ </button>
308
+
309
+ @if (open()) {
310
+ <div class="mm-dropdown" [class.mm-up]="openUp()" [class.mm-fixed]="placement() !== null"
311
+ [style.top.px]="placement()?.top ?? null" [style.bottom.px]="placement()?.bottom ?? null" [style.right.px]="placement()?.right ?? null"
312
+ [style.max-height.px]="maxHeight()" [style.max-width.px]="maxWidth()" role="menu">
313
+ @for (action of visibleActions(); track action.type) {
314
+ <button
315
+ class="mm-item"
316
+ data-testid="more-menu-item"
317
+ [class.mm-danger]="action.variant === 'danger'"
318
+ [disabled]="isDisabled(action)"
319
+ role="menuitem"
320
+ (click)="onActionClick(action, $event)">
321
+ <svg class="mm-icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
322
+ <path [attr.d]="resolveIcon(action)" />
323
+ </svg>
324
+ {{ action.label }}
325
+ </button>
326
+ }
327
+ </div>
328
+ }
329
+ </div>
330
+ `,
331
+ isInline: true,
332
+ styles: [":host{display:inline-block;position:relative}.mm-wrapper{position:relative}.mm-trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:background .1s,color .1s}.mm-trigger:hover{background:#f1f5f9;color:#334155}.mm-trigger:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.mm-dropdown{position:absolute;right:0;top:calc(100% + 4px);z-index:200;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #0000001a;min-width:160px;width:max-content;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;padding:4px;max-width:calc(100vw - 16px);overscroll-behavior:contain;background:linear-gradient(#fff 30%,#fff0) center top / 100% 16px no-repeat local,linear-gradient(#fff0,#fff 70%) center bottom / 100% 16px no-repeat local,radial-gradient(farthest-side at 50% 0,#0f172a38,#0f172a00) center top / 100% 8px no-repeat scroll,radial-gradient(farthest-side at 50% 100%,#0f172a38,#0f172a00) center bottom / 100% 8px no-repeat scroll,#fff}.mm-dropdown.mm-up{top:auto;bottom:calc(100% + 4px)}.mm-dropdown.mm-fixed{position:fixed;left:auto}.mm-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:none;border:none;cursor:pointer;font-size:.875rem;color:#334155;font-family:inherit;text-align:left;border-radius:5px;transition:background .1s;min-height:40px}.mm-item:hover:not(:disabled){background:#f8fafc}.mm-item:disabled{opacity:.4;cursor:default}.mm-item.mm-danger{color:#dc2626}.mm-item.mm-danger:hover:not(:disabled){background:#fef2f2}.mm-item:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.mm-icon{flex-shrink:0}@media(max-width:1024px){.mm-trigger{width:36px;height:36px}.mm-item{padding:11px 14px;min-height:40px}}@media(pointer:coarse){.mm-trigger{width:44px;height:44px}.mm-item{min-height:44px}}@media(max-width:640px){.mm-trigger{width:44px;height:44px}.mm-item{padding:12px 14px;font-size:.9375rem;min-height:44px}.mm-dropdown{max-height:60vh;overflow-y:auto}}\n"],
333
+ changeDetection: i0.ChangeDetectionStrategy.OnPush
334
+ });
335
+ }
336
+ };
337
+ i0.ɵɵngDeclareClassMetadata({
338
+ minVersion: "12.0.0",
339
+ version: "22.2.2",
340
+ ngImport: i0,
341
+ type: MoreMenuComponent,
342
+ decorators: [{
343
+ type: Component,
344
+ args: [{
345
+ selector: "ui-more-menu",
346
+ standalone: true,
347
+ changeDetection: ChangeDetectionStrategy.OnPush,
348
+ host: {
349
+ "(document:click)": "onDocumentClick()",
350
+ "(keydown.arrowdown)": "onArrow($event, 1)",
351
+ "(keydown.arrowup)": "onArrow($event, -1)"
352
+ },
353
+ template: `
354
+ <div class="mm-wrapper">
355
+ <button
356
+ class="mm-trigger"
357
+ data-testid="more-menu-trigger"
358
+ [attr.aria-expanded]="open()"
359
+ aria-haspopup="menu"
360
+ [attr.aria-label]="ariaLabel() ?? labels.t('common.rowActions')"
361
+ (click)="toggle($event)">
362
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
363
+ <circle cx="12" cy="5" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="12" cy="19" r="1.5"/>
364
+ </svg>
365
+ </button>
366
+
367
+ @if (open()) {
368
+ <div class="mm-dropdown" [class.mm-up]="openUp()" [class.mm-fixed]="placement() !== null"
369
+ [style.top.px]="placement()?.top ?? null" [style.bottom.px]="placement()?.bottom ?? null" [style.right.px]="placement()?.right ?? null"
370
+ [style.max-height.px]="maxHeight()" [style.max-width.px]="maxWidth()" role="menu">
371
+ @for (action of visibleActions(); track action.type) {
372
+ <button
373
+ class="mm-item"
374
+ data-testid="more-menu-item"
375
+ [class.mm-danger]="action.variant === 'danger'"
376
+ [disabled]="isDisabled(action)"
377
+ role="menuitem"
378
+ (click)="onActionClick(action, $event)">
379
+ <svg class="mm-icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
380
+ <path [attr.d]="resolveIcon(action)" />
381
+ </svg>
382
+ {{ action.label }}
383
+ </button>
384
+ }
385
+ </div>
386
+ }
387
+ </div>
388
+ `,
389
+ styles: [":host{display:inline-block;position:relative}.mm-wrapper{position:relative}.mm-trigger{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:background .1s,color .1s}.mm-trigger:hover{background:#f1f5f9;color:#334155}.mm-trigger:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.mm-dropdown{position:absolute;right:0;top:calc(100% + 4px);z-index:200;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 16px #0000001a;min-width:160px;width:max-content;box-sizing:border-box;overflow-x:hidden;overflow-y:auto;padding:4px;max-width:calc(100vw - 16px);overscroll-behavior:contain;background:linear-gradient(#fff 30%,#fff0) center top / 100% 16px no-repeat local,linear-gradient(#fff0,#fff 70%) center bottom / 100% 16px no-repeat local,radial-gradient(farthest-side at 50% 0,#0f172a38,#0f172a00) center top / 100% 8px no-repeat scroll,radial-gradient(farthest-side at 50% 100%,#0f172a38,#0f172a00) center bottom / 100% 8px no-repeat scroll,#fff}.mm-dropdown.mm-up{top:auto;bottom:calc(100% + 4px)}.mm-dropdown.mm-fixed{position:fixed;left:auto}.mm-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;background:none;border:none;cursor:pointer;font-size:.875rem;color:#334155;font-family:inherit;text-align:left;border-radius:5px;transition:background .1s;min-height:40px}.mm-item:hover:not(:disabled){background:#f8fafc}.mm-item:disabled{opacity:.4;cursor:default}.mm-item.mm-danger{color:#dc2626}.mm-item.mm-danger:hover:not(:disabled){background:#fef2f2}.mm-item:focus-visible{outline:2px solid #60a5fa;outline-offset:-2px}.mm-icon{flex-shrink:0}@media(max-width:1024px){.mm-trigger{width:36px;height:36px}.mm-item{padding:11px 14px;min-height:40px}}@media(pointer:coarse){.mm-trigger{width:44px;height:44px}.mm-item{min-height:44px}}@media(max-width:640px){.mm-trigger{width:44px;height:44px}.mm-item{padding:12px 14px;font-size:.9375rem;min-height:44px}.mm-dropdown{max-height:60vh;overflow-y:auto}}\n"]
390
+ }]
391
+ }],
392
+ ctorParameters: () => [],
393
+ propDecorators: {
394
+ ariaLabel: [{
395
+ type: i0.Input,
396
+ args: [{
397
+ isSignal: true,
398
+ alias: "ariaLabel",
399
+ required: false
400
+ }]
401
+ }],
402
+ actions: [{
403
+ type: i0.Input,
404
+ args: [{
405
+ isSignal: true,
406
+ alias: "actions",
407
+ required: false
408
+ }]
409
+ }],
410
+ actionClick: [{
411
+ type: i0.Output,
412
+ args: ["actionClick"]
413
+ }]
414
+ }
415
+ });
416
+ export { MoreMenuComponent, builtInActionIcon };
417
+
418
+ //# sourceMappingURL=forgeroute-ui-more-menu.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forgeroute-ui-more-menu.mjs","names":[],"sources":["../../../projects/forgeroute-ui/more-menu/src/lib/more-menu/more-menu.component.ts"],"sourcesContent":["import { Component, input, output, signal, effect, ChangeDetectionStrategy, ChangeDetectorRef, inject, ElementRef } from '@angular/core';\nimport { RowAction } from '@forgeroute/ui/table-types';\nimport { UiLabelsService } from '@forgeroute/ui/core';\n\nexport interface MenuItem {\n type: string;\n label: string;\n icon?: string;\n primary?: boolean;\n danger?: boolean;\n disabled?: boolean;\n}\n\nconst BUILT_IN_ICONS: Record<string, string> = {\n 'view': 'M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6z',\n 'edit': 'M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7 M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z',\n 'delete': 'M3 6h18 M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6 M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2',\n 'call': 'M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.361 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.339 1.85.573 2.81.7A2 2 0 0 1 22 16.92z',\n 'message': 'M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z',\n 'email': 'M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z M22 6l-10 7L2 6',\n 'task': 'M9 11l3 3L22 4 M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11',\n 'opportunity': 'M22 12h-4l-3 9L9 3l-3 9H2',\n 'assign-owner': 'M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2 M12 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M19 8v6 M22 11h-6',\n 'assign-agent': 'M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2 M12 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M19 8v6 M22 11h-6',\n 'view-contact': 'M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2 M12 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z',\n 'confirm': 'M22 11.08V12a10 10 0 1 1-5.93-9.14 M22 4L12 14.01l-3-3',\n 'decline': 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M15 9l-6 6 M9 9l6 6',\n 'sphere': 'M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2 M9 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M23 21v-2a4 4 0 0 0-3-3.87 M16 3.13a4 4 0 0 1 0 7.75',\n 'remove-sphere': 'M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2 M9 3a4 4 0 1 0 0 8 4 4 0 0 0 0-8z M23 18h-6',\n 'portal-invite': 'M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z M15 9l3 3-3 3 M18 12H8',\n 'archive': 'M21 8v13H3V8 M1 3h22v5H1z M10 12h4',\n 'duplicate': 'M20 2H8a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2z M4 6H2v14a2 2 0 0 0 2 2h14v-2H4V6z',\n 'download': 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4 M7 10l5 5 5-5 M12 15V3',\n 'export': 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4 M7 10l5 5 5-5 M12 15V3',\n 'share': 'M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8 M16 6l-4-4-4 4 M12 2v13',\n // Status / workflow actions\n 'approve': 'M22 11.08V12a10 10 0 1 1-5.93-9.14 M22 4L12 14.01l-3-3',\n 'reject': 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M15 9l-6 6 M9 9l6 6',\n 'activate': 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M10 8l6 4-6 4V8z',\n 'deactivate': 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M8 12h8',\n 'pause': 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M10 15V9 M14 15V9',\n 'cancel': 'M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20z M4.93 4.93l14.14 14.14',\n 'restore': 'M1 4v6h6 M3.51 15a9 9 0 1 0 2.13-9.36L1 10',\n // Create / navigate actions\n 'send-message': 'M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z',\n 'create-job': 'M20 7H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16',\n 'view-job': 'M20 7H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16',\n 'create-invoice': 'M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z M14 2v6h6 M16 13H8 M16 17H8 M10 9H8',\n 'create-estimate':'M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z M14 2v6h6 M12 18v-6 M9 15h6',\n 'add-note': 'M12 20h9 M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z',\n 'history': 'M3 3v5h5 M3.05 13A9 9 0 1 0 6 5.3L3 8 M12 7v5l4 2',\n 'move-up': 'M12 19V5 M5 12l7-7 7 7',\n 'move-down': 'M12 5v14 M19 12l-7 7-7-7',\n 'invite-portal': 'M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z M15 9l3 3-3 3 M18 12H8',\n};\n\n/** Built-in SVG path for a row-action type (exported so apps can reuse it for their own action types). */\nexport function builtInActionIcon(type: string): string | undefined {\n // own keys only: 'constructor' / 'toString' / '__proto__' must not resolve to inherited Object members\n return Object.prototype.hasOwnProperty.call(BUILT_IN_ICONS, type) ? BUILT_IN_ICONS[type] : undefined;\n}\n\n@Component({\n selector: 'ui-more-menu',\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n '(document:click)': 'onDocumentClick()',\n '(keydown.arrowdown)': 'onArrow($event, 1)',\n '(keydown.arrowup)': 'onArrow($event, -1)',\n },\n template: `\n <div class=\"mm-wrapper\">\n <button\n class=\"mm-trigger\"\n data-testid=\"more-menu-trigger\"\n [attr.aria-expanded]=\"open()\"\n aria-haspopup=\"menu\"\n [attr.aria-label]=\"ariaLabel() ?? labels.t('common.rowActions')\"\n (click)=\"toggle($event)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"currentColor\" aria-hidden=\"true\">\n <circle cx=\"12\" cy=\"5\" r=\"1.5\"/><circle cx=\"12\" cy=\"12\" r=\"1.5\"/><circle cx=\"12\" cy=\"19\" r=\"1.5\"/>\n </svg>\n </button>\n\n @if (open()) {\n <div class=\"mm-dropdown\" [class.mm-up]=\"openUp()\" [class.mm-fixed]=\"placement() !== null\"\n [style.top.px]=\"placement()?.top ?? null\" [style.bottom.px]=\"placement()?.bottom ?? null\" [style.right.px]=\"placement()?.right ?? null\"\n [style.max-height.px]=\"maxHeight()\" [style.max-width.px]=\"maxWidth()\" role=\"menu\">\n @for (action of visibleActions(); track action.type) {\n <button\n class=\"mm-item\"\n data-testid=\"more-menu-item\"\n [class.mm-danger]=\"action.variant === 'danger'\"\n [disabled]=\"isDisabled(action)\"\n role=\"menuitem\"\n (click)=\"onActionClick(action, $event)\">\n <svg class=\"mm-icon\" width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\">\n <path [attr.d]=\"resolveIcon(action)\" />\n </svg>\n {{ action.label }}\n </button>\n }\n </div>\n }\n </div>\n `,\n styles: [`\n :host { display: inline-block; position: relative; }\n .mm-wrapper { position: relative; }\n .mm-trigger {\n display: flex; align-items: center; justify-content: center;\n width: 32px; height: 32px; border-radius: 8px; border: none;\n background: transparent; color: #64748b; cursor: pointer;\n transition: background 0.1s, color 0.1s;\n &:hover { background: #f1f5f9; color: #334155; }\n &:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }\n }\n .mm-dropdown {\n position: absolute; right: 0; top: calc(100% + 4px); z-index: 200;\n border: 1px solid #e2e8f0; border-radius: 8px;\n box-shadow: 0 4px 16px rgba(0,0,0,0.1); min-width: 160px;\n /* As wide as its longest item (up to the screen): without this the absolutely positioned menu is sized from its tiny ⋮ trigger wrapper,\n falls back to min-width and wraps \"View Document\" onto two lines. */\n width: max-content; box-sizing: border-box; /* the max-width cap (inline px or 100vw - 16px) then includes the padding and border: the menu never runs past the 8px screen margin */\n overflow-x: hidden; overflow-y: auto; padding: 4px;\n max-width: calc(100vw - 16px); overscroll-behavior: contain;\n /* Scroll affordance: edge shadows appear only when content is clipped on that side\n (\"scroll shadows\"): white covers (attachment: local) hide the shadows (attachment: scroll)\n once scrolled to that end, and everything is invisible when the menu does not overflow. */\n background:\n linear-gradient(#fff 30%, rgba(255,255,255,0)) center top / 100% 16px no-repeat local,\n linear-gradient(rgba(255,255,255,0), #fff 70%) center bottom / 100% 16px no-repeat local,\n radial-gradient(farthest-side at 50% 0, rgba(15,23,42,0.22), rgba(15,23,42,0)) center top / 100% 8px no-repeat scroll,\n radial-gradient(farthest-side at 50% 100%, rgba(15,23,42,0.22), rgba(15,23,42,0)) center bottom / 100% 8px no-repeat scroll,\n #fff;\n &.mm-up { top: auto; bottom: calc(100% + 4px); }\n /* Placed from the trigger's screen position (inline top / bottom / right), so no scrolling or overflow-hidden ancestor\n (e.g. the table's scroll box around a short table) can clip it. Used unless an ancestor has a transform / filter / contain,\n which would turn fixed into \"relative to that ancestor\" (then the absolute placement above is kept). */\n &.mm-fixed { position: fixed; left: auto; }\n }\n .mm-item {\n display: flex; align-items: center; gap: 10px; width: 100%;\n padding: 10px 12px; background: none; border: none; cursor: pointer;\n font-size: 0.875rem; color: #334155; font-family: inherit;\n text-align: left; border-radius: 5px; transition: background 0.1s;\n min-height: 40px;\n &:hover:not(:disabled) { background: #f8fafc; }\n &:disabled { opacity: 0.4; cursor: default; }\n &.mm-danger { color: #dc2626; }\n &.mm-danger:hover:not(:disabled) { background: #fef2f2; }\n &:focus-visible { outline: 2px solid #60a5fa; outline-offset: -2px; }\n }\n .mm-icon { flex-shrink: 0; }\n /* ── iPad (≤1024px) — 36px trigger, comfortable item height ─── */\n @media (max-width: 1024px) {\n .mm-trigger { width: 36px; height: 36px; }\n .mm-item { padding: 11px 14px; min-height: 40px; }\n }\n\n /* ── Touch (incl. iPad): 44px trigger, desktop mouse sizes unchanged ─── */\n @media (pointer: coarse) {\n .mm-trigger { width: 44px; height: 44px; }\n .mm-item { min-height: 44px; }\n }\n\n /* ── Phone (≤640px) — full touch targets, safe dropdown bounds ─── */\n @media (max-width: 640px) {\n .mm-trigger { width: 44px; height: 44px; }\n .mm-item { padding: 12px 14px; font-size: 0.9375rem; min-height: 44px; }\n .mm-dropdown { max-height: 60vh; overflow-y: auto; }\n }\n `],\n})\nexport class MoreMenuComponent {\n protected readonly labels = inject(UiLabelsService);\n /** Accessible name of the ⋮ trigger. Lists pass a row-specific one (\"Row actions for Acme Electric\"). */\n readonly ariaLabel = input<string | null>(null);\n readonly actions = input<RowAction[]>([]);\n readonly actionClick = output<string>();\n\n protected readonly open = signal(false);\n protected readonly openUp = signal(false);\n /** Caps the dropdown to the space on the side it opens, so it never runs off-screen; it scrolls instead. */\n protected readonly maxHeight = signal<number | null>(null);\n /** Caps a fixed dropdown to the visible width minus 8px each side (the CSS cap uses 100vw, which includes classic scrollbars). */\n protected readonly maxWidth = signal<number | null>(null);\n\n /**\n * Viewport placement (px) of a `position: fixed` dropdown; null = the dropdown is positioned absolutely under the trigger\n * (an ancestor with a transform / filter / contain makes `fixed` unusable there).\n */\n protected readonly placement = signal<{ top: number | null; bottom: number | null; right: number } | null>(null);\n\n private readonly _el = inject(ElementRef);\n private readonly _cdr = inject(ChangeDetectorRef);\n\n /** 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. */\n private _openWidth = 0;\n\n constructor() {\n effect(onCleanup => {\n if (!this.open()) return;\n // A press anywhere outside the menu closes it (pointerdown: iOS sends no click for plain page areas). Only registered while open.\n const onPointerDown = (event: Event) => this.onDocumentPointerDown(event);\n document.addEventListener('pointerdown', onPointerDown, true);\n // Escape closes only this menu: it is taken in the capture phase while the menu is open, so a surrounding side panel / modal\n // (which listens on the document) never sees that key press and stays open. With the menu closed nothing is registered.\n const onKeydown = (event: KeyboardEvent) => { if (event.key === 'Escape') this.onEscape(event); };\n document.addEventListener('keydown', onKeydown, true);\n // A fixed dropdown does not follow its trigger when something scrolls or the window is rotated / resized, so it closes then\n // (a scroll inside the dropdown itself, when it is height-capped, does not count).\n const fixed = this.placement() !== null;\n const onScroll = (event: Event) => {\n if (!(event.target instanceof Node && this._dropdownEl()?.contains(event.target))) this.open.set(false);\n };\n const onResize = () => {\n if (this._layoutViewport().width !== this._openWidth) this.open.set(false);\n };\n if (fixed) {\n document.addEventListener('scroll', onScroll, true);\n window.addEventListener('resize', onResize);\n }\n onCleanup(() => {\n document.removeEventListener('pointerdown', onPointerDown, true);\n document.removeEventListener('keydown', onKeydown, true);\n if (fixed) {\n document.removeEventListener('scroll', onScroll, true);\n window.removeEventListener('resize', onResize);\n }\n });\n });\n }\n\n protected readonly visibleActions = () =>\n this.actions().filter(a => !a.hidden?.(null));\n\n protected resolveIcon(action: RowAction): string {\n return action.icon ?? builtInActionIcon(action.type) ?? 'M5 12h14 M12 5l7 7-7 7';\n }\n\n protected isDisabled(action: RowAction): boolean {\n return typeof action.disabled === 'function' ? action.disabled(null) : !!action.disabled;\n }\n\n toggle(event: Event) {\n event.stopPropagation();\n if (this.open()) {\n this.open.set(false);\n return;\n }\n const triggerRect = (event.currentTarget as HTMLElement).getBoundingClientRect();\n const view = this._layoutViewport();\n const fixed = this._fixedPositionable();\n this._openWidth = view.width;\n this.openUp.set(false);\n this.maxHeight.set(null);\n this.maxWidth.set(null);\n // Render the dropdown in its final kind of position (fixed under the trigger) so its real size can be measured: a dropdown\n // measured while absolute inside the narrow trigger wrapper would wrap long labels and report the wrong size.\n // `right: 8` gives the box the whole window width to size itself in (a box anchored at the trigger's right edge near the left\n // of the screen would be squeezed into the space left of the trigger); `_place` then sets the real right offset.\n this.placement.set(fixed ? { top: triggerRect.bottom + 4, bottom: null, right: 8 } : null);\n this.open.set(true);\n this._cdr.detectChanges();\n this._place(triggerRect, fixed);\n this._cdr.detectChanges();\n // preventScroll: focusing must never scroll anything (a scroll closes a fixed dropdown, and moves the page on phones)\n setTimeout(() => this._menuItems()[0]?.focus({ preventScroll: true }), 30);\n }\n\n /**\n * Decides where the open dropdown goes: below the trigger when its real height fits, otherwise above when there is more\n * room there, capped to the room on that side (it scrolls inside). Measured against the visible window (the on-screen\n * keyboard and pinch-zoom shrink it, and the home-indicator safe area is kept clear), or, when `position: fixed` is not\n * usable, against the nearest scrolling ancestor. A fixed dropdown also stays inside the screen horizontally.\n */\n private _place(rect: DOMRect, fixed: boolean): void {\n const dropdown = this._dropdownEl();\n if (!dropdown) return;\n const view = this._viewport();\n const layout = this._layoutViewport();\n const bounds = fixed\n ? { top: view.top, bottom: view.bottom - this._safeAreaBottom() }\n : this._visibleBounds();\n const natural = Math.max(dropdown.offsetHeight, dropdown.scrollHeight);\n const spaceBelow = bounds.bottom - rect.bottom;\n const spaceAbove = rect.top - bounds.top;\n // 4px gap to the trigger + 8px margin from the screen edge = 12px.\n // Only flip upward when it doesn't fit below AND there is more room above — otherwise an upward\n // menu can run off the top of the screen (e.g. under a fixed header) where items can't be tapped.\n const up = natural + 12 > spaceBelow && spaceAbove > spaceBelow;\n this.openUp.set(up);\n this.maxHeight.set(Math.max(120, Math.floor((up ? spaceAbove : spaceBelow) - 12)));\n if (!fixed) {\n this.placement.set(null);\n return;\n }\n // right-aligned with the trigger, moved left/right only as far as needed to stay 8px inside the visible window\n this.maxWidth.set(Math.max(160, view.right - view.left - 16));\n const width = Math.min(dropdown.offsetWidth, this.maxWidth()!);\n const rightEdge = Math.min(Math.max(rect.right, view.left + 8 + width), view.right - 8);\n const right = Math.max(8, layout.width - rightEdge);\n this.placement.set(up\n ? { top: null, bottom: layout.height - rect.top + 4, right }\n : { top: rect.bottom + 4, bottom: null, right });\n }\n\n /**\n * The layout viewport: the box `position: fixed` offsets are measured from. It excludes scrollbars and ignores pinch-zoom,\n * unlike `window.innerWidth / innerHeight`.\n */\n private _layoutViewport(): { width: number; height: number } {\n const root = document.documentElement;\n return { width: root.clientWidth, height: root.clientHeight };\n }\n\n /** The part of the page that is actually visible (shrinks with the on-screen keyboard and pinch-zoom on phones). */\n private _viewport(): { top: number; bottom: number; left: number; right: number } {\n const vv = window.visualViewport;\n if (!vv) {\n const layout = this._layoutViewport();\n return { top: 0, left: 0, right: layout.width, bottom: layout.height };\n }\n return { top: vv.offsetTop, left: vv.offsetLeft, right: vv.offsetLeft + vv.width, bottom: vv.offsetTop + vv.height };\n }\n\n /** Height of the bottom safe area (home indicator) in px; 0 where there is none. */\n protected _safeAreaBottom(): number {\n const probe = document.createElement('div');\n probe.style.cssText = 'position:fixed;left:0;top:0;width:0;height:0;visibility:hidden;padding-bottom:env(safe-area-inset-bottom,0px)';\n document.body.appendChild(probe);\n const value = parseFloat(getComputedStyle(probe).paddingBottom) || 0;\n probe.remove();\n return value;\n }\n\n onActionClick(action: RowAction, event: Event) {\n event.stopPropagation();\n this.actionClick.emit(action.type);\n this.open.set(false);\n this._trigger()?.focus();\n }\n\n onDocumentClick() {\n if (this.open()) this.open.set(false);\n }\n\n /** 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). */\n onDocumentPointerDown(event: Event) {\n if (!this.open()) return;\n const target = event.target;\n if (target instanceof Node && this._el.nativeElement.contains(target)) return;\n this.open.set(false);\n }\n\n onEscape(event?: Event) {\n if (!this.open()) return; // closed: Escape is left to a surrounding side panel / modal\n event?.stopPropagation();\n event?.preventDefault();\n this.open.set(false);\n this._trigger()?.focus();\n }\n\n onArrow(event: Event, dir: 1 | -1) {\n if (!this.open()) return;\n event.preventDefault();\n const items = this._menuItems();\n if (!items.length) return;\n const idx = items.indexOf(document.activeElement as HTMLButtonElement);\n const next = idx === -1 ? 0 : (idx + dir + items.length) % items.length;\n items[next].focus();\n }\n\n /** Visible top/bottom of the nearest scrolling ancestor, clipped to the viewport. */\n private _visibleBounds(): { top: number; bottom: number } {\n let top = 0;\n let bottom = this._layoutViewport().height;\n let el: HTMLElement | null = (this._el.nativeElement as HTMLElement).parentElement;\n while (el && el !== document.body) {\n const oy = getComputedStyle(el).overflowY;\n if (oy === 'auto' || oy === 'scroll' || oy === 'hidden') {\n const r = el.getBoundingClientRect();\n top = Math.max(top, r.top);\n bottom = Math.min(bottom, r.bottom);\n break;\n }\n el = el.parentElement;\n }\n return { top, bottom };\n }\n\n /**\n * False when an ancestor creates a containing block for `position: fixed` (transform and the individual translate / rotate / scale,\n * filter, perspective, backdrop-filter, contain, container-type, content-visibility, will-change naming any of those).\n */\n private _fixedPositionable(): boolean {\n const isSet = (value: string | undefined) => !!value && value !== 'none';\n let el: HTMLElement | null = (this._el.nativeElement as HTMLElement).parentElement;\n while (el) {\n const cs = getComputedStyle(el) as CSSStyleDeclaration & Record<string, string | undefined>;\n if (\n isSet(cs.transform) || isSet(cs['translate']) || isSet(cs['rotate']) || isSet(cs['scale']) ||\n isSet(cs.filter) || isSet(cs.perspective) || isSet(cs['backdropFilter']) ||\n /paint|layout|strict|content/.test(cs.contain || '') ||\n (!!cs['containerType'] && cs['containerType'] !== 'normal') ||\n cs['contentVisibility'] === 'auto' ||\n /transform|filter|perspective|translate|rotate|scale|contain|backdrop-filter/.test(cs.willChange || '')\n ) return false;\n el = el.parentElement;\n }\n return true;\n }\n\n private _dropdownEl(): HTMLElement | null {\n return this._el.nativeElement.querySelector('.mm-dropdown') as HTMLElement | null;\n }\n\n private _menuItems(): HTMLButtonElement[] {\n return Array.from(\n this._el.nativeElement.querySelectorAll('.mm-item:not([disabled])')\n ) as HTMLButtonElement[];\n }\n\n private _trigger(): HTMLButtonElement | null {\n return this._el.nativeElement.querySelector('.mm-trigger') as HTMLButtonElement | null;\n }\n}\n"],"mappings":";;;AAaA,MAAM,iBAAyC;CAC7C,QAAkB;CAClB,QAAkB;CAClB,UAAkB;CAClB,QAAkB;CAClB,WAAkB;CAClB,SAAkB;CAClB,QAAkB;CAClB,eAAkB;CAClB,gBAAkB;CAClB,gBAAkB;CAClB,gBAAkB;CAClB,WAAkB;CAClB,WAAkB;CAClB,UAAkB;CAClB,iBAAkB;CAClB,iBAAk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