@paperless/core 3.17.3 → 3.19.0

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 (352) hide show
  1. package/dist/assets/icons/time/history.svg +12 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/{paperless/p-be576419.entry.js → build/p-0273292b.entry.js} +1 -1
  4. package/dist/{paperless/p-0aa7e5d2.entry.js → build/p-037f42f8.entry.js} +1 -1
  5. package/dist/build/{p-fbabae11.entry.js → p-062847ab.entry.js} +1 -1
  6. package/dist/{paperless/p-fca492f6.entry.js → build/p-06a28485.entry.js} +1 -1
  7. package/dist/build/{p-3557f8b1.entry.js → p-0cea7ced.entry.js} +1 -1
  8. package/dist/build/{p-3376af98.entry.js → p-0e224ef5.entry.js} +1 -1
  9. package/dist/{paperless/p-9c440af8.entry.js → build/p-16ba08a8.entry.js} +2 -2
  10. package/dist/build/{p-791d33e5.entry.js → p-1c74a638.entry.js} +1 -1
  11. package/dist/build/{p-a00541cc.entry.js → p-2db23f7c.entry.js} +1 -1
  12. package/dist/build/{p-2907111a.entry.js → p-38fdeb6a.entry.js} +1 -1
  13. package/dist/build/{p-3fb95d2b.entry.js → p-401dc066.entry.js} +1 -1
  14. package/dist/{paperless/p-11d65b3d.entry.js → build/p-474b1c2a.entry.js} +1 -1
  15. package/dist/build/{p-344ab157.entry.js → p-4a15aeb1.entry.js} +1 -1
  16. package/dist/{paperless/p-66eaca48.entry.js → build/p-4afb2057.entry.js} +1 -1
  17. package/dist/{paperless/p-41326183.entry.js → build/p-4d1490bb.entry.js} +1 -1
  18. package/dist/build/{p-c5085825.entry.js → p-5f56c9d8.entry.js} +1 -1
  19. package/dist/{paperless/p-9c4c942e.entry.js → build/p-64ddcf35.entry.js} +1 -1
  20. package/dist/build/{p-e1a16ec5.entry.js → p-6ae81fb4.entry.js} +1 -1
  21. package/dist/build/{p-fa7c3951.entry.js → p-715c9e03.entry.js} +1 -1
  22. package/dist/{paperless/p-7afccf96.entry.js → build/p-743b2cbf.entry.js} +1 -1
  23. package/dist/build/{p-a1a4a39e.entry.js → p-74d930a5.entry.js} +1 -1
  24. package/dist/{paperless/p-6dff428b.entry.js → build/p-79aaceba.entry.js} +1 -1
  25. package/dist/build/{p-2e850d9d.entry.js → p-852141f3.entry.js} +1 -1
  26. package/dist/build/{p-7fa2bbee.entry.js → p-8f669fe3.entry.js} +1 -1
  27. package/dist/{paperless/p-bec66e8f.entry.js → build/p-9909d12e.entry.js} +1 -1
  28. package/dist/{paperless/p-9a9f0cd0.entry.js → build/p-9f837fff.entry.js} +1 -1
  29. package/dist/{paperless/p-C8Ju8eG_.js → build/p-C8RpJKnN.js} +1 -1
  30. package/dist/build/{p-6XOzWrsN.js → p-R-AUQmDD.js} +1 -1
  31. package/dist/build/{p-043b91f5.entry.js → p-a29292dd.entry.js} +1 -1
  32. package/dist/build/{p-bdda2ffc.entry.js → p-ab95bbbe.entry.js} +1 -1
  33. package/dist/build/{p-2e61871a.entry.js → p-af902e1e.entry.js} +1 -1
  34. package/dist/build/{p-186454b1.entry.js → p-bae636cb.entry.js} +1 -1
  35. package/dist/build/{p-c6056657.entry.js → p-bafbc266.entry.js} +1 -1
  36. package/dist/build/p-c6e99b4e.entry.js +1 -0
  37. package/dist/build/{p-282b2776.entry.js → p-c7eb064e.entry.js} +1 -1
  38. package/dist/build/p-c9afeeb8.entry.js +1 -0
  39. package/dist/build/{p-5e4343f3.entry.js → p-d2240c4f.entry.js} +1 -1
  40. package/dist/build/{p-9232a310.entry.js → p-dc368259.entry.js} +1 -1
  41. package/dist/{paperless/p-faad66c1.entry.js → build/p-dca7f25c.entry.js} +1 -1
  42. package/dist/build/{p-7fb843e7.entry.js → p-e74337b8.entry.js} +1 -1
  43. package/dist/{paperless/p-34b81a42.entry.js → build/p-e756ae7b.entry.js} +1 -1
  44. package/dist/build/{p-a4a66b93.entry.js → p-ec3e77cd.entry.js} +1 -1
  45. package/dist/build/p-fcd8d2ec.js +1 -0
  46. package/dist/build/p-kefpJPJT.js +1 -0
  47. package/dist/build/paperless.esm.js +1 -1
  48. package/dist/cjs/{icons-DIczdKrP.js → icons-DOXVTo-k.js} +16 -0
  49. package/dist/cjs/index-BGtpSJv_.js +8 -0
  50. package/dist/cjs/index.cjs.js +2 -2
  51. package/dist/cjs/loader.cjs.js +1 -1
  52. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  53. package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
  54. package/dist/cjs/p-badge_3.cjs.entry.js +2 -2
  55. package/dist/cjs/p-button_3.cjs.entry.js +3 -3
  56. package/dist/cjs/p-calendar.cjs.entry.js +2 -2
  57. package/dist/cjs/p-card-body.cjs.entry.js +2 -2
  58. package/dist/cjs/p-card-container.cjs.entry.js +2 -2
  59. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  60. package/dist/cjs/p-checkbox_3.cjs.entry.js +2 -2
  61. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  62. package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
  63. package/dist/cjs/p-divider.cjs.entry.js +2 -2
  64. package/dist/cjs/p-drawer-body_3.cjs.entry.js +2 -2
  65. package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +2 -2
  66. package/dist/cjs/p-dropzone.cjs.entry.js +2 -2
  67. package/dist/cjs/p-empty-state_8.cjs.entry.js +8 -8
  68. package/dist/cjs/p-field_3.cjs.entry.js +2 -2
  69. package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
  70. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  71. package/dist/cjs/p-label.cjs.entry.js +2 -2
  72. package/dist/cjs/p-listing-item.cjs.entry.js +2 -2
  73. package/dist/cjs/p-listing-line.cjs.entry.js +2 -2
  74. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  75. package/dist/cjs/p-modal-body_4.cjs.entry.js +2 -2
  76. package/dist/cjs/p-navbar.cjs.entry.js +3 -3
  77. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  78. package/dist/cjs/p-navigation-section.cjs.entry.js +2 -2
  79. package/dist/cjs/p-navigation-title.cjs.entry.js +2 -2
  80. package/dist/cjs/p-pagination_3.cjs.entry.js +2 -2
  81. package/dist/cjs/p-profile.cjs.entry.js +2 -2
  82. package/dist/cjs/p-radio.cjs.entry.js +2 -2
  83. package/dist/cjs/p-range.cjs.entry.js +2 -2
  84. package/dist/cjs/p-select.cjs.entry.js +2 -2
  85. package/dist/cjs/p-stepper-item_2.cjs.entry.js +2 -2
  86. package/dist/cjs/p-submenu-item.cjs.entry.js +44 -0
  87. package/dist/cjs/p-submenu.cjs.entry.js +138 -0
  88. package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
  89. package/dist/cjs/p-toast.cjs.entry.js +3 -3
  90. package/dist/cjs/p-toggle.cjs.entry.js +2 -2
  91. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  92. package/dist/cjs/paperless.cjs.js +1 -1
  93. package/dist/cjs/{state-DM8SZBNO.js → state-iDWWYScu.js} +1 -1
  94. package/dist/cjs/{themed-host.component-BeeT9Ite.js → themed-host.component-B64rmI9X.js} +1 -1
  95. package/dist/collection/assets/icons/time/history.svg +12 -0
  96. package/dist/collection/collection-manifest.json +2 -0
  97. package/dist/collection/components/atoms/card/header/card-header.component.js +1 -1
  98. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +1 -1
  99. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +1 -1
  100. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  101. package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
  102. package/dist/collection/components/atoms/segment/item/segment-item.component.js +1 -1
  103. package/dist/collection/components/helpers/table/row-action/table-row-action.component.js +1 -1
  104. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  105. package/dist/collection/components/molecules/button/button.component.js +1 -1
  106. package/dist/collection/components/molecules/dropzone/dropzone.component.js +1 -1
  107. package/dist/collection/components/molecules/empty-state/empty-state.component.js +1 -1
  108. package/dist/collection/components/molecules/field/field/field.component.js +1 -1
  109. package/dist/collection/components/molecules/label/label.component.js +1 -1
  110. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +1 -1
  111. package/dist/collection/components/molecules/select/select.component.js +2 -2
  112. package/dist/collection/components/molecules/submenu/item/submenu-item.component.css +1 -0
  113. package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +94 -0
  114. package/dist/collection/components/molecules/submenu/item/submenu-item.stories.js +20 -0
  115. package/dist/collection/components/molecules/submenu/menu/submenu.component.css +1 -0
  116. package/dist/collection/components/molecules/submenu/menu/submenu.component.js +265 -0
  117. package/dist/collection/components/molecules/submenu/menu/submenu.stories.js +35 -0
  118. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  119. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  120. package/dist/collection/components/molecules/table/header/table-header.component.js +1 -1
  121. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  122. package/dist/collection/components/molecules/toast/toast.component.js +2 -2
  123. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  124. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  125. package/dist/collection/components/organisms/table/table.component.js +1 -1
  126. package/dist/collection/state.js +1 -1
  127. package/dist/collection/utils/icons.js +3 -0
  128. package/dist/components/index.js +1 -1
  129. package/dist/components/{p-Dkr0Ta5m.js → p-1fwqR3M8.js} +1 -1
  130. package/dist/components/{p-CTI55iY5.js → p-3RpDMSup.js} +1 -1
  131. package/dist/components/{p-GYxEYTaZ.js → p-5lCEImmh.js} +1 -1
  132. package/dist/components/{p-BEo__1-X.js → p-7126PGGO.js} +1 -1
  133. package/dist/components/p-7Rfc1ojx.js +1 -0
  134. package/dist/components/{p-DpmybwXO.js → p-A3pxcjAg.js} +1 -1
  135. package/dist/components/{p-BBiGYjKk.js → p-Af4nLBaC.js} +1 -1
  136. package/dist/components/{p-C1Z78Vu0.js → p-B14dOrqN.js} +1 -1
  137. package/dist/components/{p-DM-VvZXT.js → p-B2CXe_gV.js} +1 -1
  138. package/dist/components/{p-BANLejQ8.js → p-BDLTMUwe.js} +1 -1
  139. package/dist/components/{p-B-YBFRbB.js → p-BFwIDu60.js} +1 -1
  140. package/dist/components/{p-C7rLlb8m.js → p-BeiwMWEL.js} +1 -1
  141. package/dist/components/{p-C9B5DTYx.js → p-Bi9qGen-.js} +1 -1
  142. package/dist/components/p-BkR9S859.js +1 -0
  143. package/dist/components/{p-Da9Ao_Ve.js → p-BmTrLfTO.js} +1 -1
  144. package/dist/components/{p-D5P9pJhK.js → p-BoWT9yqt.js} +1 -1
  145. package/dist/components/{p-D3wJam1N.js → p-Bwd_xz-V.js} +1 -1
  146. package/dist/components/{p-Bk5wUwrW.js → p-ByVFnBJQ.js} +1 -1
  147. package/dist/components/{p-Dz2_k8-X.js → p-BzL5UoRE.js} +1 -1
  148. package/dist/components/{p-BNMkjAgS.js → p-C216JB0f.js} +1 -1
  149. package/dist/{build/p-C8Ju8eG_.js → components/p-C8RpJKnN.js} +1 -1
  150. package/dist/components/{p-mLlgASil.js → p-C9okGmiF.js} +1 -1
  151. package/dist/components/{p-DU-stXqd.js → p-CDu9AR8v.js} +1 -1
  152. package/dist/components/{p-BSCgVJQ9.js → p-CLRy-4ol.js} +1 -1
  153. package/dist/components/{p-SUrtpFuE.js → p-CQbdPtw3.js} +1 -1
  154. package/dist/components/{p-CQ6JEZg6.js → p-CipXZt6g.js} +1 -1
  155. package/dist/components/{p-Dv2ILejF.js → p-CyuT-Yjz.js} +1 -1
  156. package/dist/components/{p-CjhbgGH8.js → p-CzaAM-R9.js} +1 -1
  157. package/dist/components/p-DhdlSO_S.js +1 -0
  158. package/dist/components/{p-xkXCC7GI.js → p-Dor8zrST.js} +1 -1
  159. package/dist/components/{p-CRBPo2To.js → p-DsbU_tk9.js} +1 -1
  160. package/dist/components/{p-B6hIbVwt.js → p-DwH51xRQ.js} +1 -1
  161. package/dist/components/{p-DHJ6_2xS.js → p-E-Q2KO4x.js} +1 -1
  162. package/dist/components/{p-D8faiybE.js → p-FOyqA_qR.js} +1 -1
  163. package/dist/components/{p-B91CxVcz.js → p-IpgRKSDU.js} +1 -1
  164. package/dist/components/{p-CtnPrlBW.js → p-Rp5EpePo.js} +1 -1
  165. package/dist/components/{p-BOJwTddb.js → p-Sl3w6Zuw.js} +1 -1
  166. package/dist/components/{p-7-twKt34.js → p-WnyHedyk.js} +1 -1
  167. package/dist/components/{p-C-ljhNrW.js → p-aF3D0pOv.js} +1 -1
  168. package/dist/components/p-accordion.js +1 -1
  169. package/dist/components/p-attachment.js +1 -1
  170. package/dist/components/p-backdrop.js +1 -1
  171. package/dist/components/p-badge.js +1 -1
  172. package/dist/components/p-button.js +1 -1
  173. package/dist/components/p-calendar.js +1 -1
  174. package/dist/components/p-card-body.js +1 -1
  175. package/dist/components/p-card-container.js +1 -1
  176. package/dist/components/p-card-header.js +1 -1
  177. package/dist/components/p-checkbox.js +1 -1
  178. package/dist/components/p-cropper.js +2 -2
  179. package/dist/components/p-datepicker.js +1 -1
  180. package/dist/components/p-divider.js +1 -1
  181. package/dist/components/p-drawer-container.js +1 -1
  182. package/dist/components/p-drawer-header.js +1 -1
  183. package/dist/components/p-drawer.js +1 -1
  184. package/dist/components/p-dropdown-menu-container.js +1 -1
  185. package/dist/components/p-dropdown-menu-item.js +1 -1
  186. package/dist/components/p-dropdown.js +1 -1
  187. package/dist/components/p-dropzone.js +1 -1
  188. package/dist/components/p-empty-state.js +1 -1
  189. package/dist/components/p-field-container.js +1 -1
  190. package/dist/components/p-field.js +1 -1
  191. package/dist/components/p-floating-menu-container.js +1 -1
  192. package/dist/components/p-floating-menu-item.js +1 -1
  193. package/dist/components/p-helper.js +1 -1
  194. package/dist/components/p-icon.js +1 -1
  195. package/dist/components/p-info-panel.js +1 -1
  196. package/dist/components/p-label.js +1 -1
  197. package/dist/components/p-listing-item.js +1 -1
  198. package/dist/components/p-listing-line.js +1 -1
  199. package/dist/components/p-listing.js +1 -1
  200. package/dist/components/p-loader.js +1 -1
  201. package/dist/components/p-modal-body.js +1 -1
  202. package/dist/components/p-modal-container.js +1 -1
  203. package/dist/components/p-modal-footer.js +1 -1
  204. package/dist/components/p-modal-header.js +1 -1
  205. package/dist/components/p-modal.js +1 -1
  206. package/dist/components/p-navbar.js +1 -1
  207. package/dist/components/p-navigation-item.js +1 -1
  208. package/dist/components/p-navigation-section.js +1 -1
  209. package/dist/components/p-navigation-title.js +1 -1
  210. package/dist/components/{p-COuYu8I6.js → p-nh0qWjvv.js} +1 -1
  211. package/dist/components/{p-Dp4CjRib.js → p-nr6mSWVU.js} +1 -1
  212. package/dist/components/{p-D6g8cYWI.js → p-p5xtufj9.js} +1 -1
  213. package/dist/components/p-pagination-pages-item.js +1 -1
  214. package/dist/components/p-pagination-pages.js +1 -1
  215. package/dist/components/p-pagination-size.js +1 -1
  216. package/dist/components/p-pagination.js +1 -1
  217. package/dist/components/p-profile.js +1 -1
  218. package/dist/components/p-radio.js +1 -1
  219. package/dist/components/p-range.js +1 -1
  220. package/dist/components/p-segment-container.js +1 -1
  221. package/dist/components/p-segment-item.js +1 -1
  222. package/dist/components/p-select.js +1 -1
  223. package/dist/components/p-stepper-item.js +1 -1
  224. package/dist/components/p-stepper-line.js +1 -1
  225. package/dist/components/p-stepper.js +1 -1
  226. package/dist/components/p-submenu-item.d.ts +11 -0
  227. package/dist/components/p-submenu-item.js +1 -0
  228. package/dist/components/p-submenu.d.ts +11 -0
  229. package/dist/components/p-submenu.js +1 -0
  230. package/dist/components/p-tab-container.js +1 -1
  231. package/dist/components/p-tab-item.js +1 -1
  232. package/dist/components/p-table-cell.js +1 -1
  233. package/dist/components/p-table-footer.js +1 -1
  234. package/dist/components/p-table-header.js +1 -1
  235. package/dist/components/p-table-row-actions-container.js +1 -1
  236. package/dist/components/p-table-row.js +1 -1
  237. package/dist/components/p-table.js +1 -1
  238. package/dist/components/p-toast.js +1 -1
  239. package/dist/components/p-toggle.js +1 -1
  240. package/dist/components/p-tooltip.js +1 -1
  241. package/dist/components/{p-C0cLQxQE.js → p-uJi0kAXM.js} +1 -1
  242. package/dist/components/{p-1HCkK9Pf.js → p-uMOTwHO0.js} +1 -1
  243. package/dist/esm/{icons-C8Ju8eG_.js → icons-C8RpJKnN.js} +16 -0
  244. package/dist/esm/index-yFtRjnrU.js +8 -0
  245. package/dist/esm/index.js +2 -2
  246. package/dist/esm/loader.js +1 -1
  247. package/dist/esm/p-accordion.entry.js +2 -2
  248. package/dist/esm/p-backdrop.entry.js +2 -2
  249. package/dist/esm/p-badge_3.entry.js +2 -2
  250. package/dist/esm/p-button_3.entry.js +3 -3
  251. package/dist/esm/p-calendar.entry.js +2 -2
  252. package/dist/esm/p-card-body.entry.js +2 -2
  253. package/dist/esm/p-card-container.entry.js +2 -2
  254. package/dist/esm/p-card-header.entry.js +2 -2
  255. package/dist/esm/p-checkbox_3.entry.js +2 -2
  256. package/dist/esm/p-cropper.entry.js +2 -2
  257. package/dist/esm/p-datepicker.entry.js +1 -1
  258. package/dist/esm/p-divider.entry.js +2 -2
  259. package/dist/esm/p-drawer-body_3.entry.js +2 -2
  260. package/dist/esm/p-dropdown-menu-item_2.entry.js +2 -2
  261. package/dist/esm/p-dropzone.entry.js +2 -2
  262. package/dist/esm/p-empty-state_8.entry.js +8 -8
  263. package/dist/esm/p-field_3.entry.js +2 -2
  264. package/dist/esm/p-floating-menu-item.entry.js +2 -2
  265. package/dist/esm/p-info-panel.entry.js +2 -2
  266. package/dist/esm/p-label.entry.js +2 -2
  267. package/dist/esm/p-listing-item.entry.js +2 -2
  268. package/dist/esm/p-listing-line.entry.js +2 -2
  269. package/dist/esm/p-listing.entry.js +2 -2
  270. package/dist/esm/p-modal-body_4.entry.js +2 -2
  271. package/dist/esm/p-navbar.entry.js +3 -3
  272. package/dist/esm/p-navigation-item.entry.js +2 -2
  273. package/dist/esm/p-navigation-section.entry.js +2 -2
  274. package/dist/esm/p-navigation-title.entry.js +2 -2
  275. package/dist/esm/p-pagination_3.entry.js +2 -2
  276. package/dist/esm/p-profile.entry.js +2 -2
  277. package/dist/esm/p-radio.entry.js +2 -2
  278. package/dist/esm/p-range.entry.js +2 -2
  279. package/dist/esm/p-select.entry.js +2 -2
  280. package/dist/esm/p-stepper-item_2.entry.js +2 -2
  281. package/dist/esm/p-submenu-item.entry.js +42 -0
  282. package/dist/esm/p-submenu.entry.js +136 -0
  283. package/dist/esm/p-tab-item.entry.js +2 -2
  284. package/dist/esm/p-toast.entry.js +3 -3
  285. package/dist/esm/p-toggle.entry.js +2 -2
  286. package/dist/esm/p-tooltip.entry.js +2 -2
  287. package/dist/esm/paperless.js +1 -1
  288. package/dist/esm/{state-BJbOyUuL.js → state-CbdSr-Je.js} +1 -1
  289. package/dist/esm/{themed-host.component-CUNsbvgN.js → themed-host.component-DQK0_ZY1.js} +1 -1
  290. package/dist/index.html +1 -1
  291. package/dist/paperless/index.esm.js +1 -1
  292. package/dist/{build/p-be576419.entry.js → paperless/p-0273292b.entry.js} +1 -1
  293. package/dist/{build/p-0aa7e5d2.entry.js → paperless/p-037f42f8.entry.js} +1 -1
  294. package/dist/paperless/{p-fbabae11.entry.js → p-062847ab.entry.js} +1 -1
  295. package/dist/{build/p-fca492f6.entry.js → paperless/p-06a28485.entry.js} +1 -1
  296. package/dist/paperless/{p-3557f8b1.entry.js → p-0cea7ced.entry.js} +1 -1
  297. package/dist/paperless/{p-3376af98.entry.js → p-0e224ef5.entry.js} +1 -1
  298. package/dist/{build/p-9c440af8.entry.js → paperless/p-16ba08a8.entry.js} +2 -2
  299. package/dist/paperless/{p-791d33e5.entry.js → p-1c74a638.entry.js} +1 -1
  300. package/dist/paperless/{p-a00541cc.entry.js → p-2db23f7c.entry.js} +1 -1
  301. package/dist/paperless/{p-2907111a.entry.js → p-38fdeb6a.entry.js} +1 -1
  302. package/dist/paperless/{p-3fb95d2b.entry.js → p-401dc066.entry.js} +1 -1
  303. package/dist/{build/p-11d65b3d.entry.js → paperless/p-474b1c2a.entry.js} +1 -1
  304. package/dist/paperless/{p-344ab157.entry.js → p-4a15aeb1.entry.js} +1 -1
  305. package/dist/{build/p-66eaca48.entry.js → paperless/p-4afb2057.entry.js} +1 -1
  306. package/dist/{build/p-41326183.entry.js → paperless/p-4d1490bb.entry.js} +1 -1
  307. package/dist/paperless/{p-c5085825.entry.js → p-5f56c9d8.entry.js} +1 -1
  308. package/dist/{build/p-9c4c942e.entry.js → paperless/p-64ddcf35.entry.js} +1 -1
  309. package/dist/paperless/{p-e1a16ec5.entry.js → p-6ae81fb4.entry.js} +1 -1
  310. package/dist/paperless/{p-fa7c3951.entry.js → p-715c9e03.entry.js} +1 -1
  311. package/dist/{build/p-7afccf96.entry.js → paperless/p-743b2cbf.entry.js} +1 -1
  312. package/dist/paperless/{p-a1a4a39e.entry.js → p-74d930a5.entry.js} +1 -1
  313. package/dist/{build/p-6dff428b.entry.js → paperless/p-79aaceba.entry.js} +1 -1
  314. package/dist/paperless/{p-2e850d9d.entry.js → p-852141f3.entry.js} +1 -1
  315. package/dist/paperless/{p-7fa2bbee.entry.js → p-8f669fe3.entry.js} +1 -1
  316. package/dist/{build/p-bec66e8f.entry.js → paperless/p-9909d12e.entry.js} +1 -1
  317. package/dist/{build/p-9a9f0cd0.entry.js → paperless/p-9f837fff.entry.js} +1 -1
  318. package/dist/{components/p-C8Ju8eG_.js → paperless/p-C8RpJKnN.js} +1 -1
  319. package/dist/paperless/{p-6XOzWrsN.js → p-R-AUQmDD.js} +1 -1
  320. package/dist/paperless/{p-043b91f5.entry.js → p-a29292dd.entry.js} +1 -1
  321. package/dist/paperless/{p-bdda2ffc.entry.js → p-ab95bbbe.entry.js} +1 -1
  322. package/dist/paperless/{p-2e61871a.entry.js → p-af902e1e.entry.js} +1 -1
  323. package/dist/paperless/{p-186454b1.entry.js → p-bae636cb.entry.js} +1 -1
  324. package/dist/paperless/{p-c6056657.entry.js → p-bafbc266.entry.js} +1 -1
  325. package/dist/paperless/p-c6e99b4e.entry.js +1 -0
  326. package/dist/paperless/{p-282b2776.entry.js → p-c7eb064e.entry.js} +1 -1
  327. package/dist/paperless/p-c9afeeb8.entry.js +1 -0
  328. package/dist/paperless/{p-5e4343f3.entry.js → p-d2240c4f.entry.js} +1 -1
  329. package/dist/paperless/{p-9232a310.entry.js → p-dc368259.entry.js} +1 -1
  330. package/dist/{build/p-faad66c1.entry.js → paperless/p-dca7f25c.entry.js} +1 -1
  331. package/dist/paperless/{p-7fb843e7.entry.js → p-e74337b8.entry.js} +1 -1
  332. package/dist/{build/p-34b81a42.entry.js → paperless/p-e756ae7b.entry.js} +1 -1
  333. package/dist/paperless/{p-a4a66b93.entry.js → p-ec3e77cd.entry.js} +1 -1
  334. package/dist/paperless/p-kefpJPJT.js +1 -0
  335. package/dist/paperless/paperless.esm.js +1 -1
  336. package/dist/sw.js +1 -1
  337. package/dist/sw.js.map +1 -1
  338. package/dist/types/components/molecules/submenu/item/submenu-item.component.d.ts +12 -0
  339. package/dist/types/components/molecules/submenu/item/submenu-item.stories.d.ts +21 -0
  340. package/dist/types/components/molecules/submenu/menu/submenu.component.d.ts +32 -0
  341. package/dist/types/components/molecules/submenu/menu/submenu.stories.d.ts +28 -0
  342. package/dist/types/components.d.ts +106 -0
  343. package/dist/types/utils/icons.d.ts +2 -0
  344. package/hydrate/index.js +234 -29
  345. package/hydrate/index.mjs +234 -29
  346. package/package.json +9 -1
  347. package/dist/build/p-05f7279a.js +0 -1
  348. package/dist/build/p-CSySY6aC.js +0 -1
  349. package/dist/components/p-Au2WuEGF.js +0 -1
  350. package/dist/components/p-BO7NYfW5.js +0 -1
  351. package/dist/components/p-wYHaAjO_.js +0 -1
  352. package/dist/paperless/p-CSySY6aC.js +0 -1
