@paperless/core 2.22.0-alpha.23 → 2.22.0-alpha.25

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 (594) hide show
  1. package/dist/build/index.esm.js +1 -1
  2. package/dist/build/p-0305046c.entry.js +1 -0
  3. package/dist/build/{p-993bf657.entry.js → p-0898e57b.entry.js} +1 -1
  4. package/dist/build/p-099a4c60.entry.js +1 -0
  5. package/dist/build/{p-4fde72a3.entry.js → p-0c094c99.entry.js} +1 -1
  6. package/dist/build/{p-3cea628d.entry.js → p-0eb7a6e4.entry.js} +1 -1
  7. package/dist/build/p-14a2caa3.entry.js +1 -0
  8. package/dist/build/{p-425a3a05.entry.js → p-1ce28114.entry.js} +1 -1
  9. package/dist/build/p-2509308d.entry.js +1 -0
  10. package/dist/build/p-389f92f8.entry.js +1 -0
  11. package/dist/{paperless/p-79fe6a2f.entry.js → build/p-400ae3ad.entry.js} +1 -1
  12. package/dist/{paperless/p-6ff7e89b.entry.js → build/p-4793863e.entry.js} +1 -1
  13. package/dist/build/{p-d36ebc95.entry.js → p-4ad6dd58.entry.js} +1 -1
  14. package/dist/build/p-4d456377.entry.js +1 -0
  15. package/dist/build/{p-4dfa0a37.entry.js → p-4f068009.entry.js} +1 -1
  16. package/dist/build/p-6115ce1e.js +1 -0
  17. package/dist/{paperless/p-6577db68.entry.js → build/p-62c4c7d7.entry.js} +1 -1
  18. package/dist/build/p-6ff8d21c.entry.js +1 -0
  19. package/dist/build/{p-e8729580.entry.js → p-7ae963de.entry.js} +1 -1
  20. package/dist/build/p-846f47bd.entry.js +1 -0
  21. package/dist/build/{p-3430af7f.entry.js → p-870a63fb.entry.js} +1 -1
  22. package/dist/build/p-8bd7c93a.entry.js +1 -0
  23. package/dist/{paperless/p-e9582485.entry.js → build/p-8d0c1f36.entry.js} +1 -1
  24. package/dist/build/{p-c0cec615.entry.js → p-8ed529ba.entry.js} +1 -1
  25. package/dist/build/{p-530d8958.entry.js → p-92bbdecc.entry.js} +1 -1
  26. package/dist/build/{p-62555ccd.entry.js → p-93bbde98.entry.js} +1 -1
  27. package/dist/build/p-958c8a2c.entry.js +1 -0
  28. package/dist/build/{p-71e02082.entry.js → p-9a49375d.entry.js} +1 -1
  29. package/dist/build/{p-CrdJDtHg.js → p-CLLU0oUD.js} +1 -1
  30. package/dist/build/p-CWO2YJCh.js +1 -0
  31. package/dist/build/p-CXVK8SLW.js +1 -0
  32. package/dist/build/p-CwQG70_4.js +1 -0
  33. package/dist/build/{p-BTx_Jfhh.js → p-DE-sstf_.js} +1 -1
  34. package/dist/build/p-DPc49L2n.js +1 -0
  35. package/dist/build/p-DzdX_Z5B.js +1 -0
  36. package/dist/build/p-V194S7Dm.js +1 -0
  37. package/dist/{paperless/p-cd525c37.entry.js → build/p-a23a90d6.entry.js} +1 -1
  38. package/dist/build/{p-3c806e0f.entry.js → p-a4109895.entry.js} +1 -1
  39. package/dist/build/p-ad468b70.entry.js +1 -0
  40. package/dist/build/p-af320255.entry.js +1 -0
  41. package/dist/build/p-b2248597.entry.js +1 -0
  42. package/dist/{paperless/p-abda244c.entry.js → build/p-b37d0053.entry.js} +1 -1
  43. package/dist/{paperless/p-f0165e95.entry.js → build/p-bfb06294.entry.js} +1 -1
  44. package/dist/{paperless/p-5d60b2c6.entry.js → build/p-c7835f10.entry.js} +1 -1
  45. package/dist/build/{p-1c6969ee.entry.js → p-cfe81f27.entry.js} +1 -1
  46. package/dist/build/p-d0d0a314.entry.js +1 -0
  47. package/dist/build/p-d38642c4.entry.js +1 -0
  48. package/dist/build/p-e30abf73.entry.js +1 -0
  49. package/dist/build/{p-cacd9fe0.entry.js → p-e6222abf.entry.js} +1 -1
  50. package/dist/build/p-e9d2bdd6.entry.js +1 -0
  51. package/dist/build/p-f1f160c0.entry.js +1 -0
  52. package/dist/build/{p-1e7e0082.entry.js → p-f3daeb8f.entry.js} +1 -1
  53. package/dist/build/{p-4cd0eb6f.entry.js → p-f8d8d142.entry.js} +1 -1
  54. package/dist/build/p-f9c9004b.entry.js +1 -0
  55. package/dist/build/paperless.esm.js +1 -1
  56. package/dist/cjs/{child-of-CdM-uMiH.js → child-of-CvEcBEYZ.js} +1 -3
  57. package/dist/cjs/index-CEv7WAQX.js +0 -4
  58. package/dist/cjs/index.cjs.js +487 -492
  59. package/dist/cjs/is-mobile-browser-CscfWENw.js +17 -0
  60. package/dist/cjs/loader.cjs.js +1 -1
  61. package/dist/cjs/{localization-CGd_fklS.js → localization-CTvpcGDo.js} +15 -20
  62. package/dist/cjs/object-get-by-path-CxU4WbZu.js +14 -0
  63. package/dist/cjs/p-accordion.cjs.entry.js +4 -4
  64. package/dist/cjs/p-attachment.cjs.entry.js +8 -8
  65. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  66. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  67. package/dist/cjs/p-backdrop.cjs.entry.js +5 -5
  68. package/dist/cjs/p-badge_3.cjs.entry.js +7 -7
  69. package/dist/cjs/p-button-group.cjs.entry.js +4 -2
  70. package/dist/cjs/p-button_3.cjs.entry.js +12 -10
  71. package/dist/cjs/p-calendar.cjs.entry.js +16 -16
  72. package/dist/cjs/p-card-body.cjs.entry.js +3 -3
  73. package/dist/cjs/p-card-container.cjs.entry.js +4 -4
  74. package/dist/cjs/p-card-header.cjs.entry.js +5 -5
  75. package/dist/cjs/p-checkbox_3.cjs.entry.js +30 -30
  76. package/dist/cjs/p-content-slider.cjs.entry.js +7 -7
  77. package/dist/cjs/p-cropper.cjs.entry.js +3 -2802
  78. package/dist/cjs/p-datepicker.cjs.entry.js +7 -7
  79. package/dist/cjs/p-divider.cjs.entry.js +4 -4
  80. package/dist/cjs/p-drawer-body_3.cjs.entry.js +6 -6
  81. package/dist/cjs/p-drawer.cjs.entry.js +4 -6
  82. package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +8 -8
  83. package/dist/cjs/p-empty-state_8.cjs.entry.js +57 -58
  84. package/dist/cjs/p-field_3.cjs.entry.js +16 -16
  85. package/dist/cjs/p-floating-menu-item.cjs.entry.js +4 -4
  86. package/dist/cjs/p-iban-icon.cjs.entry.js +16 -8
  87. package/dist/cjs/p-illustration.cjs.entry.js +19 -19
  88. package/dist/cjs/p-info-panel.cjs.entry.js +4 -4
  89. package/dist/cjs/p-label.cjs.entry.js +5 -5
  90. package/dist/cjs/p-listing-item.cjs.entry.js +3 -3
  91. package/dist/cjs/p-listing-line.cjs.entry.js +3 -3
  92. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  93. package/dist/cjs/p-modal-body_4.cjs.entry.js +8 -8
  94. package/dist/cjs/p-navbar.cjs.entry.js +3 -3
  95. package/dist/cjs/p-navigation-item.cjs.entry.js +5 -5
  96. package/dist/cjs/p-navigation-section.cjs.entry.js +3 -3
  97. package/dist/cjs/p-navigation-title.cjs.entry.js +3 -3
  98. package/dist/cjs/p-pagination_3.cjs.entry.js +23 -23
  99. package/dist/cjs/p-profile.cjs.entry.js +3 -3
  100. package/dist/cjs/p-radio.cjs.entry.js +6 -6
  101. package/dist/cjs/p-range.cjs.entry.js +6 -6
  102. package/dist/cjs/p-select.cjs.entry.js +13 -13
  103. package/dist/cjs/p-stepper-item_2.cjs.entry.js +7 -7
  104. package/dist/cjs/p-tab-item.cjs.entry.js +3 -3
  105. package/dist/cjs/p-table-extra-header.cjs.entry.js +2 -2
  106. package/dist/cjs/p-table.cjs.entry.js +20 -25
  107. package/dist/cjs/p-toast.cjs.entry.js +3 -3
  108. package/dist/cjs/p-toggle.cjs.entry.js +7 -7
  109. package/dist/cjs/p-tooltip.cjs.entry.js +11 -11
  110. package/dist/cjs/paperless.cjs.js +1 -1
  111. package/dist/cjs/{screens-h1MTJhCu.js → screens-AithmFZ8.js} +3 -5
  112. package/dist/cjs/{state-D7r6WlSp.js → state-C0PIGTfM.js} +6 -4
  113. package/dist/cjs/{table-helpers-DlLLYa6C.js → table-helpers-CWMTGgj6.js} +3 -2
  114. package/dist/cjs/themed-host.component-3UWKsF6_.js +8 -0
  115. package/dist/collection/collection-manifest.json +2 -3
  116. package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
  117. package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
  118. package/dist/collection/components/atoms/backdrop/backdrop.component.js +4 -4
  119. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  120. package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
  121. package/dist/collection/components/atoms/card/container/card-container.component.js +3 -3
  122. package/dist/collection/components/atoms/card/header/card-header.component.js +8 -8
  123. package/dist/collection/components/atoms/checkbox/checkbox.component.js +5 -6
  124. package/dist/collection/components/atoms/divider/divider.component.js +2 -2
  125. package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
  126. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +3 -3
  127. package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
  128. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +4 -4
  129. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +7 -7
  130. package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
  131. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +6 -6
  132. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  133. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +16 -8
  134. package/dist/collection/components/atoms/icon/icon.component.js +9 -7
  135. package/dist/collection/components/atoms/illustration/illustration.component.js +7 -6
  136. package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
  137. package/dist/collection/components/atoms/listing/item/listing-item.component.js +3 -3
  138. package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
  139. package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
  140. package/dist/collection/components/atoms/modal/container/modal-container.component.js +3 -3
  141. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  142. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  143. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  144. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +3 -3
  145. package/dist/collection/components/atoms/radio/radio.component.js +4 -5
  146. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  147. package/dist/collection/components/atoms/segment/item/segment-item.component.js +8 -8
  148. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +5 -5
  149. package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
  150. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  151. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
  152. package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
  153. package/dist/collection/components/atoms/toggle/toggle.component.js +5 -6
  154. package/dist/collection/components/atoms/tooltip/tooltip.component.js +9 -9
  155. package/dist/collection/components/helpers/table/extra-header/table-extra-header.component.js +7 -7
  156. package/dist/collection/components/helpers/table/row-action/table-row-action.component.js +4 -4
  157. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  158. package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
  159. package/dist/collection/components/molecules/button/button.component.js +12 -10
  160. package/dist/collection/components/molecules/button-group/button-group.component.js +4 -2
  161. package/dist/collection/components/molecules/calendar/calendar.component.js +19 -19
  162. package/dist/collection/components/molecules/content-slider/content-slider.component.js +7 -7
  163. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -2
  164. package/dist/collection/components/molecules/datepicker/datepicker.component.js +7 -11
  165. package/dist/collection/components/molecules/dropdown/dropdown.component.js +20 -20
  166. package/dist/collection/components/molecules/empty-state/empty-state.component.js +9 -9
  167. package/dist/collection/components/molecules/field/container/field-container.component.js +9 -9
  168. package/dist/collection/components/molecules/field/field/field.component.js +8 -8
  169. package/dist/collection/components/molecules/label/label.component.js +8 -8
  170. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +5 -5
  171. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  172. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +12 -12
  173. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  174. package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
  175. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  176. package/dist/collection/components/molecules/range/range.component.js +4 -4
  177. package/dist/collection/components/molecules/select/select.component.js +15 -15
  178. package/dist/collection/components/molecules/table/cell/table-cell.component.js +4 -4
  179. package/dist/collection/components/molecules/table/footer/table-footer.component.js +4 -4
  180. package/dist/collection/components/molecules/table/header/table-header.component.js +9 -10
  181. package/dist/collection/components/molecules/table/row/table-row.component.js +35 -35
  182. package/dist/collection/components/molecules/toast/toast.component.js +5 -5
  183. package/dist/collection/components/organisms/drawer/drawer.component.js +5 -7
  184. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  185. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  186. package/dist/collection/components/organisms/table/table.component.js +19 -24
  187. package/dist/collection/internal/themed-host.component.js +1 -3
  188. package/dist/collection/state.js +6 -4
  189. package/dist/collection/tailwind/paperless.js +5 -10
  190. package/dist/collection/tailwind/plugins/safe-area.js +0 -1
  191. package/dist/collection/tailwind.config.js +3 -1
  192. package/dist/collection/types/icon.js +1 -0
  193. package/dist/collection/types/illustration.js +1 -0
  194. package/dist/collection/types/index.js +2 -0
  195. package/dist/collection/utils/child-of.js +1 -3
  196. package/dist/collection/utils/icons.js +10 -10
  197. package/dist/collection/utils/illustrations.js +1 -1
  198. package/dist/collection/utils/index.js +0 -1
  199. package/dist/collection/utils/is-mobile-browser.js +2 -2
  200. package/dist/collection/utils/localization.js +15 -20
  201. package/dist/collection/utils/object-get-by-path.js +6 -4
  202. package/dist/collection/utils/screens.js +3 -5
  203. package/dist/collection/utils/table-helpers.js +3 -2
  204. package/dist/collection/utils/transformers.js +4 -4
  205. package/dist/components/index.js +1 -1
  206. package/dist/components/{p-VB7-md3X.js → p-7Qldd8fE.js} +1 -1
  207. package/dist/components/{p-CGIxjWp3.js → p-B1MbDi-e.js} +1 -1
  208. package/dist/components/{p-CdqwGmBG.js → p-BB7bmhRo.js} +1 -1
  209. package/dist/components/{p-BMwwV9jr.js → p-BDDlblTI.js} +1 -1
  210. package/dist/components/{p-BFYtk_D9.js → p-BQIf6SbI.js} +1 -1
  211. package/dist/components/p-BdmdNQNa.js +1 -0
  212. package/dist/components/{p-C0Y1bbVV.js → p-BhnSWAm_.js} +1 -1
  213. package/dist/components/{p-CwBpWOfF.js → p-BnyCseIX.js} +1 -1
  214. package/dist/components/{p-DnnmD9wl.js → p-BpnNRSNN.js} +1 -1
  215. package/dist/components/{p-DcAa0Z0x.js → p-BtLNLU5M.js} +1 -1
  216. package/dist/components/{p-C1lLexO_.js → p-Bte1XwqA.js} +1 -1
  217. package/dist/components/p-BtiXtaPx.js +1 -0
  218. package/dist/components/{p-Ci6dVRRb.js → p-Bylx-B13.js} +1 -1
  219. package/dist/components/{p-pS_1w6j6.js → p-Bzccvp_O.js} +1 -1
  220. package/dist/components/p-C8Vq1N_0.js +1 -0
  221. package/dist/components/{p-zV8KNDcw.js → p-C9Qej_kA.js} +1 -1
  222. package/dist/components/p-CEFaN18s.js +1 -0
  223. package/dist/components/{p-BkR7Q669.js → p-CJKObZ8L.js} +1 -1
  224. package/dist/components/{p-BQuFRI__.js → p-CLXB3_-L.js} +1 -1
  225. package/dist/components/{p-BiHXM334.js → p-CUmhErgX.js} +1 -1
  226. package/dist/components/p-CUqoOemU.js +1 -0
  227. package/dist/components/p-CWO2YJCh.js +1 -0
  228. package/dist/components/{p-CXK3XHq7.js → p-CX1ewbW4.js} +1 -1
  229. package/dist/components/p-CXVK8SLW.js +1 -0
  230. package/dist/components/{p-DwDkE9Up.js → p-CZlpdpMV.js} +1 -1
  231. package/dist/components/{p-Cc0qt21M.js → p-C_DONK31.js} +1 -1
  232. package/dist/components/{p-CNQlxazX.js → p-CdNBlyaj.js} +1 -1
  233. package/dist/components/{p-CbJigQSa.js → p-ChrB-4co.js} +1 -1
  234. package/dist/components/{p-DfOFSSQu.js → p-Cop5m_ZM.js} +1 -1
  235. package/dist/components/p-Cq9Ck17A.js +1 -0
  236. package/dist/components/{p-BDfmyF39.js → p-Ctox8Lg6.js} +1 -1
  237. package/dist/components/p-CwQG70_4.js +1 -0
  238. package/dist/components/p-D25uRUSS.js +1 -0
  239. package/dist/components/{p-RQ8cBtrk.js → p-D29Sbsl9.js} +1 -1
  240. package/dist/components/p-D5wfsq08.js +1 -0
  241. package/dist/components/p-DAKk3DP1.js +1 -0
  242. package/dist/components/{p-jsBSoPbc.js → p-DAb-3URQ.js} +1 -1
  243. package/dist/components/p-DPc49L2n.js +1 -0
  244. package/dist/components/{p-CaAUGmrL.js → p-DfnFrfyL.js} +1 -1
  245. package/dist/components/p-DmzXDHw8.js +1 -0
  246. package/dist/components/{p-B9FBrSMo.js → p-Dolot2T0.js} +1 -1
  247. package/dist/components/p-Dp60j03z.js +1 -0
  248. package/dist/components/{p-Cokzwe6N.js → p-Dw6QWvDh.js} +1 -1
  249. package/dist/components/{p-DrTCtmBD.js → p-I0RMpdxn.js} +1 -1
  250. package/dist/components/p-LNjvz3Yz.js +1 -0
  251. package/dist/components/p-YBYXO3s0.js +1 -0
  252. package/dist/components/p-accordion.js +1 -1
  253. package/dist/components/p-attachment.js +1 -1
  254. package/dist/components/p-avatar-group.js +1 -1
  255. package/dist/components/p-avatar.js +1 -1
  256. package/dist/components/p-backdrop.js +1 -1
  257. package/dist/components/p-badge.js +1 -1
  258. package/dist/components/p-button-group.js +1 -1
  259. package/dist/components/p-button.js +1 -1
  260. package/dist/components/p-calendar.js +1 -1
  261. package/dist/components/p-card-body.js +1 -1
  262. package/dist/components/p-card-container.js +1 -1
  263. package/dist/components/p-card-header.js +1 -1
  264. package/dist/components/p-checkbox.js +1 -1
  265. package/dist/components/p-content-slider.js +1 -1
  266. package/dist/components/p-cropper.js +1 -3
  267. package/dist/components/p-datepicker.js +1 -1
  268. package/dist/components/p-divider.js +1 -1
  269. package/dist/components/p-drawer-body.js +1 -1
  270. package/dist/components/p-drawer-container.js +1 -1
  271. package/dist/components/p-drawer-header.js +1 -1
  272. package/dist/components/p-drawer.js +1 -1
  273. package/dist/components/p-dropdown-menu-container.js +1 -1
  274. package/dist/components/p-dropdown-menu-item.js +1 -1
  275. package/dist/components/p-dropdown.js +1 -1
  276. package/dist/components/p-empty-state.js +1 -1
  277. package/dist/components/{p-_WkhyO8Y.js → p-f2XeK6vS.js} +1 -1
  278. package/dist/components/p-field-container.js +1 -1
  279. package/dist/components/p-field.js +1 -1
  280. package/dist/components/p-floating-menu-container.js +1 -1
  281. package/dist/components/p-floating-menu-item.js +1 -1
  282. package/dist/components/p-helper.js +1 -1
  283. package/dist/components/p-icon.js +1 -1
  284. package/dist/components/p-illustration.js +1 -1
  285. package/dist/components/p-info-panel.js +1 -1
  286. package/dist/components/{p-D7xFC2oe.js → p-jz4pgX_D.js} +1 -1
  287. package/dist/components/p-label.js +1 -1
  288. package/dist/components/p-listing-item.js +1 -1
  289. package/dist/components/p-listing-line.js +1 -1
  290. package/dist/components/p-listing.js +1 -1
  291. package/dist/components/p-loader.js +1 -1
  292. package/dist/components/p-modal-body.js +1 -1
  293. package/dist/components/p-modal-container.js +1 -1
  294. package/dist/components/p-modal-footer.js +1 -1
  295. package/dist/components/p-modal-header.js +1 -1
  296. package/dist/components/p-modal.js +1 -1
  297. package/dist/components/p-navbar.js +1 -1
  298. package/dist/components/p-navigation-item.js +1 -1
  299. package/dist/components/p-navigation-section.js +1 -1
  300. package/dist/components/p-navigation-title.js +1 -1
  301. package/dist/components/p-pagination-pages-item.js +1 -1
  302. package/dist/components/p-pagination-pages.js +1 -1
  303. package/dist/components/p-pagination-size.js +1 -1
  304. package/dist/components/p-pagination.js +1 -1
  305. package/dist/components/p-profile.js +1 -1
  306. package/dist/components/p-radio.js +1 -1
  307. package/dist/components/p-range.js +1 -1
  308. package/dist/components/p-segment-container.js +1 -1
  309. package/dist/components/p-segment-item.js +1 -1
  310. package/dist/components/p-select.js +1 -1
  311. package/dist/components/p-stepper-item.js +1 -1
  312. package/dist/components/p-stepper-line.js +1 -1
  313. package/dist/components/p-stepper.js +1 -1
  314. package/dist/components/p-tab-container.js +1 -1
  315. package/dist/components/p-tab-item.js +1 -1
  316. package/dist/components/p-table-cell.js +1 -1
  317. package/dist/components/p-table-footer.js +1 -1
  318. package/dist/components/p-table-header.js +1 -1
  319. package/dist/components/p-table-row-actions-container.js +1 -1
  320. package/dist/components/p-table-row.js +1 -1
  321. package/dist/components/p-table.js +1 -1
  322. package/dist/components/p-toast.js +1 -1
  323. package/dist/components/p-toggle.js +1 -1
  324. package/dist/components/p-tooltip.js +1 -1
  325. package/dist/components/{p-BlbZgM1V.js → p-u1RuzYH-.js} +1 -1
  326. package/dist/components/p-xlO2hePk.js +1 -0
  327. package/dist/esm/{child-of-BFSNj6hu.js → child-of-TyZ7uPES.js} +1 -3
  328. package/dist/esm/index-PW1zQoNr.js +0 -4
  329. package/dist/esm/index.js +488 -493
  330. package/dist/esm/is-mobile-browser-DPc49L2n.js +15 -0
  331. package/dist/esm/loader.js +1 -1
  332. package/dist/esm/{localization-DiJj8rmO.js → localization-CwQG70_4.js} +15 -20
  333. package/dist/esm/object-get-by-path-CLLU0oUD.js +12 -0
  334. package/dist/esm/p-accordion.entry.js +4 -4
  335. package/dist/esm/p-attachment.entry.js +8 -8
  336. package/dist/esm/p-avatar-group.entry.js +1 -1
  337. package/dist/esm/p-avatar.entry.js +1 -1
  338. package/dist/esm/p-backdrop.entry.js +5 -5
  339. package/dist/esm/p-badge_3.entry.js +7 -7
  340. package/dist/esm/p-button-group.entry.js +4 -2
  341. package/dist/esm/p-button_3.entry.js +12 -10
  342. package/dist/esm/p-calendar.entry.js +16 -16
  343. package/dist/esm/p-card-body.entry.js +3 -3
  344. package/dist/esm/p-card-container.entry.js +4 -4
  345. package/dist/esm/p-card-header.entry.js +5 -5
  346. package/dist/esm/p-checkbox_3.entry.js +30 -30
  347. package/dist/esm/p-content-slider.entry.js +7 -7
  348. package/dist/esm/p-cropper.entry.js +3 -2802
  349. package/dist/esm/p-datepicker.entry.js +7 -7
  350. package/dist/esm/p-divider.entry.js +4 -4
  351. package/dist/esm/p-drawer-body_3.entry.js +6 -6
  352. package/dist/esm/p-drawer.entry.js +4 -6
  353. package/dist/esm/p-dropdown-menu-item_2.entry.js +8 -8
  354. package/dist/esm/p-empty-state_8.entry.js +57 -58
  355. package/dist/esm/p-field_3.entry.js +16 -16
  356. package/dist/esm/p-floating-menu-item.entry.js +4 -4
  357. package/dist/esm/p-iban-icon.entry.js +16 -8
  358. package/dist/esm/p-illustration.entry.js +19 -19
  359. package/dist/esm/p-info-panel.entry.js +4 -4
  360. package/dist/esm/p-label.entry.js +5 -5
  361. package/dist/esm/p-listing-item.entry.js +3 -3
  362. package/dist/esm/p-listing-line.entry.js +3 -3
  363. package/dist/esm/p-listing.entry.js +2 -2
  364. package/dist/esm/p-modal-body_4.entry.js +8 -8
  365. package/dist/esm/p-navbar.entry.js +3 -3
  366. package/dist/esm/p-navigation-item.entry.js +5 -5
  367. package/dist/esm/p-navigation-section.entry.js +3 -3
  368. package/dist/esm/p-navigation-title.entry.js +3 -3
  369. package/dist/esm/p-pagination_3.entry.js +23 -23
  370. package/dist/esm/p-profile.entry.js +3 -3
  371. package/dist/esm/p-radio.entry.js +6 -6
  372. package/dist/esm/p-range.entry.js +6 -6
  373. package/dist/esm/p-select.entry.js +13 -13
  374. package/dist/esm/p-stepper-item_2.entry.js +7 -7
  375. package/dist/esm/p-tab-item.entry.js +3 -3
  376. package/dist/esm/p-table-extra-header.entry.js +2 -2
  377. package/dist/esm/p-table.entry.js +20 -25
  378. package/dist/esm/p-toast.entry.js +3 -3
  379. package/dist/esm/p-toggle.entry.js +7 -7
  380. package/dist/esm/p-tooltip.entry.js +11 -11
  381. package/dist/esm/paperless.js +1 -1
  382. package/dist/esm/{screens-B3sNjfzc.js → screens-CWO2YJCh.js} +3 -5
  383. package/dist/esm/{state-CFpjsZN7.js → state-DAO0Ru6K.js} +6 -4
  384. package/dist/esm/{table-helpers-ChunMu-S.js → table-helpers-CfQnOr9V.js} +3 -2
  385. package/dist/esm/themed-host.component-Bc5wHkoH.js +6 -0
  386. package/dist/index.html +1 -1
  387. package/dist/paperless/index.esm.js +1 -1
  388. package/dist/paperless/p-0305046c.entry.js +1 -0
  389. package/dist/paperless/{p-993bf657.entry.js → p-0898e57b.entry.js} +1 -1
  390. package/dist/paperless/p-099a4c60.entry.js +1 -0
  391. package/dist/paperless/{p-4fde72a3.entry.js → p-0c094c99.entry.js} +1 -1
  392. package/dist/paperless/{p-3cea628d.entry.js → p-0eb7a6e4.entry.js} +1 -1
  393. package/dist/paperless/p-14a2caa3.entry.js +1 -0
  394. package/dist/paperless/{p-425a3a05.entry.js → p-1ce28114.entry.js} +1 -1
  395. package/dist/paperless/p-2509308d.entry.js +1 -0
  396. package/dist/paperless/p-389f92f8.entry.js +1 -0
  397. package/dist/{build/p-79fe6a2f.entry.js → paperless/p-400ae3ad.entry.js} +1 -1
  398. package/dist/{build/p-6ff7e89b.entry.js → paperless/p-4793863e.entry.js} +1 -1
  399. package/dist/paperless/{p-d36ebc95.entry.js → p-4ad6dd58.entry.js} +1 -1
  400. package/dist/paperless/p-4d456377.entry.js +1 -0
  401. package/dist/paperless/{p-4dfa0a37.entry.js → p-4f068009.entry.js} +1 -1
  402. package/dist/{build/p-6577db68.entry.js → paperless/p-62c4c7d7.entry.js} +1 -1
  403. package/dist/paperless/p-6ff8d21c.entry.js +1 -0
  404. package/dist/paperless/{p-e8729580.entry.js → p-7ae963de.entry.js} +1 -1
  405. package/dist/paperless/p-846f47bd.entry.js +1 -0
  406. package/dist/paperless/{p-3430af7f.entry.js → p-870a63fb.entry.js} +1 -1
  407. package/dist/paperless/p-8bd7c93a.entry.js +1 -0
  408. package/dist/{build/p-e9582485.entry.js → paperless/p-8d0c1f36.entry.js} +1 -1
  409. package/dist/paperless/{p-c0cec615.entry.js → p-8ed529ba.entry.js} +1 -1
  410. package/dist/paperless/{p-530d8958.entry.js → p-92bbdecc.entry.js} +1 -1
  411. package/dist/paperless/{p-62555ccd.entry.js → p-93bbde98.entry.js} +1 -1
  412. package/dist/paperless/p-958c8a2c.entry.js +1 -0
  413. package/dist/paperless/{p-71e02082.entry.js → p-9a49375d.entry.js} +1 -1
  414. package/dist/paperless/{p-CrdJDtHg.js → p-CLLU0oUD.js} +1 -1
  415. package/dist/paperless/p-CWO2YJCh.js +1 -0
  416. package/dist/paperless/p-CXVK8SLW.js +1 -0
  417. package/dist/paperless/p-CwQG70_4.js +1 -0
  418. package/dist/paperless/{p-BTx_Jfhh.js → p-DE-sstf_.js} +1 -1
  419. package/dist/paperless/p-DPc49L2n.js +1 -0
  420. package/dist/paperless/p-DzdX_Z5B.js +1 -0
  421. package/dist/paperless/p-V194S7Dm.js +1 -0
  422. package/dist/{build/p-cd525c37.entry.js → paperless/p-a23a90d6.entry.js} +1 -1
  423. package/dist/paperless/{p-3c806e0f.entry.js → p-a4109895.entry.js} +1 -1
  424. package/dist/paperless/p-ad468b70.entry.js +1 -0
  425. package/dist/paperless/p-af320255.entry.js +1 -0
  426. package/dist/paperless/p-b2248597.entry.js +1 -0
  427. package/dist/{build/p-abda244c.entry.js → paperless/p-b37d0053.entry.js} +1 -1
  428. package/dist/{build/p-f0165e95.entry.js → paperless/p-bfb06294.entry.js} +1 -1
  429. package/dist/{build/p-5d60b2c6.entry.js → paperless/p-c7835f10.entry.js} +1 -1
  430. package/dist/paperless/{p-1c6969ee.entry.js → p-cfe81f27.entry.js} +1 -1
  431. package/dist/paperless/p-d0d0a314.entry.js +1 -0
  432. package/dist/paperless/p-d38642c4.entry.js +1 -0
  433. package/dist/paperless/p-e30abf73.entry.js +1 -0
  434. package/dist/paperless/{p-cacd9fe0.entry.js → p-e6222abf.entry.js} +1 -1
  435. package/dist/paperless/p-e9d2bdd6.entry.js +1 -0
  436. package/dist/paperless/p-f1f160c0.entry.js +1 -0
  437. package/dist/paperless/{p-1e7e0082.entry.js → p-f3daeb8f.entry.js} +1 -1
  438. package/dist/paperless/{p-4cd0eb6f.entry.js → p-f8d8d142.entry.js} +1 -1
  439. package/dist/paperless/p-f9c9004b.entry.js +1 -0
  440. package/dist/paperless/paperless.esm.js +1 -1
  441. package/dist/sw.js +1 -1
  442. package/dist/sw.js.map +1 -1
  443. package/dist/tailwind/paperless.ts +5 -12
  444. package/dist/tailwind/plugins/safe-area.ts +0 -1
  445. package/dist/tailwind.config.ts +4 -1
  446. package/dist/types/components/atoms/card/header/card-header.component.d.ts +1 -1
  447. package/dist/types/components/atoms/dropdown-menu/item/dropdown-menu-item.component.d.ts +1 -1
  448. package/dist/types/components/atoms/floating-menu/item/floating-menu-item.component.d.ts +1 -2
  449. package/dist/types/components/atoms/icon/icon.component.d.ts +1 -3
  450. package/dist/types/components/atoms/illustration/illustration.component.d.ts +1 -2
  451. package/dist/types/components/atoms/listing/item/listing-item.component.d.ts +1 -1
  452. package/dist/types/components/atoms/segment/item/segment-item.component.d.ts +1 -1
  453. package/dist/types/components/helpers/table/extra-header/table-extra-header.component.d.ts +5 -5
  454. package/dist/types/components/helpers/table/row-action/table-row-action.component.d.ts +2 -1
  455. package/dist/types/components/molecules/button/button.component.d.ts +1 -1
  456. package/dist/types/components/molecules/cropper/cropper.component.d.ts +0 -1
  457. package/dist/types/components/molecules/empty-state/empty-state.component.d.ts +3 -1
  458. package/dist/types/components/molecules/field/field/field.component.d.ts +1 -1
  459. package/dist/types/components/molecules/label/label.component.d.ts +1 -2
  460. package/dist/types/components/molecules/navigation/item/navigation-item.component.d.ts +1 -1
  461. package/dist/types/components/molecules/select/select.component.d.ts +1 -1
  462. package/dist/types/components/molecules/table/header/table-header.component.d.ts +1 -1
  463. package/dist/types/components/molecules/table/row/table-row.component.d.ts +1 -1
  464. package/dist/types/components/molecules/toast/toast.component.d.ts +1 -2
  465. package/dist/types/components/organisms/table/table.component.d.ts +1 -1
  466. package/dist/types/components.d.ts +58 -83
  467. package/dist/types/types/icon.d.ts +3 -0
  468. package/dist/types/types/illustration.d.ts +2 -0
  469. package/dist/types/types/index.d.ts +2 -0
  470. package/dist/types/utils/index.d.ts +0 -1
  471. package/dist/types/utils/table-helpers.d.ts +1 -1
  472. package/hydrate/index.js +411 -4867
  473. package/hydrate/index.mjs +411 -4867
  474. package/package.json +3 -2
  475. package/dist/assets/illustrations-old/default-empty-state.svg +0 -186
  476. package/dist/assets/illustrations-old/departments.svg +0 -31
  477. package/dist/assets/illustrations-old/e-mail.svg +0 -1
  478. package/dist/assets/illustrations-old/empty-state-add.svg +0 -65
  479. package/dist/assets/illustrations-old/empty-state-overview.svg +0 -58
  480. package/dist/assets/illustrations-old/empty-state-search.svg +0 -88
  481. package/dist/assets/illustrations-old/expenses.svg +0 -397
  482. package/dist/assets/illustrations-old/functions.svg +0 -58
  483. package/dist/assets/illustrations-old/questions.svg +0 -30
  484. package/dist/assets/illustrations-old/sick-leave.svg +0 -353
  485. package/dist/assets/illustrations-old/time-off.svg +0 -271
  486. package/dist/assets/illustrations-old/upgrade-to-hr.svg +0 -56
  487. package/dist/build/p--Uc_OJAV.js +0 -1
  488. package/dist/build/p-03fd9f72.entry.js +0 -1
  489. package/dist/build/p-056a5f06.entry.js +0 -3
  490. package/dist/build/p-0d101f98.entry.js +0 -1
  491. package/dist/build/p-1204b8ec.entry.js +0 -1
  492. package/dist/build/p-19e4c44e.entry.js +0 -1
  493. package/dist/build/p-20a030ef.entry.js +0 -1
  494. package/dist/build/p-24856eda.entry.js +0 -1
  495. package/dist/build/p-24bddbaa.entry.js +0 -1
  496. package/dist/build/p-387cdb34.entry.js +0 -1
  497. package/dist/build/p-3ddaa2cd.entry.js +0 -1
  498. package/dist/build/p-483d393e.entry.js +0 -1
  499. package/dist/build/p-4d861417.entry.js +0 -1
  500. package/dist/build/p-61eb4488.entry.js +0 -1
  501. package/dist/build/p-6347bcd4.entry.js +0 -1
  502. package/dist/build/p-6995f239.entry.js +0 -1
  503. package/dist/build/p-6c89af81.entry.js +0 -1
  504. package/dist/build/p-7f74906f.js +0 -1
  505. package/dist/build/p-93e0869b.entry.js +0 -1
  506. package/dist/build/p-B3sNjfzc.js +0 -1
  507. package/dist/build/p-CZ2yMw9N.js +0 -1
  508. package/dist/build/p-DVCJlilm.js +0 -1
  509. package/dist/build/p-DiJj8rmO.js +0 -1
  510. package/dist/build/p-NPruj4qY.js +0 -1
  511. package/dist/build/p-bc2ffc30.entry.js +0 -1
  512. package/dist/build/p-f06b0222.entry.js +0 -1
  513. package/dist/build/p-f15fd725.entry.js +0 -1
  514. package/dist/cjs/is-mobile-browser-B0H5zume.js +0 -17
  515. package/dist/cjs/object-get-by-path-D9RiabwP.js +0 -12
  516. package/dist/cjs/p-illustration-deprecated.cjs.entry.js +0 -1648
  517. package/dist/cjs/themed-host.component-DWdd52wm.js +0 -10
  518. package/dist/collection/assets/illustrations-old/default-empty-state.svg +0 -186
  519. package/dist/collection/assets/illustrations-old/departments.svg +0 -31
  520. package/dist/collection/assets/illustrations-old/e-mail.svg +0 -1
  521. package/dist/collection/assets/illustrations-old/empty-state-add.svg +0 -65
  522. package/dist/collection/assets/illustrations-old/empty-state-overview.svg +0 -58
  523. package/dist/collection/assets/illustrations-old/empty-state-search.svg +0 -88
  524. package/dist/collection/assets/illustrations-old/expenses.svg +0 -397
  525. package/dist/collection/assets/illustrations-old/functions.svg +0 -58
  526. package/dist/collection/assets/illustrations-old/questions.svg +0 -30
  527. package/dist/collection/assets/illustrations-old/sick-leave.svg +0 -353
  528. package/dist/collection/assets/illustrations-old/time-off.svg +0 -271
  529. package/dist/collection/assets/illustrations-old/upgrade-to-hr.svg +0 -56
  530. package/dist/collection/components/deprecated/atoms/illustration-deprecated/illustration-deprecated.component.js +0 -45
  531. package/dist/collection/utils/illustrations-deprecated.js +0 -26
  532. package/dist/components/p--Uc_OJAV.js +0 -1
  533. package/dist/components/p-2dC48qJE.js +0 -1
  534. package/dist/components/p-2zUJV2yE.js +0 -1
  535. package/dist/components/p-B0d5ICrL.js +0 -1
  536. package/dist/components/p-B3sNjfzc.js +0 -1
  537. package/dist/components/p-B4Gc--KS.js +0 -1
  538. package/dist/components/p-Bh667c8S.js +0 -1
  539. package/dist/components/p-BjTqIvvg.js +0 -1
  540. package/dist/components/p-BljhRK77.js +0 -1
  541. package/dist/components/p-CMXVofAG.js +0 -1
  542. package/dist/components/p-CXpy7GgN.js +0 -1
  543. package/dist/components/p-Cjis2n9e.js +0 -1
  544. package/dist/components/p-D4Meeik_.js +0 -1
  545. package/dist/components/p-DVCJlilm.js +0 -1
  546. package/dist/components/p-DVnjKUSi.js +0 -1
  547. package/dist/components/p-DiJj8rmO.js +0 -1
  548. package/dist/components/p-Dx2gSqsW.js +0 -1
  549. package/dist/components/p-amH7ioHZ.js +0 -1
  550. package/dist/components/p-illustration-deprecated.d.ts +0 -11
  551. package/dist/components/p-illustration-deprecated.js +0 -1
  552. package/dist/esm/is-mobile-browser-DVCJlilm.js +0 -15
  553. package/dist/esm/object-get-by-path-CrdJDtHg.js +0 -10
  554. package/dist/esm/p-illustration-deprecated.entry.js +0 -1646
  555. package/dist/esm/themed-host.component-c1iZisXm.js +0 -8
  556. package/dist/paperless/p--Uc_OJAV.js +0 -1
  557. package/dist/paperless/p-03fd9f72.entry.js +0 -1
  558. package/dist/paperless/p-056a5f06.entry.js +0 -3
  559. package/dist/paperless/p-0d101f98.entry.js +0 -1
  560. package/dist/paperless/p-1204b8ec.entry.js +0 -1
  561. package/dist/paperless/p-19e4c44e.entry.js +0 -1
  562. package/dist/paperless/p-20a030ef.entry.js +0 -1
  563. package/dist/paperless/p-24856eda.entry.js +0 -1
  564. package/dist/paperless/p-24bddbaa.entry.js +0 -1
  565. package/dist/paperless/p-387cdb34.entry.js +0 -1
  566. package/dist/paperless/p-3ddaa2cd.entry.js +0 -1
  567. package/dist/paperless/p-483d393e.entry.js +0 -1
  568. package/dist/paperless/p-4d861417.entry.js +0 -1
  569. package/dist/paperless/p-61eb4488.entry.js +0 -1
  570. package/dist/paperless/p-6347bcd4.entry.js +0 -1
  571. package/dist/paperless/p-6995f239.entry.js +0 -1
  572. package/dist/paperless/p-6c89af81.entry.js +0 -1
  573. package/dist/paperless/p-93e0869b.entry.js +0 -1
  574. package/dist/paperless/p-B3sNjfzc.js +0 -1
  575. package/dist/paperless/p-CZ2yMw9N.js +0 -1
  576. package/dist/paperless/p-DVCJlilm.js +0 -1
  577. package/dist/paperless/p-DiJj8rmO.js +0 -1
  578. package/dist/paperless/p-NPruj4qY.js +0 -1
  579. package/dist/paperless/p-bc2ffc30.entry.js +0 -1
  580. package/dist/paperless/p-f06b0222.entry.js +0 -1
  581. package/dist/paperless/p-f15fd725.entry.js +0 -1
  582. package/dist/types/components/deprecated/atoms/illustration-deprecated/illustration-deprecated.component.d.ts +0 -10
  583. package/dist/types/utils/illustrations-deprecated.d.ts +0 -15
  584. package/dist/build/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
  585. package/dist/build/{p-49063862.entry.js → p-a096e5b9.entry.js} +0 -0
  586. package/dist/build/{p-10e45aa0.entry.js → p-a91d2d7d.entry.js} +0 -0
  587. package/dist/build/{p-ce739b80.entry.js → p-ea4df80c.entry.js} +0 -0
  588. package/dist/cjs/{icons-DoJUuFS5.js → icons-C2jYPq9N.js} +58 -58
  589. package/dist/components/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
  590. package/dist/esm/{icons--Uc_OJAV.js → icons-CXVK8SLW.js} +58 -58
  591. /package/dist/paperless/{p-BFSNj6hu.js → p-TyZ7uPES.js} +0 -0
  592. /package/dist/paperless/{p-49063862.entry.js → p-a096e5b9.entry.js} +0 -0
  593. /package/dist/paperless/{p-10e45aa0.entry.js → p-a91d2d7d.entry.js} +0 -0
  594. /package/dist/paperless/{p-ce739b80.entry.js → p-ea4df80c.entry.js} +0 -0
