@paperless/core 3.26.4 → 3.27.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 (388) hide show
  1. package/dist/build/p-014ef0e1.entry.js +1 -0
  2. package/dist/build/{p-57c5bf0c.entry.js → p-017b3759.entry.js} +1 -1
  3. package/dist/build/{p-d2ff359e.entry.js → p-02a54f77.entry.js} +1 -1
  4. package/dist/{paperless/p-4cd8035a.entry.js → build/p-055b6209.entry.js} +1 -1
  5. package/dist/{paperless/p-6ed7ef6a.entry.js → build/p-1a26edba.entry.js} +1 -1
  6. package/dist/{paperless/p-34ec6b9b.entry.js → build/p-1a424b04.entry.js} +1 -1
  7. package/dist/build/{p-0cf2c5f5.entry.js → p-2248e489.entry.js} +1 -1
  8. package/dist/{paperless/p-e922cb1f.entry.js → build/p-2361ad53.entry.js} +1 -1
  9. package/dist/build/{p-e20e6aa3.entry.js → p-24db0c8f.entry.js} +1 -1
  10. package/dist/build/{p-48be5f53.entry.js → p-2efedc3d.entry.js} +1 -1
  11. package/dist/{paperless/p-9079dcb7.entry.js → build/p-31cf13c6.entry.js} +1 -1
  12. package/dist/build/p-3eb1d7d5.entry.js +1 -0
  13. package/dist/build/{p-2aa8ae3e.js → p-435a082d.js} +1 -1
  14. package/dist/build/{p-b1e6c746.entry.js → p-45176955.entry.js} +1 -1
  15. package/dist/build/p-4b6fd839.entry.js +1 -0
  16. package/dist/build/{p-2e53d921.entry.js → p-51312a8f.entry.js} +1 -1
  17. package/dist/{paperless/p-2ebc600b.entry.js → build/p-555cb497.entry.js} +1 -1
  18. package/dist/build/p-571575d2.entry.js +1 -0
  19. package/dist/build/{p-38056598.entry.js → p-65466ef3.entry.js} +1 -1
  20. package/dist/build/{p-d5365ce3.entry.js → p-6a23ff2f.entry.js} +1 -1
  21. package/dist/{paperless/p-45b9a446.entry.js → build/p-6ac8c0c1.entry.js} +1 -1
  22. package/dist/{paperless/p-b8caedf6.entry.js → build/p-7c8ec514.entry.js} +1 -1
  23. package/dist/build/{p-2ce0c175.entry.js → p-7cd7bc8b.entry.js} +1 -1
  24. package/dist/{paperless/p-1b50f01d.entry.js → build/p-8c141cb8.entry.js} +1 -1
  25. package/dist/{paperless/p-b316ecff.entry.js → build/p-92910dad.entry.js} +1 -1
  26. package/dist/build/{p-020124fe.entry.js → p-9f684244.entry.js} +1 -1
  27. package/dist/build/{p-b1a372fc.entry.js → p-a035467d.entry.js} +1 -1
  28. package/dist/build/p-a395e9e0.entry.js +1 -0
  29. package/dist/{paperless/p-4851ac96.entry.js → build/p-b190b534.entry.js} +1 -1
  30. package/dist/build/{p-25842006.entry.js → p-b75ded13.entry.js} +1 -1
  31. package/dist/{paperless/p-477801df.entry.js → build/p-bdab91d9.entry.js} +1 -1
  32. package/dist/build/{p-561a4d56.entry.js → p-ce56d534.entry.js} +1 -1
  33. package/dist/{paperless/p-f18a511c.entry.js → build/p-d21a8908.entry.js} +1 -1
  34. package/dist/build/{p-749752fa.entry.js → p-d37faeaf.entry.js} +1 -1
  35. package/dist/build/{p-280c1727.entry.js → p-d5dfbaee.entry.js} +1 -1
  36. package/dist/build/{p-b005f182.entry.js → p-d7d2411e.entry.js} +1 -1
  37. package/dist/build/p-ea2deb46.entry.js +1 -0
  38. package/dist/build/{p-5c08054f.entry.js → p-ec0a6d22.entry.js} +1 -1
  39. package/dist/build/{p-44d6468b.entry.js → p-ec3752dc.entry.js} +1 -1
  40. package/dist/build/{p-af9fc40a.entry.js → p-f6ca0e6b.entry.js} +1 -1
  41. package/dist/build/p-fa06ff98.entry.js +1 -0
  42. package/dist/{paperless/p-1a373297.entry.js → build/p-fa13f317.entry.js} +1 -1
  43. package/dist/{paperless/p-501f2f7c.entry.js → build/p-fadcfc9f.entry.js} +1 -1
  44. package/dist/build/{p-272721bf.entry.js → p-fccb23e5.entry.js} +1 -1
  45. package/dist/build/{p-3b34c822.entry.js → p-fccf3bf9.entry.js} +1 -1
  46. package/dist/build/paperless.esm.js +1 -1
  47. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  48. package/dist/cjs/p-attachment.cjs.entry.js +8 -8
  49. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  50. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  51. package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
  52. package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
  53. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  54. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  55. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  56. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  57. package/dist/cjs/p-card-container.cjs.entry.js +2 -2
  58. package/dist/cjs/p-card-header.cjs.entry.js +3 -3
  59. package/dist/cjs/p-checkbox_3.cjs.entry.js +12 -10
  60. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  61. package/dist/cjs/p-cropper.cjs.entry.js +1 -1
  62. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  63. package/dist/cjs/p-divider.cjs.entry.js +2 -2
  64. package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
  65. package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +15 -7
  66. package/dist/cjs/p-empty-state_8.cjs.entry.js +10 -10
  67. package/dist/cjs/p-field_3.cjs.entry.js +5 -5
  68. package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
  69. package/dist/cjs/p-illustration.cjs.entry.js +1 -1
  70. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  71. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  72. package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
  73. package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
  74. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  75. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  76. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  77. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  78. package/dist/cjs/p-pagination_3.cjs.entry.js +3 -3
  79. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  80. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  81. package/dist/cjs/p-range.cjs.entry.js +3 -3
  82. package/dist/cjs/p-select.cjs.entry.js +50 -8
  83. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  84. package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
  85. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  86. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  87. package/dist/cjs/p-table.cjs.entry.js +2 -2
  88. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  89. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  90. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  91. package/dist/collection/collection-manifest.json +1 -1
  92. package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
  93. package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
  94. package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
  95. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  96. package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
  97. package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
  98. package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
  99. package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
  100. package/dist/collection/components/atoms/divider/divider.component.js +2 -2
  101. package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
  102. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
  103. package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
  104. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
  105. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.css +1 -1
  106. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +14 -6
  107. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
  108. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  109. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  110. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  111. package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
  112. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  113. package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
  114. package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
  115. package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
  116. package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
  117. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  118. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  119. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  120. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  121. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  122. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  123. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  124. package/dist/collection/components/atoms/smile/smile.component.js +1 -1
  125. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
  126. package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
  127. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  128. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  129. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  130. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
  131. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  132. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  133. package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
  134. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  135. package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
  136. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  137. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  138. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  139. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  140. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  141. package/dist/collection/components/molecules/dropdown/dropdown.component.js +5 -3
  142. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  143. package/dist/collection/components/molecules/field/field/field.component.js +4 -4
  144. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  145. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  146. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  147. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  148. package/dist/collection/components/molecules/range/range.component.js +3 -3
  149. package/dist/collection/components/molecules/select/select.component.js +72 -10
  150. package/dist/collection/components/molecules/select/select.stories.js +121 -18
  151. package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
  152. package/dist/collection/components/organisms/table/table.component.js +2 -2
  153. package/dist/components/{p-eGnIeQsr.js → p-1gDAZ8pd.js} +1 -1
  154. package/dist/components/{p-Co4UMOn6.js → p-2wIrtCNR.js} +1 -1
  155. package/dist/components/{p-CjxC_h_X.js → p-4-PxF11o.js} +1 -1
  156. package/dist/components/{p-DIuIGoBt.js → p-9XjFw7wO.js} +1 -1
  157. package/dist/components/p-B-GINaYf.js +1 -0
  158. package/dist/components/{p-ZSDx-Rn0.js → p-B0KMsqdv.js} +1 -1
  159. package/dist/components/{p-FK08Vr2S.js → p-B2Wcsz4j.js} +1 -1
  160. package/dist/components/{p-yYRVYWXO.js → p-B47sjbpK.js} +1 -1
  161. package/dist/components/{p--_gjJpd8.js → p-B9klDtR-.js} +1 -1
  162. package/dist/components/p-BG1plx2A.js +1 -0
  163. package/dist/components/{p-BFTj4F6O.js → p-BJyXdiHc.js} +1 -1
  164. package/dist/components/{p-Cm3IhOw8.js → p-BobrXbRh.js} +1 -1
  165. package/dist/components/{p-DS7XBqIp.js → p-BskFLFSo.js} +1 -1
  166. package/dist/components/{p-CAt4316p.js → p-BvfezQkY.js} +1 -1
  167. package/dist/components/{p-BswRuxmk.js → p-ByJPQrlL.js} +1 -1
  168. package/dist/components/{p-CJ7I5BCS.js → p-CPSiExRl.js} +1 -1
  169. package/dist/components/{p-CUQydYt5.js → p-CQnWpHIs.js} +1 -1
  170. package/dist/components/{p-CN4ZWAkb.js → p-CSnOLBSV.js} +1 -1
  171. package/dist/components/{p-TtrclAAz.js → p-CZ8afGMO.js} +1 -1
  172. package/dist/components/{p-BksolHpY.js → p-C_ImoJA8.js} +1 -1
  173. package/dist/components/{p-CTC-N56p.js → p-Cgqav9mX.js} +1 -1
  174. package/dist/components/{p-VqccwN4a.js → p-ClZHa_Zf.js} +1 -1
  175. package/dist/components/{p-1jNdZTKN.js → p-Cmltn24W.js} +1 -1
  176. package/dist/components/{p-BPCXcEQD.js → p-CmoU4H6Q.js} +1 -1
  177. package/dist/components/{p-B6PqwbBc.js → p-CpRKUhuF.js} +1 -1
  178. package/dist/components/{p-D0uXSAIf.js → p-CxrxqKhq.js} +1 -1
  179. package/dist/components/{p-kdBBVGjg.js → p-D5BA_qF7.js} +1 -1
  180. package/dist/components/{p-DGoOsLEr.js → p-DHJIvL0U.js} +1 -1
  181. package/dist/components/{p-D5OXFgvY.js → p-DHKJDm0J.js} +1 -1
  182. package/dist/components/{p-DixhvrFt.js → p-DaPWhcRy.js} +1 -1
  183. package/dist/components/{p-B-yfQWzc.js → p-DxuTDs4a.js} +1 -1
  184. package/dist/components/{p-DfVHhJmL.js → p-HVaovLkY.js} +1 -1
  185. package/dist/components/{p-BBlYsP5p.js → p-L0a3qALZ.js} +1 -1
  186. package/dist/components/{p-1qs8jjR4.js → p-V1uzM_gT.js} +1 -1
  187. package/dist/components/{p-B8iFUPO5.js → p-aAebGiQ0.js} +1 -1
  188. package/dist/components/p-accordion.js +1 -1
  189. package/dist/components/p-attachment.js +1 -1
  190. package/dist/components/p-avatar-group.js +1 -1
  191. package/dist/components/p-avatar.js +1 -1
  192. package/dist/components/{p-B3Q_nqZE.js → p-bZ3k4UvK.js} +1 -1
  193. package/dist/components/p-backdrop.js +1 -1
  194. package/dist/components/p-badge.js +1 -1
  195. package/dist/components/p-button-group.js +1 -1
  196. package/dist/components/p-button.js +1 -1
  197. package/dist/components/{p-DZjtEarb.js → p-c4v-m6AC.js} +1 -1
  198. package/dist/components/{p-COscyt8q.js → p-c6u4OYf0.js} +1 -1
  199. package/dist/components/p-calendar.js +1 -1
  200. package/dist/components/p-card-body.js +1 -1
  201. package/dist/components/p-card-container.js +1 -1
  202. package/dist/components/p-card-header.js +1 -1
  203. package/dist/components/p-checkbox.js +1 -1
  204. package/dist/components/p-content-slider.js +1 -1
  205. package/dist/components/p-cropper.js +2 -2
  206. package/dist/components/p-datepicker.js +1 -1
  207. package/dist/components/p-divider.js +1 -1
  208. package/dist/components/p-drawer-body.js +1 -1
  209. package/dist/components/p-drawer-container.js +1 -1
  210. package/dist/components/p-drawer-header.js +1 -1
  211. package/dist/components/p-drawer.js +1 -1
  212. package/dist/components/p-dropdown-menu-container.js +1 -1
  213. package/dist/components/p-dropdown-menu-item.js +1 -1
  214. package/dist/components/p-dropdown.js +1 -1
  215. package/dist/components/p-dropzone.js +1 -1
  216. package/dist/components/{p-BJFfno38.js → p-eLIgN9FF.js} +1 -1
  217. package/dist/components/p-empty-state.js +1 -1
  218. package/dist/components/p-field-container.js +1 -1
  219. package/dist/components/p-field.js +1 -1
  220. package/dist/components/p-floating-menu-container.js +1 -1
  221. package/dist/components/p-floating-menu-item.js +1 -1
  222. package/dist/components/{p-BmhVEljv.js → p-gEaqH36V.js} +1 -1
  223. package/dist/components/p-helper.js +1 -1
  224. package/dist/components/p-icon.js +1 -1
  225. package/dist/components/p-illustration.js +1 -1
  226. package/dist/components/p-info-panel.js +1 -1
  227. package/dist/components/p-label.js +1 -1
  228. package/dist/components/p-layout.js +1 -1
  229. package/dist/components/p-listing-item.js +1 -1
  230. package/dist/components/p-listing-line.js +1 -1
  231. package/dist/components/p-listing.js +1 -1
  232. package/dist/components/p-modal-body.js +1 -1
  233. package/dist/components/p-modal-container.js +1 -1
  234. package/dist/components/p-modal-footer.js +1 -1
  235. package/dist/components/p-modal-header.js +1 -1
  236. package/dist/components/p-modal.js +1 -1
  237. package/dist/components/p-navbar.js +1 -1
  238. package/dist/components/p-navigation-item.js +1 -1
  239. package/dist/components/p-navigation-section.js +1 -1
  240. package/dist/components/p-navigation-title.js +1 -1
  241. package/dist/components/p-pagination-pages-item.js +1 -1
  242. package/dist/components/p-pagination-pages.js +1 -1
  243. package/dist/components/p-pagination-size.js +1 -1
  244. package/dist/components/p-pagination.js +1 -1
  245. package/dist/components/p-profile.js +1 -1
  246. package/dist/components/p-q5vnW4We.js +1 -0
  247. package/dist/components/p-radio.js +1 -1
  248. package/dist/components/p-range.js +1 -1
  249. package/dist/components/p-segment-container.js +1 -1
  250. package/dist/components/p-segment-item.js +1 -1
  251. package/dist/components/p-select.js +1 -1
  252. package/dist/components/p-smile.js +1 -1
  253. package/dist/components/p-stepper-item.js +1 -1
  254. package/dist/components/p-stepper-line.js +1 -1
  255. package/dist/components/p-stepper.js +1 -1
  256. package/dist/components/p-submenu-item.js +1 -1
  257. package/dist/components/p-submenu.js +1 -1
  258. package/dist/components/p-tab-container.js +1 -1
  259. package/dist/components/p-tab-item.js +1 -1
  260. package/dist/components/p-table-container.js +1 -1
  261. package/dist/components/p-table-footer.js +1 -1
  262. package/dist/components/p-table-header.js +1 -1
  263. package/dist/components/p-table-row-actions-container.js +1 -1
  264. package/dist/components/p-table-row.js +1 -1
  265. package/dist/components/p-table.js +1 -1
  266. package/dist/components/p-toast-container.js +1 -1
  267. package/dist/components/p-toast.js +1 -1
  268. package/dist/components/p-toggle.js +1 -1
  269. package/dist/components/p-tooltip.js +1 -1
  270. package/dist/components/{p-CMfdl_TW.js → p-vcV0dLlI.js} +1 -1
  271. package/dist/components/{p-CQo1Di0o.js → p-yaD47mvt.js} +1 -1
  272. package/dist/components/{p-Dn13oSNs.js → p-zBwPEKhI.js} +1 -1
  273. package/dist/esm/p-accordion.entry.js +2 -2
  274. package/dist/esm/p-attachment.entry.js +8 -8
  275. package/dist/esm/p-avatar-group.entry.js +1 -1
  276. package/dist/esm/p-avatar.entry.js +1 -1
  277. package/dist/esm/p-backdrop.entry.js +3 -3
  278. package/dist/esm/p-badge_3.entry.js +4 -4
  279. package/dist/esm/p-button-group.entry.js +1 -1
  280. package/dist/esm/p-button_3.entry.js +1 -1
  281. package/dist/esm/p-calendar.entry.js +1 -1
  282. package/dist/esm/p-card-body.entry.js +1 -1
  283. package/dist/esm/p-card-container.entry.js +2 -2
  284. package/dist/esm/p-card-header.entry.js +3 -3
  285. package/dist/esm/p-checkbox_3.entry.js +12 -10
  286. package/dist/esm/p-content-slider.entry.js +2 -2
  287. package/dist/esm/p-cropper.entry.js +1 -1
  288. package/dist/esm/p-datepicker.entry.js +2 -2
  289. package/dist/esm/p-divider.entry.js +2 -2
  290. package/dist/esm/p-drawer-body_3.entry.js +4 -4
  291. package/dist/esm/p-dropdown-menu-item_2.entry.js +15 -7
  292. package/dist/esm/p-empty-state_8.entry.js +10 -10
  293. package/dist/esm/p-field_3.entry.js +5 -5
  294. package/dist/esm/p-floating-menu-item.entry.js +2 -2
  295. package/dist/esm/p-illustration.entry.js +1 -1
  296. package/dist/esm/p-info-panel.entry.js +2 -2
  297. package/dist/esm/p-layout.entry.js +1 -1
  298. package/dist/esm/p-listing-item.entry.js +1 -1
  299. package/dist/esm/p-listing-line.entry.js +1 -1
  300. package/dist/esm/p-modal-body_4.entry.js +6 -6
  301. package/dist/esm/p-navigation-item.entry.js +3 -3
  302. package/dist/esm/p-navigation-section.entry.js +1 -1
  303. package/dist/esm/p-navigation-title.entry.js +1 -1
  304. package/dist/esm/p-pagination_3.entry.js +3 -3
  305. package/dist/esm/p-profile.entry.js +1 -1
  306. package/dist/esm/p-radio.entry.js +3 -3
  307. package/dist/esm/p-range.entry.js +3 -3
  308. package/dist/esm/p-select.entry.js +50 -8
  309. package/dist/esm/p-smile.entry.js +1 -1
  310. package/dist/esm/p-stepper-item_2.entry.js +5 -5
  311. package/dist/esm/p-tab-container.entry.js +1 -1
  312. package/dist/esm/p-tab-item.entry.js +1 -1
  313. package/dist/esm/p-table.entry.js +2 -2
  314. package/dist/esm/p-toast-container.entry.js +2 -2
  315. package/dist/esm/p-toggle.entry.js +3 -3
  316. package/dist/esm/p-tooltip.entry.js +2 -2
  317. package/dist/index.html +1 -1
  318. package/dist/paperless/p-014ef0e1.entry.js +1 -0
  319. package/dist/paperless/{p-57c5bf0c.entry.js → p-017b3759.entry.js} +1 -1
  320. package/dist/paperless/{p-d2ff359e.entry.js → p-02a54f77.entry.js} +1 -1
  321. package/dist/{build/p-4cd8035a.entry.js → paperless/p-055b6209.entry.js} +1 -1
  322. package/dist/{build/p-6ed7ef6a.entry.js → paperless/p-1a26edba.entry.js} +1 -1
  323. package/dist/{build/p-34ec6b9b.entry.js → paperless/p-1a424b04.entry.js} +1 -1
  324. package/dist/paperless/{p-0cf2c5f5.entry.js → p-2248e489.entry.js} +1 -1
  325. package/dist/{build/p-e922cb1f.entry.js → paperless/p-2361ad53.entry.js} +1 -1
  326. package/dist/paperless/{p-e20e6aa3.entry.js → p-24db0c8f.entry.js} +1 -1
  327. package/dist/paperless/{p-48be5f53.entry.js → p-2efedc3d.entry.js} +1 -1
  328. package/dist/{build/p-9079dcb7.entry.js → paperless/p-31cf13c6.entry.js} +1 -1
  329. package/dist/paperless/p-3eb1d7d5.entry.js +1 -0
  330. package/dist/paperless/{p-b1e6c746.entry.js → p-45176955.entry.js} +1 -1
  331. package/dist/paperless/p-4b6fd839.entry.js +1 -0
  332. package/dist/paperless/{p-2e53d921.entry.js → p-51312a8f.entry.js} +1 -1
  333. package/dist/{build/p-2ebc600b.entry.js → paperless/p-555cb497.entry.js} +1 -1
  334. package/dist/paperless/p-571575d2.entry.js +1 -0
  335. package/dist/paperless/{p-38056598.entry.js → p-65466ef3.entry.js} +1 -1
  336. package/dist/paperless/{p-d5365ce3.entry.js → p-6a23ff2f.entry.js} +1 -1
  337. package/dist/{build/p-45b9a446.entry.js → paperless/p-6ac8c0c1.entry.js} +1 -1
  338. package/dist/{build/p-b8caedf6.entry.js → paperless/p-7c8ec514.entry.js} +1 -1
  339. package/dist/paperless/{p-2ce0c175.entry.js → p-7cd7bc8b.entry.js} +1 -1
  340. package/dist/{build/p-1b50f01d.entry.js → paperless/p-8c141cb8.entry.js} +1 -1
  341. package/dist/{build/p-b316ecff.entry.js → paperless/p-92910dad.entry.js} +1 -1
  342. package/dist/paperless/{p-020124fe.entry.js → p-9f684244.entry.js} +1 -1
  343. package/dist/paperless/{p-b1a372fc.entry.js → p-a035467d.entry.js} +1 -1
  344. package/dist/paperless/p-a395e9e0.entry.js +1 -0
  345. package/dist/{build/p-4851ac96.entry.js → paperless/p-b190b534.entry.js} +1 -1
  346. package/dist/paperless/{p-25842006.entry.js → p-b75ded13.entry.js} +1 -1
  347. package/dist/{build/p-477801df.entry.js → paperless/p-bdab91d9.entry.js} +1 -1
  348. package/dist/paperless/{p-561a4d56.entry.js → p-ce56d534.entry.js} +1 -1
  349. package/dist/{build/p-f18a511c.entry.js → paperless/p-d21a8908.entry.js} +1 -1
  350. package/dist/paperless/{p-749752fa.entry.js → p-d37faeaf.entry.js} +1 -1
  351. package/dist/paperless/{p-280c1727.entry.js → p-d5dfbaee.entry.js} +1 -1
  352. package/dist/paperless/{p-b005f182.entry.js → p-d7d2411e.entry.js} +1 -1
  353. package/dist/paperless/p-ea2deb46.entry.js +1 -0
  354. package/dist/paperless/{p-5c08054f.entry.js → p-ec0a6d22.entry.js} +1 -1
  355. package/dist/paperless/{p-44d6468b.entry.js → p-ec3752dc.entry.js} +1 -1
  356. package/dist/paperless/{p-af9fc40a.entry.js → p-f6ca0e6b.entry.js} +1 -1
  357. package/dist/paperless/p-fa06ff98.entry.js +1 -0
  358. package/dist/{build/p-1a373297.entry.js → paperless/p-fa13f317.entry.js} +1 -1
  359. package/dist/{build/p-501f2f7c.entry.js → paperless/p-fadcfc9f.entry.js} +1 -1
  360. package/dist/paperless/{p-272721bf.entry.js → p-fccb23e5.entry.js} +1 -1
  361. package/dist/paperless/{p-3b34c822.entry.js → p-fccf3bf9.entry.js} +1 -1
  362. package/dist/paperless/paperless.esm.js +1 -1
  363. package/dist/sw.js +1 -1
  364. package/dist/sw.js.map +1 -1
  365. package/dist/types/components/atoms/dropdown-menu/item/dropdown-menu-item.component.d.ts +1 -1
  366. package/dist/types/components/molecules/select/select.component.d.ts +14 -2
  367. package/dist/types/components/molecules/select/select.stories.d.ts +45 -3
  368. package/dist/types/components.d.ts +27 -4
  369. package/hydrate/index.js +177 -125
  370. package/hydrate/index.mjs +177 -125
  371. package/package.json +1 -1
  372. package/dist/build/p-4b7ac676.entry.js +0 -1
  373. package/dist/build/p-5d58a880.entry.js +0 -1
  374. package/dist/build/p-70071176.entry.js +0 -1
  375. package/dist/build/p-73102cbf.entry.js +0 -1
  376. package/dist/build/p-92259edb.entry.js +0 -1
  377. package/dist/build/p-9ac5f80b.entry.js +0 -1
  378. package/dist/build/p-ce15940f.entry.js +0 -1
  379. package/dist/components/p-4-EYCe-6.js +0 -1
  380. package/dist/components/p-CUMk7xBX.js +0 -1
  381. package/dist/components/p-bTOCGgU2.js +0 -1
  382. package/dist/paperless/p-4b7ac676.entry.js +0 -1
  383. package/dist/paperless/p-5d58a880.entry.js +0 -1
  384. package/dist/paperless/p-70071176.entry.js +0 -1
  385. package/dist/paperless/p-73102cbf.entry.js +0 -1
  386. package/dist/paperless/p-92259edb.entry.js +0 -1
  387. package/dist/paperless/p-9ac5f80b.entry.js +0 -1
  388. package/dist/paperless/p-ce15940f.entry.js +0 -1
