@paperless/core 3.19.6 → 3.21.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 (426) hide show
  1. package/dist/build/{p-369e2594.entry.js → p-020124fe.entry.js} +1 -1
  2. package/dist/build/p-0cf2c5f5.entry.js +1 -0
  3. package/dist/{paperless/p-c6056657.entry.js → build/p-1b50f01d.entry.js} +1 -1
  4. package/dist/{paperless/p-344ab157.entry.js → build/p-25842006.entry.js} +1 -1
  5. package/dist/build/{p-a68a2ee8.entry.js → p-280c1727.entry.js} +1 -1
  6. package/dist/build/{p-5e4343f3.entry.js → p-2ce0c175.entry.js} +1 -1
  7. package/dist/build/{p-5ad24b03.entry.js → p-2e53d921.entry.js} +1 -1
  8. package/dist/build/{p-743b47cb.entry.js → p-2ebc600b.entry.js} +1 -1
  9. package/dist/build/{p-cfb68485.entry.js → p-2f4efe8a.entry.js} +1 -1
  10. package/dist/{paperless/p-be576419.entry.js → build/p-34ec6b9b.entry.js} +1 -1
  11. package/dist/build/{p-bdda2ffc.entry.js → p-38056598.entry.js} +1 -1
  12. package/dist/build/{p-3fb95d2b.entry.js → p-3b34c822.entry.js} +1 -1
  13. package/dist/{paperless/p-0cea7ced.entry.js → build/p-3efce878.entry.js} +1 -1
  14. package/dist/build/{p-3286b52f.entry.js → p-44d6468b.entry.js} +1 -1
  15. package/dist/{paperless/p-a00541cc.entry.js → build/p-45b9a446.entry.js} +1 -1
  16. package/dist/{paperless/p-11d65b3d.entry.js → build/p-477801df.entry.js} +1 -1
  17. package/dist/build/{p-2907111a.entry.js → p-4851ac96.entry.js} +1 -1
  18. package/dist/build/{p-a1a4a39e.entry.js → p-48be5f53.entry.js} +1 -1
  19. package/dist/build/p-4b7ac676.entry.js +1 -0
  20. package/dist/{paperless/p-9a9f0cd0.entry.js → build/p-4cd8035a.entry.js} +1 -1
  21. package/dist/build/{p-3376af98.entry.js → p-501f2f7c.entry.js} +1 -1
  22. package/dist/build/{p-e3e43848.entry.js → p-561a4d56.entry.js} +1 -1
  23. package/dist/build/{p-e1a16ec5.entry.js → p-56ceed87.entry.js} +1 -1
  24. package/dist/build/{p-791d33e5.entry.js → p-5c08054f.entry.js} +1 -1
  25. package/dist/build/p-5c8c35cf.js +1 -0
  26. package/dist/build/{p-e04a3cb9.entry.js → p-5d58a880.entry.js} +1 -1
  27. package/dist/build/{p-963e456e.entry.js → p-688afaf3.entry.js} +1 -1
  28. package/dist/build/p-70071176.entry.js +1 -0
  29. package/dist/build/{p-043b91f5.entry.js → p-749752fa.entry.js} +1 -1
  30. package/dist/{paperless/p-47bdfa0d.entry.js → build/p-78244c70.entry.js} +1 -1
  31. package/dist/{paperless/p-fae76adf.entry.js → build/p-8ae7f9fd.entry.js} +1 -1
  32. package/dist/build/{p-9c440af8.entry.js → p-9079dcb7.entry.js} +1 -1
  33. package/dist/{paperless/p-cb9baef3.entry.js → build/p-91686988.entry.js} +1 -1
  34. package/dist/build/p-92259edb.entry.js +1 -0
  35. package/dist/{paperless/p-2e61871a.entry.js → build/p-9ac5f80b.entry.js} +1 -1
  36. package/dist/{paperless/p-bec66e8f.entry.js → build/p-a4957083.entry.js} +1 -1
  37. package/dist/build/{p-d60067bc.entry.js → p-af9fc40a.entry.js} +1 -1
  38. package/dist/{paperless/p-9232a310.entry.js → build/p-b005f182.entry.js} +1 -1
  39. package/dist/{paperless/p-fca492f6.entry.js → build/p-b1a372fc.entry.js} +1 -1
  40. package/dist/build/{p-7fa2bbee.entry.js → p-b1e6c746.entry.js} +1 -1
  41. package/dist/{paperless/p-88fd696b.entry.js → build/p-b316ecff.entry.js} +1 -1
  42. package/dist/build/{p-2e850d9d.entry.js → p-b8caedf6.entry.js} +1 -1
  43. package/dist/{paperless/p-7afccf96.entry.js → build/p-bdfaa7bc.entry.js} +1 -1
  44. package/dist/{paperless/p-a001874d.entry.js → build/p-c9b79bd8.entry.js} +1 -1
  45. package/dist/build/{p-41326183.entry.js → p-ce15940f.entry.js} +1 -1
  46. package/dist/{paperless/p-34b81a42.entry.js → build/p-d2ff359e.entry.js} +1 -1
  47. package/dist/{paperless/p-66eaca48.entry.js → build/p-d5365ce3.entry.js} +1 -1
  48. package/dist/{paperless/p-0aa7e5d2.entry.js → build/p-e20e6aa3.entry.js} +1 -1
  49. package/dist/build/{p-8edbbfd4.entry.js → p-e922cb1f.entry.js} +1 -1
  50. package/dist/build/p-f16cc0f5.entry.js +1 -0
  51. package/dist/build/{p-186454b1.entry.js → p-f18a511c.entry.js} +1 -1
  52. package/dist/build/paperless.esm.js +1 -1
  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 +50 -7
  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 +5 -5
  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-layout.cjs.entry.js +1 -1
  80. package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
  81. package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
  82. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  83. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  84. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  85. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  86. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  87. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  88. package/dist/cjs/p-pagination_3.cjs.entry.js +8 -8
  89. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  90. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  91. package/dist/cjs/p-range.cjs.entry.js +3 -3
  92. package/dist/cjs/p-select.cjs.entry.js +2 -2
  93. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  94. package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
  95. package/dist/cjs/p-submenu-item.cjs.entry.js +3 -3
  96. package/dist/cjs/p-submenu.cjs.entry.js +9 -9
  97. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  98. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  99. package/dist/cjs/p-table.cjs.entry.js +2 -2
  100. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  101. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  102. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  103. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  104. package/dist/cjs/paperless.cjs.js +1 -1
  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/button.component.css +1 -1
  150. package/dist/collection/components/molecules/button/button.component.js +80 -5
  151. package/dist/collection/components/molecules/button/button.stories.js +2 -1
  152. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  153. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  154. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  155. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  156. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  157. package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
  158. package/dist/collection/components/molecules/dropzone/dropzone.component.js +5 -5
  159. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  160. package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
  161. package/dist/collection/components/molecules/field/field/field.component.js +4 -4
  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/submenu/item/submenu-item.component.js +3 -3
  171. package/dist/collection/components/molecules/submenu/menu/submenu.component.js +9 -9
  172. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  173. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  174. package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
  175. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  176. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  177. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  178. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  179. package/dist/collection/components/organisms/table/table.component.js +2 -2
  180. package/dist/components/{p-p7QZcgoc.js → p--IPayxyw.js} +1 -1
  181. package/dist/components/{p-C-ljhNrW.js → p--_gjJpd8.js} +1 -1
  182. package/dist/components/{p-CEcyKdij.js → p-1qs8jjR4.js} +1 -1
  183. package/dist/components/{p-C3fzR817.js → p-2ZtgmKa1.js} +1 -1
  184. package/dist/components/{p-DU-stXqd.js → p-4-EYCe-6.js} +1 -1
  185. package/dist/components/{p-D_ZHRLtg.js → p-6MuaM5f1.js} +1 -1
  186. package/dist/components/{p-C9B5DTYx.js → p-B-yfQWzc.js} +1 -1
  187. package/dist/components/{p-Da9Ao_Ve.js → p-B3Q_nqZE.js} +1 -1
  188. package/dist/components/{p-1HCkK9Pf.js → p-B6PqwbBc.js} +1 -1
  189. package/dist/components/{p-DHzp47zt.js → p-B8W33zQW.js} +1 -1
  190. package/dist/components/{p-Dz2_k8-X.js → p-BBlYsP5p.js} +1 -1
  191. package/dist/components/{p-BH6HgTxH.js → p-BJFfno38.js} +1 -1
  192. package/dist/components/{p-BXFIt2yS.js → p-BZc0i1uc.js} +1 -1
  193. package/dist/components/{p-tM-Y5Y8G.js → p-Be35LfMz.js} +1 -1
  194. package/dist/components/{p-BZID5_mv.js → p-Bj7N0A2r.js} +1 -1
  195. package/dist/components/{p-wQxTl8yW.js → p-BkI69RMv.js} +1 -1
  196. package/dist/components/{p-Hk7avBWN.js → p-BksolHpY.js} +1 -1
  197. package/dist/components/{p-mLlgASil.js → p-CB2IGEg2.js} +1 -1
  198. package/dist/components/{p-BANLejQ8.js → p-CJ7I5BCS.js} +1 -1
  199. package/dist/components/{p-C1Z78Vu0.js → p-CQo1Di0o.js} +1 -1
  200. package/dist/components/{p-DHJ6_2xS.js → p-CTC-N56p.js} +1 -1
  201. package/dist/components/{p-BNMkjAgS.js → p-CUQydYt5.js} +1 -1
  202. package/dist/components/{p-C9T2Zn4W.js → p-CaTrUaah.js} +1 -1
  203. package/dist/components/{p-D5P9pJhK.js → p-Cm3IhOw8.js} +1 -1
  204. package/dist/components/{p-cFwgScsa.js → p-Cqgqmavc.js} +1 -1
  205. package/dist/components/{p-BdzBKuLb.js → p-CwJ2_mhc.js} +1 -1
  206. package/dist/components/{p-BwA3E_K4.js → p-D0469rhA.js} +1 -1
  207. package/dist/components/p-D0uXSAIf.js +1 -0
  208. package/dist/components/{p-D4W7oN7G.js → p-D6rfaiEd.js} +1 -1
  209. package/dist/components/{p-BAQuP-An.js → p-D99OtFbo.js} +1 -1
  210. package/dist/components/{p-BPoPHj4v.js → p-DAW84I1p.js} +1 -1
  211. package/dist/components/{p-ChrBlvNY.js → p-DGlTaRG3.js} +1 -1
  212. package/dist/components/{p-B-hJzwTL.js → p-DZjtEarb.js} +1 -1
  213. package/dist/components/{p-a_De3Rd1.js → p-DfVHhJmL.js} +1 -1
  214. package/dist/components/{p-CtnPrlBW.js → p-DixhvrFt.js} +1 -1
  215. package/dist/components/{p-POJeD79-.js → p-Dn13oSNs.js} +1 -1
  216. package/dist/components/{p-DY2oKnxw.js → p-Dym6aWEt.js} +1 -1
  217. package/dist/components/p-Dz-zNYo3.js +1 -0
  218. package/dist/components/{p-BRDvNH4S.js → p-QS4cO7vO.js} +1 -1
  219. package/dist/components/{p-D3wJam1N.js → p-ZSDx-Rn0.js} +1 -1
  220. package/dist/components/p-accordion.js +1 -1
  221. package/dist/components/p-attachment.js +1 -1
  222. package/dist/components/p-avatar-group.js +1 -1
  223. package/dist/components/p-avatar.js +1 -1
  224. package/dist/components/{p-DGU1kzxy.js → p-b-B7eMG-.js} +1 -1
  225. package/dist/components/{p-C7rLlb8m.js → p-bTOCGgU2.js} +1 -1
  226. package/dist/components/p-backdrop.js +1 -1
  227. package/dist/components/p-badge.js +1 -1
  228. package/dist/components/p-button-group.js +1 -1
  229. package/dist/components/p-button.js +1 -1
  230. package/dist/components/p-calendar.js +1 -1
  231. package/dist/components/p-card-body.js +1 -1
  232. package/dist/components/p-card-container.js +1 -1
  233. package/dist/components/p-card-header.js +1 -1
  234. package/dist/components/p-checkbox.js +1 -1
  235. package/dist/components/p-content-slider.js +1 -1
  236. package/dist/components/p-cropper.js +2 -2
  237. package/dist/components/p-datepicker.js +1 -1
  238. package/dist/components/p-divider.js +1 -1
  239. package/dist/components/p-drawer-body.js +1 -1
  240. package/dist/components/p-drawer-container.js +1 -1
  241. package/dist/components/p-drawer-header.js +1 -1
  242. package/dist/components/p-drawer.js +1 -1
  243. package/dist/components/p-dropdown-menu-container.js +1 -1
  244. package/dist/components/p-dropdown-menu-item.js +1 -1
  245. package/dist/components/p-dropdown.js +1 -1
  246. package/dist/components/p-dropzone.js +1 -1
  247. package/dist/components/p-empty-state.js +1 -1
  248. package/dist/components/p-field-container.js +1 -1
  249. package/dist/components/p-field.js +1 -1
  250. package/dist/components/p-floating-menu-container.js +1 -1
  251. package/dist/components/p-floating-menu-item.js +1 -1
  252. package/dist/components/p-helper.js +1 -1
  253. package/dist/components/p-icon.js +1 -1
  254. package/dist/components/p-illustration.js +1 -1
  255. package/dist/components/p-info-panel.js +1 -1
  256. package/dist/components/p-label.js +1 -1
  257. package/dist/components/p-layout.js +1 -1
  258. package/dist/components/p-listing-item.js +1 -1
  259. package/dist/components/p-listing-line.js +1 -1
  260. package/dist/components/p-listing.js +1 -1
  261. package/dist/components/p-modal-body.js +1 -1
  262. package/dist/components/p-modal-container.js +1 -1
  263. package/dist/components/p-modal-footer.js +1 -1
  264. package/dist/components/p-modal-header.js +1 -1
  265. package/dist/components/p-modal.js +1 -1
  266. package/dist/components/p-navbar.js +1 -1
  267. package/dist/components/p-navigation-item.js +1 -1
  268. package/dist/components/p-navigation-section.js +1 -1
  269. package/dist/components/p-navigation-title.js +1 -1
  270. package/dist/components/p-pagination-pages-item.js +1 -1
  271. package/dist/components/p-pagination-pages.js +1 -1
  272. package/dist/components/p-pagination-size.js +1 -1
  273. package/dist/components/p-pagination.js +1 -1
  274. package/dist/components/p-profile.js +1 -1
  275. package/dist/components/p-radio.js +1 -1
  276. package/dist/components/p-range.js +1 -1
  277. package/dist/components/p-segment-container.js +1 -1
  278. package/dist/components/p-segment-item.js +1 -1
  279. package/dist/components/p-select.js +1 -1
  280. package/dist/components/p-smile.js +1 -1
  281. package/dist/components/p-stepper-item.js +1 -1
  282. package/dist/components/p-stepper-line.js +1 -1
  283. package/dist/components/p-stepper.js +1 -1
  284. package/dist/components/p-submenu-item.js +1 -1
  285. package/dist/components/p-submenu.js +1 -1
  286. package/dist/components/p-tab-container.js +1 -1
  287. package/dist/components/p-tab-item.js +1 -1
  288. package/dist/components/p-table-cell.js +1 -1
  289. package/dist/components/p-table-container.js +1 -1
  290. package/dist/components/p-table-footer.js +1 -1
  291. package/dist/components/p-table-header.js +1 -1
  292. package/dist/components/p-table-row-actions-container.js +1 -1
  293. package/dist/components/p-table-row.js +1 -1
  294. package/dist/components/p-table.js +1 -1
  295. package/dist/components/p-toast-container.js +1 -1
  296. package/dist/components/p-toast.js +1 -1
  297. package/dist/components/p-toggle.js +1 -1
  298. package/dist/components/p-tooltip.js +1 -1
  299. package/dist/components/{p-DlYs-VL_.js → p-uv3MMCr1.js} +1 -1
  300. package/dist/components/{p-Sl3w6Zuw.js → p-wffF3kVy.js} +1 -1
  301. package/dist/components/{p-B-YBFRbB.js → p-yYRVYWXO.js} +1 -1
  302. package/dist/esm/loader.js +1 -1
  303. package/dist/esm/p-accordion.entry.js +2 -2
  304. package/dist/esm/p-attachment.entry.js +8 -8
  305. package/dist/esm/p-avatar-group.entry.js +1 -1
  306. package/dist/esm/p-avatar.entry.js +1 -1
  307. package/dist/esm/p-backdrop.entry.js +3 -3
  308. package/dist/esm/p-badge_3.entry.js +4 -4
  309. package/dist/esm/p-button-group.entry.js +1 -1
  310. package/dist/esm/p-button_3.entry.js +50 -7
  311. package/dist/esm/p-calendar.entry.js +1 -1
  312. package/dist/esm/p-card-body.entry.js +1 -1
  313. package/dist/esm/p-card-container.entry.js +2 -2
  314. package/dist/esm/p-card-header.entry.js +3 -3
  315. package/dist/esm/p-checkbox_3.entry.js +9 -9
  316. package/dist/esm/p-content-slider.entry.js +2 -2
  317. package/dist/esm/p-cropper.entry.js +1 -1
  318. package/dist/esm/p-datepicker.entry.js +2 -2
  319. package/dist/esm/p-divider.entry.js +2 -2
  320. package/dist/esm/p-drawer-body_3.entry.js +4 -4
  321. package/dist/esm/p-dropdown-menu-item_2.entry.js +5 -5
  322. package/dist/esm/p-dropzone.entry.js +5 -5
  323. package/dist/esm/p-empty-state_8.entry.js +18 -18
  324. package/dist/esm/p-field_3.entry.js +13 -13
  325. package/dist/esm/p-floating-menu-item.entry.js +2 -2
  326. package/dist/esm/p-illustration.entry.js +1 -1
  327. package/dist/esm/p-info-panel.entry.js +2 -2
  328. package/dist/esm/p-layout.entry.js +1 -1
  329. package/dist/esm/p-listing-item.entry.js +1 -1
  330. package/dist/esm/p-listing-line.entry.js +1 -1
  331. package/dist/esm/p-listing.entry.js +2 -2
  332. package/dist/esm/p-modal-body_4.entry.js +6 -6
  333. package/dist/esm/p-navbar.entry.js +1 -1
  334. package/dist/esm/p-navigation-item.entry.js +3 -3
  335. package/dist/esm/p-navigation-section.entry.js +1 -1
  336. package/dist/esm/p-navigation-title.entry.js +1 -1
  337. package/dist/esm/p-pagination_3.entry.js +8 -8
  338. package/dist/esm/p-profile.entry.js +1 -1
  339. package/dist/esm/p-radio.entry.js +3 -3
  340. package/dist/esm/p-range.entry.js +3 -3
  341. package/dist/esm/p-select.entry.js +2 -2
  342. package/dist/esm/p-smile.entry.js +1 -1
  343. package/dist/esm/p-stepper-item_2.entry.js +5 -5
  344. package/dist/esm/p-submenu-item.entry.js +3 -3
  345. package/dist/esm/p-submenu.entry.js +9 -9
  346. package/dist/esm/p-tab-container.entry.js +1 -1
  347. package/dist/esm/p-tab-item.entry.js +1 -1
  348. package/dist/esm/p-table.entry.js +2 -2
  349. package/dist/esm/p-toast-container.entry.js +2 -2
  350. package/dist/esm/p-toast.entry.js +1 -1
  351. package/dist/esm/p-toggle.entry.js +3 -3
  352. package/dist/esm/p-tooltip.entry.js +2 -2
  353. package/dist/esm/paperless.js +1 -1
  354. package/dist/index.html +1 -1
  355. package/dist/paperless/{p-369e2594.entry.js → p-020124fe.entry.js} +1 -1
  356. package/dist/paperless/p-0cf2c5f5.entry.js +1 -0
  357. package/dist/{build/p-c6056657.entry.js → paperless/p-1b50f01d.entry.js} +1 -1
  358. package/dist/{build/p-344ab157.entry.js → paperless/p-25842006.entry.js} +1 -1
  359. package/dist/paperless/{p-a68a2ee8.entry.js → p-280c1727.entry.js} +1 -1
  360. package/dist/paperless/{p-5e4343f3.entry.js → p-2ce0c175.entry.js} +1 -1
  361. package/dist/paperless/{p-5ad24b03.entry.js → p-2e53d921.entry.js} +1 -1
  362. package/dist/paperless/{p-743b47cb.entry.js → p-2ebc600b.entry.js} +1 -1
  363. package/dist/paperless/{p-cfb68485.entry.js → p-2f4efe8a.entry.js} +1 -1
  364. package/dist/{build/p-be576419.entry.js → paperless/p-34ec6b9b.entry.js} +1 -1
  365. package/dist/paperless/{p-bdda2ffc.entry.js → p-38056598.entry.js} +1 -1
  366. package/dist/paperless/{p-3fb95d2b.entry.js → p-3b34c822.entry.js} +1 -1
  367. package/dist/{build/p-0cea7ced.entry.js → paperless/p-3efce878.entry.js} +1 -1
  368. package/dist/paperless/{p-3286b52f.entry.js → p-44d6468b.entry.js} +1 -1
  369. package/dist/{build/p-a00541cc.entry.js → paperless/p-45b9a446.entry.js} +1 -1
  370. package/dist/{build/p-11d65b3d.entry.js → paperless/p-477801df.entry.js} +1 -1
  371. package/dist/paperless/{p-2907111a.entry.js → p-4851ac96.entry.js} +1 -1
  372. package/dist/paperless/{p-a1a4a39e.entry.js → p-48be5f53.entry.js} +1 -1
  373. package/dist/paperless/p-4b7ac676.entry.js +1 -0
  374. package/dist/{build/p-9a9f0cd0.entry.js → paperless/p-4cd8035a.entry.js} +1 -1
  375. package/dist/paperless/{p-3376af98.entry.js → p-501f2f7c.entry.js} +1 -1
  376. package/dist/paperless/{p-e3e43848.entry.js → p-561a4d56.entry.js} +1 -1
  377. package/dist/paperless/{p-e1a16ec5.entry.js → p-56ceed87.entry.js} +1 -1
  378. package/dist/paperless/{p-791d33e5.entry.js → p-5c08054f.entry.js} +1 -1
  379. package/dist/paperless/{p-e04a3cb9.entry.js → p-5d58a880.entry.js} +1 -1
  380. package/dist/paperless/{p-963e456e.entry.js → p-688afaf3.entry.js} +1 -1
  381. package/dist/paperless/p-70071176.entry.js +1 -0
  382. package/dist/paperless/{p-043b91f5.entry.js → p-749752fa.entry.js} +1 -1
  383. package/dist/{build/p-47bdfa0d.entry.js → paperless/p-78244c70.entry.js} +1 -1
  384. package/dist/{build/p-fae76adf.entry.js → paperless/p-8ae7f9fd.entry.js} +1 -1
  385. package/dist/paperless/{p-9c440af8.entry.js → p-9079dcb7.entry.js} +1 -1
  386. package/dist/{build/p-cb9baef3.entry.js → paperless/p-91686988.entry.js} +1 -1
  387. package/dist/paperless/p-92259edb.entry.js +1 -0
  388. package/dist/{build/p-2e61871a.entry.js → paperless/p-9ac5f80b.entry.js} +1 -1
  389. package/dist/{build/p-bec66e8f.entry.js → paperless/p-a4957083.entry.js} +1 -1
  390. package/dist/paperless/{p-d60067bc.entry.js → p-af9fc40a.entry.js} +1 -1
  391. package/dist/{build/p-9232a310.entry.js → paperless/p-b005f182.entry.js} +1 -1
  392. package/dist/{build/p-fca492f6.entry.js → paperless/p-b1a372fc.entry.js} +1 -1
  393. package/dist/paperless/{p-7fa2bbee.entry.js → p-b1e6c746.entry.js} +1 -1
  394. package/dist/{build/p-88fd696b.entry.js → paperless/p-b316ecff.entry.js} +1 -1
  395. package/dist/paperless/{p-2e850d9d.entry.js → p-b8caedf6.entry.js} +1 -1
  396. package/dist/{build/p-7afccf96.entry.js → paperless/p-bdfaa7bc.entry.js} +1 -1
  397. package/dist/{build/p-a001874d.entry.js → paperless/p-c9b79bd8.entry.js} +1 -1
  398. package/dist/paperless/{p-41326183.entry.js → p-ce15940f.entry.js} +1 -1
  399. package/dist/{build/p-34b81a42.entry.js → paperless/p-d2ff359e.entry.js} +1 -1
  400. package/dist/{build/p-66eaca48.entry.js → paperless/p-d5365ce3.entry.js} +1 -1
  401. package/dist/{build/p-0aa7e5d2.entry.js → paperless/p-e20e6aa3.entry.js} +1 -1
  402. package/dist/paperless/{p-8edbbfd4.entry.js → p-e922cb1f.entry.js} +1 -1
  403. package/dist/paperless/p-f16cc0f5.entry.js +1 -0
  404. package/dist/paperless/{p-186454b1.entry.js → p-f18a511c.entry.js} +1 -1
  405. package/dist/paperless/paperless.esm.js +1 -1
  406. package/dist/sw.js +1 -1
  407. package/dist/sw.js.map +1 -1
  408. package/dist/types/components/molecules/button/button.component.d.ts +8 -0
  409. package/dist/types/components/molecules/button/button.stories.d.ts +2 -1
  410. package/dist/types/components.d.ts +10 -0
  411. package/hydrate/index.js +210 -166
  412. package/hydrate/index.mjs +210 -166
  413. package/package.json +1 -1
  414. package/dist/build/p-7fb843e7.entry.js +0 -1
  415. package/dist/build/p-871936f2.js +0 -1
  416. package/dist/build/p-9c4c942e.entry.js +0 -1
  417. package/dist/build/p-e13fb7aa.entry.js +0 -1
  418. package/dist/build/p-f6dd0790.entry.js +0 -1
  419. package/dist/build/p-faad66c1.entry.js +0 -1
  420. package/dist/components/p-GYxEYTaZ.js +0 -1
  421. package/dist/components/p-GogOpDaV.js +0 -1
  422. package/dist/paperless/p-7fb843e7.entry.js +0 -1
  423. package/dist/paperless/p-9c4c942e.entry.js +0 -1
  424. package/dist/paperless/p-e13fb7aa.entry.js +0 -1
  425. package/dist/paperless/p-f6dd0790.entry.js +0 -1
  426. package/dist/paperless/p-faad66c1.entry.js +0 -1
