@paperless/core 3.13.1 → 3.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/icons/general/scroll.svg +13 -1
- package/dist/build/index.esm.js +1 -1
- package/dist/build/{p-d13d8eb9.entry.js → p-06e05b91.entry.js} +1 -1
- package/dist/{paperless/p-2dfbfe7a.entry.js → build/p-14df360e.entry.js} +1 -1
- package/dist/{paperless/p-9f3cf82d.entry.js → build/p-195e954b.entry.js} +1 -1
- package/dist/{paperless/p-e2219fa7.entry.js → build/p-21af7426.entry.js} +1 -1
- package/dist/build/{p-16c98151.entry.js → p-221357a9.entry.js} +1 -1
- package/dist/build/{p-18aebae1.entry.js → p-25dd095e.entry.js} +1 -1
- package/dist/{paperless/p-fad5a088.entry.js → build/p-2e47c533.entry.js} +1 -1
- package/dist/build/{p-ad2767f7.entry.js → p-2e8e4b6c.entry.js} +1 -1
- package/dist/build/{p-cbdf1355.entry.js → p-31167a12.entry.js} +1 -1
- package/dist/build/p-3203bd08.entry.js +1 -0
- package/dist/build/{p-a1e69465.entry.js → p-3a857d73.entry.js} +1 -1
- package/dist/build/{p-90c95664.entry.js → p-3b2b195d.entry.js} +1 -1
- package/dist/build/{p-35107edb.entry.js → p-3bc3a649.entry.js} +1 -1
- package/dist/build/{p-fd26cf65.entry.js → p-4060ee8b.entry.js} +1 -1
- package/dist/build/{p-b992baa0.entry.js → p-44cee1cb.entry.js} +1 -1
- package/dist/{paperless/p-7c01dd27.entry.js → build/p-45ce6a54.entry.js} +1 -1
- package/dist/{paperless/p-0892908c.entry.js → build/p-507261fa.entry.js} +1 -1
- package/dist/build/{p-2eb0963d.entry.js → p-50c4d56e.entry.js} +1 -1
- package/dist/{paperless/p-8e3a2fa0.entry.js → build/p-54b0790e.entry.js} +1 -1
- package/dist/{paperless/p-b35a687a.entry.js → build/p-655fda1a.entry.js} +1 -1
- package/dist/build/{p-a263c4fe.entry.js → p-7abc21d8.entry.js} +1 -1
- package/dist/build/p-7e6801ef.js +1 -0
- package/dist/build/p-832c13bc.entry.js +1 -0
- package/dist/build/{p-4536b546.entry.js → p-835737f1.entry.js} +1 -1
- package/dist/build/{p-001e60c3.entry.js → p-90610536.entry.js} +1 -1
- package/dist/build/p-91dcf7d0.entry.js +1 -0
- package/dist/{paperless/p-7b858cd2.entry.js → build/p-938b6c09.entry.js} +1 -1
- package/dist/{paperless/p-bf22285d.entry.js → build/p-9a6196a5.entry.js} +1 -1
- package/dist/build/{p-f6a8012e.entry.js → p-9b28fc94.entry.js} +1 -1
- package/dist/build/p-9c29695a.entry.js +1 -0
- package/dist/{components/p-CU4DsLKq.js → build/p-C8Ju8eG_.js} +1 -1
- package/dist/{paperless/p-b4c6d3be.entry.js → build/p-ad2650e8.entry.js} +1 -1
- package/dist/build/{p-e1aaca9c.entry.js → p-b48c0217.entry.js} +1 -1
- package/dist/{paperless/p-e00be7e7.entry.js → build/p-b6809b6f.entry.js} +1 -1
- package/dist/build/{p-b98a72c3.entry.js → p-b8f7c55a.entry.js} +1 -1
- package/dist/{paperless/p-8a2690df.entry.js → build/p-b91cdc33.entry.js} +1 -1
- package/dist/build/{p-0380b299.entry.js → p-b966039d.entry.js} +1 -1
- package/dist/build/{p-8ed51b6d.entry.js → p-bdda8043.entry.js} +1 -1
- package/dist/build/{p-8e91039f.entry.js → p-d1cb90b9.entry.js} +1 -1
- package/dist/{paperless/p-e26a497e.entry.js → build/p-d58dcb50.entry.js} +1 -1
- package/dist/{paperless/p-0b4b4cf7.entry.js → build/p-d614092e.entry.js} +1 -1
- package/dist/build/{p-2c10ed8a.entry.js → p-dca31554.entry.js} +1 -1
- package/dist/build/p-e2917e71.entry.js +1 -0
- package/dist/{paperless/p-d4d0d4a7.entry.js → build/p-e405fba1.entry.js} +1 -1
- package/dist/build/p-e6669599.entry.js +1 -0
- package/dist/build/{p-dbac42ad.entry.js → p-e86238e2.entry.js} +1 -1
- package/dist/build/{p-0da11431.entry.js → p-f3cbc433.entry.js} +1 -1
- package/dist/build/{p-e6f986d8.entry.js → p-f5cacfd0.entry.js} +1 -1
- package/dist/build/{p-afc6498d.entry.js → p-fcff315d.entry.js} +1 -1
- package/dist/{paperless/p-b2cbd111.entry.js → build/p-fea58ded.entry.js} +1 -1
- package/dist/build/{p-87112092.entry.js → p-fedaa9ef.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{icons-B5X261jk.js → icons-DIczdKrP.js} +13 -1
- package/dist/cjs/index-BGtpSJv_.js +4 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +8 -8
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +2 -2
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +9 -9
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-dropzone.cjs.entry.js +200 -0
- package/dist/cjs/p-empty-state_8.cjs.entry.js +18 -18
- package/dist/cjs/p-field_3.cjs.entry.js +13 -13
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +8 -8
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +2 -2
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +2 -2
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/assets/icons/general/scroll.svg +13 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
- package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
- package/dist/collection/components/molecules/dropzone/dropzone.component.css +1 -0
- package/dist/collection/components/molecules/dropzone/dropzone.component.js +402 -0
- package/dist/collection/components/molecules/dropzone/dropzone.stories.js +44 -0
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
- package/dist/collection/components/molecules/field/field/field.component.js +4 -4
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +2 -2
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-C5n669YA.js → p-5xGhxj77.js} +1 -1
- package/dist/components/{p-BrFy12TR.js → p-B0R6Smvm.js} +1 -1
- package/dist/components/{p-Dy4IX7Pe.js → p-BCWtvvOe.js} +1 -1
- package/dist/components/{p-BO22HPlM.js → p-BEV6zDs0.js} +1 -1
- package/dist/components/{p-QJoR_dmN.js → p-BGolUUn0.js} +1 -1
- package/dist/components/{p-lss590AG.js → p-BKVZoBXs.js} +1 -1
- package/dist/components/{p-Crasy6LB.js → p-BQ2nfPDP.js} +1 -1
- package/dist/components/{p-CNtLMu6c.js → p-Bd4QOMb3.js} +1 -1
- package/dist/components/{p-4vMrjI4R.js → p-Bg4oBHWW.js} +1 -1
- package/dist/components/{p-BqDsctQ9.js → p-BmPunDdB.js} +1 -1
- package/dist/components/{p-BE5gs-wy.js → p-BmZe-ySu.js} +1 -1
- package/dist/components/{p-ByXfZHh6.js → p-BqKhfVsb.js} +1 -1
- package/dist/components/{p-PwfSEBI3.js → p-BtQtJLYr.js} +1 -1
- package/dist/components/p-BzANZHar.js +1 -0
- package/dist/components/{p-C7j7Um7Y.js → p-C-Fx-e2u.js} +1 -1
- package/dist/{paperless/p-CU4DsLKq.js → components/p-C8Ju8eG_.js} +1 -1
- package/dist/components/{p-CMmvAq1F.js → p-CEucaDLB.js} +1 -1
- package/dist/components/{p-Tuv_bAJ2.js → p-CGolQEyn.js} +1 -1
- package/dist/components/{p-BrFVDEeC.js → p-CK5WtJW3.js} +1 -1
- package/dist/components/{p-DL2YlEpH.js → p-CPr4Yiq8.js} +1 -1
- package/dist/components/{p-BSU1g6Cl.js → p-CTFrItdj.js} +1 -1
- package/dist/components/{p-DHLrIt0b.js → p-C_ug-NFC.js} +1 -1
- package/dist/components/{p-DQyKcYSv.js → p-Cgmg4D6Y.js} +1 -1
- package/dist/components/{p-DvxgfyQ_.js → p-CmhjRWQy.js} +1 -1
- package/dist/components/{p-9C3ias2a.js → p-D-CC7BBx.js} +1 -1
- package/dist/components/{p-BxQCn3Jj.js → p-DA92PZeS.js} +1 -1
- package/dist/components/{p-PKBe_c-k.js → p-DEoTWGPb.js} +1 -1
- package/dist/components/{p-i1p7L9W8.js → p-DLz3l4Ve.js} +1 -1
- package/dist/components/{p-t4aLscWg.js → p-DNm_yz0u.js} +1 -1
- package/dist/components/p-DPRie-gp.js +1 -0
- package/dist/components/{p-BHcIe6BE.js → p-DW2CgFRa.js} +1 -1
- package/dist/components/{p-co8zArTG.js → p-DYtn3uAK.js} +1 -1
- package/dist/components/{p-CqDwyvBc.js → p-D_BCPirj.js} +1 -1
- package/dist/components/{p-B0rHem3C.js → p-Dd7Yba0f.js} +1 -1
- package/dist/components/{p-CB3RfZL6.js → p-DgXmfcNf.js} +1 -1
- package/dist/components/{p-CMhIKf1I.js → p-Du6rwBJ8.js} +1 -1
- package/dist/components/{p-BDYSnb7i.js → p-Dzd3xVIu.js} +1 -1
- package/dist/components/{p-BoI3_eAE.js → p-F3PaXjBa.js} +1 -1
- package/dist/components/{p-DbRPTfvT.js → p-GCtiZnn_.js} +1 -1
- package/dist/components/{p-DP6H82uQ.js → p-O5rAm8zV.js} +1 -1
- package/dist/components/{p-UUd1zusc.js → p-R1ZwoW7p.js} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/{p-A2wMRQKW.js → p-bWeLk9nj.js} +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-dropzone.d.ts +11 -0
- package/dist/components/p-dropzone.js +1 -0
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/{p-Bg0nKrgn.js → p-jLO4drbv.js} +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-radio.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-container.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-3Vtsi6MW.js → p-tygV9wpP.js} +1 -1
- package/dist/components/{p-C_JXTK81.js → p-yulcflZJ.js} +1 -1
- package/dist/esm/{icons-CU4DsLKq.js → icons-C8Ju8eG_.js} +13 -1
- package/dist/esm/index-yFtRjnrU.js +4 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +8 -8
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +2 -2
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox_3.entry.js +9 -9
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-dropdown-menu-item_2.entry.js +5 -5
- package/dist/esm/p-dropzone.entry.js +198 -0
- package/dist/esm/p-empty-state_8.entry.js +18 -18
- package/dist/esm/p-field_3.entry.js +13 -13
- package/dist/esm/p-floating-menu-item.entry.js +2 -2
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-listing-line.entry.js +1 -1
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +8 -8
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +2 -2
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +5 -5
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +2 -2
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/{p-d13d8eb9.entry.js → p-06e05b91.entry.js} +1 -1
- package/dist/{build/p-2dfbfe7a.entry.js → paperless/p-14df360e.entry.js} +1 -1
- package/dist/{build/p-9f3cf82d.entry.js → paperless/p-195e954b.entry.js} +1 -1
- package/dist/{build/p-e2219fa7.entry.js → paperless/p-21af7426.entry.js} +1 -1
- package/dist/paperless/{p-16c98151.entry.js → p-221357a9.entry.js} +1 -1
- package/dist/paperless/{p-18aebae1.entry.js → p-25dd095e.entry.js} +1 -1
- package/dist/{build/p-fad5a088.entry.js → paperless/p-2e47c533.entry.js} +1 -1
- package/dist/paperless/{p-ad2767f7.entry.js → p-2e8e4b6c.entry.js} +1 -1
- package/dist/paperless/{p-cbdf1355.entry.js → p-31167a12.entry.js} +1 -1
- package/dist/paperless/p-3203bd08.entry.js +1 -0
- package/dist/paperless/{p-a1e69465.entry.js → p-3a857d73.entry.js} +1 -1
- package/dist/paperless/{p-90c95664.entry.js → p-3b2b195d.entry.js} +1 -1
- package/dist/paperless/{p-35107edb.entry.js → p-3bc3a649.entry.js} +1 -1
- package/dist/paperless/{p-fd26cf65.entry.js → p-4060ee8b.entry.js} +1 -1
- package/dist/paperless/{p-b992baa0.entry.js → p-44cee1cb.entry.js} +1 -1
- package/dist/{build/p-7c01dd27.entry.js → paperless/p-45ce6a54.entry.js} +1 -1
- package/dist/{build/p-0892908c.entry.js → paperless/p-507261fa.entry.js} +1 -1
- package/dist/paperless/{p-2eb0963d.entry.js → p-50c4d56e.entry.js} +1 -1
- package/dist/{build/p-8e3a2fa0.entry.js → paperless/p-54b0790e.entry.js} +1 -1
- package/dist/{build/p-b35a687a.entry.js → paperless/p-655fda1a.entry.js} +1 -1
- package/dist/paperless/{p-a263c4fe.entry.js → p-7abc21d8.entry.js} +1 -1
- package/dist/paperless/p-832c13bc.entry.js +1 -0
- package/dist/paperless/{p-4536b546.entry.js → p-835737f1.entry.js} +1 -1
- package/dist/paperless/{p-001e60c3.entry.js → p-90610536.entry.js} +1 -1
- package/dist/paperless/p-91dcf7d0.entry.js +1 -0
- package/dist/{build/p-7b858cd2.entry.js → paperless/p-938b6c09.entry.js} +1 -1
- package/dist/{build/p-bf22285d.entry.js → paperless/p-9a6196a5.entry.js} +1 -1
- package/dist/paperless/{p-f6a8012e.entry.js → p-9b28fc94.entry.js} +1 -1
- package/dist/paperless/p-9c29695a.entry.js +1 -0
- package/dist/{build/p-CU4DsLKq.js → paperless/p-C8Ju8eG_.js} +1 -1
- package/dist/{build/p-b4c6d3be.entry.js → paperless/p-ad2650e8.entry.js} +1 -1
- package/dist/paperless/{p-e1aaca9c.entry.js → p-b48c0217.entry.js} +1 -1
- package/dist/{build/p-e00be7e7.entry.js → paperless/p-b6809b6f.entry.js} +1 -1
- package/dist/paperless/{p-b98a72c3.entry.js → p-b8f7c55a.entry.js} +1 -1
- package/dist/{build/p-8a2690df.entry.js → paperless/p-b91cdc33.entry.js} +1 -1
- package/dist/paperless/{p-0380b299.entry.js → p-b966039d.entry.js} +1 -1
- package/dist/paperless/{p-8ed51b6d.entry.js → p-bdda8043.entry.js} +1 -1
- package/dist/paperless/{p-8e91039f.entry.js → p-d1cb90b9.entry.js} +1 -1
- package/dist/{build/p-e26a497e.entry.js → paperless/p-d58dcb50.entry.js} +1 -1
- package/dist/{build/p-0b4b4cf7.entry.js → paperless/p-d614092e.entry.js} +1 -1
- package/dist/paperless/{p-2c10ed8a.entry.js → p-dca31554.entry.js} +1 -1
- package/dist/paperless/p-e2917e71.entry.js +1 -0
- package/dist/{build/p-d4d0d4a7.entry.js → paperless/p-e405fba1.entry.js} +1 -1
- package/dist/paperless/p-e6669599.entry.js +1 -0
- package/dist/paperless/{p-dbac42ad.entry.js → p-e86238e2.entry.js} +1 -1
- package/dist/paperless/{p-0da11431.entry.js → p-f3cbc433.entry.js} +1 -1
- package/dist/paperless/{p-e6f986d8.entry.js → p-f5cacfd0.entry.js} +1 -1
- package/dist/paperless/{p-afc6498d.entry.js → p-fcff315d.entry.js} +1 -1
- package/dist/{build/p-b2cbd111.entry.js → paperless/p-fea58ded.entry.js} +1 -1
- package/dist/paperless/{p-87112092.entry.js → p-fedaa9ef.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/dropzone/dropzone.component.d.ts +68 -0
- package/dist/types/components/molecules/dropzone/dropzone.stories.d.ts +25 -0
- package/dist/types/components.d.ts +104 -2
- package/hydrate/index.js +365 -145
- package/hydrate/index.mjs +365 -145
- package/package.json +5 -1
- package/dist/build/p-21b62f41.entry.js +0 -1
- package/dist/build/p-27613157.entry.js +0 -1
- package/dist/build/p-bba808f0.entry.js +0 -1
- package/dist/build/p-dd5b5648.js +0 -1
- package/dist/build/p-ef2d18cc.entry.js +0 -1
- package/dist/build/p-fb18c197.entry.js +0 -1
- package/dist/components/p-CUwpPeVc.js +0 -1
- package/dist/components/p-IBTfZiqD.js +0 -1
- package/dist/paperless/p-21b62f41.entry.js +0 -1
- package/dist/paperless/p-27613157.entry.js +0 -1
- package/dist/paperless/p-bba808f0.entry.js +0 -1
- package/dist/paperless/p-ef2d18cc.entry.js +0 -1
- package/dist/paperless/p-fb18c197.entry.js +0 -1
|
@@ -79,18 +79,18 @@ export class PaginationSize {
|
|
|
79
79
|
this._setLocales();
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
return (h(ThemedHost, { key: '
|
|
82
|
+
return (h(ThemedHost, { key: 'f06fc71948e4c6b7db46761fc2012051fb2bc6e0', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, h("p-dropdown", { key: 'f06ade5619f1ca9bbd91659da22f72fb70a08b4c', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, h("div", { key: '5d2b2f75409655d4fe731c5d016cdb016fbad675', class: trigger({
|
|
83
83
|
active: this.dropdownIsOpen,
|
|
84
|
-
}), slot: 'trigger' }, h("p", { key: '
|
|
84
|
+
}), slot: 'trigger' }, h("p", { key: '3ae4f1b391877882fccab182bffdd5d7227dd1b6', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
|
|
85
85
|
? this.itemTemplate(this.size)
|
|
86
|
-
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '
|
|
86
|
+
: this._defaultItemTemplate(this.size)), h("p-icon", { key: 'e7238dced7554a1e74d06e1dc559db8e8097fdd2', class: cn([
|
|
87
87
|
'flex-shrink-0',
|
|
88
88
|
'group-hover/pagination-size-trigger:text-storm-500',
|
|
89
89
|
'dark:group-hover/pagination-size-trigger:text-white',
|
|
90
90
|
], {
|
|
91
91
|
'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
|
|
92
92
|
'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
|
|
93
|
-
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: '
|
|
93
|
+
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: 'f3dab35841483f0fcb7aa72106975f3573f4a08a', slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
94
94
|
? this.itemTemplate(option)
|
|
95
95
|
: this._defaultItemTemplate(option))))))));
|
|
96
96
|
}
|
|
@@ -28,7 +28,7 @@ export class Profile {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const content = this._getContent();
|
|
31
|
-
return (h(ThemedHost, { key: '
|
|
31
|
+
return (h(ThemedHost, { key: '0ec4ddefa5588f73327f78db6edb33b4a028d037' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
32
32
|
}
|
|
33
33
|
slotchange() {
|
|
34
34
|
this._checkDropdownSlot();
|
|
@@ -23,13 +23,13 @@ export class Range {
|
|
|
23
23
|
valueChange;
|
|
24
24
|
render() {
|
|
25
25
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
26
|
-
return (h(ThemedHost, { key: '
|
|
26
|
+
return (h(ThemedHost, { key: 'a68ced28c217fd36c68e036ac33d99a8b53bda9e' }, h("div", { key: '913ebcd1fffd7e03769cde7a0a693f32d753d05b', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '4b9f7cdf2e39f795c1966e4b32ef47394c56fdfd', variant: 'minus' }), h("div", { key: '91b9b56f441eface41e8d68dfc36321b52019ba9', class: 'relative h-6 flex-1' }, h("input", { key: 'b7f451f9c4d46f4929d89dcf11af6acccbe29207', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
27
27
|
const value = ev.target.value;
|
|
28
28
|
this.value = Number.parseFloat(value);
|
|
29
29
|
this.valueChange.emit(value);
|
|
30
|
-
} }), h("div", { key: '
|
|
30
|
+
} }), h("div", { key: 'a924bc7c08bb7af2e272a5af26894751bd3d4866', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
31
31
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
32
|
-
} })), h("p-icon", { key: '
|
|
32
|
+
} })), h("p-icon", { key: '9fd710578d983d1e8316344b0c9ee02b12de7f2b', variant: 'plus' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "p-range"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -341,8 +341,8 @@ export class Select {
|
|
|
341
341
|
if (this.error?.length) {
|
|
342
342
|
buttonIcon = 'warning';
|
|
343
343
|
}
|
|
344
|
-
return (h(ThemedHost, { key: '
|
|
345
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
344
|
+
return (h(ThemedHost, { key: 'ce57ab1998f4eff0510e5abe59bbe4093801ece1' }, h("p-field-container", { key: '2e8e87d98db2beda8dd31b09f55099914d6f2025', error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, label: this.label, prefix: this.prefix, required: this.required, showOptional: this.showOptional, variant: 'write' }, h("p-dropdown", { key: '75fb5c50c72035f2a514f282867b978ed200a242', applyChevron: false, applyFullWidth: true, applyMaxWidth: false, "disable-trigger-click": this.disabled, insideClick: true, manual: true, manualChevron: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, slot: 'content', strategy: this.strategy, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-button", { key: '2766f4a6fc46853d315b1d946b9804d2da634ddb', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
345
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: 'a693985fae749e57af35efc6129cadcd98300614', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
346
346
|
}
|
|
347
347
|
documentClickHandler(event) {
|
|
348
348
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -87,7 +87,7 @@ export class TableCell {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(ThemedHost, { key: '
|
|
90
|
+
return (h(ThemedHost, { key: '656d83909d03bd9affa467d31830be7ddb065608', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: 'ee47bf26bfbbcbbb89799f1f6375bb2844c95723' }, h("div", { key: 'e48889b31584e0c67959e058e35e198512f7096d', class: 'pl-8' }), h("div", { key: '2177b6803143201794ff61eb9c6eca9a81d85082', class: '\n text-storm-300 text-storm-400 text-storm-500\n dark:text-hurricane-200 dark:text-white\n ' }), h("div", { key: 'd9c81141420b61760d13f3c8ce4cdf7107ef9aad', class: 'justify-start justify-end justify-center' }), h("div", { key: 'cee316d0191fb85d1d3443cec9710a3622b712f4', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: '39714bc1e876b20d4a6c6e0b3f825942fb058129', class: '\n w-1/12 w-10/12 w-11/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12\n w-9/12 w-full\n ' }), h("div", { key: '1337961217c9e950f1e9aeae1eb822d4d51d5c8e', class: '\n tablet:w-1/12 tablet:w-10/12 tablet:w-11/12 tablet:w-2/12 tablet:w-3/12\n tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12\n tablet:w-9/12 tablet:w-full\n ' }), h("div", { key: '5a0892a23b0016f7d87f78e31b659f0e60c8d548', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '6c0bb99b1dd266325f550743e2ef60f5d849b36a', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '74491a168f3e446a43b6524d8acdf7be7259f720', class: '\n desktop-sm:w-1/12 desktop-sm:w-10/12 desktop-sm:w-11/12\n desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12\n desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12\n desktop-sm:w-full\n ' }), h("div", { key: '1a2d03a65333592ccf5d9206a0febb613aea6399', class: '\n desktop:w-1/12 desktop:w-10/12 desktop:w-11/12 desktop:w-2/12\n desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12\n desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-full\n ' }), h("div", { key: '020d4aead75abc26e0c871bb5de07cc3a1a9d561', class: '\n desktop-lg:w-1/12 desktop-lg:w-10/12 desktop-lg:w-11/12\n desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12\n desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12\n desktop-lg:w-full\n ' }), h("div", { key: 'bca4afeeef9f8c0e0e21c52f92d36a76db74737d', class: '\n desktop-xl:w-1/12 desktop-xl:w-10/12 desktop-xl:w-11/12\n desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12\n desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12\n desktop-xl:w-full\n ' }), h("div", { key: '91c43f32baae0de0959cda93dde463c4017a0216', class: '\n flex hidden\n group-hover:flex group-hover:hidden\n ' }), h("div", { key: '070f60c5abc2719467d7e6f78ca91156e56be7b2', class: '\n tablet:flex tablet:hidden\n tablet:group-hover:flex tablet:group-hover:hidden\n ' }), h("div", { key: '5e615e6dd968a4a85b782ab2e204551ca1e75874', class: '\n desktop-xs:flex desktop-xs:hidden\n desktop-xs:group-hover:flex desktop-xs:group-hover:hidden\n ' }), h("div", { key: '4c44fcfe160531d0ee4c6d388ec91bc6651712dc', class: '\n desktop-sm:flex desktop-sm:hidden\n desktop-sm:group-hover:flex desktop-sm:group-hover:hidden\n ' }), h("div", { key: 'b32cd5f5d1be2d949471f9f2c42028f8f6c3ea23', class: '\n desktop:flex desktop:hidden\n desktop:group-hover:flex desktop:group-hover:hidden\n ' }), h("div", { key: '2aa2d68affe43b370466ab1f8e84595c557663b0', class: '\n desktop-lg:flex desktop-lg:hidden\n desktop-lg:group-hover:flex desktop-lg:group-hover:hidden\n ' }), h("div", { key: 'd4cf118737e699ebbf5d638d4f3b8525bb3e3fbd', class: '\n desktop-xl:flex desktop-xl:hidden\n desktop-xl:group-hover:flex desktop-xl:group-hover:hidden\n ' }), h("div", { key: '14d5b8fb8a0c3691141da0ecfcc1fcf254abc00c', class: '\n pr-0 pr-4\n last-of-type:pr-0\n ' }), h("div", { key: '3d536528888ac98718fb947937ed7dad6aad9cfb', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: '9230255f2babaebfa75e9550d13081de238691c3', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: 'cddb5bb6f80798df928b06d351c8e29904fde8a6', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: 'dd7061b6d7ef03e09b0a773b7cc8e56c6db7a5f3', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: '6663e9f844e57e56039283638c94d2c893323d2e', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: 'b323f935d25ef06c47656b465204c6c0980ab38c', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
|
|
91
91
|
}
|
|
92
92
|
_getContent() {
|
|
93
93
|
if (this.variant === 'loading') {
|
|
@@ -107,12 +107,12 @@ export class TableFooter {
|
|
|
107
107
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: 'e1e80cefafca5e75a6bb65a1ef50628608b5f561' }, h("div", { key: '2685019000a687c3d2cc78a959370cd11dee773e', class: footer({
|
|
111
111
|
pinned: this._isPinned,
|
|
112
112
|
hidden: this._hidden,
|
|
113
113
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
114
114
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
115
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
115
|
+
this.total > 0 && (h("p-pagination", { key: '82c0ad2c394418fab72873164f7110f06edffa62', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
116
116
|
}
|
|
117
117
|
_changePageSize(s) {
|
|
118
118
|
if (!s) {
|
|
@@ -138,13 +138,13 @@ export class TableHeader {
|
|
|
138
138
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
139
139
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
140
140
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
141
|
-
return (h(ThemedHost, { key: '
|
|
142
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
141
|
+
return (h(ThemedHost, { key: '146dbcfb3f2883f5999093dff4ec5b1ae4530a0f' }, h("div", { key: 'a76491ff423a939196c851da49f70cec87e914e5', class: header() }, this.loading && (h("p-loader", { key: 'cefccf2e94b8e22df9506670241c5366d8d3de2e', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
142
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: 'ff9fdbec94b79217279e0e6a87511239cadf8d99', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && h("slot", { key: '9ba364568cf6ea0eb988c9ba53055ba005af60e0', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: '8e88a96fcb9a88ab8ed6ea3854821938e195bdcf', class: cn({
|
|
143
143
|
'hidden desktop-xs:flex': this.hideQuickFiltersOnMobile,
|
|
144
144
|
flex: !this.hideQuickFiltersOnMobile,
|
|
145
145
|
}) }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
146
146
|
? item.text
|
|
147
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
147
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '881aa6a3e492bbc43ce7c17ad7b92e1388c83276', class: '\n flex flex-col justify-end gap-2\n desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center\n ' }, this.enableSearch && (h("p-field", { key: '15966dc97bd1cee3692de32ce08d348196e0e329', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: '8bc7ef55643420221a66323cc644ca9bc9c2aac2', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: 'ae5c8db6d1adef93cd228ff86f7a266fe057c410', class: `
|
|
148
148
|
w-full
|
|
149
149
|
${this.enableFilterDesktop
|
|
150
150
|
? 'desktop-xs:w-auto'
|
|
@@ -152,7 +152,7 @@ export class TableHeader {
|
|
|
152
152
|
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
153
153
|
? this.filterButtonTemplate()
|
|
154
154
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
155
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
155
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '31a8d2bc0fb5f217111f0ae2aad500abee3bdf28', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (h("p-button", { key: '05d011dfc818f193c96a5646456d07d745da7693', class: '\n w-full\n desktop-xs:w-auto\n ', icon: 'upload', variant: 'secondary', onOnClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && h("slot", { key: '379ad6eb535ed7e327b2a438f482a960a546ba80', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: '9037b913ef614ae681892c6fb6547d476bc8cd43', class: '\n fixed bottom-0 left-0 z-[2] block w-full border border-solid\n border-transparent bg-white p-4\n desktop-xs:hidden\n dark:border-t-hurricane-400 dark:bg-hurricane-500\n ' }, this._buttonTemplate(true))))));
|
|
156
156
|
}
|
|
157
157
|
async _setLocales() {
|
|
158
158
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -107,13 +107,13 @@ export class TableRow {
|
|
|
107
107
|
*/
|
|
108
108
|
isLast = false;
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: '637f078f4b17b40e8d88b17ffd01e17564dc2498' }, h("div", { key: '0c5df77b50554c6f72e4a589896ee0ac5ea8065f', class: 'flex flex-col' }, h("div", { key: '86cab516a54ba2a79a45fe4185e1d64ed232df04', class: row({
|
|
111
111
|
variant: this.variant,
|
|
112
112
|
enableHover: this.enableHover,
|
|
113
113
|
checked: this.checked,
|
|
114
|
-
}) }, h("div", { key: '
|
|
114
|
+
}) }, h("div", { key: '4a302d6d3077a31f18bad02169e9bfcf38083e4b', class: content({
|
|
115
115
|
variant: this.variant,
|
|
116
|
-
}) }, h("slot", { key: '
|
|
116
|
+
}) }, h("slot", { key: 'b1ead41a3359d1e766c5e372f18ea17720ff86f5' }), h("div", { key: '9d374cf452fe04077230f6a981fc713cf56cc6cc', class: actions() }, h("slot", { key: '728d34e82e152fd1ca38db6c29cb1e40259e442f', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: 'e9ac14c677be390abaf4f5fc2218ee7a7e028954' })))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "p-table-row"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class Toast {
|
|
|
61
61
|
*/
|
|
62
62
|
action;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: '8163adb40afe8131c42b098a5eae37b23dc46a25' }, h("div", { key: '6a8ee7423a06de0446206eb4f5b826dc3dc724b6', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, h("div", { key: '207676c948f8e7e5ebd7c572899142e8220dd361', class: indicator({ variant: this.variant }) }), h("div", { key: 'bfb1cefc34ac22c4b9f0c5353c5a8aa63f3823e8', class: content() }, h("div", { key: 'e27bc44e3d366a71d0832176dada0b18e7a0a9f0', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '8e4d119e117c2cd5a0fb22c0e81207223a9d0831', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '17a472a839184d3d5b9786428cb2f987d7b7a2e0', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: 'e187924e49a5b9a3a639d697cf619377054cd65a', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '4a03096e00847861456f310c1624da82e9defc00', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
65
65
|
}
|
|
66
66
|
_onClick() {
|
|
67
67
|
if (this.enableAction) {
|
|
@@ -18,10 +18,10 @@ export class Listing {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '160a8d3db50ea8c0c6e8a982f3b274525fec55f0', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
22
22
|
'opacity-100': this._generatedOnce,
|
|
23
23
|
'opacity-0': !this._generatedOnce,
|
|
24
|
-
}) }, h("slot", { key: '
|
|
24
|
+
}) }, h("slot", { key: '0cb952b970dafcebc316723d4e020ceafa96f9b2', onSlotchange: () => this._generateLinesOnce() })));
|
|
25
25
|
}
|
|
26
26
|
_generateLinesOnce() {
|
|
27
27
|
if (this._generateTimeout) {
|
|
@@ -61,7 +61,7 @@ const backdrop = cva([
|
|
|
61
61
|
export class Navbar {
|
|
62
62
|
_show = false;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: 'e1bb3bf57d4920d2843370fcb682de7d498b54be' }, h("p-backdrop", { key: 'c8c9fe58e4ed00aeb4d1bdfa70d21b1ce21fae12', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '419073c7b8da20040630c0ced9e28f56f34e44af', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '26869f18f38fbf43aa22db4caf7ee21d5d464f62', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: '60b5a55602bbd3fac96a41e0ec2baab1afd3d20f', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: '8f41f249ca51849bef77626ab49f95d2c1a60d16', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '9bb4d8ab8d0388ae50e50131550113e5fa5c15c3', name: 'company' })), h("div", { key: '17b3ea1ee6614427a71815c4809ccaccb7cacf5a', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: 'd760dbe913b40d92b07010bb9455ce405e156b96', name: 'content' })), h("div", { key: '770f3972edb02a3543463d812f5c9bf633aa14c0', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '324f3ee9644b60a056f42671a002ed0fedbc4437', name: 'user' }))), h("div", { key: 'c703d1f913fd05bdd0e5de2844a99795020a9a2b', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'b506af77cfb440c2927ebf80a017c0c898e47ea2', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: '4dfcb2a4418eca6338cc9467f4a8e8d97b34b1d9', name: 'topbar' }))));
|
|
65
65
|
}
|
|
66
66
|
handleCloseNavbar() {
|
|
67
67
|
this._show = false;
|
|
@@ -257,7 +257,7 @@ export class Table {
|
|
|
257
257
|
this.hasRendered.emit();
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: '8c0fcdf67d9a528c2eac63096819ba3878968963', class: 'z-0 flex flex-col' }, h("p-table-container", { key: '48b190e7b08cea101c8123463c6fe9411940e301' }, this.enableHeader && (h("p-table-header", { key: 'b8c4be2ac0d9f9a178babfbdcd34a7c326db7d93', actionButtonTemplate: this.actionButtonTemplate, actionIcon: this.actionButtonIcon, actionLoading: this.actionButtonLoading, actionText: this.actionButtonText, activeQuickFilterIdentifier: this.activeQuickFilterIdentifier, canUseAction: this.actionButtonEnabled, class: 'mb-8', enableAction: this.enableAction, enableExport: this.enableExport, enableFilter: this.enableFilter, enableFilterDesktop: this.enableFilterDesktop, enableSearch: this.enableSearch, filterButtonTemplate: this.filterButtonTemplate, itemsSelectedAmount: this.selectedRows?.length, loading: this.headerLoading, query: this.query, quickFilters: this.quickFilters, selectedFiltersAmount: this.selectedFiltersAmount, onAction: () => this.action.emit(), onExport: () => this.export.emit(), onFilter: () => this.filter.emit(), onQueryChange: ({ detail }) => this.queryChange.emit(detail), onQuickFilter: ({ detail }) => this.quickFilter.emit(detail) }, this._hasCustomFilterSlot && (h("slot", { key: 'f7f3f53e824eefda27d24629336d21f4ebe42f31', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (h("slot", { key: 'cfb3e8f9ae1459c24ba4c671fc073a62dfec68e8', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), h("div", { key: 'a983b87220f438d9f0ffc058000e6907e0ee44cf', class: 'flex flex-1 flex-col' }, this._getRows(), h("slot", { key: '353319f4fb03e578a9aace502382e22eef6415e6', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (h("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: floatingMenuContainerClass({
|
|
261
261
|
hasFooter: this.enableFooter && !this._footerHidden,
|
|
262
262
|
active: !!this.selectedRows?.length,
|
|
263
263
|
shown: this._floatingMenuShown,
|
|
@@ -267,7 +267,7 @@ export class Table {
|
|
|
267
267
|
!!a.action &&
|
|
268
268
|
a.type === 'single'
|
|
269
269
|
? a.action(this.selectedRows[0], false)
|
|
270
|
-
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '
|
|
270
|
+
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '4ee20020fcef46134e850ae87b6a88186647e9d0', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, loading: this.footerLoading, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, tableHeaderHasAction: this.enableHeader &&
|
|
271
271
|
this.enableAction &&
|
|
272
272
|
this.actionButtonEnabled, total: this.total, onHiddenChange: ({ detail }) => (this._footerHidden = detail), onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this.pageSizeChange.emit(detail) })))));
|
|
273
273
|
}
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-CySg37XO.js";import{s as t}from"./p-CWO2YJCh.js";export{g as getScreenSize,b as getScreenSizeInPixels,a as getScreenSizeInRem,d as isBetweenScreens,i as isBiggerThanScreen,j as isDesktop,f as isMobile,c as isSmallerThanScreen,h as isTablet,e as isTouchDevice}from"./p-CWO2YJCh.js";export{i as initTheme,o as onStateChange,s as state,a as stateLocaleOptions,b as stateThemeOptions}from"./p-BBiGYjKk.js";export{c as childOf,a as childOfComposed}from"./p-TyZ7uPES.js";export{c as categorized,i as icons}from"./p-CU4DsLKq.js";export{f as formatTranslation,g as getLocaleComponentStrings}from"./p-CwQG70_4.js";export{f as floatingMenuContainerClass,g as getTableCellColumnClasses,a as getTableCellSizes,o as objectGetByPath}from"./p-WEZng7dj.js";export{i as isMobileBrowser}from"./p-DPc49L2n.js";export{c as cn}from"./p-xs4N_Y-0.js";export{P as PAGINATION_DEFAULT_PAGE_SIZE,a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS,S as SELECT_DEFAULT_MAX_DISPLAYED_ITEMS,T as TABLE_COLUMN_SIZES}from"./p-CEaB2BT0.js";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l,m,p,v,u,x,F={},w={};function E(){return m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});const a=t((l||(l=1,function(e){function a(e,a){return{handler:e,config:a}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}}),a.withOptions=function(e,a=()=>({})){const t=function(t){return{__options:t,handler:e(t),config:a(t)}};return t.__isOptionsFunction=!0,t.__pluginFunction=e,t.__configFunction=a,t};const t=a}(w)),w));function t(e){return e&&e.__esModule?e:{default:e}}const r=a.default}(F)),F}function C(){if(v)return p;v=1;let e=E();return p=(e.__esModule?e:{default:e}).default}var D,B,O=function(){if(x)return u;x=1;const e=C(),a={position:"relative",paddingBottom:"calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%)"},t={position:"absolute",height:"100%",width:"100%",top:"0",right:"0",bottom:"0",left:"0"},r={".aspect-none":{position:"static",paddingBottom:"0"},".aspect-none > *":{position:"static",height:"auto",width:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto"}},s=e((function({addComponents:e,matchComponents:s,theme:n,variants:o,e:i}){const l=n("aspectRatio");if(s)return s({"aspect-w":e=>[{...a,"--tw-aspect-w":e},{"> *":t}],"aspect-h":e=>({"--tw-aspect-h":e})},{values:l}),void e(r);const f=Object.entries(l).map((([e,a])=>"."+i("aspect-w-"+e))).join(",\n"),m=Object.entries(l).map((([e,a])=>`.${i("aspect-w-"+e)} > *`)).join(",\n");e([{[f]:a,[m]:t},r,Object.entries(l).map((([e,a])=>({["."+i("aspect-w-"+e)]:{"--tw-aspect-w":a}}))),Object.entries(l).map((([e,a])=>({["."+i("aspect-h-"+e)]:{"--tw-aspect-h":a}})))],o("aspectRatio"))}),{theme:{aspectRatio:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"}},variants:{aspectRatio:["responsive"]}});return u=s}(),y=n(O),A=n(function(){if(B)return D;B=1;const e=C()((function({addUtilities:e}){e({".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}},["responsive"])}));return D=e}()),I=n(C());const Y=({addVariant:e})=>{e("has-hover","@media (hover: hover)"),e("no-hover","@media (hover: none)"),e("hover-never","@media (hover: hover) { &:hover }"),e("group-hover-never","@media (hover: hover) { :merge(.group):hover & }"),e("peer-hover-never","@media (hover: hover) { :merge(.peer):hover & }"),e("hover-always",["@media (hover: hover) { &:hover }","@media (hover: none)"]),e("group-hover-always",["@media (hover: hover) { :merge(.group):hover & }","@media (hover: none)"]),e("peer-hover-always",["@media (hover: hover) { :merge(.peer):hover & }","@media (hover: none)"])},L=({addUtilities:e})=>{e({".m-safe":{marginTop:"env(safe-area-inset-top)",marginRight:"env(safe-area-inset-right)",marginBottom:"env(safe-area-inset-bottom)",marginLeft:"env(safe-area-inset-left)"},".mx-safe":{marginRight:"env(safe-area-inset-right)",marginLeft:"env(safe-area-inset-left)"},".my-safe":{marginTop:"env(safe-area-inset-top)",marginBottom:"env(safe-area-inset-bottom)"},".my-safe-2":{marginTop:"calc(env(safe-area-inset-top)+0.5rem)",marginBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".mt-safe":{marginTop:"env(safe-area-inset-top)"},".mr-safe":{marginRight:"env(safe-area-inset-right)"},".mb-safe":{marginBottom:"env(safe-area-inset-bottom)"},".ml-safe":{marginLeft:"env(safe-area-inset-left)"},".p-safe":{paddingTop:"env(safe-area-inset-top)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",paddingLeft:"env(safe-area-inset-left)"},".px-safe":{paddingRight:"env(safe-area-inset-right)",paddingLeft:"env(safe-area-inset-left)"},".py-safe":{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)"},".py-safe-2":{paddingTop:"calc(env(safe-area-inset-top)+0.5rem)",paddingBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".pt-safe":{paddingTop:"env(safe-area-inset-top)"},".pr-safe":{paddingRight:"env(safe-area-inset-right)"},".pb-safe":{paddingBottom:"env(safe-area-inset-bottom)"},".pl-safe":{paddingLeft:"env(safe-area-inset-left)"},".min-h-screen":{minHeight:"100vh"},".min-h-screen-safe":{minHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".max-h-screen":{maxHeight:"100vh"},".max-h-screen-safe":{maxHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".h-screen-safe":{height:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".min-w-screen":{minWidth:"100vw"},".min-w-screen-safe":{minWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".max-w-screen":{maxWidth:"100vw"},".max-w-screen-safe":{maxWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".w-screen-safe":{width:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"}})};var _={animation:{"fade-in":"forwards fadeIn .2s ease","fade-out":"forwards fadeOut .2s ease","slide-in-right":"forwards slideInRight .5s ease","slide-in-left":"forwards slideInLeft .5s ease","slide-in-top":"forwards slideInTop .25 ease","slide-in-bottom":"forwards slideInBottom .5s ease","slide-in-right-small":"forwards slideInRightSmall .5s ease","slide-in-left-small":"forwards slideInLeftSmall .5s ease","slide-in-top-small":"forwards slideInTopSmall .5s ease","slide-in-bottom-small":"forwards slideInBottomSmall .5s ease","slide-out-right":"forwards slideOutRight .2s ease","slide-out-left":"forwards slideOutLeft .2s ease","slide-out-top":"forwards slideOutTop .2s ease","slide-out-bottom":"forwards slideOutBottom .5s ease","slide-out-top-small":"forwards slideOutTopSmall .5s ease","slide-out-bottom-small":"forwards slideOutBottomSmall .5s ease","floating-menu-container-out":"forwards floatingMenuContainerOut .5s ease","floating-menu-container-in":"forwards floatingMenuContainerIn .5s ease",wave:"wave .5s ease-in-out -0.5s infinite alternate forwards"},keyframes:{fadeIn:{"0%":{opacity:"0"},"100%":{opacity:"100"}},fadeOut:{"0%":{opacity:"100"},"100%":{opacity:"0"}},slideInRight:{"0%":{transform:"translateX(100%)"},"100%":{transform:"translateX(0)"}},slideInLeft:{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(0)"}},slideInTop:{"0%":{transform:"translateY(-100%)"},"100%":{transform:"translateY(0)"}},slideInBottom:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0)"}},slideInRightSmall:{"0%":{transform:"translateX(20%)"},"100%":{transform:"translateX(0)"}},slideInLeftSmall:{"0%":{transform:"translateX(-20%)"},"100%":{transform:"translateX(0)"}},slideInTopSmall:{"0%":{transform:"translateY(-20%)"},"100%":{transform:"translateY(0)"}},slideInBottomSmall:{"0%":{transform:"translateY(20%)"},"100%":{transform:"translateY(0)"}},slideOutRight:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(100%)"}},slideOutLeft:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(-100%)"}},slideOutTop:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-100%)"}},slideOutBottom:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(100%)"}},slideOutTopSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-20%)"}},slideOutBottomSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(20%)"}},floatingMenuContainerOut:{"0%":{display:"flex",transform:"translateY(0)",opacity:"100"},"99%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"none",transform:"translateY(100%)",opacity:"0"}},floatingMenuContainerIn:{"0%":{display:"none",transform:"translateY(100%)",opacity:"0"},"1%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"flex",transform:"translateY(0)",opacity:"100"}},wave:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(-15deg)"}}}};const R={};for(let e=1;e<360;e++)R[""+e]=e+"deg",R["-"+e]=`-${e}deg`;var k={1:["0 1px 1px rgba(0, 2, 2, 0.08)"],2:["0 1px 1px rgba(0, 2, 2, 0.04)","0 2px 2px rgba(0, 2, 2, 0.04)","0 4px 4px rgba(0, 2, 2, 0.04)"],3:["0 1px 1px rgba(0, 2, 2, 0.08)","0 2px 2px rgba(0, 2, 2, 0.08)","0 4px 4px rgba(0, 2, 2, 0.08)"],modal:["0 0 0 1px rgba(0, 2, 2, 0.10)","0 1px 1px 0 rgba(0, 2, 2, 0.20)","0 2px 2px 0 rgba(0, 2, 2, 0.08)","0 4px 4px 0 rgba(0, 2, 2, 0.08)","0 8px 8px 0 rgba(0, 2, 2, 0.08)"],"supportive-lilac":"0px 1px 1px rgba(189, 140, 255, 0.20)","storm-10%":"0px 1px 0px rgba(3, 42, 36, 0.1)","primary-button":"0px 1px 1px 0px rgba(24, 30 41, 0.08)","off-white-600":"0px 0px 0px 1px #ECEAE5",inherit:"inherit",transparent:"transparent"},X={fontSize:{xxs:["0.5rem","1rem"],"3xl":["2rem","2.5rem"],"4xl":["2.5rem","3rem"]},lineHeight:{xs:"1rem",sm:"1.5rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.5rem","4xl":"3rem"}};const M=I((e=>{L(e),Y(e)}),{theme:{colors:{inherit:"inherit",transparent:"transparent",current:"currentColor",black:"#000",white:{800:"#E4E3E3",700:"#F2F2F2",600:"#FAFAFA",500:"#FFFFFF",DEFAULT:"#FFFFFF"},"negative-red":{800:"#8D1010",700:"#931010",500:"#E61E1E",100:"#FFDDDD",50:"#FDEDED",alternative:"#FF5C5C"},"positive-green":{800:"#2F6407",500:"#5CC30E",100:"#D5FBC7",50:"#EAFDE3",alternative:"#62FF5C"},amber:{800:"#944D0B",500:"#E19F23",100:"#FFF6C2",50:"#FFFAE0",alternative:"#FFE75C"},indigo:{900:"#1349B6",800:"#1B58D2",700:"#2F6FF0",600:"#528AFA",500:"#8EB3FB",400:"#A5C2FC",300:"#BBD1FD",200:"#C7D9FD",100:"#E3ECFE",50:"#F1F6FF"},storm:{800:"#020815",700:"#080F1C",600:"#0F1622",500:"#181E29",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},hurricane:{900:"#020815",800:"#181E29",700:"#232934",600:"#2E343E",500:"#363C46",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},"off-white":{800:"#D5D0C3",700:"#DEDBD5",600:"#ECEAE5",500:"#F3F1ED",400:"#F5F4F1",300:"#F8F7F4",200:"#FAF9F8",100:"#FDFCFB",50:"#FEFEFD"}},boxShadow:k,dropShadow:k,extend:{animation:_.animation,keyframes:_.keyframes,fontFamily:{geist:["Geist","serif"],ambit:["Ambit","sans-serif"]},scale:{flip:"-1"},rotate:R,fontSize:X.fontSize,lineHeight:X.lineHeight,zIndex:{"floating-menu":"190",dropdown:"200","navbar-topbar":"280","navbar-backdrop":"290",navbar:"300",tooltip:"400",datepicker:"401",backdrop:"490",drawer:"500","drawer-header":"501",modal:"600",toast:"700"},screens:t,width:{unset:"unset",inherit:"inherit","content-mobile":"100%","content-1280":"62rem","content-1440":"71rem","content-1536":"77rem","content-1680":"83rem","sidebar-desktop-login":"100%","content-desktop-login":"21rem"},height:{unset:"unset",inherit:"inherit"},spacing:{"content-mobile-x":"1rem","content-mobile-y":"1.5rem","content-desktop-x":"2rem","content-desktop-y":"2rem",18:"4.5rem"},aspectRatio:{branding:"23/24"}}},plugins:[y,A,L,Y]}),z=e=>e.replaceAll(/[A-Z]/g,(e=>"_"+e.toLowerCase())),G=e=>e.toLowerCase().replaceAll(/([_-][a-z])/g,(e=>e.toUpperCase().replace("-","").replace("_",""))),N=e=>e.replaceAll("-"," "),U=e=>e.replaceAll(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));export{z as camelToSnakeCase,N as kebabToSpaces,M as paperless,G as snakeToCamelCase,U as titleCase}
|
|
1
|
+
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-CySg37XO.js";import{s as t}from"./p-CWO2YJCh.js";export{g as getScreenSize,b as getScreenSizeInPixels,a as getScreenSizeInRem,d as isBetweenScreens,i as isBiggerThanScreen,j as isDesktop,f as isMobile,c as isSmallerThanScreen,h as isTablet,e as isTouchDevice}from"./p-CWO2YJCh.js";export{i as initTheme,o as onStateChange,s as state,a as stateLocaleOptions,b as stateThemeOptions}from"./p-BBiGYjKk.js";export{c as childOf,a as childOfComposed}from"./p-TyZ7uPES.js";export{c as categorized,i as icons}from"./p-C8Ju8eG_.js";export{f as formatTranslation,g as getLocaleComponentStrings}from"./p-CwQG70_4.js";export{f as floatingMenuContainerClass,g as getTableCellColumnClasses,a as getTableCellSizes,o as objectGetByPath}from"./p-WEZng7dj.js";export{i as isMobileBrowser}from"./p-DPc49L2n.js";export{c as cn}from"./p-xs4N_Y-0.js";export{P as PAGINATION_DEFAULT_PAGE_SIZE,a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS,S as SELECT_DEFAULT_MAX_DISPLAYED_ITEMS,T as TABLE_COLUMN_SIZES}from"./p-CEaB2BT0.js";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l,m,p,v,u,x,F={},w={};function E(){return m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});const a=t((l||(l=1,function(e){function a(e,a){return{handler:e,config:a}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}}),a.withOptions=function(e,a=()=>({})){const t=function(t){return{__options:t,handler:e(t),config:a(t)}};return t.__isOptionsFunction=!0,t.__pluginFunction=e,t.__configFunction=a,t};const t=a}(w)),w));function t(e){return e&&e.__esModule?e:{default:e}}const r=a.default}(F)),F}function C(){if(v)return p;v=1;let e=E();return p=(e.__esModule?e:{default:e}).default}var B,D,O=function(){if(x)return u;x=1;const e=C(),a={position:"relative",paddingBottom:"calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%)"},t={position:"absolute",height:"100%",width:"100%",top:"0",right:"0",bottom:"0",left:"0"},r={".aspect-none":{position:"static",paddingBottom:"0"},".aspect-none > *":{position:"static",height:"auto",width:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto"}},s=e((function({addComponents:e,matchComponents:s,theme:n,variants:o,e:i}){const l=n("aspectRatio");if(s)return s({"aspect-w":e=>[{...a,"--tw-aspect-w":e},{"> *":t}],"aspect-h":e=>({"--tw-aspect-h":e})},{values:l}),void e(r);const f=Object.entries(l).map((([e,a])=>"."+i("aspect-w-"+e))).join(",\n"),m=Object.entries(l).map((([e,a])=>`.${i("aspect-w-"+e)} > *`)).join(",\n");e([{[f]:a,[m]:t},r,Object.entries(l).map((([e,a])=>({["."+i("aspect-w-"+e)]:{"--tw-aspect-w":a}}))),Object.entries(l).map((([e,a])=>({["."+i("aspect-h-"+e)]:{"--tw-aspect-h":a}})))],o("aspectRatio"))}),{theme:{aspectRatio:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"}},variants:{aspectRatio:["responsive"]}});return u=s}(),y=n(O),A=n(function(){if(D)return B;D=1;const e=C()((function({addUtilities:e}){e({".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}},["responsive"])}));return B=e}()),I=n(C());const Y=({addVariant:e})=>{e("has-hover","@media (hover: hover)"),e("no-hover","@media (hover: none)"),e("hover-never","@media (hover: hover) { &:hover }"),e("group-hover-never","@media (hover: hover) { :merge(.group):hover & }"),e("peer-hover-never","@media (hover: hover) { :merge(.peer):hover & }"),e("hover-always",["@media (hover: hover) { &:hover }","@media (hover: none)"]),e("group-hover-always",["@media (hover: hover) { :merge(.group):hover & }","@media (hover: none)"]),e("peer-hover-always",["@media (hover: hover) { :merge(.peer):hover & }","@media (hover: none)"])},_=({addUtilities:e})=>{e({".m-safe":{marginTop:"env(safe-area-inset-top)",marginRight:"env(safe-area-inset-right)",marginBottom:"env(safe-area-inset-bottom)",marginLeft:"env(safe-area-inset-left)"},".mx-safe":{marginRight:"env(safe-area-inset-right)",marginLeft:"env(safe-area-inset-left)"},".my-safe":{marginTop:"env(safe-area-inset-top)",marginBottom:"env(safe-area-inset-bottom)"},".my-safe-2":{marginTop:"calc(env(safe-area-inset-top)+0.5rem)",marginBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".mt-safe":{marginTop:"env(safe-area-inset-top)"},".mr-safe":{marginRight:"env(safe-area-inset-right)"},".mb-safe":{marginBottom:"env(safe-area-inset-bottom)"},".ml-safe":{marginLeft:"env(safe-area-inset-left)"},".p-safe":{paddingTop:"env(safe-area-inset-top)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",paddingLeft:"env(safe-area-inset-left)"},".px-safe":{paddingRight:"env(safe-area-inset-right)",paddingLeft:"env(safe-area-inset-left)"},".py-safe":{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)"},".py-safe-2":{paddingTop:"calc(env(safe-area-inset-top)+0.5rem)",paddingBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".pt-safe":{paddingTop:"env(safe-area-inset-top)"},".pr-safe":{paddingRight:"env(safe-area-inset-right)"},".pb-safe":{paddingBottom:"env(safe-area-inset-bottom)"},".pl-safe":{paddingLeft:"env(safe-area-inset-left)"},".min-h-screen":{minHeight:"100vh"},".min-h-screen-safe":{minHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".max-h-screen":{maxHeight:"100vh"},".max-h-screen-safe":{maxHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".h-screen-safe":{height:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".min-w-screen":{minWidth:"100vw"},".min-w-screen-safe":{minWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".max-w-screen":{maxWidth:"100vw"},".max-w-screen-safe":{maxWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".w-screen-safe":{width:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"}})};var L={animation:{"fade-in":"forwards fadeIn .2s ease","fade-out":"forwards fadeOut .2s ease","slide-in-right":"forwards slideInRight .5s ease","slide-in-left":"forwards slideInLeft .5s ease","slide-in-top":"forwards slideInTop .25 ease","slide-in-bottom":"forwards slideInBottom .5s ease","slide-in-right-small":"forwards slideInRightSmall .5s ease","slide-in-left-small":"forwards slideInLeftSmall .5s ease","slide-in-top-small":"forwards slideInTopSmall .5s ease","slide-in-bottom-small":"forwards slideInBottomSmall .5s ease","slide-out-right":"forwards slideOutRight .2s ease","slide-out-left":"forwards slideOutLeft .2s ease","slide-out-top":"forwards slideOutTop .2s ease","slide-out-bottom":"forwards slideOutBottom .5s ease","slide-out-top-small":"forwards slideOutTopSmall .5s ease","slide-out-bottom-small":"forwards slideOutBottomSmall .5s ease","floating-menu-container-out":"forwards floatingMenuContainerOut .5s ease","floating-menu-container-in":"forwards floatingMenuContainerIn .5s ease",wave:"wave .5s ease-in-out -0.5s infinite alternate forwards"},keyframes:{fadeIn:{"0%":{opacity:"0"},"100%":{opacity:"100"}},fadeOut:{"0%":{opacity:"100"},"100%":{opacity:"0"}},slideInRight:{"0%":{transform:"translateX(100%)"},"100%":{transform:"translateX(0)"}},slideInLeft:{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(0)"}},slideInTop:{"0%":{transform:"translateY(-100%)"},"100%":{transform:"translateY(0)"}},slideInBottom:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0)"}},slideInRightSmall:{"0%":{transform:"translateX(20%)"},"100%":{transform:"translateX(0)"}},slideInLeftSmall:{"0%":{transform:"translateX(-20%)"},"100%":{transform:"translateX(0)"}},slideInTopSmall:{"0%":{transform:"translateY(-20%)"},"100%":{transform:"translateY(0)"}},slideInBottomSmall:{"0%":{transform:"translateY(20%)"},"100%":{transform:"translateY(0)"}},slideOutRight:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(100%)"}},slideOutLeft:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(-100%)"}},slideOutTop:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-100%)"}},slideOutBottom:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(100%)"}},slideOutTopSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-20%)"}},slideOutBottomSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(20%)"}},floatingMenuContainerOut:{"0%":{display:"flex",transform:"translateY(0)",opacity:"100"},"99%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"none",transform:"translateY(100%)",opacity:"0"}},floatingMenuContainerIn:{"0%":{display:"none",transform:"translateY(100%)",opacity:"0"},"1%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"flex",transform:"translateY(0)",opacity:"100"}},wave:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(-15deg)"}}}};const R={};for(let e=1;e<360;e++)R[""+e]=e+"deg",R["-"+e]=`-${e}deg`;var k={1:["0 1px 1px rgba(0, 2, 2, 0.08)"],2:["0 1px 1px rgba(0, 2, 2, 0.04)","0 2px 2px rgba(0, 2, 2, 0.04)","0 4px 4px rgba(0, 2, 2, 0.04)"],3:["0 1px 1px rgba(0, 2, 2, 0.08)","0 2px 2px rgba(0, 2, 2, 0.08)","0 4px 4px rgba(0, 2, 2, 0.08)"],modal:["0 0 0 1px rgba(0, 2, 2, 0.10)","0 1px 1px 0 rgba(0, 2, 2, 0.20)","0 2px 2px 0 rgba(0, 2, 2, 0.08)","0 4px 4px 0 rgba(0, 2, 2, 0.08)","0 8px 8px 0 rgba(0, 2, 2, 0.08)"],"supportive-lilac":"0px 1px 1px rgba(189, 140, 255, 0.20)","storm-10%":"0px 1px 0px rgba(3, 42, 36, 0.1)","primary-button":"0px 1px 1px 0px rgba(24, 30 41, 0.08)","off-white-600":"0px 0px 0px 1px #ECEAE5",inherit:"inherit",transparent:"transparent"},X={fontSize:{xxs:["0.5rem","1rem"],"3xl":["2rem","2.5rem"],"4xl":["2.5rem","3rem"]},lineHeight:{xs:"1rem",sm:"1.5rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.5rem","4xl":"3rem"}};const M=I((e=>{_(e),Y(e)}),{theme:{colors:{inherit:"inherit",transparent:"transparent",current:"currentColor",black:"#000",white:{800:"#E4E3E3",700:"#F2F2F2",600:"#FAFAFA",500:"#FFFFFF",DEFAULT:"#FFFFFF"},"negative-red":{800:"#8D1010",700:"#931010",500:"#E61E1E",100:"#FFDDDD",50:"#FDEDED",alternative:"#FF5C5C"},"positive-green":{800:"#2F6407",500:"#5CC30E",100:"#D5FBC7",50:"#EAFDE3",alternative:"#62FF5C"},amber:{800:"#944D0B",500:"#E19F23",100:"#FFF6C2",50:"#FFFAE0",alternative:"#FFE75C"},indigo:{900:"#1349B6",800:"#1B58D2",700:"#2F6FF0",600:"#528AFA",500:"#8EB3FB",400:"#A5C2FC",300:"#BBD1FD",200:"#C7D9FD",100:"#E3ECFE",50:"#F1F6FF"},storm:{800:"#020815",700:"#080F1C",600:"#0F1622",500:"#181E29",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},hurricane:{900:"#020815",800:"#181E29",700:"#232934",600:"#2E343E",500:"#363C46",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},"off-white":{800:"#D5D0C3",700:"#DEDBD5",600:"#ECEAE5",500:"#F3F1ED",400:"#F5F4F1",300:"#F8F7F4",200:"#FAF9F8",100:"#FDFCFB",50:"#FEFEFD"}},boxShadow:k,dropShadow:k,extend:{animation:L.animation,keyframes:L.keyframes,fontFamily:{geist:["Geist","serif"],ambit:["Ambit","sans-serif"]},scale:{flip:"-1"},rotate:R,fontSize:X.fontSize,lineHeight:X.lineHeight,zIndex:{"floating-menu":"190",dropdown:"200","navbar-topbar":"280","navbar-backdrop":"290",navbar:"300",tooltip:"400",datepicker:"401",backdrop:"490",drawer:"500","drawer-header":"501",modal:"600",toast:"700"},screens:t,width:{unset:"unset",inherit:"inherit","content-mobile":"100%","content-1280":"62rem","content-1440":"71rem","content-1536":"77rem","content-1680":"83rem","sidebar-desktop-login":"100%","content-desktop-login":"21rem"},height:{unset:"unset",inherit:"inherit"},spacing:{"content-mobile-x":"1rem","content-mobile-y":"1.5rem","content-desktop-x":"2rem","content-desktop-y":"2rem",18:"4.5rem"},aspectRatio:{branding:"23/24"}}},plugins:[y,A,_,Y]}),z=e=>e.replaceAll(/[A-Z]/g,(e=>"_"+e.toLowerCase())),G=e=>e.toLowerCase().replaceAll(/([_-][a-z])/g,(e=>e.toUpperCase().replace("-","").replace("_",""))),N=e=>e.replaceAll("-"," "),U=e=>e.replaceAll(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));export{z as camelToSnakeCase,N as kebabToSpaces,M as paperless,G as snakeToCamelCase,U as titleCase}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as r,h as a}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{c}from"./p-xs4N_Y-0.js";import{a as n}from"./p-C5CTp9IA.js";import{d as s}from"./p-
|
|
1
|
+
import{t,p as e,H as r,h as a}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{c}from"./p-xs4N_Y-0.js";import{a as n}from"./p-C5CTp9IA.js";import{d as s}from"./p-CPr4Yiq8.js";const d=o(["flex items-center justify-center","rounded-xl","cursor-pointer text-sm"],{variants:{variant:{default:"h-6 gap-2",block:"flex-col p-2 text-center"},active:{false:["cursor-pointer","\n text-storm-300\n hover:bg-storm-50 hover:text-storm-500\n ","dark:hover:bg-white/15 dark:hover:text-white"],true:"bg-indigo-600 text-white"},iconOnly:{false:"px-2",true:"w-6"}},compoundVariants:[{variant:"default",active:!1,class:"\n text-storm-500\n dark:text-hurricane-200\n "},{variant:"block",active:!1,class:"\n text-storm-500\n dark:text-white\n "}]}),h=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}variant="default";active=!1;iconOnly=!1;icon;iconFlip;iconRotate;render(){const t="block"===this.variant?a("slot",{name:"description"}):null;return a(i,{key:"9be1b585d2aede4645ef92018603c79a85bd4e23"},a("div",{key:"049f0e6c3fc278bbfadec4f23880afc6e567aeb0",class:d({variant:this.variant,active:n(this.active),iconOnly:n(this.iconOnly)})},this.icon&&a("p-icon",{key:"d72b71bba1a830113c8c1269179094c4018e5099",class:c("mb-1",{"text-storm-300 dark:text-hurricane-200":!n(this.active),"text-indigo-200":n(this.active)}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.icon}),"default"===this.variant?a("slot",null):a("div",{class:"flex flex-col items-center"},a("p",{class:c("\n my-0 font-medium\n empty:hidden\n ",{})},a("slot",{name:"title"})),t&&a("p",{class:c("my-0 text-xs font-medium",{"text-storm-300 dark:text-hurricane-200":!n(this.active),"text-indigo-200":n(this.active)})},t))))}static get style(){return"*{box-sizing:border-box}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-1{margin-bottom:.25rem}.block{display:block}.flex{display:flex}.h-6{height:1.5rem}.w-6{width:1.5rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-xl{border-radius:.75rem}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-hurricane-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-indigo-200{--tw-text-opacity:1;color:rgb(199 217 253/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-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))}.empty\\:hidden:empty{display:none}.hover\\:bg-storm-50:hover{--tw-bg-opacity:1;background-color:rgb(232 232 234/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\\: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-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.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\\: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-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.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))}"}},[769,"p-segment-item",{variant:[1],active:[4],iconOnly:[4,"icon-only"],icon:[1],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]}]);function m(){"undefined"!=typeof customElements&&["p-segment-item","p-icon"].forEach((e=>{switch(e){case"p-segment-item":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-icon":customElements.get(t(e))||s()}}))}m();export{h as S,m as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as a,h as r}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{c as d}from"./p-xs4N_Y-0.js";import{a as n}from"./p-C5CTp9IA.js";import{d as h}from"./p-BrFVDEeC.js";import{d as c}from"./p-DL2YlEpH.js";const s=o(["group flex max-w-full items-center gap-2 rounded-lg text-sm"],{variants:{variant:{default:null,storm:null,negative:null,pagination:"\n h-6 px-2 text-xs text-storm-300\n dark:text-hurricane-200\n "},active:{false:null,true:null},disabled:{false:"cursor-pointer",true:"cursor-not-allowed"},enableHover:{false:null,true:null},enableTextWrap:{true:null,false:null},autoHeight:{true:null,false:null}},compoundVariants:[{autoHeight:!1,enableTextWrap:!0,class:"min-h-8"},{autoHeight:!1,enableTextWrap:!1,class:"h-8"},{variant:["default","storm","negative"],class:"px-2 py-1 font-medium"},{variant:["default","pagination"],active:!1,enableHover:!0,disabled:!1,class:"\n hover:bg-indigo-50\n dark:hover:bg-indigo-600/10\n "},{variant:"default",active:!0,disabled:!1,class:"\n bg-indigo-100\n dark:bg-indigo-600/20\n "},{variant:"default",disabled:!1,class:"\n text-storm-500\n dark:text-white\n "},{variant:"default",disabled:!0,class:"\n text-storm-200\n dark:text-hurricane-300\n "},{variant:"default",disabled:!0,active:!0,class:"\n bg-indigo-50\n dark:bg-white/5\n "},{variant:"storm",active:!1,enableHover:!0,class:"\n text-white\n dark:text-storm-500\n "},{variant:"storm",active:!1,enableHover:!0,disabled:!1,class:"\n hover:bg-storm-500\n dark:hover:bg-storm-500/15\n "},{variant:"storm",active:!0,class:"\n bg-storm-600 text-white\n dark:bg-storm-500/20 dark:text-storm-500\n "},{variant:"storm",disabled:!0,class:"opacity-40"},{variant:"negative",active:!1,enableHover:!0,disabled:!1,class:"\n text-negative-red-500\n hover:bg-negative-red-50\n dark:hover:bg-negative-red-500/10\n "},{variant:"negative",active:!0,disabled:!1,class:"\n bg-negative-red-100 text-negative-red-500\n dark:bg-negative-red-500/15\n "},{variant:"negative",disabled:!0,class:"text-negative-red-100"},{variant:"negative",disabled:!0,active:!0,class:"bg-negative-red-50"},{enableHover:!0,disabled:!1,class:"cursor-pointer"}]}),g=o(["text-base"],{variants:{variant:{default:null,storm:null,negative:null,pagination:null},active:{false:null,true:null},disabled:{false:null,true:"text-storm-100"},wave:{true:"group-hover:animate-wave",false:null}},compoundVariants:[{variant:"default",active:!1,disabled:!1,class:["\n text-storm-300\n group-hover:text-storm-500\n ","\n dark:text-hurricane-200\n dark:group-hover:text-white\n "]},{variant:"storm",active:!1,disabled:!1,class:["\n text-storm-100\n group-hover:text-white\n ","\n dark:text-storm-300\n dark:group-hover:text-storm-500\n "]},{variant:"negative",active:!1,disabled:!1,class:"\n text-negative-red-500\n group-hover:text-negative-red-800\n dark:text-negative-red-alternative\n dark:group-hover:text-negative-red-500\n "},{variant:"negative",active:!0,disabled:!1,class:"\n text-negative-red-800\n dark:text-negative-red-500\n "}]}),m=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}active=!1;checkbox=!1;variant="default";enableHover=!0;enableTextWrap=!1;disabled=!1;icon;iconWave=!1;useContainer=!0;autoHeight=!1;render(){return r(i,{key:"147401764920d564b7a00d1b31a2d10a262329be"},r("div",{key:"06dd61d4b5bf8cd1e447d326d30082d638e7b033",class:d(s({variant:this.variant,active:n(this.active),enableHover:n(this.enableHover??!0),autoHeight:n(this.autoHeight??!1),enableTextWrap:this.enableTextWrap,disabled:n(this.disabled)}))},this.icon&&r("p-icon",{key:"057978ce674d15f2013cc44941a535bd61b09aa9",class:g({variant:this.variant,active:n(this.active),disabled:n(this.disabled),wave:n(this.iconWave)}),variant:this.icon}),this.checkbox&&r("p-checkbox",{key:"1a953c17a54475d4d2f09ae18cd2cf5b46438a23",checked:this.active,disabled:this.disabled}),this.useContainer?r("div",{class:d("block w-full overflow-hidden text-start",{"text-ellipsis whitespace-nowrap":!this.enableTextWrap})},r("slot",null)):r("slot",null)))}static get style(){return"*{box-sizing:border-box}.static{position:static}.block{display:block}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.min-h-8{min-height:2rem}.w-full{width:100%}.max-w-full{max-width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-negative-red-100{--tw-bg-opacity:1;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))}.bg-negative-red-50{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.bg-storm-600{--tw-bg-opacity:1;background-color:rgb(15 22 34/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-start{text-align:start}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-negative-red-100{--tw-text-opacity:1;color:rgb(255 221 221/var(--tw-text-opacity,1))}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 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-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-40{opacity:.4}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.hover\\:bg-negative-red-50:hover{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.hover\\:bg-storm-500:hover{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}@keyframes wave{0%{transform:rotate(0deg)}to{transform:rotate(-15deg)}}.group:hover .group-hover\\:animate-wave{animation:wave .5s ease-in-out -.5s infinite alternate forwards}.group:hover .group-hover\\:text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-indigo-600\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/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-storm-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\: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-indigo-600\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/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-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-dropdown-menu-item",{active:[4],checkbox:[4],variant:[1],enableHover:[4,"enable-hover"],enableTextWrap:[4,"enable-text-wrap"],disabled:[4],icon:[1],iconWave:[4,"icon-wave"],useContainer:[4,"use-container"],autoHeight:[4,"auto-height"]}]);function l(){"undefined"!=typeof customElements&&["p-dropdown-menu-item","p-checkbox","p-icon"].forEach((e=>{switch(e){case"p-dropdown-menu-item":customElements.get(t(e))||customElements.define(t(e),m);break;case"p-checkbox":customElements.get(t(e))||h();break;case"p-icon":customElements.get(t(e))||c()}}))}l();export{m as D,l as d}
|
|
1
|
+
import{t,p as e,H as a,h as r}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{c as d}from"./p-xs4N_Y-0.js";import{a as n}from"./p-C5CTp9IA.js";import{d as h}from"./p-CK5WtJW3.js";import{d as c}from"./p-CPr4Yiq8.js";const s=o(["group flex max-w-full items-center gap-2 rounded-lg text-sm"],{variants:{variant:{default:null,storm:null,negative:null,pagination:"\n h-6 px-2 text-xs text-storm-300\n dark:text-hurricane-200\n "},active:{false:null,true:null},disabled:{false:"cursor-pointer",true:"cursor-not-allowed"},enableHover:{false:null,true:null},enableTextWrap:{true:null,false:null},autoHeight:{true:null,false:null}},compoundVariants:[{autoHeight:!1,enableTextWrap:!0,class:"min-h-8"},{autoHeight:!1,enableTextWrap:!1,class:"h-8"},{variant:["default","storm","negative"],class:"px-2 py-1 font-medium"},{variant:["default","pagination"],active:!1,enableHover:!0,disabled:!1,class:"\n hover:bg-indigo-50\n dark:hover:bg-indigo-600/10\n "},{variant:"default",active:!0,disabled:!1,class:"\n bg-indigo-100\n dark:bg-indigo-600/20\n "},{variant:"default",disabled:!1,class:"\n text-storm-500\n dark:text-white\n "},{variant:"default",disabled:!0,class:"\n text-storm-200\n dark:text-hurricane-300\n "},{variant:"default",disabled:!0,active:!0,class:"\n bg-indigo-50\n dark:bg-white/5\n "},{variant:"storm",active:!1,enableHover:!0,class:"\n text-white\n dark:text-storm-500\n "},{variant:"storm",active:!1,enableHover:!0,disabled:!1,class:"\n hover:bg-storm-500\n dark:hover:bg-storm-500/15\n "},{variant:"storm",active:!0,class:"\n bg-storm-600 text-white\n dark:bg-storm-500/20 dark:text-storm-500\n "},{variant:"storm",disabled:!0,class:"opacity-40"},{variant:"negative",active:!1,enableHover:!0,disabled:!1,class:"\n text-negative-red-500\n hover:bg-negative-red-50\n dark:hover:bg-negative-red-500/10\n "},{variant:"negative",active:!0,disabled:!1,class:"\n bg-negative-red-100 text-negative-red-500\n dark:bg-negative-red-500/15\n "},{variant:"negative",disabled:!0,class:"text-negative-red-100"},{variant:"negative",disabled:!0,active:!0,class:"bg-negative-red-50"},{enableHover:!0,disabled:!1,class:"cursor-pointer"}]}),g=o(["text-base"],{variants:{variant:{default:null,storm:null,negative:null,pagination:null},active:{false:null,true:null},disabled:{false:null,true:"text-storm-100"},wave:{true:"group-hover:animate-wave",false:null}},compoundVariants:[{variant:"default",active:!1,disabled:!1,class:["\n text-storm-300\n group-hover:text-storm-500\n ","\n dark:text-hurricane-200\n dark:group-hover:text-white\n "]},{variant:"storm",active:!1,disabled:!1,class:["\n text-storm-100\n group-hover:text-white\n ","\n dark:text-storm-300\n dark:group-hover:text-storm-500\n "]},{variant:"negative",active:!1,disabled:!1,class:"\n text-negative-red-500\n group-hover:text-negative-red-800\n dark:text-negative-red-alternative\n dark:group-hover:text-negative-red-500\n "},{variant:"negative",active:!0,disabled:!1,class:"\n text-negative-red-800\n dark:text-negative-red-500\n "}]}),m=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}active=!1;checkbox=!1;variant="default";enableHover=!0;enableTextWrap=!1;disabled=!1;icon;iconWave=!1;useContainer=!0;autoHeight=!1;render(){return r(i,{key:"a9d9404058e02af2e3f67248c9b97501c0627764"},r("div",{key:"999122672d9c1f7fd467ef5a4a4316b3484c201d",class:d(s({variant:this.variant,active:n(this.active),enableHover:n(this.enableHover??!0),autoHeight:n(this.autoHeight??!1),enableTextWrap:this.enableTextWrap,disabled:n(this.disabled)}))},this.icon&&r("p-icon",{key:"874509b8f140f2a7f59d3eaea197576d04fef57a",class:g({variant:this.variant,active:n(this.active),disabled:n(this.disabled),wave:n(this.iconWave)}),variant:this.icon}),this.checkbox&&r("p-checkbox",{key:"4ac46ef8905c184cf1e1e3531d26ef559ae3ff97",checked:this.active,disabled:this.disabled}),this.useContainer?r("div",{class:d("block w-full overflow-hidden text-start",{"text-ellipsis whitespace-nowrap":!this.enableTextWrap})},r("slot",null)):r("slot",null)))}static get style(){return"*{box-sizing:border-box}.static{position:static}.block{display:block}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.min-h-8{min-height:2rem}.w-full{width:100%}.max-w-full{max-width:100%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-negative-red-100{--tw-bg-opacity:1;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))}.bg-negative-red-50{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.bg-storm-600{--tw-bg-opacity:1;background-color:rgb(15 22 34/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-start{text-align:start}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-negative-red-100{--tw-text-opacity:1;color:rgb(255 221 221/var(--tw-text-opacity,1))}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 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-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-40{opacity:.4}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.hover\\:bg-negative-red-50:hover{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.hover\\:bg-storm-500:hover{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}@keyframes wave{0%{transform:rotate(0deg)}to{transform:rotate(-15deg)}}.group:hover .group-hover\\:animate-wave{animation:wave .5s ease-in-out -.5s infinite alternate forwards}.group:hover .group-hover\\:text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-indigo-600\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/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-storm-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\: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-indigo-600\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/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-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-indigo-600\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-dropdown-menu-item",{active:[4],checkbox:[4],variant:[1],enableHover:[4,"enable-hover"],enableTextWrap:[4,"enable-text-wrap"],disabled:[4],icon:[1],iconWave:[4,"icon-wave"],useContainer:[4,"use-container"],autoHeight:[4,"auto-height"]}]);function l(){"undefined"!=typeof customElements&&["p-dropdown-menu-item","p-checkbox","p-icon"].forEach((e=>{switch(e){case"p-dropdown-menu-item":customElements.get(t(e))||customElements.define(t(e),m);break;case"p-checkbox":customElements.get(t(e))||h();break;case"p-icon":customElements.get(t(e))||c()}}))}l();export{m as D,l as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as a,H as e,h as s,d as l}from"./p-CySg37XO.js";import{c as r}from"./p-CBWjHURv.js";const i=r(null,{variants:{variant:{full:null,modal:"w-[355%]",card:"w-[310%]"}},compoundVariants:[{variant:["modal","card"],class:"\n absolute bottom-0 left-1/2 z-[-1] aspect-[8/3] -translate-x-1/2\n text-off-white-500\n "}]}),n=r("text-inherit",{variants:{variant:{full:"w-inherit",modal:null,card:null}},compoundVariants:[{variant:["modal","card"],class:"absolute bottom-0 left-0 h-full w-full"}]}),o=a(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}variant="modal";render(){return s(l,{key:"
|
|
1
|
+
import{t,p as a,H as e,h as s,d as l}from"./p-CySg37XO.js";import{c as r}from"./p-CBWjHURv.js";const i=r(null,{variants:{variant:{full:null,modal:"w-[355%]",card:"w-[310%]"}},compoundVariants:[{variant:["modal","card"],class:"\n absolute bottom-0 left-1/2 z-[-1] aspect-[8/3] -translate-x-1/2\n text-off-white-500\n "}]}),n=r("text-inherit",{variants:{variant:{full:"w-inherit",modal:null,card:null}},compoundVariants:[{variant:["modal","card"],class:"absolute bottom-0 left-0 h-full w-full"}]}),o=a(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}variant="modal";render(){return s(l,{key:"6e81187a95899bde054b3758a1e508b9ad8fcd55",class:i({variant:this.variant})},s("div",{key:"9619867e6df73de96849907f12b247a8f5fbab68",class:n({variant:this.variant}),innerHTML:'\t<svg width="100%" height="100%" viewBox="0 0 1038 388" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M519.113 388H518.773C305.85 387.887 176.284 294.549 105.102 216.25C28.9938 132.544 2.71817 49.7392 0 40.5575L135.455 0C135.682 0.619628 156.068 64.3287 213.942 126.123C289.258 206.562 391.926 247.344 519 247.401C646.074 247.401 748.742 206.562 824.057 126.123C881.932 64.385 902.318 0.675958 902.545 0L1038 40.5575C1035.28 49.7392 1009.01 132.544 932.897 216.25C861.715 294.549 732.149 387.944 519.226 388H519.113Z" fill="currentColor"/>\n</svg>\n\n'}))}static get style(){return"*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.bottom-0{bottom:0}.left-0{left:0}.left-1\\/2{left:50%}.z-\\[-1\\]{z-index:-1}.aspect-\\[8\\/3\\]{aspect-ratio:8/3}.h-full{height:100%}.w-\\[310\\%\\]{width:310%}.w-\\[355\\%\\]{width:355%}.w-full{width:100%}.w-inherit{width:inherit}.-translate-x-1\\/2{--tw-translate-x:-50%;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))}.text-inherit{color:inherit}.text-off-white-500{--tw-text-opacity:1;color:rgb(243 241 237/var(--tw-text-opacity,1))}"}},[512,"p-smile",{variant:[1]}]);function c(){"undefined"!=typeof customElements&&["p-smile"].forEach((a=>{"p-smile"===a&&(customElements.get(t(a))||customElements.define(t(a),o))}))}c();export{o as S,c as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as a,h as r}from"./p-CySg37XO.js";import{T as o}from"./p-Au2WuEGF.js";const i=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return r(o,{key:"
|
|
1
|
+
import{t,p as e,H as a,h as r}from"./p-CySg37XO.js";import{T as o}from"./p-Au2WuEGF.js";const i=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return r(o,{key:"931af33edbc3cc1f4f0195462b18fad324f3cd05",class:"\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n "},r("slot",{key:"c556b9241a6b6023d88a26cc5296178f8711d622"}))}static get style(){return"*{box-sizing:border-box}.static{position:static}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}"}},[257,"p-navigation-title"]);function s(){"undefined"!=typeof customElements&&["p-navigation-title"].forEach((e=>{"p-navigation-title"===e&&(customElements.get(t(e))||customElements.define(t(e),i))}))}s();export{i as N,s as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as a,H as e,c as r,h as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{a as d}from"./p-C5CTp9IA.js";const n=s(["flex","fixed left-0 top-0 z-backdrop","h-full w-full","overflow-hidden","bg-storm-800/40","max-h-screen max-w-screen","dark:bg-storm-500/60"],{variants:{blur:{false:null,true:"backdrop-blur-sm"},closing:{false:"animate-fade-in",true:"pointer-events-none animate-fade-out"}}}),l=s(["h-full w-full overflow-y-auto overflow-x-hidden","flex","max-h-screen max-w-screen"],{variants:{variant:{modal:["\n pt-16\n tablet:px-16\n desktop-xs:py-8\n ","\n items-end justify-center\n desktop-xs:items-stretch\n "],drawer:["\n items-start justify-end\n desktop-xs:items-start\n "]},closing:{false:null,true:"overflow-hidden"}}}),c=a(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.clicked=r(this,"clicked",3)}variant="modal";applyBlur=!1;closing=!1;scrollLock=!0;class;clicked;get _el(){return this}componentWillLoad(){this.scrollLock&&document.querySelector(":root").classList.add("scroll-lock")}disconnectedCallback(){this.scrollLock&&document.querySelector(":root").classList.remove("scroll-lock")}componentWillUpdate(){this.scrollLock||document.querySelector(":root").classList.remove("scroll-lock"),this.scrollLock&&document.querySelector(":root").classList.add("scroll-lock")}render(){return o(i,{key:"
|
|
1
|
+
import{t,p as a,H as e,c as r,h as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{a as d}from"./p-C5CTp9IA.js";const n=s(["flex","fixed left-0 top-0 z-backdrop","h-full w-full","overflow-hidden","bg-storm-800/40","max-h-screen max-w-screen","dark:bg-storm-500/60"],{variants:{blur:{false:null,true:"backdrop-blur-sm"},closing:{false:"animate-fade-in",true:"pointer-events-none animate-fade-out"}}}),l=s(["h-full w-full overflow-y-auto overflow-x-hidden","flex","max-h-screen max-w-screen"],{variants:{variant:{modal:["\n pt-16\n tablet:px-16\n desktop-xs:py-8\n ","\n items-end justify-center\n desktop-xs:items-stretch\n "],drawer:["\n items-start justify-end\n desktop-xs:items-start\n "]},closing:{false:null,true:"overflow-hidden"}}}),c=a(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.clicked=r(this,"clicked",3)}variant="modal";applyBlur=!1;closing=!1;scrollLock=!0;class;clicked;get _el(){return this}componentWillLoad(){this.scrollLock&&document.querySelector(":root").classList.add("scroll-lock")}disconnectedCallback(){this.scrollLock&&document.querySelector(":root").classList.remove("scroll-lock")}componentWillUpdate(){this.scrollLock||document.querySelector(":root").classList.remove("scroll-lock"),this.scrollLock&&document.querySelector(":root").classList.add("scroll-lock")}render(){return o(i,{key:"e9586ce56dfa263c02c005474361468a0aaa21e2"},o("div",{key:"80dd679ca396a856e1c72077b86ec2a7f8525fb5",class:n({blur:d(this.applyBlur),closing:d(this.closing)})},o("div",{key:"c7e2329750dee4b82801033ce2ea354244ad0590",class:l({variant:this.variant,closing:d(this.closing)})},o("slot",{key:"b236a370d355365f5af928afab77227819acc08c"}))))}handleClick(t){(t.target===this._el||this._el.contains(t.target))&&this.clicked.emit(t)}static get style(){return"*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.left-0{left:0}.top-0{top:0}.z-backdrop{z-index:490}.flex{display:flex}.h-full{height:100%}.w-full{width:100%}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fadeIn .2s ease forwards}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate-fade-out{animation:fadeOut .2s ease forwards}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.bg-storm-800\\/40{background-color:rgba(2,8,21,.4)}.pt-16{padding-top:4rem}.blur{--tw-blur:blur(8px);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)}.backdrop-blur-sm{--tw-backdrop-blur:blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.max-h-screen{max-height:100vh}.max-w-screen{max-width:100vw}@media (min-width:40rem){.tablet\\:px-16{padding-left:4rem;padding-right:4rem}}@media (min-width:64rem){.desktop-xs\\:items-start{align-items:flex-start}.desktop-xs\\:items-stretch{align-items:stretch}.desktop-xs\\:py-8{padding-bottom:2rem;padding-top:2rem}}.dark\\:bg-storm-500\\/60:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.6)}.dark\\:bg-storm-500\\/60:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.6)}"}},[769,"p-backdrop",{variant:[1],applyBlur:[4,"apply-blur"],closing:[4],scrollLock:[4,"scroll-lock"],class:[1]},[[2,"click","handleClick"]]]);function p(){"undefined"!=typeof customElements&&["p-backdrop"].forEach((a=>{"p-backdrop"===a&&(customElements.get(t(a))||customElements.define(t(a),c))}))}p();export{c as B,p as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as a,H as t,c as r,h as i,F as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as
|
|
1
|
+
import{t as e,p as a,H as t,c as r,h as i,F as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as d}from"./p-Au2WuEGF.js";import{P as n,a as p}from"./p-CEaB2BT0.js";import{d as c}from"./p-Dzd3xVIu.js";import{d as m}from"./p-CK5WtJW3.js";import{d as h}from"./p-O5rAm8zV.js";import{d as g}from"./p-DA92PZeS.js";import{d as b}from"./p-CmhjRWQy.js";import{d as l}from"./p-B0R6Smvm.js";import{d as f}from"./p-D-CC7BBx.js";import{d as u}from"./p-bWeLk9nj.js";import{d as k}from"./p-DW2CgFRa.js";import{d as w}from"./p-CPr4Yiq8.js";import{d as y}from"./p-D8faiybE.js";import{d as x}from"./p-C_ug-NFC.js";import{d as j}from"./p-CTFrItdj.js";import{d as z}from"./p-BmZe-ySu.js";import{d as C}from"./p-jLO4drbv.js";const E=s(["items-center gap-2","rounded-full","border border-solid border-off-white-700 bg-off-white-300","dark:border-hurricane-400 dark:bg-hurricane-500","p-1"],{variants:{hidden:{false:"flex",true:"hidden"}}}),P=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.pageChange=r(this,"pageChange",3),this.pageSizeChange=r(this,"pageSizeChange",3),this.pagesChange=r(this,"pagesChange",3)}hideOnSinglePage=!0;enablePaginationSize=!0;enablePaginationPages=!0;page=1;total;pageSize=n;pageSizeOptions=p;pageChange;pageSizeChange;pagesChange;_hasPaginationPages=!0;render(){const e=this.hideOnSinglePage&&this.total<=this.pageSizeOptions?.[0];return i(d,{key:"611fb4062cf7c6cd78adf2744d7694615fa8d502"},i("div",{key:"80ebed4ee0978c78ecee629d08f7ca026e395349",class:E({hidden:e&&!this._hasPaginationPages||!this.enablePaginationSize&&!this.enablePaginationPages})},this.enablePaginationPages&&this.enablePaginationSize&&i(o,{key:"81ffbba6758be70cb681d1b778365c1f83122048"},i("p-pagination-size",{key:"ede0a33d15261777f8d99ce866dedb3af3d63c86",hidden:e,size:this.pageSize,sizeOptions:this.pageSizeOptions,onSizeChange:({detail:e})=>this._changePageSize(e)}),!e&&this.hideOnSinglePage&&this._hasPaginationPages&&i("p-divider",{key:"8d9956dd7d2277ea8849003e31ce2000eb88db7d",class:"\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ",variant:"vertical"})),this.enablePaginationPages&&i("p-pagination-pages",{key:"c39df7ebd431fbcfa82eb847ff1c9a52acfc7b41",hideOnSinglePage:this.hideOnSinglePage,page:this.page,pageSize:this.pageSize,total:this.total,onPageChange:({detail:e})=>this.pageChange.emit(e),onPagesChange:({detail:e})=>{this._hasPaginationPages=e>1,this.pagesChange.emit(e)}})))}_changePageSize(e){e&&(this.pageSize=e,this.pageSizeChange.emit(this.pageSize))}static get style(){return"*{box-sizing:border-box}.static{position:static}.mx-0{margin-left:0;margin-right:0}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.items-center{align-items:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.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))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}"}},[513,"p-pagination",{hideOnSinglePage:[4,"hide-on-single-page"],enablePaginationSize:[4,"enable-pagination-size"],enablePaginationPages:[4,"enable-pagination-pages"],page:[1538],total:[2],pageSize:[2,"page-size"],pageSizeOptions:[16],_hasPaginationPages:[32]}]);function v(){"undefined"!=typeof customElements&&["p-pagination","p-button","p-checkbox","p-divider","p-dropdown","p-dropdown-menu-container","p-dropdown-menu-item","p-field","p-field-container","p-helper","p-icon","p-loader","p-pagination-pages","p-pagination-pages-item","p-pagination-size","p-tooltip"].forEach((a=>{switch(a){case"p-pagination":customElements.get(e(a))||customElements.define(e(a),P);break;case"p-button":customElements.get(e(a))||c();break;case"p-checkbox":customElements.get(e(a))||m();break;case"p-divider":customElements.get(e(a))||h();break;case"p-dropdown":customElements.get(e(a))||g();break;case"p-dropdown-menu-container":customElements.get(e(a))||b();break;case"p-dropdown-menu-item":customElements.get(e(a))||l();break;case"p-field":customElements.get(e(a))||f();break;case"p-field-container":customElements.get(e(a))||u();break;case"p-helper":customElements.get(e(a))||k();break;case"p-icon":customElements.get(e(a))||w();break;case"p-loader":customElements.get(e(a))||y();break;case"p-pagination-pages":customElements.get(e(a))||x();break;case"p-pagination-pages-item":customElements.get(e(a))||j();break;case"p-pagination-size":customElements.get(e(a))||z();break;case"p-tooltip":customElements.get(e(a))||C()}}))}v();export{P,v as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as r,h as a}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as o}from"./p-Au2WuEGF.js";const
|
|
1
|
+
import{t,p as e,H as r,h as a}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as o}from"./p-Au2WuEGF.js";const d=i(["inline-flex items-center justify-center","h-4 min-w-4 px-1","rounded-full","\n bg-storm-100\n dark:bg-white/20\n ","\n text-storm-500\n dark:text-white\n ","text-center text-xs font-semibold tracking-tight"]),n=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return a(o,{key:"c87471d8302be84444f12d8f564536fc413350e7"},a("div",{key:"2bfc3ab348633579370ca7b94ed3a60aed7f3097",class:d()},a("slot",{key:"13590134e4d94df633d89a2a9bdaea97e9d02582"})))}static get style(){return"*{box-sizing:border-box}.static{position:static}.inline-flex{display:inline-flex}.h-4{height:1rem}.min-w-4{min-width:1rem}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-full{border-radius:9999px}.bg-storm-100{--tw-bg-opacity:1;background-color:rgb(209 210 212/var(--tw-bg-opacity,1))}.px-1{padding-left:.25rem;padding-right:.25rem}.text-center{text-align:center}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.tracking-tight{letter-spacing:-.025em}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-white\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-white\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[257,"p-badge"]);function s(){"undefined"!=typeof customElements&&["p-badge"].forEach((e=>{"p-badge"===e&&(customElements.get(t(e))||customElements.define(t(e),n))}))}s();export{n as B,s as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as t,H as a,c as r,h as o}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as d}from"./p-Au2WuEGF.js";import{d as
|
|
1
|
+
import{t as e,p as t,H as a,c as r,h as o}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as d}from"./p-Au2WuEGF.js";import{d as s}from"./p-Dzd3xVIu.js";import{d as c}from"./p-CPr4Yiq8.js";import{d as n}from"./p-D8faiybE.js";import{d as l}from"./p-BCWtvvOe.js";const h=i(["relative z-[1] min-h-18 w-full flex-col overflow-hidden rounded-t-2xl","\n bg-white\n dark:bg-hurricane-600\n ","inline-flex"]),f=i(["flex justify-between","min-h-12 w-full p-4 pb-0"]),m=i(["flex-1 text-center","\n font-ambit text-2xl font-bold text-storm-500\n dark:text-white\n "]),b=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.close=r(this,"close",3)}showClose=!0;close;render(){return o(d,{key:"68ec14e2f8d7fe78e6f4121f26b500e4f6806f2f"},o("div",{key:"bfd65e98e1e370ae5d1fe1204b0f35fa6ea5c527",class:h()},o("div",{key:"5216d5ff046ec5d9308960ca6536221806070893",class:f()},this.showClose&&o("p-button",{key:"068ff9a02ffe20649644d45a4883322bc213ed4f",icon:"negative",iconOnly:!0,variant:"secondary",onClick:e=>this.close.emit(e)}),o("div",{key:"ce6808112de2a48b49b4632ee3b98cb80525aebf",class:m()},o("slot",{key:"66c6afa30f02a8bb7b10da5264470cc5e92c0777"})),this.showClose&&o("div",{key:"947d1919641618b24dd528cb1d1f00974cc0252e",class:"size-8"})),o("p-smile",{key:"3809052da27e1deb595d5ebe0357fa03d3c610f3",class:"dark:text-hurricane-400"})))}static get style(){return"*{box-sizing:border-box}.static{position:static}.relative{position:relative}.z-\\[1\\]{z-index:1}.flex{display:flex}.inline-flex{display:inline-flex}.size-8{height:2rem;width:2rem}.min-h-12{min-height:3rem}.min-h-18{min-height:4.5rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.overflow-hidden{overflow:hidden}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-0{padding-bottom:0}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-drawer-header",{showClose:[4,"show-close"]}]);function p(){"undefined"!=typeof customElements&&["p-drawer-header","p-button","p-icon","p-loader","p-smile"].forEach((t=>{switch(t){case"p-drawer-header":customElements.get(e(t))||customElements.define(e(t),b);break;case"p-button":customElements.get(e(t))||s();break;case"p-icon":customElements.get(e(t))||c();break;case"p-loader":customElements.get(e(t))||n();break;case"p-smile":customElements.get(e(t))||l()}}))}p();export{b as D,p as d}
|