@@ -63,6 +63,7 @@ const Select = class {
63
63
  this.valueChange = createEvent(this, "valueChange", 3);
64
64
  this.selectAllChange = createEvent(this, "selectAllChange", 3);
65
65
  this.dropdownShown = createEvent(this, "dropdownShown", 3);
66
+ this.itemHover = createEvent(this, "itemHover", 3);
66
67
  this.add = createEvent(this, "add", 3);
67
68
  if (hostRef.$hostElement$["s-ei"]) {
68
69
  this._internals = hostRef.$hostElement$["s-ei"];
@@ -216,6 +217,10 @@ const Select = class {
216
217
  * Event when the dropdown shows
217
218
  */
218
219
  dropdownShown;
220
+ /**
221
+ * Event when hovering an item
222
+ */
223
+ itemHover;
219
224
  /**
220
225
  * The size of the input group used by the select
221
226
  */
@@ -359,8 +364,8 @@ const Select = class {
359
364
  if (this.error?.length) {
360
365
  buttonIcon = 'warning';
361
366
  }
362
- return (h(ThemedHost, { key: 'e558118df2ca323c56ce1af9ca940f9ab3064bf5' }, h("p-field-container", { key: '8c59c91d1962edee3ee06ca33f93e670aaf471d2', error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, label: this.label, prefix: this.prefix, required: this.required, showOptional: this.showOptional, variant: 'write' }, h("p-dropdown", { key: '81ce03dc69685e18a92090628818e0ea902b9f3b', applyChevron: false, applyFullWidth: true, applyMaxWidth: false, "disable-trigger-click": this.disabled, insideClick: true, manual: true, manualChevron: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, slot: 'content', strategy: this.strategy, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-button", { key: '71a818c2ee268b8c169cc65bcd405ab8153bacb9', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
363
- this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '53f5fc2d15c94e96f629c6bd53e2456078f47dd3', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
367
+ return (h(ThemedHost, { key: 'b23bf53949366811ec68b34250ddd36d3d86efc0' }, h("p-field-container", { key: '1429705940cd1ec6f88d28be966273731f6e4f4e', error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, label: this.label, prefix: this.prefix, required: this.required, showOptional: this.showOptional, variant: 'write' }, h("p-dropdown", { key: 'd006fc242b99db8979509be0eaf2aba96d6a5051', applyChevron: false, applyFullWidth: true, applyMaxWidth: false, "disable-trigger-click": this.disabled, insideClick: true, manual: true, manualChevron: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, slot: 'content', strategy: this.strategy, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-button", { key: '6bf30b07753477e8ce4ff9f60d739c71f1ab3388', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
368
+ this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: 'b940d807179e88c328366bcc671eaf467736ed38', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
364
369
  }
365
370
  documentClickHandler(event) {
366
371
  if (!this._showDropdown || childOfComposed(event, this._el)) {
@@ -411,6 +416,9 @@ const Select = class {
411
416
  }
412
417
  if (!this._selectedItem && !value && this.autoSelectFirst) {
413
418
  value = this._items[0];
419
+ if (value?.type === 'category') {
420
+ value = this._items[1];
421
+ }
414
422
  }
415
423
  const identifier = typeof value === 'object' && value !== null
416
424
  ? value[this._identifierKey]
@@ -512,12 +520,20 @@ const Select = class {
512
520
  .indexOf(this.query?.toLowerCase()) >= 0);
513
521
  }
514
522
  _getItems() {
515
- let items = this._items.map(item => {
523
+ let items = this._items.map((item, index) => {
524
+ if (item.type === 'category') {
525
+ return (h("p-dropdown-menu-item", { slot: 'items', useContainer: false, variant: 'category' }, item.text));
526
+ }
516
527
  const isSelected = this.multi && !!this._selectedItem && Array.isArray(this._selectedItem)
517
528
  ? this._selectedItem.some(i => i[this._identifierKey] === item[this._identifierKey])
518
529
  : item[this._identifierKey] ===
519
530
  this._selectedItem?.[this._identifierKey];
520
- return (h("p-dropdown-menu-item", { active: isSelected, checkbox: this.multi ? true : false, enableTextWrap: this.enableTextWrap, slot: 'items', useContainer: false, onClick: () => this._selectValue(item) }, this._getDisplay(item, false, isSelected)));
531
+ return (h("p-dropdown-menu-item", { active: isSelected, checkbox: this.multi ? true : false, enableTextWrap: this.enableTextWrap, slot: 'items', useContainer: false, onClick: () => this._selectValue(item), onMouseEnter: event => this.itemHover.emit({
532
+ event,
533
+ ref: event.target,
534
+ item,
535
+ index,
536
+ }) }, this._getDisplay(item, false, isSelected)));
521
537
  });
522
538
  if (this._items.length === 0 && !this.showAddItem) {
523
539
  items = [
@@ -637,7 +653,29 @@ const Select = class {
637
653
  if (!this.items || this.loading) {
638
654
  return [];
639
655
  }
640
- let items = typeof this.items === 'string' ? JSON.parse(this.items) : this.items;
656
+ let items = this.items;
657
+ if (typeof this.items === 'string') {
658
+ items = JSON.parse(this.items);
659
+ }
660
+ if (typeof items === 'object' && !Array.isArray(items)) {
661
+ const categorizedItems = [];
662
+ for (const key in items) {
663
+ let itemsInCat = items[key];
664
+ if (typeof items[key]?.[0] === 'string') {
665
+ this.displayKey = 'text';
666
+ this.valueKey = 'value';
667
+ itemsInCat = items[key].map(str => ({
668
+ value: str,
669
+ text: str,
670
+ }));
671
+ }
672
+ categorizedItems.push({
673
+ type: 'category',
674
+ text: key,
675
+ }, ...itemsInCat);
676
+ }
677
+ items = categorizedItems;
678
+ }
641
679
  if (typeof items?.[0] === 'string') {
642
680
  this.displayKey = 'text';
643
681
  this.valueKey = 'value';
@@ -646,8 +684,12 @@ const Select = class {
646
684
  text: str,
647
685
  }));
648
686
  }
687
+ let parsedItems = items;
649
688
  if (this.query?.length && !this.asyncFilter) {
650
- items = items.filter(item => {
689
+ parsedItems = parsedItems.filter(item => {
690
+ if (item.type === 'category') {
691
+ return true;
692
+ }
651
693
  if (this.queryKey) {
652
694
  return this._checkvalue(this.queryKey, item);
653
695
  }
@@ -656,9 +698,9 @@ const Select = class {
656
698
  });
657
699
  }
658
700
  if (!applyPagination) {
659
- return items;
701
+ return parsedItems;
660
702
  }
661
- return items?.slice(0, this.maxDisplayedItems);
703
+ return parsedItems?.slice(0, this.maxDisplayedItems);
662
704
  }
663
705
  static get formAssociated() { return true; }
664
706
  static get watchers() { return {
@@ -52,7 +52,7 @@ const Smile = class {
52
52
  */
53
53
  variant = 'modal';
54
54
  render() {
55
- return (h(Host, { key: '2947239a75d0b5946e1fd53c40a099be707a0dee', class: smile({ variant: this.variant }) }, h("div", { key: 'a1ec3510509224528a123e3963e78174f840d25c', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
55
+ return (h(Host, { key: '3451f7cd02efc1f172915d8f0556daa248d26a59', class: smile({ variant: this.variant }) }, h("div", { key: '7fef3c83f69ddabb4037ac5e143162a432276c67', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
56
56
  }
57
57
  };
58
58
  Smile.style = smileComponentCss();
@@ -217,21 +217,21 @@ const StepperItem = class {
217
217
  */
218
218
  active = false;
219
219
  render() {
220
- return (h(ThemedHost, { key: '367d59656e6767f50c1c7aefab806f15c024e296' }, h("div", { key: '622a892f8241c64d1b38bad2c5850d3cf24e1c33', class: item({
220
+ return (h(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, h("div", { key: '83a55a58b2e4cd7654e548a83ee460022076fadd', class: item({
221
221
  align: this.variant === 'default' ? this.align : 'center',
222
222
  contentPosition: this.contentPosition,
223
- }) }, h("div", { key: '199eb6369e37094d21e6bc5f74facee3a8d5b6ac', class: circle({
223
+ }) }, h("div", { key: 'c4ed8f04cc1543139095c8b5d8df396a4d574be9', class: circle({
224
224
  align: this.align,
225
225
  direction: this.direction,
226
226
  active: asBoolean(this.active),
227
227
  finished: asBoolean(this.finished),
228
228
  variant: this.variant,
229
- }) }, this.variant === 'icon' && (this.icon || this.finished) ? (h("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), h("div", { key: '7b5349a6e9719c14f57834909912587202c6725b', class: content({
229
+ }) }, this.variant === 'icon' && (this.icon || this.finished) ? (h("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), h("div", { key: '6836d3a6900c78d9e398cf54cc90ec9c55e97fa3', class: content({
230
230
  active: asBoolean(this.active),
231
231
  finished: asBoolean(this.finished),
232
232
  direction: this.direction,
233
233
  variant: this.variant,
234
- }) }, h("slot", { key: '5a7ed0fa8acc0af1bf53f0c935c2b114a8efefc7' })))));
234
+ }) }, h("slot", { key: '34598e124bef3de28a393513adb936e0fc1aba84' })))));
235
235
  }
236
236
  };
237
237
  StepperItem.style = stepperItemComponentCss();
@@ -251,7 +251,7 @@ const StepperLine = class {
251
251
  */
252
252
  direction = 'horizontal';
253
253
  render() {
254
- return h(ThemedHost, { key: '6dbc3dcaadc312a2f4e8b46ce74fb12ef3edbe84' });
254
+ return h(ThemedHost, { key: '3822db07a479031ea2ed2b85e964e87c74fcf3a1' });
255
255
  }
256
256
  };
257
257
  StepperLine.style = stepperLineComponentCss();
@@ -7,7 +7,7 @@ const TabContainer = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h("div", { key: '767fde4c0274b060512e081f5dc1834e6655fef2', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: 'de767ea3fbdb22d6128163a852e0353abe77e6b2', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: 'c1e77ff9b0ff957cf60114e243157e5518a4beab' })), h("p-divider", { key: '353a341259032ff828753e8044bc817d6e34afcf', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
10
+ return (h("div", { key: 'e89642efdbdac9c36ea1b79ed2f3f7002975b4d9', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: '4e11ddb4ad1adbb1b5f6c8f13ceabd7417c5cd2f', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: 'e1a80331ad4b1e1dd4a93b6c06e2d7e1df68d8d7' })), h("p-divider", { key: '317e13b7257271335a4e68596a6269e6bf4ae865', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
11
11
  }
12
12
  };
13
13
  TabContainer.style = tabContainerComponentCss();
@@ -46,7 +46,7 @@ const TabItem = class {
46
46
  */
47
47
  active = false;
48
48
  render() {
49
- return (h(ThemedHost, { key: '59417e81d9384a32035c5ecca29005aa4bfbcf21' }, h("div", { key: 'abf682531fbe7362f29f243b38a2849231328dfd', class: item({ active: this.active }) }, h("slot", { key: '87858333923e7bc7f17703d86538cce81ba23777' }))));
49
+ return (h(ThemedHost, { key: '9c61f2d31392fe6b36493d1ae717ce6e02fe4f21' }, h("div", { key: 'f673837150832946c4186588e8e92ba1534d2f32', class: item({ active: this.active }) }, h("slot", { key: '82eb84bfb66d1ed93bec1d8925dece7cd15411de' }))));
50
50
  }
51
51
  };
52
52
  TabItem.style = tabItemComponentCss();
@@ -277,7 +277,7 @@ const Table = class {
277
277
  this.hasRendered.emit();
278
278
  }
279
279
  render() {
280
- return (h(Host, { key: 'ae904712e08489474afdc5845533f6e9ac95301b', class: 'z-0 flex flex-col' }, h("p-table-container", { key: 'dda70ad29ac9043645d12913365af8f6e4afdffb' }, this.enableHeader && (h("p-table-header", { key: '701ccce426272567e11263f305a76684306fac37', actionButtonTemplate: this.actionButtonTemplate, actionIcon: this.actionButtonIcon, actionLoading: this.actionButtonLoading, actionText: this.actionButtonText, activeQuickFilterIdentifier: this.activeQuickFilterIdentifier, canUseAction: this.actionButtonEnabled, class: 'mb-8', enableAction: this.enableAction, enableExport: this.enableExport, enableFilter: this.enableFilter, enableFilterDesktop: this.enableFilterDesktop, enableSearch: this.enableSearch, filterButtonTemplate: this.filterButtonTemplate, itemsSelectedAmount: this.selectedRows?.length, loading: this.headerLoading, query: this.query, quickFilters: this.quickFilters, selectedFiltersAmount: this.selectedFiltersAmount, onAction: () => this.action.emit(), onExport: () => this.export.emit(), onFilter: () => this.filter.emit(), onQueryChange: ({ detail }) => this.queryChange.emit(detail), onQuickFilter: ({ detail }) => this.quickFilter.emit(detail) }, this._hasCustomFilterSlot && (h("slot", { key: 'adc6c02c1b89d0acef5ab2837f9e5fb3864fa7d4', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (h("slot", { key: '230b0b3960c58402ed66c4a94ec06c6296900ba6', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), h("div", { key: '1295202d7cedd4513e1d28caebadc95e85831885', class: 'flex flex-1 flex-col' }, this._getRows(), h("slot", { key: '419e887ff55242fab18a8606abd736a0fc9f46bf', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (h("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: floatingMenuContainerClass({
280
+ return (h(Host, { key: 'd479eadd465ca89cb946b49a57baa2a9b59662f3', class: 'z-0 flex flex-col' }, h("p-table-container", { key: '4561faab83f090f8b2a93b2020851d8bdca654bf' }, this.enableHeader && (h("p-table-header", { key: '42f64f4650998137028ac3364842dd4637682ca1', actionButtonTemplate: this.actionButtonTemplate, actionIcon: this.actionButtonIcon, actionLoading: this.actionButtonLoading, actionText: this.actionButtonText, activeQuickFilterIdentifier: this.activeQuickFilterIdentifier, canUseAction: this.actionButtonEnabled, class: 'mb-8', enableAction: this.enableAction, enableExport: this.enableExport, enableFilter: this.enableFilter, enableFilterDesktop: this.enableFilterDesktop, enableSearch: this.enableSearch, filterButtonTemplate: this.filterButtonTemplate, itemsSelectedAmount: this.selectedRows?.length, loading: this.headerLoading, query: this.query, quickFilters: this.quickFilters, selectedFiltersAmount: this.selectedFiltersAmount, onAction: () => this.action.emit(), onExport: () => this.export.emit(), onFilter: () => this.filter.emit(), onQueryChange: ({ detail }) => this.queryChange.emit(detail), onQuickFilter: ({ detail }) => this.quickFilter.emit(detail) }, this._hasCustomFilterSlot && (h("slot", { key: '4330a128ee1880c45651cce01c455043ab3d9358', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (h("slot", { key: '5842f3baaf1c0b5a1731412b3867b4aa3e75f473', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), h("div", { key: '4ebfe041d95457578b879604ffc42edd5ebf109d', class: 'flex flex-1 flex-col' }, this._getRows(), h("slot", { key: '86102819a49542a813f5ab19d5f028b144547096', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (h("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: floatingMenuContainerClass({
281
281
  hasFooter: this.enableFooter && !this._footerHidden,
282
282
  active: !!this.selectedRows?.length,
283
283
  shown: this._floatingMenuShown,
@@ -287,7 +287,7 @@ const Table = class {
287
287
  !!a.action &&
288
288
  a.type === 'single'
289
289
  ? a.action(this.selectedRows[0], false)
290
- : a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '34eca9c12bcd8eac4a0f9b7c56660858e481f897', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, loading: this.footerLoading, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, tableHeaderHasAction: this.enableHeader &&
290
+ : a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '5134a20cac241a36ec3c9e63af654e8c911379c4', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, loading: this.footerLoading, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, tableHeaderHasAction: this.enableHeader &&
291
291
  this.enableAction &&
292
292
  this.actionButtonEnabled, total: this.total, onHiddenChange: ({ detail }) => (this._footerHidden = detail), onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this.pageSizeChange.emit(detail) })))));
293
293
  }
@@ -46,9 +46,9 @@ const ToastContainer = class {
46
46
  */
47
47
  placement = 'top-end';
48
48
  render() {
49
- return (h("div", { key: '13c121ebf549fbb2b804e7451c36a2c9b03b837a', class: container({
49
+ return (h("div", { key: 'b8450106a439c1afa6fcce3dccc3d52d982c9c0f', class: container({
50
50
  placement: this.placement,
51
- }) }, h("slot", { key: '75a21438625d7e0fded8de20e8ac63cdce855b8f' })));
51
+ }) }, h("slot", { key: '6a6203ca9e4c53e1d74f834bd023a60a5241f415' })));
52
52
  }
53
53
  };
54
54
  ToastContainer.style = toastContainerComponentCss();
@@ -149,11 +149,11 @@ const Toggle = class {
149
149
  }
150
150
  render() {
151
151
  const id = this.id?.length ? this.id : this._nonce;
152
- return (h(ThemedHost, { key: 'd072abea02fbf592babb7e2138a61e4197285fe0' }, h("label", { key: 'fdba4e275d31951aa13982f93d1796dc29e4006c', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'c6e9bc94fd2a111ddb3960c7d80ec1db6a2e2dca', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, h("input", { key: 'c5f41394c1660b4a3b1c0794e5024c369b52e979', checked: !!this.checked, class: toggle({
152
+ return (h(ThemedHost, { key: '95b39ce4f5dc7b62a04d7901316d8da577b611f1' }, h("label", { key: '24c67608985ef2f63dcd09d875f04cea03d6ae17', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'c54f1bf846aff7870ff43b8860f48caa699b70ab', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, h("input", { key: '1f724e6e8595a8ad13cedf24cf709a0c6009d025', checked: !!this.checked, class: toggle({
153
153
  disabled: asBoolean(this.disabled),
154
- }), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '97ce6dfbc7e131ec198684631ecdb667970367c9', class: circle({
154
+ }), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '09c80849a3d22d20008de5349c9212edf080dd24', class: circle({
155
155
  disabled: asBoolean(this.disabled),
156
- }) })), h("div", { key: '02a025ec646c8951370cce0c2468bc940b3a2efb', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '03bc7c65ee544fb5de672ad275a9580ef72011f8' })))));
156
+ }) })), h("div", { key: '925b703dee98131f67ca94f880f04454eb5cbcc6', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: 'a70cd6e4d3a12c71e474979517976fa09a559de4' })))));
157
157
  }
158
158
  _onChange(ev) {
159
159
  if (asBoolean(this.disabled)) {
@@ -103,10 +103,10 @@ const Tooltip = class {
103
103
  this._cleanup = null;
104
104
  }
105
105
  render() {
106
- return (h(ThemedHost, { key: '2045c531ce9e92a908d09ab8cdff4dc40b62e3ee', "data-filled": this.content?.length > 0 || this._hasContentSlot }, h("slot", { key: '244d5788a2d49bfa59abffd1b63c675725b3a76b', name: 'trigger' }), h("div", { key: 'ede4e081d7c377140d752f4bb2ecd2a086b8eed9', class: popover({
106
+ return (h(ThemedHost, { key: 'ad852c968b1119825237d1c9e4c67083156163f2', "data-filled": this.content?.length > 0 || this._hasContentSlot }, h("slot", { key: 'c51cfa0a0d9df2f529f05aadacabc257c7253aff', name: 'trigger' }), h("div", { key: 'd07f501940600d2e29f20c45b373074b58c4a71f', class: popover({
107
107
  variant: this.variant,
108
108
  strategy: this.strategy,
109
- }), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: '38479f71c8480de49d72e76177c702696a45ae6a', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (h("div", { key: '3ea70fe7b66e0e63d664d7be79a75fe638eb719f', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? h("slot", { key: 'e2ae3936cf0f31a7dc2ec514784215d823dd20c7', name: 'content' })))));
109
+ }), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: 'e203d8e859a60f3ff4ae6fd0608211d4210bfdf2', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (h("div", { key: '6cc7c7d1465ffbea310710d5789a03cda13e36f3', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? h("slot", { key: '1ff33cc0032b792cf14f29405b876ea69a0dfbeb', name: 'content' })))));
110
110
  }
111
111
  clickHandler() {
112
112
  if (this.variant === 'hover' || !this.enableUserInput) {
package/dist/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" name="viewport"> <title>Stencil Component Starter</title> <link rel="modulepreload" href="/build/p-2aa8ae3e.js"><link rel="modulepreload" href="/build/p-6XOzWrsN.js"><link rel="modulepreload" href="/build/p-B55DMZ_P.js"><link rel="modulepreload" href="/build/p-C5CTp9IA.js"><link rel="modulepreload" href="/build/p-CBWjHURv.js"><link rel="modulepreload" href="/build/p-CSySY6aC.js"><link rel="modulepreload" href="/build/p-CWO2YJCh.js"><link rel="modulepreload" href="/build/p-ChV9xqsO.js"><link rel="modulepreload" href="/build/p-xs4N_Y-0.js"><link rel="modulepreload" href="/build/p-yFtRjnrU.js"><script type="module" src="/build/p-2aa8ae3e.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> <link href="/build/p-ea6cc0bf.css" rel="stylesheet"> </head> <body> <p-button>Test</p-button> <script data-build="2026-10-12T14:24:59">
1
+ <!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0" name="viewport"> <title>Stencil Component Starter</title> <link rel="modulepreload" href="/build/p-435a082d.js"><link rel="modulepreload" href="/build/p-6XOzWrsN.js"><link rel="modulepreload" href="/build/p-B55DMZ_P.js"><link rel="modulepreload" href="/build/p-C5CTp9IA.js"><link rel="modulepreload" href="/build/p-CBWjHURv.js"><link rel="modulepreload" href="/build/p-CSySY6aC.js"><link rel="modulepreload" href="/build/p-CWO2YJCh.js"><link rel="modulepreload" href="/build/p-ChV9xqsO.js"><link rel="modulepreload" href="/build/p-xs4N_Y-0.js"><link rel="modulepreload" href="/build/p-yFtRjnrU.js"><script type="module" src="/build/p-435a082d.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> <link href="/build/p-ea6cc0bf.css" rel="stylesheet"> </head> <body> <p-button>Test</p-button> <script data-build="2026-10-20T08:33:38">
2
2
  if ('serviceWorker' in navigator && location.protocol !== 'file:') {
3
3
  window.addEventListener('load', function() {
4
4
  navigator.serviceWorker.register('/sw.js')
@@ -0,0 +1 @@
1
+ import{r as e,h as c}from"./p-yFtRjnrU.js";import{T as f}from"./p-CSySY6aC.js";import"./p-6XOzWrsN.js";const s=class{constructor(c){e(this,c)}header;render(){return c(f,{key:"a0ca4e59eecc786d21f19b5cf19109ff2ecff9c2",class:"flex flex-col gap-2"},this.header?.length>0&&c("p-navigation-title",{key:"2c01baaaff7f298d2589c62571cc765c885c7c21"},this.header),c("div",{key:"e92d1f46d8fb376f93097bb29d47983055d0657d",class:"flex flex-col"},c("slot",{key:"6e68b9723d5ae4f738c3f56d6c8c73fbb824e497"})))}};s.style="*{box-sizing:border-box}.static{position:static}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:.5rem}";export{s as p_navigation_section}