@@ -3,6 +3,7 @@ import { cva } from "class-variance-authority";
3
3
  import { ThemedHost } from "../../../internal/themed-host.component";
4
4
  import { asBoolean } from "../../../utils/as-boolean";
5
5
  import { cn } from "../../../utils/cn";
6
+ import { isSmallerThanScreen } from "../../../utils/screens";
6
7
  /**
7
8
  <div class="text-inherit group-hover/button:text-inherit dark:text-inherit dark:group-hover/button:text-inherit"></div>
8
9
  <div class="text-transparent group-hover/button:text-transparent dark:text-transparent dark:group-hover/button:text-transparent"></div>
@@ -534,6 +535,10 @@ export class Button {
534
535
  * Wether the button is icon only
535
536
  */
536
537
  iconOnly = false;
538
+ /**
539
+ * Wether the button is icon only on mobile
540
+ */
541
+ iconOnlyAtBreakpoint = 'never';
537
542
  /**
538
543
  * A class to apply to the icon
539
544
  */
@@ -567,6 +572,11 @@ export class Button {
567
572
  */
568
573
  onClick;
569
574
  _host;
575
+ _iconOnlyResizeTimeout;
576
+ _isIconOnly = false;
577
+ componentDidLoad() {
578
+ this._onWindowResize();
579
+ }
570
580
  render() {
571
581
  let loaderColor = 'white';
572
582
  switch (this.variant) {
@@ -586,25 +596,28 @@ export class Button {
586
596
  : 'button';
587
597
  const hostClass = cn('p-button inline-block', this.class);
588
598
  const active = asBoolean(this.active) || hostClass?.includes('active');
589
- return (h(ThemedHost, { key: '3d2e21ba8385599c81fb2a6c15df5fd346ee17cf', class: hostClass }, h(VariableTag, { key: 'd629af41ed9d53c1f8072b18d3de665347b4abc2', class: button({
599
+ return (h(ThemedHost, { key: '322546f64e12848af223b26af858a78d13766b2f', class: hostClass }, h(VariableTag, { key: '76937101a1e3000c075b79973bd5102c4f13663a', class: button({
590
600
  variant: this.variant,
591
601
  size: this.size,
592
602
  loading: asBoolean(this.loading),
593
603
  disabled: asBoolean(this.disabled),
594
604
  buttonGroupPosition: this.buttonGroupPosition,
595
- iconOnly: asBoolean(this.iconOnly),
605
+ iconOnly: asBoolean(this.iconOnly) ||
606
+ (this._isIconOnly && this.iconOnlyAtBreakpoint !== 'never'),
596
607
  hasChevron: !!this.chevron,
597
608
  active,
598
609
  error: asBoolean(this.error),
599
610
  underline: asBoolean(this.underline) && VariableTag === 'a',
600
- }), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '2383f5eb28f5e44be43efb36879d92ae99ecaacf', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
611
+ }), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: 'd1cb9a78f5e0a8edc1fac1db0554f00241a7713d', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
601
612
  this.iconPosition === 'start' &&
602
613
  !(this.iconOnly && this.loading) &&
603
- this._getIcon(), this.label ?? h("slot", { key: '162ff2a9a9dd1e7938a21a1c0a2eab02eb8d90be' }), this.icon &&
614
+ this._getIcon(), this.iconOnlyAtBreakpoint === 'never' || !this._isIconOnly
615
+ ? (this.label ?? h("slot", null))
616
+ : '', this.icon &&
604
617
  this.iconPosition === 'end' &&
605
618
  !this.loading &&
606
619
  !this.chevron &&
607
- this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'bcdc2a0fa24d1c0213ab7d22a09814cbdf428d14', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'afb9613187bb7700d0e948b78e57905ce13cdd1f', color: loaderColor }))));
620
+ this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'c73b7807b209298796ecbe646a54b3990f94a973', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: '05ec7d09fa104d7fe0083879127ae4ee4dddf59b', color: loaderColor }))));
608
621
  }
609
622
  handleClick(ev) {
610
623
  if (this.loading || this.disabled) {
@@ -616,6 +629,31 @@ export class Button {
616
629
  }
617
630
  this.onClick.emit(ev);
618
631
  }
632
+ _onWindowResize() {
633
+ if (this.iconOnlyAtBreakpoint === 'never') {
634
+ return;
635
+ }
636
+ if (this._iconOnlyResizeTimeout) {
637
+ clearTimeout(this._iconOnlyResizeTimeout);
638
+ }
639
+ this._iconOnlyResizeTimeout = setTimeout(() => {
640
+ switch (this.iconOnlyAtBreakpoint) {
641
+ case 'mobile': {
642
+ this._isIconOnly = isSmallerThanScreen('tablet');
643
+ break;
644
+ }
645
+ case 'tablet': {
646
+ this._isIconOnly = isSmallerThanScreen('desktop-xs');
647
+ break;
648
+ }
649
+ case 'desktop': {
650
+ this._isIconOnly = isSmallerThanScreen('desktop-xl');
651
+ break;
652
+ }
653
+ }
654
+ this._iconOnlyResizeTimeout = undefined;
655
+ }, 200);
656
+ }
619
657
  _getIcon() {
620
658
  if (!this.icon) {
621
659
  return;
@@ -992,6 +1030,26 @@ export class Button {
992
1030
  "attribute": "icon-only",
993
1031
  "defaultValue": "false"
994
1032
  },
1033
+ "iconOnlyAtBreakpoint": {
1034
+ "type": "string",
1035
+ "mutable": false,
1036
+ "complexType": {
1037
+ "original": "'mobile' | 'tablet' | 'desktop' | 'never'",
1038
+ "resolved": "\"desktop\" | \"mobile\" | \"never\" | \"tablet\"",
1039
+ "references": {}
1040
+ },
1041
+ "required": false,
1042
+ "optional": true,
1043
+ "docs": {
1044
+ "tags": [],
1045
+ "text": "Wether the button is icon only on mobile"
1046
+ },
1047
+ "getter": false,
1048
+ "setter": false,
1049
+ "reflect": false,
1050
+ "attribute": "icon-only-at-breakpoint",
1051
+ "defaultValue": "'never'"
1052
+ },
995
1053
  "iconClass": {
996
1054
  "type": "string",
997
1055
  "mutable": false,
@@ -1144,6 +1202,11 @@ export class Button {
1144
1202
  }
1145
1203
  };
1146
1204
  }
1205
+ static get states() {
1206
+ return {
1207
+ "_isIconOnly": {}
1208
+ };
1209
+ }
1147
1210
  static get events() {
1148
1211
  return [{
1149
1212
  "method": "onClick",
@@ -1168,6 +1231,12 @@ export class Button {
1168
1231
  }];
1169
1232
  }
1170
1233
  static get elementRef() { return "_host"; }
1234
+ static get watchers() {
1235
+ return [{
1236
+ "propName": "iconOnlyMobile",
1237
+ "methodName": "_onWindowResize"
1238
+ }];
1239
+ }
1171
1240
  static get listeners() {
1172
1241
  return [{
1173
1242
  "name": "click",
@@ -1175,6 +1244,12 @@ export class Button {
1175
1244
  "target": undefined,
1176
1245
  "capture": true,
1177
1246
  "passive": false
1247
+ }, {
1248
+ "name": "resize",
1249
+ "method": "_onWindowResize",
1250
+ "target": "window",
1251
+ "capture": false,
1252
+ "passive": true
1178
1253
  }];
1179
1254
  }
1180
1255
  }
@@ -9,7 +9,7 @@ const meta = {
9
9
  };
10
10
  export default meta;
11
11
  export const Default = {
12
- render: ({ label, as, variant, active, underline, href, target, size, type, loading, chevron, 'chevron-position': chevronPosition, disabled, icon, 'icon-only': iconOnly, 'icon-position': iconPosition, 'icon-flip': iconFlip, 'icon-rotate': iconRotate, 'inherit-text': inheritText, 'button-group-position': buttonGroupPosition, class: className, error, }) => html `
12
+ render: ({ label, as, variant, active, underline, href, target, size, type, loading, chevron, 'chevron-position': chevronPosition, disabled, icon, 'icon-only': iconOnly, 'icon-only-mobile': iconOnlyMobile, 'icon-position': iconPosition, 'icon-flip': iconFlip, 'icon-rotate': iconRotate, 'inherit-text': inheritText, 'button-group-position': buttonGroupPosition, class: className, error, }) => html `
13
13
  <p-button
14
14
  label=${label ?? nothing}
15
15
  as=${as ?? nothing}
@@ -26,6 +26,7 @@ export const Default = {
26
26
  disabled=${disabled ?? nothing}
27
27
  icon=${icon ?? nothing}
28
28
  icon-only=${iconOnly ?? nothing}
29
+ icon-only-mobile=${iconOnlyMobile ?? nothing}
29
30
  icon-position=${iconPosition ?? nothing}
30
31
  icon-flip=${iconFlip ?? nothing}
31
32
  icon-rotate=${iconRotate ?? nothing}
@@ -12,7 +12,7 @@ export class ButtonGroup {
12
12
  this._checkButtons();
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '5997ff33e4339b436cce097c60f06c1fe2813079', class: 'flex items-center' }, h("slot", { key: '10ce08be5f32f0d83f8dc499ff3223b1c02de850' })));
15
+ return (h(Host, { key: '90fbb14cc7449008e954a0339b4c38cb7e8d38fa', class: 'flex items-center' }, h("slot", { key: 'f990d19ddf76095aed8248df3c19b05910d94104' })));
16
16
  }
17
17
  slotchange() {
18
18
  this._checkButtons();
@@ -192,7 +192,7 @@ export class Calendar {
192
192
  }
193
193
  }
194
194
  render() {
195
- return (h(ThemedHost, { key: '3cba341042ffd423d6f3b3fe5a340558e8c8fb53' }, h("div", { key: '4306fc8b190e94956213992963dc851857475a2f', class: calendar({ variant: this.variant }) }, this._getView())));
195
+ return (h(ThemedHost, { key: '1ac6072fee80f1e4334238c04e0743e89b695512' }, h("div", { key: '0f8f9718527bdca1d0c1e44615c19358e749564d', class: calendar({ variant: this.variant }) }, this._getView())));
196
196
  }
197
197
  _checkTodayButton() {
198
198
  if (this._maxDate && isAfter(this._today, this._maxDate)) {
@@ -47,13 +47,13 @@ export class ContentSlider {
47
47
  }
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: '6ba183884628b200ca1b7d13b91818499096c184' }, h("div", { key: '1ec72c6d71e138e581a35738b74171840f7f4422', class: `
50
+ return (h(Host, { key: 'a82d50f13b050b1b57c193f79e6791c7c69f0e7c' }, h("div", { key: '0009964bd2f75e75e231c0f556e7751dab05bb07', class: `
51
51
  slider
52
52
  ${!this.disableDrag && 'draggable'}
53
53
  ${this._dragging && 'dragging'}
54
54
  `, ref: el => (this._sliderRef = el), style: {
55
55
  height: `${this._outerHeight}px`,
56
- }, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, h("div", { key: '5658bdaf3c369812670b4e8973287453c2d2cdab', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '84564041f76f577b1a20750f1d7224404a3f1b68', onSlotchange: () => this._slotChange() }))), h("div", { key: '91b3ae9d5bcb8a52c77730d45de57f612fd90c08', class: `
56
+ }, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, h("div", { key: '2ea50b0a0fb3e0e781269bc626f7b03ebda586ae', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '753355eff5f15324abe3f217883a6ff76137136b', onSlotchange: () => this._slotChange() }))), h("div", { key: '3f932e53f0face6e5f2eaff2f59df40768b6c227', class: `
57
57
  indicator
58
58
  ${this.hideMobileIndicator && 'hidden'}
59
59
  ` }, this._filteredItems.map((_, i) => (h("div", { class: `
@@ -42,7 +42,7 @@ export class Cropper {
42
42
  const themeColor = state.theme === 'dark'
43
43
  ? 'rgba(70, 75, 84, 0.5)'
44
44
  : 'rgba(255, 255, 255, 0.5)';
45
- return (h(ThemedHost, { key: '958d615c7f31c0d060318fb5949a3022da7e9664' }, this._loaded && (h("cropper-canvas", { key: '9e243578589dfa0a3b13354295f5d2685be4f551', class: '\n h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700\n bg-white\n dark:border-hurricane-200\n ', onAction: () => this._onAction() }, h("cropper-image", { key: 'f572e1dcdc65a9b00b753ea48f41cc5d12ffa414', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), h("cropper-shade", { key: 'feacefa121adf503f6c5686bfc07dc268ae3f272', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), h("cropper-selection", { key: '3d8539b17d0033500e46b27cf303a7fc18aac26e', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: 'd1103eab524b40a31f62591c1be07863ba13a436', action: 'move', plain: true }))), h("p-range", { key: 'a8a13717467bcf06c0f8f7e40ca85067308cba55', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
45
+ return (h(ThemedHost, { key: '6990cbf026a62127f1cf302389a2cff1e8188714' }, this._loaded && (h("cropper-canvas", { key: '75ffe50e67aec9e6c3f73bcb7f5bb2649fb6697b', class: '\n h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700\n bg-white\n dark:border-hurricane-200\n ', onAction: () => this._onAction() }, h("cropper-image", { key: 'f2f93c7aa2c59074fd673c9ff6c678c102b777ae', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), h("cropper-shade", { key: 'd600a2b3f73c1aa89addbe0c6f5ab98f4fe3757b', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), h("cropper-selection", { key: '0465c5418129587bab613ffe5e11bb4a33de1e1f', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '5bcca95b800e11a96c274017cc9fd743d421fa26', action: 'move', plain: true }))), h("p-range", { key: '236d72301a785e8cb16bd5eacaa15f7cf678f8e9', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
46
46
  }
47
47
  _setImageRef(ref) {
48
48
  if (this._imageRef || !ref) {
@@ -213,7 +213,7 @@ export class Datepicker {
213
213
  }
214
214
  }
215
215
  render() {
216
- return (h("p-dropdown", { key: '1da0f9a54c53581dc347bfa7cbf2c7489542948b', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, h("p-field", { key: 'c9e8d5e2d0e4ee3750fce8bca41b9383fcd45deb', autoShowError: false, disabled: asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: 'cbd64fc3655995d41f776c23c98deb767e4df1cf', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
216
+ return (h("p-dropdown", { key: '41ebf8ceb52a6eab7005df2c8d03718ac71ad5c0', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, h("p-field", { key: 'dd5e53303c5e4ba9e13a04d2b661e9da77deda0b', autoShowError: false, disabled: asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: 'db6172b1cbd2d80842a127c1a14b821460ecce12', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
217
217
  format(new Date(this.maxDate), 'yyyy-MM-dd', {
218
218
  locale: state.locale === 'nl' ? nl : enUS,
219
219
  }), min: this._minDate &&
@@ -222,7 +222,7 @@ export class Datepicker {
222
222
  }), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
223
223
  format(this._value, 'yyyy-MM-dd', {
224
224
  locale: state.locale === 'nl' ? nl : enUS,
225
- }), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '398a65da8a0b8bda9177375d75686123278af66a', slot: 'items', tabIndex: -1 }, h("p-calendar", { key: 'a0fd9ec5fdeb9a42bd7394599c75659feca77489', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
225
+ }), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '31ca023225ae50db2c07ca4325a746e13ee6f4a5', slot: 'items', tabIndex: -1 }, h("p-calendar", { key: '705efb5369a1d86ac8261ad6ad794732e77110c9', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
226
226
  }
227
227
  documentClickHandler({ target }) {
228
228
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -133,12 +133,12 @@ export class Dropdown {
133
133
  this._checkItems();
134
134
  }
135
135
  render() {
136
- return (h(Host, { key: '1c060fa3b674315b449445bc12cb7914ff809f42', class: 'relative' }, h("div", { key: '526090a21972996fe865c251ab109170b3031f2d', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, h("slot", { key: 'c77c6b4e01d5f8192aada325f62d416f08ef50d5', name: 'trigger' })), h("div", { key: '49300cd262ccd3f58aaea3abec9a00d210c340b8', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: 'c084d5a6d26f1c47b38ddcca5eae7727bc12e0e2', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
136
+ return (h(Host, { key: 'daa5ca812dc1ec72b95737a02bbff9e492ad7fe3', class: 'relative' }, h("div", { key: '9842f327983cfdc6666eaa9dd7b6010f0d13efe6', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, h("slot", { key: '4195411e9dff36f800f91149544e7135d22cb44b', name: 'trigger' })), h("div", { key: '48f8874c60a8c69fa6ade61325415d5e70761748', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: 'ad92d728bbb379c6cc926b9b747da4cc3fc17665', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
137
137
  strategy: this.strategy,
138
138
  maxWidth: this.applyMaxWidth,
139
139
  fullWidth: this.applyFullWidth && !this.applyMaxWidth,
140
140
  isDatepicker: this.isDatepicker,
141
- }), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, h("slot", { key: '8e05aa667dbad7c2a443dcb7c513b5049ae966e5', name: 'items' })))));
141
+ }), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, h("slot", { key: '8d131c1ee5ca981f8d5ea9931922cf5061e7d816', name: 'items' })))));
142
142
  }
143
143
  _checkButtons(active = false) {
144
144
  const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
@@ -115,20 +115,20 @@ export class Dropzone {
115
115
  }
116
116
  render() {
117
117
  const hasContent = this._el.innerHTML?.length > 0;
118
- return (h(ThemedHost, { key: '3bdbd0ce35e34159cea4a25cd850f9a193a3f946' }, h("div", { key: 'ebf85859aa357664417f8086c865de8325a225fe', class: dropzone({
118
+ return (h(ThemedHost, { key: '7c1db4cb49b8699a6aa11ffb0b6fe4d496dabee2' }, h("div", { key: 'a059feda628b54161629ea0e05dbbfb0fa8e4aba', class: dropzone({
119
119
  isOver: this._isOver,
120
120
  uploaded: this.uploaded,
121
- }), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (h("p-icon", { key: '6dca37d76b00f5da9f5b4b8e028c83b0578fb811', class: cn(`
121
+ }), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (h("p-icon", { key: '79d280c89d5274171ba689463491ab9386712353', class: cn(`
122
122
  group-hover/dropzone:text-indigo-900
123
123
  dark:group-hover/dropzone:text-indigo-700
124
124
  `, {
125
125
  'text-positive-green-800': this.uploaded,
126
126
  'text-storm-300 dark:text-hurricane-200': !this._isOver && !this.uploaded,
127
127
  'text-indigo-900 dark:text-indigo-700': this._isOver,
128
- }), variant: this.icon })), this.loading && h("p-loader", { key: 'b6444e1d0c4519023ba628cab29b166812b0d853' }), hasContent && (h("p", { key: 'f2e434afe8daadfe90e3b1d7257c98a610405689', class: cn('m-0 p-0 text-lg font-bold', {
128
+ }), variant: this.icon })), this.loading && h("p-loader", { key: '7c28c02bada55efe9d2045b3a42a7c3c2139ee76' }), hasContent && (h("p", { key: '78208423e2b95c23a5303f8fca3300e06b5b4d86', class: cn('m-0 p-0 text-lg font-bold', {
129
129
  'dark:text-white': !this.uploaded || this._isOver,
130
130
  'text-storm-500': this.uploaded && !this._isOver,
131
- }) }, h("slot", { key: 'f7054d8e072e40e6a294b8feec5d53c6368df633' }))), this.uploaded && !this._isOver && (h("div", { key: 'ad137466b30a21dd4ba66db226968cc17a8e5f8c', class: 'flex items-center gap-2 text-positive-green-800' }, h("p-icon", { key: '343c6b31e638f961430b7421e44faedbc8c00e24', variant: 'check-circle' }), h("span", { key: '6ada9196c435e0642fb8528fc4ba2d28ba6b1d29', class: 'font-medium' }, this.addedString))), (!this.uploaded || this._isOver) && (h("div", { key: 'e928b7b3a1e60e699f9ecc8de2f4bc48c4162032', class: cn([
131
+ }) }, h("slot", { key: 'c0656e295223d620af579278f1c763eb7f368acf' }))), this.uploaded && !this._isOver && (h("div", { key: 'e5ebd90b568883a025118f3df155188b21f1f67e', class: 'flex items-center gap-2 text-positive-green-800' }, h("p-icon", { key: '782fc223bd7de1a5d2e7e78bce753e32160fb477', variant: 'check-circle' }), h("span", { key: '063369d8309f4d992b53d8db3165d4f9ed663992', class: 'font-medium' }, this.addedString))), (!this.uploaded || this._isOver) && (h("div", { key: 'c05af902cc62cfdbb7feea9de5aabf567c6d22f5', class: cn([
132
132
  'flex flex-col text-center',
133
133
  'group-hover/dropzone:opacity-50',
134
134
  `
@@ -137,7 +137,7 @@ export class Dropzone {
137
137
  `,
138
138
  ], {
139
139
  'opacity-50': this._isOver,
140
- }) }, h("span", { key: '4533eac1b324933cc3aedaf84b8aa7954ac0b09d', class: 'font-medium' }, this.dragFileString), h("span", { key: 'bd5e993c33adc175ed2f81eee8a1c5350318df7a', class: 'font-normal' }, this.orClickString)))), h("input", { key: '6efc0733c35a09bce5b2a80de4870eb96b5e69f1', 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) })));
140
+ }) }, h("span", { key: 'c9ec4e45968281ce5c2033264ff7c972b25bd799', class: 'font-medium' }, this.dragFileString), h("span", { key: 'bc2aac22c381cdb7d5cbfaa42627f57d08cab115', class: 'font-normal' }, this.orClickString)))), h("input", { key: 'd7569817461cc246b0d17e9f8cf238ea169ad436', 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) })));
141
141
  }
