@paperless/core 3.13.1 → 3.14.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 (422) hide show
  1. package/dist/build/{p-d13d8eb9.entry.js → p-06e05b91.entry.js} +1 -1
  2. package/dist/{paperless/p-2dfbfe7a.entry.js → build/p-14df360e.entry.js} +1 -1
  3. package/dist/{paperless/p-9f3cf82d.entry.js → build/p-195e954b.entry.js} +1 -1
  4. package/dist/{paperless/p-e2219fa7.entry.js → build/p-21af7426.entry.js} +1 -1
  5. package/dist/build/{p-16c98151.entry.js → p-221357a9.entry.js} +1 -1
  6. package/dist/{paperless/p-fad5a088.entry.js → build/p-2e47c533.entry.js} +1 -1
  7. package/dist/build/{p-ad2767f7.entry.js → p-2e8e4b6c.entry.js} +1 -1
  8. package/dist/build/{p-cbdf1355.entry.js → p-31167a12.entry.js} +1 -1
  9. package/dist/build/p-3203bd08.entry.js +1 -0
  10. package/dist/build/{p-a1e69465.entry.js → p-3a857d73.entry.js} +1 -1
  11. package/dist/build/{p-90c95664.entry.js → p-3b2b195d.entry.js} +1 -1
  12. package/dist/build/{p-35107edb.entry.js → p-3bc3a649.entry.js} +1 -1
  13. package/dist/build/{p-fd26cf65.entry.js → p-4060ee8b.entry.js} +1 -1
  14. package/dist/build/{p-b992baa0.entry.js → p-44cee1cb.entry.js} +1 -1
  15. package/dist/{paperless/p-7c01dd27.entry.js → build/p-45ce6a54.entry.js} +1 -1
  16. package/dist/{paperless/p-0892908c.entry.js → build/p-507261fa.entry.js} +1 -1
  17. package/dist/build/{p-2eb0963d.entry.js → p-50c4d56e.entry.js} +1 -1
  18. package/dist/{paperless/p-8e3a2fa0.entry.js → build/p-54b0790e.entry.js} +1 -1
  19. package/dist/{paperless/p-b35a687a.entry.js → build/p-655fda1a.entry.js} +1 -1
  20. package/dist/build/{p-a263c4fe.entry.js → p-7abc21d8.entry.js} +1 -1
  21. package/dist/build/{p-18aebae1.entry.js → p-8319c5c8.entry.js} +1 -1
  22. package/dist/build/p-832c13bc.entry.js +1 -0
  23. package/dist/build/{p-4536b546.entry.js → p-835737f1.entry.js} +1 -1
  24. package/dist/build/p-87b1c4f1.js +1 -0
  25. package/dist/build/{p-001e60c3.entry.js → p-90610536.entry.js} +1 -1
  26. package/dist/build/p-91dcf7d0.entry.js +1 -0
  27. package/dist/{paperless/p-7b858cd2.entry.js → build/p-938b6c09.entry.js} +1 -1
  28. package/dist/{paperless/p-bf22285d.entry.js → build/p-9a6196a5.entry.js} +1 -1
  29. package/dist/build/{p-f6a8012e.entry.js → p-9b28fc94.entry.js} +1 -1
  30. package/dist/build/p-9c29695a.entry.js +1 -0
  31. package/dist/{paperless/p-b4c6d3be.entry.js → build/p-ad2650e8.entry.js} +1 -1
  32. package/dist/build/{p-e1aaca9c.entry.js → p-b48c0217.entry.js} +1 -1
  33. package/dist/{paperless/p-e00be7e7.entry.js → build/p-b6809b6f.entry.js} +1 -1
  34. package/dist/build/{p-b98a72c3.entry.js → p-b8f7c55a.entry.js} +1 -1
  35. package/dist/{paperless/p-8a2690df.entry.js → build/p-b91cdc33.entry.js} +1 -1
  36. package/dist/build/{p-0380b299.entry.js → p-b966039d.entry.js} +1 -1
  37. package/dist/build/{p-8ed51b6d.entry.js → p-bdda8043.entry.js} +1 -1
  38. package/dist/build/{p-8e91039f.entry.js → p-d1cb90b9.entry.js} +1 -1
  39. package/dist/{paperless/p-e26a497e.entry.js → build/p-d58dcb50.entry.js} +1 -1
  40. package/dist/{paperless/p-0b4b4cf7.entry.js → build/p-d614092e.entry.js} +1 -1
  41. package/dist/build/{p-2c10ed8a.entry.js → p-dca31554.entry.js} +1 -1
  42. package/dist/build/p-e2917e71.entry.js +1 -0
  43. package/dist/{paperless/p-d4d0d4a7.entry.js → build/p-e405fba1.entry.js} +1 -1
  44. package/dist/build/p-e6669599.entry.js +1 -0
  45. package/dist/build/{p-dbac42ad.entry.js → p-e86238e2.entry.js} +1 -1
  46. package/dist/build/{p-0da11431.entry.js → p-f3cbc433.entry.js} +1 -1
  47. package/dist/build/{p-e6f986d8.entry.js → p-f5cacfd0.entry.js} +1 -1
  48. package/dist/build/{p-afc6498d.entry.js → p-fcff315d.entry.js} +1 -1
  49. package/dist/{paperless/p-b2cbd111.entry.js → build/p-fea58ded.entry.js} +1 -1
  50. package/dist/build/{p-87112092.entry.js → p-fedaa9ef.entry.js} +1 -1
  51. package/dist/build/paperless.esm.js +1 -1
  52. package/dist/cjs/index-BGtpSJv_.js +4 -0
  53. package/dist/cjs/loader.cjs.js +1 -1
  54. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  55. package/dist/cjs/p-attachment.cjs.entry.js +8 -8
  56. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  57. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  58. package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
  59. package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
  60. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  61. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  62. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  63. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  64. package/dist/cjs/p-card-container.cjs.entry.js +2 -2
  65. package/dist/cjs/p-card-header.cjs.entry.js +3 -3
  66. package/dist/cjs/p-checkbox_3.cjs.entry.js +9 -9
  67. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  68. package/dist/cjs/p-cropper.cjs.entry.js +1 -1
  69. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  70. package/dist/cjs/p-divider.cjs.entry.js +2 -2
  71. package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
  72. package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +5 -5
  73. package/dist/cjs/p-dropzone.cjs.entry.js +200 -0
  74. package/dist/cjs/p-empty-state_8.cjs.entry.js +18 -18
  75. package/dist/cjs/p-field_3.cjs.entry.js +13 -13
  76. package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
  77. package/dist/cjs/p-illustration.cjs.entry.js +1 -1
  78. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  79. package/dist/cjs/p-label.cjs.entry.js +3 -3
  80. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  81. package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
  82. package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
  83. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  84. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  85. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  86. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  87. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  88. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  89. package/dist/cjs/p-pagination_3.cjs.entry.js +8 -8
  90. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  91. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  92. package/dist/cjs/p-range.cjs.entry.js +3 -3
  93. package/dist/cjs/p-select.cjs.entry.js +2 -2
  94. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  95. package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
  96. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  97. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  98. package/dist/cjs/p-table.cjs.entry.js +2 -2
  99. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  100. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  101. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  102. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  103. package/dist/cjs/paperless.cjs.js +1 -1
  104. package/dist/collection/collection-manifest.json +1 -0
  105. package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
  106. package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
  107. package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
  108. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  109. package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
  110. package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
  111. package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
  112. package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
  113. package/dist/collection/components/atoms/divider/divider.component.js +2 -2
  114. package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
  115. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
  116. package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
  117. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
  118. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
  119. package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
  120. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
  121. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  122. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  123. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  124. package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
  125. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  126. package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
  127. package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
  128. package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
  129. package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
  130. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  131. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  132. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  133. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  134. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  135. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  136. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  137. package/dist/collection/components/atoms/smile/smile.component.js +1 -1
  138. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
  139. package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
  140. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  141. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  142. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  143. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
  144. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  145. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  146. package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
  147. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  148. package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
  149. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  150. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  151. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  152. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  153. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  154. package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
  155. package/dist/collection/components/molecules/dropzone/dropzone.component.css +1 -0
  156. package/dist/collection/components/molecules/dropzone/dropzone.component.js +402 -0
  157. package/dist/collection/components/molecules/dropzone/dropzone.stories.js +44 -0
  158. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  159. package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
  160. package/dist/collection/components/molecules/field/field/field.component.js +4 -4
  161. package/dist/collection/components/molecules/label/label.component.js +3 -3
  162. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  163. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  164. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  165. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  166. package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
  167. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  168. package/dist/collection/components/molecules/range/range.component.js +3 -3
  169. package/dist/collection/components/molecules/select/select.component.js +2 -2
  170. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  171. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  172. package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
  173. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  174. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  175. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  176. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  177. package/dist/collection/components/organisms/table/table.component.js +2 -2
  178. package/dist/components/{p-CMhIKf1I.js → p-7Uv4DOCo.js} +1 -1
  179. package/dist/components/{p-Tuv_bAJ2.js → p-B8IerItk.js} +1 -1
  180. package/dist/components/{p-C5n669YA.js → p-BAgl1Jf7.js} +1 -1
  181. package/dist/components/{p-Dy4IX7Pe.js → p-BCWtvvOe.js} +1 -1
  182. package/dist/components/{p-BO22HPlM.js → p-BEV6zDs0.js} +1 -1
  183. package/dist/components/{p-QJoR_dmN.js → p-BGolUUn0.js} +1 -1
  184. package/dist/components/{p-Crasy6LB.js → p-BQ2nfPDP.js} +1 -1
  185. package/dist/components/{p-BHcIe6BE.js → p-BeBgV6gj.js} +1 -1
  186. package/dist/components/{p-4vMrjI4R.js → p-Bg4oBHWW.js} +1 -1
  187. package/dist/components/{p-UUd1zusc.js → p-BkaMV4Cw.js} +1 -1
  188. package/dist/components/{p-BqDsctQ9.js → p-BmPunDdB.js} +1 -1
  189. package/dist/components/{p-ByXfZHh6.js → p-BqKhfVsb.js} +1 -1
  190. package/dist/components/{p-PwfSEBI3.js → p-BtQtJLYr.js} +1 -1
  191. package/dist/components/{p-9C3ias2a.js → p-BtiIk9Ea.js} +1 -1
  192. package/dist/components/p-BzANZHar.js +1 -0
  193. package/dist/components/{p-C7j7Um7Y.js → p-C-iLhpLl.js} +1 -1
  194. package/dist/components/{p-BoI3_eAE.js → p-C2vLGMIb.js} +1 -1
  195. package/dist/components/{p-DHLrIt0b.js → p-CEBec4st.js} +1 -1
  196. package/dist/components/{p-CMmvAq1F.js → p-CEucaDLB.js} +1 -1
  197. package/dist/components/{p-PKBe_c-k.js → p-CKm4p-11.js} +1 -1
  198. package/dist/components/{p-CB3RfZL6.js → p-CTCbhlKP.js} +1 -1
  199. package/dist/components/{p-BSU1g6Cl.js → p-CTFrItdj.js} +1 -1
  200. package/dist/components/{p-BDYSnb7i.js → p-CaJvFmB-.js} +1 -1
  201. package/dist/components/{p-DQyKcYSv.js → p-Cgmg4D6Y.js} +1 -1
  202. package/dist/components/{p-DvxgfyQ_.js → p-CmhjRWQy.js} +1 -1
  203. package/dist/components/{p-BrFVDEeC.js → p-CoivV36y.js} +1 -1
  204. package/dist/components/{p-BxQCn3Jj.js → p-DA92PZeS.js} +1 -1
  205. package/dist/components/{p-DL2YlEpH.js → p-DEFO0n7t.js} +1 -1
  206. package/dist/components/{p-i1p7L9W8.js → p-DLz3l4Ve.js} +1 -1
  207. package/dist/components/{p-t4aLscWg.js → p-DNm_yz0u.js} +1 -1
  208. package/dist/components/p-DPRie-gp.js +1 -0
  209. package/dist/components/{p-DbRPTfvT.js → p-DWf-f_X3.js} +1 -1
  210. package/dist/components/{p-co8zArTG.js → p-DYtn3uAK.js} +1 -1
  211. package/dist/components/p-DZbo8o1B.js +1 -0
  212. package/dist/components/{p-CqDwyvBc.js → p-D_BCPirj.js} +1 -1
  213. package/dist/components/{p-B0rHem3C.js → p-Dd7Yba0f.js} +1 -1
  214. package/dist/components/{p-BE5gs-wy.js → p-GdkB5ZCP.js} +1 -1
  215. package/dist/components/{p-A2wMRQKW.js → p-K_XCfGz8.js} +1 -1
  216. package/dist/components/{p-BrFy12TR.js → p-N0W9Q2h8.js} +1 -1
  217. package/dist/components/{p-DP6H82uQ.js → p-O5rAm8zV.js} +1 -1
  218. package/dist/components/p-accordion.js +1 -1
  219. package/dist/components/p-attachment.js +1 -1
  220. package/dist/components/p-avatar-group.js +1 -1
  221. package/dist/components/p-avatar.js +1 -1
  222. package/dist/components/p-backdrop.js +1 -1
  223. package/dist/components/p-badge.js +1 -1
  224. package/dist/components/p-button-group.js +1 -1
  225. package/dist/components/p-button.js +1 -1
  226. package/dist/components/p-calendar.js +1 -1
  227. package/dist/components/p-card-body.js +1 -1
  228. package/dist/components/p-card-container.js +1 -1
  229. package/dist/components/p-card-header.js +1 -1
  230. package/dist/components/p-checkbox.js +1 -1
  231. package/dist/components/p-content-slider.js +1 -1
  232. package/dist/components/p-cropper.js +2 -2
  233. package/dist/components/p-datepicker.js +1 -1
  234. package/dist/components/p-divider.js +1 -1
  235. package/dist/components/p-drawer-body.js +1 -1
  236. package/dist/components/p-drawer-container.js +1 -1
  237. package/dist/components/p-drawer-header.js +1 -1
  238. package/dist/components/p-drawer.js +1 -1
  239. package/dist/components/p-dropdown-menu-container.js +1 -1
  240. package/dist/components/p-dropdown-menu-item.js +1 -1
  241. package/dist/components/p-dropdown.js +1 -1
  242. package/dist/components/p-dropzone.d.ts +11 -0
  243. package/dist/components/p-dropzone.js +1 -0
  244. package/dist/components/p-empty-state.js +1 -1
  245. package/dist/components/p-field-container.js +1 -1
  246. package/dist/components/p-field.js +1 -1
  247. package/dist/components/p-floating-menu-container.js +1 -1
  248. package/dist/components/p-floating-menu-item.js +1 -1
  249. package/dist/components/p-helper.js +1 -1
  250. package/dist/components/p-icon.js +1 -1
  251. package/dist/components/p-illustration.js +1 -1
  252. package/dist/components/p-info-panel.js +1 -1
  253. package/dist/components/{p-Bg0nKrgn.js → p-jLO4drbv.js} +1 -1
  254. package/dist/components/{p-lss590AG.js → p-lFkw6WvI.js} +1 -1
  255. package/dist/components/p-label.js +1 -1
  256. package/dist/components/p-layout.js +1 -1
  257. package/dist/components/p-listing-item.js +1 -1
  258. package/dist/components/p-listing-line.js +1 -1
  259. package/dist/components/p-listing.js +1 -1
  260. package/dist/components/p-modal-body.js +1 -1
  261. package/dist/components/p-modal-container.js +1 -1
  262. package/dist/components/p-modal-footer.js +1 -1
  263. package/dist/components/p-modal-header.js +1 -1
  264. package/dist/components/p-modal.js +1 -1
  265. package/dist/components/p-navbar.js +1 -1
  266. package/dist/components/p-navigation-item.js +1 -1
  267. package/dist/components/p-navigation-section.js +1 -1
  268. package/dist/components/p-navigation-title.js +1 -1
  269. package/dist/components/p-pagination-pages-item.js +1 -1
  270. package/dist/components/p-pagination-pages.js +1 -1
  271. package/dist/components/p-pagination-size.js +1 -1
  272. package/dist/components/p-pagination.js +1 -1
  273. package/dist/components/p-profile.js +1 -1
  274. package/dist/components/p-radio.js +1 -1
  275. package/dist/components/p-range.js +1 -1
  276. package/dist/components/p-segment-container.js +1 -1
  277. package/dist/components/p-segment-item.js +1 -1
  278. package/dist/components/p-select.js +1 -1
  279. package/dist/components/p-smile.js +1 -1
  280. package/dist/components/p-stepper-item.js +1 -1
  281. package/dist/components/p-stepper-line.js +1 -1
  282. package/dist/components/p-stepper.js +1 -1
  283. package/dist/components/p-tab-container.js +1 -1
  284. package/dist/components/p-tab-item.js +1 -1
  285. package/dist/components/p-table-cell.js +1 -1
  286. package/dist/components/p-table-container.js +1 -1
  287. package/dist/components/p-table-footer.js +1 -1
  288. package/dist/components/p-table-header.js +1 -1
  289. package/dist/components/p-table-row-actions-container.js +1 -1
  290. package/dist/components/p-table-row.js +1 -1
  291. package/dist/components/p-table.js +1 -1
  292. package/dist/components/p-toast-container.js +1 -1
  293. package/dist/components/p-toast.js +1 -1
  294. package/dist/components/p-toggle.js +1 -1
  295. package/dist/components/p-tooltip.js +1 -1
  296. package/dist/components/{p-3Vtsi6MW.js → p-tygV9wpP.js} +1 -1
  297. package/dist/components/{p-C_JXTK81.js → p-yulcflZJ.js} +1 -1
  298. package/dist/esm/index-yFtRjnrU.js +4 -0
  299. package/dist/esm/loader.js +1 -1
  300. package/dist/esm/p-accordion.entry.js +2 -2
  301. package/dist/esm/p-attachment.entry.js +8 -8
  302. package/dist/esm/p-avatar-group.entry.js +1 -1
  303. package/dist/esm/p-avatar.entry.js +1 -1
  304. package/dist/esm/p-backdrop.entry.js +3 -3
  305. package/dist/esm/p-badge_3.entry.js +4 -4
  306. package/dist/esm/p-button-group.entry.js +1 -1
  307. package/dist/esm/p-button_3.entry.js +1 -1
  308. package/dist/esm/p-calendar.entry.js +1 -1
  309. package/dist/esm/p-card-body.entry.js +1 -1
  310. package/dist/esm/p-card-container.entry.js +2 -2
  311. package/dist/esm/p-card-header.entry.js +3 -3
  312. package/dist/esm/p-checkbox_3.entry.js +9 -9
  313. package/dist/esm/p-content-slider.entry.js +2 -2
  314. package/dist/esm/p-cropper.entry.js +1 -1
  315. package/dist/esm/p-datepicker.entry.js +2 -2
  316. package/dist/esm/p-divider.entry.js +2 -2
  317. package/dist/esm/p-drawer-body_3.entry.js +4 -4
  318. package/dist/esm/p-dropdown-menu-item_2.entry.js +5 -5
  319. package/dist/esm/p-dropzone.entry.js +198 -0
  320. package/dist/esm/p-empty-state_8.entry.js +18 -18
  321. package/dist/esm/p-field_3.entry.js +13 -13
  322. package/dist/esm/p-floating-menu-item.entry.js +2 -2
  323. package/dist/esm/p-illustration.entry.js +1 -1
  324. package/dist/esm/p-info-panel.entry.js +2 -2
  325. package/dist/esm/p-label.entry.js +3 -3
  326. package/dist/esm/p-layout.entry.js +1 -1
  327. package/dist/esm/p-listing-item.entry.js +1 -1
  328. package/dist/esm/p-listing-line.entry.js +1 -1
  329. package/dist/esm/p-listing.entry.js +2 -2
  330. package/dist/esm/p-modal-body_4.entry.js +6 -6
  331. package/dist/esm/p-navbar.entry.js +1 -1
  332. package/dist/esm/p-navigation-item.entry.js +3 -3
  333. package/dist/esm/p-navigation-section.entry.js +1 -1
  334. package/dist/esm/p-navigation-title.entry.js +1 -1
  335. package/dist/esm/p-pagination_3.entry.js +8 -8
  336. package/dist/esm/p-profile.entry.js +1 -1
  337. package/dist/esm/p-radio.entry.js +3 -3
  338. package/dist/esm/p-range.entry.js +3 -3
  339. package/dist/esm/p-select.entry.js +2 -2
  340. package/dist/esm/p-smile.entry.js +1 -1
  341. package/dist/esm/p-stepper-item_2.entry.js +5 -5
  342. package/dist/esm/p-tab-container.entry.js +1 -1
  343. package/dist/esm/p-tab-item.entry.js +1 -1
  344. package/dist/esm/p-table.entry.js +2 -2
  345. package/dist/esm/p-toast-container.entry.js +2 -2
  346. package/dist/esm/p-toast.entry.js +1 -1
  347. package/dist/esm/p-toggle.entry.js +3 -3
  348. package/dist/esm/p-tooltip.entry.js +2 -2
  349. package/dist/esm/paperless.js +1 -1
  350. package/dist/index.html +1 -1
  351. package/dist/paperless/{p-d13d8eb9.entry.js → p-06e05b91.entry.js} +1 -1
  352. package/dist/{build/p-2dfbfe7a.entry.js → paperless/p-14df360e.entry.js} +1 -1
  353. package/dist/{build/p-9f3cf82d.entry.js → paperless/p-195e954b.entry.js} +1 -1
  354. package/dist/{build/p-e2219fa7.entry.js → paperless/p-21af7426.entry.js} +1 -1
  355. package/dist/paperless/{p-16c98151.entry.js → p-221357a9.entry.js} +1 -1
  356. package/dist/{build/p-fad5a088.entry.js → paperless/p-2e47c533.entry.js} +1 -1
  357. package/dist/paperless/{p-ad2767f7.entry.js → p-2e8e4b6c.entry.js} +1 -1
  358. package/dist/paperless/{p-cbdf1355.entry.js → p-31167a12.entry.js} +1 -1
  359. package/dist/paperless/p-3203bd08.entry.js +1 -0
  360. package/dist/paperless/{p-a1e69465.entry.js → p-3a857d73.entry.js} +1 -1
  361. package/dist/paperless/{p-90c95664.entry.js → p-3b2b195d.entry.js} +1 -1
  362. package/dist/paperless/{p-35107edb.entry.js → p-3bc3a649.entry.js} +1 -1
  363. package/dist/paperless/{p-fd26cf65.entry.js → p-4060ee8b.entry.js} +1 -1
  364. package/dist/paperless/{p-b992baa0.entry.js → p-44cee1cb.entry.js} +1 -1
  365. package/dist/{build/p-7c01dd27.entry.js → paperless/p-45ce6a54.entry.js} +1 -1
  366. package/dist/{build/p-0892908c.entry.js → paperless/p-507261fa.entry.js} +1 -1
  367. package/dist/paperless/{p-2eb0963d.entry.js → p-50c4d56e.entry.js} +1 -1
  368. package/dist/{build/p-8e3a2fa0.entry.js → paperless/p-54b0790e.entry.js} +1 -1
  369. package/dist/{build/p-b35a687a.entry.js → paperless/p-655fda1a.entry.js} +1 -1
  370. package/dist/paperless/{p-a263c4fe.entry.js → p-7abc21d8.entry.js} +1 -1
  371. package/dist/paperless/{p-18aebae1.entry.js → p-8319c5c8.entry.js} +1 -1
  372. package/dist/paperless/p-832c13bc.entry.js +1 -0
  373. package/dist/paperless/{p-4536b546.entry.js → p-835737f1.entry.js} +1 -1
  374. package/dist/paperless/{p-001e60c3.entry.js → p-90610536.entry.js} +1 -1
  375. package/dist/paperless/p-91dcf7d0.entry.js +1 -0
  376. package/dist/{build/p-7b858cd2.entry.js → paperless/p-938b6c09.entry.js} +1 -1
  377. package/dist/{build/p-bf22285d.entry.js → paperless/p-9a6196a5.entry.js} +1 -1
  378. package/dist/paperless/{p-f6a8012e.entry.js → p-9b28fc94.entry.js} +1 -1
  379. package/dist/paperless/p-9c29695a.entry.js +1 -0
  380. package/dist/{build/p-b4c6d3be.entry.js → paperless/p-ad2650e8.entry.js} +1 -1
  381. package/dist/paperless/{p-e1aaca9c.entry.js → p-b48c0217.entry.js} +1 -1
  382. package/dist/{build/p-e00be7e7.entry.js → paperless/p-b6809b6f.entry.js} +1 -1
  383. package/dist/paperless/{p-b98a72c3.entry.js → p-b8f7c55a.entry.js} +1 -1
  384. package/dist/{build/p-8a2690df.entry.js → paperless/p-b91cdc33.entry.js} +1 -1
  385. package/dist/paperless/{p-0380b299.entry.js → p-b966039d.entry.js} +1 -1
  386. package/dist/paperless/{p-8ed51b6d.entry.js → p-bdda8043.entry.js} +1 -1
  387. package/dist/paperless/{p-8e91039f.entry.js → p-d1cb90b9.entry.js} +1 -1
  388. package/dist/{build/p-e26a497e.entry.js → paperless/p-d58dcb50.entry.js} +1 -1
  389. package/dist/{build/p-0b4b4cf7.entry.js → paperless/p-d614092e.entry.js} +1 -1
  390. package/dist/paperless/{p-2c10ed8a.entry.js → p-dca31554.entry.js} +1 -1
  391. package/dist/paperless/p-e2917e71.entry.js +1 -0
  392. package/dist/{build/p-d4d0d4a7.entry.js → paperless/p-e405fba1.entry.js} +1 -1
  393. package/dist/paperless/p-e6669599.entry.js +1 -0
  394. package/dist/paperless/{p-dbac42ad.entry.js → p-e86238e2.entry.js} +1 -1
  395. package/dist/paperless/{p-0da11431.entry.js → p-f3cbc433.entry.js} +1 -1
  396. package/dist/paperless/{p-e6f986d8.entry.js → p-f5cacfd0.entry.js} +1 -1
  397. package/dist/paperless/{p-afc6498d.entry.js → p-fcff315d.entry.js} +1 -1
  398. package/dist/{build/p-b2cbd111.entry.js → paperless/p-fea58ded.entry.js} +1 -1
  399. package/dist/paperless/{p-87112092.entry.js → p-fedaa9ef.entry.js} +1 -1
  400. package/dist/paperless/paperless.esm.js +1 -1
  401. package/dist/sw.js +1 -1
  402. package/dist/sw.js.map +1 -1
  403. package/dist/types/components/molecules/dropzone/dropzone.component.d.ts +68 -0
  404. package/dist/types/components/molecules/dropzone/dropzone.stories.d.ts +25 -0
  405. package/dist/types/components.d.ts +104 -2
  406. package/hydrate/index.js +352 -144
  407. package/hydrate/index.mjs +352 -144
  408. package/package.json +5 -1
  409. package/dist/build/p-21b62f41.entry.js +0 -1
  410. package/dist/build/p-27613157.entry.js +0 -1
  411. package/dist/build/p-bba808f0.entry.js +0 -1
  412. package/dist/build/p-dd5b5648.js +0 -1
  413. package/dist/build/p-ef2d18cc.entry.js +0 -1
  414. package/dist/build/p-fb18c197.entry.js +0 -1
  415. package/dist/components/p-CNtLMu6c.js +0 -1
  416. package/dist/components/p-CUwpPeVc.js +0 -1
  417. package/dist/components/p-IBTfZiqD.js +0 -1
  418. package/dist/paperless/p-21b62f41.entry.js +0 -1
  419. package/dist/paperless/p-27613157.entry.js +0 -1
  420. package/dist/paperless/p-bba808f0.entry.js +0 -1
  421. package/dist/paperless/p-ef2d18cc.entry.js +0 -1
  422. package/dist/paperless/p-fb18c197.entry.js +0 -1