package/hydrate/index.js CHANGED
@@ -6752,7 +6752,7 @@ const createStore = (defaultState, shouldUpdate) => {
6752
6752
  const stateThemeOptions = ['light', 'dark'];
6753
6753
  const stateLocaleOptions = ['nl', 'en'];
6754
6754
  const { state: localState} = createStore({
6755
- theme: stateThemeOptions[0],
6755
+ theme: stateThemeOptions[1],
6756
6756
  locale: stateLocaleOptions[0],
6757
6757
  });
6758
6758
  const state = localState;
@@ -8246,6 +8246,20 @@ var clock$1 = `<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em"
8246
8246
  </svg>
8247
8247
  `;
8248
8248
 
8249
+ var history = `<svg width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
8250
+ <g clip-path="url(#clip0_2753_40677)">
8251
+ <path d="M8 5V8L10.5 9.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
8252
+ <path d="M4.5 6.5H2V4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
8253
+ <path d="M4.225 12.0002C5.01123 12.7421 5.99865 13.2359 7.06389 13.4198C8.12914 13.6037 9.22496 13.4697 10.2144 13.0344C11.2039 12.5991 12.0432 11.8818 12.6274 10.9723C13.2116 10.0627 13.5148 9.00116 13.4991 7.92028C13.4834 6.83939 13.1496 5.78708 12.5393 4.89484C11.929 4.0026 11.0693 3.30999 10.0676 2.90356C9.06588 2.49712 7.96664 2.39487 6.90718 2.6096C5.84771 2.82432 4.87502 3.34649 4.11062 4.11087C3.375 4.85587 2.7675 5.55837 2 6.50024" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
8254
+ </g>
8255
+ <defs>
8256
+ <clipPath id="clip0_2753_40677">
8257
+ <rect width="16" height="16" fill="white"/>
8258
+ </clipPath>
8259
+ </defs>
8260
+ </svg>
8261
+ `;
8262
+
8249
8263
  var addressBook = `<svg width="1em" height="1em" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
8250
8264
  <g clip-path="url(#clip0_4599_3969)">
8251
8265
  <path d="M8.5 9C9.60457 9 10.5 8.10457 10.5 7C10.5 5.89543 9.60457 5 8.5 5C7.39543 5 6.5 5.89543 6.5 7C6.5 8.10457 7.39543 9 8.5 9Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
@@ -8464,6 +8478,7 @@ const icons = {
8464
8478
  'calendar-free': calendarFree,
8465
8479
  'calendar-not-free': calendarNotFree,
8466
8480
  clock: clock$1,
8481
+ history,
8467
8482
  //users
8468
8483
  'address-book': addressBook,
8469
8484
  female,
@@ -88034,7 +88049,7 @@ const calendar$1 = cva(['flex w-[17.5rem] flex-col gap-4'], {
88034
88049
  },
88035
88050
  },
88036
88051
  });
88037
- const header$5 = cva([
88052
+ const header$6 = cva([
88038
88053
  'flex items-center gap-2',
88039
88054
  'w-full rounded-lg p-2',
88040
88055
  `
@@ -88278,7 +88293,7 @@ class Calendar {
88278
88293
  nextFn = num => this._changeYear(num);
88279
88294
  nextType = 'year';
88280
88295
  }
88281
- return (hAsync("div", { class: header$5({ type: this.mode }) }, this.mode !== 'year' && (hAsync("p-button", { disabled: !this._canSetAmount(nextType, -1) || this._view === 'year', icon: 'caret', iconRotate: 90, size: 'sm', tabIndex: -1, variant: 'secondary', iconOnly: true, onClick: () => nextFn(-1) })), hAsync("div", { class: cn('flex gap-2', {
88296
+ return (hAsync("div", { class: header$6({ type: this.mode }) }, this.mode !== 'year' && (hAsync("p-button", { disabled: !this._canSetAmount(nextType, -1) || this._view === 'year', icon: 'caret', iconRotate: 90, size: 'sm', tabIndex: -1, variant: 'secondary', iconOnly: true, onClick: () => nextFn(-1) })), hAsync("div", { class: cn('flex gap-2', {
88282
88297
  'flex-1': this._enableToday,
88283
88298
  }) }, this.mode !== 'year' && (hAsync("p-button", { active: this._view === 'month' && this.mode !== 'month', disabled: !this._canChangeView('month'), size: 'sm', tabIndex: -1, variant: 'secondary', onClick: () => this._changeView('month') }, dateFnsExports.format(this._viewDate, 'MMMM', {
88284
88299
  locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
@@ -88647,7 +88662,7 @@ class CardContainer {
88647
88662
 
88648
88663
  const cardHeaderComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\\[-1\\]{z-index:-1}.z-\\[1\\]{z-index:1}.ml-auto{margin-left:auto}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\\[5\\/1\\]{aspect-ratio:5/1}.h-8{height:2rem}.h-full{height:100%}.max-h-\\[6\\.25rem\\]{max-height:6.25rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem}.pt-3,.py-3{padding-top:.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.1)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/10:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.1)}`;
88649
88664
 
88650
- const header$4 = cva(`relative z-[1] inline-flex w-full flex-col justify-start rounded-t-2xl`, {
88665
+ const header$5 = cva(`relative z-[1] inline-flex w-full flex-col justify-start rounded-t-2xl`, {
88651
88666
  variants: {
88652
88667
  variant: {
88653
88668
  default: 'px-4',
@@ -88655,7 +88670,7 @@ const header$4 = cva(`relative z-[1] inline-flex w-full flex-col justify-start r
88655
88670
  },
88656
88671
  },
88657
88672
  });
88658
- const content$6 = cva('flex items-center gap-2', {
88673
+ const content$7 = cva('flex items-center gap-2', {
88659
88674
  variants: {
88660
88675
  variant: {
88661
88676
  default: 'py-3',
@@ -88696,9 +88711,9 @@ class CardHeader {
88696
88711
  */
88697
88712
  divider = true;
88698
88713
  render() {
88699
- return (hAsync(ThemedHost, { key: 'b7eb827631c54142f2a4e3fe2b81271c8144b16a' }, hAsync("div", { key: 'fcb33fb73eb61e36d8c4990b5b27e217221b96a4', class: header$4({
88714
+ return (hAsync(ThemedHost, { key: 'b7eb827631c54142f2a4e3fe2b81271c8144b16a' }, hAsync("div", { key: 'fcb33fb73eb61e36d8c4990b5b27e217221b96a4', class: header$5({
88700
88715
  variant: this.variant,
88701
- }) }, hAsync("div", { key: '1ae832e07095882bb8e46398c30609e12fa4d6eb', class: content$6({
88716
+ }) }, hAsync("div", { key: '1ae832e07095882bb8e46398c30609e12fa4d6eb', class: content$7({
88702
88717
  variant: this.variant,
88703
88718
  }) }, this.icon ? (hAsync("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (hAsync("slot", { name: 'prefix' })), hAsync("div", { key: '2c9394715612b7415aeb065d9575caf755044e5f', class: title$2() }, hAsync("span", { key: '9d8e7178338dd0e4ed218c5a16d5c77486c7f240', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : hAsync("slot", null)), hAsync("slot", { key: '1483bded5220bda03e8b80228135539a8b099033', name: 'content-suffix' })), hAsync("div", { key: '62055fed1277f466d6e70578c12ce51cb9a73272', class: '\n ml-auto flex items-center justify-end gap-4\n empty:hidden\n ' }, hAsync("slot", { key: '73b2c1a055167b6050ec18f2a8b997bea8f39f8e', name: 'suffix' }))), this.variant === 'default' ? (asBoolean(this.divider) && (hAsync("p-divider", { class: '\n text-off-white-700\n dark:text-white/10\n ' }))) : (hAsync("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, hAsync("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
88704
88719
  }
@@ -92558,7 +92573,7 @@ class Datepicker {
92558
92573
 
92559
92574
  const dividerComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.flex{display:flex}.h-full{height:100%}.w-full{width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-hurricane-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.before\\:hidden:before{content:var(--tw-content);display:none}.before\\:h-px:before{content:var(--tw-content);height:1px}.before\\:w-px:before{content:var(--tw-content);width:1px}.before\\:flex-1:before{content:var(--tw-content);flex:1 1 0%}.before\\:bg-current:before{background-color:currentColor;content:var(--tw-content)}.before\\:content-\\[\\"\\"\\]:before{--tw-content:"";content:var(--tw-content)}.after\\:hidden:after{content:var(--tw-content);display:none}.after\\:h-px:after{content:var(--tw-content);height:1px}.after\\:w-px:after{content:var(--tw-content);width:1px}.after\\:flex-1:after{content:var(--tw-content);flex:1 1 0%}.after\\:bg-current:after{background-color:currentColor;content:var(--tw-content)}.after\\:content-\\[\\"\\"\\]:after{--tw-content:"";content:var(--tw-content)}.empty\\:px-0:empty{padding-left:0;padding-right:0}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}`;
92560
92575
 
92561
- const content$5 = cva([
92576
+ const content$6 = cva([
92562
92577
  'flex items-center',
92563
92578
  `
92564
92579
  before:content-[""]
@@ -92613,7 +92628,7 @@ class Divider {
92613
92628
  get _el() { return getElement(this); }
92614
92629
  render() {
92615
92630
  const hasContent = this._el.innerHTML?.length > 0;
92616
- return (hAsync(ThemedHost, { key: 'ff409606cbaf88fec989b154c9c16eb07b60e185' }, hAsync("div", { key: 'bbf08c6ede2f45885372760c28026fa170dd2cd7', class: cn(content$5({
92631
+ return (hAsync(ThemedHost, { key: 'ff409606cbaf88fec989b154c9c16eb07b60e185' }, hAsync("div", { key: 'bbf08c6ede2f45885372760c28026fa170dd2cd7', class: cn(content$6({
92617
92632
  variant: this.variant,
92618
92633
  alignContent: this.alignContent,
92619
92634
  }), {
@@ -92829,7 +92844,7 @@ class DrawerContainer {
92829
92844
 
92830
92845
  const drawerHeaderComponentCss = () => `*{box-sizing:border-box}.static{position:static}.relative{position:relative}.z-\\[1\\]{z-index:1}.flex{display:flex}.inline-flex{display:inline-flex}.size-8{height:2rem;width:2rem}.min-h-12{min-height:3rem}.min-h-18{min-height:4.5rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.overflow-hidden{overflow:hidden}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-0{padding-bottom:0}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
92831
92846
 
92832
- const header$3 = cva([
92847
+ const header$4 = cva([
92833
92848
  'relative z-[1] min-h-18 w-full flex-col overflow-hidden rounded-t-2xl',
92834
92849
  `
92835
92850
  bg-white
@@ -92837,7 +92852,7 @@ const header$3 = cva([
92837
92852
  `,
92838
92853
  'inline-flex',
92839
92854
  ]);
92840
- const content$4 = cva(['flex justify-between', 'min-h-12 w-full p-4 pb-0']);
92855
+ const content$5 = cva(['flex justify-between', 'min-h-12 w-full p-4 pb-0']);
92841
92856
  const title$1 = cva([
92842
92857
  'flex-1 text-center',
92843
92858
  `
@@ -92859,7 +92874,7 @@ class DrawerHeader {
92859
92874
  */
92860
92875
  close;
92861
92876
  render() {
92862
- return (hAsync(ThemedHost, { key: 'f0cc21f420fc9ede8f37b703e2bdc05b0494fdfb' }, hAsync("div", { key: 'e90c5f4e51592b3dd5aabddc4cdf394a44afc4d6', class: header$3() }, hAsync("div", { key: '7c34db9d5c88f715dc67663c4bd59292f4d5f465', class: content$4() }, this.showClose && (hAsync("p-button", { key: '65d62aac568049c275aaf0da50927aa162375291', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) })), hAsync("div", { key: '7e1809baea3e11b781292e5948dcd88de22adcbf', class: title$1() }, hAsync("slot", { key: 'a197919fc325a031824cc187d9f01c02047c3cce' })), this.showClose && hAsync("div", { key: 'a89a2a5c054a83c7998f8e3537294bb0d9a3654a', class: 'size-8' })), hAsync("p-smile", { key: 'b6247f9b0f7dd88fe13b507507a5802bef0b518f', class: 'dark:text-hurricane-400' }))));
92877
+ return (hAsync(ThemedHost, { key: 'f0cc21f420fc9ede8f37b703e2bdc05b0494fdfb' }, hAsync("div", { key: 'e90c5f4e51592b3dd5aabddc4cdf394a44afc4d6', class: header$4() }, hAsync("div", { key: '7c34db9d5c88f715dc67663c4bd59292f4d5f465', class: content$5() }, this.showClose && (hAsync("p-button", { key: '65d62aac568049c275aaf0da50927aa162375291', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) })), hAsync("div", { key: '7e1809baea3e11b781292e5948dcd88de22adcbf', class: title$1() }, hAsync("slot", { key: 'a197919fc325a031824cc187d9f01c02047c3cce' })), this.showClose && hAsync("div", { key: 'a89a2a5c054a83c7998f8e3537294bb0d9a3654a', class: 'size-8' })), hAsync("p-smile", { key: 'b6247f9b0f7dd88fe13b507507a5802bef0b518f', class: 'dark:text-hurricane-400' }))));
92863
92878
  }
92864
92879
  static get style() { return drawerHeaderComponentCss(); }
92865
92880
  static get cmpMeta() { return {
@@ -96925,7 +96940,7 @@ const infopanel = cva(['flex flex-col gap-1', 'h-inherit w-full px-4 py-3', 'rel
96925
96940
  },
96926
96941
  },
96927
96942
  });
96928
- const header$2 = cva('text-sm font-medium', {
96943
+ const header$3 = cva('text-sm font-medium', {
96929
96944
  variants: {
96930
96945
  variant: {
96931
96946
  neutral: `
@@ -96997,7 +97012,7 @@ class InfoPanel {
96997
97012
  return (hAsync(ThemedHost, { key: '6e90d3fa10339e27158689ab6ff7f4c27e4112a5' }, hAsync("div", { key: '290bb5cf9fbf7d9bd17d91e341012c83f76061a1', class: infopanel({
96998
97013
  variant: this.variant,
96999
97014
  closeAble: this.closeable,
97000
- }) }, (this.header?.length || hasHeaderSlot) && (hAsync("div", { key: '6d04877e365f21579f6c1c0bdd6f0471ff4c4528', class: header$2({ variant: this.variant }) }, this.header?.length ? (hAsync("p", { class: 'my-0' }, this.header)) : (hAsync("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (hAsync("div", { key: 'f30535d8f77ce76af301bd96bd6c71b645ce68da', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (hAsync("p", { class: 'my-0' }, this.content)) : (hAsync("slot", { name: 'content' })))), this.closeable && (hAsync("div", { key: 'cbff549d70f794782288c3ff59c7a7ede09962bb', class: close(), onClick: () => this._close() }, hAsync("p-icon", { key: 'a982772edafce6a622d02676b4ec5d36e30c31af', variant: 'negative' }))))));
97015
+ }) }, (this.header?.length || hasHeaderSlot) && (hAsync("div", { key: '6d04877e365f21579f6c1c0bdd6f0471ff4c4528', class: header$3({ variant: this.variant }) }, this.header?.length ? (hAsync("p", { class: 'my-0' }, this.header)) : (hAsync("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (hAsync("div", { key: 'f30535d8f77ce76af301bd96bd6c71b645ce68da', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (hAsync("p", { class: 'my-0' }, this.content)) : (hAsync("slot", { name: 'content' })))), this.closeable && (hAsync("div", { key: 'cbff549d70f794782288c3ff59c7a7ede09962bb', class: close(), onClick: () => this._close() }, hAsync("p-icon", { key: 'a982772edafce6a622d02676b4ec5d36e30c31af', variant: 'negative' }))))));
97001
97016
  }
97002
97017
  _close() {
97003
97018
  this.closed.emit();
@@ -97178,10 +97193,10 @@ class Listing {
97178
97193
  }
97179
97194
  }
97180
97195
  render() {
97181
- return (hAsync("div", { key: '4aefa549cfa63e471dd51c3dbcfdc9fb8116d7f5', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
97196
+ return (hAsync("div", { key: '2804d4c9827b8c474be59e85929ac3e5c7a8b832', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
97182
97197
  'opacity-100': this._generatedOnce,
97183
97198
  'opacity-0': !this._generatedOnce,
97184
- }) }, hAsync("slot", { key: '2846ec0b0b2fba3c9f3bff9d9c9c791ff4282c24', onSlotchange: () => this._generateLinesOnce() })));
97199
+ }) }, hAsync("slot", { key: '8c55a162dcdaca095c6e5869e204e50784e37369', onSlotchange: () => this._generateLinesOnce() })));
97185
97200
  }
97186
97201
  _generateLinesOnce() {
97187
97202
  if (this._generateTimeout) {
@@ -97640,14 +97655,14 @@ class ModalFooter {
97640
97655
 
97641
97656
  const modalHeaderComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.z-\\[1\\]{z-index:1}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\\[7\\/1\\]{aspect-ratio:7/1}.h-12{height:3rem}.max-h-28{max-height:7rem}.w-\\[calc\\(100\\%-7rem\\)\\]{width:calc(100% - 7rem)}.w-full{width:100%}.flex-1{flex:1 1 0%}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.flex-col{flex-direction:column}.justify-end{justify-content:flex-end}.overflow-hidden{overflow:hidden}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-0{padding-bottom:0}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
97642
97657
 
97643
- const header$1 = cva([
97658
+ const header$2 = cva([
97644
97659
  `
97645
97660
  relative z-[1] w-full flex-col overflow-hidden rounded-t-2xl bg-white
97646
97661
  dark:bg-hurricane-600
97647
97662
  `,
97648
97663
  'inline-flex aspect-[7/1] max-h-28',
97649
97664
  ]);
97650
- const content$3 = cva(['flex justify-end', 'h-12 w-full p-4 pb-0']);
97665
+ const content$4 = cva(['flex justify-end', 'h-12 w-full p-4 pb-0']);
97651
97666
  const title = cva([
97652
97667
  'flex-1 text-center',
97653
97668
  'w-[calc(100%-7rem)]',
@@ -97671,7 +97686,7 @@ class ModalHeader {
97671
97686
  */
97672
97687
  close;
97673
97688
  render() {
97674
- return (hAsync(ThemedHost, { key: '6ff888c25d7455ffd6baf7e1dd046d8446555739' }, hAsync("div", { key: '9b9fa9ee81f4174df2f880965afa9cc72b63e800', class: header$1() }, hAsync("div", { key: 'b58b6b353afa85c5e45f71abf9c4d59b5fa42eeb', class: content$3() }, hAsync("div", { key: '576edc988821e2ae50b8a11c8fc4b81fea137cb8', class: title() }, hAsync("slot", { key: 'b9906b5af7dc8542f3d046d8ca9dccc0f8310e9d' })), this.showClose && (hAsync("p-button", { key: 'c5da895fc9b1e6ef042a5f9d829d6e584ff23ab8', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), hAsync("p-smile", { key: 'e0390b852e9ae3633185cdb5441d9172a07f7986', class: 'dark:text-hurricane-400' }))));
97689
+ return (hAsync(ThemedHost, { key: '6ff888c25d7455ffd6baf7e1dd046d8446555739' }, hAsync("div", { key: '9b9fa9ee81f4174df2f880965afa9cc72b63e800', class: header$2() }, hAsync("div", { key: 'b58b6b353afa85c5e45f71abf9c4d59b5fa42eeb', class: content$4() }, hAsync("div", { key: '576edc988821e2ae50b8a11c8fc4b81fea137cb8', class: title() }, hAsync("slot", { key: 'b9906b5af7dc8542f3d046d8ca9dccc0f8310e9d' })), this.showClose && (hAsync("p-button", { key: 'c5da895fc9b1e6ef042a5f9d829d6e584ff23ab8', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), hAsync("p-smile", { key: 'e0390b852e9ae3633185cdb5441d9172a07f7986', class: 'dark:text-hurricane-400' }))));
97675
97690
  }
97676
97691
  static get style() { return modalHeaderComponentCss(); }
97677
97692
  static get cmpMeta() { return {
@@ -97751,7 +97766,7 @@ class Navbar {
97751
97766
  }
97752
97767
  _show = false;
97753
97768
  render() {
97754
- return (hAsync(ThemedHost, { key: '5a01e00dd1e1871cde9828944b65daabf75ea31a' }, hAsync("p-backdrop", { key: '95bf7c4b78c9e49abae9a7281adf5624df0455a0', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { key: '4dfea05f200954ec3793907d88d6d6a96c58f82f', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { key: '9909f1ecf0015f9cba38b7eeba19e8beb1ef0ffc', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, hAsync("p-button", { key: 'aa42f08f6bdd06a185fa16a6606ba3a1c4b694d9', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), hAsync("div", { key: '4f5af2ea3497d03b5b43ce5caba7c194917dcdcc', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, hAsync("slot", { key: 'd1919e7679b45237b8db4b9f5d128e14f864029a', name: 'company' })), hAsync("div", { key: '1ed21fedd6f1a681604a55280de176bd7659645c', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, hAsync("slot", { key: 'dc92c70f0de47a6b472c0f78cf60228b5936fa26', name: 'content' })), hAsync("div", { key: 'dc342612d9f23c9fa1ede1e0caa974319e980856', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, hAsync("slot", { key: '6cc26b1d2f8c8107ed140d97357813731f72174a', name: 'user' }))), hAsync("div", { key: '663de2f179c9ac06bc498d06897f325ac0e02bea', class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { key: '06b683990e12f04950b1d6a9e944849fe64753d0', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), hAsync("slot", { key: '98f91872c91f5e34c9c12b9029475bf2a8b224ba', name: 'topbar' }))));
97769
+ return (hAsync(ThemedHost, { key: 'bc5079cb3704d2db26d1f8be020cdf60f0a716d8' }, hAsync("p-backdrop", { key: '8e530cc8e3823a49e32a4821416163214a16cf7c', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { key: '965d4b28217709da09cc6eb47bda38bc452e05f7', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { key: 'ee0fd8bdbcd4af099c8b8eaf84595c553cc1bfb4', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, hAsync("p-button", { key: 'e0782f8439f47613a6ec58271069bf3034289750', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), hAsync("div", { key: '1fdfb8308644046db8023df990ea7ddd83dcf262', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, hAsync("slot", { key: '994d94f3c6e868c7998f1e99da450c0886e4bbfe', name: 'company' })), hAsync("div", { key: 'c047c41e1d3ca938a9f92272bde090179d14b086', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, hAsync("slot", { key: '552845f3097fa92eee1a37ac02d158f9edde72d5', name: 'content' })), hAsync("div", { key: 'dd477e40950e95ff28dc18f31d337d978693cac8', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, hAsync("slot", { key: '767b851a061a0e573e8215aa6727b7618c610d1e', name: 'user' }))), hAsync("div", { key: '0264c176351bdb91606fe45aabb193b982f62a65', class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { key: 'c7ed3bd86467f165cf2902c39851aa374997892c', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), hAsync("slot", { key: 'df81ccf93abf33a58c03c4a5c1ee49cbfcee70a6', name: 'topbar' }))));
97755
97770
  }
97756
97771
  handleCloseNavbar() {
97757
97772
  this._show = false;
@@ -100100,7 +100115,7 @@ const circle$1 = cva([
100100
100115
  },
100101
100116
  ],
100102
100117
  });
100103
- const content$2 = cva('mt-[1px] flex-1 text-sm font-medium', {
100118
+ const content$3 = cva('mt-[1px] flex-1 text-sm font-medium', {
100104
100119
  variants: {
100105
100120
  finished: {
100106
100121
  true: null,
@@ -100187,7 +100202,7 @@ class StepperItem {
100187
100202
  direction: this.direction,
100188
100203
  active: asBoolean(this.active),
100189
100204
  finished: asBoolean(this.finished),
100190
- }) }, this.number), hAsync("div", { key: 'faafa708b0f4548661dfeb114fa78530377d896f', class: content$2({
100205
+ }) }, this.number), hAsync("div", { key: 'faafa708b0f4548661dfeb114fa78530377d896f', class: content$3({
100191
100206
  active: asBoolean(this.active),
100192
100207
  finished: asBoolean(this.finished),
100193
100208
  direction: this.direction,
@@ -100242,6 +100257,194 @@ class StepperLine {
100242
100257
  }; }
100243
100258
  }
100244
100259
 
100260
+ const submenuComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-\\[calc\\(1\\.5rem\\)\\]{left:1.5rem}.top-0{top:0}.z-0{z-index:0}.z-10{z-index:10}.m-0{margin:0}.m-2{margin:.5rem}.my-2{margin-bottom:.5rem;margin-top:.5rem}.flex{display:flex}.size-4{height:1rem;width:1rem}.w-full{width:100%}.w-px{width:1px}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-200{--tw-bg-opacity:1;background-color:rgb(199 217 253/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.pl-2{padding-left:.5rem}.pr-4{padding-right:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-hurricane-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-hurricane-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-indigo-200{--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.transition-\\[max-height\\]{transition-duration:.15s;transition-property:max-height;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.group\\/submenu-header:hover .group-hover\\/submenu-header\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:bg-indigo-600\\/30:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.3)}.dark\\:bg-storm-500\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(54 60 70/var(--tw-text-opacity,1))}.dark\\:text-indigo-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.1)}.dark\\:bg-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1))}.dark\\:bg-indigo-600\\/30:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.3)}.dark\\:bg-storm-500\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\\:text-hurricane-100:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(54 60 70/var(--tw-text-opacity,1))}.dark\\:text-indigo-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.1)}`;
100261
+
100262
+ const header$1 = cva([
100263
+ 'group/submenu-header',
100264
+ 'flex items-center gap-2',
100265
+ 'py-1 pl-2 pr-4',
100266
+ 'rounded-lg',
100267
+ 'cursor-pointer',
100268
+ 'transition-colors',
100269
+ ], {
100270
+ variants: {
100271
+ open: {
100272
+ true: `
100273
+ bg-off-white-300
100274
+ dark:bg-storm-500/20
100275
+ `,
100276
+ false: '',
100277
+ },
100278
+ active: {
100279
+ true: `
100280
+ bg-indigo-50
100281
+ dark:bg-indigo-600/30
100282
+ `,
100283
+ false: `
100284
+ hover:bg-indigo-50
100285
+ dark:hover:bg-indigo-600/10
100286
+ `,
100287
+ },
100288
+ },
100289
+ compoundVariants: [],
100290
+ });
100291
+ const indexContainer = cva([
100292
+ 'm-2 size-4 rounded-full p-2',
100293
+ `
100294
+ text-xs font-semibold text-storm-500
100295
+ dark:text-hurricane-500
100296
+ `,
100297
+ 'transition-colors',
100298
+ 'flex items-center justify-center',
100299
+ ], {
100300
+ variants: {
100301
+ open: {
100302
+ true: 'bg-indigo-500',
100303
+ false: '',
100304
+ },
100305
+ active: {
100306
+ true: 'bg-indigo-500',
100307
+ false: '',
100308
+ },
100309
+ },
100310
+ compoundVariants: [
100311
+ {
100312
+ open: false,
100313
+ active: false,
100314
+ class: 'bg-indigo-200',
100315
+ },
100316
+ ],
100317
+ });
100318
+ class Submenu {
100319
+ constructor(hostRef) {
100320
+ registerInstance(this, hostRef);
100321
+ }
100322
+ /**
100323
+ * Title of the submenu
100324
+ */
100325
+ title = '';
100326
+ /**
100327
+ * Subtitle of the submenu
100328
+ */
100329
+ subtitle = '';
100330
+ /**
100331
+ * Index of the submenu
100332
+ */
100333
+ index = 0;
100334
+ /**
100335
+ * Wether to show the index
100336
+ */
100337
+ showIndex = true;
100338
+ /**
100339
+ * Wether the submenu is active or not
100340
+ */
100341
+ active = false;
100342
+ /**
100343
+ * Wether the submenu is open or not
100344
+ */
100345
+ open = false;
100346
+ get _el() { return getElement(this); }
100347
+ componentDidLoad() {
100348
+ const submenuItems = this._el.querySelectorAll('p-submenu-item');
100349
+ const hasActiveChild = [...submenuItems].some(i => i.active === true);
100350
+ if (!this.active && hasActiveChild) {
100351
+ this.active = true;
100352
+ }
100353
+ if (!this.active) {
100354
+ return;
100355
+ }
100356
+ this.open = true;
100357
+ }
100358
+ render() {
100359
+ const submenuItems = this._el.querySelectorAll('p-submenu-item');
100360
+ const firstItem = getComputedStyle(submenuItems[0]);
100361
+ const maxHeight = submenuItems.length *
100362
+ Number.parseInt(firstItem.height.replace('px', '')) +
100363
+ 16; // the margin of the content
100364
+ return (hAsync(ThemedHost, { key: '110fad52ce96c4fc855408b422a42956b957d092' }, hAsync("div", { key: '0b8f40db722e7c6f6ba8ded2e33a6776af28f0dc', class: 'flex w-full flex-col' }, hAsync("div", { key: '23aa3cf5a7ece75e3fb6312e2e2173d68b2dcd86', class: cn(header$1({
100365
+ active: this.active,
100366
+ open: this.open,
100367
+ })), onClick: () => (this.open = !this.open) }, this.showIndex && (hAsync("div", { key: 'a24b117f984eb4392a90b47fd8363e7e320cb84a', class: indexContainer({
100368
+ active: this.active,
100369
+ open: this.open,
100370
+ }) }, this.index)), hAsync("div", { key: '76fb811ac456b88a7f3d3df3b5badfaf9fe6170f', class: 'flex flex-1 flex-col' }, hAsync("p", { key: 'd2dc662ee53ca37a0f971ce372c3e1a1528717e5', class: cn('m-0 text-sm', {
100371
+ 'text-storm-400 group-hover/submenu-header:text-white dark:text-hurricane-100': !this.active,
100372
+ 'text-storm-500 dark:text-white': this.active,
100373
+ }) }, this.title), hAsync("p", { key: '60b63c450874ee68b0857641e01a4b0a5d14fe0d', class: cn('m-0 text-xs', {
100374
+ 'text-storm-300 dark:text-hurricane-300': !this.active,
100375
+ 'text-storm-300 dark:text-indigo-200': this.active,
100376
+ }) }, this.subtitle)), hAsync("p-icon", { key: '89e2bea66fb7e67633e9678648d6756352adeecf', class: cn({
100377
+ 'text-storm-500 dark:text-white': this.active,
100378
+ 'text-storm-300 dark:text-hurricane-300': !this.active,
100379
+ }), rotate: this.open ? 180 : 0, variant: 'caret' })), hAsync("div", { key: 'bfdb4d322cf02a5dd7dfacd79c39c4253a2b8518', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
100380
+ maxHeight: `${this.open ? maxHeight : 0}px`,
100381
+ } }, hAsync("div", { key: '9928a528f546820946876952f5e49faba0f0ebc0', class: '\n absolute left-[calc(1.5rem)] top-0 z-0 w-px bg-indigo-100\n dark:bg-hurricane-400\n ', style: {
100382
+ height: `${maxHeight}px`,
100383
+ } }), hAsync("div", { key: '17c48e3c23851adf85dbf98951486b1e6536f10d', class: 'z-10 my-2 flex flex-col' }, hAsync("slot", { key: 'acfd6ce55e564b140706e6f087e839017c782d1f' }))))));
100384
+ }
100385
+ static get style() { return submenuComponentCss(); }
100386
+ static get cmpMeta() { return {
100387
+ "$flags$": 777,
100388
+ "$tagName$": "p-submenu",
100389
+ "$members$": {
100390
+ "title": [513],
100391
+ "subtitle": [513],
100392
+ "index": [514],
100393
+ "showIndex": [516, "show-index"],
100394
+ "active": [516],
100395
+ "open": [516]
100396
+ },
100397
+ "$listeners$": undefined,
100398
+ "$lazyBundleId$": "-",
100399
+ "$attrsToReflect$": [["title", "title"], ["subtitle", "subtitle"], ["index", "index"], ["showIndex", "show-index"], ["active", "active"], ["open", "open"]]
100400
+ }; }
100401
+ }
100402
+
100403
+ const submenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.h-full{height:100%}.w-\\[2px\\]{width:2px}.w-full{width:100%}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.gap-6{gap:1.5rem}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.bg-transparent{background-color:transparent}.pl-6{padding-left:1.5rem}.text-hurricane-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.group\\/submenu-item:hover .group-hover\\/submenu-item\\:bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\\:text-hurricane-100:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}`;
100404
+
100405
+ const content$2 = cva([
100406
+ 'flex items-center gap-6',
100407
+ 'h-8 w-full pl-6',
100408
+ 'cursor-pointer',
100409
+ 'group/submenu-item',
100410
+ ], {
100411
+ variants: {},
100412
+ });
100413
+ class SubmenuItem {
100414
+ constructor(hostRef) {
100415
+ registerInstance(this, hostRef);
100416
+ }
100417
+ /**
100418
+ * Wether the submenu is active or not
100419
+ */
100420
+ active = false;
100421
+ /**
100422
+ * Icon to show on the label
100423
+ */
100424
+ icon = 'placeholder';
100425
+ render() {
100426
+ return (hAsync(ThemedHost, { key: '812bee8d46780d60ed604505b4f8c00e798a9f8f' }, hAsync("div", { key: 'f5a76dd14ccb0559586b01214c6badb3bcf2eef8', class: cn(content$2({}), {}) }, hAsync("div", { key: '97fe0916207dfefd625ae51d911ef4eeb5d6b4cc', class: cn(`h-full w-[2px] transition-colors`, {
100427
+ 'bg-indigo-600': this.active,
100428
+ 'bg-transparent group-hover/submenu-item:bg-indigo-600': !this.active,
100429
+ }) }), hAsync("div", { key: '2c6ab60c2fb19b197d5aabd2368a7eb7406fdcb2', class: cn('flex items-center gap-2 transition-colors', {
100430
+ 'text-storm-400 dark:text-hurricane-100': !this.active,
100431
+ 'text-indigo-600': this.active,
100432
+ }) }, hAsync("p-icon", { key: '7db15690b67f555a46dc72133be72e5937051658', variant: this.icon }), hAsync("slot", { key: '1a4574d13c012affe2713a034445f636369729c8' })))));
100433
+ }
100434
+ static get style() { return submenuItemComponentCss(); }
100435
+ static get cmpMeta() { return {
100436
+ "$flags$": 777,
100437
+ "$tagName$": "p-submenu-item",
100438
+ "$members$": {
100439
+ "active": [516],
100440
+ "icon": [513]
100441
+ },
100442
+ "$listeners$": undefined,
100443
+ "$lazyBundleId$": "-",
100444
+ "$attrsToReflect$": [["active", "active"], ["icon", "icon"]]
100445
+ }; }
100446
+ }
100447
+
100245
100448
  const tabContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.left-0{left:0}.m-0{margin:0}.flex{display:flex}.h-8{height:2rem}.w-full{width:100%}.flex-col{flex-direction:column}.gap-5{gap:1.25rem}.overflow-x-auto{overflow-x:auto}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.scrollbar-hide{-ms-overflow-style:none;scrollbar-width:none}.scrollbar-hide::-webkit-scrollbar{display:none}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}`;
100246
100449
 
100247
100450
  class TabContainer {
@@ -101140,7 +101343,7 @@ class TableCell {
101140
101343
  };
101141
101344
  }
101142
101345
  render() {
101143
- return (hAsync(ThemedHost, { key: 'f5f3de7bc6bf626302e12c004c9b2e80c60294db', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
101346
+ return (hAsync(ThemedHost, { key: 'eb7f83afc2969cb84be91c81b5112566612a3604', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
101144
101347
  }
101145
101348
  _getContent() {
101146
101349
  if (this.variant === 'loading') {
@@ -101451,12 +101654,12 @@ class TableFooter {
101451
101654
  this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
101452
101655
  }
101453
101656
  render() {
101454
- return (hAsync(ThemedHost, { key: 'e46fcc04ec0a9822388fb7c3b5d5b269d1c81508' }, hAsync("div", { key: '70e36a4c60ba4747f7721bf88dc1af56a8745e92', class: footer({
101657
+ return (hAsync(ThemedHost, { key: '166a446120f9a346cd32cd9b750a3db756f30797' }, hAsync("div", { key: '28d48e2f706c97a3da47c28269c0fa4551eaf5ed', class: footer({
101455
101658
  pinned: this._isPinned,
101456
101659
  hidden: this._hidden,
101457
101660
  tableHeaderHasAction: this.tableHeaderHasAction,
101458
101661
  }) }, (this.enablePaginationPages || this.enablePaginationSize) &&
101459
- this.total > 0 && (hAsync("p-pagination", { key: '179eb5b828887f78cb6f4a15784cd9be9df47d4a', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
101662
+ this.total > 0 && (hAsync("p-pagination", { key: '2fa3e65aab7a8d701626ff17645a9e9fc3d341fd', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
101460
101663
  }
101461
101664
  _changePageSize(s) {
101462
101665
  if (!s) {
@@ -111295,13 +111498,13 @@ class TableRow {
111295
111498
  */
111296
111499
  isLast = false;
111297
111500
  render() {
111298
- return (hAsync(ThemedHost, { key: '4420644601f21ec8ff93447e9609cd83003832e7' }, hAsync("div", { key: 'b42cddc200375f6e7ef93cdf1953b1107fa1a25d', class: 'flex flex-col' }, hAsync("div", { key: 'd65dae6ac9c8dfe9ec664c14386415332d7604a9', class: row({
111501
+ return (hAsync(ThemedHost, { key: '98252cd216cba353cf4e169a7f9850b7f373b93e' }, hAsync("div", { key: 'de85352410756fa4b6d555763d5811ff8e70ce67', class: 'flex flex-col' }, hAsync("div", { key: 'c56a01847cde5b860524169165c5f44c78de9d1a', class: row({
111299
111502
  variant: this.variant,
111300
111503
  enableHover: this.enableHover,
111301
111504
  checked: this.checked,
111302
- }) }, hAsync("div", { key: '1c1eeb3b0b43f9eaaf923e75442f033cf12f8990', class: content$1({
111505
+ }) }, hAsync("div", { key: '8074d9c5617995d40dd06cc8f1e0d53f51db7fa7', class: content$1({
111303
111506
  variant: this.variant,
111304
- }) }, hAsync("slot", { key: 'fe84b025ad57eaed3ef0ac3c6e019bfd38478494' }), hAsync("div", { key: '81cdc196d081f7a18d80b044b646e0c0fbc1f0d6', class: actions() }, hAsync("slot", { key: 'df1ffcd595ac77edfded8b3185db8ceadf4463c7', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (hAsync("p-divider", { key: '50c2979b52aa58470b3d870b55dc6a1e4d793243' })))));
111507
+ }) }, hAsync("slot", { key: 'c981dfaaa4e3f9c7ba350650e8239bf2b0f77780' }), hAsync("div", { key: 'b51eabcfe145dc6fe263750e9a49ef84ae3ec9df', class: actions() }, hAsync("slot", { key: 'a558a1b83cbcc339dd6223502adf978b5fd46e16', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (hAsync("p-divider", { key: 'b5ca42d03270067f116206c9d291b520ff4db796' })))));
111305
111508
  }
111306
111509
  static get style() { return tableRowComponentCss(); }
111307
111510
  static get cmpMeta() { return {
@@ -111491,7 +111694,7 @@ class Toast {
111491
111694
  */
111492
111695
  action;
111493
111696
  render() {
111494
- return (hAsync(ThemedHost, { key: '6394f16be6bb3274259ac89c4636aa4316c44412' }, hAsync("div", { key: 'd1e8251c4354dc4cef8b544bf4be4c060663fbc3', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, hAsync("div", { key: '5e7f692403be82843b611e3137427850cd1d6fc5', class: indicator({ variant: this.variant }) }), hAsync("div", { key: '8de363d0c2a838d4d65f0af927a756d1eb33f378', class: content() }, hAsync("div", { key: '44348814b85e349dbee31098f57f669cbbf2a3d1', class: 'flex w-full min-w-0 flex-col' }, hAsync("p", { key: 'ca5f487607e23e676c9027c8064969d90e1dddde', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : hAsync("slot", { name: 'header' })), hAsync("p", { key: '7899f789e38ae32d31d0d043291de62a59b01d4d', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : hAsync("slot", { name: 'content' }))), this.enableAction && (hAsync("div", { key: 'dcf72ae9760053615e1766c24b410e8163ff96b8', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: 'e6abf4d667376c87776512b2ec0ad63f0e59f8d7', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
111697
+ return (hAsync(ThemedHost, { key: '7f1d26d48ba72212d4bea0047c2645d588ae9ca0' }, hAsync("div", { key: '7a02f52c3f482c36048ddd6aa052e94522ae9eb6', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, hAsync("div", { key: '77418e7e7b8ce6cee4018d91888e14205bf37e42', class: indicator({ variant: this.variant }) }), hAsync("div", { key: '958c676bdbb79d6fa812d3fa9a48d35e674d9390', class: content() }, hAsync("div", { key: '4da4e4b7cb402d68083001713aeb9de9534eb2c0', class: 'flex w-full min-w-0 flex-col' }, hAsync("p", { key: '1079c6b6be804514906615985cd1503d417fe1e7', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : hAsync("slot", { name: 'header' })), hAsync("p", { key: 'c7f0ad542870b8924d15b9e1b79cf9cb4e04645e', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : hAsync("slot", { name: 'content' }))), this.enableAction && (hAsync("div", { key: 'a286d1394e72cd729353443ed2a214cf884f84cf', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: '9ecb91fdf9154fa881b16a5c3a028eb9dc7e5b9e', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
111495
111698
  }
111496
111699
  _onClick() {
111497
111700
  if (this.enableAction) {
@@ -112065,6 +112268,8 @@ registerComponents([
112065
112268
  Stepper,
112066
112269
  StepperItem,
112067
112270
  StepperLine,
112271
+ Submenu,
112272
+ SubmenuItem,
112068
112273
  TabContainer,
112069
112274
  TabItem,
112070
112275
  Table,