142
142
  onDrop(ev) {
143
143
  const files = this._getFiles(ev);
@@ -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: 'a1c5b7682ac5ffd11beb25f2dd91d156becec4a3' }, h("div", { key: 'd19221f86c59cc8583d1e96f59263e01ea4ad22d', class: emptyState({
62
+ return (h(ThemedHost, { key: '1ee5241659e6ee9a39f0d3f641374b3fa9d7d713' }, h("div", { key: '2a170cfa8265e140da60465554908925a9a7b30c', 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: '0a078690887ee5eba9c383fe8ccba7aaeb110cdc', 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: 'd843ed25df3ad3aee82b568419b553272df82155', 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: 'ee38d5be02a899e0d63749e4b13c17cae4711637', name: 'content', slot: 'trigger' }));
108
+ let contentSlot = (h("slot", { key: '5291beab9a04f71a20dc147266a4517aefc7026b', name: 'content', slot: 'trigger' }));
109
109
  if (this.loading) {
110
- contentSlot = (h("p-loader", { key: '5e445ed28e4ff1254b6c724d5bb859d37ed669b3', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
110
+ contentSlot = (h("p-loader", { key: '7af3ba90aeecec528b526c5257f9fb53e601c795', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
111
111
  }
112
- return (h(ThemedHost, { key: 'b9e499d2dc7e962d706997c8d16f61c5252f118d' }, h("label", { key: '4233b212952fa641e2509ea1c942453e77ec5f82', class: cn('flex h-inherit w-inherit flex-col gap-1', {
112
+ return (h(ThemedHost, { key: '2aade5cc2ec5c8302d475aefc62b8a178027fbd0' }, h("label", { key: '5a0920e414f7f5f0333d2b5f805e016b98b19baf', class: cn('flex h-inherit w-inherit flex-col gap-1', {
113
113
  'cursor-auto': this.variant === 'read',
114
- }), htmlFor: this.id }, h("div", { key: '20e48d5f03656193a1b837070ae750a8d4296465', class: cn(`
114
+ }), htmlFor: this.id }, h("div", { key: '52f9924430ca76dd5492c8c5e78a5a640e132e29', 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: 'ee34ef249bb30262496793d5f8417e137313cf03', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: '1a73b8c8c753253a46be784bbd03aaf515c33d3d', 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: 'fe0c268b0fee3a855bcc44ef844ca8a2a727dee2', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
120
- hasHeaderSlot) && (h("div", { key: '14466e8a589be9b1b599750e9d94fdd507e63637', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
119
+ }) }, (!!label?.length || !!helper?.length) && (h("div", { key: '4af64a1df141b112f28138a1f6a01ab6016bb642', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: '6aae524554e4bd91eb9e316b7b69210be1e24b32', 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: '148aa5b036d4b2cd74cb8d55f653082d9fb25a35', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
120
+ hasHeaderSlot) && (h("div", { key: '5c7df3260b6add948909d13001a8f5f1a62a296b', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
121
121
  asBoolean(this.showOptional) &&
122
- this.variant === 'write' && (h("span", { key: '2103c58a2d6283a3776386fc48b817b0a6c11775', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: 'daa792f0973fb224b65694b2b3da0bce094bc013', name: 'header' })))), h("p-tooltip", { key: 'f5a7db0a4adf1b122a1297e3216c67abd4dc824e', class: cn({
122
+ this.variant === 'write' && (h("span", { key: '259e21450bdd3458cba03edf5106f2e31ffb1ac1', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: 'dfc59d9d34107403e05a4106b76f48eaf33efe0c', name: 'header' })))), h("p-tooltip", { key: 'b92186277a5c86017167ebfe66f360c2c569ea09', 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: '38ce560479de40f7b704bf9f7736f217286a39b8', name: 'error', slot: 'content' })), contentSlot))));
128
+ asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '40046f1ba8136dcaf7a37c11edeb8ba75b115415', 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: '26ead7c05e6305596106f154754986a05237c454' }, h("p-field-container", { key: '8828b6378d5a3e5c7c98dd52c0bc34ff7500ba02', 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: 'c7a0344e9aec6a7e1c30e173fd5ceaf65268a912', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '9a0bdbb419369c6d658d5e1b855913ffe4dd42b0', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'dc417538960faecaa20898f52138042b52fc0232', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '9e7659556f4bb3888d63ee6ca9b7d59bd7201db9', name: 'error', slot: 'error' })), h("div", { key: 'e0f979932fd5afb26e60df3656c503475bbfb43e', class: field({
374
+ return (h(ThemedHost, { key: '537b14741e48d7aa20121d9d4e0cb4f04fcf7eab' }, h("p-field-container", { key: 'ddb458b4fda84393779f1c2668541b09baf008a3', 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: '22e0fad26aa04bc18833eeb6b86822ad22a10586', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '2c451ce3554067b83effa28e7fb3afc350c07838', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '5a7b1748f39fa6716d6ea84dc822f8a91a38a255', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'b02b47a5fa9768792a1de132beccfcb94637194d', name: 'error', slot: 'error' })), h("div", { key: '1beb78cff29f30c5adad7e3cec93961caaf34b08', 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: '60384a989f7f7ce43dff577e5275d12d955f85ff', class: prefixAndSuffix({
386
+ (this.icon && this.iconPosition === 'start')) && (h("div", { key: '5c157f96f660ae83468219a63f08abc279dfc5cc', 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: '7bfc680f8dff73606785066d9e3ad3fbf7ad5e83', class: cn(prefixAndSuffix({
398
+ (this.icon && this.iconPosition === 'end')) && (h("div", { key: '470f92267fb2a7a44a52b58259539b2940943221', class: cn(prefixAndSuffix({
399
399
  variant: this.variant,
400
400
  error: !!this.error?.length,
401
401
  disabled: asBoolean(this.disabled),
@@ -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: '60037e99c90aa900084ccd67a78a98b3db5625e6', class: cn('inline-block', this.class) }, h(TagType, { key: '461cf0d042eb867040573c3133b5f51e87309838', class: navigationItem({
91
+ return (h(ThemedHost, { key: 'ae16c9de7454fc81eabe1007ddacadc0910c30df', class: cn('inline-block', this.class) }, h(TagType, { key: '5762e034f8994b2b545254e74bda83648051f7b4', class: navigationItem({
92
92
  icon: !!this.icon,
93
93
  active,
94
- }), href: this.href, target: this.target }, h("div", { key: '569400092cc3b9b6efe7097023c5f5ea0c748f4a', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '9b8f03b0ebce991312cc62d648339d2552053dca', variant: this.icon })), h("span", { key: '02aa90de89850780ab494c3d4e18843b0cbdcd6a', class: cn({
94
+ }), href: this.href, target: this.target }, h("div", { key: '3f8f23069bc9bb4e74f21bdaf84a5799c94c1923', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '35a783b85c8ecd4817c2d956f2146af0023ab103', variant: this.icon })), h("span", { key: '850af9f755f29426abbc6c9aec0049b2c60bc6ae', class: cn({
95
95
  'has-counter': !!this.counter,
96
96
  'w-full': this.applyFullWidth,
97
- }) }, h("slot", { key: '60440cff2953b9066e540c70e8f62a52e94de31e' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'cba0286d29ae348de152b8e391bebe657d2e38be' }, this.counter)), !!this.loading && h("p-loader", { key: '94f0ce93c19385f562c1af309fd094771ad1733a', class: 'ml-auto' }))));
97
+ }) }, h("slot", { key: '9ad7ed612cba22fd9e9586b2f7abb982edb7b472' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'd5a732b8445a36b876835863bb5a3e01d42ad0f8' }, this.counter)), !!this.loading && h("p-loader", { key: 'd3590283a8e0bb1ed5247146fff810c841577588', 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: 'b8d2e03813c32fa7b3e14261ef0aef67a1bd9ba9', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: 'a7440110aa669b2503ebfb06a84ec2b9b8dac749' }, this.header)), h("div", { key: '85f7170c056774b1c63d495be8d76a655db17c29', class: 'flex flex-col' }, h("slot", { key: '67d43e4c0737365815e7a26a0e400016239b98e8' }))));
9
+ return (h(ThemedHost, { key: 'aabfc291e288f02dcd4968f03899077fb318abf0', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '507af087c66bdb236bb54af09819fbda57180bf7' }, this.header)), h("div", { key: 'a6206f28cc39183855440bc575404817c9de5e3e', class: 'flex flex-col' }, h("slot", { key: '56bbabeb6a8884aaa667055ffb082753733d0c6f' }))));
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: 'e589ea86868c500398b830d85774df1282097210' }, h("div", { key: '27936247b83b4a771f4974a7946cc1eb24829d5b', class: pagination({
64
+ return (h(ThemedHost, { key: 'db0857b24ba35b034ba1dc8143a29cbb9de2c549' }, h("div", { key: '80bb1005d3c1694d4f7e8aa0ef9914ecee7caaac', 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: 'ad344b2396e42451325894b7376ed3d690057d83' }, h("div", { key: '671608ac708b712031af5c200c3ce07e8131cb03', class: pagination({
63
+ return (h(ThemedHost, { key: '9a30d6c7d566a90f8ac44f77fab07d2a2446c72f' }, h("div", { key: '85f2dcfc61804d63b84ad255652d446543c5c839', class: pagination({
64
64
  hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
65
65
  (!this.enablePaginationSize && !this.enablePaginationPages),
66
- }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '9cdc73872c65ab22e8c9ef4158be2016181fc6ba' }, h("p-pagination-size", { key: '5e574099fa2e4236d50d7593f19fcfb8c90ecc7f', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
66
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '1c51b9320c6a18d1acbb540f0728ea3ce79e02d6' }, h("p-pagination-size", { key: '08c020039f055c1205adac0ba4f9f32922781ebf', 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: '6b5d9cb7d4d8067b68b2c600eaa644cf6e14e6d5', 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: '9e3dba15164786562aa0d912a67f57f8b2cc7366', 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: '0587d352bea9161f7b708221a35cc9ccec2d81ff', 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: 'c0642155df14ece17ac84ea8a285a01b62f2bc28', 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
  } })))));
@@ -79,18 +79,18 @@ export class PaginationSize {
79
79
  this._setLocales();
80
80
  }
81
81
  render() {
82
- return (h(ThemedHost, { key: '42cf5dbb2f2d9fdb6a571bddc2b763b84f39024a', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, h("p-dropdown", { key: 'a9952f6ba7d0712fc00310dbcc5ab565291dcb02', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, h("div", { key: 'cd819e27bdd8befc96ec722cc82179e7cb3f75eb', class: trigger({
82
+ return (h(ThemedHost, { key: '5e1b33344ed17b9091f9f77de65ae085832d689e', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, h("p-dropdown", { key: '8084c18cb9241748daf3d4199e823083941c2624', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, h("div", { key: '43da06218c720985f7a7ab2496aa58c5250de3bf', class: trigger({
83
83
  active: this.dropdownIsOpen,
84
- }), slot: 'trigger' }, h("p", { key: 'e90cc9866f78ba047d97871ca957121110f2be10', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
84
+ }), slot: 'trigger' }, h("p", { key: '6bce5c88289ba40dd11d25a9ef3bfb7268a8ccb1', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
85
85
  ? this.itemTemplate(this.size)
86
- : this._defaultItemTemplate(this.size)), h("p-icon", { key: '8b308f1855c5553483eb22583ab58185de48c107', class: cn([
86
+ : this._defaultItemTemplate(this.size)), h("p-icon", { key: 'ca9506f126086f9a4ac7ecd43654cdf41fcc3cf6', class: cn([
87
87
  'flex-shrink-0',
88
88
  'group-hover/pagination-size-trigger:text-storm-500',
89
89
  'dark:group-hover/pagination-size-trigger:text-white',
90
90
  ], {
91
91
  'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
92
92
  'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
93
- }), size: 'sm', variant: 'double-caret' })), h("slot", { key: '6f67fec42d1ad0093411c9e8a695577ddf9bd4cf', slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
93
+ }), size: 'sm', variant: 'double-caret' })), h("slot", { key: '0c03ec3e9b917857a9f3b76f56c6bb7133ec988c', slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
94
94
  ? this.itemTemplate(option)
95
95
  : this._defaultItemTemplate(option))))))));
96
96
  }
@@ -28,7 +28,7 @@ export class Profile {
28
28
  }
29
29
  render() {
30
30
  const content = this._getContent();
31
- return (h(ThemedHost, { key: 'ac643a05aaf0376f608a9c1f590ae21594a17c18' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
31
+ return (h(ThemedHost, { key: '6d75fe9ed4ac33cfc764d9fab67484d6a9f07721' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
32
32
  }
33
33
  slotchange() {
34
34
  this._checkDropdownSlot();
@@ -23,13 +23,13 @@ export class Range {
23
23
  valueChange;
24
24
  render() {
25
25
  const percentage = Math.round((this.value / (this.max - this.min)) * 100);
26
- return (h(ThemedHost, { key: '7ae1d611a44308f1112f9dea967961056219b2d6' }, h("div", { key: '9bd92e5e01cb76148a2e3a8fe1a232f751820870', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '3ba3b7e3d9b2f9a3a96dadffdb83771f7267c4c8', variant: 'minus' }), h("div", { key: '510d47e53583cb2aebe6acca953a9cd920533f7e', class: 'relative h-6 flex-1' }, h("input", { key: '4b25bff4c5807c58518921640ee389783db570e1', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
26
+ return (h(ThemedHost, { key: '2d2460d0c69169794ca7f22f80bfe29eee2c6e72' }, h("div", { key: '7441a9994ebd42f91d0b592ab1d4345ff0da9817', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '2dfd00d0e7042aa63223fbdb2f537f55ec5d624c', variant: 'minus' }), h("div", { key: '77dc1faecfdccf7692af8276043fa851e3febfdf', class: 'relative h-6 flex-1' }, h("input", { key: 'da4efbb82a44ee8f7924b9447abfbdb1cbebf10f', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
27
27
  const value = ev.target.value;
28
28
  this.value = Number.parseFloat(value);
29
29
  this.valueChange.emit(value);
30
- } }), h("div", { key: '1006c5ebbc20a7515d71351c07b19592c1b0005e', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
30
+ } }), h("div", { key: '19677761561399e485961a92cdf6167d8334f439', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
31
31
  width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
32
- } })), h("p-icon", { key: '80ae3d942bec909938eca84c2fb3379733e0e5c6', variant: 'plus' }))));
32
+ } })), h("p-icon", { key: '96ecdaa05a4a710a980fab7f77a3d845f837ce5c', variant: 'plus' }))));
33
33
  }
34
34
  static get is() { return "p-range"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -341,8 +341,8 @@ export class Select {
341
341
  if (this.error?.length) {
342
342
  buttonIcon = 'warning';
343
343
  }
344
- return (h(ThemedHost, { key: '7e8d14438dbcd4e04e0c16212331ed5f84a81687' }, h("p-field-container", { key: '85aefa5955e9dd35bafb5a5e4304e05b4cb90178', 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: '5abab1839f85953424513857034ef5318bf07ee5', 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: '6bfb1a5374aaebf543127370bdae01982c3a72f2', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
345
- this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: 'aec19a4d60ad51080b8c2e2f9aa545e42c77dd0b', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
344
+ 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 &&
345
+ 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()))));
346
346
  }
347
347
  documentClickHandler(event) {
348
348
  if (!this._showDropdown || childOfComposed(event, this._el)) {
@@ -23,15 +23,15 @@ export class SubmenuItem {
23
23
  this.activeChange.emit(this.active);
24
24
  }
25
25
  render() {
26
- return (h(ThemedHost, { key: '38bbc84752e1aa8271568aad5c1fd46bfa435d9a' }, h("div", { key: 'a17fb921e57780d1ff572a3d1ba10331b045276e', class: cn([
26
+ return (h(ThemedHost, { key: '90bce86bc100210f8491a1a2301813046fd7de1b' }, h("div", { key: '51e0542d7e19c609fec475cbbbb0115be419fbf1', class: cn([
27
27
  'flex items-center',
28
28
  'h-8 w-full pl-[calc(3rem+2px)]',
29
29
  'cursor-pointer',
30
30
  'group/submenu-item',
31
- ]) }, h("div", { key: 'd9c949c6f467524e0590a19774ae86c06e234fe5', class: cn('flex items-center gap-2 transition-colors', {
31
+ ]) }, h("div", { key: 'a0d12ac8717ed69491bcdf4dd08b650f39aee67c', class: cn('flex items-center gap-2 transition-colors', {
32
32
  'text-storm-400 dark:text-hurricane-100': !this.active,
33
33
  'text-indigo-600': this.active,
34
- }) }, h("p-icon", { key: '8eed69a5fd4cef34ef69d7e5a96993289effc37e', variant: this.icon }), h("slot", { key: '5471376f37afb9566f21599ee0e86af42a00b370' })))));
34
+ }) }, h("p-icon", { key: '45354d39e6b24c0202bcc476c02b7b1d017f91ac', variant: this.icon }), h("slot", { key: '762d3933cb5b6145aea1c07d2c3187e5401f5a50' })))));
35
35
  }
36
36
  static get is() { return "p-submenu-item"; }
37
37
  static get encapsulation() { return "shadow"; }