@@ -0,0 +1,402 @@
1
+ import { h, } from "@stencil/core";
2
+ import { cva } from "class-variance-authority";
3
+ import { ThemedHost } from "../../../internal/themed-host.component";
4
+ import { cn } from "../../../utils";
5
+ const dropzone = cva(['flex w-full flex-col items-center gap-2', 'rounded-lg', 'border', 'p-8'], {
6
+ variants: {
7
+ uploaded: {
8
+ false: 'border-dashed',
9
+ true: 'border-off-white-700',
10
+ },
11
+ isOver: {
12
+ true: 'border-dashed border-indigo-500 bg-indigo-50',
13
+ false: 'border-white-800',
14
+ },
15
+ },
16
+ compoundVariants: [
17
+ {
18
+ uploaded: true,
19
+ isOver: false,
20
+ class: 'border-solid bg-positive-green-50',
21
+ },
22
+ {
23
+ uploaded: false,
24
+ isOver: false,
25
+ class: 'bg-white-600',
26
+ },
27
+ ],
28
+ });
29
+ export class Dropzone {
30
+ /**
31
+ * Icon to show on the dropzone
32
+ */
33
+ icon = 'file-export';
34
+ /**
35
+ * Wether to show the icon or not
36
+ */
37
+ showIcon = true;
38
+ /**
39
+ * The type of files to accept
40
+ */
41
+ acceptGroup = 'any';
42
+ /**
43
+ * The fileID to use to track the file
44
+ */
45
+ fileId;
46
+ /**
47
+ * Wether the attachment is loading
48
+ */
49
+ loading = false;
50
+ /**
51
+ * Allow multiple files
52
+ */
53
+ allowMultiple = true;
54
+ /**
55
+ * Wether the file is uploaded
56
+ */
57
+ uploaded = false;
58
+ /**
59
+ * Event when upload is pressed
60
+ */
61
+ upload;
62
+ /**
63
+ * The host element
64
+ */
65
+ _el;
66
+ _isOver = false;
67
+ _fileRef;
68
+ _filesToProcess = 0;
69
+ _results = [];
70
+ _documentBlocked = false;
71
+ _preventDefault = (ev) => ev.preventDefault();
72
+ componentWillRender() {
73
+ if (!this._isOver && this._documentBlocked) {
74
+ document.removeEventListener('drop', this._preventDefault);
75
+ document.removeEventListener('dragover', this._preventDefault);
76
+ this._documentBlocked = false;
77
+ return;
78
+ }
79
+ if (!this._isOver) {
80
+ return;
81
+ }
82
+ document.addEventListener('drop', this._preventDefault);
83
+ document.addEventListener('dragover', this._preventDefault);
84
+ this._documentBlocked = true;
85
+ }
86
+ render() {
87
+ const hasContent = this._el.innerHTML?.length > 0;
88
+ return (h(ThemedHost, { key: '850603b4fb37087fd8bd7db5f37d9fcb17687fd2' }, h("div", { key: '594badd15df513690f388b021993694ad710e5c6', class: cn(dropzone({
89
+ isOver: this._isOver,
90
+ uploaded: this.uploaded,
91
+ }), {}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (h("p-icon", { key: '10d41c9cd21bcba962c186ed04f48c1abf9c2073', class: cn({
92
+ 'text-storm-300': !this._isOver,
93
+ 'text-indigo-900': this._isOver,
94
+ }), variant: this.icon })), this.loading && h("p-loader", { key: '1c2b811db6711ef9bc4ba54d380f4aff7870ea0b' }), hasContent && h("slot", { key: '2e1ab2124bef07b476a23bfefed446e4ac17c0d2' }), this.uploaded && !this._isOver && (h("div", { key: 'e277e12954fd53100ec6202002c1b495d42ddb8b', class: 'flex items-center gap-2 text-positive-green-800' }, h("p-icon", { key: '68dc24d68232b98aaed2d1a5b1bc38888c7efffb', variant: 'check-circle' }), h("span", { key: 'f8cc3ffc3201efb23cd90d30eb7921e5c597db62', class: 'font-medium' }, "Toegevoegd"))), (!this.uploaded || this._isOver) && (h("div", { key: 'be0dfd5990877b7e914580f3d6c193d48402ab2a', class: cn('flex flex-col text-center', {
95
+ 'opacity-50': this._isOver,
96
+ }) }, h("span", { key: 'f406b49e7b8ec6b4fb01fff011523147714da170', class: 'font-medium' }, "Sleep je bestand hierheen"), h("span", { key: '7656b9d337a582f2e69cf555a4f5c8eaa70e6f51', class: 'font-normal' }, "of klik om te uploaden")))), h("input", { key: '09b2471f370d6140db3bd9359e7c4c7a9237b9dc', accept: this.acceptGroup == 'any' ? '' : 'image/*', class: 'hidden', multiple: this.allowMultiple === true ? true : undefined, ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
97
+ }
98
+ onDrop(ev) {
99
+ const files = this._getFiles(ev);
100
+ if (!files?.length) {
101
+ return;
102
+ }
103
+ this._processFiles(files);
104
+ }
105
+ onDragOver(ev) {
106
+ if (!this._isFilesEvent(ev)) {
107
+ return;
108
+ }
109
+ this._isOver = true;
110
+ }
111
+ onDragLeave() {
112
+ this._isOver = false;
113
+ }
114
+ _isFilesEvent(ev) {
115
+ if (!ev.dataTransfer) {
116
+ return false;
117
+ }
118
+ const files = [...ev.dataTransfer.items].filter(item => item.kind === 'file');
119
+ if (files.length === 0) {
120
+ return false;
121
+ }
122
+ return true;
123
+ }
124
+ _getFiles(ev) {
125
+ if (!this._isFilesEvent(ev)) {
126
+ return;
127
+ }
128
+ const files = ev.dataTransfer?.files ?? [];
129
+ if (files.length === 0) {
130
+ return;
131
+ }
132
+ return [...files];
133
+ }
134
+ _uploadClick() {
135
+ if (!this._fileRef) {
136
+ return;
137
+ }
138
+ this._fileRef.click();
139
+ }
140
+ _onFileChange(ev) {
141
+ const target = ev.target;
142
+ if (!target.files) {
143
+ return;
144
+ }
145
+ const files = [...target.files];
146
+ if (!files?.length) {
147
+ return;
148
+ }
149
+ this._processFiles(files);
150
+ }
151
+ _processFiles(files) {
152
+ this._results = [];
153
+ if (!this.allowMultiple) {
154
+ files = [files[0]];
155
+ }
156
+ this._filesToProcess = files.length;
157
+ for (const file of files) {
158
+ this._processFile(file);
159
+ }
160
+ }
161
+ _processFile(file) {
162
+ this.loading = true;
163
+ const reader = new FileReader();
164
+ reader.addEventListener('load', (e) => this._onLoad(file, e?.currentTarget?.result));
165
+ reader.readAsDataURL(file);
166
+ }
167
+ _onLoad(file, result) {
168
+ this._results.push({
169
+ file,
170
+ result,
171
+ });
172
+ if (this._results?.length < this._filesToProcess) {
173
+ return;
174
+ }
175
+ const data = {
176
+ fileId: this.fileId,
177
+ results: this._results,
178
+ };
179
+ if (this._results.length === 1 || !this.allowMultiple) {
180
+ data.file = this._results[0].file;
181
+ data.result = this._results[0].result;
182
+ }
183
+ this.upload.emit(data);
184
+ if (this._fileRef) {
185
+ this._fileRef.value = '';
186
+ }
187
+ this.loading = false;
188
+ }
189
+ static get is() { return "p-dropzone"; }
190
+ static get encapsulation() { return "shadow"; }
191
+ static get originalStyleUrls() {
192
+ return {
193
+ "$": ["dropzone.component.css"]
194
+ };
195
+ }
196
+ static get styleUrls() {
197
+ return {
198
+ "$": ["dropzone.component.css"]
199
+ };
200
+ }
201
+ static get properties() {
202
+ return {
203
+ "icon": {
204
+ "type": "string",
205
+ "mutable": false,
206
+ "complexType": {
207
+ "original": "IconVariant",
208
+ "resolved": "\"address-book\" | \"alarm\" | \"apple\" | \"arrow\" | \"attachment\" | \"bank\" | \"bell\" | \"bread\" | \"cake\" | \"calculator\" | \"calendar\" | \"calendar-free\" | \"calendar-multi\" | \"calendar-not-free\" | \"camera\" | \"car\" | \"caret\" | \"certified\" | \"chair\" | \"chat\" | \"check-circle\" | \"checkmark\" | \"checkmarkThick\" | \"city\" | \"clock\" | \"companies\" | \"company\" | \"component\" | \"copy\" | \"credit-card\" | \"cross-circle\" | \"cutlery\" | \"department\" | \"description\" | \"diamond\" | \"docter\" | \"document\" | \"double-arrow\" | \"double-caret\" | \"download\" | \"enter-key\" | \"envelope\" | \"error-circle\" | \"euro\" | \"exam\" | \"eye\" | \"eye-closed\" | \"female\" | \"file-export\" | \"file-import\" | \"filter\" | \"flag\" | \"flower\" | \"folder\" | \"globe\" | \"globe-2\" | \"google\" | \"hash\" | \"hat\" | \"headset\" | \"home\" | \"id\" | \"id-two\" | \"ideal\" | \"info-circle\" | \"integration\" | \"key\" | \"lamp\" | \"language\" | \"laptop\" | \"location\" | \"lock\" | \"mail\" | \"male\" | \"math\" | \"medal\" | \"menu\" | \"menu-arrow\" | \"minus\" | \"moon\" | \"more\" | \"negative\" | \"new-tab\" | \"other\" | \"pay\" | \"pdf\" | \"pencil\" | \"percent\" | \"phone\" | \"pie-chart\" | \"piggy-bank\" | \"placeholder\" | \"plus\" | \"power\" | \"question-circle\" | \"receipt\" | \"reset\" | \"running\" | \"scroll\" | \"search\" | \"send\" | \"settings\" | \"shuffle\" | \"sick\" | \"signature\" | \"sparkle\" | \"spinner\" | \"spinning\" | \"stack\" | \"star\" | \"stroller\" | \"tag\" | \"tasks\" | \"tools\" | \"tooth\" | \"train\" | \"trash\" | \"turn\" | \"unlocked\" | \"upload\" | \"user\" | \"users\" | \"warning\" | \"wave\" | \"xls\" | \"zipcode\"",
209
+ "references": {
210
+ "IconVariant": {
211
+ "location": "import",
212
+ "path": "../../../types",
213
+ "id": "src/types/index.ts::IconVariant",
214
+ "referenceLocation": "IconVariant"
215
+ }
216
+ }
217
+ },
218
+ "required": false,
219
+ "optional": false,
220
+ "docs": {
221
+ "tags": [],
222
+ "text": "Icon to show on the dropzone"
223
+ },
224
+ "getter": false,
225
+ "setter": false,
226
+ "reflect": false,
227
+ "attribute": "icon",
228
+ "defaultValue": "'file-export'"
229
+ },
230
+ "showIcon": {
231
+ "type": "boolean",
232
+ "mutable": false,
233
+ "complexType": {
234
+ "original": "boolean",
235
+ "resolved": "boolean",
236
+ "references": {}
237
+ },
238
+ "required": false,
239
+ "optional": false,
240
+ "docs": {
241
+ "tags": [],
242
+ "text": "Wether to show the icon or not"
243
+ },
244
+ "getter": false,
245
+ "setter": false,
246
+ "reflect": false,
247
+ "attribute": "show-icon",
248
+ "defaultValue": "true"
249
+ },
250
+ "acceptGroup": {
251
+ "type": "string",
252
+ "mutable": false,
253
+ "complexType": {
254
+ "original": "'any' | 'images'",
255
+ "resolved": "\"any\" | \"images\"",
256
+ "references": {}
257
+ },
258
+ "required": false,
259
+ "optional": false,
260
+ "docs": {
261
+ "tags": [],
262
+ "text": "The type of files to accept"
263
+ },
264
+ "getter": false,
265
+ "setter": false,
266
+ "reflect": false,
267
+ "attribute": "accept-group",
268
+ "defaultValue": "'any'"
269
+ },
270
+ "fileId": {
271
+ "type": "string",
272
+ "mutable": false,
273
+ "complexType": {
274
+ "original": "string",
275
+ "resolved": "string",
276
+ "references": {}
277
+ },
278
+ "required": false,
279
+ "optional": false,
280
+ "docs": {
281
+ "tags": [],
282
+ "text": "The fileID to use to track the file"
283
+ },
284
+ "getter": false,
285
+ "setter": false,
286
+ "reflect": false,
287
+ "attribute": "file-id"
288
+ },
289
+ "loading": {
290
+ "type": "boolean",
291
+ "mutable": false,
292
+ "complexType": {
293
+ "original": "boolean",
294
+ "resolved": "boolean",
295
+ "references": {}
296
+ },
297
+ "required": false,
298
+ "optional": false,
299
+ "docs": {
300
+ "tags": [],
301
+ "text": "Wether the attachment is loading"
302
+ },
303
+ "getter": false,
304
+ "setter": false,
305
+ "reflect": false,
306
+ "attribute": "loading",
307
+ "defaultValue": "false"
308
+ },
309
+ "allowMultiple": {
310
+ "type": "boolean",
311
+ "mutable": false,
312
+ "complexType": {
313
+ "original": "boolean",
314
+ "resolved": "boolean",
315
+ "references": {}
316
+ },
317
+ "required": false,
318
+ "optional": false,
319
+ "docs": {
320
+ "tags": [],
321
+ "text": "Allow multiple files"
322
+ },
323
+ "getter": false,
324
+ "setter": false,
325
+ "reflect": false,
326
+ "attribute": "allow-multiple",
327
+ "defaultValue": "true"
328
+ },
329
+ "uploaded": {
330
+ "type": "boolean",
331
+ "mutable": false,
332
+ "complexType": {
333
+ "original": "boolean",
334
+ "resolved": "boolean",
335
+ "references": {}
336
+ },
337
+ "required": false,
338
+ "optional": false,
339
+ "docs": {
340
+ "tags": [],
341
+ "text": "Wether the file is uploaded"
342
+ },
343
+ "getter": false,
344
+ "setter": false,
345
+ "reflect": false,
346
+ "attribute": "uploaded",
347
+ "defaultValue": "false"
348
+ }
349
+ };
350
+ }
351
+ static get states() {
352
+ return {
353
+ "_isOver": {}
354
+ };
355
+ }
356
+ static get events() {
357
+ return [{
358
+ "method": "upload",
359
+ "name": "upload",
360
+ "bubbles": false,
361
+ "cancelable": true,
362
+ "composed": true,
363
+ "docs": {
364
+ "tags": [],
365
+ "text": "Event when upload is pressed"
366
+ },
367
+ "complexType": {
368
+ "original": "DropzoneUploadEvent",
369
+ "resolved": "DropzoneUploadEvent",
370
+ "references": {
371
+ "DropzoneUploadEvent": {
372
+ "location": "local",
373
+ "path": "/home/runner/work/Paperless/Paperless/packages/core/src/components/molecules/dropzone/dropzone.component.tsx",
374
+ "id": "src/components/molecules/dropzone/dropzone.component.tsx::DropzoneUploadEvent"
375
+ }
376
+ }
377
+ }
378
+ }];
379
+ }
380
+ static get elementRef() { return "_el"; }
381
+ static get listeners() {
382
+ return [{
383
+ "name": "drop",
384
+ "method": "onDrop",
385
+ "target": undefined,
386
+ "capture": false,
387
+ "passive": true
388
+ }, {
389
+ "name": "dragover",
390
+ "method": "onDragOver",
391
+ "target": undefined,
392
+ "capture": false,
393
+ "passive": true
394
+ }, {
395
+ "name": "dragleave",
396
+ "method": "onDragLeave",
397
+ "target": undefined,
398
+ "capture": false,
399
+ "passive": true
400
+ }];
401
+ }
402
+ }
@@ -0,0 +1,44 @@
1
+ import { action } from "@storybook/addon-actions";
2
+ import { html, nothing } from "lit";
3
+ const meta = {
4
+ title: 'Design System/Molecules/Dropzone',
5
+ component: 'p-dropzone',
6
+ args: {
7
+ content: ''
8
+ },
9
+ argTypes: {
10
+ content: {
11
+ type: 'string',
12
+ },
13
+ },
14
+ };
15
+ export default meta;
16
+ export const Default = {
17
+ render: ({ icon, 'show-icon': showIcon, 'accept-group': acceptGroup, 'file-id': fileId, uploaded, loading, content, 'allow-multiple': allowMultiple, }) => content.length > 0
18
+ ? html `
19
+ <p-dropzone
20
+ icon=${icon ?? nothing}
21
+ show-icon=${showIcon ?? nothing}
22
+ accept-group=${acceptGroup ?? nothing}
23
+ allow-multiple=${allowMultiple ?? nothing}
24
+ file-id=${fileId ?? nothing}
25
+ uploaded=${uploaded ?? nothing}
26
+ loading=${loading ?? nothing}
27
+ @upload=${action('upload')}
28
+ >
29
+ ${content}
30
+ </p-dropzone>
31
+ `
32
+ : html `
33
+ <p-dropzone
34
+ icon=${icon ?? nothing}
35
+ show-icon=${showIcon ?? nothing}
36
+ accept-group=${acceptGroup ?? nothing}
37
+ allow-multiple=${allowMultiple ?? nothing}
38
+ file-id=${fileId ?? nothing}
39
+ uploaded=${uploaded ?? nothing}
40
+ loading=${loading ?? nothing}
41
+ @upload=${action('upload')}
42
+ />
43
+ `,
44
+ };
@@ -59,11 +59,11 @@ export class EmptyState {
59
59
  const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
60
60
  const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
61
61
  const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
62
- return (h(ThemedHost, { key: 'c992e849c678678864c5f9cfec46f3c48c1eb20c' }, h("div", { key: '3cb20168072cb532d3cefb9b955d3e51f673276d', class: emptyState({
62
+ return (h(ThemedHost, { key: '46f56cd16b8fb196bf0386d0eb6e00f4033ace3d' }, h("div", { key: 'b3b10b96f1e3a657b9c76982ef9330dc1909d114', class: emptyState({
63
63
  enableAction: asBoolean(this.enableAction, true),
64
64
  }), onClick: ev => this.enableAction && !this.actionLoading
65
65
  ? this.action.emit(ev)
66
- : undefined }, this.illustration && (h("p-illustration", { key: '79ea83f1d0060efe97457942a8de969f76fcc9b4', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
66
+ : undefined }, this.illustration && (h("p-illustration", { key: '558279ba45c580a607d4227469bf60006e426da1', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
67
67
  (hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
68
68
  }
69
69
  static get is() { return "p-empty-state"; }
@@ -105,27 +105,27 @@ export class FieldContainer {
105
105
  }
106
106
  render() {
107
107
  const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
108
- let contentSlot = (h("slot", { key: 'e795f4695850003f41a5bfb815893affee00e8de', name: 'content', slot: 'trigger' }));
108
+ let contentSlot = (h("slot", { key: '2584c934001e26c03b752112c165dc89f31db007', name: 'content', slot: 'trigger' }));
109
109
  if (this.loading) {
110
- contentSlot = (h("p-loader", { key: '1f65c3ca60cefbf0740c9d7235a18a3e69f1c788', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
110
+ contentSlot = (h("p-loader", { key: 'fe69f220c9021a637ca5bef74868f769222a635d', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
111
111
  }
112
- return (h(ThemedHost, { key: '9b4ab7a1d59cead07a2065b0d6bc72be41d24287' }, h("label", { key: 'ac31d16bdd75b4b236479638efd367f4771627d1', class: cn('flex w-inherit flex-col gap-1', {
112
+ return (h(ThemedHost, { key: 'cbed8c2f71c7be4f1789b3d234aafca4f9f078d9' }, h("label", { key: '41c19529b5282769de686b834e1facfd69a323cf', class: cn('flex w-inherit flex-col gap-1', {
113
113
  'cursor-auto': this.variant === 'read',
114
- }), htmlFor: this.id }, h("div", { key: '512c7c3162d9a40483f5d43d7fbea5635c40b45d', class: cn(`
114
+ }), htmlFor: this.id }, h("div", { key: '44a2fbd0d1024cd153894dd5548d7b4e0f1f4aec', class: cn(`
115
115
  flex items-end justify-between gap-1
116
116
  empty:hidden
117
117
  `, {
118
118
  'flex-row-reverse': this.align === 'end',
119
- }) }, (!!label?.length || !!helper?.length) && (h("div", { key: '77b5887681e6537714b0352a02873a56ab22e304', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: '786e241b3537a05c4bf12f58333d5c10065879c3', class: '\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n ' }, label), helper && (h("p-helper", { key: 'd14700f7a78349ffb1de0a39bcb92ca9833e7f3b', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
120
- hasHeaderSlot) && (h("div", { key: 'a3f63057ac68b62a68cf4d0b31b09039817ea87f', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
119
+ }) }, (!!label?.length || !!helper?.length) && (h("div", { key: '1e7519168574464c867c86f84ecdca2c4e15e460', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: 'ec3649c4a9436d9c54be7929781d1d9a5fc459df', class: '\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n ' }, label), helper && (h("p-helper", { key: '2cc430522904e8df5dcc7fbf40f71d26287b7f0a', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
120
+ hasHeaderSlot) && (h("div", { key: 'f6849a8c420eb3582a7d92d5e6b42bdd4e019a07', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
121
121
  asBoolean(this.showOptional) &&
122
- this.variant === 'write' && (h("span", { key: '6e98ac54bcabfe7b4481b1745b7c25fbc0c1e717', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: 'e4b5a07a66a036c619d0a788c959a3d80af2f58c', name: 'header' })))), h("p-tooltip", { key: 'd482091d838534d3f3e3f177c9f5ccd605e8e519', class: cn({
122
+ this.variant === 'write' && (h("span", { key: '2329447c26577bc481fc46f11b1dcbfceff39f60', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: '09fffde1c42b4b160c455ba73f47d11e1d34dbc5', name: 'header' })))), h("p-tooltip", { key: '26a3e3aa6bb7e3d57ae990ca672e01df493d3f1d', class: cn({
123
123
  'w-full': this.variant === 'write' || this.loading,
124
124
  'ml-auto': this.align === 'end',
125
125
  'font-normal': this.variant === 'read',
126
126
  'text-storm-500 dark:text-white': this.variant === 'read',
127
127
  }), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
128
- asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '45fc720b8771ffca3ce381fcc98c162947aa1e71', name: 'error', slot: 'content' })), contentSlot))));
128
+ asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '5a0ce99a2d3c123566e6417eeec26fe86ce054c6', name: 'error', slot: 'content' })), contentSlot))));
129
129
  }
130
130
  async _setLocales() {
131
131
  this._locales = await getLocaleComponentStrings(this._el);
@@ -371,8 +371,8 @@ export class Field {
371
371
  }
372
372
  render() {
373
373
  const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
374
- return (h(ThemedHost, { key: '693e9a21acbdd989144794387bf0a6a9f37810fc' }, h("p-field-container", { key: '12a6fce14a365fdbb92647637c3d3226cd2037ff', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
375
- (!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: 'a40ed4d8943adae016325f2c82a3c79364543b2e', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '0203bf72c3afc6c0f24c0e15cbf2f7271ca6a5a0', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'ca7d5bc949fb18d20eeebdcb86ed844f61f137c6', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'f4fa21946e61b81a002f96cbc85e4e786562cb87', name: 'error', slot: 'error' })), h("div", { key: '2c12320e5273b0cded4bc0e9e47aa5b2e6ff3f88', class: field({
374
+ return (h(ThemedHost, { key: 'f985e2b3d25ebb7a9e30448fb6663d0b487f47a3' }, h("p-field-container", { key: '358983d8f8f6cb1b53e9e4c607c064fc4a27a9f0', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
375
+ (!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '155d5efc1d951ea2e08076cb58c3ce96e12f0f13', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '9012ea2ac18ebbdc337ef7fc3fc79a36b1c9c720', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'f461db190f2ca1727117e062111e96c6f85728be', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '353b0153551e5e7adb23b19390a4111e0b96d0c4', name: 'error', slot: 'error' })), h("div", { key: '20152561ff55142e43b3b1cbfb151b254f145736', class: field({
376
376
  error: !!this.error?.length,
377
377
  disabled: asBoolean(this.disabled),
378
378
  focused: asBoolean(this.focused) || this._focused,
@@ -383,7 +383,7 @@ export class Field {
383
383
  ? `${this.value}`
384
384
  : undefined }, (this.error?.length ||
385
385
  prefix ||
386
- (this.icon && this.iconPosition === 'start')) && (h("div", { key: '68b8e1d339630c881583ea40fecb9cb414be1537', class: prefixAndSuffix({
386
+ (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'bca5cf5eca02b9291eb710e6c3539e23bb349d96', class: prefixAndSuffix({
387
387
  variant: this.variant,
388
388
  error: !!this.error?.length,
389
389
  disabled: asBoolean(this.disabled),
@@ -395,7 +395,7 @@ export class Field {
395
395
  'mt-1': this.variant === 'read' && this.size === 'base',
396
396
  }), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
397
397
  (this.type === 'password' && this.enablePasswordEye) ||
398
- (this.icon && this.iconPosition === 'end')) && (h("div", { key: '35d35041e9751d701dc74357abe1961d98f12f7e', class: cn(prefixAndSuffix({
398
+ (this.icon && this.iconPosition === 'end')) && (h("div", { key: '0ab5f5a94ff34eeeb76eb94cad88a4895a656bfd', class: cn(prefixAndSuffix({
399
399
  variant: this.variant,
400
400
  error: !!this.error?.length,
401
401
  disabled: asBoolean(this.disabled),
@@ -75,17 +75,17 @@ export class Label {
75
75
  */
76
76
  keepMobileContent = false;
77
77
  render() {
78
- return (h(ThemedHost, { key: '104ee5d95a9a998e9ff5d50a0319db1131dd49a9' }, h("div", { key: 'd0d2d11eab222b5183d5a835b3bd2fb195295552', class: label({
78
+ return (h(ThemedHost, { key: '2dcb1d9bafb86433ad4bc24a7f1947ca52656056' }, h("div", { key: 'ce580094967f042bef6aef229b393709f0993c34', class: label({
79
79
  variant: this.variant,
80
80
  iconOnly: this.iconOnly,
81
81
  keepMobileContent: this.keepMobileContent,
82
- }) }, this.icon && (h("p-icon", { key: '920c633b134bfca8b0643e8a8174bf66aa7066de', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (h("div", { key: 'a178ec5c8f8543cd6b2f746cff170e43be54ff04', class: cn(`
82
+ }) }, this.icon && (h("p-icon", { key: '450bf31eec5f09c5b326f7819841f9b6dc155993', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (h("div", { key: '825b6996bba84ffeb67dd8f4cfb114b0034599bf', class: cn(`
83
83
  flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
84
84
  font-medium
85
85
  `, {
86
86
  hidden: !this.keepMobileContent,
87
87
  'desktop-xs:block': !this.keepMobileContent,
88
- }) }, h("slot", { key: 'd8ef0efd720dbb24690ef5b354277eb84ede8921' }))))));
88
+ }) }, h("slot", { key: '6d71814586719b1b7898d5f46033a8d46ed63974' }))))));
89
89
  }
90
90
  static get is() { return "p-label"; }
91
91
  static get encapsulation() { return "shadow"; }
@@ -88,13 +88,13 @@ export class NavigationItem {
88
88
  render() {
89
89
  const TagType = this.as;
90
90
  const active = asBoolean(this.active) || this.class?.includes('active');
91
- return (h(ThemedHost, { key: 'df75595509e2f081dbc13a244a77c07293d67bc1', class: cn('inline-block', this.class) }, h(TagType, { key: 'f6ad06191bdb4049387e1235a3a303718d8f6cc7', class: navigationItem({
91
+ return (h(ThemedHost, { key: 'af5ecc5d5485b1bbfb172794409d05e51c267a1b', class: cn('inline-block', this.class) }, h(TagType, { key: 'c88091c7b839ba181d22bff95978263443986d01', class: navigationItem({
92
92
  icon: !!this.icon,
93
93
  active,
94
- }), href: this.href, target: this.target }, h("div", { key: '147abbbc9e2c6508a66081ead4cea2aa797a9240', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '2f1fd8c183e2f527fcb37aed28da145d81ed1c89', variant: this.icon })), h("span", { key: 'ae75ec4ac9c43bbb0cd620dcdf42dbc62631825e', class: cn({
94
+ }), href: this.href, target: this.target }, h("div", { key: '75572668b903ffacd852c765415b20deba35d4fa', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'f5499b9eb148820f73109400aa4b9d6dd29e134d', variant: this.icon })), h("span", { key: '1ee78ad5c09e916baced632233ffcc5dd8ef8347', class: cn({
95
95
  'has-counter': !!this.counter,
96
96
  'w-full': this.applyFullWidth,
97
- }) }, h("slot", { key: '0e92ba5694d3632367d37514bc72d9c7cbfa2a33' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '4046f6ab8a1a4c3c985c2f0a5d8cccafc562f3df' }, this.counter)), !!this.loading && h("p-loader", { key: '5ab0e3decd808a160bdc233835d91b505f3ad8b8', class: 'ml-auto' }))));
97
+ }) }, h("slot", { key: '6c39a2140f511209e6e48fcc6a8eec2c02f36610' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '46c7a53003e7e80737a82f00e82bf95bf294234a' }, this.counter)), !!this.loading && h("p-loader", { key: 'a9b88ff904559ce15a7f29020a714760e3183cd9', class: 'ml-auto' }))));
98
98
  }
99
99
  static get is() { return "p-navigation-item"; }
100
100
  static get encapsulation() { return "scoped"; }
@@ -6,7 +6,7 @@ export class NavigationSection {
6
6
  */
7
7
  header;
8
8
  render() {
9
- return (h(ThemedHost, { key: 'd8d654a28420f399fba691f0a7acd8499e5ba7b2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '5e86faa0ea3bf13688086a881a6ab4a711fa0bd9' }, this.header)), h("div", { key: 'b78ef9a9c4e2493fcf80e1bb5a53fae31a449109', class: 'flex flex-col' }, h("slot", { key: '083951f8e74e0b70ef2102e523f9ed7e6f18e097' }))));
9
+ return (h(ThemedHost, { key: 'adc4546240455e2a90f355a85d26a29ec7e3b6f2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '8510c67a883e4973b9261ee63f7ef148cdbaedd4' }, this.header)), h("div", { key: '23b9cfcc54e590d5378ebd61fba0851e95ecc697', class: 'flex flex-col' }, h("slot", { key: '01521755f498890b3abf3adcdd30cf71e9ed8629' }))));
10
10
  }
11
11
  static get is() { return "p-navigation-section"; }
12
12
  static get originalStyleUrls() {
@@ -61,7 +61,7 @@ export class PaginationPages {
61
61
  this._generate();
62
62
  }
63
63
  render() {
64
- return (h(ThemedHost, { key: '5320ff0fd0f44f422fda718e796b46d02c38d5aa' }, h("div", { key: 'e459750f29cc6e773478ff5aec76c8f19865069b', class: pagination({
64
+ return (h(ThemedHost, { key: '3c3bdfce0f2956d896456498d5e1d82f727068c8' }, h("div", { key: 'b489b3ea0d740554fbe17d5cba60824bf7bcfc15', class: pagination({
65
65
  hidden: this.hideOnSinglePage && this._set?.length === 3,
66
66
  }) }, this._set?.map(p => {
67
67
  if (p.type === 'previous' || p.type === 'next') {
@@ -60,12 +60,12 @@ export class Pagination {
60
60
  _hasPaginationPages = true;
61
61
  render() {
62
62
  const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
63
- return (h(ThemedHost, { key: '3f1b6ea1ac6b1ddae922000ee90b9796287de51b' }, h("div", { key: '28561b81a9717cfc6ed3301215f47962349fccd2', class: pagination({
63
+ return (h(ThemedHost, { key: '611fb4062cf7c6cd78adf2744d7694615fa8d502' }, h("div", { key: '80ebed4ee0978c78ecee629d08f7ca026e395349', class: pagination({
64
64
  hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
65
65
  (!this.enablePaginationSize && !this.enablePaginationPages),
66
- }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: 'b4523497dc4e2c988df6a3ae71cb240b54e17d75' }, h("p-pagination-size", { key: '01b5b234b713ecfcd2cf8910079f00614eb0fbbe', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
66
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '81ffbba6758be70cb681d1b778365c1f83122048' }, h("p-pagination-size", { key: 'ede0a33d15261777f8d99ce866dedb3af3d63c86', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
67
67
  this.hideOnSinglePage &&
68
- this._hasPaginationPages && (h("p-divider", { key: '7a8cfa9e69ae898cf2f2c25b4fffde7506fcc523', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'd8d7a7bce55b5958be33b51f175bd34b7f3c6ede', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
68
+ this._hasPaginationPages && (h("p-divider", { key: '8d9956dd7d2277ea8849003e31ce2000eb88db7d', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'c39df7ebd431fbcfa82eb847ff1c9a52acfc7b41', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
69
69
  this._hasPaginationPages = detail > 1;
70
70
  this.pagesChange.emit(detail);
71
71
  } })))));