@@ -1 +0,0 @@
1
- import{r as t,a as e,d as i,h as s}from"./p-PW1zQoNr.js";import{a as r}from"./p-BFSNj6hu.js";import{c as a}from"./p-CBWjHURv.js";import{c as h}from"./p-CT54OXR2.js";import{S as o}from"./p-vyRrSf5s.js";import{T as n}from"./p-CZ2yMw9N.js";import"./p-ChV9xqsO.js";import"./p-NPruj4qY.js";const l=a(["flex items-center gap-2","flex-1 min-w-0 h-full","pointer-events-none overflow-hidden"]),d=a(["item group/item","pointer-events-auto cursor-pointer","flex h-[1.625rem] items-center gap-2","h-[1.625rem] px-2","text-sm font-semibold whitespace-nowrap","rounded-lg","bg-indigo-100","dark:bg-white/15"]),c=a("block w-full overflow-hidden text-start",{variants:{variant:{placeholder:"text-storm-400 dark:text-white",default:null},enableTextWrap:{true:!1,false:"text-ellipsis whitespace-nowrap"},error:{true:"text-negative-red-700 dark:text-negative-red-alternative group-hover/button:text-negative-red-800",false:null}}}),p=class{constructor(i){t(this,i),this.queryChange=e(this,"queryChange",3),this.valueChange=e(this,"valueChange",3),this.selectAllChange=e(this,"selectAllChange",3),this.dropdownShown=e(this,"dropdownShown",3),this.add=e(this,"add",3),i.$hostElement$["s-ei"]?this._internals=i.$hostElement$["s-ei"]:(this._internals=i.$hostElement$.attachInternals(),i.$hostElement$["s-ei"]=this._internals)}items;multi;strategy="absolute";icon;query;placeholder;autocompletePlaceholder="Search...";value;displayKey="text";dropdownDisplayKey;selectionDisplayKey;valueKey;avatarKey;iconKey="icon";iconClassKey="iconClass";showIconOnSelectedItem;classKey="class";applyClassOnSelectedItem;applyClassOnSelectedItemInMenu;avatarLettersKey;identifierKey;queryKey;autoSelectFirst=!0;showChevron=!0;maxDisplayedItems=o;enableAutocomplete=!0;enableTextWrap=!1;asyncFilter=!1;loading=!1;enableSelectAll=!1;selectAllText="Select all";selectAllIcon;queryChange;valueChange;selectAllChange;dropdownShown;size="base";prefix;label;helper;required=!0;showOptional=!0;error;disabled=!1;showAddItem=!1;addItemText="Add item";add;emptyStateText="No items available";get _el(){return i(this)}_showDropdown=!1;_selectedItem=null;_allSelected=!1;_amountHidden=0;_internals;_inputRef;autocompleteInputRef;_multiContainerRef;_resizeObserver;_resizeDebounceTimer;_checkSelectedItemsTimeout;get _items(){return this._getParsedItems()}get _displayValue(){const t=s("div",{class:c({variant:"placeholder"})},this.placeholder);return this._selectedItem?this.multi?0===this._selectedItem?.length?t:s("div",{class:l(),ref:t=>this._multiContainerRef=t},this._selectedItem.map((t=>s("div",{class:d(),onClick:()=>this._selectValue(t)},t[this.selectionDisplayKey??this.displayKey],s("p-icon",{class:"text-xs text-indigo-500 group-hover/item:text-indigo-800 dark:text-white/15 dark:group-hover/item:text-white",variant:"negative"})))),s("div",{class:"extra pointer-events-none hidden text-sm text-storm-100"},"+",this._amountHidden)):this._getDisplay(this._selectedItem,!0):t}get _identifierKey(){return this.identifierKey??this.valueKey??"value"}formResetCallback(){this._selectValue(null)}componentDidLoad(){if(!this.valueKey&&!this.identifierKey)throw new Error("You must provide a valueKey or identifierKey");this.multi&&(this._setMultiContainerMaxWidth(),this._resizeObserver=new ResizeObserver((()=>{this._resizeDebounceTimer&&(clearTimeout(this._resizeDebounceTimer),this._resizeDebounceTimer=null),this._resizeDebounceTimer=setTimeout((()=>{this._setMultiContainerMaxWidth(),this._setCheckSelectedItemsTimeout()}),200)})),this._resizeObserver.observe(this._el)),this.value?this._valueChange():this.itemChanges()}componentDidRender(){this.multi&&this._setMultiContainerMaxWidth()}disconnectedCallback(){this.multi&&this._resizeObserver.disconnect()}render(){let t=this.icon;return this._selectedItem&&!this.avatarKey&&this.iconKey&&this._selectedItem?.[this.iconKey]&&!this.showIconOnSelectedItem&&(t=this._selectedItem[this.iconKey]),(this.avatarKey&&this._selectedItem?.[this.avatarKey]||this.avatarLettersKey&&this._selectedItem?.[this.avatarLettersKey])&&(t=null),this.error?.length&&(t="warning"),s(n,{key:"084b1a54a9951dfa2172790f0532f968ffc13e7e"},s("p-field-container",{key:"f03f6c66b33ea82dbf7993be632ba4dfac96259c",variant:"write",prefix:this.prefix,label:this.label,helper:this.helper,required:this.required,showOptional:this.showOptional,error:this.error,forceShowTooltip:!!this.error?.length&&!this._showDropdown},s("p-dropdown",{key:"0cb8a9b1f0d2c2d8a5ca210ad7cbc71936e1d13f",applyFullWidth:!0,applyMaxWidth:!1,slot:"content",insideClick:!0,manual:!0,scrollable:!this.enableAutocomplete||"large","disable-trigger-click":this.disabled,show:this._showDropdown,onIsOpen:t=>this._onDropdownOpen(t),strategy:this.strategy},s("p-button",{key:"426ea7608bf5dd1e65b1d333e219f518284bd66d",slot:"trigger",class:"w-full",variant:"secondary",size:this.size,chevron:!!this.showChevron&&(this._showDropdown?"up":"down"),active:this._showDropdown,error:!!this.error?.length,icon:t,iconClass:this.applyClassOnSelectedItem&&this._selectedItem?.[this.iconClassKey],onClick:t=>this._onClick(t)},s("div",{key:"8ef70614b41200ca62df0f008f84c047527054e4",class:"relative min-w-0 flex-1",ref:t=>this._inputRef=t},this._displayValue)),this.loading?this._getLoadingItems():this._getItems(),this.showAddItem&&this._getAddItem())))}documentClickHandler(t){this._showDropdown&&!r(t,this._el)&&(this._showDropdown=!1)}_valueChange(){setTimeout((()=>{this._preselectItem(),this._setCheckSelectedItemsTimeout()}))}itemChanges(){setTimeout((()=>this._preselectItem()))}_showDropdownChanges(){this.dropdownShown.emit({value:this._showDropdown,query:this.query})}multiChanges(){this._selectedItem&&!Array.isArray(this._selectedItem)&&(this._selectedItem=[])}_preselectItem(){let t="string"==typeof this.value&&this.multi?JSON.parse(this.value):this.value;if(this.multi)return Array.isArray(t)?(this.value=t,t.length?void(this._selectedItem=this.valueKey&&"false"!==this.valueKey?this._items.filter((e=>t.includes(e?.[this.valueKey]))):[...t]):void(this._selectedItem=[])):(this.value=[],void this.valueChange.emit(this.value));this._selectedItem||t||!this.autoSelectFirst||(t=this._items[0]);const e="object"==typeof t&&null!==t?t[this._identifierKey]:t,i="string"==typeof e||"number"==typeof e?e:JSON.stringify(e),s=this._selectedItem?this._selectedItem?.[this._identifierKey]:null,r="string"==typeof s||"number"==typeof s?s:JSON.stringify(s);if(this._selectedItem&&r===i)return;if(!this._items?.length&&t)return void this._selectValue(t,!1);const a=this._getParsedItems(!1).find((t=>{const e=t?.[this._identifierKey];return("string"==typeof e||"number"==typeof e?e:JSON.stringify(e))===i}));this._selectValue(a||t,!1)}_selectValue(t,e=!0){let i=this.valueKey&&"false"!==this.valueKey&&null!==t&&!this.loading?t?.[this.valueKey]:t;if(this.multi){this._selectedItem&&Array.isArray(this._selectedItem)||(this._selectedItem=[]),this.value&&Array.isArray(this.value)||(this.value=[]);const e=[...this._selectedItem],s=[...this.value],r=e.findIndex((e=>e[this._identifierKey]===t[this._identifierKey]));return-1===r?(e.push(t),s.push(i)):(e.splice(r,1),s.splice(r,1)),this._selectedItem=e,this.value=s,void this.valueChange.emit(s)}this._selectedItem=t,this._onBlur(e),i!==this.value&&(this.value=i,this.valueChange.emit(i))}_onClick(t){const e=t?.composedPath();for(const t of e){if("p-button"===t.nodeName.toLowerCase())break;if(t.classList?.contains("item"))return}this._showDropdown=!this._showDropdown}_onBlur(t=!1){this.enableAutocomplete&&!t||(this._showDropdown=!1)}_onAutoComplete(t){this.enableAutocomplete&&(this._showDropdown=!0,this.query=t.detail,this.queryChange.emit(t.detail))}_checkvalue(t,e){return e?.[t]?.toString()?.toLowerCase().indexOf(this.query?.toLowerCase())>=0}_getItems(){let t=this._items.map((t=>{const e=this.multi&&this._selectedItem&&Array.isArray(this._selectedItem)?this._selectedItem.findIndex((e=>e[this._identifierKey]===t[this._identifierKey]))>=0:t[this._identifierKey]===this._selectedItem?.[this._identifierKey];return s("p-dropdown-menu-item",{enableTextWrap:this.enableTextWrap,useContainer:!1,onClick:()=>this._selectValue(t),active:e,checkbox:!!this.multi,slot:"items"},this._getDisplay(t,!1,e))}));return this._items.length||(t=[s("p",{class:"w-full p-2 text-center text-sm text-storm-400 dark:text-hurricane-200",slot:"items"},this.emptyStateText)]),this.enableSelectAll&&this._items.length&&t.unshift(s("p-dropdown-menu-item",{slot:"items",useContainer:!1,checkbox:!0,onClick:()=>this._selectAllChange(),active:this._allSelected},this.selectAllIcon?.length?s("span",{class:"flex items-center gap-2"},s("div",{class:"flex w-6 justify-center text-lg"},s("p-icon",{variant:this.selectAllIcon}))," ",this.selectAllText):this.selectAllText)),this.enableAutocomplete&&t.unshift(this._getAutoCompleteItem()),t}_getAddItem(){return s("p-dropdown-menu-item",{onClick:()=>this.add.emit(),useContainer:!1,slot:"items"},s("span",{class:"flex items-center gap-1 font-semibold text-indigo-600"},this.addItemText,s("p-icon",{variant:"plus"})))}_getLoadingItems(){const t=[0,0,0].map((()=>s("p-dropdown-menu-item",{enableHover:!1,slot:"items"},s("p-loader",{variant:"ghost",class:"h-6 w-full rounded"}))));return this.enableAutocomplete&&t.unshift(this._getAutoCompleteItem()),t}_getAutoCompleteItem(){return s("div",{class:"sticky top-0 z-10 mb-3 h-8",slot:"items"},s("p-field",{class:"block",placeholder:this.autocompletePlaceholder,onValueChange:t=>this._onAutoComplete(t),onInputRefChange:t=>this.autocompleteInputRef=t.detail,value:this.query}))}_setMultiContainerMaxWidth(){if(!this._inputRef||!this._multiContainerRef)return;const t=this._inputRef.clientWidth-16;this._multiContainerRef.style.maxWidth=`${t>=16?t:16}px`}_setCheckSelectedItemsTimeout(){this._checkSelectedItemsTimeout&&clearTimeout(this._checkSelectedItemsTimeout),this._checkSelectedItemsTimeout=setTimeout((()=>this._checkSelectedItems()),50)}_checkSelectedItems(){if(!this._multiContainerRef)return;const t=this._multiContainerRef.getBoundingClientRect(),e=this._multiContainerRef.querySelectorAll(".item");let i=0;for(const s of e)s.classList.remove("hidden"),s.classList.add("flex"),s.getBoundingClientRect().right>t.right&&(s.classList.remove("flex"),s.classList.add("hidden"),i++);this._amountHidden=i;const s=this._multiContainerRef.querySelector(".extra");s&&(s.classList.contains("hidden")||s.classList.add("hidden"),i>0&&s.classList.remove("hidden"))}_onDropdownOpen(t){t.detail&&this.autocompleteInputRef&&setTimeout((()=>this.autocompleteInputRef.focus()),100)}_selectAllChange(){this._allSelected=!this._allSelected,this.selectAllChange.emit(this._allSelected)}_getDisplay(t,e=!1,i=!1){let r=s("div",{class:c({variant:"default",error:!!this.error?.length,enableTextWrap:this.enableTextWrap&&!e})},t[e?this.selectionDisplayKey??this.displayKey:this.displayKey]);return this.avatarKey&&(r=s("span",{class:"flex items-center gap-2"},s("p-avatar",{size:"sm",src:t[this.avatarKey],letters:t[this.avatarLettersKey]}),s("div",{class:c({variant:"default",error:!!this.error?.length,enableTextWrap:this.enableTextWrap&&!e})},t[this.dropdownDisplayKey??this.displayKey]))),!this.iconKey||e&&!this.showIconOnSelectedItem||(r=s("span",{class:"flex items-center gap-2"},t[this.iconKey]&&s("p-icon",{class:h("text-storm-300 dark:text-hurricane-200",e&&!this.applyClassOnSelectedItem||i&&!this.applyClassOnSelectedItemInMenu?"":t?.[this.iconClassKey]??""),variant:t[this.iconKey]}),s("div",{class:c({variant:"default",error:!!this.error?.length,enableTextWrap:this.enableTextWrap&&!e})},t[this.dropdownDisplayKey??this.displayKey]))),e&&!this.applyClassOnSelectedItem||i&&!this.applyClassOnSelectedItemInMenu||!t?.[this.classKey]?.length?r:s("div",{class:t[this.classKey]},r)}_getParsedItems(t=!0){if(!this.items||this.loading)return[];let e="string"==typeof this.items?JSON.parse(this.items):this.items;return"string"==typeof e?.[0]&&(this.displayKey="text",this.valueKey="value",e=e.map((t=>({value:t,text:t})))),this.query?.length&&!this.asyncFilter&&(e=e.filter((t=>this.queryKey?this._checkvalue(this.queryKey,t):this._checkvalue(this._identifierKey,t)||this._checkvalue(this.displayKey,t)))),t?e?.slice(0,this.maxDisplayedItems):e}static get formAssociated(){return!0}static get watchers(){return{value:[{_valueChange:0}],items:[{itemChanges:0}],_showDropdown:[{_showDropdownChanges:0}],multi:[{multiChanges:0}]}}};p.style="*{box-sizing:border-box}:host{--tw-translate-y:0px!important;--tw-translate-x:0px!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.static{position:static}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.top-0{top:0}.z-10{z-index:10}.mb-3{margin-bottom:.75rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[1\\.625rem\\]{height:1.625rem}.h-full{height:100%}.w-6{width:1.5rem}.w-full{width:100%}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.text-start{text-align:start}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-indigo-500{--tw-text-opacity:1;color:rgb(142 179 251/var(--tw-text-opacity,1))}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-negative-red-700{--tw-text-opacity:1;color:rgb(147 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.group\\/button:hover .group-hover\\/button\\:text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.group\\/item:hover .group-hover\\/item\\:text-indigo-800{--tw-text-opacity:1;color:rgb(27 88 210/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.15)}.group\\/item:hover .dark\\:group-hover\\/item\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/15:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.15)}.group\\/item:hover .dark\\:group-hover\\/item\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}";export{p as p_select}
@@ -1 +0,0 @@
1
- import{r as t,a as e,d as i,h as s,e as n}from"./p-PW1zQoNr.js";import{t as o}from"./p-DdQ-S2l7.js";import{f as a,g as h}from"./p-DiJj8rmO.js";import{f as l}from"./p-BTx_Jfhh.js";import{f as r}from"./p-B3sNjfzc.js";import{c}from"./p-CT54OXR2.js";import{P as d,a as f}from"./p-vyRrSf5s.js";import"./p-CBWjHURv.js";import"./p-ChV9xqsO.js";const u=class{constructor(i){t(this,i),this.selectedRowsChange=e(this,"selectedRowsChange",3),this.rowClick=e(this,"rowClick",3),this.rowSelected=e(this,"rowSelected",3),this.rowDeselected=e(this,"rowDeselected",3),this.hasRendered=e(this,"hasRendered",3),this.quickFilter=e(this,"quickFilter",3),this.queryChange=e(this,"queryChange",3),this.filter=e(this,"filter",3),this.action=e(this,"action",3),this.pageChange=e(this,"pageChange",3),this.pageSizeChange=e(this,"pageSizeChange",3),this.export=e(this,"export",3),this.emptyStateActionClick=e(this,"emptyStateActionClick",3)}items;loading=!1;headerLoading=!1;footerLoading=!1;amountOfLoadingRows=6;enableRowSelection=!0;rowSelectionLimit;enableRowClick=!0;selectedRows=[];enableFloatingMenu=!0;floatingMenuAmountSelectedTemplate=t=>a((1===t?this._locales.floating_menu?.amount_selected:this._locales.floating_menu?.amount_selected_plural)?.replace("{{amount}}",t));selectedRowsChange;selectionKey;canSelectKey;rowClick;rowSelected;rowDeselected;hasRendered;enableHeader=!0;quickFilters=[];activeQuickFilterIdentifier;enableSearch=!0;query;enableFilter=!0;enableFilterDesktop=!0;selectedFiltersAmount;filterButtonTemplate;enableAction=!1;actionButtonLoading=!1;actionButtonEnabled=!1;actionButtonIcon="pencil";actionButtonText;actionButtonTemplate;quickFilter;queryChange;filter;action;enableFooter=!0;enablePaginationSize=!0;enablePaginationPages=!0;enableExport=!0;page=1;total;pageChange;pageSize=d;pageSizeOptions=f;pageSizeChange;export;hideOnSinglePage=!0;emptyStateHeader=()=>a(this._locales.empty_state?.no_filter.header);emptyStateContent=()=>a(this._locales.empty_state?.no_filter.content);emptyStateAction=()=>a(this._locales.empty_state?.no_filter.action);enableEmptyStateAction=!0;emptyStateFilteredHeader=()=>a(this._locales.empty_state.filtered.header);emptyStateFilteredContent=()=>a(this._locales.empty_state.filtered.content);emptyStateActionClick;shadow=!0;get _el(){return i(this)}_locales={};_extraHeaders=[];_columns=[];_items=[];_enableRowSelection=this.enableRowSelection;_rowSelectionLimit;_rowActionsFloatingAll=[];_rowActionsFloating=[];_rowActionsRow=[];_footerHidden=!1;_ctrlDown=!1;_hasCustomFilterSlot=!1;_hasCustomActionsSlot=!1;_floatingMenuShown=!1;_resizeTimeout;componentWillLoad(){this._hasCustomFilterSlot=!!this._el.querySelector(':scope > [slot="custom-filter"]'),this._hasCustomActionsSlot=!!this._el.querySelector(':scope > [slot="custom-actions"]'),this._setRowSelectionData(),this._setLocales(),this._parseItems(this.items),this._generateExtraHeaders(),this._generateColumns()}componentDidRender(){this.hasRendered.emit()}render(){return s(n,{key:"d5675ecf7d464628f39cf0656d152d316a3675fc",class:"z-0 flex flex-col"},s("p-table-container",{key:"84e69afe650c47560b62d31ad76a8cb6faae9a6e"},this.enableHeader&&s("p-table-header",{key:"c4b1a5c57e756d96f597b4fa7fb61dc8202a5bb5",class:"mb-8",quickFilters:this.quickFilters,activeQuickFilterIdentifier:this.activeQuickFilterIdentifier,onQuickFilter:({detail:t})=>this.quickFilter.emit(t),enableSearch:this.enableSearch,query:this.query,onQueryChange:({detail:t})=>this.queryChange.emit(t),enableFilter:this.enableFilter,enableFilterDesktop:this.enableFilterDesktop,selectedFiltersAmount:this.selectedFiltersAmount,filterButtonTemplate:this.filterButtonTemplate,onFilter:()=>this.filter.emit(),enableAction:this.enableAction,actionIcon:this.actionButtonIcon,actionText:this.actionButtonText,actionLoading:this.actionButtonLoading,canUseAction:this.actionButtonEnabled,actionButtonTemplate:this.actionButtonTemplate,onAction:()=>this.action.emit(),itemsSelectedAmount:this.selectedRows?.length,enableExport:this.enableExport,onExport:()=>this.export.emit(),loading:this.headerLoading},this._hasCustomFilterSlot&&s("slot",{key:"6fcc35dbbd37ec70a36cf8912d90f6133f4d3bf6",name:"custom-filter",slot:"custom-filter"}),this._hasCustomActionsSlot&&s("slot",{key:"9423bcb8027f58f984c3708221adf2f81651b07a",name:"custom-actions",slot:"custom-actions"})),this._getExtraHeader(),this._getHeader(),s("div",{key:"fcf40912d68573281c8e18ee4e30b8f6c3e0c3ef",class:"flex flex-1 flex-col"},this._getRows(),s("slot",{key:"b9f2eaeffd25c1f71662ab1de4985805c1c8f708",name:"custom-rows"})),this.enableFloatingMenu&&this._enableRowSelection?s("p-floating-menu-container",{usedInTable:!0,class:l({hasFooter:this.enableFooter&&!this._footerHidden,active:!!this.selectedRows?.length,shown:this._floatingMenuShown}),amountSelectedTemplate:this.floatingMenuAmountSelectedTemplate,amount:this.selectedRows?.length,enableAmountSelected:!!this._rowActionsFloating?.length,onClose:()=>this._selectAllChange(null,!1)},this._rowActionsFloating?.length&&this._rowActionsFloating.map((t=>s("p-floating-menu-item",{slot:"floating-menu-item",disabled:t.disabled,loading:t.loading,icon:t.icon,iconRotate:t.iconRotate,iconFlip:t.iconFlip,onClick:()=>t.disabled||t.loading||!t.action||"single"!==t.type?t.action(this.selectedRows,!0):t.action(this.selectedRows[0],!1)},t.label)))):"",this.enableFooter&&s("p-table-footer",{key:"b58718c15d1584296b019f554fa6d06938636b79",hideOnSinglePage:this.hideOnSinglePage,enablePaginationSize:this.enablePaginationSize,pageSize:this.pageSize,pageSizeOptions:this.pageSizeOptions,onPageSizeChange:({detail:t})=>this.pageSizeChange.emit(t),enablePaginationPages:this.enablePaginationPages,page:this.page,total:this.total,onPageChange:({detail:t})=>this.pageChange.emit(t),loading:this.footerLoading,onHiddenChange:({detail:t})=>this._footerHidden=t,tableHeaderHasAction:this.enableHeader&&this.enableAction&&this.actionButtonEnabled})))}async _setLocales(){this._locales=await h(this._el)}onTableDefinitionUpdated(){this._generateColumns()}keyDown({key:t}){"Control"===t&&!0!==this._ctrlDown&&(this._ctrlDown=!0)}keyUp({key:t}){"Control"===t&&!1!==this._ctrlDown&&(this._ctrlDown=!1)}visibilityChange(){"hidden"===document.visibilityState&&!1!==this._ctrlDown&&(this._ctrlDown=!1)}_parseItems(t){this._items=t?Array.isArray(t)?t:JSON.parse(t):[]}_setRowSelectionData(){this._resizeTimeout&&clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout((()=>{const t=r(),e=Array.from(this._el.querySelectorAll(":scope > p-table-row-action"));this._rowActionsRow=e.filter((t=>"both"===t.type||"single"===t.type)),this._rowActionsFloatingAll=e.filter((e=>this.enableRowSelection&&("both"===e.type||"multi"===e.type)||t&&"single"===e.type)).map((t=>("single"===t.type&&(t.disabled=this.selectedRows?.length>1),t)));let i=this.rowSelectionLimit;t&&this._rowActionsFloatingAll?.length&&(void 0!==i&&this.enableRowSelection||!this.enableRowSelection)&&(i=1),this._rowSelectionLimit=i;let s=this.enableRowSelection;t&&this._rowActionsFloatingAll?.length&&!s&&(s=!0),this._enableRowSelection=s,this._floatingMenuShown&&this._showFloatingMenu()}),200)}_generateExtraHeaders(){const t=this._el.querySelectorAll("p-table-extra-header");let e=Array.from(t);e=this._parseDefinitions(e),this._extraHeaders=e}_generateColumns(){const t=this._el.querySelectorAll("p-table-column");let e=Array.from(t);e=this._parseDefinitions(e),this._columns=e}_getExtraHeader(){return this._extraHeaders?.length?s("p-table-row",{variant:"header-secondary",isLast:!0},this._extraHeaders.map(((t,e)=>s("p-table-cell",{definition:t,variant:"header-secondary",checkboxOffset:0===e&&this._enableRowSelection,index:e},s("b",null,t.name))))):null}_getHeader(){return s("p-table-row",{variant:"header"},this._columns.map(((t,e)=>s("p-table-cell",{definition:t,value:t.name,variant:"header",checkbox:0===e||t.hasCheckbox?this._getCheckbox(null,this.loading?"loading":"header"):null,index:e}))))}_getRows(){return this.loading?Array.from({length:this.amountOfLoadingRows},((t,e)=>s("p-table-row",{enableHover:this._enableRowSelection||this.enableRowClick,isLast:e===this.amountOfLoadingRows-1},this._getLoadingColumns(e)))):this._items.length?this._items.map(((t,e)=>s("p-table-row",{enableHover:this._enableRowSelection||this.enableRowClick,checked:this._selectionContains(e),onClick:t=>this._rowClick(t,e),isLast:e===this._items.length-1},this._getRowColumns(t,e),this._getActions(t,e)))):this._getEmptyState()}_getActions(t,e){const i=this._rowActionsRow.filter((e=>!e.showFunction||e.showFunction(t)));return i?.length&&!r()?s("p-table-row-actions-container",{slot:"actions",checked:this._selectionContains(e)},i.map((e=>s("p-tooltip",{strategy:"fixed",content:e.label},s("p-button",{"data-is-action":!0,variant:"secondary",slot:"trigger",icon:e.icon,iconRotate:e.iconRotate,iconFlip:e.iconFlip,iconOnly:!0,size:"sm",onClick:()=>"function"==typeof e.action&&e.action?.(t,!1)}))))):null}_getRowColumns(t,e){return this._columns.map(((i,n)=>s("p-table-cell",{definition:i,item:t,checkbox:0===n||i.hasCheckbox?this._getCheckbox(e):null,index:n,rowIndex:e})))}_getLoadingColumns(t){return this._columns.map(((e,i)=>s("p-table-cell",{definition:e,variant:"loading",checkbox:0===i||e.hasCheckbox?this._getCheckbox(t,"loading"):null,index:i,rowIndex:t})))}_getCheckbox(t,e="default"){if(!this._enableRowSelection||!this.selectionKey&&!this._rowActionsFloating?.length)return;if("loading"===e)return s("p-loader",{variant:"ghost",class:"h-6 w-6 rounded"});if("header"===e)return s("p-checkbox",{class:c({"opacity-0":void 0!==this._rowSelectionLimit}),checked:this._selectionContainsAll(),indeterminate:this._selectionIndeterminate(),disabled:void 0!==this._rowSelectionLimit,onCheckedChange:t=>this._selectAllChange(t)});const i=this._items[t],n=this._selectionContains(t);return s("p-checkbox",{class:"flex-shrink-0",disabled:this.canSelectKey&&!i[this.canSelectKey]||void 0!==this._rowSelectionLimit&&!n&&this.selectedRows.length===this._rowSelectionLimit,checked:n,onCheckedChange:e=>this._checkboxChange(e,t)})}_getEmptyState(){return s("p-empty-state",this.query?.length||this.selectedFiltersAmount?{class:"my-16 self-center",illustration:"search",header:this.emptyStateFilteredHeader(),content:this.emptyStateFilteredContent()}:{class:"my-16 self-center",illustration:"table",header:this.emptyStateHeader(),content:this.emptyStateContent(),enableAction:this.enableEmptyStateAction,actionIcon:"plus",actionText:this.emptyStateAction(),onAction:()=>this.enableAction&&this.action.emit()})}_selectAllChange(t,e){if(this._enableRowSelection){if(void 0===e?t?.detail??e:e){const t=[];for(let e=0;e<this._items.length;e++){const i=this._items[e];if((!this.canSelectKey||i[this.canSelectKey])&&!this._selectionContains(e)&&(t.push(i),this.rowSelected.emit(i),void 0!==this._rowSelectionLimit&&this.selectedRows.length+t.length===this._rowSelectionLimit))break}return this.selectedRows=[...this.selectedRows,...t],this.selectedRowsChange.emit(this.selectedRows),void(this.enableFloatingMenu&&!this._floatingMenuShown&&this._showFloatingMenu())}for(let t=0;t<this.selectedRows.length;t++){const e=this.selectedRows[t],i=this._items.find((i=>this._getSelectionValue(i,t)===this._getSelectionValue(e,t)));i&&this.rowDeselected.emit(i)}this.selectedRows=[],this.selectedRowsChange.emit(this.selectedRows)}}_checkboxChange({detail:t,target:e},i){if(!this._enableRowSelection)return;if(t&&void 0!==this._rowSelectionLimit&&this.selectedRows.length>=this._rowSelectionLimit)return void(e.checked=!1);const s=this._items[i];if(this.canSelectKey&&!s[this.canSelectKey])return void(e.checked=!1);if(t)return this.selectedRows=[...this.selectedRows,{...s,index:i}],this.selectedRowsChange.emit(this.selectedRows),this.rowSelected.emit(s),void(this.enableFloatingMenu&&!this._floatingMenuShown&&this._showFloatingMenu());const n=this._selectionContains(i,!0),o=[...this.selectedRows];o.splice(n,1),this.selectedRows=o,this.selectedRowsChange.emit(this.selectedRows),this.rowDeselected.emit(s)}_getSelectionValue(t,e){return this.selectionKey&&t?.[this.selectionKey]||e}_selectionContains(t,e=!1){const i=this.selectedRows.findIndex((e=>e.index===t));return e?i:i>=0}_selectionContainsAll(){let t=!0;if(!this._items?.length)return!1;if(void 0!==this._rowSelectionLimit&&this.selectedRows.length===this._rowSelectionLimit)return!0;for(let e=0;e<this._items?.length;e++)if(!this._selectionContains(e)){t=!1;break}return t}_selectionIndeterminate(){if(!this._items?.length||!this.selectedRows?.length)return!1;if(void 0!==this._rowSelectionLimit&&this.selectedRows.length===this._rowSelectionLimit)return!1;let t=0;for(let e=0;e<this._items?.length;e++)this._selectionContains(e)&&t++;return t>0&&t!==this._items.length}_rowClick(t,e){const i=t.target;if("input"===i.tagName.toLowerCase()||"checkbox"===i.type)return;const s=this._findRow(t.target);if(this._findRowAction(t.target))return;if(this.enableRowClick)return void this.rowClick.emit({item:this._items[e],ctrlDown:this._ctrlDown});if(!this._enableRowSelection)return;const n=s?.querySelector('input[type="checkbox"]');n&&(n.checked=!n.checked,this._checkboxChange(n,e))}_findRow(t){return t?"p-table-row"===t?.tagName?.toLowerCase()?t:this._findRow(t?.parentElement):t}_findRowAction(t){return t?null!==t.getAttribute("data-is-action")&&"false"!==t.getAttribute("data-is-action")?t:"p-table-row"===t?.tagName?.toLowerCase()?null:this._findRowAction(t?.parentElement):null}_showFloatingMenu(){let t=this._rowActionsFloatingAll;1===this.rowSelectionLimit&&t.findIndex((t=>("single"===t.type||"both"===t.type)&&t.showFunction))>=0&&(t=t.filter((t=>"multi"===t.type||!t.showFunction||t.showFunction(this.selectedRows[0])))),this._rowActionsFloating=t,this._floatingMenuShown=!0}_parseDefinitions(t){return t.map((t=>this._parseDefinitionSizes(t)))}_parseDefinitionSizes(t){const e=t;let i={default:"full"};"string"!=typeof t.sizes||["auto","hidden","full"].includes(t.sizes)||(t.sizes=JSON.parse(t.sizes));for(const[t,s]of o.entries())i[s]="auto"!==e.sizes&&"hidden"!==e.sizes&&"full"!==e.sizes&&"number"!=typeof e.sizes?e.sizes[s]??i[o[t-1]]:"auto"===e.sizes?"full":e.sizes;return t.parsedSizes=i,t}static get watchers(){return{items:[{_parseItems:0}],enableRowSelection:[{_setRowSelectionData:0}],rowSelectionLimit:[{_setRowSelectionData:0}],selectedRows:[{_setRowSelectionData:0}]}}};u.style="*{box-sizing:border-box}.static{position:static}.fixed{position:fixed}.z-0{z-index:0}.my-16{margin-bottom:4rem;margin-top:4rem}.mb-8{margin-bottom:2rem}.flex{display:flex}.table{display:table}.hidden{display:none}.h-6{height:1.5rem}.w-6{width:1.5rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.resize{resize:both}.flex-col{flex-direction:column}.self-center{align-self:center}.rounded{border-radius:.25rem}.opacity-0{opacity:0}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}";export{u as p_table}
@@ -1 +0,0 @@
1
- import{r as e,h as o}from"./p-PW1zQoNr.js";import{T as s}from"./p-CZ2yMw9N.js";import"./p-NPruj4qY.js";const a=class{constructor(o){e(this,o)}header;render(){return o(s,{key:"0f14e413b11565881c5c7c2797656346584072a2",class:"flex flex-col gap-2"},this.header?.length>0&&o("p-navigation-title",{key:"3bfe95db110fe759949aebfb7f2eca1dbe3c6449"},this.header),o("div",{key:"22dd51802172cbd455913411d60e8dfd77332028",class:"flex flex-col"},o("slot",{key:"2b3a6468891d734102fb31a5f7f3a93fd1b15493"})))}};a.style="*{box-sizing:border-box}.static{position:static}.flex{display:flex}.flex-col{flex-direction:column}.gap-2{gap:.5rem}";export{a as p_navigation_section}
@@ -1 +0,0 @@
1
- import{r as t,a as e,h as r}from"./p-PW1zQoNr.js";import{c as a}from"./p-CBWjHURv.js";import{c as i}from"./p-CT54OXR2.js";import{s}from"./p-NPruj4qY.js";import{T as o}from"./p-CZ2yMw9N.js";import{r as h,t as n,c as d,q as c,u as l,p as m,z as w,n as p,o as u,A as y,v as b,w as g,l as v,C as x,D as f,B as k,x as _,y as D}from"./p-KEbntKvf.js";import"./p-ChV9xqsO.js";function M(t){h(1,arguments);var e=n(t),r=e.getMonth();return e.setFullYear(e.getFullYear(),r+1,0),e.setHours(23,59,59,999),e}function C(t){return h(1,arguments),n(t).getDay()}function j(t){h(1,arguments);var e=n(t),r=e.getFullYear(),a=e.getMonth(),i=new Date(0);return i.setFullYear(r,a+1,0),i.setHours(0,0,0,0),i.getDate()}function A(t,e){h(2,arguments);var r=n(t),a=n(e);return r.getFullYear()===a.getFullYear()&&r.getMonth()===a.getMonth()}function I(t,e){h(2,arguments);var r=n(t),a=d(e),i=r.getFullYear(),s=r.getDate(),o=new Date(0);o.setFullYear(i,a,15),o.setHours(0,0,0,0);var c=j(o);return r.setMonth(a,Math.min(s,c)),r}function V(t,e){h(2,arguments);var r=n(t),a=d(e);return r.setDate(a),r}const z=a(["w-[17.5rem] flex flex-col gap-4"],{variants:{variant:{default:["p-2 rounded-lg drop-shadow-2","border border-storm-100"],embedded:"p-1"}}}),N=a(["flex items-center gap-2","w-full p-2 rounded-lg","bg-off-white-300 dark:bg-white/15"],{variants:{type:{day:"justify-between",month:"justify-between",year:"justify-center"}}}),T=a(["flex flex-col gap-2","w-full"],{variants:{view:{day:"h-auto min-h-[12rem]",month:"min-h-[15rem]",year:"max-h-[15rem]"}}}),E=class{constructor(r){t(this,r),this.valueChange=e(this,"valueChange",3)}variant="default";value;preselectToday=!1;disabledDates;minDate=null;maxDate=null;disableWeekends=!1;enableToday=!0;todayText="today";mode="day";valueChange;_today=new Date;_view=this.mode;_viewDate=this._today;_value;_minDate;_maxDate;_disabledDates=[];_enableToday=!0;_weekDays=Array.from(Array(7).keys());_yearItemsRef;componentWillLoad(){this.disabledDates&&this._parseDisabledDates(this.disabledDates),this._parseMinDate(this.minDate),this._parseMaxDate(this.maxDate),this._parseValue(this.value),this._value&&(this._viewDate=this._value),c(this._viewDate,this._minDate)&&(this._viewDate=this._minDate),l(this._viewDate,this._maxDate)&&(this._viewDate=this._maxDate),this._modeChange(this.mode)}componentWillRender(){this._enableToday=this.enableToday&&this._checkTodayButton()}componentDidRender(){"year"===this._view&&this._scrollYearIntoView()}_parseValue(t){!t&&this.preselectToday&&(t=new Date),"string"==typeof t&&(t=new Date(t)),m(t)&&!w(t,this._viewDate)&&(this._viewDate=t),this._setValue(t)}_parseMinDate(t){null!==t&&""!==t?("string"==typeof t&&(t=new Date(t)),m(t)&&(this._minDate=t,c(this._viewDate,this._minDate)&&(this._viewDate=this._minDate))):this.minDate=new Date(p(u(new Date,100)),0,1)}_parseMaxDate(t){null!==t&&""!==t?("string"==typeof t&&(t=new Date(t)),m(t)&&(this._maxDate=t,l(this._viewDate,this._maxDate)&&(this._viewDate=this._maxDate))):this.maxDate=this._getAutomaticMax()}_parseDisabledDates(t){"string"==typeof t&&(t=JSON.parse(t)),t&&Array.isArray(t)&&(this._disabledDates=t.map((t=>"string"==typeof t?new Date(t):t)).filter((t=>m(t))))}_modeChange(t){"year"===t&&"year"!==this._view&&(this._view="year"),"month"===t&&"day"===this._view&&(this._view="month")}render(){return r(o,{key:"4925bab37200125bfd80d9ec100d41cdf9362543"},r("div",{key:"a682e633885b7b9078af95a948baee0f54353f00",class:z({variant:this.variant})},this._getView()))}_checkTodayButton(){return!(this._maxDate&&l(this._today,this._maxDate)||this._minDate&&c(this._today,this._minDate)||this.disableWeekends&&y(this._today)||"day"!==this.mode)}_getView(){return"year"===this._view?this._getYearView():"month"===this._view?this._getMonthView():this._getDayView()}_getDayView(){const t=this._generateDaysInMonth();return r("div",{class:T({view:"day"})},this._getHeader("day"),r("div",{class:"grid grid-cols-7 justify-between gap-1"},this._weekDays.map((t=>r("span",{class:"w-8 text-center text-xs text-storm-200"},b(function(t,e){h(2,arguments);var r=n(t),a=d(e);return isNaN(a)?new Date(NaN):a?(r.setDate(r.getDate()+a),r):r}(new Date(2022,7,1),t),"nl"===s.locale?"EEEEEE":"eee",{locale:"nl"===s.locale?g:v})))),t.map((t=>t.active?r("p-button",{variant:"primary",tabIndex:-1,class:i("w-8",`col-start-${t.offset}`),onClick:()=>this._setValue(t.date)},t.day):r("time",{class:i("normal flex items-center justify-center rounded-lg","h-8 w-8 text-sm font-semibold","text-storm-300","dark:bg-white/15",{"cursor-pointer hover:bg-white-600 hover:text-storm-500 dark:text-white dark:hover:bg-hurricane-300 dark:hover:text-white":!t.disabled,"dark:text-hurricane-200":t.disabled},`col-start-${t.offset}`,{"cursor-not-allowed opacity-60":t.disabled},{"border border-solid border-off-white-700 bg-off-white-300 text-storm-500 dark:border-none dark:bg-hurricane-200 dark:text-white":!t.disabled&&w(t.date,new Date)}),onClick:()=>this._setValue(t.date)},t.day)))))}_getMonthView(){const t=this._generateMonths();return r("div",{class:T({view:"month"})},this._getHeader("month"),r("div",{class:"flex flex-wrap items-start gap-2"},t.map((t=>r("p-button",{variant:t.active?"primary":"secondary",tabIndex:-1,disabled:t.disabled,onClick:()=>this._setMonth(t.month)},b(I(new Date,t.month),"MMMM",{locale:"nl"===s.locale?g:v}))))))}_getYearView(){const t=this._generateYears();return r("div",{class:T({view:"year"})},this._getHeader("year"),r("div",{class:"grid h-full grid-cols-4 gap-2 overflow-scroll",ref:t=>this._yearItemsRef=t},t.map((t=>r("p-button",{class:"w-full",variant:t.active?"primary":"secondary",tabIndex:-1,onClick:()=>this._setYear(t.year),"data-active":t.active,"data-current":t.current},t.year)))))}_getHeader(t="day"){let e=t=>this._changeMonth(t),a="month";return"month"!==t&&"year"!==t||(e=t=>this._changeYear(t),a="year"),r("div",{class:N({type:this.mode})},"year"!==this.mode&&r("p-button",{variant:"secondary",iconOnly:!0,icon:"caret",iconRotate:90,tabIndex:-1,size:"sm",onClick:()=>e(-1),disabled:!this._canSetAmount(a,-1)||"year"===this._view}),r("div",{class:i("flex gap-2",{"flex-1":this._enableToday})},"year"!==this.mode&&r("p-button",{variant:"secondary",size:"sm",tabIndex:-1,onClick:()=>this._changeView("month"),disabled:!this._canChangeView("month"),active:"month"===this._view&&"month"!==this.mode},b(this._viewDate,"MMMM",{locale:"nl"===s.locale?g:v})),r("p-button",{variant:"secondary",size:"sm",tabIndex:-1,onClick:()=>this._changeView("year"),disabled:!this._canChangeView("year"),active:"year"===this._view&&"year"!==this.mode},p(this._viewDate)),this._enableToday&&r("p-tooltip",{class:"ml-auto",content:this.todayText},r("p-button",{variant:"secondary",size:"sm",icon:"calendar",slot:"trigger",tabIndex:-1,iconOnly:!0,onClick:()=>this._setToday()}))),"year"!==this.mode&&r("p-button",{variant:"secondary",iconOnly:!0,icon:"caret",iconRotate:-90,tabIndex:-1,size:"sm",onClick:()=>e(1),disabled:!this._canSetAmount(a,1)||"year"==this._view}))}_setYear(t){const e=x(this._viewDate,t);if("year"!==this.mode)return this._viewDate=e,void(this._view="month");this._viewDate=e,this._setValue(I(V(e,1),0))}_setMonth(t){const e=I(this._viewDate,t);if("day"===this.mode)return this._viewDate=e,void(this._view="day");this._viewDate=e,this._setValue(V(e,1))}_setToday(){this._viewDate=this._today,this._setValue(this._today),this._view="day"}_changeMonth(t=1){if(!this._canSetAmount("month",t))return;const e=f(this._viewDate,t);this._viewDate=e}_changeYear(t=1){if(!this._canSetAmount("year",t))return;let e=k(this._viewDate,t);this._viewDate=e}_setValue(t){if(null===t)return this._value=null,void this.valueChange.emit(null);m(t)&&(this._isDisabledDay(t)||(t=_(t),w(t,this._value)||(this._value=t,this.valueChange.emit(t))))}_generateDaysInMonth(){return Array.from(Array(j(this._viewDate)).keys()).map((t=>{const e=_(V(this._viewDate,t+=1)),r=C(e);return{day:t,date:e,offset:1===t&&(0===r?7:r),current:w(e,this._today),active:w(e,this._value),disabled:this._isDisabledDay(e)}}))}_isDisabledDay(t){return c(t,this._minDate)&&!w(t,this._maxDate)||l(t,this._maxDate)&&!w(t,this._maxDate)||(0===C(t)||6===C(t))&&this.disableWeekends||this._disabledDates.findIndex((e=>w(e,t)))>=0}_generateMonths(){const t=p(this._viewDate);return Array.from(Array(12).keys()).map((e=>{const r=new Date(t,e,1);return{month:e,current:A(this._today,r),active:A(this._value,r),disabled:l(r,this._maxDate)||c(M(r),this._minDate)}}))}_generateYears(){const t=p(this._maxDate)+1,e=p(this._minDate);return Array.from(Array(t-e).keys()).map((t=>{const r=e+t;return{year:r,current:p(this._today)===r,active:p(this._value)===r}}))}_scrollYearIntoView(){const t=this._yearItemsRef;if(!t)return;const e=t.querySelector("p-button[data-active]");if(e)return t.scrollTo({top:e.offsetTop-100});const r=t.querySelector("p-button[data-current]");return r?t.scrollTo({top:r.offsetTop-100}):void 0}_changeView(t){this._canChangeView(t)&&(this._view=t)}_canChangeView(t){return"year"===t?!function(t,e){h(2,arguments);var r=n(t),a=n(e);return r.getFullYear()===a.getFullYear()}(this._minDate,this._maxDate):!A(this._minDate,this._maxDate)}_canSetAmount(t,e=1){if("month"===t){const t=f(this._viewDate,e),r=D(t);if(c(r,D(this._minDate))&&!w(r,this._minDate)||l(r,M(this._maxDate)))return!1}if("year"===t){let t=k(this._viewDate,e);const r=p(t);if(r<p(this._minDate)||r>p(this._maxDate))return!1}return!0}_getAutomaticMax(){const t=k(new Date,50);let e=p(t);return e=10*Math.ceil(e/10),x(t,e)}static get watchers(){return{value:[{_parseValue:0}],minDate:[{_parseMinDate:0}],maxDate:[{_parseMaxDate:0}],disabledDates:[{_parseDisabledDates:0}],mode:[{_modeChange:0}]}}};E.style="*{box-sizing:border-box}.static{position:static}.col-start-1{grid-column-start:1}.col-start-2{grid-column-start:2}.col-start-3{grid-column-start:3}.col-start-4{grid-column-start:4}.col-start-5{grid-column-start:5}.col-start-6{grid-column-start:6}.col-start-7{grid-column-start:7}.ml-auto{margin-left:auto}.flex{display:flex}.grid{display:grid}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.max-h-\\[15rem\\]{max-height:15rem}.min-h-\\[12rem\\]{min-height:12rem}.min-h-\\[15rem\\]{min-height:15rem}.w-8{width:2rem}.w-\\[17\\.5rem\\]{width:17.5rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-scroll{overflow:scroll}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.p-2{padding:.5rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-hurricane-200,.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))}.drop-shadow-2,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:bg-white-600:hover{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.hover\\:text-storm-500:hover{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:border-none:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:none}.dark\\:bg-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-hurricane-300:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-none:where([data-theme=dark],[data-theme=dark] *){border-style:none}.dark\\:bg-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-hurricane-300:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}";export{E as p_calendar}
@@ -1 +0,0 @@
1
- var e={tablet:"40rem","desktop-xs":"64rem","desktop-sm":"80rem",desktop:"85.375rem","desktop-lg":"90rem","desktop-xl":"120rem","layout-1280":"80rem","layout-1440":"90rem","layout-1536":"96rem","layout-1680":"105rem","layout-1920":"120rem","layout-2560":"160rem"};const s=s=>e[s],t=e=>{const t=s(e);return parseInt(t.replace("rem",""),10)},a=e=>16*t(e),r=e=>{const s=a(e);return window.innerWidth>s},o=e=>{const s=a(e);return window.innerWidth<s},m=(e,s)=>r(e)&&o(s),n=()=>!!window.matchMedia("(pointer: coarse)").matches,d=()=>n()||o("tablet"),l=()=>m("tablet","desktop-xs"),p=()=>r("desktop-xs");export{t as a,a as b,o as c,m as d,n as e,d as f,s as g,l as h,r as i,p as j,e as s}
@@ -1 +0,0 @@
1
- import{h as o,e as r}from"./p-PW1zQoNr.js";import{s}from"./p-NPruj4qY.js";const t=(t,a)=>o(r,{...t,"data-theme":s.theme},a);export{t as T}
@@ -1 +0,0 @@
1
- const i=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,o=()=>{const o=navigator.userAgent||navigator.vendor||window.opera;return!!i.test(o)||!!a.test(o.substr(0,4))};export{o as i}
@@ -1 +0,0 @@
1
- const e=(e,n)=>new Promise(((t,o)=>{fetch(`/assets/i18n/${e}.i18n.${n}.json`).then((e=>{e.ok?t(e.json()):o()}),(()=>o()))})),n={},t=async t=>{let o,r=t.tagName.toLowerCase().replace("p-",""),a=(e=>{const n=e.closest("[lang]"),t=document.documentElement;return n?n.lang:t?.lang?t.lang:"en"})(t);if(n[r]?.[a])return n[r][a];try{o=await e(r,a)}catch(n){console.warn(`no locale for ${r} (${a}) loading default locale en.`),o=await e(r,"en")}return n[r]||(n[r]={}),n[r][a]||(n[r][a]={}),n[r][a]=o,o},o=(e,n)=>{if(!e||!n)return e;for(const t of Object.keys(n))e=e.replace(new RegExp(`{${t}}`,"g"),n[t]);return e};export{o as f,t as g}
@@ -1 +0,0 @@
1
- import{S as e}from"./p-PW1zQoNr.js";const t=(()=>{let e;return(...t)=>{e&&clearTimeout(e),e=setTimeout((()=>{e=0,(e=>{for(let t of e.keys()){const n=e.get(t).filter((e=>{const t=e.deref();return t&&(!("isConnected"in(n=t))||n.isConnected);var n}));e.set(t,n)}})(...t)}),2e3)}})(),n=e.forceUpdate,o=e.getRenderingRef,r=(e,t)=>{const n=e.indexOf(t);n>=0&&(e[n]=e[e.length-1],e.length--)},s=["light","dark"],c=["nl","en"],{state:a,onChange:l}=(()=>{const e=((e,t=(e,t)=>e!==t)=>{const n=()=>{return("function"==typeof(t=e)?t():t)??{};var t},o=n();let s=new Map(Object.entries(o));const c="undefined"!=typeof Proxy,a=c?null:{},l={dispose:[],get:[],set:[],reset:[]},i=new Map,u=()=>{s=new Map(Object.entries(n())),c||w(),l.reset.forEach((e=>e()))},f=e=>(l.get.forEach((t=>t(e))),s.get(e)),p=(e,n)=>{const o=s.get(e);t(n,o,e)&&(s.set(e,n),c||m(e),l.set.forEach((t=>t(e,n,o))))},d=c?new Proxy(o,{get:(e,t)=>f(t),ownKeys:()=>Array.from(s.keys()),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0}),has:(e,t)=>s.has(t),set:(e,t,n)=>(p(t,n),!0)}):(w(),a),g=(e,t)=>(l[e].push(t),()=>{r(l[e],t)});function m(e){!c&&a&&(Object.prototype.hasOwnProperty.call(a,e)||Object.defineProperty(a,e,{configurable:!0,enumerable:!0,get:()=>f(e),set(t){p(e,t)}}))}function w(){if(c||!a)return;const e=new Set(s.keys());for(const t of Object.keys(a))e.has(t)||delete a[t];for(const t of e)m(t)}return{state:d,get:f,set:p,on:g,onChange:(e,t)=>{const o=(n,o)=>{n===e&&t(o)},r=()=>{const o=n();t(o[e])},s=g("set",o),c=g("reset",r);return i.set(t,{setHandler:o,resetHandler:r,propName:e}),()=>{s(),c(),i.delete(t)}},use:(...e)=>{const t=e.reduce(((e,t)=>(t.set&&e.push(g("set",t.set)),t.get&&e.push(g("get",t.get)),t.reset&&e.push(g("reset",t.reset)),t.dispose&&e.push(g("dispose",t.dispose)),e)),[]);return()=>t.forEach((e=>e()))},dispose:()=>{l.dispose.forEach((e=>e())),u()},reset:u,forceUpdate:e=>{const t=s.get(e);l.set.forEach((n=>n(e,t,t)))},removeListener:(e,t)=>{const n=i.get(t);n&&n.propName===e&&(r(l.set,n.setHandler),r(l.reset,n.resetHandler),i.delete(t))}}})({theme:s[0],locale:c[0]},void 0);return e.use((()=>{if("function"!=typeof o||"function"!=typeof n)return{};const e=n,r=o,s=new Map;return{dispose:()=>s.clear(),get:e=>{const t=r();t&&((e,t,n)=>{let o=e.get(t);o||(o=[],e.set(t,o)),o.some((e=>e.deref()===n))||o.push(new WeakRef(n))})(s,e,t)},set:n=>{const o=s.get(n);if(o){const t=o.filter((t=>{const n=t.deref();return!!n&&e(n)}));s.set(n,t)}t(s)},reset:()=>{s.forEach((t=>{t.forEach((t=>{const n=t.deref();n&&e(n)}))})),t(s)}}})()),e})(),i=(e=!0,t=!1)=>{let n=t;!0!==n&&!1!==n||(n="paperless-theme");let o=localStorage.getItem(n);window.matchMedia&&!o&&e&&(o=window.matchMedia("prefers-color-scheme: dark")?"dark":"light"),o||(o=a.theme),o!==a.theme&&(a.theme=o,t&&localStorage.setItem(n,o)),document.body.dataset.theme=o,l("theme",(e=>{document.body.dataset.theme=e,t&&localStorage.setItem(n,e)}))},u=a,f=l;export{c as a,s as b,i,f as o,u as s}
@@ -1 +0,0 @@
1
- import{r as t,d as e,h as s,e as o}from"./p-PW1zQoNr.js";const r=class{constructor(e){t(this,e)}size="base";get _el(){return e(this)}componentWillLoad(){this._checkButtons()}render(){return s(o,{key:"2d0f9f37f2e0171e1c9f1b677f53539eebb91155",class:"flex items-center"},s("slot",{key:"c5a3173cdb895f5d0792fe9f927dd1a8d427a508"}))}slotchange(){this._checkButtons()}_checkButtons(){const t=Array.from(this._el.querySelectorAll(":scope > p-button"));for(let e=0;e<t.length;e++){const s=t[e];s.size=this.size,s.buttonGroupPosition=0!==e?e!==t.length-1?"center":"end":"start"}}};r.style="*{box-sizing:border-box}.static{position:static}.flex{display:flex}.items-center{align-items:center}";export{r as p_button_group}
@@ -1 +0,0 @@
1
- import{r as t,d as e,h as i,e as s}from"./p-PW1zQoNr.js";import{c as r}from"./p-CT54OXR2.js";import"./p-ChV9xqsO.js";const a=class{constructor(e){t(this,e)}hideMobileIndicator=!1;disableDrag=!1;disableAutoCenter=!1;disableIndicatorClick=!1;get _el(){return e(this)}_visibleIndex;_outerHeight=0;_totalWidth=0;_sliderRef;_innerSliderRef;_items=[];_innerSliderResizeObserver;_startX;_startMouseX;_lastMouseX;_lastIndex;_shouldCheckLocation=!1;_dragging=!1;get _filteredItems(){return this._items.filter((t=>t.checkVisibility()))}componentDidLoad(){this._innerSliderRef.style.setProperty("--tw-translate-x","0px")}disconnectedCallback(){this._innerSliderResizeObserver&&this._innerSliderResizeObserver.disconnect()}render(){return i(s,{key:"1b6d2c6557af171239da3937779392ca6c9251aa",class:"p-content-slider"},i("div",{key:"a1499532e194a55b7faa00f5c8d3741c53622ab5",class:`slider ${!this.disableDrag&&"draggable"} ${this._dragging&&"dragging"}`,style:{height:`${this._outerHeight}px`},ref:t=>this._sliderRef=t,onMouseDown:t=>this._mouseDownHandler(t),onTouchStart:t=>this._mouseDownHandler(t),onMouseMove:t=>this._mouseMoveHandler(t),onTouchMove:t=>this._mouseMoveHandler(t)},i("div",{key:"06d7498e0e2db76f78a45cb3aabcfd7327652e91",class:"inner-slider",ref:t=>this._setInnerSliderReft(t),onTransitionEnd:()=>this._transitionEndHandler()},i("slot",{key:"0a9c430dc04fdec25f086ca7f1c386554e94d40f",onSlotchange:()=>this._slotChange()}))),i("div",{key:"1f3e452dcbe68425d55ebe5efa0fb0bc48cc9531",class:`indicator ${this.hideMobileIndicator&&"hidden"}`},this._filteredItems.map(((t,e)=>i("div",{onClick:()=>this._scrollTo(e,!0),class:`item ${!this.disableIndicatorClick&&"cursor-pointer"}`},i("div",{class:r("block h-2 w-2 rounded-full",{"bg-indigo-600":e===this._visibleIndex,"bg-indigo-300":e!==this._visibleIndex})}))))))}_mouseDownHandler(t){if(this.disableDrag||this._dragging)return;if("wrap"===getComputedStyle(this._innerSliderRef).flexWrap)return;this._startMouseX=t.x;const e=this._sliderRef.getBoundingClientRect();"touchstart"===t.type&&(this._startMouseX=t.touches?.[0].clientX);const i=this._innerSliderRef.getBoundingClientRect();this._startX=this._startMouseX-e.x-(i.x-e.x),this._lastIndex=this._visibleIndex,this._dragging=!0}_mouseMoveHandler(t){if(!t||!this._dragging||this.disableDrag)return;t.preventDefault(),this._shouldCheckLocation=!0,""===this._innerSliderRef.style.getPropertyValue("pointer-events")&&(this._innerSliderRef.style.pointerEvents="none");const e=this._sliderRef.getBoundingClientRect();let i=t.clientX-e.left;this._lastMouseX=t.x,"touchmove"===t.type&&(i=t.touches?.[0].clientX-e.left,this._lastMouseX=t.touches?.[0].clientX),this._innerSliderRef.style.setProperty("--tw-translate-x",i-this._startX+"px"),this._checkBoundary(),this._calculateIndicator()}_transitionEndHandler(){this._calculateIndicator()}_slotChange(){const t=this._el.querySelectorAll(":scope > *");this._items=Array.from(t),setTimeout((()=>{this._innerSliderRef.style.setProperty("--tw-translate-x","0px"),this._calculateWidth(),this._calculateIndicator()}),100)}mouseUpHandler(){this._dragging=!1,this._innerSliderRef.style.removeProperty("pointer-events"),this._checkLocation()}resizeHandler(){this._innerSliderRef&&(this._innerSliderRef.style.setProperty("--tw-translate-x","0px"),this._calculateWidth(),this._calculateIndicator())}_setInnerSliderReft(t){this._innerSliderRef=t,this._innerSliderResizeObserver=new ResizeObserver((()=>this._calculateHeight())),this._innerSliderResizeObserver.observe(this._innerSliderRef)}_scrollTo(t,e=!1){if(this.disableIndicatorClick&&e)return;const i=this._items[t];if(0===t)return void this._innerSliderRef.style.setProperty("--tw-translate-x","0px");const s=this._sliderRef.getBoundingClientRect(),r=this._innerSliderRef.getBoundingClientRect(),a=i.getBoundingClientRect();this._innerSliderRef.style.setProperty("--tw-translate-x",`-${a.x-r.x+a.width/2-s.width/2}px`),this._checkBoundary(),this._calculateIndicator()}_checkBoundary(){let t=this._sliderRef.getBoundingClientRect();const e=parseInt(this._innerSliderRef.style.getPropertyValue("--tw-translate-x"));e>0&&this._innerSliderRef.style.setProperty("--tw-translate-x","0px");const i=-1*(this._totalWidth-t.width);e<i&&this._innerSliderRef.style.setProperty("--tw-translate-x",`${i}px`)}_calculateIndicator(){for(let t=0;t<this._filteredItems.length;t++){const e=this._isVisible(this._filteredItems[t]);if(e&&(this._visibleIndex=t),0===t&&e)break}}_checkLocation(){if(!this._shouldCheckLocation)return;let t=null;this._lastIndex!==this._visibleIndex&&(t=this._visibleIndex),this._lastIndex===this._visibleIndex&&(this._lastMouseX>this._startMouseX&&0!==this._lastIndex&&(t=this._lastIndex-1),this._lastMouseX<this._startMouseX&&this._lastIndex!==this._items?.length-1&&(t=this._lastIndex+1)),null!==t&&(this._shouldCheckLocation=!1,setTimeout((()=>this._scrollTo(t)),100))}_isVisible(t){if(!this._el||!t)return!1;const e=t.getBoundingClientRect(),i=this._sliderRef.getBoundingClientRect();return e.left>=i.left&&e.right<=i.right||this._isMobile(t)&&e.left+e.width/2>=i.left&&e.left+e.width/2<=i.right}_calculateWidth(){let t=0;for(let e of this._filteredItems)t+=e.getBoundingClientRect().width;const e=getComputedStyle(this._sliderRef),i=2*parseInt(e.padding),s=getComputedStyle(this._innerSliderRef);t+=i+parseInt(s.gap)*(this._filteredItems.length-1),this._totalWidth=t}_calculateHeight(){if(!this._filteredItems.length)return;const t=this._filteredItems.at(0).getBoundingClientRect().height;t!=this._outerHeight&&(this._outerHeight=t)}_isMobile(t){t||(t=this._filteredItems.at(0));const e=t.getBoundingClientRect();return this._sliderRef.getBoundingClientRect().width-e.width<10}};a.style=".absolute{position:absolute}.relative{position:relative}.z-10{z-index:10}.-mx-16{margin-left:-4rem;margin-right:-4rem}.-my-4{margin-bottom:-1rem;margin-top:-1rem}.mt-3{margin-top:.75rem}.box-content{box-sizing:content-box}.flex{display:flex}.w-0{width:0}.w-full{width:100%}.translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-center{justify-content:center}.px-1{padding-left:.25rem;padding-right:.25rem}.px-16{padding-left:4rem;padding-right:4rem}*{box-sizing:border-box}:host{display:flex;flex-direction:column;margin:-1rem -4rem;overflow:hidden;padding:1rem 4rem}:host .slider{box-sizing:content-box;overflow:visible;position:relative}:host .slider.draggable{cursor:grab}@media (min-width:64rem){:host .slider.draggable{cursor:auto}}:host .slider.draggable.dragging{cursor:grabbing}@media (min-width:64rem){:host .slider.draggable.dragging{cursor:auto}}:host .slider.draggable.dragging .inner-slider{transition-property:none}:host .slider .inner-slider{--tw-translate-x:0px;align-items:stretch;display:flex;flex-wrap:nowrap;gap:.5rem;position:absolute;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transition-duration:.15s;transition-duration:.5s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);width:100%;will-change:transform}@media (min-width:64rem){:host .slider .inner-slider{flex-wrap:wrap;gap:1rem}}:host .slider .inner-slider>::slotted(*){flex-shrink:0;position:relative;width:100%;z-index:10}@media (min-width:40rem){:host .slider .inner-slider>::slotted(*){width:calc(50% - .5rem)}}@media (min-width:64rem){:host .slider .inner-slider>::slotted(*){flex:1 1 0%;width:0}}:host .indicator{align-items:center;display:flex;justify-content:center}@media (min-width:64rem){:host .indicator{display:none}}:host .indicator .item{margin-top:.75rem;padding-left:.25rem;padding-right:.25rem;padding-top:.25rem}@media (min-width:64rem){.desktop-xs\\:hidden{display:none}.desktop-xs\\:flex-wrap{flex-wrap:wrap}}.visible{visibility:visible}.static{position:static}.block{display:block}.hidden{display:none}.h-2{height:.5rem}.w-2{width:.5rem}.cursor-pointer{cursor:pointer}.resize{resize:both}.rounded-full{border-radius:9999px}.bg-indigo-300{--tw-bg-opacity:1;background-color:rgb(187 209 253/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}";export{a as p_content_slider}
@@ -1 +0,0 @@
1
- import{r as t,a as e,d as r,h as n}from"./p-PW1zQoNr.js";import{c as i}from"./p-BFSNj6hu.js";import{i as a}from"./p-DVCJlilm.js";import{a as o}from"./p-C5CTp9IA.js";import{s as u}from"./p-NPruj4qY.js";import{r as s,t as c,_ as l,g as f,s as h,a as d,b as v,c as w,d as y,e as p,l as b,f as m,h as k,i as g,j as x,k as T,m as D,n as M,o as A,p as E,q,u as I,v as R,w as L,x as j,y as Q,z as _,A as B,B as N,C as S}from"./p-KEbntKvf.js";function Y(t,e){if(null==t)throw new TypeError("assign requires that input parameter not be null or undefined");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function C(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function O(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return C(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(t,e):void 0}}(t))||e){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return o=t.done,t},e:function(t){u=!0,a=t},f:function(){try{o||null==r.return||r.return()}finally{if(u)throw a}}}}function G(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function X(t,e){return X=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},X(t,e)}function P(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&X(t,e)}function H(t){return H=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},H(t)}function z(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(z=function(){return!!t})()}function K(t){var e=z();return function(){var r,n=H(t);if(e){var i=H(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return function(t,e){if(e&&("object"==l(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return G(t)}(this,r)}}function W(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t){var e=function(t){if("object"!=l(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==l(e)?e:e+""}function V(t,e){return e&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,F(n.key),n)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Z(t,e,r){return(e=F(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var $=function(){function t(){W(this,t),Z(this,"priority",void 0),Z(this,"subPriority",0)}return V(t,[{key:"validate",value:function(){return!0}}]),t}(),J=function(){P(e,$);var t=K(e);function e(r,n,i,a,o){var u;return W(this,e),(u=t.call(this)).value=r,u.validateValue=n,u.setValue=i,u.priority=a,o&&(u.subPriority=o),u}return V(e,[{key:"validate",value:function(t,e){return this.validateValue(t,this.value,e)}},{key:"set",value:function(t,e,r){return this.setValue(t,e,this.value,r)}}]),e}(),U=function(){P(e,$);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",10),Z(G(r),"subPriority",-1),r}return V(e,[{key:"set",value:function(t,e){if(e.timestampIsSet)return t;var r=new Date(0);return r.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),r.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),r}}]),e}(),tt=function(){function t(){W(this,t),Z(this,"incompatibleTokens",void 0),Z(this,"priority",void 0),Z(this,"subPriority",void 0)}return V(t,[{key:"run",value:function(t,e,r,n){var i=this.parse(t,e,r,n);return i?{setter:new J(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(){return!0}}]),t}(),et=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",140),Z(G(r),"incompatibleTokens",["R","u","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"G":case"GG":case"GGG":return r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"});case"GGGGG":return r.era(t,{width:"narrow"});default:return r.era(t,{width:"wide"})||r.era(t,{width:"abbreviated"})||r.era(t,{width:"narrow"})}}},{key:"set",value:function(t,e,r){return e.era=r,t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t}}]),e}(),rt=/^(1[0-2]|0?\d)/,nt=/^(3[0-1]|[0-2]?\d)/,it=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,at=/^(5[0-3]|[0-4]?\d)/,ot=/^(2[0-3]|[0-1]?\d)/,ut=/^(2[0-4]|[0-1]?\d)/,st=/^(1[0-1]|0?\d)/,ct=/^(1[0-2]|0?\d)/,lt=/^[0-5]?\d/,ft=/^[0-5]?\d/,ht=/^\d/,dt=/^\d{1,2}/,vt=/^\d{1,3}/,wt=/^\d{1,4}/,yt=/^-?\d+/,pt=/^-?\d/,bt=/^-?\d{1,2}/,mt=/^-?\d{1,3}/,kt=/^-?\d{1,4}/,gt=/^([+-])(\d{2})(\d{2})?|Z/,xt=/^([+-])(\d{2})(\d{2})|Z/,Tt=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Dt=/^([+-])(\d{2}):(\d{2})|Z/,Mt=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function At(t,e){return t?{value:e(t.value),rest:t.rest}:t}function Et(t,e){var r=e.match(t);return r?{value:parseInt(r[0],10),rest:e.slice(r[0].length)}:null}function qt(t,e){var r=e.match(t);return r?"Z"===r[0]?{value:0,rest:e.slice(1)}:{value:("+"===r[1]?1:-1)*(36e5*(r[2]?parseInt(r[2],10):0)+6e4*(r[3]?parseInt(r[3],10):0)+1e3*(r[5]?parseInt(r[5],10):0)),rest:e.slice(r[0].length)}:null}function It(t){return Et(yt,t)}function Rt(t,e){switch(t){case 1:return Et(ht,e);case 2:return Et(dt,e);case 3:return Et(vt,e);case 4:return Et(wt,e);default:return Et(new RegExp("^\\d{1,"+t+"}"),e)}}function Lt(t,e){switch(t){case 1:return Et(pt,e);case 2:return Et(bt,e);case 3:return Et(mt,e);case 4:return Et(kt,e);default:return Et(new RegExp("^-?\\d{1,"+t+"}"),e)}}function jt(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Qt(t,e){var r,n=e>0,i=n?e:1-e;if(i<=50)r=t||100;else{var a=i+50;r=t+100*Math.floor(a/100)-(t>=a%100?100:0)}return n?r:1-r}function _t(t){return t%400==0||t%4==0&&t%100!=0}var Bt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",130),Z(G(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){var n=function(t){return{year:t,isTwoDigitYear:"yy"===e}};switch(e){case"y":return At(Rt(4,t),n);case"yo":return At(r.ordinalNumber(t,{unit:"year"}),n);default:return At(Rt(e.length,t),n)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,r){var n=t.getUTCFullYear();if(r.isTwoDigitYear){var i=Qt(r.year,n);return t.setUTCFullYear(i,0,1),t.setUTCHours(0,0,0,0),t}return t.setUTCFullYear("era"in e&&1!==e.era?1-r.year:r.year,0,1),t.setUTCHours(0,0,0,0),t}}]),e}(),Nt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",130),Z(G(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){var n=function(t){return{year:t,isTwoDigitYear:"YY"===e}};switch(e){case"Y":return At(Rt(4,t),n);case"Yo":return At(r.ordinalNumber(t,{unit:"year"}),n);default:return At(Rt(e.length,t),n)}}},{key:"validate",value:function(t,e){return e.isTwoDigitYear||e.year>0}},{key:"set",value:function(t,e,r,n){var i=f(t,n);if(r.isTwoDigitYear){var a=Qt(r.year,i);return t.setUTCFullYear(a,0,n.firstWeekContainsDate),t.setUTCHours(0,0,0,0),h(t,n)}return t.setUTCFullYear("era"in e&&1!==e.era?1-r.year:r.year,0,n.firstWeekContainsDate),t.setUTCHours(0,0,0,0),h(t,n)}}]),e}(),St=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",130),Z(G(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e){return Lt("R"===e?4:e.length,t)}},{key:"set",value:function(t,e,r){var n=new Date(0);return n.setUTCFullYear(r,0,4),n.setUTCHours(0,0,0,0),d(n)}}]),e}(),Yt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",130),Z(G(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e){return Lt("u"===e?4:e.length,t)}},{key:"set",value:function(t,e,r){return t.setUTCFullYear(r,0,1),t.setUTCHours(0,0,0,0),t}}]),e}(),Ct=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",120),Z(G(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"Q":case"QQ":return Rt(e.length,t);case"Qo":return r.ordinalNumber(t,{unit:"quarter"});case"QQQ":return r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return r.quarter(t,{width:"narrow",context:"formatting"});default:return r.quarter(t,{width:"wide",context:"formatting"})||r.quarter(t,{width:"abbreviated",context:"formatting"})||r.quarter(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,r){return t.setUTCMonth(3*(r-1),1),t.setUTCHours(0,0,0,0),t}}]),e}(),Ot=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",120),Z(G(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"q":case"qq":return Rt(e.length,t);case"qo":return r.ordinalNumber(t,{unit:"quarter"});case"qqq":return r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return r.quarter(t,{width:"narrow",context:"standalone"});default:return r.quarter(t,{width:"wide",context:"standalone"})||r.quarter(t,{width:"abbreviated",context:"standalone"})||r.quarter(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=1&&e<=4}},{key:"set",value:function(t,e,r){return t.setUTCMonth(3*(r-1),1),t.setUTCHours(0,0,0,0),t}}]),e}(),Gt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),Z(G(r),"priority",110),r}return V(e,[{key:"parse",value:function(t,e,r){var n=function(t){return t-1};switch(e){case"M":return At(Et(rt,t),n);case"MM":return At(Rt(2,t),n);case"Mo":return At(r.ordinalNumber(t,{unit:"month"}),n);case"MMM":return r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return r.month(t,{width:"narrow",context:"formatting"});default:return r.month(t,{width:"wide",context:"formatting"})||r.month(t,{width:"abbreviated",context:"formatting"})||r.month(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,r){return t.setUTCMonth(r,1),t.setUTCHours(0,0,0,0),t}}]),e}(),Xt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",110),Z(G(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){var n=function(t){return t-1};switch(e){case"L":return At(Et(rt,t),n);case"LL":return At(Rt(2,t),n);case"Lo":return At(r.ordinalNumber(t,{unit:"month"}),n);case"LLL":return r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return r.month(t,{width:"narrow",context:"standalone"});default:return r.month(t,{width:"wide",context:"standalone"})||r.month(t,{width:"abbreviated",context:"standalone"})||r.month(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,r){return t.setUTCMonth(r,1),t.setUTCHours(0,0,0,0),t}}]),e}(),Pt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",100),Z(G(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"w":return Et(at,t);case"wo":return r.ordinalNumber(t,{unit:"week"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,r,n){return h(function(t,e,r){s(2,arguments);var n=c(t),i=w(e),a=v(n,r)-i;return n.setUTCDate(n.getUTCDate()-7*a),n}(t,r,n),n)}}]),e}(),Ht=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",100),Z(G(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"I":return Et(at,t);case"Io":return r.ordinalNumber(t,{unit:"week"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=53}},{key:"set",value:function(t,e,r){return d(function(t,e){s(2,arguments);var r=c(t),n=w(e),i=y(r)-n;return r.setUTCDate(r.getUTCDate()-7*i),r}(t,r))}}]),e}(),zt=[31,28,31,30,31,30,31,31,30,31,30,31],Kt=[31,29,31,30,31,30,31,31,30,31,30,31],Wt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",90),Z(G(r),"subPriority",1),Z(G(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"d":return Et(nt,t);case"do":return r.ordinalNumber(t,{unit:"date"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){var r=_t(t.getUTCFullYear()),n=t.getUTCMonth();return r?e>=1&&e<=Kt[n]:e>=1&&e<=zt[n]}},{key:"set",value:function(t,e,r){return t.setUTCDate(r),t.setUTCHours(0,0,0,0),t}}]),e}(),Ft=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",90),Z(G(r),"subpriority",1),Z(G(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"D":case"DD":return Et(it,t);case"Do":return r.ordinalNumber(t,{unit:"date"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return _t(t.getUTCFullYear())?e>=1&&e<=366:e>=1&&e<=365}},{key:"set",value:function(t,e,r){return t.setUTCMonth(0,r),t.setUTCHours(0,0,0,0),t}}]),e}();function Vt(t,e,r){var n,i,a,o,u,l,f,h;s(2,arguments);var d=p(),v=w(null!==(n=null!==(i=null!==(a=null!==(o=null==r?void 0:r.weekStartsOn)&&void 0!==o?o:null==r||null===(u=r.locale)||void 0===u||null===(l=u.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:d.weekStartsOn)&&void 0!==i?i:null===(f=d.locale)||void 0===f||null===(h=f.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==n?n:0);if(!(v>=0&&v<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var y=c(t),b=w(e),m=((b%7+7)%7<v?7:0)+b-y.getUTCDay();return y.setUTCDate(y.getUTCDate()+m),y}var Zt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",90),Z(G(r),"incompatibleTokens",["D","i","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"E":case"EE":case"EEE":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return r.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,r,n){return(t=Vt(t,r,n)).setUTCHours(0,0,0,0),t}}]),e}(),$t=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",90),Z(G(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r,n){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return At(Rt(e.length,t),i);case"eo":return At(r.ordinalNumber(t,{unit:"day"}),i);case"eee":return r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});case"eeeee":return r.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"});default:return r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,r,n){return(t=Vt(t,r,n)).setUTCHours(0,0,0,0),t}}]),e}(),Jt=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",90),Z(G(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r,n){var i=function(t){var e=7*Math.floor((t-1)/7);return(t+n.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return At(Rt(e.length,t),i);case"co":return At(r.ordinalNumber(t,{unit:"day"}),i);case"ccc":return r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});case"ccccc":return r.day(t,{width:"narrow",context:"standalone"});case"cccccc":return r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"});default:return r.day(t,{width:"wide",context:"standalone"})||r.day(t,{width:"abbreviated",context:"standalone"})||r.day(t,{width:"short",context:"standalone"})||r.day(t,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(t,e){return e>=0&&e<=6}},{key:"set",value:function(t,e,r,n){return(t=Vt(t,r,n)).setUTCHours(0,0,0,0),t}}]),e}(),Ut=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",90),Z(G(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){var n=function(t){return 0===t?7:t};switch(e){case"i":case"ii":return Rt(e.length,t);case"io":return r.ordinalNumber(t,{unit:"day"});case"iii":return At(r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n);case"iiiii":return At(r.day(t,{width:"narrow",context:"formatting"}),n);case"iiiiii":return At(r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n);default:return At(r.day(t,{width:"wide",context:"formatting"})||r.day(t,{width:"abbreviated",context:"formatting"})||r.day(t,{width:"short",context:"formatting"})||r.day(t,{width:"narrow",context:"formatting"}),n)}}},{key:"validate",value:function(t,e){return e>=1&&e<=7}},{key:"set",value:function(t,e,r){return t=function(t,e){s(2,arguments);var r=w(e);r%7==0&&(r-=7);var n=c(t),i=((r%7+7)%7<1?7:0)+r-n.getUTCDay();return n.setUTCDate(n.getUTCDate()+i),n}(t,r),t.setUTCHours(0,0,0,0),t}}]),e}(),te=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",80),Z(G(r),"incompatibleTokens",["b","B","H","k","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"a":case"aa":case"aaa":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,r){return t.setUTCHours(jt(r),0,0,0),t}}]),e}(),ee=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",80),Z(G(r),"incompatibleTokens",["a","B","H","k","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"b":case"bb":case"bbb":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,r){return t.setUTCHours(jt(r),0,0,0),t}}]),e}(),re=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",80),Z(G(r),"incompatibleTokens",["a","b","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"B":case"BB":case"BBB":return r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return r.dayPeriod(t,{width:"narrow",context:"formatting"});default:return r.dayPeriod(t,{width:"wide",context:"formatting"})||r.dayPeriod(t,{width:"abbreviated",context:"formatting"})||r.dayPeriod(t,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(t,e,r){return t.setUTCHours(jt(r),0,0,0),t}}]),e}(),ne=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",70),Z(G(r),"incompatibleTokens",["H","K","k","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"h":return Et(ct,t);case"ho":return r.ordinalNumber(t,{unit:"hour"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=12}},{key:"set",value:function(t,e,r){var n=t.getUTCHours()>=12;return t.setUTCHours(n&&r<12?r+12:n||12!==r?r:0,0,0,0),t}}]),e}(),ie=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",70),Z(G(r),"incompatibleTokens",["a","b","h","K","k","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"H":return Et(ot,t);case"Ho":return r.ordinalNumber(t,{unit:"hour"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=23}},{key:"set",value:function(t,e,r){return t.setUTCHours(r,0,0,0),t}}]),e}(),ae=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",70),Z(G(r),"incompatibleTokens",["h","H","k","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"K":return Et(st,t);case"Ko":return r.ordinalNumber(t,{unit:"hour"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=11}},{key:"set",value:function(t,e,r){var n=t.getUTCHours()>=12;return t.setUTCHours(n&&r<12?r+12:r,0,0,0),t}}]),e}(),oe=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",70),Z(G(r),"incompatibleTokens",["a","b","h","H","K","t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"k":return Et(ut,t);case"ko":return r.ordinalNumber(t,{unit:"hour"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return e>=1&&e<=24}},{key:"set",value:function(t,e,r){return t.setUTCHours(r<=24?r%24:r,0,0,0),t}}]),e}(),ue=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",60),Z(G(r),"incompatibleTokens",["t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"m":return Et(lt,t);case"mo":return r.ordinalNumber(t,{unit:"minute"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,r){return t.setUTCMinutes(r,0,0),t}}]),e}(),se=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",50),Z(G(r),"incompatibleTokens",["t","T"]),r}return V(e,[{key:"parse",value:function(t,e,r){switch(e){case"s":return Et(ft,t);case"so":return r.ordinalNumber(t,{unit:"second"});default:return Rt(e.length,t)}}},{key:"validate",value:function(t,e){return e>=0&&e<=59}},{key:"set",value:function(t,e,r){return t.setUTCSeconds(r,0),t}}]),e}(),ce=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",30),Z(G(r),"incompatibleTokens",["t","T"]),r}return V(e,[{key:"parse",value:function(t,e){return At(Rt(e.length,t),(function(t){return Math.floor(t*Math.pow(10,3-e.length))}))}},{key:"set",value:function(t,e,r){return t.setUTCMilliseconds(r),t}}]),e}(),le=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",10),Z(G(r),"incompatibleTokens",["t","T","x"]),r}return V(e,[{key:"parse",value:function(t,e){switch(e){case"X":return qt(gt,t);case"XX":return qt(xt,t);case"XXXX":return qt(Tt,t);case"XXXXX":return qt(Mt,t);default:return qt(Dt,t)}}},{key:"set",value:function(t,e,r){return e.timestampIsSet?t:new Date(t.getTime()-r)}}]),e}(),fe=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",10),Z(G(r),"incompatibleTokens",["t","T","X"]),r}return V(e,[{key:"parse",value:function(t,e){switch(e){case"x":return qt(gt,t);case"xx":return qt(xt,t);case"xxxx":return qt(Tt,t);case"xxxxx":return qt(Mt,t);default:return qt(Dt,t)}}},{key:"set",value:function(t,e,r){return e.timestampIsSet?t:new Date(t.getTime()-r)}}]),e}(),he=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",40),Z(G(r),"incompatibleTokens","*"),r}return V(e,[{key:"parse",value:function(t){return It(t)}},{key:"set",value:function(t,e,r){return[new Date(1e3*r),{timestampIsSet:!0}]}}]),e}(),de=function(){P(e,tt);var t=K(e);function e(){var r;W(this,e);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return Z(G(r=t.call.apply(t,[this].concat(i))),"priority",20),Z(G(r),"incompatibleTokens","*"),r}return V(e,[{key:"parse",value:function(t){return It(t)}},{key:"set",value:function(t,e,r){return[new Date(r),{timestampIsSet:!0}]}}]),e}(),ve={G:new et,y:new Bt,Y:new Nt,R:new St,u:new Yt,Q:new Ct,q:new Ot,M:new Gt,L:new Xt,w:new Pt,I:new Ht,d:new Wt,D:new Ft,E:new Zt,e:new $t,c:new Jt,i:new Ut,a:new te,b:new ee,B:new re,h:new ne,H:new ie,K:new ae,k:new oe,m:new ue,s:new se,S:new ce,X:new le,x:new fe,t:new he,T:new de},we=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ye=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,pe=/^'([^]*?)'?$/,be=/''/g,me=/\S/,ke=/[a-zA-Z]/;function ge(t,e,r,n){var i,a,o,u,f,h,d,v,y;s(3,arguments);var M=String(t),A=String(e),E=p(),q=null!==(i=E.locale)&&void 0!==i?i:b;if(!q.match)throw new RangeError("locale must contain match property");var I=w(null!==(a=null!==(o=E.firstWeekContainsDate)&&void 0!==o?o:null===(u=E.locale)||void 0===u||null===(f=u.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==a?a:1);if(!(I>=1&&I<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=w(null!==(h=null!==(d=E.weekStartsOn)&&void 0!==d?d:null===(v=E.locale)||void 0===v||null===(y=v.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==h?h:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===A)return""===M?c(r):new Date(NaN);var L,j={firstWeekContainsDate:I,weekStartsOn:R,locale:q},Q=[new U],_=A.match(ye).map((function(t){var e=t[0];return e in m?(0,m[e])(t,q.formatLong):t})).join("").match(we),B=[],N=O(_);try{var S=function(){var e=L.value;x(e)&&T(e,A,t),D(e)&&T(e,A,t);var r=e[0],n=ve[r];if(n){var i=n.incompatibleTokens;if(Array.isArray(i)){var a=B.find((function(t){return i.includes(t.token)||t.token===r}));if(a)throw new RangeError("The format string mustn't contain `".concat(a.fullToken,"` and `").concat(e,"` at the same time"))}else if("*"===n.incompatibleTokens&&B.length>0)throw new RangeError("The format string mustn't contain `".concat(e,"` and any other token at the same time"));B.push({token:r,fullToken:e});var o=n.run(M,e,q.match,j);if(!o)return{v:new Date(NaN)};Q.push(o.setter),M=o.rest}else{if(r.match(ke))throw new RangeError("Format string contains an unescaped latin alphabet character `"+r+"`");if("''"===e?e="'":"'"===r&&(e=e.match(pe)[1].replace(be,"'")),0!==M.indexOf(e))return{v:new Date(NaN)};M=M.slice(e.length)}};for(N.s();!(L=N.n()).done;){var C=S();if("object"===l(C))return C.v}}catch(t){N.e(t)}finally{N.f()}if(M.length>0&&me.test(M))return new Date(NaN);var G=Q.map((function(t){return t.priority})).sort((function(t,e){return e-t})).filter((function(t,e,r){return r.indexOf(t)===e})).map((function(t){return Q.filter((function(e){return e.priority===t})).sort((function(t,e){return e.subPriority-t.subPriority}))})).map((function(t){return t[0]})),X=c(r);if(isNaN(X.getTime()))return new Date(NaN);var P,H=k(X,g(X)),z={},K=O(G);try{for(K.s();!(P=K.n()).done;){var W=P.value;if(!W.validate(H,j))return new Date(NaN);var F=W.set(H,z,j);Array.isArray(F)?(H=F[0],Y(z,F[1])):H=F}}catch(t){K.e(t)}finally{K.f()}return H}const xe=class{constructor(r){t(this,r),this.valueChange=e(this,"valueChange",3),r.$hostElement$["s-ei"]?this._internals=r.$hostElement$["s-ei"]:(this._internals=r.$hostElement$.attachInternals(),r.$hostElement$["s-ei"]=this._internals)}placeholder;value;preselectToday=!1;enableNativePicker=!0;disabledDates;minDate=null;maxDate=null;disableWeekends=!1;enableToday=!0;todayText="today";mode="day";valueChange;format="dd-MM-yyyy";hideIconWhenFilled=!1;size="base";prefix;label;loading=!1;helper;required;showOptional=!0;error;disabled=!1;strategy="absolute";placement="bottom-start";get _el(){return r(this)}_showDropdown=!1;_value;_minDate;_maxDate;_disabledDates=[];_isMobileBrowser=!1;_internals;_onInputTimeout;_inputRef;_dateInputRef;_defaultFormats={year:"yyyy",month:"LLLL, yyyy",day:"dd-MM-yyyy",dayNoDashes:"ddMMyyyy"};parseValue(t){!t&&this.preselectToday&&(t=new Date),"string"==typeof t&&(t=new Date(t)),this._setValue(t)}parseMinDate(t){null!==t&&""!==t?("string"==typeof t&&(t=new Date(t)),E(t)&&(this._minDate=t,q(this._value,this._minDate)&&this._setValue(null))):this.minDate=new Date(M(A(new Date,100)),0,1)}parseMaxDate(t){null!==t&&""!==t?("string"==typeof t&&(t=new Date(t)),E(t)&&(this._maxDate=t,I(this._value,this._maxDate)&&this._setValue(null))):this.maxDate=this._getAutomaticMax()}parseDisabledDates(t){"string"==typeof t&&(t=JSON.parse(t)),t&&Array.isArray(t)&&(this._disabledDates=t.map((t=>"string"==typeof t?new Date(t):t)).filter((t=>E(t))),this._isDisabledDay(this._value)&&this._setValue(null))}formResetCallback(){this._setValue(null)}formDisabledCallback(t){this._internals.form&&(this.disabled=t)}componentWillLoad(){this.disabledDates&&this.parseDisabledDates(this.disabledDates),this.parseMinDate(this.minDate),this.parseMaxDate(this.maxDate),"day"!==this.mode&&this.format===this._defaultFormats.day&&(this.format=this._defaultFormats[this.mode]),this._isMobileBrowser=a(),this.parseValue(this.value)}render(){return n("p-dropdown",{key:"a3b7ea1be56aac9497229a7d642a0ad76aaaadd0",allowOverflow:!0,strategy:this.strategy,placement:this.placement,disableTriggerClick:!0,applyMaxWidth:!1,applyFullWidth:!1,insideClick:!0,show:this._showDropdown,isDatepicker:!0},n("p-field",{key:"06cc4e91f8d9ce1f317e8a0e689de5018c685717",slot:"trigger",icon:this.hideIconWhenFilled&&this._value?null:"calendar-multi",iconPosition:"start",size:this.size,prefix:this.prefix,label:this.label,loading:this.loading,helper:this.helper,required:o(this.required),showOptional:o(this.showOptional),error:this.error,forceShowTooltip:!!this.error?.length&&!this._showDropdown,autoShowError:!1,disabled:o(this.disabled),focused:this._showDropdown,value:this._getFormattedDate(),placeholder:this.placeholder,onFocus:()=>this._onFocus(),onBlur:t=>this._onBlur(t),onValueChange:t=>this._onValueChange(t.detail),onInputRefChange:t=>this._inputRef=t.detail}),this.enableNativePicker&&this._isMobileBrowser&&n("input",{key:"f8cbd5f6ec8bd87bce5b13cfee550a072830b1d1",slot:"trigger",type:"day"===this.mode?"date":"month",class:"pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden opacity-0",onInput:t=>this._onNativeInput(t),ref:t=>this._dateInputRef=t,value:this._value&&R(this._value,"yyyy-MM-dd",{locale:"nl"===u.locale?L:b}),min:this._minDate&&R(new Date(this._minDate),"yyyy-MM-dd",{locale:"nl"===u.locale?L:b}),max:this.maxDate&&R(new Date(this.maxDate),"yyyy-MM-dd",{locale:"nl"===u.locale?L:b})}),n("div",{key:"a3caba7fad60ba5e8d3b31b2f4f075960d2801cd",tabIndex:-1,slot:"items"},n("p-calendar",{key:"83fe68ab2ba2903043e0785a38b4acca26f14dad",variant:"embedded",value:this._value,onValueChange:({detail:t})=>this.value=t,preselectToday:this.preselectToday,disabledDates:this.disabledDates,minDate:this.minDate,maxDate:this.maxDate,disableWeekends:this.disableWeekends,enableToday:this.enableToday,todayText:this.todayText,mode:this.mode})))}documentClickHandler({target:t}){this._showDropdown&&!i(t,this._el)&&(this._showDropdown=!1)}_onFocus(){if(this._isMobileBrowser&&this._dateInputRef)return this._dateInputRef.focus(),this._dateInputRef.showPicker(),void this._inputRef.blur();this._showDropdown=!0}_onBlur(t,e=this.format){if(this._isMobileBrowser&&this._dateInputRef)return;t.relatedTarget&&!i(t.relatedTarget,this._el)&&(this._showDropdown=!1);const r=this._inputRef;if(null===r.value)return;const n=ge(r.value,e,new Date);if(n===this._value)return;const a=E(n);if(!a&&e===this.format&&"day"===this.mode)return this._onBlur(t,this._defaultFormats.dayNoDashes);a&&!this._isDisabledDay(n)?this._setValue(n,!1):r.value=this._getFormattedDate()}_onValueChange(t,e=this.format){this._onInputTimeout&&(clearTimeout(this._onInputTimeout),this._onInputTimeout=null),this._onInputTimeout=setTimeout((()=>{if(0===t.length){if(null===this._value)return;return void this._setValue(null)}const r=ge(t,e,new Date);E(r)&&R(r,e,{locale:"nl"===u.locale?L:b})===t?this._setValue(r,!1):"day"===this.mode&&this._onValueChange(t,this._defaultFormats.dayNoDashes)}),300)}_onNativeInput(t){t.target&&(this._onInputTimeout&&(clearTimeout(this._onInputTimeout),this._onInputTimeout=null),this._onInputTimeout=setTimeout((()=>{this._setValue(""===t.target.value?null:new Date(t.target.value),!1)})))}_setValue(t,e=!0){if(null===t)return this._value=null,void this.valueChange.emit(null);E(t)&&(this._isDisabledDay(t)?this._dateInputRef?.value&&(this._dateInputRef.value=this._value?R(this._value,"yyyy-MM-dd",{locale:"nl"===u.locale?L:b}):null):(t="day"===this.mode?j(t):"month"===this.mode?Q(t):function(t){s(1,arguments);var e=c(t),r=new Date(0);return r.setFullYear(e.getFullYear(),0,1),r.setHours(0,0,0,0),r}(t),_(t,this._value)||(e&&(this._showDropdown=!1),this._value=t,this.valueChange.emit(t))))}_isDisabledDay(t){return this.disableWeekends&&B(t)||q(t,this._minDate)&&!_(t,this._minDate)||I(t,this._maxDate)&&!_(t,this._maxDate)||this._disabledDates.findIndex((e=>_(e,t)))>=0}_getFormattedDate(){return this._value?R(this._value,this.format,{locale:"nl"===u.locale?L:b}):""}_getAutomaticMax(){const t=N(new Date,50);let e=M(t);return e=10*Math.ceil(e/10),S(t,e)}static get formAssociated(){return!0}static get watchers(){return{value:[{parseValue:0}],minDate:[{parseMinDate:0}],maxDate:[{parseMaxDate:0}],disabledDates:[{parseDisabledDates:0}]}}};xe.style="*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.left-0{left:0}.top-0{top:0}.z-\\[-10\\]{z-index:-10}.overflow-hidden{overflow:hidden}.opacity-0{opacity:0}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}";export{xe as p_datepicker}
@@ -1,10 +0,0 @@
1
- import illustrations from '../../../../utils/illustrations-deprecated';
2
- export type IllustrationDeprecatedVariant = keyof typeof illustrations;
3
- export declare class Illustration {
4
- /**
5
- * The icon the be displayed
6
- */
7
- variant: IllustrationDeprecatedVariant;
8
- componentDidLoad(): void;
9
- render(): any;
10
- }
@@ -1,15 +0,0 @@
1
- declare const _default: {
2
- 'empty-state': string;
3
- 'empty-state-search': string;
4
- 'empty-state-overview': string;
5
- 'empty-state-add': string;
6
- departments: string;
7
- expenses: string;
8
- functions: string;
9
- questions: string;
10
- 'sick-leave': string;
11
- 'time-off': string;
12
- 'upgrade-to-hr': string;
13
- 'e-mail': string;
14
- };
15
- export default _default;
File without changes