@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
|
@@ -290,19 +290,19 @@ const DropdownMenuItem = class {
|
|
|
290
290
|
*/
|
|
291
291
|
autoHeight = false;
|
|
292
292
|
render() {
|
|
293
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
293
|
+
return (index.h(themedHost_component.ThemedHost, { key: '4ba8f69906bcf37e693ee6b58e6f2545b0b7661a' }, index.h("div", { key: '25e4aaff0c2c9ae87794ed8b218e049e50b3b12d', class: cn.cn(dropdownMenuItem({
|
|
294
294
|
variant: this.variant,
|
|
295
295
|
active: asBoolean.asBoolean(this.active),
|
|
296
296
|
enableHover: asBoolean.asBoolean(this.enableHover ?? true),
|
|
297
297
|
autoHeight: asBoolean.asBoolean(this.autoHeight ?? false),
|
|
298
298
|
enableTextWrap: this.enableTextWrap,
|
|
299
299
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
300
|
-
})) }, this.icon && (index.h("p-icon", { key: '
|
|
300
|
+
})) }, this.icon && (index.h("p-icon", { key: '01a95197b48fdebc2ad3517bc7184dd56371e622', class: dropdownMenuItemIcon({
|
|
301
301
|
variant: this.variant,
|
|
302
302
|
active: asBoolean.asBoolean(this.active),
|
|
303
303
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
304
304
|
wave: asBoolean.asBoolean(this.iconWave),
|
|
305
|
-
}), variant: this.icon })), this.checkbox && (index.h("p-checkbox", { key: '
|
|
305
|
+
}), variant: this.icon })), this.checkbox && (index.h("p-checkbox", { key: '0b6d9ec947b49d9c918dc7af3197fb78648bdf8b', checked: this.active, disabled: this.disabled })), this.useContainer ? (index.h("div", { class: cn.cn('block w-full overflow-hidden text-start', {
|
|
306
306
|
'text-ellipsis whitespace-nowrap': !this.enableTextWrap,
|
|
307
307
|
}) }, index.h("slot", null))) : (index.h("slot", null)))));
|
|
308
308
|
}
|
|
@@ -415,12 +415,12 @@ const PaginationPagesItem = class {
|
|
|
415
415
|
*/
|
|
416
416
|
disabled = false;
|
|
417
417
|
render() {
|
|
418
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
418
|
+
return (index.h(themedHost_component.ThemedHost, { key: '65e27fe59f22b3b63ae368a4918ab2e19e558aea' }, index.h("div", { key: 'ab68be3b7d2a9d7dba15a24ab171e9c03f9eba89', class: item({
|
|
419
419
|
variant: this.variant ?? 'default',
|
|
420
420
|
active: asBoolean.asBoolean(this.active),
|
|
421
421
|
hover: asBoolean.asBoolean(this.hover, true),
|
|
422
422
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
423
|
-
}) }, index.h("slot", { key: '
|
|
423
|
+
}) }, index.h("slot", { key: '1492a730e70fcbb602637b4ed77b74290d1540eb' }))));
|
|
424
424
|
}
|
|
425
425
|
};
|
|
426
426
|
PaginationPagesItem.style = paginationPagesItemComponentCss();
|
|
@@ -123,20 +123,20 @@ const Dropzone = class {
|
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
126
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
126
|
+
return (index.h(themedHost_component.ThemedHost, { key: '3bdbd0ce35e34159cea4a25cd850f9a193a3f946' }, index.h("div", { key: 'ebf85859aa357664417f8086c865de8325a225fe', class: dropzone({
|
|
127
127
|
isOver: this._isOver,
|
|
128
128
|
uploaded: this.uploaded,
|
|
129
|
-
}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (index.h("p-icon", { key: '
|
|
129
|
+
}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (index.h("p-icon", { key: '6dca37d76b00f5da9f5b4b8e028c83b0578fb811', class: cn.cn(`
|
|
130
130
|
group-hover/dropzone:text-indigo-900
|
|
131
131
|
dark:group-hover/dropzone:text-indigo-700
|
|
132
132
|
`, {
|
|
133
133
|
'text-positive-green-800': this.uploaded,
|
|
134
134
|
'text-storm-300 dark:text-hurricane-200': !this._isOver && !this.uploaded,
|
|
135
135
|
'text-indigo-900 dark:text-indigo-700': this._isOver,
|
|
136
|
-
}), variant: this.icon })), this.loading && index.h("p-loader", { key: '
|
|
136
|
+
}), variant: this.icon })), this.loading && index.h("p-loader", { key: 'b6444e1d0c4519023ba628cab29b166812b0d853' }), hasContent && (index.h("p", { key: 'f2e434afe8daadfe90e3b1d7257c98a610405689', class: cn.cn('m-0 p-0 text-lg font-bold', {
|
|
137
137
|
'dark:text-white': !this.uploaded || this._isOver,
|
|
138
138
|
'text-storm-500': this.uploaded && !this._isOver,
|
|
139
|
-
}) }, index.h("slot", { key: '
|
|
139
|
+
}) }, index.h("slot", { key: 'f7054d8e072e40e6a294b8feec5d53c6368df633' }))), this.uploaded && !this._isOver && (index.h("div", { key: 'ad137466b30a21dd4ba66db226968cc17a8e5f8c', class: 'flex items-center gap-2 text-positive-green-800' }, index.h("p-icon", { key: '343c6b31e638f961430b7421e44faedbc8c00e24', variant: 'check-circle' }), index.h("span", { key: '6ada9196c435e0642fb8528fc4ba2d28ba6b1d29', class: 'font-medium' }, this.addedString))), (!this.uploaded || this._isOver) && (index.h("div", { key: 'e928b7b3a1e60e699f9ecc8de2f4bc48c4162032', class: cn.cn([
|
|
140
140
|
'flex flex-col text-center',
|
|
141
141
|
'group-hover/dropzone:opacity-50',
|
|
142
142
|
`
|
|
@@ -145,7 +145,7 @@ const Dropzone = class {
|
|
|
145
145
|
`,
|
|
146
146
|
], {
|
|
147
147
|
'opacity-50': this._isOver,
|
|
148
|
-
}) }, index.h("span", { key: '
|
|
148
|
+
}) }, index.h("span", { key: '4533eac1b324933cc3aedaf84b8aa7954ac0b09d', class: 'font-medium' }, this.dragFileString), index.h("span", { key: 'bd5e993c33adc175ed2f81eee8a1c5350318df7a', class: 'font-normal' }, this.orClickString)))), index.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) })));
|
|
149
149
|
}
|
|
150
150
|
onDrop(ev) {
|
|
151
151
|
const files = this._getFiles(ev);
|
|
@@ -146,9 +146,9 @@ const FloatingMenuContainer = class {
|
|
|
146
146
|
this._setLocales();
|
|
147
147
|
}
|
|
148
148
|
render() {
|
|
149
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
149
|
+
return (index.h(themedHost_component.ThemedHost, { key: '39fda8b74e11a3b1ee40aeee4101301a7680a6ee' }, index.h("div", { key: 'd26f65768d8c61b632577a00f5415710b73b8e74', class: container$1({
|
|
150
150
|
enableAmountSelected: this.enableAmountSelected,
|
|
151
|
-
}) }, this.enableAmountSelected && (index.h(index.Fragment, { key: '
|
|
151
|
+
}) }, this.enableAmountSelected && (index.h(index.Fragment, { key: 'f298ab688db30acc900482c15034790a5dd4ca04' }, index.h("p", { key: '1133975449226656f722e67897c66d38c62893d1', class: amountSelected() }, this.amountSelectedTemplate(this.amount)), index.h("p-divider", { key: '83fa0bb59baed26780d634825fa2a43e8538d9f6', class: 'mx-0 h-4 text-storm-400', variant: 'vertical' }))), index.h("div", { key: '27cecf5983e3f86fe52c7e3554f716a51ca77acc', class: 'flex items-center' }, this.usedInTable ? index.h("slot", { name: 'floating-menu-item' }) : index.h("slot", null), this.enableClose && (index.h("p-floating-menu-item", { key: '98fd091b04cd2b5eb16482ee2bad9078c4dfb42b', icon: 'negative', onClick: ev => this.close.emit(ev) }))))));
|
|
152
152
|
}
|
|
153
153
|
async _setLocales() {
|
|
154
154
|
this._locales = await localization.getLocaleComponentStrings(this._el);
|
|
@@ -247,7 +247,7 @@ const TableContainer = class {
|
|
|
247
247
|
index.registerInstance(this, hostRef);
|
|
248
248
|
}
|
|
249
249
|
render() {
|
|
250
|
-
return (index.h(index.Host, { key: '
|
|
250
|
+
return (index.h(index.Host, { key: 'be24839c769bde51b4a32a0549c16b6cfe7b2b80', class: container() }, index.h("slot", { key: '7937037b88ac476bab9140fd0fb8a2468185a3bb' })));
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
253
|
TableContainer.style = tableContainerComponentCss();
|
|
@@ -10002,13 +10002,13 @@ const TableHeader = class {
|
|
|
10002
10002
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
10003
10003
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
10004
10004
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
10005
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
10006
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (index.h("div", { key: '
|
|
10005
|
+
return (index.h(themedHost_component.ThemedHost, { key: '5934545a9b79e63a584d60483a5e85d40bea840a' }, index.h("div", { key: '8cf4cc7921f7a639ca345d3bc7499157b00e6ca9', class: header() }, this.loading && (index.h("p-loader", { key: '37f231c9d95714e97a44b3590c641c4caf312248', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
10006
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (index.h("div", { key: '79e2f32969deea9fda7734eb4b5109df72f95b12', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && index.h("slot", { key: 'a0fa8b99389dcac563cde033c736d742081f2ee1', name: 'custom-filter' }), quickFilters.length > 0 && (index.h("p-segment-container", { key: '16667bdc75b22b4161e804bda8958a4f84193635', class: cn.cn({
|
|
10007
10007
|
'hidden desktop-xs:flex': this.hideQuickFiltersOnMobile,
|
|
10008
10008
|
flex: !this.hideQuickFiltersOnMobile,
|
|
10009
10009
|
}) }, quickFilters.map(item => (index.h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
10010
10010
|
? item.text
|
|
10011
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), index.h("div", { key: '
|
|
10011
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), index.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 && (index.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) })), index.h("div", { key: 'a496862587e67337f219adad7bdf3cd892522b2d', class: 'flex items-center gap-2' }, this.enableFilter && (index.h("p-button", { key: 'fe71e345507f80c5ea0b592361b40a16390fa828', class: `
|
|
10012
10012
|
w-full
|
|
10013
10013
|
${this.enableFilterDesktop
|
|
10014
10014
|
? 'desktop-xs:w-auto'
|
|
@@ -10016,7 +10016,7 @@ const TableHeader = class {
|
|
|
10016
10016
|
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
10017
10017
|
? this.filterButtonTemplate()
|
|
10018
10018
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
10019
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (index.h("p-divider", { key: '
|
|
10019
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (index.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 && (index.h("p-button", { key: '1c647066577b85ca9b0c7b660858e172920dc2bb', class: '\n w-full\n desktop-xs:w-auto\n ', icon: 'upload', variant: 'secondary', onOnClick: () => this.export.emit() }, localization.formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && index.h("slot", { key: '193a9d2a8bb5567033ad63485f9a9ed05fb7cdf9', name: 'custom-actions' })), this.enableAction && this.canUseAction && (index.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))))));
|
|
10020
10020
|
}
|
|
10021
10021
|
async _setLocales() {
|
|
10022
10022
|
this._locales = await localization.getLocaleComponentStrings(this._el);
|
|
@@ -10180,16 +10180,16 @@ const TableRowActionsContainer = class {
|
|
|
10180
10180
|
*/
|
|
10181
10181
|
checked = false;
|
|
10182
10182
|
render() {
|
|
10183
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
10183
|
+
return (index.h(themedHost_component.ThemedHost, { key: '8150cc809c966d7ce65f9302a898fa5a0b871c52' }, index.h("div", { key: 'f3819618fc035040a36c6481eddccbb80e6f159b', class: cn.cn(`
|
|
10184
10184
|
flex
|
|
10185
10185
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
10186
10186
|
`, {
|
|
10187
10187
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10188
10188
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10189
|
-
}) }, index.h("div", { key: '
|
|
10189
|
+
}) }, index.h("div", { key: '2e10f66b4a319d1ed55a39b9f6fe10baf0211b78', class: cn.cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10190
10190
|
'dark:bg-hurricane-600': !this.checked,
|
|
10191
10191
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10192
|
-
}) }, index.h("slot", { key: '
|
|
10192
|
+
}) }, index.h("slot", { key: '6478fa71bf7ae5f301c97c281751083ed82fba6e' })))));
|
|
10193
10193
|
}
|
|
10194
10194
|
};
|
|
10195
10195
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|
|
@@ -688,27 +688,27 @@ const FieldContainer = class {
|
|
|
688
688
|
}
|
|
689
689
|
render() {
|
|
690
690
|
const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
|
|
691
|
-
let contentSlot = (index.h("slot", { key: '
|
|
691
|
+
let contentSlot = (index.h("slot", { key: 'ee38d5be02a899e0d63749e4b13c17cae4711637', name: 'content', slot: 'trigger' }));
|
|
692
692
|
if (this.loading) {
|
|
693
|
-
contentSlot = (index.h("p-loader", { key: '
|
|
693
|
+
contentSlot = (index.h("p-loader", { key: '5e445ed28e4ff1254b6c724d5bb859d37ed669b3', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
|
|
694
694
|
}
|
|
695
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
695
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'b9e499d2dc7e962d706997c8d16f61c5252f118d' }, index.h("label", { key: '4233b212952fa641e2509ea1c942453e77ec5f82', class: cn.cn('flex h-inherit w-inherit flex-col gap-1', {
|
|
696
696
|
'cursor-auto': this.variant === 'read',
|
|
697
|
-
}), htmlFor: this.id }, index.h("div", { key: '
|
|
697
|
+
}), htmlFor: this.id }, index.h("div", { key: '20e48d5f03656193a1b837070ae750a8d4296465', class: cn.cn(`
|
|
698
698
|
flex items-end justify-between gap-1
|
|
699
699
|
empty:hidden
|
|
700
700
|
`, {
|
|
701
701
|
'flex-row-reverse': this.align === 'end',
|
|
702
|
-
}) }, (!!label?.length || !!helper?.length) && (index.h("div", { key: '
|
|
703
|
-
hasHeaderSlot) && (index.h("div", { key: '
|
|
702
|
+
}) }, (!!label?.length || !!helper?.length) && (index.h("div", { key: 'ee34ef249bb30262496793d5f8417e137313cf03', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, index.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 && (index.h("p-helper", { key: 'fe0c268b0fee3a855bcc44ef844ca8a2a727dee2', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean.asBoolean(this.required) && asBoolean.asBoolean(this.showOptional)) ||
|
|
703
|
+
hasHeaderSlot) && (index.h("div", { key: '14466e8a589be9b1b599750e9d94fdd507e63637', class: 'flex items-center gap-1' }, !asBoolean.asBoolean(this.required) &&
|
|
704
704
|
asBoolean.asBoolean(this.showOptional) &&
|
|
705
|
-
this.variant === 'write' && (index.h("span", { key: '
|
|
705
|
+
this.variant === 'write' && (index.h("span", { key: '2103c58a2d6283a3776386fc48b817b0a6c11775', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && index.h("slot", { key: 'daa792f0973fb224b65694b2b3da0bce094bc013', name: 'header' })))), index.h("p-tooltip", { key: 'f5a7db0a4adf1b122a1297e3216c67abd4dc824e', class: cn.cn({
|
|
706
706
|
'w-full': this.variant === 'write' || this.loading,
|
|
707
707
|
'ml-auto': this.align === 'end',
|
|
708
708
|
'font-normal': this.variant === 'read',
|
|
709
709
|
'text-storm-500 dark:text-white': this.variant === 'read',
|
|
710
710
|
}), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
|
|
711
|
-
asBoolean.asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (index.h("slot", { key: '
|
|
711
|
+
asBoolean.asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (index.h("slot", { key: '38ce560479de40f7b704bf9f7736f217286a39b8', name: 'error', slot: 'content' })), contentSlot))));
|
|
712
712
|
}
|
|
713
713
|
async _setLocales() {
|
|
714
714
|
this._locales = await localization.getLocaleComponentStrings(this._el);
|
|
@@ -750,7 +750,7 @@ const Helper = class {
|
|
|
750
750
|
*/
|
|
751
751
|
placement = 'top';
|
|
752
752
|
render() {
|
|
753
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
753
|
+
return (index.h(themedHost_component.ThemedHost, { key: '5eeb291711edeee3b0aedef613e6a0beb0ceeddf' }, index.h("p-tooltip", { key: 'be8b8123d9e05c58eac02b0dab3b1f62b021ee3f', class: 'flex', placement: this.placement, strategy: this.strategy }, index.h("p-icon", { key: 'ac53e1c0520fa58f44e85a8ce7b7738b56793894', class: '\n cursor-pointer text-storm-300\n hover:text-storm-500\n dark:text-hurricane-300\n dark:hover:text-hurricane-200\n ', size: 'sm', slot: 'trigger', variant: 'question-circle' }), index.h("div", { key: '60148e302099242dcd915e02e8c785316b4443c4', slot: 'content' }, index.h("slot", { key: '1c5b842240e2649b7ecf83c4decd3db35dc17a0d' })))));
|
|
754
754
|
}
|
|
755
755
|
};
|
|
756
756
|
Helper.style = helperComponentCss();
|
|
@@ -101,10 +101,10 @@ const FloatingMenuItem = class {
|
|
|
101
101
|
*/
|
|
102
102
|
iconRotate;
|
|
103
103
|
render() {
|
|
104
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
104
|
+
return (index.h(themedHost_component.ThemedHost, { key: '63c7d816912054a3f5a18aa8e81f5cda7b66c0c7', class: item({
|
|
105
105
|
hover: asBoolean.asBoolean(this.hover) && !asBoolean.asBoolean(this.loading),
|
|
106
106
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
107
|
-
}) }, this._getIcon(), index.h("p", { key: '
|
|
107
|
+
}) }, this._getIcon(), index.h("p", { key: '03357ad173ba9040116dabc025b1cfe0d791b3bb', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, index.h("slot", { key: '417830e61a02c89ec9c45eed10b976a9f8a73c04' }))));
|
|
108
108
|
}
|
|
109
109
|
_getIcon() {
|
|
110
110
|
if (!this.icon && !this.loading) {
|
|
@@ -225,7 +225,7 @@ const Illustration = class {
|
|
|
225
225
|
render() {
|
|
226
226
|
const illustration = illustrations[this.variant];
|
|
227
227
|
const hasSize = [...this._el.classList.values()].some(val => val.match(/text-(xs|sm|base|lg|[2-79|]?xl)/));
|
|
228
|
-
return (index.h(index.Host, { key: "
|
|
228
|
+
return (index.h(index.Host, { key: "29276e43798615303cd45eaf6ff247a2bc61edee", class: cn.cn("block", { "text-8xl": !hasSize }), innerHTML: illustration }));
|
|
229
229
|
}
|
|
230
230
|
};
|
|
231
231
|
Illustration.style = '.block{display:block}.text-8xl{font-size:6rem;line-height:1}*{box-sizing:border-box}';
|
|
@@ -106,10 +106,10 @@ const InfoPanel = class {
|
|
|
106
106
|
render() {
|
|
107
107
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
108
108
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
109
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
109
|
+
return (index.h(themedHost_component.ThemedHost, { key: '6e90d3fa10339e27158689ab6ff7f4c27e4112a5' }, index.h("div", { key: '290bb5cf9fbf7d9bd17d91e341012c83f76061a1', class: infopanel({
|
|
110
110
|
variant: this.variant,
|
|
111
111
|
closeAble: this.closeable,
|
|
112
|
-
}) }, (this.header?.length || hasHeaderSlot) && (index.h("div", { key: '
|
|
112
|
+
}) }, (this.header?.length || hasHeaderSlot) && (index.h("div", { key: '6d04877e365f21579f6c1c0bdd6f0471ff4c4528', class: header({ variant: this.variant }) }, this.header?.length ? (index.h("p", { class: 'my-0' }, this.header)) : (index.h("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (index.h("div", { key: 'f30535d8f77ce76af301bd96bd6c71b645ce68da', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (index.h("p", { class: 'my-0' }, this.content)) : (index.h("slot", { name: 'content' })))), this.closeable && (index.h("div", { key: 'cbff549d70f794782288c3ff59c7a7ede09962bb', class: close(), onClick: () => this._close() }, index.h("p-icon", { key: 'a982772edafce6a622d02676b4ec5d36e30c31af', variant: 'negative' }))))));
|
|
113
113
|
}
|
|
114
114
|
_close() {
|
|
115
115
|
this.closed.emit();
|
|
@@ -85,17 +85,17 @@ const Label = class {
|
|
|
85
85
|
*/
|
|
86
86
|
keepMobileContent = false;
|
|
87
87
|
render() {
|
|
88
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
88
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'fe53d8c5296ef6ffdce11306ce1a3d83b19a3337' }, index.h("div", { key: '5467052d82c9ca3328aed8168f44db9905b85f52', class: label({
|
|
89
89
|
variant: this.variant,
|
|
90
90
|
iconOnly: this.iconOnly,
|
|
91
91
|
keepMobileContent: this.keepMobileContent,
|
|
92
|
-
}) }, this.icon && (index.h("p-icon", { key: '
|
|
92
|
+
}) }, this.icon && (index.h("p-icon", { key: '7ea93c16a0de51817a0bb642cdbc57e18de3a6d4', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (index.h("div", { key: '925fab5fcf51708ad6f89b6e373af1a93751990e', class: cn.cn(`
|
|
93
93
|
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
94
94
|
font-medium
|
|
95
95
|
`, {
|
|
96
96
|
hidden: !this.keepMobileContent,
|
|
97
97
|
'desktop-xs:block': !this.keepMobileContent,
|
|
98
|
-
}) }, index.h("slot", { key: '
|
|
98
|
+
}) }, index.h("slot", { key: '957f2c078fb47ce9cc82db2c3507c0d7ed283684' }))))));
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
Label.style = labelComponentCss();
|
|
@@ -18,7 +18,7 @@ const Layout = class {
|
|
|
18
18
|
*/
|
|
19
19
|
scroll;
|
|
20
20
|
render() {
|
|
21
|
-
return (index.h(index.Host, { key: '
|
|
21
|
+
return (index.h(index.Host, { key: '5e96a8306fb4c7cab4119a7ba5c70bcbdd7a4c88', class: 'variant-' + this.variant }, index.h("div", { key: '843970e380e0c43e74a8124a3a0081faa60f4679', class: 'content', onScroll: ev => this.scroll.emit(ev) }, index.h("div", { key: '87248ef456ff60f8468e3ad9c83f3bfc127df83c', class: 'inner-content' }, index.h("slot", { key: '8fe3daf6f639a8cb6b8ab40606f84fc3c92815fe', name: 'content' })), index.h("slot", { key: '8c9d95947c939b50851f145b6dd36dd4111b82b1', name: 'outer-content' })), index.h("div", { key: '43afaa2036ba6f7ac4ca355402a3dfc1840b69c0', class: 'sidebar' }, index.h("slot", { key: '8a3a225c1bb302cdaf70c3b16658e971bee97336', name: 'sidebar' })), index.h("div", { key: 'a5cfe1d264780bcc00ac4e3e09a713357788985d', class: 'topbar' }, index.h("slot", { key: '460057e388170134ceef77a2d737a701b9310b77', name: 'topbar' }))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
Layout.style = layoutComponentCss();
|
|
@@ -15,7 +15,7 @@ const ListingItem = class {
|
|
|
15
15
|
*/
|
|
16
16
|
icon = 'placeholder';
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
18
|
+
return (index.h(themedHost_component.ThemedHost, { key: '0cbd4fd727806eac35987e3251c9685489dfae57' }, index.h("div", { key: '1bf939b16073c30fcfa1ddbf0c1b1f94f4a4208f', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, index.h("p-icon", { key: '2f9bc38148605b2b8852a1bf1089476bc7ff79b8', variant: this.icon }), index.h("div", { key: 'b5df05be94eebc8a04d2dd7373c4f5a2bc2b946f', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, index.h("slot", { key: 'f13709285759edb53c848b03c6cd80fd552c31b6' })))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
ListingItem.style = listingItemComponentCss();
|
|
@@ -11,7 +11,7 @@ const ListingLine = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h(themedHost_component.ThemedHost, { key: '
|
|
14
|
+
return index.h(themedHost_component.ThemedHost, { key: 'd8b5baea7c0cc99a887284ab35870ff5444de455' });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
ListingLine.style = listingLineComponentCss();
|
|
@@ -43,10 +43,10 @@ const ModalBody = class {
|
|
|
43
43
|
*/
|
|
44
44
|
roundedTop = false;
|
|
45
45
|
render() {
|
|
46
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
46
|
+
return (index.h(themedHost_component.ThemedHost, { key: '4ed0661424c57ed84e9c2c02a82d5efa4730635d' }, index.h("div", { key: 'a04edf4637b1c4e55e2f27c038e6a28874cf798f', class: body({
|
|
47
47
|
roundedBottom: this.roundedBottom,
|
|
48
48
|
roundedTop: this.roundedTop,
|
|
49
|
-
}) }, index.h("slot", { key: '
|
|
49
|
+
}) }, index.h("slot", { key: '661938daa1f1077c6b702f5b3f24fc1034661b27' }))));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
ModalBody.style = modalBodyComponentCss();
|
|
@@ -98,10 +98,10 @@ const ModalContainer = class {
|
|
|
98
98
|
*/
|
|
99
99
|
closing = false;
|
|
100
100
|
render() {
|
|
101
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
101
|
+
return (index.h(themedHost_component.ThemedHost, { key: '0676421b8bd89ec3551086c1d96ada8d6831a5c5' }, index.h("div", { key: '2ab0566b539d275e765f6674c7fef65a22a613da', class: container({
|
|
102
102
|
size: this.size,
|
|
103
103
|
closing: asBoolean.asBoolean(this.closing),
|
|
104
|
-
}) }, index.h("slot", { key: '
|
|
104
|
+
}) }, index.h("slot", { key: '5cf4b886f91489e898c337c7ae8b1f0cbe23ad20' }))));
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
ModalContainer.style = modalContainerComponentCss();
|
|
@@ -113,7 +113,7 @@ const ModalFooter = class {
|
|
|
113
113
|
index.registerInstance(this, hostRef);
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
116
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'f39b72e939292033480703553e50bbd1dfa83e87' }, index.h("div", { key: '4e111928e7e2d77dc05953df32543cd394f1aa43', class: '\n flex flex-col rounded-b-none bg-white px-4\n pb-[calc(env(safe-area-inset-bottom)+1rem)]\n desktop-xs:rounded-b-2xl\n dark:bg-hurricane-600\n ' }, index.h("p-divider", { key: '4d46bce2251c4d7bac6ad6a8c93efd02a7b9c080', class: '\n mb-4 hidden text-off-white-700\n desktop-xs:inline-block\n dark:text-white/10\n ' }), index.h("div", { key: 'b82864f44ddb46b933fb17672a2c5f59f8d88bb7', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, index.h("slot", { key: '216f5773f2e5070330140d3db29fd615eb24fff2' })))));
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
ModalFooter.style = modalFooterComponentCss();
|
|
@@ -151,7 +151,7 @@ const ModalHeader = class {
|
|
|
151
151
|
*/
|
|
152
152
|
close;
|
|
153
153
|
render() {
|
|
154
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
154
|
+
return (index.h(themedHost_component.ThemedHost, { key: '6ff888c25d7455ffd6baf7e1dd046d8446555739' }, index.h("div", { key: '9b9fa9ee81f4174df2f880965afa9cc72b63e800', class: header() }, index.h("div", { key: 'b58b6b353afa85c5e45f71abf9c4d59b5fa42eeb', class: content() }, index.h("div", { key: '576edc988821e2ae50b8a11c8fc4b81fea137cb8', class: title() }, index.h("slot", { key: 'b9906b5af7dc8542f3d046d8ca9dccc0f8310e9d' })), this.showClose && (index.h("p-button", { key: 'c5da895fc9b1e6ef042a5f9d829d6e584ff23ab8', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), index.h("p-smile", { key: 'e0390b852e9ae3633185cdb5441d9172a07f7986', class: 'dark:text-hurricane-400' }))));
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
ModalHeader.style = modalHeaderComponentCss();
|
|
@@ -11,7 +11,7 @@ const NavigationTitle = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
14
|
+
return (index.h(themedHost_component.ThemedHost, { key: '748f1f2b55a87b484800be5b65b0b0bfa9ee32b2', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, index.h("slot", { key: 'fa5149117c4baf802cd7d116ab604f84678c5740' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NavigationTitle.style = navigationTitleComponentCss();
|
|
@@ -158,7 +158,7 @@ const PaginationPages = class {
|
|
|
158
158
|
this._generate();
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
161
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
161
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'e589ea86868c500398b830d85774df1282097210' }, index.h("div", { key: '27936247b83b4a771f4974a7946cc1eb24829d5b', class: pagination({
|
|
162
162
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
163
163
|
}) }, this._set?.map(p => {
|
|
164
164
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -445,18 +445,18 @@ const PaginationSize = class {
|
|
|
445
445
|
this._setLocales();
|
|
446
446
|
}
|
|
447
447
|
render() {
|
|
448
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
448
|
+
return (index.h(themedHost_component.ThemedHost, { key: '42cf5dbb2f2d9fdb6a571bddc2b763b84f39024a', class: paginationSize({ hidden: asBoolean.asBoolean(this.hidden) }) }, index.h("p-dropdown", { key: 'a9952f6ba7d0712fc00310dbcc5ab565291dcb02', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, index.h("div", { key: 'cd819e27bdd8befc96ec722cc82179e7cb3f75eb', class: trigger({
|
|
449
449
|
active: this.dropdownIsOpen,
|
|
450
|
-
}), slot: 'trigger' }, index.h("p", { key: '
|
|
450
|
+
}), slot: 'trigger' }, index.h("p", { key: 'e90cc9866f78ba047d97871ca957121110f2be10', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
|
|
451
451
|
? this.itemTemplate(this.size)
|
|
452
|
-
: this._defaultItemTemplate(this.size)), index.h("p-icon", { key: '
|
|
452
|
+
: this._defaultItemTemplate(this.size)), index.h("p-icon", { key: '8b308f1855c5553483eb22583ab58185de48c107', class: cn.cn([
|
|
453
453
|
'flex-shrink-0',
|
|
454
454
|
'group-hover/pagination-size-trigger:text-storm-500',
|
|
455
455
|
'dark:group-hover/pagination-size-trigger:text-white',
|
|
456
456
|
], {
|
|
457
457
|
'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
|
|
458
458
|
'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
|
|
459
|
-
}), size: 'sm', variant: 'double-caret' })), index.h("slot", { key: '
|
|
459
|
+
}), size: 'sm', variant: 'double-caret' })), index.h("slot", { key: '6f67fec42d1ad0093411c9e8a695577ddf9bd4cf', slot: 'items' }, this.sizeOptions.map(option => (index.h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
460
460
|
? this.itemTemplate(option)
|
|
461
461
|
: this._defaultItemTemplate(option))))))));
|
|
462
462
|
}
|
|
@@ -136,11 +136,11 @@ const Radio = class {
|
|
|
136
136
|
}
|
|
137
137
|
render() {
|
|
138
138
|
const id = this.id?.length ? this.id : this._nonce;
|
|
139
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
139
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'bba0ba6a9e255a6c1fa139681d71e1be4c242fa8' }, index.h("label", { key: '6e81f4d7955c3ab5d145bbde897c0892a4b58cee', class: 'flex items-center justify-start gap-2', htmlFor: id }, index.h("div", { key: '5a5c7b0028051746c3c9c47226e9859ae2a47a7a', class: 'relative flex flex-shrink-0 items-center' }, index.h("input", { key: 'ebf9cadae5d3b93a1cc247d70b461a14bce37175', checked: this.checked, class: radio({
|
|
140
140
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
141
|
-
}), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), index.h("div", { key: '
|
|
141
|
+
}), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), index.h("div", { key: 'bbb3cfeb2c37b34c6a1b1dfcc055e215d7d61b0c', class: circle({
|
|
142
142
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
143
|
-
}) })), index.h("div", { key: '
|
|
143
|
+
}) })), index.h("div", { key: '071014b48dc0050284801b6356d9d8be00539d03', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, index.h("slot", { key: 'd3d0b102ce487525b7bfab673689fbdf50746f6e' })))));
|
|
144
144
|
}
|
|
145
145
|
_onChange(ev) {
|
|
146
146
|
if (asBoolean.asBoolean(this.disabled)) {
|
|
@@ -54,7 +54,7 @@ const Smile = class {
|
|
|
54
54
|
*/
|
|
55
55
|
variant = 'modal';
|
|
56
56
|
render() {
|
|
57
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '94c32fd9b48986a46600f6cbb26e2308461855c5', class: smile({ variant: this.variant }) }, index.h("div", { key: 'eedf758a42be0c60e11755dd3dfc18438381941e', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
60
|
Smile.style = smileComponentCss();
|
|
@@ -157,19 +157,19 @@ const StepperItem = class {
|
|
|
157
157
|
*/
|
|
158
158
|
active = false;
|
|
159
159
|
render() {
|
|
160
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
160
|
+
return (index.h(themedHost_component.ThemedHost, { key: '1cc3920c316c646772aa48855492d9563339ab26' }, index.h("div", { key: 'a5f9a3f81256dd62ae9857e12c437faee7b1885b', class: item({
|
|
161
161
|
align: this.align,
|
|
162
162
|
contentPosition: this.contentPosition,
|
|
163
|
-
}) }, index.h("div", { key: '
|
|
163
|
+
}) }, index.h("div", { key: '8e08bd90813d3f08ab56d6dc479da98c510d22ee', class: circle({
|
|
164
164
|
align: this.align,
|
|
165
165
|
direction: this.direction,
|
|
166
166
|
active: asBoolean.asBoolean(this.active),
|
|
167
167
|
finished: asBoolean.asBoolean(this.finished),
|
|
168
|
-
}) }, this.number), index.h("div", { key: '
|
|
168
|
+
}) }, this.number), index.h("div", { key: 'faafa708b0f4548661dfeb114fa78530377d896f', class: content({
|
|
169
169
|
active: asBoolean.asBoolean(this.active),
|
|
170
170
|
finished: asBoolean.asBoolean(this.finished),
|
|
171
171
|
direction: this.direction,
|
|
172
|
-
}) }, index.h("slot", { key: '
|
|
172
|
+
}) }, index.h("slot", { key: '8fa1538428f4874deb582a6a9682f3e7d02ce909' })))));
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
StepperItem.style = stepperItemComponentCss();
|
|
@@ -189,7 +189,7 @@ const StepperLine = class {
|
|
|
189
189
|
*/
|
|
190
190
|
direction = 'horizontal';
|
|
191
191
|
render() {
|
|
192
|
-
return index.h(themedHost_component.ThemedHost, { key: '
|
|
192
|
+
return index.h(themedHost_component.ThemedHost, { key: '84a2a8906483e05a2a109decca513f7f8022a206' });
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
StepperLine.style = stepperLineComponentCss();
|
|
@@ -9,7 +9,7 @@ const TabContainer = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h("div", { key: '
|
|
12
|
+
return (index.h("div", { key: 'fed578f0c44de91ba046b0e10d95649a73d0d49b', class: 'relative flex h-8 w-full flex-col' }, index.h("div", { key: '508b1759240710ec6a9b227106f1780bfa6e93b2', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, index.h("slot", { key: '272fb40819dc08745f2900eee372815d740aa0f3' })), index.h("p-divider", { key: '8b1f991d6e6081330f71bd4e47fb0bad2e7aa78f', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
TabContainer.style = tabContainerComponentCss();
|
|
@@ -48,7 +48,7 @@ const TabItem = class {
|
|
|
48
48
|
*/
|
|
49
49
|
active = false;
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
51
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'e2d3ce6f1ecc4ac7222bad0340133e1e0224de9c' }, index.h("div", { key: 'afff5458acfcce364103ab098863ce0ea0eb9c1f', class: item({ active: this.active }) }, index.h("slot", { key: 'ad7512af85c0c6d49c7afa8c3e7c28e58212bb24' }))));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
TabItem.style = tabItemComponentCss();
|
|
@@ -4,6 +4,7 @@ var index = require('./index-BGtpSJv_.js');
|
|
|
4
4
|
var localization = require('./localization-CTvpcGDo.js');
|
|
5
5
|
var tableHelpers = require('./table-helpers-CskH_8AL.js');
|
|
6
6
|
var screens = require('./screens-AithmFZ8.js');
|
|
7
|
+
var isPlatform = require('./is-platform-byJrxYJO.js');
|
|
7
8
|
var cn = require('./cn-Cd68UVBT.js');
|
|
8
9
|
var constants = require('./constants-BuWBrjuU.js');
|
|
9
10
|
require('./index-mudu9vpz.js');
|
|
@@ -278,7 +279,7 @@ const Table = class {
|
|
|
278
279
|
this.hasRendered.emit();
|
|
279
280
|
}
|
|
280
281
|
render() {
|
|
281
|
-
return (index.h(index.Host, { key: '
|
|
282
|
+
return (index.h(index.Host, { key: '425442ed379af6ed510015af1c215a243d14a709', class: 'z-0 flex flex-col' }, index.h("p-table-container", { key: 'f4a76f0df1ff84f4cef210c3721e32f160df7e3b' }, this.enableHeader && (index.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 && (index.h("slot", { key: '6ad3e112ed8d23bdf8c1ba550071b7bf6deb9fc1', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (index.h("slot", { key: '1a5aeaa7135c9a91fb624e46bb66a281bff81735', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), index.h("div", { key: '02e8e776a8f52f98eac3524fac5099d3ce59a43f', class: 'flex flex-1 flex-col' }, this._getRows(), index.h("slot", { key: '4682df30035958e2c07533eb9103d827c60e2ecf', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (index.h("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: tableHelpers.floatingMenuContainerClass({
|
|
282
283
|
hasFooter: this.enableFooter && !this._footerHidden,
|
|
283
284
|
active: !!this.selectedRows?.length,
|
|
284
285
|
shown: this._floatingMenuShown,
|
|
@@ -288,7 +289,7 @@ const Table = class {
|
|
|
288
289
|
!!a.action &&
|
|
289
290
|
a.type === 'single'
|
|
290
291
|
? a.action(this.selectedRows[0], false)
|
|
291
|
-
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (index.h("p-table-footer", { key: '
|
|
292
|
+
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (index.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 &&
|
|
292
293
|
this.enableAction &&
|
|
293
294
|
this.actionButtonEnabled, total: this.total, onHiddenChange: ({ detail }) => (this._footerHidden = detail), onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this.pageSizeChange.emit(detail) })))));
|
|
294
295
|
}
|
|
@@ -299,13 +300,19 @@ const Table = class {
|
|
|
299
300
|
this._generateColumns();
|
|
300
301
|
}
|
|
301
302
|
keyDown({ ctrlKey, metaKey }) {
|
|
302
|
-
|
|
303
|
+
const apple = isPlatform.isApple();
|
|
304
|
+
const isMeta = metaKey && apple;
|
|
305
|
+
const isCtrl = ctrlKey && !apple;
|
|
306
|
+
if ((!isMeta && !isCtrl) || this._ctrlDown === true) {
|
|
303
307
|
return;
|
|
304
308
|
}
|
|
305
309
|
this._ctrlDown = true;
|
|
306
310
|
}
|
|
307
|
-
keyUp({
|
|
308
|
-
|
|
311
|
+
keyUp({ code }) {
|
|
312
|
+
const apple = isPlatform.isApple();
|
|
313
|
+
const isMeta = ['MetaLeft', 'MetaRight'].includes(code) && apple;
|
|
314
|
+
const isCtrl = ['ControlLeft', 'ControlRight'].includes(code) && !apple;
|
|
315
|
+
if ((!isMeta && !isCtrl) || this._ctrlDown === false) {
|
|
309
316
|
return;
|
|
310
317
|
}
|
|
311
318
|
this._ctrlDown = false;
|
|
@@ -48,9 +48,9 @@ const ToastContainer = class {
|
|
|
48
48
|
*/
|
|
49
49
|
placement = 'top-end';
|
|
50
50
|
render() {
|
|
51
|
-
return (index.h("div", { key: '
|
|
51
|
+
return (index.h("div", { key: 'f28d91021abda29f748cb31b45509847ca0da96a', class: container({
|
|
52
52
|
placement: this.placement,
|
|
53
|
-
}) }, index.h("slot", { key: '
|
|
53
|
+
}) }, index.h("slot", { key: '410921616add076f439ded2ee2590d941665040f' })));
|
|
54
54
|
}
|
|
55
55
|
};
|
|
56
56
|
ToastContainer.style = toastContainerComponentCss();
|
|
@@ -151,11 +151,11 @@ const Toggle = class {
|
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
153
|
const id = this.id?.length ? this.id : this._nonce;
|
|
154
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
154
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'e99533e90e40c74f00f495c50e4cbb93a018f83c' }, index.h("label", { key: '2dbeec5d74c4fba83d9a78931f660cc1949d5433', class: 'flex items-center justify-start gap-2', htmlFor: id }, index.h("div", { key: '790d225e89cd99a770c21f8d4c91d0d4f3557456', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, index.h("input", { key: '6dfa1eb27e4f3591faae3a93685179f2b7c8b43a', checked: !!this.checked, class: toggle({
|
|
155
155
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
156
|
-
}), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), index.h("div", { key: '
|
|
156
|
+
}), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), index.h("div", { key: '6f7ce532339936f808dcba1f59d077de4997527d', class: circle({
|
|
157
157
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
158
|
-
}) })), index.h("div", { key: '
|
|
158
|
+
}) })), index.h("div", { key: 'cd72d92731a6d33a0cc0779e6401c8dbe3ecb998', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, index.h("slot", { key: '68fdf4f230b6b57ae445d36d22c3d1d55a4c3c63' })))));
|
|
159
159
|
}
|
|
160
160
|
_onChange(ev) {
|
|
161
161
|
if (asBoolean.asBoolean(this.disabled)) {
|