@paperless/core 3.17.1 → 3.17.2
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/build/index.esm.js +1 -1
- package/dist/{paperless/p-10105337.entry.js → build/p-043b91f5.entry.js} +1 -1
- package/dist/build/{p-76b33bc8.entry.js → p-0aa7e5d2.entry.js} +1 -1
- package/dist/{paperless/p-cb377de6.entry.js → build/p-11d65b3d.entry.js} +1 -1
- package/dist/build/p-17aZBUHj.js +1 -0
- package/dist/{paperless/p-62dd411e.entry.js → build/p-2907111a.entry.js} +1 -1
- package/dist/{paperless/p-0f7dd307.entry.js → build/p-2e61871a.entry.js} +1 -1
- package/dist/{paperless/p-763729fb.entry.js → build/p-344ab157.entry.js} +1 -1
- package/dist/{paperless/p-ccdfbac0.entry.js → build/p-34b81a42.entry.js} +1 -1
- package/dist/build/{p-e3b26855.entry.js → p-369e2594.entry.js} +1 -1
- package/dist/build/p-386c86f6.entry.js +1 -0
- package/dist/build/{p-3cd32a86.entry.js → p-3fb95d2b.entry.js} +1 -1
- package/dist/build/{p-67c4f47a.entry.js → p-5ad24b03.entry.js} +1 -1
- package/dist/build/{p-917e015e.entry.js → p-5e4343f3.entry.js} +1 -1
- package/dist/{paperless/p-def424e2.entry.js → build/p-66eaca48.entry.js} +1 -1
- package/dist/build/{p-9ba3bf5c.entry.js → p-743b47cb.entry.js} +1 -1
- package/dist/build/p-7afccf96.entry.js +1 -0
- package/dist/build/{p-8d8de0c2.entry.js → p-7fa2bbee.entry.js} +1 -1
- package/dist/{paperless/p-d7431519.entry.js → build/p-8edbbfd4.entry.js} +1 -1
- package/dist/build/{p-af1a320c.entry.js → p-9c4c942e.entry.js} +1 -1
- package/dist/{paperless/p-883569e8.entry.js → build/p-a00541cc.entry.js} +1 -1
- package/dist/build/{p-4396eb51.entry.js → p-a1a4a39e.entry.js} +1 -1
- package/dist/build/{p-e6303115.entry.js → p-a4a66b93.entry.js} +1 -1
- package/dist/build/{p-8d5c29db.entry.js → p-a68a2ee8.entry.js} +1 -1
- package/dist/build/{p-7ee97d69.entry.js → p-bdda2ffc.entry.js} +1 -1
- package/dist/{paperless/p-baef7edd.entry.js → build/p-be576419.entry.js} +1 -1
- package/dist/{paperless/p-a8c62ac9.entry.js → build/p-bec66e8f.entry.js} +1 -1
- package/dist/{paperless/p-da849804.entry.js → build/p-c5085825.entry.js} +1 -1
- package/dist/build/{p-1a85b89a.js → p-c6008b10.js} +1 -1
- package/dist/build/{p-3829f072.entry.js → p-c6056657.entry.js} +1 -1
- package/dist/build/{p-5d205d0c.entry.js → p-d60067bc.entry.js} +1 -1
- package/dist/build/p-e04a3cb9.entry.js +1 -0
- package/dist/build/{p-4f9c1419.entry.js → p-e1a16ec5.entry.js} +1 -1
- package/dist/build/{p-868664e6.entry.js → p-fa7c3951.entry.js} +1 -1
- package/dist/build/p-faad66c1.entry.js +1 -0
- package/dist/build/{p-337de35a.entry.js → p-fbabae11.entry.js} +1 -1
- package/dist/{paperless/p-71ac632f.entry.js → build/p-fca492f6.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/is-platform-DrUncDjO.js +14 -0
- 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_3.cjs.entry.js +5 -5
- 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 +7 -7
- 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 +5 -5
- package/dist/cjs/p-empty-state_8.cjs.entry.js +10 -10
- package/dist/cjs/p-field_3.cjs.entry.js +9 -9
- 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-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +5 -5
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- 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 +12 -5
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- 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/button/button.component.js +4 -4
- package/dist/collection/components/molecules/dropzone/dropzone.component.js +5 -5
- package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
- package/dist/collection/components/organisms/table/table.component.js +13 -7
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/is-platform.js +10 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-17aZBUHj.js +1 -0
- package/dist/components/{p-BCz_zIFG.js → p-1HCkK9Pf.js} +1 -1
- package/dist/components/{p-D5XWd7Bs.js → p-7-twKt34.js} +1 -1
- package/dist/components/{p-vaepTExy.js → p-B-YBFRbB.js} +1 -1
- package/dist/components/{p-B3z0oUOp.js → p-B-hJzwTL.js} +1 -1
- package/dist/components/{p-CDe7jCUk.js → p-B6hIbVwt.js} +1 -1
- package/dist/components/{p-BOxXP6iG.js → p-B91CxVcz.js} +1 -1
- package/dist/components/{p-CnDhkkQD.js → p-BANLejQ8.js} +1 -1
- package/dist/components/{p-2j-kuSnK.js → p-BEo__1-X.js} +1 -1
- package/dist/components/{p-CEV1BcNp.js → p-BH6HgTxH.js} +1 -1
- package/dist/components/{p-DoC7I6xW.js → p-BNMkjAgS.js} +1 -1
- package/dist/components/{p-DQBc9tJK.js → p-BO7NYfW5.js} +1 -1
- package/dist/components/{p-C0ujVUrk.js → p-BOJwTddb.js} +1 -1
- package/dist/components/p-BSCgVJQ9.js +1 -0
- package/dist/components/{p-D33L0Zo8.js → p-Bk5wUwrW.js} +1 -1
- package/dist/components/{p-Ck3VZl5U.js → p-C-ljhNrW.js} +1 -1
- package/dist/components/{p-DQpI5tIr.js → p-C0cLQxQE.js} +1 -1
- package/dist/components/{p-B_Fq8DsJ.js → p-C1Z78Vu0.js} +1 -1
- package/dist/components/p-C7rLlb8m.js +1 -0
- package/dist/components/{p-BB1J9Khx.js → p-C9B5DTYx.js} +1 -1
- package/dist/components/{p-DO2ZQox0.js → p-CEcyKdij.js} +1 -1
- package/dist/components/{p-EOlmcNxt.js → p-COuYu8I6.js} +1 -1
- package/dist/components/{p-NLPNy7x4.js → p-CQ6JEZg6.js} +1 -1
- package/dist/components/{p-DrNRSBlB.js → p-CRBPo2To.js} +1 -1
- package/dist/components/{p-DIVKoW2k.js → p-CTI55iY5.js} +1 -1
- package/dist/components/{p-BdoEpjOL.js → p-CjhbgGH8.js} +1 -1
- package/dist/components/{p-CmgZTGg0.js → p-CtnPrlBW.js} +1 -1
- package/dist/components/{p-C-zP-2lQ.js → p-D3wJam1N.js} +1 -1
- package/dist/components/{p-BUr-jpXO.js → p-D5P9pJhK.js} +1 -1
- package/dist/components/{p-D-6XwTh8.js → p-D6g8cYWI.js} +1 -1
- package/dist/components/{p-DAIKWUp5.js → p-DHJ6_2xS.js} +1 -1
- package/dist/components/{p-DuDnxEzm.js → p-DM-VvZXT.js} +1 -1
- package/dist/components/{p-D-aqRvv-.js → p-DU-stXqd.js} +1 -1
- package/dist/components/{p-DG7jkAHu.js → p-Da9Ao_Ve.js} +1 -1
- package/dist/components/{p-BOiWsfcF.js → p-Dkr0Ta5m.js} +1 -1
- package/dist/components/{p-upBcC1Jh.js → p-Dp4CjRib.js} +1 -1
- package/dist/components/{p-Da9hczVK.js → p-Dv2ILejF.js} +1 -1
- package/dist/components/{p-DE32t_Uu.js → p-Dz2_k8-X.js} +1 -1
- package/dist/components/p-GYxEYTaZ.js +1 -0
- package/dist/components/{p-DshbO5B5.js → p-Hk7avBWN.js} +1 -1
- package/dist/components/{p-DsTf8Cgs.js → p-SUrtpFuE.js} +1 -1
- package/dist/components/{p-DmRGJDcs.js → p-a_De3Rd1.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-backdrop.js +1 -1
- package/dist/components/p-badge.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-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.js +1 -1
- 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-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-Bj375kvF.js → p-mLlgASil.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-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-wYHaAjO_.js +1 -0
- package/dist/components/{p-DldbEkyU.js → p-xkXCC7GI.js} +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/is-platform-17aZBUHj.js +12 -0
- 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_3.entry.js +5 -5
- 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 +7 -7
- 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 +5 -5
- package/dist/esm/p-empty-state_8.entry.js +10 -10
- package/dist/esm/p-field_3.entry.js +9 -9
- 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-modal-body_4.entry.js +6 -6
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +5 -5
- package/dist/esm/p-radio.entry.js +3 -3
- 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 +12 -5
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/{build/p-10105337.entry.js → paperless/p-043b91f5.entry.js} +1 -1
- package/dist/paperless/{p-76b33bc8.entry.js → p-0aa7e5d2.entry.js} +1 -1
- package/dist/{build/p-cb377de6.entry.js → paperless/p-11d65b3d.entry.js} +1 -1
- package/dist/paperless/p-17aZBUHj.js +1 -0
- package/dist/{build/p-62dd411e.entry.js → paperless/p-2907111a.entry.js} +1 -1
- package/dist/{build/p-0f7dd307.entry.js → paperless/p-2e61871a.entry.js} +1 -1
- package/dist/{build/p-763729fb.entry.js → paperless/p-344ab157.entry.js} +1 -1
- package/dist/{build/p-ccdfbac0.entry.js → paperless/p-34b81a42.entry.js} +1 -1
- package/dist/paperless/{p-e3b26855.entry.js → p-369e2594.entry.js} +1 -1
- package/dist/paperless/p-386c86f6.entry.js +1 -0
- package/dist/paperless/{p-3cd32a86.entry.js → p-3fb95d2b.entry.js} +1 -1
- package/dist/paperless/{p-67c4f47a.entry.js → p-5ad24b03.entry.js} +1 -1
- package/dist/paperless/{p-917e015e.entry.js → p-5e4343f3.entry.js} +1 -1
- package/dist/{build/p-def424e2.entry.js → paperless/p-66eaca48.entry.js} +1 -1
- package/dist/paperless/{p-9ba3bf5c.entry.js → p-743b47cb.entry.js} +1 -1
- package/dist/paperless/p-7afccf96.entry.js +1 -0
- package/dist/paperless/{p-8d8de0c2.entry.js → p-7fa2bbee.entry.js} +1 -1
- package/dist/{build/p-d7431519.entry.js → paperless/p-8edbbfd4.entry.js} +1 -1
- package/dist/paperless/{p-af1a320c.entry.js → p-9c4c942e.entry.js} +1 -1
- package/dist/{build/p-883569e8.entry.js → paperless/p-a00541cc.entry.js} +1 -1
- package/dist/paperless/{p-4396eb51.entry.js → p-a1a4a39e.entry.js} +1 -1
- package/dist/paperless/{p-e6303115.entry.js → p-a4a66b93.entry.js} +1 -1
- package/dist/paperless/{p-8d5c29db.entry.js → p-a68a2ee8.entry.js} +1 -1
- package/dist/paperless/{p-7ee97d69.entry.js → p-bdda2ffc.entry.js} +1 -1
- package/dist/{build/p-baef7edd.entry.js → paperless/p-be576419.entry.js} +1 -1
- package/dist/{build/p-a8c62ac9.entry.js → paperless/p-bec66e8f.entry.js} +1 -1
- package/dist/{build/p-da849804.entry.js → paperless/p-c5085825.entry.js} +1 -1
- package/dist/paperless/{p-3829f072.entry.js → p-c6056657.entry.js} +1 -1
- package/dist/paperless/{p-5d205d0c.entry.js → p-d60067bc.entry.js} +1 -1
- package/dist/paperless/p-e04a3cb9.entry.js +1 -0
- package/dist/paperless/{p-4f9c1419.entry.js → p-e1a16ec5.entry.js} +1 -1
- package/dist/paperless/{p-868664e6.entry.js → p-fa7c3951.entry.js} +1 -1
- package/dist/paperless/p-faad66c1.entry.js +1 -0
- package/dist/paperless/{p-337de35a.entry.js → p-fbabae11.entry.js} +1 -1
- package/dist/{build/p-71ac632f.entry.js → paperless/p-fca492f6.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/organisms/table/table.component.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/is-platform.d.ts +1 -0
- package/hydrate/index.js +125 -108
- package/hydrate/index.mjs +125 -108
- package/package.json +1 -1
- package/dist/build/p-04a894b6.entry.js +0 -1
- package/dist/build/p-418e1cfb.entry.js +0 -1
- package/dist/build/p-bb9cafa4.entry.js +0 -1
- package/dist/build/p-ec1b1cd9.entry.js +0 -1
- package/dist/components/p-BcvO8ZNG.js +0 -1
- package/dist/components/p-BgfUUO1k.js +0 -1
- package/dist/components/p-BzqBJcLi.js +0 -1
- package/dist/components/p-CHa2NghY.js +0 -1
- package/dist/paperless/p-04a894b6.entry.js +0 -1
- package/dist/paperless/p-418e1cfb.entry.js +0 -1
- package/dist/paperless/p-bb9cafa4.entry.js +0 -1
- package/dist/paperless/p-ec1b1cd9.entry.js +0 -1
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,a,d as e,h as r}from"./p-yFtRjnrU.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-CSySY6aC.js";import{a as i}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const d=o(["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"}}}),n=o(["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"}}}),l=class{constructor(e){t(this,e),this.clicked=a(this,"clicked",3)}variant="modal";applyBlur=!1;closing=!1;scrollLock=!0;class;clicked;get _el(){return e(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 r(s,{key:"e63003710b062b2913ab519e9bb5024f197f86d8"},r("div",{key:"243551833076af491ac0786eb68afa5394210707",class:d({blur:i(this.applyBlur),closing:i(this.closing)})},r("div",{key:"222cc2edec18cc9eb81001de67451d0dc44013d9",class:n({variant:this.variant,closing:i(this.closing)})},r("slot",{key:"0130563e30a7df7ea09bb696e1afd71970b26398"}))))}handleClick(t){(t.target===this._el||this._el.contains(t.target))&&this.clicked.emit(t)}};l.style="*{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)}";export{l as p_backdrop}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,a as e,d as i,h as s,e as n}from"./p-yFtRjnrU.js";import{f as o,g as h}from"./p-CwQG70_4.js";import{f as a}from"./p-DeWIZIsV.js";import{f as l}from"./p-CWO2YJCh.js";import{c as r}from"./p-xs4N_Y-0.js";import{P as c,a as d,T as u}from"./p-CEaB2BT0.js";import"./p-CBWjHURv.js";import"./p-ChV9xqsO.js";const f=class{constructor(i){t(this,i),this.selectedRowsChange=e(this,"selectedRowsChange",3),this.rowClick=e(this,"rowClick",3),this.rowSelected=e(this,"rowSelected",3),this.rowDeselected=e(this,"rowDeselected",3),this.hasRendered=e(this,"hasRendered",3),this.quickFilter=e(this,"quickFilter",3),this.queryChange=e(this,"queryChange",3),this.filter=e(this,"filter",3),this.action=e(this,"action",3),this.pageChange=e(this,"pageChange",3),this.pageSizeChange=e(this,"pageSizeChange",3),this.export=e(this,"export",3),this.emptyStateActionClick=e(this,"emptyStateActionClick",3)}items;loading=!1;headerLoading=!1;footerLoading=!1;amountOfLoadingRows=6;enableRowSelection=!0;rowSelectionLimit;enableRowClick=!0;selectedRows=[];enableFloatingMenu=!0;floatingMenuAmountSelectedTemplate=t=>o((1===t?this._locales.floating_menu?.amount_selected:this._locales.floating_menu?.amount_selected_plural)?.replace("{{amount}}",t));selectedRowsChange;selectionKey;canSelectKey;rowClick;rowSelected;rowDeselected;hasRendered;enableHeader=!0;quickFilters=[];activeQuickFilterIdentifier;enableSearch=!0;query;enableFilter=!0;enableFilterDesktop=!0;selectedFiltersAmount;filterButtonTemplate;enableAction=!1;actionButtonLoading=!1;actionButtonEnabled=!1;actionButtonIcon="pencil";actionButtonText;actionButtonTemplate;quickFilter;queryChange;filter;action;enableFooter=!0;enablePaginationSize=!0;enablePaginationPages=!0;enableExport=!0;page=1;total;pageChange;pageSize=c;pageSizeOptions=d;pageSizeChange;export;hideOnSinglePage=!0;emptyStateHeader=()=>o(this._locales.empty_state?.no_filter.header);emptyStateContent=()=>o(this._locales.empty_state?.no_filter.content);emptyStateAction=()=>o(this._locales.empty_state?.no_filter.action);enableEmptyStateAction=!0;emptyStateFilteredHeader=()=>o(this._locales.empty_state.filtered.header);emptyStateFilteredContent=()=>o(this._locales.empty_state.filtered.content);emptyStateActionClick;shadow=!0;get _el(){return i(this)}_locales={};_extraHeaders=[];_columns=[];_items=[];_enableRowSelection=this.enableRowSelection;_rowSelectionLimit;_rowActionsFloatingAll=[];_rowActionsFloating=[];_rowActionsRow=[];_footerHidden=!1;_ctrlDown=!1;_hasCustomFilterSlot=!1;_hasCustomActionsSlot=!1;_floatingMenuShown=!1;_resizeTimeout;componentWillLoad(){this._hasCustomFilterSlot=!!this._el.querySelector(':scope > [slot="custom-filter"]'),this._hasCustomActionsSlot=!!this._el.querySelector(':scope > [slot="custom-actions"]'),this._setRowSelectionData(),this._setLocales(),this._parseItems(this.items),this._generateExtraHeaders(),this._generateColumns()}componentDidRender(){this.hasRendered.emit()}render(){return s(n,{key:"ebc99446ab4d71c14d0f18540d5179bd8fcffc29",class:"z-0 flex flex-col"},s("p-table-container",{key:"b2a78f82b943a9d224aace7ad184cc39d581be52"},this.enableHeader&&s("p-table-header",{key:"c07938abb9246bddb497924fe5b76137f40c81cd",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:t})=>this.queryChange.emit(t),onQuickFilter:({detail:t})=>this.quickFilter.emit(t)},this._hasCustomFilterSlot&&s("slot",{key:"b8468885c7950f3606472de651f53e388ef99726",name:"custom-filter",slot:"custom-filter"}),this._hasCustomActionsSlot&&s("slot",{key:"37fe2edc6b7e85fe9eb47a057646b7f233b0986f",name:"custom-actions",slot:"custom-actions"})),this._getExtraHeader(),this._getHeader(),s("div",{key:"ae79834d8e90437452482063a2b4eeef8d7d8c51",class:"flex flex-1 flex-col"},this._getRows(),s("slot",{key:"327fa23d2b07f7453db487b3f142a284817b3045",name:"custom-rows"})),this.enableFloatingMenu&&this._enableRowSelection?s("p-floating-menu-container",{amount:this.selectedRows?.length,amountSelectedTemplate:this.floatingMenuAmountSelectedTemplate,class:a({hasFooter:this.enableFooter&&!this._footerHidden,active:!!this.selectedRows?.length,shown:this._floatingMenuShown}),enableAmountSelected:!!this._rowActionsFloating?.length,usedInTable:!0,onClose:()=>this._selectAllChange(null,!1)},this._rowActionsFloating?.length&&this._rowActionsFloating.map((t=>s("p-floating-menu-item",{disabled:t.disabled,icon:t.icon,iconFlip:t.iconFlip,iconRotate:t.iconRotate,loading:t.loading,slot:"floating-menu-item",onClick:()=>t.disabled||t.loading||!t.action||"single"!==t.type?t.action(this.selectedRows,!0):t.action(this.selectedRows[0],!1)},t.label)))):"",this.enableFooter&&s("p-table-footer",{key:"a88236bba88a694b16d1d3bd119bf67f7dc7fbea",enablePaginationPages:this.enablePaginationPages,enablePaginationSize:this.enablePaginationSize,hideOnSinglePage:this.hideOnSinglePage,loading:this.footerLoading,page:this.page,pageSize:this.pageSize,pageSizeOptions:this.pageSizeOptions,tableHeaderHasAction:this.enableHeader&&this.enableAction&&this.actionButtonEnabled,total:this.total,onHiddenChange:({detail:t})=>this._footerHidden=t,onPageChange:({detail:t})=>this.pageChange.emit(t),onPageSizeChange:({detail:t})=>this.pageSizeChange.emit(t)})))}async _setLocales(){this._locales=await h(this._el)}onTableDefinitionUpdated(){this._generateColumns()}keyDown({ctrlKey:t,metaKey:e}){(t||e)&&!0!==this._ctrlDown&&(this._ctrlDown=!0)}keyUp({ctrlKey:t,metaKey:e}){(t||e)&&!1!==this._ctrlDown&&(this._ctrlDown=!1)}visibilityChange(){"hidden"===document.visibilityState&&!1!==this._ctrlDown&&(this._ctrlDown=!1)}_parseItems(t){this._items=t?Array.isArray(t)?t:JSON.parse(t):[]}_setRowSelectionData(){this._resizeTimeout&&clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout((()=>{const t=l(),e=[...this._el.querySelectorAll(":scope > p-table-row-action")];this._rowActionsRow=e.filter((t=>"both"===t.type||"single"===t.type)),this._rowActionsFloatingAll=e.filter((e=>this.enableRowSelection&&("both"===e.type||"multi"===e.type)||t&&"single"===e.type)).map((t=>("single"===t.type&&(t.disabled=this.selectedRows?.length>1),t)));let i=this.rowSelectionLimit;t&&this._rowActionsFloatingAll?.length&&(void 0!==i&&this.enableRowSelection||!this.enableRowSelection)&&(i=1),this._rowSelectionLimit=i;let s=this.enableRowSelection;t&&this._rowActionsFloatingAll?.length&&!s&&(s=!0),this._enableRowSelection=s,this._floatingMenuShown&&this._showFloatingMenu()}),200)}_generateExtraHeaders(){let t=[...this._el.querySelectorAll("p-table-extra-header")];t=this._parseDefinitions(t),this._extraHeaders=t}_generateColumns(){let t=[...this._el.querySelectorAll("p-table-column")];t=this._parseDefinitions(t),this._columns=t}_getExtraHeader(){return this._extraHeaders?.length?s("p-table-row",{isLast:!0,variant:"header-secondary"},this._extraHeaders.map(((t,e)=>s("p-table-cell",{checkboxOffset:0===e&&this._enableRowSelection,definition:t,index:e,variant:"header-secondary"},s("b",null,t.name))))):null}_getHeader(){return s("p-table-row",{variant:"header"},this._columns.map(((t,e)=>s("p-table-cell",{checkbox:0===e||t.hasCheckbox?this._getCheckbox(null,this.loading?"loading":"header"):null,definition:t,index:e,value:t.name,variant:"header"}))))}_getRows(){return this.loading?Array.from({length:this.amountOfLoadingRows},((t,e)=>s("p-table-row",{enableHover:this._enableRowSelection||this.enableRowClick,isLast:e===this.amountOfLoadingRows-1},this._getLoadingColumns(e)))):0===this._items.length?this._getEmptyState():this._items.map(((t,e)=>s("p-table-row",{checked:this._selectionContains(e),enableHover:this._enableRowSelection||this.enableRowClick,isLast:e===this._items.length-1,onClick:t=>this._rowClick(t,e)},this._getRowColumns(t,e),this._getActions(t,e))))}_getActions(t,e){const i=this._rowActionsRow.filter((e=>!e.showFunction||e.showFunction(t)));return i?.length&&!l()?s("p-table-row-actions-container",{checked:this._selectionContains(e),slot:"actions"},i.map((e=>s("p-tooltip",{content:e.label,strategy:"fixed"},s("p-button",{icon:e.icon,iconFlip:e.iconFlip,iconOnly:!0,iconRotate:e.iconRotate,size:"sm",slot:"trigger",variant:"secondary","data-is-action":!0,onClick:()=>"function"==typeof e.action&&e.action?.(t,!1)}))))):null}_getRowColumns(t,e){return this._columns.map(((i,n)=>s("p-table-cell",{checkbox:0===n||i.hasCheckbox?this._getCheckbox(e):null,definition:i,index:n,item:t,rowIndex:e})))}_getLoadingColumns(t){return this._columns.map(((e,i)=>s("p-table-cell",{checkbox:0===i||e.hasCheckbox?this._getCheckbox(t,"loading"):null,definition:e,index:i,rowIndex:t,variant:"loading"})))}_getCheckbox(t,e="default"){if(!this._enableRowSelection||!this.selectionKey&&!this._rowActionsFloating?.length)return;if("loading"===e)return s("p-loader",{class:"h-6 w-6 rounded",variant:"ghost"});if("header"===e)return s("p-checkbox",{checked:this._selectionContainsAll(),class:r({"opacity-0":void 0!==this._rowSelectionLimit}),disabled:void 0!==this._rowSelectionLimit,indeterminate:this._selectionIndeterminate(),onCheckedChange:t=>this._selectAllChange(t)});const i=this._items[t],n=this._selectionContains(t);return s("p-checkbox",{checked:n,class:"flex-shrink-0",disabled:this.canSelectKey&&!i[this.canSelectKey]||void 0!==this._rowSelectionLimit&&!n&&this.selectedRows.length===this._rowSelectionLimit,onCheckedChange:e=>this._checkboxChange(e,t)})}_getEmptyState(){return s("p-empty-state",this.query?.length||this.selectedFiltersAmount?{class:"my-16 self-center",content:this.emptyStateFilteredContent(),header:this.emptyStateFilteredHeader(),illustration:"search"}:{actionIcon:"plus",actionText:this.emptyStateAction(),class:"my-16 self-center",content:this.emptyStateContent(),enableAction:this.enableEmptyStateAction,header:this.emptyStateHeader(),illustration:"table",onAction:()=>this.enableAction&&this.action.emit()})}_selectAllChange(t,e){if(this._enableRowSelection){if(void 0===e?t?.detail??e:e){const t=[];for(let e=0;e<this._items.length;e++){const i=this._items[e];if((!this.canSelectKey||i[this.canSelectKey])&&!this._selectionContains(e)&&(t.push(i),this.rowSelected.emit(i),void 0!==this._rowSelectionLimit&&this.selectedRows.length+t.length===this._rowSelectionLimit))break}return this.selectedRows=[...this.selectedRows,...t],this.selectedRowsChange.emit(this.selectedRows),void(this.enableFloatingMenu&&!this._floatingMenuShown&&this._showFloatingMenu())}for(let t=0;t<this.selectedRows.length;t++){const e=this.selectedRows[t],i=this._items.find((i=>this._getSelectionValue(i,t)===this._getSelectionValue(e,t)));i&&this.rowDeselected.emit(i)}this.selectedRows=[],this.selectedRowsChange.emit(this.selectedRows)}}_checkboxChange({detail:t,target:e},i){if(!this._enableRowSelection)return;if(t&&void 0!==this._rowSelectionLimit&&this.selectedRows.length>=this._rowSelectionLimit)return void(e.checked=!1);const s=this._items[i];if(this.canSelectKey&&!s[this.canSelectKey])return void(e.checked=!1);if(t)return this.selectedRows=[...this.selectedRows,{...s,index:i}],this.selectedRowsChange.emit(this.selectedRows),this.rowSelected.emit(s),void(this.enableFloatingMenu&&!this._floatingMenuShown&&this._showFloatingMenu());const n=this._selectionContains(i,!0),o=[...this.selectedRows];o.splice(n,1),this.selectedRows=o,this.selectedRowsChange.emit(this.selectedRows),this.rowDeselected.emit(s)}_getSelectionValue(t,e){return this.selectionKey&&t?.[this.selectionKey]||e}_selectionContains(t,e=!1){const i=this.selectedRows.findIndex((e=>e.index===t));return e?i:-1!==i}_selectionContainsAll(){let t=!0;if(!this._items?.length)return!1;if(void 0!==this._rowSelectionLimit&&this.selectedRows.length===this._rowSelectionLimit)return!0;for(let e=0;e<this._items?.length;e++)if(!this._selectionContains(e)){t=!1;break}return t}_selectionIndeterminate(){if(!this._items?.length||!this.selectedRows?.length)return!1;if(void 0!==this._rowSelectionLimit&&this.selectedRows.length===this._rowSelectionLimit)return!1;let t=0;for(let e=0;e<this._items?.length;e++)this._selectionContains(e)&&t++;return t>0&&t!==this._items.length}_rowClick(t,e){const i=t.target;if("input"===i.tagName.toLowerCase()||"checkbox"===i.type)return;const s=this._findRow(t.target);if(this._findRowAction(t.target))return;if(this.enableRowClick)return void this.rowClick.emit({item:this._items[e],ctrlDown:this._ctrlDown});if(!this._enableRowSelection)return;const n=s?.querySelector('input[type="checkbox"]');n&&(n.checked=!n.checked,this._checkboxChange(n,e))}_findRow(t){return t?"p-table-row"===t?.tagName?.toLowerCase()?t:this._findRow(t?.parentElement):t}_findRowAction(t){return t?null!==t.dataset.isAction&&"false"!==t.dataset.isAction?t:"p-table-row"===t?.tagName?.toLowerCase()?null:this._findRowAction(t?.parentElement):null}_showFloatingMenu(){let t=this._rowActionsFloatingAll;1===this.rowSelectionLimit&&t.some((t=>("single"===t.type||"both"===t.type)&&t.showFunction))&&(t=t.filter((t=>"multi"===t.type||!t.showFunction||t.showFunction(this.selectedRows[0])))),this._rowActionsFloating=t,this._floatingMenuShown=!0}_parseDefinitions(t){return t.map((t=>this._parseDefinitionSizes(t)))}_parseDefinitionSizes(t){const e=t;let i={default:"full"};"string"!=typeof t.sizes||["auto","hidden","full"].includes(t.sizes)||(t.sizes=JSON.parse(t.sizes));for(const[t,s]of u.entries())i[s]="auto"!==e.sizes&&"hidden"!==e.sizes&&"full"!==e.sizes&&"number"!=typeof e.sizes?e.sizes[s]??i[u[t-1]]:"auto"===e.sizes?"full":e.sizes;return t.parsedSizes=i,t}static get watchers(){return{items:[{_parseItems:0}],enableRowSelection:[{_setRowSelectionData:0}],rowSelectionLimit:[{_setRowSelectionData:0}],selectedRows:[{_setRowSelectionData:0}]}}};f.style="*{box-sizing:border-box}.static{position:static}.fixed{position:fixed}.z-0{z-index:0}.my-16{margin-bottom:4rem;margin-top:4rem}.mb-8{margin-bottom:2rem}.flex{display:flex}.table{display:table}.hidden{display:none}.h-6{height:1.5rem}.w-6{width:1.5rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.resize{resize:both}.flex-col{flex-direction:column}.self-center{align-self:center}.rounded{border-radius:.25rem}.opacity-0{opacity:0}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}";export{f as p_table}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-yFtRjnrU.js";import{c as r}from"./p-CBWjHURv.js";import{T as i}from"./p-CSySY6aC.js";import{a}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const o=r("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}}),d=r(["flex h-6 w-6 items-center justify-center","text-center text-sm font-medium","border border-solid","rounded-full"],{variants:{align:{start:null,center:null,end:null},direction:{horizontal:null,vertical:null},finished:{true:null,false:null},active:{true:null,false:null}},compoundVariants:[{finished:!1,active:!1,class:["border-indigo-600 bg-indigo-50 text-indigo-600","dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,class:"border-indigo-600 bg-indigo-600 text-white"},{active:!1,finished:!0,class:"border-indigo-600 bg-indigo-600 text-white"},{direction:"vertical",align:"start",class:"mt-5"},{direction:"vertical",align:"end",class:"mb-5"}]}),n=r("mt-[1px] flex-1 text-sm font-medium",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null}},compoundVariants:[{finished:!1,active:!1,class:"\n text-storm-400\n dark:text-hurricane-200\n "},{active:!0,finished:!1,class:"\n text-storm-500\n dark:text-white\n "},{active:!1,finished:!0,class:"\n text-storm-500\n dark:text-white\n "},{direction:"horizontal",active:!1,class:"\n hidden\n desktop-xs:inline-block\n "}]}),c=class{constructor(e){t(this,e)}number=1;direction="horizontal";align="center";contentPosition="end";finished=!1;active=!1;render(){return e(i,{key:"edf338c5b008b559c5199f7c9f454bfe9e20f9ce"},e("div",{key:"e91525c251df530c61b1faec6f90e8709d75b527",class:o({align:this.align,contentPosition:this.contentPosition})},e("div",{key:"64a513f2fd42c518c336996e1fd8d01375f39003",class:d({align:this.align,direction:this.direction,active:a(this.active),finished:a(this.finished)})},this.number),e("div",{key:"7e0ee0a172fc6c1065fd9e575eb4d45bd6729d32",class:n({active:a(this.active),finished:a(this.finished),direction:this.direction})},e("slot",{key:"b5d5e8be64cd61d0fae48429264560d4102e5037"}))))}};c.style="*{box-sizing:border-box}.static{position:static}.mb-5{margin-bottom:1.25rem}.mt-5{margin-top:1.25rem}.mt-\\[1px\\]{margin-top:1px}.flex{display:flex}.hidden{display:none}.h-6{height:1.5rem}.w-6{width:1.5rem}.flex-1{flex:1 1 0%}.flex-row-reverse{flex-direction:row-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/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))}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block}}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}";const s=class{constructor(e){t(this,e)}active=!1;direction="horizontal";render(){return e(i,{key:"621b15848cad51fd35bfa92f6d540aede5370d7b"})}};s.style=".mx-\\[calc\\(0\\.75rem-1px\\)\\]{margin-left:calc(.75rem - 1px);margin-right:calc(.75rem - 1px)}.block{display:block}.h-\\[1px\\]{height:1px}.min-h-\\[1rem\\]{min-height:1rem}.w-\\[1px\\]{width:1px}.bg-off-white-700{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1))}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1));display:block;flex:1 1 auto}:host:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}:host:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}:host([direction=horizontal]){height:1px}:host([direction=vertical]){margin-left:calc(.75rem - 1px);margin-right:calc(.75rem - 1px);min-height:1rem;width:1px}:host([active=true]),:host([active]:not([active=false])){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.static{position:static}";export{c as p_stepper_item,s as p_stepper_line}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as a,e as r}from"./p-yFtRjnrU.js";import{c as e}from"./p-CBWjHURv.js";import"./p-ChV9xqsO.js";const l=e(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 "}]}),s=e("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"}]}),i=class{constructor(a){t(this,a)}variant="modal";render(){return a(r,{key:"d02cc8f0b48334a363b9bad858e5191e28d00634",class:l({variant:this.variant})},a("div",{key:"ec35089f4a29622f0c5c528b6fc964b546d0c845",class:s({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'}))}};i.style="*{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))}";export{i as p_smile}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e,p as t,H as a,h as r}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as d}from"./p-Au2WuEGF.js";import{a as m}from"./p-C5CTp9IA.js";const i=o(["w-full min-w-0 flex-1","z-modal flex flex-col","\n rounded-b-none rounded-t-2xl\n desktop-xs:rounded-b-2xl\n ","max-h-[calc(100dvh-4rem)]","shadow-modal","dark:border dark:border-solid dark:border-hurricane-400"],{variants:{size:{xs:"tablet:max-w-[20rem]",sm:"tablet:max-w-[27.5rem]",base:"tablet:max-w-[35rem]",lg:"tablet:max-w-[41rem]",xl:"tablet:max-w-[45rem]","2xl":"tablet:max-w-[65rem]"},closing:{false:"\n animate-slide-in-bottom\n desktop-xs:animate-slide-in-bottom-small\n ",true:"\n pointer-events-none animate-slide-out-bottom\n desktop-xs:animate-slide-out-bottom-small\n "}}}),n=t(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}size="base";closing=!1;render(){return r(d,{key:"72e732ad8caa169e9bdc001457e9f10995051127"},r("div",{key:"c779eb55ca98ababe8057655e8ff0174bb76fe4a",class:i({size:this.size,closing:m(this.closing)})},r("slot",{key:"d20e5a00f6427452a2d4a749e12911aecf8ccd45"})))}static get style(){return".flex{display:flex}.w-full{width:100%}.justify-center{justify-content:center}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none}.static{position:static}.z-modal{z-index:600}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards}.flex-col{flex-direction:column}.rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.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}}@media (min-width:40rem){.tablet\\:max-w-\\[20rem\\]{max-width:20rem}.tablet\\:max-w-\\[27\\.5rem\\]{max-width:27.5rem}.tablet\\:max-w-\\[35rem\\]{max-width:35rem}.tablet\\:max-w-\\[41rem\\]{max-width:41rem}.tablet\\:max-w-\\[45rem\\]{max-width:45rem}.tablet\\:max-w-\\[65rem\\]{max-width:65rem}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid}.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\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid}.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))}"}},[769,"p-modal-container",{size:[1],closing:[4]}]);function s(){"undefined"!=typeof customElements&&["p-modal-container"].forEach((t=>{"p-modal-container"===t&&(customElements.get(e(t))||customElements.define(e(t),n))}))}s();export{n as M,s as d}
|
|
@@ -1 +0,0 @@
|
|
|
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 s}from"./p-Au2WuEGF.js";import{d}from"./p-D-6XwTh8.js";import{d as c}from"./p-C0ujVUrk.js";import{d as n}from"./p-D8faiybE.js";import{d as l}from"./p-DmRGJDcs.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"]),m=i(["flex justify-between","min-h-12 w-full p-4 pb-0"]),f=i(["flex-1 text-center","\n font-ambit text-2xl font-bold text-storm-500\n dark:text-white\n "]),p=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(s,{key:"cb2d1aa7931a6611d7f6baa5046cf89c890541fa"},o("div",{key:"8434ae0803d88b0e0a434f12fb9210c34ea752b1",class:h()},o("div",{key:"3a609f7aff1de608245b48f2ea361121fd44a712",class:m()},this.showClose&&o("p-button",{key:"0c42f1363c0973f2931a7894dabad3325e20d0da",icon:"negative",iconOnly:!0,variant:"secondary",onClick:e=>this.close.emit(e)}),o("div",{key:"1440ece02cace80a4886615760f91fe10b8332f9",class:f()},o("slot",{key:"e11a2ef1853aa69d93bea72017becc43bd0deae9"})),this.showClose&&o("div",{key:"f10e8c01783206901c95346fc34d66193f63537c",class:"size-8"})),o("p-smile",{key:"8603507825d10893c961cc193f1e8ad764b2e039",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 b(){"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),p);break;case"p-button":customElements.get(e(t))||d();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()}}))}b();export{p as D,b as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t,p as e,H as o,c as a,h as i}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{a as r}from"./p-C5CTp9IA.js";import{d as c}from"./p-D-6XwTh8.js";import{d as m}from"./p-C0ujVUrk.js";import{d as l}from"./p-DO2ZQox0.js";import{d as p}from"./p-D8faiybE.js";const d=n(["flex w-full max-w-[20rem] flex-col items-center justify-start"],{variants:{enableAction:{true:"cursor-pointer",false:null}}}),h=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.action=a(this,"action",3)}illustration;header;content;enableAction=!0;actionText;actionVariant="secondary";actionIcon;actionIconPosition="start";actionLoading=!1;action;get _el(){return this}render(){const t=!!this._el.querySelector(':scope > [slot="header"]'),e=!!this._el.querySelector(':scope > [slot="content"]'),o=!!this._el.querySelector(':scope > [slot="action"]');return i(s,{key:"a1c5b7682ac5ffd11beb25f2dd91d156becec4a3"},i("div",{key:"d19221f86c59cc8583d1e96f59263e01ea4ad22d",class:d({enableAction:r(this.enableAction,!0)}),onClick:t=>this.enableAction&&!this.actionLoading?this.action.emit(t):void 0},this.illustration&&i("p-illustration",{key:"0a078690887ee5eba9c383fe8ccba7aaeb110cdc",class:"mb-8 text-5xl text-indigo-600",variant:this.illustration}),t?i("slot",{name:"header"}):this.header?.length&&i("p",{class:"\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n "},this.header),e?i("slot",{name:"content"}):this.content?.length&&i("p",{class:"\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n "},this.content),this.enableAction&&(o?i("slot",{name:"action"}):i("p-button",{class:"mt-4",icon:this.actionIcon,iconPosition:this.actionIconPosition,loading:this.actionLoading,variant:this.actionVariant},this.actionText))))}static get style(){return'*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/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))}.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\\: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))}'}},[769,"p-empty-state",{illustration:[1],header:[1],content:[1],enableAction:[4,"enable-action"],actionText:[1,"action-text"],actionVariant:[1,"action-variant"],actionIcon:[1,"action-icon"],actionIconPosition:[1,"action-icon-position"],actionLoading:[4,"action-loading"]}]);function x(){"undefined"!=typeof customElements&&["p-empty-state","p-button","p-icon","p-illustration","p-loader"].forEach((e=>{switch(e){case"p-empty-state":customElements.get(t(e))||customElements.define(t(e),h);break;case"p-button":customElements.get(t(e))||c();break;case"p-icon":customElements.get(t(e))||m();break;case"p-illustration":customElements.get(t(e))||l();break;case"p-loader":customElements.get(t(e))||p()}}))}x();export{h as E,x as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t,p as e,H as a,c as r,h as o}from"./p-CySg37XO.js";import{a as i,c as s,o as n,f as h,s as d}from"./p-CeBIrPPx.js";import{c}from"./p-CBWjHURv.js";import{T as p}from"./p-Au2WuEGF.js";const l=c(["inline-block px-2","text-xs","opacity-0 drop-shadow-3 transition-opacity","rounded-lg","z-tooltip","pointer-events-none"],{variants:{variant:{hover:"\n max-w-[14.5rem] bg-storm-500 py-1 text-white\n dark:bg-white dark:text-storm-300\n ",click:"max-w-[18rem]",error:"w-full max-w-full"},strategy:{fixed:"fixed",absolute:"absolute"}},compoundVariants:[{variant:["hover","click"],class:"w-max"},{variant:["click","error"],class:"\n bg-white py-2 text-storm-300\n dark:bg-hurricane-800 dark:text-hurricane-200\n "}]}),b=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isOpen=r(this,"isOpen",3)}variant="hover";content;placement;offset=8;strategy="absolute";enableUserInput=!0;show=!1;canManuallyClose=!0;isOpen;get _el(){return this}_hasContentSlot=!1;_loaded=!1;_popover;_cleanup;componentWillLoad(){this._hasContentSlot=!!this._el.querySelector(':scope > [slot="content"]')}componentShouldUpdate(){this._update()}disconnectedCallback(){this._cleanup&&(this._cleanup(),this._cleanup=null)}render(){return o(p,{key:"94295b053453731ce0ff7d600eeaa96583986b94","data-filled":this.content?.length>0||this._hasContentSlot},o("slot",{key:"584b48af09bd5866a88aefc4273a4f3df0fb427f",name:"trigger"}),o("div",{key:"8838d0bd4e38f1c2035ef0cdb7c005111faebbd5",class:l({variant:this.variant,strategy:this.strategy}),"data-placement":this.placement,ref:t=>this._load(t),role:"popover"},o("div",{key:"e73c75c8668fb89532780f84a61fd15b6f79d736",class:"flex gap-2 whitespace-normal"},"error"===this.variant&&o("div",{key:"e2d53a39ee172cb8c573b88cab657efb0288b41a",class:"\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n "}),this.content??o("slot",{key:"24a5ef26648c96692e5d0cac2ffdc44076e05286",name:"content"}))))}clickHandler(){"hover"!==this.variant&&this.enableUserInput&&this._popover&&(Object.hasOwn(this._popover.dataset,"show")||this._show())}documentClickHandler(){"hover"!==this.variant&&this.canManuallyClose&&!this.show&&this._popover&&Object.hasOwn(this._popover.dataset,"show")&&this._hide()}mouseEnterHandler(){"hover"===this.variant&&this.enableUserInput&&this._show()}mouseLeaveHandler(){!this.show&&"hover"===this.variant&&this.enableUserInput&&this._hide()}onShowChange(t){if(this._popover)return t&&!Object.hasOwn(this._popover.dataset,"show")?this._show():this._hide()}onContentChange(t){!t||t.length>0||this._hide()}_show(){this._loaded&&(this.content?.length||this._hasContentSlot?(this._cleanup=i(this._el,this._popover,(()=>this._update())),this._popover.dataset.show="",this._popover.classList.remove("opacity-0","pointer-events-none"),this._popover.classList.add("opacity-100","pointer-events-auto"),this.isOpen.emit(!0)):Object.hasOwn(this._popover.dataset,"show")&&this._hide())}_hide(){this._loaded&&(this._cleanup&&(this._cleanup(),this._cleanup=null),delete this._popover.dataset.show,this._popover.classList.remove("opacity-100","pointer-events-auto"),this._popover.classList.add("opacity-0","pointer-events-none"),this.isOpen.emit(!1))}_load(t){this._popover=t,t&&(this._update(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_update(){this._popover&&s(this._el,this._popover,{placement:"error"!==this.variant||this.placement?this.placement??"top":"bottom-start",strategy:this.strategy,middleware:[n(this.offset),h(),d()]}).then((({x:t,y:e,placement:a})=>{this._popover.dataset.placement=a,Object.assign(this._popover.style,{top:`${e}px`,left:`${t}px`})}))}static get watchers(){return{show:[{onShowChange:0}],content:[{onContentChange:0}]}}static get style(){return".relative{position:relative}.h-inherit{height:inherit}.w-inherit{width:inherit}*{box-sizing:border-box}:host{height:inherit;max-width:100%;position:relative;width:inherit}:host([data-filled]){cursor:pointer}:host(:not([data-filled])){cursor:auto}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.z-tooltip{z-index:400}.inline-block{display:inline-block}.flex{display:flex}.w-\\[2px\\]{width:2px}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[14\\.5rem\\]{max-width:14.5rem}.max-w-\\[18rem\\]{max-width:18rem}.max-w-full{max-width:100%}.gap-2{gap:.5rem}.whitespace-normal{white-space:normal}.rounded-lg{border-radius:.5rem}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-storm-500{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.blur{--tw-blur:blur(8px)}.blur,.drop-shadow-3{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)}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-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-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\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-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-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}"}},[769,"p-tooltip",{variant:[1],content:[1],placement:[1],offset:[2],strategy:[1],enableUserInput:[4,"enable-user-input"],show:[4],canManuallyClose:[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]],{show:[{onShowChange:0}],content:[{onContentChange:0}]}]);function w(){"undefined"!=typeof customElements&&["p-tooltip"].forEach((e=>{"p-tooltip"===e&&(customElements.get(t(e))||customElements.define(t(e),b))}))}w();export{b as T,w as d}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,a,d as e,h as r}from"./p-yFtRjnrU.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-CSySY6aC.js";import{a as i}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const d=o(["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"}}}),n=o(["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"}}}),l=class{constructor(e){t(this,e),this.clicked=a(this,"clicked",3)}variant="modal";applyBlur=!1;closing=!1;scrollLock=!0;class;clicked;get _el(){return e(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 r(s,{key:"e63003710b062b2913ab519e9bb5024f197f86d8"},r("div",{key:"243551833076af491ac0786eb68afa5394210707",class:d({blur:i(this.applyBlur),closing:i(this.closing)})},r("div",{key:"222cc2edec18cc9eb81001de67451d0dc44013d9",class:n({variant:this.variant,closing:i(this.closing)})},r("slot",{key:"0130563e30a7df7ea09bb696e1afd71970b26398"}))))}handleClick(t){(t.target===this._el||this._el.contains(t.target))&&this.clicked.emit(t)}};l.style="*{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)}";export{l as p_backdrop}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,a as e,d as i,h as s,e as n}from"./p-yFtRjnrU.js";import{f as o,g as h}from"./p-CwQG70_4.js";import{f as a}from"./p-DeWIZIsV.js";import{f as l}from"./p-CWO2YJCh.js";import{c as r}from"./p-xs4N_Y-0.js";import{P as c,a as d,T as u}from"./p-CEaB2BT0.js";import"./p-CBWjHURv.js";import"./p-ChV9xqsO.js";const f=class{constructor(i){t(this,i),this.selectedRowsChange=e(this,"selectedRowsChange",3),this.rowClick=e(this,"rowClick",3),this.rowSelected=e(this,"rowSelected",3),this.rowDeselected=e(this,"rowDeselected",3),this.hasRendered=e(this,"hasRendered",3),this.quickFilter=e(this,"quickFilter",3),this.queryChange=e(this,"queryChange",3),this.filter=e(this,"filter",3),this.action=e(this,"action",3),this.pageChange=e(this,"pageChange",3),this.pageSizeChange=e(this,"pageSizeChange",3),this.export=e(this,"export",3),this.emptyStateActionClick=e(this,"emptyStateActionClick",3)}items;loading=!1;headerLoading=!1;footerLoading=!1;amountOfLoadingRows=6;enableRowSelection=!0;rowSelectionLimit;enableRowClick=!0;selectedRows=[];enableFloatingMenu=!0;floatingMenuAmountSelectedTemplate=t=>o((1===t?this._locales.floating_menu?.amount_selected:this._locales.floating_menu?.amount_selected_plural)?.replace("{{amount}}",t));selectedRowsChange;selectionKey;canSelectKey;rowClick;rowSelected;rowDeselected;hasRendered;enableHeader=!0;quickFilters=[];activeQuickFilterIdentifier;enableSearch=!0;query;enableFilter=!0;enableFilterDesktop=!0;selectedFiltersAmount;filterButtonTemplate;enableAction=!1;actionButtonLoading=!1;actionButtonEnabled=!1;actionButtonIcon="pencil";actionButtonText;actionButtonTemplate;quickFilter;queryChange;filter;action;enableFooter=!0;enablePaginationSize=!0;enablePaginationPages=!0;enableExport=!0;page=1;total;pageChange;pageSize=c;pageSizeOptions=d;pageSizeChange;export;hideOnSinglePage=!0;emptyStateHeader=()=>o(this._locales.empty_state?.no_filter.header);emptyStateContent=()=>o(this._locales.empty_state?.no_filter.content);emptyStateAction=()=>o(this._locales.empty_state?.no_filter.action);enableEmptyStateAction=!0;emptyStateFilteredHeader=()=>o(this._locales.empty_state.filtered.header);emptyStateFilteredContent=()=>o(this._locales.empty_state.filtered.content);emptyStateActionClick;shadow=!0;get _el(){return i(this)}_locales={};_extraHeaders=[];_columns=[];_items=[];_enableRowSelection=this.enableRowSelection;_rowSelectionLimit;_rowActionsFloatingAll=[];_rowActionsFloating=[];_rowActionsRow=[];_footerHidden=!1;_ctrlDown=!1;_hasCustomFilterSlot=!1;_hasCustomActionsSlot=!1;_floatingMenuShown=!1;_resizeTimeout;componentWillLoad(){this._hasCustomFilterSlot=!!this._el.querySelector(':scope > [slot="custom-filter"]'),this._hasCustomActionsSlot=!!this._el.querySelector(':scope > [slot="custom-actions"]'),this._setRowSelectionData(),this._setLocales(),this._parseItems(this.items),this._generateExtraHeaders(),this._generateColumns()}componentDidRender(){this.hasRendered.emit()}render(){return s(n,{key:"ebc99446ab4d71c14d0f18540d5179bd8fcffc29",class:"z-0 flex flex-col"},s("p-table-container",{key:"b2a78f82b943a9d224aace7ad184cc39d581be52"},this.enableHeader&&s("p-table-header",{key:"c07938abb9246bddb497924fe5b76137f40c81cd",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:t})=>this.queryChange.emit(t),onQuickFilter:({detail:t})=>this.quickFilter.emit(t)},this._hasCustomFilterSlot&&s("slot",{key:"b8468885c7950f3606472de651f53e388ef99726",name:"custom-filter",slot:"custom-filter"}),this._hasCustomActionsSlot&&s("slot",{key:"37fe2edc6b7e85fe9eb47a057646b7f233b0986f",name:"custom-actions",slot:"custom-actions"})),this._getExtraHeader(),this._getHeader(),s("div",{key:"ae79834d8e90437452482063a2b4eeef8d7d8c51",class:"flex flex-1 flex-col"},this._getRows(),s("slot",{key:"327fa23d2b07f7453db487b3f142a284817b3045",name:"custom-rows"})),this.enableFloatingMenu&&this._enableRowSelection?s("p-floating-menu-container",{amount:this.selectedRows?.length,amountSelectedTemplate:this.floatingMenuAmountSelectedTemplate,class:a({hasFooter:this.enableFooter&&!this._footerHidden,active:!!this.selectedRows?.length,shown:this._floatingMenuShown}),enableAmountSelected:!!this._rowActionsFloating?.length,usedInTable:!0,onClose:()=>this._selectAllChange(null,!1)},this._rowActionsFloating?.length&&this._rowActionsFloating.map((t=>s("p-floating-menu-item",{disabled:t.disabled,icon:t.icon,iconFlip:t.iconFlip,iconRotate:t.iconRotate,loading:t.loading,slot:"floating-menu-item",onClick:()=>t.disabled||t.loading||!t.action||"single"!==t.type?t.action(this.selectedRows,!0):t.action(this.selectedRows[0],!1)},t.label)))):"",this.enableFooter&&s("p-table-footer",{key:"a88236bba88a694b16d1d3bd119bf67f7dc7fbea",enablePaginationPages:this.enablePaginationPages,enablePaginationSize:this.enablePaginationSize,hideOnSinglePage:this.hideOnSinglePage,loading:this.footerLoading,page:this.page,pageSize:this.pageSize,pageSizeOptions:this.pageSizeOptions,tableHeaderHasAction:this.enableHeader&&this.enableAction&&this.actionButtonEnabled,total:this.total,onHiddenChange:({detail:t})=>this._footerHidden=t,onPageChange:({detail:t})=>this.pageChange.emit(t),onPageSizeChange:({detail:t})=>this.pageSizeChange.emit(t)})))}async _setLocales(){this._locales=await h(this._el)}onTableDefinitionUpdated(){this._generateColumns()}keyDown({ctrlKey:t,metaKey:e}){(t||e)&&!0!==this._ctrlDown&&(this._ctrlDown=!0)}keyUp({ctrlKey:t,metaKey:e}){(t||e)&&!1!==this._ctrlDown&&(this._ctrlDown=!1)}visibilityChange(){"hidden"===document.visibilityState&&!1!==this._ctrlDown&&(this._ctrlDown=!1)}_parseItems(t){this._items=t?Array.isArray(t)?t:JSON.parse(t):[]}_setRowSelectionData(){this._resizeTimeout&&clearTimeout(this._resizeTimeout),this._resizeTimeout=setTimeout((()=>{const t=l(),e=[...this._el.querySelectorAll(":scope > p-table-row-action")];this._rowActionsRow=e.filter((t=>"both"===t.type||"single"===t.type)),this._rowActionsFloatingAll=e.filter((e=>this.enableRowSelection&&("both"===e.type||"multi"===e.type)||t&&"single"===e.type)).map((t=>("single"===t.type&&(t.disabled=this.selectedRows?.length>1),t)));let i=this.rowSelectionLimit;t&&this._rowActionsFloatingAll?.length&&(void 0!==i&&this.enableRowSelection||!this.enableRowSelection)&&(i=1),this._rowSelectionLimit=i;let s=this.enableRowSelection;t&&this._rowActionsFloatingAll?.length&&!s&&(s=!0),this._enableRowSelection=s,this._floatingMenuShown&&this._showFloatingMenu()}),200)}_generateExtraHeaders(){let t=[...this._el.querySelectorAll("p-table-extra-header")];t=this._parseDefinitions(t),this._extraHeaders=t}_generateColumns(){let t=[...this._el.querySelectorAll("p-table-column")];t=this._parseDefinitions(t),this._columns=t}_getExtraHeader(){return this._extraHeaders?.length?s("p-table-row",{isLast:!0,variant:"header-secondary"},this._extraHeaders.map(((t,e)=>s("p-table-cell",{checkboxOffset:0===e&&this._enableRowSelection,definition:t,index:e,variant:"header-secondary"},s("b",null,t.name))))):null}_getHeader(){return s("p-table-row",{variant:"header"},this._columns.map(((t,e)=>s("p-table-cell",{checkbox:0===e||t.hasCheckbox?this._getCheckbox(null,this.loading?"loading":"header"):null,definition:t,index:e,value:t.name,variant:"header"}))))}_getRows(){return this.loading?Array.from({length:this.amountOfLoadingRows},((t,e)=>s("p-table-row",{enableHover:this._enableRowSelection||this.enableRowClick,isLast:e===this.amountOfLoadingRows-1},this._getLoadingColumns(e)))):0===this._items.length?this._getEmptyState():this._items.map(((t,e)=>s("p-table-row",{checked:this._selectionContains(e),enableHover:this._enableRowSelection||this.enableRowClick,isLast:e===this._items.length-1,onClick:t=>this._rowClick(t,e)},this._getRowColumns(t,e),this._getActions(t,e))))}_getActions(t,e){const i=this._rowActionsRow.filter((e=>!e.showFunction||e.showFunction(t)));return i?.length&&!l()?s("p-table-row-actions-container",{checked:this._selectionContains(e),slot:"actions"},i.map((e=>s("p-tooltip",{content:e.label,strategy:"fixed"},s("p-button",{icon:e.icon,iconFlip:e.iconFlip,iconOnly:!0,iconRotate:e.iconRotate,size:"sm",slot:"trigger",variant:"secondary","data-is-action":!0,onClick:()=>"function"==typeof e.action&&e.action?.(t,!1)}))))):null}_getRowColumns(t,e){return this._columns.map(((i,n)=>s("p-table-cell",{checkbox:0===n||i.hasCheckbox?this._getCheckbox(e):null,definition:i,index:n,item:t,rowIndex:e})))}_getLoadingColumns(t){return this._columns.map(((e,i)=>s("p-table-cell",{checkbox:0===i||e.hasCheckbox?this._getCheckbox(t,"loading"):null,definition:e,index:i,rowIndex:t,variant:"loading"})))}_getCheckbox(t,e="default"){if(!this._enableRowSelection||!this.selectionKey&&!this._rowActionsFloating?.length)return;if("loading"===e)return s("p-loader",{class:"h-6 w-6 rounded",variant:"ghost"});if("header"===e)return s("p-checkbox",{checked:this._selectionContainsAll(),class:r({"opacity-0":void 0!==this._rowSelectionLimit}),disabled:void 0!==this._rowSelectionLimit,indeterminate:this._selectionIndeterminate(),onCheckedChange:t=>this._selectAllChange(t)});const i=this._items[t],n=this._selectionContains(t);return s("p-checkbox",{checked:n,class:"flex-shrink-0",disabled:this.canSelectKey&&!i[this.canSelectKey]||void 0!==this._rowSelectionLimit&&!n&&this.selectedRows.length===this._rowSelectionLimit,onCheckedChange:e=>this._checkboxChange(e,t)})}_getEmptyState(){return s("p-empty-state",this.query?.length||this.selectedFiltersAmount?{class:"my-16 self-center",content:this.emptyStateFilteredContent(),header:this.emptyStateFilteredHeader(),illustration:"search"}:{actionIcon:"plus",actionText:this.emptyStateAction(),class:"my-16 self-center",content:this.emptyStateContent(),enableAction:this.enableEmptyStateAction,header:this.emptyStateHeader(),illustration:"table",onAction:()=>this.enableAction&&this.action.emit()})}_selectAllChange(t,e){if(this._enableRowSelection){if(void 0===e?t?.detail??e:e){const t=[];for(let e=0;e<this._items.length;e++){const i=this._items[e];if((!this.canSelectKey||i[this.canSelectKey])&&!this._selectionContains(e)&&(t.push(i),this.rowSelected.emit(i),void 0!==this._rowSelectionLimit&&this.selectedRows.length+t.length===this._rowSelectionLimit))break}return this.selectedRows=[...this.selectedRows,...t],this.selectedRowsChange.emit(this.selectedRows),void(this.enableFloatingMenu&&!this._floatingMenuShown&&this._showFloatingMenu())}for(let t=0;t<this.selectedRows.length;t++){const e=this.selectedRows[t],i=this._items.find((i=>this._getSelectionValue(i,t)===this._getSelectionValue(e,t)));i&&this.rowDeselected.emit(i)}this.selectedRows=[],this.selectedRowsChange.emit(this.selectedRows)}}_checkboxChange({detail:t,target:e},i){if(!this._enableRowSelection)return;if(t&&void 0!==this._rowSelectionLimit&&this.selectedRows.length>=this._rowSelectionLimit)return void(e.checked=!1);const s=this._items[i];if(this.canSelectKey&&!s[this.canSelectKey])return void(e.checked=!1);if(t)return this.selectedRows=[...this.selectedRows,{...s,index:i}],this.selectedRowsChange.emit(this.selectedRows),this.rowSelected.emit(s),void(this.enableFloatingMenu&&!this._floatingMenuShown&&this._showFloatingMenu());const n=this._selectionContains(i,!0),o=[...this.selectedRows];o.splice(n,1),this.selectedRows=o,this.selectedRowsChange.emit(this.selectedRows),this.rowDeselected.emit(s)}_getSelectionValue(t,e){return this.selectionKey&&t?.[this.selectionKey]||e}_selectionContains(t,e=!1){const i=this.selectedRows.findIndex((e=>e.index===t));return e?i:-1!==i}_selectionContainsAll(){let t=!0;if(!this._items?.length)return!1;if(void 0!==this._rowSelectionLimit&&this.selectedRows.length===this._rowSelectionLimit)return!0;for(let e=0;e<this._items?.length;e++)if(!this._selectionContains(e)){t=!1;break}return t}_selectionIndeterminate(){if(!this._items?.length||!this.selectedRows?.length)return!1;if(void 0!==this._rowSelectionLimit&&this.selectedRows.length===this._rowSelectionLimit)return!1;let t=0;for(let e=0;e<this._items?.length;e++)this._selectionContains(e)&&t++;return t>0&&t!==this._items.length}_rowClick(t,e){const i=t.target;if("input"===i.tagName.toLowerCase()||"checkbox"===i.type)return;const s=this._findRow(t.target);if(this._findRowAction(t.target))return;if(this.enableRowClick)return void this.rowClick.emit({item:this._items[e],ctrlDown:this._ctrlDown});if(!this._enableRowSelection)return;const n=s?.querySelector('input[type="checkbox"]');n&&(n.checked=!n.checked,this._checkboxChange(n,e))}_findRow(t){return t?"p-table-row"===t?.tagName?.toLowerCase()?t:this._findRow(t?.parentElement):t}_findRowAction(t){return t?null!==t.dataset.isAction&&"false"!==t.dataset.isAction?t:"p-table-row"===t?.tagName?.toLowerCase()?null:this._findRowAction(t?.parentElement):null}_showFloatingMenu(){let t=this._rowActionsFloatingAll;1===this.rowSelectionLimit&&t.some((t=>("single"===t.type||"both"===t.type)&&t.showFunction))&&(t=t.filter((t=>"multi"===t.type||!t.showFunction||t.showFunction(this.selectedRows[0])))),this._rowActionsFloating=t,this._floatingMenuShown=!0}_parseDefinitions(t){return t.map((t=>this._parseDefinitionSizes(t)))}_parseDefinitionSizes(t){const e=t;let i={default:"full"};"string"!=typeof t.sizes||["auto","hidden","full"].includes(t.sizes)||(t.sizes=JSON.parse(t.sizes));for(const[t,s]of u.entries())i[s]="auto"!==e.sizes&&"hidden"!==e.sizes&&"full"!==e.sizes&&"number"!=typeof e.sizes?e.sizes[s]??i[u[t-1]]:"auto"===e.sizes?"full":e.sizes;return t.parsedSizes=i,t}static get watchers(){return{items:[{_parseItems:0}],enableRowSelection:[{_setRowSelectionData:0}],rowSelectionLimit:[{_setRowSelectionData:0}],selectedRows:[{_setRowSelectionData:0}]}}};f.style="*{box-sizing:border-box}.static{position:static}.fixed{position:fixed}.z-0{z-index:0}.my-16{margin-bottom:4rem;margin-top:4rem}.mb-8{margin-bottom:2rem}.flex{display:flex}.table{display:table}.hidden{display:none}.h-6{height:1.5rem}.w-6{width:1.5rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.resize{resize:both}.flex-col{flex-direction:column}.self-center{align-self:center}.rounded{border-radius:.25rem}.opacity-0{opacity:0}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}";export{f as p_table}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e}from"./p-yFtRjnrU.js";import{c as r}from"./p-CBWjHURv.js";import{T as i}from"./p-CSySY6aC.js";import{a}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";import"./p-6XOzWrsN.js";const o=r("flex gap-2",{variants:{align:{start:"items-start",center:"items-center",end:"items-end"},contentPosition:{start:"flex-row-reverse",end:null}}}),d=r(["flex h-6 w-6 items-center justify-center","text-center text-sm font-medium","border border-solid","rounded-full"],{variants:{align:{start:null,center:null,end:null},direction:{horizontal:null,vertical:null},finished:{true:null,false:null},active:{true:null,false:null}},compoundVariants:[{finished:!1,active:!1,class:["border-indigo-600 bg-indigo-50 text-indigo-600","dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200"]},{active:!0,finished:!1,class:"border-indigo-600 bg-indigo-600 text-white"},{active:!1,finished:!0,class:"border-indigo-600 bg-indigo-600 text-white"},{direction:"vertical",align:"start",class:"mt-5"},{direction:"vertical",align:"end",class:"mb-5"}]}),n=r("mt-[1px] flex-1 text-sm font-medium",{variants:{finished:{true:null,false:null},active:{true:null,false:null},direction:{horizontal:null,vertical:null}},compoundVariants:[{finished:!1,active:!1,class:"\n text-storm-400\n dark:text-hurricane-200\n "},{active:!0,finished:!1,class:"\n text-storm-500\n dark:text-white\n "},{active:!1,finished:!0,class:"\n text-storm-500\n dark:text-white\n "},{direction:"horizontal",active:!1,class:"\n hidden\n desktop-xs:inline-block\n "}]}),c=class{constructor(e){t(this,e)}number=1;direction="horizontal";align="center";contentPosition="end";finished=!1;active=!1;render(){return e(i,{key:"edf338c5b008b559c5199f7c9f454bfe9e20f9ce"},e("div",{key:"e91525c251df530c61b1faec6f90e8709d75b527",class:o({align:this.align,contentPosition:this.contentPosition})},e("div",{key:"64a513f2fd42c518c336996e1fd8d01375f39003",class:d({align:this.align,direction:this.direction,active:a(this.active),finished:a(this.finished)})},this.number),e("div",{key:"7e0ee0a172fc6c1065fd9e575eb4d45bd6729d32",class:n({active:a(this.active),finished:a(this.finished),direction:this.direction})},e("slot",{key:"b5d5e8be64cd61d0fae48429264560d4102e5037"}))))}};c.style="*{box-sizing:border-box}.static{position:static}.mb-5{margin-bottom:1.25rem}.mt-5{margin-top:1.25rem}.mt-\\[1px\\]{margin-top:1px}.flex{display:flex}.hidden{display:none}.h-6{height:1.5rem}.w-6{width:1.5rem}.flex-1{flex:1 1 0%}.flex-row-reverse{flex-direction:row-reverse}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-indigo-600{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/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))}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block}}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}";const s=class{constructor(e){t(this,e)}active=!1;direction="horizontal";render(){return e(i,{key:"621b15848cad51fd35bfa92f6d540aede5370d7b"})}};s.style=".mx-\\[calc\\(0\\.75rem-1px\\)\\]{margin-left:calc(.75rem - 1px);margin-right:calc(.75rem - 1px)}.block{display:block}.h-\\[1px\\]{height:1px}.min-h-\\[1rem\\]{min-height:1rem}.w-\\[1px\\]{width:1px}.bg-off-white-700{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1))}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1));display:block;flex:1 1 auto}:host:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}:host:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}:host([direction=horizontal]){height:1px}:host([direction=vertical]){margin-left:calc(.75rem - 1px);margin-right:calc(.75rem - 1px);min-height:1rem;width:1px}:host([active=true]),:host([active]:not([active=false])){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.static{position:static}";export{c as p_stepper_item,s as p_stepper_line}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as a,e as r}from"./p-yFtRjnrU.js";import{c as e}from"./p-CBWjHURv.js";import"./p-ChV9xqsO.js";const l=e(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 "}]}),s=e("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"}]}),i=class{constructor(a){t(this,a)}variant="modal";render(){return a(r,{key:"d02cc8f0b48334a363b9bad858e5191e28d00634",class:l({variant:this.variant})},a("div",{key:"ec35089f4a29622f0c5c528b6fc964b546d0c845",class:s({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'}))}};i.style="*{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))}";export{i as p_smile}
|