@paperless/core 3.17.1 → 3.17.3
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-1a85b89a.js → p-05f7279a.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/{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-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/build/p-CzUyWlXA.js +1 -0
- 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-3829f072.entry.js → p-c6056657.entry.js} +1 -1
- package/dist/build/p-cfb68485.entry.js +1 -0
- 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 +8 -0
- package/dist/cjs/is-platform-byJrxYJO.js +44 -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 +34 -0
- package/dist/components/index.js +1 -1
- 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-CzUyWlXA.js +1 -0
- 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-CzUyWlXA.js +36 -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/{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-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/paperless/p-CzUyWlXA.js +1 -0
- 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-cfb68485.entry.js +1 -0
- 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 +7 -0
- package/hydrate/index.js +144 -108
- package/hydrate/index.mjs +144 -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/dist/collection/components/atoms/table/container/table-row-actions-container.component.js
CHANGED
|
@@ -7,16 +7,16 @@ export class TableRowActionsContainer {
|
|
|
7
7
|
*/
|
|
8
8
|
checked = false;
|
|
9
9
|
render() {
|
|
10
|
-
return (h(ThemedHost, { key: '
|
|
10
|
+
return (h(ThemedHost, { key: '8150cc809c966d7ce65f9302a898fa5a0b871c52' }, h("div", { key: 'f3819618fc035040a36c6481eddccbb80e6f159b', class: cn(`
|
|
11
11
|
flex
|
|
12
12
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
13
13
|
`, {
|
|
14
14
|
'dark:before:from-hurricane-600': !this.checked,
|
|
15
15
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
16
|
-
}) }, h("div", { key: '
|
|
16
|
+
}) }, h("div", { key: '2e10f66b4a319d1ed55a39b9f6fe10baf0211b78', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
17
17
|
'dark:bg-hurricane-600': !this.checked,
|
|
18
18
|
'dark:bg-hurricane-400': !!this.checked,
|
|
19
|
-
}) }, h("slot", { key: '
|
|
19
|
+
}) }, h("slot", { key: '6478fa71bf7ae5f301c97c281751083ed82fba6e' })))));
|
|
20
20
|
}
|
|
21
21
|
static get is() { return "p-table-row-actions-container"; }
|
|
22
22
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,9 +39,9 @@ export class ToastContainer {
|
|
|
39
39
|
*/
|
|
40
40
|
placement = 'top-end';
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'f28d91021abda29f748cb31b45509847ca0da96a', class: container({
|
|
43
43
|
placement: this.placement,
|
|
44
|
-
}) }, h("slot", { key: '
|
|
44
|
+
}) }, h("slot", { key: '410921616add076f439ded2ee2590d941665040f' })));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "p-toast-container"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -132,11 +132,11 @@ export class Toggle {
|
|
|
132
132
|
}
|
|
133
133
|
render() {
|
|
134
134
|
const id = this.id?.length ? this.id : this._nonce;
|
|
135
|
-
return (h(ThemedHost, { key: '
|
|
135
|
+
return (h(ThemedHost, { key: 'e99533e90e40c74f00f495c50e4cbb93a018f83c' }, h("label", { key: '2dbeec5d74c4fba83d9a78931f660cc1949d5433', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: '790d225e89cd99a770c21f8d4c91d0d4f3557456', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, h("input", { key: '6dfa1eb27e4f3591faae3a93685179f2b7c8b43a', checked: !!this.checked, class: toggle({
|
|
136
136
|
disabled: asBoolean(this.disabled),
|
|
137
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
137
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '6f7ce532339936f808dcba1f59d077de4997527d', class: circle({
|
|
138
138
|
disabled: asBoolean(this.disabled),
|
|
139
|
-
}) })), h("div", { key: '
|
|
139
|
+
}) })), h("div", { key: 'cd72d92731a6d33a0cc0779e6401c8dbe3ecb998', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '68fdf4f230b6b57ae445d36d22c3d1d55a4c3c63' })))));
|
|
140
140
|
}
|
|
141
141
|
_onChange(ev) {
|
|
142
142
|
if (asBoolean(this.disabled)) {
|
|
@@ -97,10 +97,10 @@ export class Tooltip {
|
|
|
97
97
|
this._cleanup = null;
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(ThemedHost, { key: '
|
|
100
|
+
return (h(ThemedHost, { key: 'd147e030a80af8791035f4dab1a7b99ec0867f94', "data-filled": this.content?.length > 0 || this._hasContentSlot }, h("slot", { key: '89030f4390b2cfc13e251c1a2ebad1c20ccc5197', name: 'trigger' }), h("div", { key: '78202040e8b080e8e76f34f91119cc57a18499dd', class: popover({
|
|
101
101
|
variant: this.variant,
|
|
102
102
|
strategy: this.strategy,
|
|
103
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: '
|
|
103
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, h("div", { key: 'd519348239cfaab6c4e424583ebb574f2de6a382', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (h("div", { key: 'aca6758ca18f28d3323bf8c6781f2c12e0526692', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? h("slot", { key: 'd9559f61c3be1d65cdaa8a4e552a420c2c3e7485', name: 'content' })))));
|
|
104
104
|
}
|
|
105
105
|
clickHandler() {
|
|
106
106
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -579,7 +579,7 @@ export class Button {
|
|
|
579
579
|
: 'button';
|
|
580
580
|
const hostClass = cn('p-button inline-block', this.class);
|
|
581
581
|
const active = asBoolean(this.active) || hostClass?.includes('active');
|
|
582
|
-
return (h(ThemedHost, { key: '
|
|
582
|
+
return (h(ThemedHost, { key: '6148fd7b2aeb9b67cc2434122d84e782366d3d94', class: hostClass }, h(VariableTag, { key: '864bbdc213dede9b0b4252f15e7e2e7351d9b3ee', class: button({
|
|
583
583
|
variant: this.variant,
|
|
584
584
|
size: this.size,
|
|
585
585
|
loading: asBoolean(this.loading),
|
|
@@ -589,14 +589,14 @@ export class Button {
|
|
|
589
589
|
active,
|
|
590
590
|
error: asBoolean(this.error),
|
|
591
591
|
underline: asBoolean(this.underline) && VariableTag === 'a',
|
|
592
|
-
}), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '
|
|
592
|
+
}), disabled: asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '6ef87717783cc48898ab9d49d189b32f4a6583e2', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
|
|
593
593
|
this.iconPosition === 'start' &&
|
|
594
594
|
!(this.iconOnly && this.loading) &&
|
|
595
|
-
this._getIcon(), this.label ?? h("slot", { key: '
|
|
595
|
+
this._getIcon(), this.label ?? h("slot", { key: 'b0ca4383ce576b0ed97981b2b01f2989345bd524' }), this.icon &&
|
|
596
596
|
this.iconPosition === 'end' &&
|
|
597
597
|
!this.loading &&
|
|
598
598
|
!this.chevron &&
|
|
599
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '
|
|
599
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'f98643605a4726f4d600fe6b2dc3630f2db9941b', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && h("p-loader", { key: 'df1a3a7f6cf562846220d2ff0f358e6c56e18511', color: loaderColor }))));
|
|
600
600
|
}
|
|
601
601
|
handleClick(ev) {
|
|
602
602
|
if (this.loading || this.disabled) {
|
|
@@ -115,20 +115,20 @@ export class Dropzone {
|
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
117
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
118
|
-
return (h(ThemedHost, { key: '
|
|
118
|
+
return (h(ThemedHost, { key: '3bdbd0ce35e34159cea4a25cd850f9a193a3f946' }, h("div", { key: 'ebf85859aa357664417f8086c865de8325a225fe', class: dropzone({
|
|
119
119
|
isOver: this._isOver,
|
|
120
120
|
uploaded: this.uploaded,
|
|
121
|
-
}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (h("p-icon", { key: '
|
|
121
|
+
}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (h("p-icon", { key: '6dca37d76b00f5da9f5b4b8e028c83b0578fb811', class: cn(`
|
|
122
122
|
group-hover/dropzone:text-indigo-900
|
|
123
123
|
dark:group-hover/dropzone:text-indigo-700
|
|
124
124
|
`, {
|
|
125
125
|
'text-positive-green-800': this.uploaded,
|
|
126
126
|
'text-storm-300 dark:text-hurricane-200': !this._isOver && !this.uploaded,
|
|
127
127
|
'text-indigo-900 dark:text-indigo-700': this._isOver,
|
|
128
|
-
}), variant: this.icon })), this.loading && h("p-loader", { key: '
|
|
128
|
+
}), variant: this.icon })), this.loading && h("p-loader", { key: 'b6444e1d0c4519023ba628cab29b166812b0d853' }), hasContent && (h("p", { key: 'f2e434afe8daadfe90e3b1d7257c98a610405689', class: cn('m-0 p-0 text-lg font-bold', {
|
|
129
129
|
'dark:text-white': !this.uploaded || this._isOver,
|
|
130
130
|
'text-storm-500': this.uploaded && !this._isOver,
|
|
131
|
-
}) }, h("slot", { key: '
|
|
131
|
+
}) }, h("slot", { key: 'f7054d8e072e40e6a294b8feec5d53c6368df633' }))), this.uploaded && !this._isOver && (h("div", { key: 'ad137466b30a21dd4ba66db226968cc17a8e5f8c', class: 'flex items-center gap-2 text-positive-green-800' }, h("p-icon", { key: '343c6b31e638f961430b7421e44faedbc8c00e24', variant: 'check-circle' }), h("span", { key: '6ada9196c435e0642fb8528fc4ba2d28ba6b1d29', class: 'font-medium' }, this.addedString))), (!this.uploaded || this._isOver) && (h("div", { key: 'e928b7b3a1e60e699f9ecc8de2f4bc48c4162032', class: cn([
|
|
132
132
|
'flex flex-col text-center',
|
|
133
133
|
'group-hover/dropzone:opacity-50',
|
|
134
134
|
`
|
|
@@ -137,7 +137,7 @@ export class Dropzone {
|
|
|
137
137
|
`,
|
|
138
138
|
], {
|
|
139
139
|
'opacity-50': this._isOver,
|
|
140
|
-
}) }, h("span", { key: '
|
|
140
|
+
}) }, h("span", { key: '4533eac1b324933cc3aedaf84b8aa7954ac0b09d', class: 'font-medium' }, this.dragFileString), h("span", { key: 'bd5e993c33adc175ed2f81eee8a1c5350318df7a', class: 'font-normal' }, this.orClickString)))), h("input", { key: '6efc0733c35a09bce5b2a80de4870eb96b5e69f1', accept: this.acceptGroup == 'any' ? '' : 'image/*', class: 'hidden', multiple: this.allowMultiple === true ? true : undefined, ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
141
141
|
}
|
|
142
142
|
onDrop(ev) {
|
|
143
143
|
const files = this._getFiles(ev);
|
|
@@ -105,27 +105,27 @@ export class FieldContainer {
|
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
107
|
const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
|
|
108
|
-
let contentSlot = (h("slot", { key: '
|
|
108
|
+
let contentSlot = (h("slot", { key: 'ee38d5be02a899e0d63749e4b13c17cae4711637', name: 'content', slot: 'trigger' }));
|
|
109
109
|
if (this.loading) {
|
|
110
|
-
contentSlot = (h("p-loader", { key: '
|
|
110
|
+
contentSlot = (h("p-loader", { key: '5e445ed28e4ff1254b6c724d5bb859d37ed669b3', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
|
|
111
111
|
}
|
|
112
|
-
return (h(ThemedHost, { key: '
|
|
112
|
+
return (h(ThemedHost, { key: 'b9e499d2dc7e962d706997c8d16f61c5252f118d' }, h("label", { key: '4233b212952fa641e2509ea1c942453e77ec5f82', class: cn('flex h-inherit w-inherit flex-col gap-1', {
|
|
113
113
|
'cursor-auto': this.variant === 'read',
|
|
114
|
-
}), htmlFor: this.id }, h("div", { key: '
|
|
114
|
+
}), htmlFor: this.id }, h("div", { key: '20e48d5f03656193a1b837070ae750a8d4296465', class: cn(`
|
|
115
115
|
flex items-end justify-between gap-1
|
|
116
116
|
empty:hidden
|
|
117
117
|
`, {
|
|
118
118
|
'flex-row-reverse': this.align === 'end',
|
|
119
|
-
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '
|
|
120
|
-
hasHeaderSlot) && (h("div", { key: '
|
|
119
|
+
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: 'ee34ef249bb30262496793d5f8417e137313cf03', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: '1a73b8c8c753253a46be784bbd03aaf515c33d3d', class: '\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n ' }, label), helper && (h("p-helper", { key: 'fe0c268b0fee3a855bcc44ef844ca8a2a727dee2', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
|
|
120
|
+
hasHeaderSlot) && (h("div", { key: '14466e8a589be9b1b599750e9d94fdd507e63637', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
|
|
121
121
|
asBoolean(this.showOptional) &&
|
|
122
|
-
this.variant === 'write' && (h("span", { key: '
|
|
122
|
+
this.variant === 'write' && (h("span", { key: '2103c58a2d6283a3776386fc48b817b0a6c11775', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: 'daa792f0973fb224b65694b2b3da0bce094bc013', name: 'header' })))), h("p-tooltip", { key: 'f5a7db0a4adf1b122a1297e3216c67abd4dc824e', class: cn({
|
|
123
123
|
'w-full': this.variant === 'write' || this.loading,
|
|
124
124
|
'ml-auto': this.align === 'end',
|
|
125
125
|
'font-normal': this.variant === 'read',
|
|
126
126
|
'text-storm-500 dark:text-white': this.variant === 'read',
|
|
127
127
|
}), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
|
|
128
|
-
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '
|
|
128
|
+
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '38ce560479de40f7b704bf9f7736f217286a39b8', name: 'error', slot: 'content' })), contentSlot))));
|
|
129
129
|
}
|
|
130
130
|
async _setLocales() {
|
|
131
131
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -75,17 +75,17 @@ export class Label {
|
|
|
75
75
|
*/
|
|
76
76
|
keepMobileContent = false;
|
|
77
77
|
render() {
|
|
78
|
-
return (h(ThemedHost, { key: '
|
|
78
|
+
return (h(ThemedHost, { key: 'fe53d8c5296ef6ffdce11306ce1a3d83b19a3337' }, h("div", { key: '5467052d82c9ca3328aed8168f44db9905b85f52', class: label({
|
|
79
79
|
variant: this.variant,
|
|
80
80
|
iconOnly: this.iconOnly,
|
|
81
81
|
keepMobileContent: this.keepMobileContent,
|
|
82
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
82
|
+
}) }, this.icon && (h("p-icon", { key: '7ea93c16a0de51817a0bb642cdbc57e18de3a6d4', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (h("div", { key: '925fab5fcf51708ad6f89b6e373af1a93751990e', class: cn(`
|
|
83
83
|
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
84
84
|
font-medium
|
|
85
85
|
`, {
|
|
86
86
|
hidden: !this.keepMobileContent,
|
|
87
87
|
'desktop-xs:block': !this.keepMobileContent,
|
|
88
|
-
}) }, h("slot", { key: '
|
|
88
|
+
}) }, h("slot", { key: '957f2c078fb47ce9cc82db2c3507c0d7ed283684' }))))));
|
|
89
89
|
}
|
|
90
90
|
static get is() { return "p-label"; }
|
|
91
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class PaginationPages {
|
|
|
61
61
|
this._generate();
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: 'e589ea86868c500398b830d85774df1282097210' }, h("div", { key: '27936247b83b4a771f4974a7946cc1eb24829d5b', class: pagination({
|
|
65
65
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
66
66
|
}) }, this._set?.map(p => {
|
|
67
67
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -79,18 +79,18 @@ export class PaginationSize {
|
|
|
79
79
|
this._setLocales();
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
return (h(ThemedHost, { key: '
|
|
82
|
+
return (h(ThemedHost, { key: '42cf5dbb2f2d9fdb6a571bddc2b763b84f39024a', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, h("p-dropdown", { key: 'a9952f6ba7d0712fc00310dbcc5ab565291dcb02', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, h("div", { key: 'cd819e27bdd8befc96ec722cc82179e7cb3f75eb', class: trigger({
|
|
83
83
|
active: this.dropdownIsOpen,
|
|
84
|
-
}), slot: 'trigger' }, h("p", { key: '
|
|
84
|
+
}), slot: 'trigger' }, h("p", { key: 'e90cc9866f78ba047d97871ca957121110f2be10', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
|
|
85
85
|
? this.itemTemplate(this.size)
|
|
86
|
-
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '
|
|
86
|
+
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '8b308f1855c5553483eb22583ab58185de48c107', class: cn([
|
|
87
87
|
'flex-shrink-0',
|
|
88
88
|
'group-hover/pagination-size-trigger:text-storm-500',
|
|
89
89
|
'dark:group-hover/pagination-size-trigger:text-white',
|
|
90
90
|
], {
|
|
91
91
|
'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
|
|
92
92
|
'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
|
|
93
|
-
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: '
|
|
93
|
+
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: '6f67fec42d1ad0093411c9e8a695577ddf9bd4cf', slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
94
94
|
? this.itemTemplate(option)
|
|
95
95
|
: this._defaultItemTemplate(option))))))));
|
|
96
96
|
}
|
|
@@ -138,13 +138,13 @@ export class TableHeader {
|
|
|
138
138
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
139
139
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
140
140
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
141
|
-
return (h(ThemedHost, { key: '
|
|
142
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
141
|
+
return (h(ThemedHost, { key: '5934545a9b79e63a584d60483a5e85d40bea840a' }, h("div", { key: '8cf4cc7921f7a639ca345d3bc7499157b00e6ca9', class: header() }, this.loading && (h("p-loader", { key: '37f231c9d95714e97a44b3590c641c4caf312248', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
142
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '79e2f32969deea9fda7734eb4b5109df72f95b12', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && h("slot", { key: 'a0fa8b99389dcac563cde033c736d742081f2ee1', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: '16667bdc75b22b4161e804bda8958a4f84193635', class: cn({
|
|
143
143
|
'hidden desktop-xs:flex': this.hideQuickFiltersOnMobile,
|
|
144
144
|
flex: !this.hideQuickFiltersOnMobile,
|
|
145
145
|
}) }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
146
146
|
? item.text
|
|
147
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
147
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '152a9822b276490709ce27554d9b0968e92e5a02', class: '\n flex flex-col justify-end gap-2\n desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center\n ' }, this.enableSearch && (h("p-field", { key: '6f09acf8280c35508f574094d770ab8c147b2eff', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: 'a496862587e67337f219adad7bdf3cd892522b2d', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: 'fe71e345507f80c5ea0b592361b40a16390fa828', class: `
|
|
148
148
|
w-full
|
|
149
149
|
${this.enableFilterDesktop
|
|
150
150
|
? 'desktop-xs:w-auto'
|
|
@@ -152,7 +152,7 @@ export class TableHeader {
|
|
|
152
152
|
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
153
153
|
? this.filterButtonTemplate()
|
|
154
154
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
155
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
155
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '0c85b3d8e51e963aa1a9d3720e35a236cc97ace7', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (h("p-button", { key: '1c647066577b85ca9b0c7b660858e172920dc2bb', class: '\n w-full\n desktop-xs:w-auto\n ', icon: 'upload', variant: 'secondary', onOnClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && h("slot", { key: '193a9d2a8bb5567033ad63485f9a9ed05fb7cdf9', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: '5c6a0e789d6f4de9bf2131e3e169177d73cefbcb', class: '\n fixed bottom-0 left-0 z-[2] block w-full border border-solid\n border-transparent bg-white p-4\n desktop-xs:hidden\n dark:border-t-hurricane-400 dark:bg-hurricane-500\n ' }, this._buttonTemplate(true))))));
|
|
156
156
|
}
|
|
157
157
|
async _setLocales() {
|
|
158
158
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host, } from "@stencil/core";
|
|
2
|
-
import { floatingMenuContainerClass, formatTranslation, getLocaleComponentStrings, isMobile, } from "../../../utils";
|
|
2
|
+
import { floatingMenuContainerClass, formatTranslation, getLocaleComponentStrings, isApple, isMobile, } from "../../../utils";
|
|
3
3
|
import { cn } from "../../../utils/cn";
|
|
4
|
-
import {
|
|
4
|
+
import { PAGINATION_DEFAULT_PAGE_SIZE, PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS, TABLE_COLUMN_SIZES, } from "../../../utils/constants";
|
|
5
5
|
export class Table {
|
|
6
6
|
/**
|
|
7
7
|
* The items to be fed to the table
|
|
@@ -257,7 +257,7 @@ export class Table {
|
|
|
257
257
|
this.hasRendered.emit();
|
|
258
258
|
}
|
|
259
259
|
render() {
|
|
260
|
-
return (h(Host, { key: '
|
|
260
|
+
return (h(Host, { key: '425442ed379af6ed510015af1c215a243d14a709', class: 'z-0 flex flex-col' }, h("p-table-container", { key: 'f4a76f0df1ff84f4cef210c3721e32f160df7e3b' }, this.enableHeader && (h("p-table-header", { key: 'f621cdc3fce191ec8a921a1bbba6f67212fda95b', actionButtonTemplate: this.actionButtonTemplate, actionIcon: this.actionButtonIcon, actionLoading: this.actionButtonLoading, actionText: this.actionButtonText, activeQuickFilterIdentifier: this.activeQuickFilterIdentifier, canUseAction: this.actionButtonEnabled, class: 'mb-8', enableAction: this.enableAction, enableExport: this.enableExport, enableFilter: this.enableFilter, enableFilterDesktop: this.enableFilterDesktop, enableSearch: this.enableSearch, filterButtonTemplate: this.filterButtonTemplate, itemsSelectedAmount: this.selectedRows?.length, loading: this.headerLoading, query: this.query, quickFilters: this.quickFilters, selectedFiltersAmount: this.selectedFiltersAmount, onAction: () => this.action.emit(), onExport: () => this.export.emit(), onFilter: () => this.filter.emit(), onQueryChange: ({ detail }) => this.queryChange.emit(detail), onQuickFilter: ({ detail }) => this.quickFilter.emit(detail) }, this._hasCustomFilterSlot && (h("slot", { key: '6ad3e112ed8d23bdf8c1ba550071b7bf6deb9fc1', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (h("slot", { key: '1a5aeaa7135c9a91fb624e46bb66a281bff81735', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), h("div", { key: '02e8e776a8f52f98eac3524fac5099d3ce59a43f', class: 'flex flex-1 flex-col' }, this._getRows(), h("slot", { key: '4682df30035958e2c07533eb9103d827c60e2ecf', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (h("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: floatingMenuContainerClass({
|
|
261
261
|
hasFooter: this.enableFooter && !this._footerHidden,
|
|
262
262
|
active: !!this.selectedRows?.length,
|
|
263
263
|
shown: this._floatingMenuShown,
|
|
@@ -267,7 +267,7 @@ export class Table {
|
|
|
267
267
|
!!a.action &&
|
|
268
268
|
a.type === 'single'
|
|
269
269
|
? a.action(this.selectedRows[0], false)
|
|
270
|
-
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '
|
|
270
|
+
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '28611ac3b55ea811d39a349edf7698b19b48b264', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, loading: this.footerLoading, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, tableHeaderHasAction: this.enableHeader &&
|
|
271
271
|
this.enableAction &&
|
|
272
272
|
this.actionButtonEnabled, total: this.total, onHiddenChange: ({ detail }) => (this._footerHidden = detail), onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this.pageSizeChange.emit(detail) })))));
|
|
273
273
|
}
|
|
@@ -278,13 +278,19 @@ export class Table {
|
|
|
278
278
|
this._generateColumns();
|
|
279
279
|
}
|
|
280
280
|
keyDown({ ctrlKey, metaKey }) {
|
|
281
|
-
|
|
281
|
+
const apple = isApple();
|
|
282
|
+
const isMeta = metaKey && apple;
|
|
283
|
+
const isCtrl = ctrlKey && !apple;
|
|
284
|
+
if ((!isMeta && !isCtrl) || this._ctrlDown === true) {
|
|
282
285
|
return;
|
|
283
286
|
}
|
|
284
287
|
this._ctrlDown = true;
|
|
285
288
|
}
|
|
286
|
-
keyUp({
|
|
287
|
-
|
|
289
|
+
keyUp({ code }) {
|
|
290
|
+
const apple = isApple();
|
|
291
|
+
const isMeta = ['MetaLeft', 'MetaRight'].includes(code) && apple;
|
|
292
|
+
const isCtrl = ['ControlLeft', 'ControlRight'].includes(code) && !apple;
|
|
293
|
+
if ((!isMeta && !isCtrl) || this._ctrlDown === false) {
|
|
288
294
|
return;
|
|
289
295
|
}
|
|
290
296
|
this._ctrlDown = false;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export const getOS = () => {
|
|
2
|
+
const userAgent = navigator.userAgent;
|
|
3
|
+
const platform =
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
|
+
navigator?.userAgentData?.platform || navigator.platform;
|
|
6
|
+
const macosPlatforms = ['macintosh', 'macintel', 'macppc', 'mac68k', 'macos'];
|
|
7
|
+
const windowsPlatforms = ['win32', 'win64', 'windows', 'wince'];
|
|
8
|
+
const iosPlatforms = ['iphone', 'ipad', 'ipod'];
|
|
9
|
+
if (macosPlatforms.includes(platform.toLowerCase())) {
|
|
10
|
+
return 'MacOS';
|
|
11
|
+
}
|
|
12
|
+
if (iosPlatforms.includes(platform.toLowerCase())) {
|
|
13
|
+
return 'iOS';
|
|
14
|
+
}
|
|
15
|
+
if (windowsPlatforms.includes(platform.toLowerCase())) {
|
|
16
|
+
return 'Windows';
|
|
17
|
+
}
|
|
18
|
+
if (/Android/.test(userAgent)) {
|
|
19
|
+
return 'Android';
|
|
20
|
+
}
|
|
21
|
+
if (/Linux/.test(platform)) {
|
|
22
|
+
return 'Linux';
|
|
23
|
+
}
|
|
24
|
+
return 'Unkown';
|
|
25
|
+
};
|
|
26
|
+
export const isApple = () => {
|
|
27
|
+
const os = getOS();
|
|
28
|
+
return os === 'MacOS' || os === 'iOS';
|
|
29
|
+
};
|
|
30
|
+
export const isMac = () => getOS() === 'MacOS';
|
|
31
|
+
export const isIOS = () => getOS() === 'iOS';
|
|
32
|
+
export const isWindows = () => getOS() === 'Windows';
|
|
33
|
+
export const isLinux = () => getOS() === 'Linux';
|
|
34
|
+
export const isAndroid = () => getOS() === 'Android';
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-CySg37XO.js";import{s as t}from"./p-CWO2YJCh.js";export{g as getScreenSize,b as getScreenSizeInPixels,a as getScreenSizeInRem,d as isBetweenScreens,i as isBiggerThanScreen,j as isDesktop,f as isMobile,c as isSmallerThanScreen,h as isTablet,e as isTouchDevice}from"./p-CWO2YJCh.js";export{i as initTheme,o as onStateChange,s as state,a as stateLocaleOptions,b as stateThemeOptions}from"./p-BBiGYjKk.js";export{c as childOf,a as childOfComposed}from"./p-TyZ7uPES.js";export{c as categorized,i as icons}from"./p-C8Ju8eG_.js";export{f as formatTranslation,g as getLocaleComponentStrings}from"./p-CwQG70_4.js";export{f as floatingMenuContainerClass,g as getTableCellColumnClasses,a as getTableCellSizes,o as objectGetByPath}from"./p-WEZng7dj.js";export{i as isMobileBrowser}from"./p-DPc49L2n.js";export{c as cn}from"./p-xs4N_Y-0.js";export{P as PAGINATION_DEFAULT_PAGE_SIZE,a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS,S as SELECT_DEFAULT_MAX_DISPLAYED_ITEMS,T as TABLE_COLUMN_SIZES}from"./p-CEaB2BT0.js";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l,m,p,v,u,x,F={},w={};function E(){return m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r}});const a=t((l||(l=1,function(e){function a(e,a){return{handler:e,config:a}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}}),a.withOptions=function(e,a=()=>({})){const t=function(t){return{__options:t,handler:e(t),config:a(t)}};return t.__isOptionsFunction=!0,t.__pluginFunction=e,t.__configFunction=a,t};const t=a}(w)),w));function t(e){return e&&e.__esModule?e:{default:e}}const r=a.default}(F)),F}function C(){if(v)return p;v=1;let e=E();return p=(e.__esModule?e:{default:e}).default}var B,D,O=function(){if(x)return u;x=1;const e=C(),a={position:"relative",paddingBottom:"calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%)"},t={position:"absolute",height:"100%",width:"100%",top:"0",right:"0",bottom:"0",left:"0"},r={".aspect-none":{position:"static",paddingBottom:"0"},".aspect-none > *":{position:"static",height:"auto",width:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto"}},s=e((function({addComponents:e,matchComponents:s,theme:n,variants:o,e:i}){const l=n("aspectRatio");if(s)return s({"aspect-w":e=>[{...a,"--tw-aspect-w":e},{"> *":t}],"aspect-h":e=>({"--tw-aspect-h":e})},{values:l}),void e(r);const f=Object.entries(l).map((([e,a])=>"."+i("aspect-w-"+e))).join(",\n"),m=Object.entries(l).map((([e,a])=>`.${i("aspect-w-"+e)} > *`)).join(",\n");e([{[f]:a,[m]:t},r,Object.entries(l).map((([e,a])=>({["."+i("aspect-w-"+e)]:{"--tw-aspect-w":a}}))),Object.entries(l).map((([e,a])=>({["."+i("aspect-h-"+e)]:{"--tw-aspect-h":a}})))],o("aspectRatio"))}),{theme:{aspectRatio:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"}},variants:{aspectRatio:["responsive"]}});return u=s}(),y=n(O),A=n(function(){if(D)return B;D=1;const e=C()((function({addUtilities:e}){e({".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}},["responsive"])}));return B=e}()),I=n(C());const Y=({addVariant:e})=>{e("has-hover","@media (hover: hover)"),e("no-hover","@media (hover: none)"),e("hover-never","@media (hover: hover) { &:hover }"),e("group-hover-never","@media (hover: hover) { :merge(.group):hover & }"),e("peer-hover-never","@media (hover: hover) { :merge(.peer):hover & }"),e("hover-always",["@media (hover: hover) { &:hover }","@media (hover: none)"]),e("group-hover-always",["@media (hover: hover) { :merge(.group):hover & }","@media (hover: none)"]),e("peer-hover-always",["@media (hover: hover) { :merge(.peer):hover & }","@media (hover: none)"])},_=({addUtilities:e})=>{e({".m-safe":{marginTop:"env(safe-area-inset-top)",marginRight:"env(safe-area-inset-right)",marginBottom:"env(safe-area-inset-bottom)",marginLeft:"env(safe-area-inset-left)"},".mx-safe":{marginRight:"env(safe-area-inset-right)",marginLeft:"env(safe-area-inset-left)"},".my-safe":{marginTop:"env(safe-area-inset-top)",marginBottom:"env(safe-area-inset-bottom)"},".my-safe-2":{marginTop:"calc(env(safe-area-inset-top)+0.5rem)",marginBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".mt-safe":{marginTop:"env(safe-area-inset-top)"},".mr-safe":{marginRight:"env(safe-area-inset-right)"},".mb-safe":{marginBottom:"env(safe-area-inset-bottom)"},".ml-safe":{marginLeft:"env(safe-area-inset-left)"},".p-safe":{paddingTop:"env(safe-area-inset-top)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",paddingLeft:"env(safe-area-inset-left)"},".px-safe":{paddingRight:"env(safe-area-inset-right)",paddingLeft:"env(safe-area-inset-left)"},".py-safe":{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)"},".py-safe-2":{paddingTop:"calc(env(safe-area-inset-top)+0.5rem)",paddingBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".pt-safe":{paddingTop:"env(safe-area-inset-top)"},".pr-safe":{paddingRight:"env(safe-area-inset-right)"},".pb-safe":{paddingBottom:"env(safe-area-inset-bottom)"},".pl-safe":{paddingLeft:"env(safe-area-inset-left)"},".min-h-screen":{minHeight:"100vh"},".min-h-screen-safe":{minHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".max-h-screen":{maxHeight:"100vh"},".max-h-screen-safe":{maxHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".h-screen-safe":{height:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".min-w-screen":{minWidth:"100vw"},".min-w-screen-safe":{minWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".max-w-screen":{maxWidth:"100vw"},".max-w-screen-safe":{maxWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".w-screen-safe":{width:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"}})};var L={animation:{"fade-in":"forwards fadeIn .2s ease","fade-out":"forwards fadeOut .2s ease","slide-in-right":"forwards slideInRight .5s ease","slide-in-left":"forwards slideInLeft .5s ease","slide-in-top":"forwards slideInTop .25 ease","slide-in-bottom":"forwards slideInBottom .5s ease","slide-in-right-small":"forwards slideInRightSmall .5s ease","slide-in-left-small":"forwards slideInLeftSmall .5s ease","slide-in-top-small":"forwards slideInTopSmall .5s ease","slide-in-bottom-small":"forwards slideInBottomSmall .5s ease","slide-out-right":"forwards slideOutRight .2s ease","slide-out-left":"forwards slideOutLeft .2s ease","slide-out-top":"forwards slideOutTop .2s ease","slide-out-bottom":"forwards slideOutBottom .5s ease","slide-out-top-small":"forwards slideOutTopSmall .5s ease","slide-out-bottom-small":"forwards slideOutBottomSmall .5s ease","floating-menu-container-out":"forwards floatingMenuContainerOut .5s ease","floating-menu-container-in":"forwards floatingMenuContainerIn .5s ease",wave:"wave .5s ease-in-out -0.5s infinite alternate forwards"},keyframes:{fadeIn:{"0%":{opacity:"0"},"100%":{opacity:"100"}},fadeOut:{"0%":{opacity:"100"},"100%":{opacity:"0"}},slideInRight:{"0%":{transform:"translateX(100%)"},"100%":{transform:"translateX(0)"}},slideInLeft:{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(0)"}},slideInTop:{"0%":{transform:"translateY(-100%)"},"100%":{transform:"translateY(0)"}},slideInBottom:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0)"}},slideInRightSmall:{"0%":{transform:"translateX(20%)"},"100%":{transform:"translateX(0)"}},slideInLeftSmall:{"0%":{transform:"translateX(-20%)"},"100%":{transform:"translateX(0)"}},slideInTopSmall:{"0%":{transform:"translateY(-20%)"},"100%":{transform:"translateY(0)"}},slideInBottomSmall:{"0%":{transform:"translateY(20%)"},"100%":{transform:"translateY(0)"}},slideOutRight:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(100%)"}},slideOutLeft:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(-100%)"}},slideOutTop:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-100%)"}},slideOutBottom:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(100%)"}},slideOutTopSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-20%)"}},slideOutBottomSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(20%)"}},floatingMenuContainerOut:{"0%":{display:"flex",transform:"translateY(0)",opacity:"100"},"99%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"none",transform:"translateY(100%)",opacity:"0"}},floatingMenuContainerIn:{"0%":{display:"none",transform:"translateY(100%)",opacity:"0"},"1%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"flex",transform:"translateY(0)",opacity:"100"}},wave:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(-15deg)"}}}};const R={};for(let e=1;e<360;e++)R[""+e]=e+"deg",R["-"+e]=`-${e}deg`;var k={1:["0 1px 1px rgba(0, 2, 2, 0.08)"],2:["0 1px 1px rgba(0, 2, 2, 0.04)","0 2px 2px rgba(0, 2, 2, 0.04)","0 4px 4px rgba(0, 2, 2, 0.04)"],3:["0 1px 1px rgba(0, 2, 2, 0.08)","0 2px 2px rgba(0, 2, 2, 0.08)","0 4px 4px rgba(0, 2, 2, 0.08)"],modal:["0 0 0 1px rgba(0, 2, 2, 0.10)","0 1px 1px 0 rgba(0, 2, 2, 0.20)","0 2px 2px 0 rgba(0, 2, 2, 0.08)","0 4px 4px 0 rgba(0, 2, 2, 0.08)","0 8px 8px 0 rgba(0, 2, 2, 0.08)"],"supportive-lilac":"0px 1px 1px rgba(189, 140, 255, 0.20)","storm-10%":"0px 1px 0px rgba(3, 42, 36, 0.1)","primary-button":"0px 1px 1px 0px rgba(24, 30 41, 0.08)","off-white-600":"0px 0px 0px 1px #ECEAE5",inherit:"inherit",transparent:"transparent"},X={fontSize:{xxs:["0.5rem","1rem"],"3xl":["2rem","2.5rem"],"4xl":["2.5rem","3rem"]},lineHeight:{xs:"1rem",sm:"1.5rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.5rem","4xl":"3rem"}};const M=I((e=>{_(e),Y(e)}),{theme:{colors:{inherit:"inherit",transparent:"transparent",current:"currentColor",black:"#000",white:{800:"#E4E3E3",700:"#F2F2F2",600:"#FAFAFA",500:"#FFFFFF",DEFAULT:"#FFFFFF"},"negative-red":{800:"#8D1010",700:"#931010",500:"#E61E1E",100:"#FFDDDD",50:"#FDEDED",alternative:"#FF5C5C"},"positive-green":{800:"#2F6407",500:"#5CC30E",100:"#D5FBC7",50:"#EAFDE3",alternative:"#62FF5C"},amber:{800:"#944D0B",500:"#E19F23",100:"#FFF6C2",50:"#FFFAE0",alternative:"#FFE75C"},indigo:{900:"#1349B6",800:"#1B58D2",700:"#2F6FF0",600:"#528AFA",500:"#8EB3FB",400:"#A5C2FC",300:"#BBD1FD",200:"#C7D9FD",100:"#E3ECFE",50:"#F1F6FF"},storm:{800:"#020815",700:"#080F1C",600:"#0F1622",500:"#181E29",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},hurricane:{900:"#020815",800:"#181E29",700:"#232934",600:"#2E343E",500:"#363C46",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},"off-white":{800:"#D5D0C3",700:"#DEDBD5",600:"#ECEAE5",500:"#F3F1ED",400:"#F5F4F1",300:"#F8F7F4",200:"#FAF9F8",100:"#FDFCFB",50:"#FEFEFD"}},boxShadow:k,dropShadow:k,extend:{animation:L.animation,keyframes:L.keyframes,fontFamily:{geist:["Geist","serif"],ambit:["Ambit","sans-serif"]},scale:{flip:"-1"},rotate:R,fontSize:X.fontSize,lineHeight:X.lineHeight,zIndex:{"floating-menu":"190",dropdown:"200","navbar-topbar":"280","navbar-backdrop":"290",navbar:"300",tooltip:"400",datepicker:"401",backdrop:"490",drawer:"500","drawer-header":"501",modal:"600",toast:"700"},screens:t,width:{unset:"unset",inherit:"inherit","content-mobile":"100%","content-1280":"62rem","content-1440":"71rem","content-1536":"77rem","content-1680":"83rem","sidebar-desktop-login":"100%","content-desktop-login":"21rem"},height:{unset:"unset",inherit:"inherit"},spacing:{"content-mobile-x":"1rem","content-mobile-y":"1.5rem","content-desktop-x":"2rem","content-desktop-y":"2rem",18:"4.5rem"},aspectRatio:{branding:"23/24"}}},plugins:[y,A,_,Y]}),z=e=>e.replaceAll(/[A-Z]/g,(e=>"_"+e.toLowerCase())),G=e=>e.toLowerCase().replaceAll(/([_-][a-z])/g,(e=>e.toUpperCase().replace("-","").replace("_",""))),N=e=>e.replaceAll("-"," "),U=e=>e.replaceAll(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));export{z as camelToSnakeCase,N as kebabToSpaces,M as paperless,G as snakeToCamelCase,U as titleCase}
|
|
1
|
+
export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-CySg37XO.js";import{s as t}from"./p-CWO2YJCh.js";export{g as getScreenSize,b as getScreenSizeInPixels,a as getScreenSizeInRem,d as isBetweenScreens,i as isBiggerThanScreen,j as isDesktop,f as isMobile,c as isSmallerThanScreen,h as isTablet,e as isTouchDevice}from"./p-CWO2YJCh.js";export{i as initTheme,o as onStateChange,s as state,a as stateLocaleOptions,b as stateThemeOptions}from"./p-BBiGYjKk.js";export{c as childOf,a as childOfComposed}from"./p-TyZ7uPES.js";export{c as categorized,i as icons}from"./p-C8Ju8eG_.js";export{f as formatTranslation,g as getLocaleComponentStrings}from"./p-CwQG70_4.js";export{f as floatingMenuContainerClass,g as getTableCellColumnClasses,a as getTableCellSizes,o as objectGetByPath}from"./p-WEZng7dj.js";export{i as isMobileBrowser}from"./p-DPc49L2n.js";export{g as getOS,e as isAndroid,i as isApple,b as isIOS,d as isLinux,a as isMac,c as isWindows}from"./p-CzUyWlXA.js";export{c as cn}from"./p-xs4N_Y-0.js";export{P as PAGINATION_DEFAULT_PAGE_SIZE,a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS,S as SELECT_DEFAULT_MAX_DISPLAYED_ITEMS,T as TABLE_COLUMN_SIZES}from"./p-CEaB2BT0.js";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l,m,p,v,u,x,F={},w={};function E(){return m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});const a=t((l||(l=1,function(e){function a(e,a){return{handler:e,config:a}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t}}),a.withOptions=function(e,a=()=>({})){const t=function(t){return{__options:t,handler:e(t),config:a(t)}};return t.__isOptionsFunction=!0,t.__pluginFunction=e,t.__configFunction=a,t};const t=a}(w)),w));function t(e){return e&&e.__esModule?e:{default:e}}const s=a.default}(F)),F}function C(){if(v)return p;v=1;let e=E();return p=(e.__esModule?e:{default:e}).default}var O,A,B=function(){if(x)return u;x=1;const e=C(),a={position:"relative",paddingBottom:"calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%)"},t={position:"absolute",height:"100%",width:"100%",top:"0",right:"0",bottom:"0",left:"0"},s={".aspect-none":{position:"static",paddingBottom:"0"},".aspect-none > *":{position:"static",height:"auto",width:"auto",top:"auto",right:"auto",bottom:"auto",left:"auto"}},r=e((function({addComponents:e,matchComponents:r,theme:n,variants:o,e:i}){const l=n("aspectRatio");if(r)return r({"aspect-w":e=>[{...a,"--tw-aspect-w":e},{"> *":t}],"aspect-h":e=>({"--tw-aspect-h":e})},{values:l}),void e(s);const f=Object.entries(l).map((([e,a])=>"."+i("aspect-w-"+e))).join(",\n"),m=Object.entries(l).map((([e,a])=>`.${i("aspect-w-"+e)} > *`)).join(",\n");e([{[f]:a,[m]:t},s,Object.entries(l).map((([e,a])=>({["."+i("aspect-w-"+e)]:{"--tw-aspect-w":a}}))),Object.entries(l).map((([e,a])=>({["."+i("aspect-h-"+e)]:{"--tw-aspect-h":a}})))],o("aspectRatio"))}),{theme:{aspectRatio:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",14:"14",15:"15",16:"16"}},variants:{aspectRatio:["responsive"]}});return u=r}(),D=n(B),y=n(function(){if(A)return O;A=1;const e=C()((function({addUtilities:e}){e({".scrollbar-hide":{"-ms-overflow-style":"none","scrollbar-width":"none","&::-webkit-scrollbar":{display:"none"}},".scrollbar-default":{"-ms-overflow-style":"auto","scrollbar-width":"auto","&::-webkit-scrollbar":{display:"block"}}},["responsive"])}));return O=e}()),I=n(C());const Y=({addVariant:e})=>{e("has-hover","@media (hover: hover)"),e("no-hover","@media (hover: none)"),e("hover-never","@media (hover: hover) { &:hover }"),e("group-hover-never","@media (hover: hover) { :merge(.group):hover & }"),e("peer-hover-never","@media (hover: hover) { :merge(.peer):hover & }"),e("hover-always",["@media (hover: hover) { &:hover }","@media (hover: none)"]),e("group-hover-always",["@media (hover: hover) { :merge(.group):hover & }","@media (hover: none)"]),e("peer-hover-always",["@media (hover: hover) { :merge(.peer):hover & }","@media (hover: none)"])},_=({addUtilities:e})=>{e({".m-safe":{marginTop:"env(safe-area-inset-top)",marginRight:"env(safe-area-inset-right)",marginBottom:"env(safe-area-inset-bottom)",marginLeft:"env(safe-area-inset-left)"},".mx-safe":{marginRight:"env(safe-area-inset-right)",marginLeft:"env(safe-area-inset-left)"},".my-safe":{marginTop:"env(safe-area-inset-top)",marginBottom:"env(safe-area-inset-bottom)"},".my-safe-2":{marginTop:"calc(env(safe-area-inset-top)+0.5rem)",marginBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".mt-safe":{marginTop:"env(safe-area-inset-top)"},".mr-safe":{marginRight:"env(safe-area-inset-right)"},".mb-safe":{marginBottom:"env(safe-area-inset-bottom)"},".ml-safe":{marginLeft:"env(safe-area-inset-left)"},".p-safe":{paddingTop:"env(safe-area-inset-top)",paddingRight:"env(safe-area-inset-right)",paddingBottom:"env(safe-area-inset-bottom)",paddingLeft:"env(safe-area-inset-left)"},".px-safe":{paddingRight:"env(safe-area-inset-right)",paddingLeft:"env(safe-area-inset-left)"},".py-safe":{paddingTop:"env(safe-area-inset-top)",paddingBottom:"env(safe-area-inset-bottom)"},".py-safe-2":{paddingTop:"calc(env(safe-area-inset-top)+0.5rem)",paddingBottom:"calc(env(safe-area-inset-bottom)+0.5rem)"},".pt-safe":{paddingTop:"env(safe-area-inset-top)"},".pr-safe":{paddingRight:"env(safe-area-inset-right)"},".pb-safe":{paddingBottom:"env(safe-area-inset-bottom)"},".pl-safe":{paddingLeft:"env(safe-area-inset-left)"},".min-h-screen":{minHeight:"100vh"},".min-h-screen-safe":{minHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".max-h-screen":{maxHeight:"100vh"},".max-h-screen-safe":{maxHeight:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".h-screen-safe":{height:"calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))"},".min-w-screen":{minWidth:"100vw"},".min-w-screen-safe":{minWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".max-w-screen":{maxWidth:"100vw"},".max-w-screen-safe":{maxWidth:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"},".w-screen-safe":{width:"calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))"}})};var L={animation:{"fade-in":"forwards fadeIn .2s ease","fade-out":"forwards fadeOut .2s ease","slide-in-right":"forwards slideInRight .5s ease","slide-in-left":"forwards slideInLeft .5s ease","slide-in-top":"forwards slideInTop .25 ease","slide-in-bottom":"forwards slideInBottom .5s ease","slide-in-right-small":"forwards slideInRightSmall .5s ease","slide-in-left-small":"forwards slideInLeftSmall .5s ease","slide-in-top-small":"forwards slideInTopSmall .5s ease","slide-in-bottom-small":"forwards slideInBottomSmall .5s ease","slide-out-right":"forwards slideOutRight .2s ease","slide-out-left":"forwards slideOutLeft .2s ease","slide-out-top":"forwards slideOutTop .2s ease","slide-out-bottom":"forwards slideOutBottom .5s ease","slide-out-top-small":"forwards slideOutTopSmall .5s ease","slide-out-bottom-small":"forwards slideOutBottomSmall .5s ease","floating-menu-container-out":"forwards floatingMenuContainerOut .5s ease","floating-menu-container-in":"forwards floatingMenuContainerIn .5s ease",wave:"wave .5s ease-in-out -0.5s infinite alternate forwards"},keyframes:{fadeIn:{"0%":{opacity:"0"},"100%":{opacity:"100"}},fadeOut:{"0%":{opacity:"100"},"100%":{opacity:"0"}},slideInRight:{"0%":{transform:"translateX(100%)"},"100%":{transform:"translateX(0)"}},slideInLeft:{"0%":{transform:"translateX(-100%)"},"100%":{transform:"translateX(0)"}},slideInTop:{"0%":{transform:"translateY(-100%)"},"100%":{transform:"translateY(0)"}},slideInBottom:{"0%":{transform:"translateY(100%)"},"100%":{transform:"translateY(0)"}},slideInRightSmall:{"0%":{transform:"translateX(20%)"},"100%":{transform:"translateX(0)"}},slideInLeftSmall:{"0%":{transform:"translateX(-20%)"},"100%":{transform:"translateX(0)"}},slideInTopSmall:{"0%":{transform:"translateY(-20%)"},"100%":{transform:"translateY(0)"}},slideInBottomSmall:{"0%":{transform:"translateY(20%)"},"100%":{transform:"translateY(0)"}},slideOutRight:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(100%)"}},slideOutLeft:{"0%":{transform:"translateX(0)"},"100%":{transform:"translateX(-100%)"}},slideOutTop:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-100%)"}},slideOutBottom:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(100%)"}},slideOutTopSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(-20%)"}},slideOutBottomSmall:{"0%":{transform:"translateY(0)"},"100%":{transform:"translateY(20%)"}},floatingMenuContainerOut:{"0%":{display:"flex",transform:"translateY(0)",opacity:"100"},"99%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"none",transform:"translateY(100%)",opacity:"0"}},floatingMenuContainerIn:{"0%":{display:"none",transform:"translateY(100%)",opacity:"0"},"1%":{display:"flex",transform:"translateY(100%)",opacity:"0"},"100%":{display:"flex",transform:"translateY(0)",opacity:"100"}},wave:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(-15deg)"}}}};const R={};for(let e=1;e<360;e++)R[""+e]=e+"deg",R["-"+e]=`-${e}deg`;var k={1:["0 1px 1px rgba(0, 2, 2, 0.08)"],2:["0 1px 1px rgba(0, 2, 2, 0.04)","0 2px 2px rgba(0, 2, 2, 0.04)","0 4px 4px rgba(0, 2, 2, 0.04)"],3:["0 1px 1px rgba(0, 2, 2, 0.08)","0 2px 2px rgba(0, 2, 2, 0.08)","0 4px 4px rgba(0, 2, 2, 0.08)"],modal:["0 0 0 1px rgba(0, 2, 2, 0.10)","0 1px 1px 0 rgba(0, 2, 2, 0.20)","0 2px 2px 0 rgba(0, 2, 2, 0.08)","0 4px 4px 0 rgba(0, 2, 2, 0.08)","0 8px 8px 0 rgba(0, 2, 2, 0.08)"],"supportive-lilac":"0px 1px 1px rgba(189, 140, 255, 0.20)","storm-10%":"0px 1px 0px rgba(3, 42, 36, 0.1)","primary-button":"0px 1px 1px 0px rgba(24, 30 41, 0.08)","off-white-600":"0px 0px 0px 1px #ECEAE5",inherit:"inherit",transparent:"transparent"},X={fontSize:{xxs:["0.5rem","1rem"],"3xl":["2rem","2.5rem"],"4xl":["2.5rem","3rem"]},lineHeight:{xs:"1rem",sm:"1.5rem",base:"1.5rem",lg:"1.75rem",xl:"1.75rem","2xl":"2rem","3xl":"2.5rem","4xl":"3rem"}};const M=I((e=>{_(e),Y(e)}),{theme:{colors:{inherit:"inherit",transparent:"transparent",current:"currentColor",black:"#000",white:{800:"#E4E3E3",700:"#F2F2F2",600:"#FAFAFA",500:"#FFFFFF",DEFAULT:"#FFFFFF"},"negative-red":{800:"#8D1010",700:"#931010",500:"#E61E1E",100:"#FFDDDD",50:"#FDEDED",alternative:"#FF5C5C"},"positive-green":{800:"#2F6407",500:"#5CC30E",100:"#D5FBC7",50:"#EAFDE3",alternative:"#62FF5C"},amber:{800:"#944D0B",500:"#E19F23",100:"#FFF6C2",50:"#FFFAE0",alternative:"#FFE75C"},indigo:{900:"#1349B6",800:"#1B58D2",700:"#2F6FF0",600:"#528AFA",500:"#8EB3FB",400:"#A5C2FC",300:"#BBD1FD",200:"#C7D9FD",100:"#E3ECFE",50:"#F1F6FF"},storm:{800:"#020815",700:"#080F1C",600:"#0F1622",500:"#181E29",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},hurricane:{900:"#020815",800:"#181E29",700:"#232934",600:"#2E343E",500:"#363C46",400:"#464B54",300:"#74787F",200:"#A3A5A9",100:"#D1D2D4",50:"#E8E8EA"},"off-white":{800:"#D5D0C3",700:"#DEDBD5",600:"#ECEAE5",500:"#F3F1ED",400:"#F5F4F1",300:"#F8F7F4",200:"#FAF9F8",100:"#FDFCFB",50:"#FEFEFD"}},boxShadow:k,dropShadow:k,extend:{animation:L.animation,keyframes:L.keyframes,fontFamily:{geist:["Geist","serif"],ambit:["Ambit","sans-serif"]},scale:{flip:"-1"},rotate:R,fontSize:X.fontSize,lineHeight:X.lineHeight,zIndex:{"floating-menu":"190",dropdown:"200","navbar-topbar":"280","navbar-backdrop":"290",navbar:"300",tooltip:"400",datepicker:"401",backdrop:"490",drawer:"500","drawer-header":"501",modal:"600",toast:"700"},screens:t,width:{unset:"unset",inherit:"inherit","content-mobile":"100%","content-1280":"62rem","content-1440":"71rem","content-1536":"77rem","content-1680":"83rem","sidebar-desktop-login":"100%","content-desktop-login":"21rem"},height:{unset:"unset",inherit:"inherit"},spacing:{"content-mobile-x":"1rem","content-mobile-y":"1.5rem","content-desktop-x":"2rem","content-desktop-y":"2rem",18:"4.5rem"},aspectRatio:{branding:"23/24"}}},plugins:[D,y,_,Y]}),z=e=>e.replaceAll(/[A-Z]/g,(e=>"_"+e.toLowerCase())),G=e=>e.toLowerCase().replaceAll(/([_-][a-z])/g,(e=>e.toUpperCase().replace("-","").replace("_",""))),W=e=>e.replaceAll("-"," "),N=e=>e.replaceAll(/\w\S*/g,(e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()));export{z as camelToSnakeCase,W as kebabToSpaces,M as paperless,G as snakeToCamelCase,N as titleCase}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as
|
|
1
|
+
import{t,p as e,H as r,h as a}from"./p-CySg37XO.js";import{c as i}from"./p-CBWjHURv.js";import{T as o}from"./p-Au2WuEGF.js";const n=i(["inline-flex items-center justify-center","h-4 min-w-4 px-1","rounded-full","\n bg-storm-100\n dark:bg-white/20\n ","\n text-storm-500\n dark:text-white\n ","text-center text-xs font-semibold tracking-tight"]),s=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return a(o,{key:"d32d46fd45d4a65130ab93340598481f8e874f4a"},a("div",{key:"c16ee643b1b498ff261f2e828e745765b0c3906b",class:n()},a("slot",{key:"aa2950ffaabe83dcf657728f6f5b4196e7ad13f9"})))}static get style(){return"*{box-sizing:border-box}.static{position:static}.inline-flex{display:inline-flex}.h-4{height:1rem}.min-w-4{min-width:1rem}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-full{border-radius:9999px}.bg-storm-100{--tw-bg-opacity:1;background-color:rgb(209 210 212/var(--tw-bg-opacity,1))}.px-1{padding-left:.25rem;padding-right:.25rem}.text-center{text-align:center}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.tracking-tight{letter-spacing:-.025em}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-white\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-white\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[257,"p-badge"]);function d(){"undefined"!=typeof customElements&&["p-badge"].forEach((e=>{"p-badge"===e&&(customElements.get(t(e))||customElements.define(t(e),s))}))}d();export{s as B,d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as o,h as r}from"./p-CySg37XO.js";import{c as a}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{a as s}from"./p-C5CTp9IA.js";import{d as c}from"./p-
|
|
1
|
+
import{t,p as e,H as o,h as r}from"./p-CySg37XO.js";import{c as a}from"./p-CBWjHURv.js";import{T as i}from"./p-Au2WuEGF.js";import{a as s}from"./p-C5CTp9IA.js";import{d as c}from"./p-BOJwTddb.js";import{d as n}from"./p-D8faiybE.js";const d=a(["group","flex h-8 items-center gap-2 px-2","text-sm","rounded-lg"],{variants:{hover:{false:null,true:null},disabled:{false:null,true:"cursor-not-allowed opacity-60"}},compoundVariants:[{disabled:!0,class:"cursor-not-allowed text-storm-50"},{disabled:!1,class:"text-storm-100"},{disabled:!1,hover:!0,class:["\n cursor-pointer\n hover:bg-storm-800\n active:bg-storm-700 active:text-storm-100/60\n ","\n dark:hover:bg-hurricane-500\n dark:active:bg-hurricane-600/50\n "]}]}),l=a([],{variants:{hover:{false:null,true:null},disabled:{false:null,true:null}},compoundVariants:[{disabled:!1,hover:!0,class:"\n group-hover:text-storm-100\n group-active:text-storm-100/60\n "}]}),p=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost()}hover=!0;disabled=!1;loading=!1;icon;iconPosition="end";iconFlip;iconRotate;render(){return r(i,{key:"63c7d816912054a3f5a18aa8e81f5cda7b66c0c7",class:d({hover:s(this.hover)&&!s(this.loading),disabled:s(this.disabled)})},this._getIcon(),r("p",{key:"03357ad173ba9040116dabc025b1cfe0d791b3bb",class:"\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n "},r("slot",{key:"417830e61a02c89ec9c45eed10b976a9f8a73c04"})))}_getIcon(){if(this.icon||this.loading)return this.loading?r("p-loader",{color:"white"}):r("p-icon",{class:l({hover:s(this.hover),disabled:s(this.disabled)}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.icon})}static get style(){return"*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.min-w-0{min-width:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-lg{border-radius:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-50{--tw-text-opacity:1;color:rgb(232 232 234/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.empty\\:hidden:empty{display:none}.hover\\:bg-storm-800:hover{--tw-bg-opacity:1;background-color:rgb(2 8 21/var(--tw-bg-opacity,1))}.active\\:bg-storm-700:active{--tw-bg-opacity:1;background-color:rgb(8 15 28/var(--tw-bg-opacity,1))}.active\\:text-storm-100\\/60:active{color:hsla(220,3%,83%,.6)}.group:hover .group-hover\\:text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.group:active .group-active\\:text-storm-100\\/60{color:hsla(220,3%,83%,.6)}.dark\\:hover\\:bg-hurricane-500:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(46,52,62,.5)}.dark\\:hover\\:bg-hurricane-500:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(46,52,62,.5)}"}},[772,"p-floating-menu-item",{hover:[4],disabled:[4],loading:[4],icon:[1],iconPosition:[1,"icon-position"],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"]}]);function h(){"undefined"!=typeof customElements&&["p-floating-menu-item","p-icon","p-loader"].forEach((e=>{switch(e){case"p-floating-menu-item":customElements.get(t(e))||customElements.define(t(e),p);break;case"p-icon":customElements.get(t(e))||c();break;case"p-loader":customElements.get(t(e))||n()}}))}h();export{p as F,h as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as r,p as e,H as t,h as a}from"./p-CySg37XO.js";import{T as o}from"./p-Au2WuEGF.js";const d=e(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}render(){return a(o,{key:"
|
|
1
|
+
import{t as r,p as e,H as t,h as a}from"./p-CySg37XO.js";import{T as o}from"./p-Au2WuEGF.js";const d=e(class extends t{constructor(r){super(),!1!==r&&this.__registerHost(),this.__attachShadow()}render(){return a(o,{key:"7b957b3f387556c3488dfe71432ad4ca2f1717e5"},a("div",{key:"f7a719aade5bb7e42fec912c04a6c00ef95a1b29",class:"\n flex rounded-2xl border border-solid border-off-white-700\n bg-off-white-300 p-1\n dark:border-hurricane-400 dark:bg-hurricane-600\n "},a("slot",{key:"92898b2ac3d6f6962a06dabbed0105e78e7bce8f"})))}static get style(){return"*{box-sizing:border-box}.static{position:static}.flex{display:flex}.rounded-2xl{border-radius:1rem}.border{border-width:1px}.border-solid{border-style:solid}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-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\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}"}},[257,"p-segment-container"]);function b(){"undefined"!=typeof customElements&&["p-segment-container"].forEach((e=>{"p-segment-container"===e&&(customElements.get(r(e))||customElements.define(r(e),d))}))}b();export{d as S,b as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t,p as e,H as r,h as i,d as s}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";const a=n(["\n flex aspect-branding items-center justify-center rounded-full font-ambit\n font-bold leading-none ring-1 ring-inset ring-storm-500/20\n "],{variants:{variant:{secondary:"bg-off-white-500 text-storm-300",primary:"bg-indigo-500 text-storm-500"},size:{xs:"h-4 text-xxs",sm:"h-6 text-xs",base:"h-8 text-base",lg:"h-10 text-xl",xl:"h-14 text-xl","2xl":"h-20 text-4xl","3xl":"h-[6.5rem] text-[3.5rem] leading-[4rem]","4xl":"h-[8.5rem] text-[4.5rem] leading-[5rem]"}}}),o=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost()}variant="secondary";size="base";defaultImage;src;letters;_src;_failed=!1;onSrchChange(t){this._failed=!1,this._src=t}componentWillLoad(){this.onSrchChange(this.src),this._src||this._setFailed()}render(){return i(s,{key:"
|
|
1
|
+
import{t,p as e,H as r,h as i,d as s}from"./p-CySg37XO.js";import{c as n}from"./p-CBWjHURv.js";const a=n(["\n flex aspect-branding items-center justify-center rounded-full font-ambit\n font-bold leading-none ring-1 ring-inset ring-storm-500/20\n "],{variants:{variant:{secondary:"bg-off-white-500 text-storm-300",primary:"bg-indigo-500 text-storm-500"},size:{xs:"h-4 text-xxs",sm:"h-6 text-xs",base:"h-8 text-base",lg:"h-10 text-xl",xl:"h-14 text-xl","2xl":"h-20 text-4xl","3xl":"h-[6.5rem] text-[3.5rem] leading-[4rem]","4xl":"h-[8.5rem] text-[4.5rem] leading-[5rem]"}}}),o=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost()}variant="secondary";size="base";defaultImage;src;letters;_src;_failed=!1;onSrchChange(t){this._failed=!1,this._src=t}componentWillLoad(){this.onSrchChange(this.src),this._src||this._setFailed()}render(){return i(s,{key:"03ce1a2c7b82afc7790ad48a449f8c5da12319f3",class:a({size:this.size,variant:this.variant})},this._failed?i("span",null,this.letters?.[0]??" "):i("img",{class:"z-0 aspect-branding h-full rounded-full object-cover",src:this._src,onError:()=>this._setFailed()}))}_setFailed(){this._failed=!0,this._src=void 0}static get watchers(){return{src:[{onSrchChange:0}]}}static get style(){return"*{box-sizing:border-box}.static{position:static}.z-0{z-index:0}.flex{display:flex}.aspect-branding{aspect-ratio:23/24}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-20{height:5rem}.h-4{height:1rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-\\[6\\.5rem\\]{height:6.5rem}.h-\\[8\\.5rem\\]{height:8.5rem}.h-full{height:100%}.items-center{align-items:center}.justify-center{justify-content:center}.rounded-full{border-radius:9999px}.bg-indigo-500{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.bg-off-white-500{--tw-bg-opacity:1;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))}.object-cover{object-fit:cover}.font-ambit{font-family:Ambit,sans-serif}.text-4xl{font-size:2.5rem;line-height:3rem}.text-\\[3\\.5rem\\]{font-size:3.5rem}.text-\\[4\\.5rem\\]{font-size:4.5rem}.text-base{font-size:1rem;line-height:1.5rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.text-xxs{font-size:.5rem;line-height:1rem}.font-bold{font-weight:700}.leading-\\[4rem\\]{line-height:4rem}.leading-\\[5rem\\]{line-height:5rem}.leading-none{line-height: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))}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-inset{--tw-ring-inset:inset}.ring-storm-500\\/20{--tw-ring-color:rgba(24,30,41,.2)}"}},[512,"p-avatar",{variant:[1],size:[513],defaultImage:[1,"default-image"],src:[1],letters:[1],_src:[32],_failed:[32]},void 0,{src:[{onSrchChange:0}]}]);function h(){"undefined"!=typeof customElements&&["p-avatar"].forEach((e=>{"p-avatar"===e&&(customElements.get(t(e))||customElements.define(t(e),o))}))}h();export{o as A,h as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e,p as a,H as t,c as r,h as i,F as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as
|
|
1
|
+
import{t as e,p as a,H as t,c as r,h as i,F as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as p}from"./p-Au2WuEGF.js";import{P as n,a as d}from"./p-CEaB2BT0.js";import{d as c}from"./p-D6g8cYWI.js";import{d as h}from"./p-BEo__1-X.js";import{d as m}from"./p-BANLejQ8.js";import{d as g}from"./p-DU-stXqd.js";import{d as b}from"./p-BNMkjAgS.js";import{d as l}from"./p-B91CxVcz.js";import{d as f}from"./p-xkXCC7GI.js";import{d as u}from"./p-SUrtpFuE.js";import{d as k}from"./p-CTI55iY5.js";import{d as w}from"./p-BOJwTddb.js";import{d as y}from"./p-D8faiybE.js";import{d as x}from"./p-DM-VvZXT.js";import{d as E}from"./p-C-ljhNrW.js";import{d as j}from"./p-Bk5wUwrW.js";import{d as z}from"./p-GYxEYTaZ.js";const v=s(["items-center gap-2","rounded-full","border border-solid border-off-white-700 bg-off-white-300","dark:border-hurricane-400 dark:bg-hurricane-500","p-1"],{variants:{hidden:{false:"flex",true:"hidden"}}}),P=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.pageChange=r(this,"pageChange",3),this.pageSizeChange=r(this,"pageSizeChange",3),this.pagesChange=r(this,"pagesChange",3)}hideOnSinglePage=!0;enablePaginationSize=!0;enablePaginationPages=!0;page=1;total;pageSize=n;pageSizeOptions=d;pageChange;pageSizeChange;pagesChange;_hasPaginationPages=!0;render(){const e=this.hideOnSinglePage&&this.total<=this.pageSizeOptions?.[0];return i(p,{key:"ad344b2396e42451325894b7376ed3d690057d83"},i("div",{key:"671608ac708b712031af5c200c3ce07e8131cb03",class:v({hidden:e&&!this._hasPaginationPages||!this.enablePaginationSize&&!this.enablePaginationPages})},this.enablePaginationPages&&this.enablePaginationSize&&i(o,{key:"9cdc73872c65ab22e8c9ef4158be2016181fc6ba"},i("p-pagination-size",{key:"5e574099fa2e4236d50d7593f19fcfb8c90ecc7f",hidden:e,size:this.pageSize,sizeOptions:this.pageSizeOptions,onSizeChange:({detail:e})=>this._changePageSize(e)}),!e&&this.hideOnSinglePage&&this._hasPaginationPages&&i("p-divider",{key:"6b5d9cb7d4d8067b68b2c600eaa644cf6e14e6d5",class:"\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ",variant:"vertical"})),this.enablePaginationPages&&i("p-pagination-pages",{key:"9e3dba15164786562aa0d912a67f57f8b2cc7366",hideOnSinglePage:this.hideOnSinglePage,page:this.page,pageSize:this.pageSize,total:this.total,onPageChange:({detail:e})=>this.pageChange.emit(e),onPagesChange:({detail:e})=>{this._hasPaginationPages=e>1,this.pagesChange.emit(e)}})))}_changePageSize(e){e&&(this.pageSize=e,this.pageSizeChange.emit(this.pageSize))}static get style(){return"*{box-sizing:border-box}.static{position:static}.mx-0{margin-left:0;margin-right:0}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.items-center{align-items:center}.gap-2{gap:.5rem}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}"}},[513,"p-pagination",{hideOnSinglePage:[4,"hide-on-single-page"],enablePaginationSize:[4,"enable-pagination-size"],enablePaginationPages:[4,"enable-pagination-pages"],page:[1538],total:[2],pageSize:[2,"page-size"],pageSizeOptions:[16],_hasPaginationPages:[32]}]);function C(){"undefined"!=typeof customElements&&["p-pagination","p-button","p-checkbox","p-divider","p-dropdown","p-dropdown-menu-container","p-dropdown-menu-item","p-field","p-field-container","p-helper","p-icon","p-loader","p-pagination-pages","p-pagination-pages-item","p-pagination-size","p-tooltip"].forEach((a=>{switch(a){case"p-pagination":customElements.get(e(a))||customElements.define(e(a),P);break;case"p-button":customElements.get(e(a))||c();break;case"p-checkbox":customElements.get(e(a))||h();break;case"p-divider":customElements.get(e(a))||m();break;case"p-dropdown":customElements.get(e(a))||g();break;case"p-dropdown-menu-container":customElements.get(e(a))||b();break;case"p-dropdown-menu-item":customElements.get(e(a))||l();break;case"p-field":customElements.get(e(a))||f();break;case"p-field-container":customElements.get(e(a))||u();break;case"p-helper":customElements.get(e(a))||k();break;case"p-icon":customElements.get(e(a))||w();break;case"p-loader":customElements.get(e(a))||y();break;case"p-pagination-pages":customElements.get(e(a))||x();break;case"p-pagination-pages-item":customElements.get(e(a))||E();break;case"p-pagination-size":customElements.get(e(a))||j();break;case"p-tooltip":customElements.get(e(a))||z()}}))}C();export{P,C as d}
|