@paperless/core 3.26.4 → 3.27.1
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/p-014ef0e1.entry.js +1 -0
- package/dist/build/{p-57c5bf0c.entry.js → p-017b3759.entry.js} +1 -1
- package/dist/build/{p-d2ff359e.entry.js → p-02a54f77.entry.js} +1 -1
- package/dist/{paperless/p-4cd8035a.entry.js → build/p-055b6209.entry.js} +1 -1
- package/dist/{paperless/p-6ed7ef6a.entry.js → build/p-1a26edba.entry.js} +1 -1
- package/dist/{paperless/p-34ec6b9b.entry.js → build/p-1a424b04.entry.js} +1 -1
- package/dist/build/{p-0cf2c5f5.entry.js → p-2248e489.entry.js} +1 -1
- package/dist/{paperless/p-e922cb1f.entry.js → build/p-2361ad53.entry.js} +1 -1
- package/dist/build/{p-e20e6aa3.entry.js → p-24db0c8f.entry.js} +1 -1
- package/dist/build/{p-48be5f53.entry.js → p-2efedc3d.entry.js} +1 -1
- package/dist/{paperless/p-9079dcb7.entry.js → build/p-31cf13c6.entry.js} +1 -1
- package/dist/build/p-3915cbd5.entry.js +1 -0
- package/dist/build/p-3eb1d7d5.entry.js +1 -0
- package/dist/build/{p-b1e6c746.entry.js → p-45176955.entry.js} +1 -1
- package/dist/build/{p-2e53d921.entry.js → p-51312a8f.entry.js} +1 -1
- package/dist/{paperless/p-2ebc600b.entry.js → build/p-555cb497.entry.js} +1 -1
- package/dist/build/p-571575d2.entry.js +1 -0
- package/dist/build/{p-38056598.entry.js → p-65466ef3.entry.js} +1 -1
- package/dist/build/{p-d5365ce3.entry.js → p-6a23ff2f.entry.js} +1 -1
- package/dist/{paperless/p-45b9a446.entry.js → build/p-6ac8c0c1.entry.js} +1 -1
- package/dist/build/{p-2aa8ae3e.js → p-7b1535af.js} +1 -1
- package/dist/{paperless/p-b8caedf6.entry.js → build/p-7c8ec514.entry.js} +1 -1
- package/dist/build/{p-2ce0c175.entry.js → p-7cd7bc8b.entry.js} +1 -1
- package/dist/{paperless/p-1b50f01d.entry.js → build/p-8c141cb8.entry.js} +1 -1
- package/dist/{paperless/p-b316ecff.entry.js → build/p-92910dad.entry.js} +1 -1
- package/dist/build/{p-020124fe.entry.js → p-9f684244.entry.js} +1 -1
- package/dist/build/{p-b1a372fc.entry.js → p-a035467d.entry.js} +1 -1
- package/dist/build/p-a395e9e0.entry.js +1 -0
- package/dist/{paperless/p-4851ac96.entry.js → build/p-b190b534.entry.js} +1 -1
- package/dist/build/{p-25842006.entry.js → p-b75ded13.entry.js} +1 -1
- package/dist/{paperless/p-477801df.entry.js → build/p-bdab91d9.entry.js} +1 -1
- package/dist/build/{p-561a4d56.entry.js → p-ce56d534.entry.js} +1 -1
- package/dist/{paperless/p-f18a511c.entry.js → build/p-d21a8908.entry.js} +1 -1
- package/dist/build/{p-749752fa.entry.js → p-d37faeaf.entry.js} +1 -1
- package/dist/build/{p-280c1727.entry.js → p-d5dfbaee.entry.js} +1 -1
- package/dist/build/{p-b005f182.entry.js → p-d7d2411e.entry.js} +1 -1
- package/dist/build/p-ea2deb46.entry.js +1 -0
- package/dist/build/{p-5c08054f.entry.js → p-ec0a6d22.entry.js} +1 -1
- package/dist/build/{p-44d6468b.entry.js → p-ec3752dc.entry.js} +1 -1
- package/dist/build/{p-af9fc40a.entry.js → p-f6ca0e6b.entry.js} +1 -1
- package/dist/build/p-fa06ff98.entry.js +1 -0
- package/dist/{paperless/p-1a373297.entry.js → build/p-fa13f317.entry.js} +1 -1
- package/dist/{paperless/p-501f2f7c.entry.js → build/p-fadcfc9f.entry.js} +1 -1
- package/dist/build/{p-272721bf.entry.js → p-fccb23e5.entry.js} +1 -1
- package/dist/build/{p-3b34c822.entry.js → p-fccf3bf9.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +8 -8
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +12 -10
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +18 -7
- package/dist/cjs/p-empty-state_8.cjs.entry.js +10 -10
- package/dist/cjs/p-field_3.cjs.entry.js +5 -5
- 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-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-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +3 -3
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +50 -8
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +2 -2
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-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.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +17 -6
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +5 -3
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +4 -4
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +72 -10
- package/dist/collection/components/molecules/select/select.stories.js +121 -18
- package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
- package/dist/collection/components/organisms/table/table.component.js +2 -2
- package/dist/components/{p-eGnIeQsr.js → p-1gDAZ8pd.js} +1 -1
- package/dist/components/{p-CjxC_h_X.js → p-4-PxF11o.js} +1 -1
- package/dist/components/{p-DIuIGoBt.js → p-9XjFw7wO.js} +1 -1
- package/dist/components/{p-ZSDx-Rn0.js → p-B0KMsqdv.js} +1 -1
- package/dist/components/{p-FK08Vr2S.js → p-B2Wcsz4j.js} +1 -1
- package/dist/components/{p-yYRVYWXO.js → p-B47sjbpK.js} +1 -1
- package/dist/components/{p--_gjJpd8.js → p-B9klDtR-.js} +1 -1
- package/dist/components/{p-BPCXcEQD.js → p-BDWOQXx7.js} +1 -1
- package/dist/components/p-BG1plx2A.js +1 -0
- package/dist/components/{p-BFTj4F6O.js → p-BJyXdiHc.js} +1 -1
- package/dist/components/{p-VqccwN4a.js → p-Bh3wcvje.js} +1 -1
- package/dist/components/{p-Co4UMOn6.js → p-BmsR-djQ.js} +1 -1
- package/dist/components/{p-Cm3IhOw8.js → p-BobrXbRh.js} +1 -1
- package/dist/components/{p-DS7XBqIp.js → p-BskFLFSo.js} +1 -1
- package/dist/components/{p-CAt4316p.js → p-BvfezQkY.js} +1 -1
- package/dist/components/{p-BswRuxmk.js → p-ByJPQrlL.js} +1 -1
- package/dist/components/{p-CJ7I5BCS.js → p-CPSiExRl.js} +1 -1
- package/dist/components/{p-CUQydYt5.js → p-CQnWpHIs.js} +1 -1
- package/dist/components/{p-CN4ZWAkb.js → p-CSnOLBSV.js} +1 -1
- package/dist/components/{p-CMfdl_TW.js → p-CVR1NJF5.js} +1 -1
- package/dist/components/{p-TtrclAAz.js → p-CZ8afGMO.js} +1 -1
- package/dist/components/p-CZEHKnpM.js +1 -0
- package/dist/components/{p-BksolHpY.js → p-C_ImoJA8.js} +1 -1
- package/dist/components/{p-CTC-N56p.js → p-Cgqav9mX.js} +1 -1
- package/dist/components/{p-1jNdZTKN.js → p-Cmltn24W.js} +1 -1
- package/dist/components/{p-B6PqwbBc.js → p-CpRKUhuF.js} +1 -1
- package/dist/components/{p-D0uXSAIf.js → p-CxrxqKhq.js} +1 -1
- package/dist/components/{p-kdBBVGjg.js → p-D5BA_qF7.js} +1 -1
- package/dist/components/{p-DGoOsLEr.js → p-DHJIvL0U.js} +1 -1
- package/dist/components/{p-D5OXFgvY.js → p-DHKJDm0J.js} +1 -1
- package/dist/components/{p-DixhvrFt.js → p-DaPWhcRy.js} +1 -1
- package/dist/components/{p-B-yfQWzc.js → p-DxuTDs4a.js} +1 -1
- package/dist/components/{p-DfVHhJmL.js → p-HVaovLkY.js} +1 -1
- package/dist/components/{p-BBlYsP5p.js → p-L0a3qALZ.js} +1 -1
- package/dist/components/{p-1qs8jjR4.js → p-V1uzM_gT.js} +1 -1
- package/dist/components/{p-B8iFUPO5.js → p-aAebGiQ0.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-B3Q_nqZE.js → p-bZ3k4UvK.js} +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/{p-DZjtEarb.js → p-c4v-m6AC.js} +1 -1
- package/dist/components/{p-COscyt8q.js → p-c6u4OYf0.js} +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-dropzone.js +1 -1
- package/dist/components/{p-BJFfno38.js → p-eLIgN9FF.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-BmhVEljv.js → p-gEaqH36V.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-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-q5vnW4We.js +1 -0
- 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-submenu-item.js +1 -1
- package/dist/components/p-submenu.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-CQo1Di0o.js → p-yaD47mvt.js} +1 -1
- package/dist/components/{p-Dn13oSNs.js → p-zBwPEKhI.js} +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +8 -8
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox_3.entry.js +12 -10
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-dropdown-menu-item_2.entry.js +18 -7
- package/dist/esm/p-empty-state_8.entry.js +10 -10
- package/dist/esm/p-field_3.entry.js +5 -5
- 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-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-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +3 -3
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +50 -8
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +5 -5
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +2 -2
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/p-014ef0e1.entry.js +1 -0
- package/dist/paperless/{p-57c5bf0c.entry.js → p-017b3759.entry.js} +1 -1
- package/dist/paperless/{p-d2ff359e.entry.js → p-02a54f77.entry.js} +1 -1
- package/dist/{build/p-4cd8035a.entry.js → paperless/p-055b6209.entry.js} +1 -1
- package/dist/{build/p-6ed7ef6a.entry.js → paperless/p-1a26edba.entry.js} +1 -1
- package/dist/{build/p-34ec6b9b.entry.js → paperless/p-1a424b04.entry.js} +1 -1
- package/dist/paperless/{p-0cf2c5f5.entry.js → p-2248e489.entry.js} +1 -1
- package/dist/{build/p-e922cb1f.entry.js → paperless/p-2361ad53.entry.js} +1 -1
- package/dist/paperless/{p-e20e6aa3.entry.js → p-24db0c8f.entry.js} +1 -1
- package/dist/paperless/{p-48be5f53.entry.js → p-2efedc3d.entry.js} +1 -1
- package/dist/{build/p-9079dcb7.entry.js → paperless/p-31cf13c6.entry.js} +1 -1
- package/dist/paperless/p-3915cbd5.entry.js +1 -0
- package/dist/paperless/p-3eb1d7d5.entry.js +1 -0
- package/dist/paperless/{p-b1e6c746.entry.js → p-45176955.entry.js} +1 -1
- package/dist/paperless/{p-2e53d921.entry.js → p-51312a8f.entry.js} +1 -1
- package/dist/{build/p-2ebc600b.entry.js → paperless/p-555cb497.entry.js} +1 -1
- package/dist/paperless/p-571575d2.entry.js +1 -0
- package/dist/paperless/{p-38056598.entry.js → p-65466ef3.entry.js} +1 -1
- package/dist/paperless/{p-d5365ce3.entry.js → p-6a23ff2f.entry.js} +1 -1
- package/dist/{build/p-45b9a446.entry.js → paperless/p-6ac8c0c1.entry.js} +1 -1
- package/dist/{build/p-b8caedf6.entry.js → paperless/p-7c8ec514.entry.js} +1 -1
- package/dist/paperless/{p-2ce0c175.entry.js → p-7cd7bc8b.entry.js} +1 -1
- package/dist/{build/p-1b50f01d.entry.js → paperless/p-8c141cb8.entry.js} +1 -1
- package/dist/{build/p-b316ecff.entry.js → paperless/p-92910dad.entry.js} +1 -1
- package/dist/paperless/{p-020124fe.entry.js → p-9f684244.entry.js} +1 -1
- package/dist/paperless/{p-b1a372fc.entry.js → p-a035467d.entry.js} +1 -1
- package/dist/paperless/p-a395e9e0.entry.js +1 -0
- package/dist/{build/p-4851ac96.entry.js → paperless/p-b190b534.entry.js} +1 -1
- package/dist/paperless/{p-25842006.entry.js → p-b75ded13.entry.js} +1 -1
- package/dist/{build/p-477801df.entry.js → paperless/p-bdab91d9.entry.js} +1 -1
- package/dist/paperless/{p-561a4d56.entry.js → p-ce56d534.entry.js} +1 -1
- package/dist/{build/p-f18a511c.entry.js → paperless/p-d21a8908.entry.js} +1 -1
- package/dist/paperless/{p-749752fa.entry.js → p-d37faeaf.entry.js} +1 -1
- package/dist/paperless/{p-280c1727.entry.js → p-d5dfbaee.entry.js} +1 -1
- package/dist/paperless/{p-b005f182.entry.js → p-d7d2411e.entry.js} +1 -1
- package/dist/paperless/p-ea2deb46.entry.js +1 -0
- package/dist/paperless/{p-5c08054f.entry.js → p-ec0a6d22.entry.js} +1 -1
- package/dist/paperless/{p-44d6468b.entry.js → p-ec3752dc.entry.js} +1 -1
- package/dist/paperless/{p-af9fc40a.entry.js → p-f6ca0e6b.entry.js} +1 -1
- package/dist/paperless/p-fa06ff98.entry.js +1 -0
- package/dist/{build/p-1a373297.entry.js → paperless/p-fa13f317.entry.js} +1 -1
- package/dist/{build/p-501f2f7c.entry.js → paperless/p-fadcfc9f.entry.js} +1 -1
- package/dist/paperless/{p-272721bf.entry.js → p-fccb23e5.entry.js} +1 -1
- package/dist/paperless/{p-3b34c822.entry.js → p-fccf3bf9.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/atoms/dropdown-menu/item/dropdown-menu-item.component.d.ts +1 -1
- package/dist/types/components/molecules/select/select.component.d.ts +14 -2
- package/dist/types/components/molecules/select/select.stories.d.ts +45 -3
- package/dist/types/components.d.ts +27 -4
- package/hydrate/index.js +180 -125
- package/hydrate/index.mjs +180 -125
- package/package.json +1 -1
- package/dist/build/p-4b7ac676.entry.js +0 -1
- package/dist/build/p-5d58a880.entry.js +0 -1
- package/dist/build/p-70071176.entry.js +0 -1
- package/dist/build/p-73102cbf.entry.js +0 -1
- package/dist/build/p-92259edb.entry.js +0 -1
- package/dist/build/p-9ac5f80b.entry.js +0 -1
- package/dist/build/p-ce15940f.entry.js +0 -1
- package/dist/components/p-4-EYCe-6.js +0 -1
- package/dist/components/p-CUMk7xBX.js +0 -1
- package/dist/components/p-bTOCGgU2.js +0 -1
- package/dist/paperless/p-4b7ac676.entry.js +0 -1
- package/dist/paperless/p-5d58a880.entry.js +0 -1
- package/dist/paperless/p-70071176.entry.js +0 -1
- package/dist/paperless/p-73102cbf.entry.js +0 -1
- package/dist/paperless/p-92259edb.entry.js +0 -1
- package/dist/paperless/p-9ac5f80b.entry.js +0 -1
- package/dist/paperless/p-ce15940f.entry.js +0 -1
|
@@ -70,11 +70,11 @@ const EmptyState = class {
|
|
|
70
70
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
71
71
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
72
72
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
73
|
-
return (h(ThemedHost, { key: '
|
|
73
|
+
return (h(ThemedHost, { key: 'd84ee5a8579403223bb5cfe7bdec07866b47f8ff' }, h("div", { key: 'd973a6e27f7e87f162b01f5f8762fd5a3e421f7b', class: emptyState({
|
|
74
74
|
enableAction: asBoolean(this.enableAction, true),
|
|
75
75
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
76
76
|
? this.action.emit(ev)
|
|
77
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '
|
|
77
|
+
: undefined }, this.illustration && (h("p-illustration", { key: '1fabcdf5a64f7162d0485665c273b3bacc6a7a4e', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
|
|
78
78
|
(hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -245,7 +245,7 @@ const TableContainer = class {
|
|
|
245
245
|
registerInstance(this, hostRef);
|
|
246
246
|
}
|
|
247
247
|
render() {
|
|
248
|
-
return (h(Host, { key: '
|
|
248
|
+
return (h(Host, { key: 'b9d7f44f21b11338c133bcd9c49de1a6a3da7587', class: container() }, h("slot", { key: '5e7f9650d045b9b46d8c3357dd4f23f5eedbbc2c' })));
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
TableContainer.style = tableContainerComponentCss();
|
|
@@ -10000,13 +10000,13 @@ const TableHeader = class {
|
|
|
10000
10000
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
10001
10001
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
10002
10002
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
10003
|
-
return (h(ThemedHost, { key: '
|
|
10004
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
10003
|
+
return (h(ThemedHost, { key: '06a91f32ec37d93fcc345d1ffce3d32546085e84' }, h("div", { key: '527d621bb567945dc57716480245847f4045bb02', class: header() }, this.loading && (h("p-loader", { key: '48ddfce44e02e54cba2d5fa11f3195caefa6238d', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
10004
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '594afb205bb8acbfcfe9a6090bbdf3b3feada9d7', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && h("slot", { key: '31db5507e955eb9fcc954b8a4df5a46c93f30569', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: 'c2ba9983ea0869a9bc9a7d6ed1fe37a2a7dc8bec', class: cn({
|
|
10005
10005
|
'hidden desktop-xs:flex': this.hideQuickFiltersOnMobile,
|
|
10006
10006
|
flex: !this.hideQuickFiltersOnMobile,
|
|
10007
10007
|
}) }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
10008
10008
|
? item.text
|
|
10009
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
10009
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '5f2ef9e242bca379a09467f7efd2c4266d8366ba', 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: '10d8e0955ee7e875f3b117b31e4e904ab68a0a6c', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: 'd199785614619a10681df3c823dd45a10c1245b5', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: 'ec3008c046c8d164027ca4ae6aaa9365cd815b1a', class: `
|
|
10010
10010
|
w-full
|
|
10011
10011
|
${this.enableFilterDesktop
|
|
10012
10012
|
? 'desktop-xs:w-auto'
|
|
@@ -10014,7 +10014,7 @@ const TableHeader = class {
|
|
|
10014
10014
|
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
10015
10015
|
? this.filterButtonTemplate()
|
|
10016
10016
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
10017
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
10017
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '9a063d3dbf6a9baf405c56d12cdbfc599ea77bd7', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (h("p-button", { key: '95628448d5455954bd31c42b81fd64278de30ba9', 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: 'd0355fc9a41a71f5de380b2c5c948ca7f43afd06', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: '6ca4d73e0c62937a8084c1862ba102e1027b026d', 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))))));
|
|
10018
10018
|
}
|
|
10019
10019
|
async _setLocales() {
|
|
10020
10020
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -10178,16 +10178,16 @@ const TableRowActionsContainer = class {
|
|
|
10178
10178
|
*/
|
|
10179
10179
|
checked = false;
|
|
10180
10180
|
render() {
|
|
10181
|
-
return (h(ThemedHost, { key: '
|
|
10181
|
+
return (h(ThemedHost, { key: 'c44d458c5c90a54a179f7b58f9db306d31bf9d05' }, h("div", { key: 'c8290412592c8cf51c19e78287b7cccf0744276f', class: cn(`
|
|
10182
10182
|
flex
|
|
10183
10183
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
10184
10184
|
`, {
|
|
10185
10185
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10186
10186
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10187
|
-
}) }, h("div", { key: '
|
|
10187
|
+
}) }, h("div", { key: '1a1a07d586b461606e39976a5c68240b6feae2e4', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10188
10188
|
'dark:bg-hurricane-600': !this.checked,
|
|
10189
10189
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10190
|
-
}) }, h("slot", { key: '
|
|
10190
|
+
}) }, h("slot", { key: 'be144a40603d355ecc6eea9c5d410437ad8654eb' })))));
|
|
10191
10191
|
}
|
|
10192
10192
|
};
|
|
10193
10193
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|
|
@@ -388,8 +388,8 @@ const Field = class {
|
|
|
388
388
|
}
|
|
389
389
|
render() {
|
|
390
390
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
391
|
-
return (h(ThemedHost, { key: '
|
|
392
|
-
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '
|
|
391
|
+
return (h(ThemedHost, { key: 'b251e9ed78735fc141963abe577696100e973d37' }, h("p-field-container", { key: '7f9e06a6e2904f43404fb93b886e4e0918b5a862', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
392
|
+
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: 'bc559fcf5b77ff3b87120eb52fd0e3dd14e1b912', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '1b87bb5d34f429f9319632f14c12b28f8e76cf1a', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'a6a461f45d58d76b1ef0f6b3e013d699e72dbf49', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'b3947ba2b86f3b776178288e4946eb11e3efe3f2', name: 'error', slot: 'error' })), h("div", { key: 'aaed5d10a79306e400128254b9ca4c132cd06088', class: field({
|
|
393
393
|
error: !!this.error?.length,
|
|
394
394
|
disabled: asBoolean(this.disabled),
|
|
395
395
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -400,7 +400,7 @@ const Field = class {
|
|
|
400
400
|
? `${this.value}`
|
|
401
401
|
: undefined }, (this.error?.length ||
|
|
402
402
|
prefix ||
|
|
403
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
403
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: 'e516c3533d88e87a601d9c97504100687d6f30da', class: prefixAndSuffix({
|
|
404
404
|
variant: this.variant,
|
|
405
405
|
error: !!this.error?.length,
|
|
406
406
|
disabled: asBoolean(this.disabled),
|
|
@@ -412,7 +412,7 @@ const Field = class {
|
|
|
412
412
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
413
413
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
414
414
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
415
|
-
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
415
|
+
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '62fcd0427be492bd46faeafd2a35b0df447bebac', class: cn(prefixAndSuffix({
|
|
416
416
|
variant: this.variant,
|
|
417
417
|
error: !!this.error?.length,
|
|
418
418
|
disabled: asBoolean(this.disabled),
|
|
@@ -748,7 +748,7 @@ const Helper = class {
|
|
|
748
748
|
*/
|
|
749
749
|
placement = 'top';
|
|
750
750
|
render() {
|
|
751
|
-
return (h(ThemedHost, { key: '
|
|
751
|
+
return (h(ThemedHost, { key: 'b63e0253d99ac51775535f05aa519d1a6a42ad2d' }, h("p-tooltip", { key: 'ea8f71109cf86aae1f4c8a8a48a05cfee7750128', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: '7dc8a4bfacabe6f0c1e3bbb2c8567291f0eb59d9', 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' }), h("div", { key: '65139beed237901ae13144f3cfa492ea114d18aa', slot: 'content' }, h("slot", { key: '4400d09c93022e197954ac3044212ccd6769e631' })))));
|
|
752
752
|
}
|
|
753
753
|
};
|
|
754
754
|
Helper.style = helperComponentCss();
|
|
@@ -99,10 +99,10 @@ const FloatingMenuItem = class {
|
|
|
99
99
|
*/
|
|
100
100
|
iconRotate;
|
|
101
101
|
render() {
|
|
102
|
-
return (h(ThemedHost, { key: '
|
|
102
|
+
return (h(ThemedHost, { key: '0c93fdbe76467e5216ab1ef549141d4dc1679361', class: item({
|
|
103
103
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
104
104
|
disabled: asBoolean(this.disabled),
|
|
105
|
-
}) }, this._getIcon(), h("p", { key: '
|
|
105
|
+
}) }, this._getIcon(), h("p", { key: '240658eacb742df93523ae7387f73f468a3c4713', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, h("slot", { key: '47c649696fe196f4802c28cd90d43fb1ef4022c6' }))));
|
|
106
106
|
}
|
|
107
107
|
_getIcon() {
|
|
108
108
|
if (!this.icon && !this.loading) {
|
|
@@ -223,7 +223,7 @@ const Illustration = class {
|
|
|
223
223
|
render() {
|
|
224
224
|
const illustration = illustrations[this.variant];
|
|
225
225
|
const hasSize = [...this._el.classList.values()].some(val => val.match(/text-(xs|sm|base|lg|[2-79|]?xl)/));
|
|
226
|
-
return (h(Host, { key: "
|
|
226
|
+
return (h(Host, { key: "3d7db522fb4b40e5e43a6d4e3313f7517dcbab78", class: cn("block", { "text-8xl": !hasSize }), innerHTML: illustration }));
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
Illustration.style = '.block{display:block}.text-8xl{font-size:6rem;line-height:1}*{box-sizing:border-box}';
|
|
@@ -101,9 +101,9 @@ const InfoPanel = class {
|
|
|
101
101
|
render() {
|
|
102
102
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
103
103
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
104
|
-
return (h(ThemedHost, { key: '
|
|
104
|
+
return (h(ThemedHost, { key: 'fa8b2362ac66e163f95f87a50c0543701b05515e' }, h("div", { key: 'cc456661b94850b4f597c841c50b6484c7dbb6bf', class: infopanel({
|
|
105
105
|
variant: this.variant,
|
|
106
|
-
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: '
|
|
106
|
+
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: 'e51d62744232b1ef4f9ce8625de2448ee1991e98', class: header({ variant: this.variant }) }, this.header?.length ? (h("p", { class: 'my-0' }, this.header)) : (h("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (h("div", { key: 'f31d3fc0d74a55d2c869d6fe2fcacf5eba49d33a', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (h("p", { class: 'my-0' }, this.content)) : (h("slot", { name: 'content' })))), this.closeable && (h("div", { key: '1753ce86c9507c11cd44988fb6c7c1d52f5b9cc9', class: close(), onClick: () => this._close() }, h("p-icon", { key: '09413891e7d46b473719f43238530eca19237886', variant: 'negative' }))))));
|
|
107
107
|
}
|
|
108
108
|
_close() {
|
|
109
109
|
this.closed.emit();
|
|
@@ -16,7 +16,7 @@ const Layout = class {
|
|
|
16
16
|
*/
|
|
17
17
|
scroll;
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '4e9f6ba8ae2c1208a1864aa7260e239568b014f4', class: 'variant-' + this.variant }, h("div", { key: '2a1c0365623d826cc205b90ef30288360b7671a9', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: '9cf15b7e4e8be08d12c56ae528b6563f9a182bf3', class: 'inner-content' }, h("slot", { key: '4984b5e8d54796a034bdd4a8e4456fc4f7165db9', name: 'content' })), h("slot", { key: '415848713245f95cec4f9a502d69de7f60f2fdee', name: 'outer-content' })), h("div", { key: '6e1220bc508390a73e66e427aabe671298e61ba5', class: 'sidebar' }, h("slot", { key: '7cf4121178f4ce27bd4daa5049b8de163a110c42', name: 'sidebar' })), h("div", { key: 'a0b6e908d836de40d25efccd6e0b67761ea6f6e8', class: 'topbar' }, h("slot", { key: '201f1660af0b70f65fd1906efdcbf7dbead32667', name: 'topbar' }))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
Layout.style = layoutComponentCss();
|
|
@@ -13,7 +13,7 @@ const ListingItem = class {
|
|
|
13
13
|
*/
|
|
14
14
|
icon = 'placeholder';
|
|
15
15
|
render() {
|
|
16
|
-
return (h(ThemedHost, { key: '
|
|
16
|
+
return (h(ThemedHost, { key: 'cfa5a0d4f4dad18e4ae4a7e036ff730522629c4e' }, h("div", { key: '1b76a863ce0dee48b0c1bb7f46ed40a73a09bf1f', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, h("p-icon", { key: '52c3277ddb13ff14890621690339aae82adf4127', variant: this.icon }), h("div", { key: '39a44d9a56d437d0df60c70bdc3fd111b11deef0', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: '58b5c28e004e8a2215729aba011d401f4cccd0b2' })))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
ListingItem.style = listingItemComponentCss();
|
|
@@ -9,7 +9,7 @@ const ListingLine = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return h(ThemedHost, { key: '
|
|
12
|
+
return h(ThemedHost, { key: 'ec0c128de06a5233bde9ab89d85b95b566057b17' });
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
ListingLine.style = listingLineComponentCss();
|
|
@@ -41,10 +41,10 @@ const ModalBody = class {
|
|
|
41
41
|
*/
|
|
42
42
|
roundedTop = false;
|
|
43
43
|
render() {
|
|
44
|
-
return (h(ThemedHost, { key: '
|
|
44
|
+
return (h(ThemedHost, { key: '395d3d4226a745b8e08bb31af2580ae4a3b108b8' }, h("div", { key: '439cf3edbb488f992b0da61c36d7286c725ff381', class: body({
|
|
45
45
|
roundedBottom: this.roundedBottom,
|
|
46
46
|
roundedTop: this.roundedTop,
|
|
47
|
-
}) }, h("slot", { key: '
|
|
47
|
+
}) }, h("slot", { key: '3e548ce7d73dba49bafd8903d192993873e55bb7' }))));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
ModalBody.style = modalBodyComponentCss();
|
|
@@ -96,10 +96,10 @@ const ModalContainer = class {
|
|
|
96
96
|
*/
|
|
97
97
|
closing = false;
|
|
98
98
|
render() {
|
|
99
|
-
return (h(ThemedHost, { key: '
|
|
99
|
+
return (h(ThemedHost, { key: 'c0003ea54c95f062956e6f6e2b85ee33f00c75f8' }, h("div", { key: 'c212251e79b83d6664be5571932b514ae0b90561', class: container({
|
|
100
100
|
size: this.size,
|
|
101
101
|
closing: asBoolean(this.closing),
|
|
102
|
-
}) }, h("slot", { key: '
|
|
102
|
+
}) }, h("slot", { key: '04a2ed4e5722919c8f5ee25efb80cf69679aa502' }))));
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
ModalContainer.style = modalContainerComponentCss();
|
|
@@ -111,7 +111,7 @@ const ModalFooter = class {
|
|
|
111
111
|
registerInstance(this, hostRef);
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
|
-
return (h(ThemedHost, { key: '
|
|
114
|
+
return (h(ThemedHost, { key: '85c9bb8e9e82d79397308ff489feed751ed2cf9f' }, h("div", { key: '8cdae34b855a85788a227de5b667b8a137f0a5d7', 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 ' }, h("p-divider", { key: 'b626fa811cb56998646bcdf5a97a4c74609a176c', class: '\n mb-4 hidden text-off-white-700\n desktop-xs:inline-block\n dark:text-white/10\n ' }), h("div", { key: '558020c9ed341db6ce8152a257182d348c6b3243', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, h("slot", { key: '713e1f17ac9d1e1b1014970186de186f66c119ed' })))));
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
ModalFooter.style = modalFooterComponentCss();
|
|
@@ -149,7 +149,7 @@ const ModalHeader = class {
|
|
|
149
149
|
*/
|
|
150
150
|
close;
|
|
151
151
|
render() {
|
|
152
|
-
return (h(ThemedHost, { key: '
|
|
152
|
+
return (h(ThemedHost, { key: '97caa936e4889d57114e0deb6cb9aab42b57d39a' }, h("div", { key: 'faf2c5cd48a110ce0178bd35fc8d492826e3ec01', class: header() }, h("div", { key: '900c3509a088ae27a6875685ad0d0df2402f365e', class: content() }, h("div", { key: 'e4bff0e4059cba5f268a81c95d1d32f3b0625091', class: title() }, h("slot", { key: '6be2bc231cc90b3babd0fdcc99277520a3ea55de' })), this.showClose && (h("p-button", { key: '9d1ad44be49ad87b892b55dfa0b8e0421ff2ea05', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: '65e23f75390ad8d37f4c5d360c572d1cf6b582ce', class: 'dark:text-hurricane-400' }))));
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
ModalHeader.style = modalHeaderComponentCss();
|
|
@@ -96,13 +96,13 @@ const NavigationItem = class {
|
|
|
96
96
|
render() {
|
|
97
97
|
const TagType = this.as;
|
|
98
98
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
99
|
-
return (h(ThemedHost, { key: '
|
|
99
|
+
return (h(ThemedHost, { key: '9dbc90d066c5c8af033baeadfd56b0d6fc97b8e8', class: cn('inline-block', this.class) }, h(TagType, { key: '54794c49462a1695aa7ab2aac1798ebd7e659775', class: navigationItem({
|
|
100
100
|
icon: !!this.icon,
|
|
101
101
|
active,
|
|
102
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
102
|
+
}), href: this.href, target: this.target }, h("div", { key: 'a64642008da3eb90fabef41ff4f7849bd5990769', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '5717e6bab1ccaff30409cdc470a5e26c0453abc3', variant: this.icon })), h("span", { key: '10724de271347188676041a4d3d34abda19570fe', class: cn({
|
|
103
103
|
'has-counter': !!this.counter,
|
|
104
104
|
'w-full': this.applyFullWidth,
|
|
105
|
-
}) }, h("slot", { key: '
|
|
105
|
+
}) }, h("slot", { key: 'c28eb7ba26a618dcd80cfb53a9b6e99f202be44c' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '3c75ef84bea0f90c136544c30aa32bc3bb5de311' }, this.counter)), !!this.loading && h("p-loader", { key: '0039f85358dcdd014ba98415256dc49be0daf366', class: 'ml-auto' }))));
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
NavigationItem.style = navigationItemComponentCss();
|
|
@@ -13,7 +13,7 @@ const NavigationSection = class {
|
|
|
13
13
|
*/
|
|
14
14
|
header;
|
|
15
15
|
render() {
|
|
16
|
-
return (h(ThemedHost, { key: '
|
|
16
|
+
return (h(ThemedHost, { key: 'a0ca4e59eecc786d21f19b5cf19109ff2ecff9c2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '2c01baaaff7f298d2589c62571cc765c885c7c21' }, this.header)), h("div", { key: 'e92d1f46d8fb376f93097bb29d47983055d0657d', class: 'flex flex-col' }, h("slot", { key: '6e68b9723d5ae4f738c3f56d6c8c73fbb824e497' }))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
NavigationSection.style = navigationSectionComponentCss();
|
|
@@ -9,7 +9,7 @@ const NavigationTitle = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(ThemedHost, { key: '
|
|
12
|
+
return (h(ThemedHost, { key: 'db765d63fa61955fee0327c9e26a256503e0399a', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, h("slot", { key: '8f4663dd7b3ded8623cba86f0d57b219a037722d' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NavigationTitle.style = navigationTitleComponentCss();
|
|
@@ -75,12 +75,12 @@ const Pagination = class {
|
|
|
75
75
|
_hasPaginationPages = true;
|
|
76
76
|
render() {
|
|
77
77
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
78
|
-
return (h(ThemedHost, { key: '
|
|
78
|
+
return (h(ThemedHost, { key: 'a5a07358c2ab6751f4d101c6001765984338c0f5' }, h("div", { key: 'f56d13ec01851b1342129c1f815b85d5ee2ca536', class: pagination$1({
|
|
79
79
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
80
80
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
81
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '
|
|
81
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '76d975d6c125a8f396a02f09fae593693fa2beda' }, h("p-pagination-size", { key: 'ded600f766ad55ad0c191bf1e87796176c6dd395', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
82
82
|
this.hideOnSinglePage &&
|
|
83
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
83
|
+
this._hasPaginationPages && (h("p-divider", { key: '624f38b4cab761accfca28f4ced270449c6f0a7d', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'cd4a6b794c6a2ff43904b1f718555a3a9752b843', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
84
84
|
this._hasPaginationPages = detail > 1;
|
|
85
85
|
this.pagesChange.emit(detail);
|
|
86
86
|
} })))));
|
|
@@ -33,7 +33,7 @@ const Profile = class {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const content = this._getContent();
|
|
36
|
-
return (h(ThemedHost, { key: '
|
|
36
|
+
return (h(ThemedHost, { key: 'acfcfd3ddb3bae8247f1df99884ac155be45aa86' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
37
37
|
}
|
|
38
38
|
slotchange() {
|
|
39
39
|
this._checkDropdownSlot();
|
|
@@ -134,11 +134,11 @@ const Radio = class {
|
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
const id = this.id?.length ? this.id : this._nonce;
|
|
137
|
-
return (h(ThemedHost, { key: '
|
|
137
|
+
return (h(ThemedHost, { key: 'effd0968a1cbf7cd31c3441ccad232da43899206' }, h("label", { key: 'ecc285e8a369fe4ffc0eb91d1ee26f6088f4f0d0', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'e7299013f6fde79c2062184fa7cbcede4d287085', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '5acb3ad3aaa5892fce873f0a6554391d5f2a243e', checked: this.checked, class: radio({
|
|
138
138
|
disabled: asBoolean(this.disabled),
|
|
139
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
139
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: '985c47508adad40649472553d66e7b368894be15', class: circle({
|
|
140
140
|
disabled: asBoolean(this.disabled),
|
|
141
|
-
}) })), h("div", { key: '
|
|
141
|
+
}) })), h("div", { key: '9bc44d293acd42a224c718bd785b472170c7c6be', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '4a845cff3b2680c3a6bbf85661a19b0eb70e004a' })))));
|
|
142
142
|
}
|
|
143
143
|
_onChange(ev) {
|
|
144
144
|
if (asBoolean(this.disabled)) {
|
|
@@ -31,13 +31,13 @@ const Range = class {
|
|
|
31
31
|
valueChange;
|
|
32
32
|
render() {
|
|
33
33
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
34
|
-
return (h(ThemedHost, { key: '
|
|
34
|
+
return (h(ThemedHost, { key: 'fd0a731e7d20e593d1065248f50db452b17ee1cb' }, h("div", { key: 'ff11a123161008ab1df2ecd6409d36930a2caeac', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '1728a242b890cd3396f46b1dbfe4b91293e0e11d', variant: 'minus' }), h("div", { key: 'cfb6620df8ad9b2dfe66334ebd931d3384b7523a', class: 'relative h-6 flex-1' }, h("input", { key: '0ac09cea4ef3f55a96f19216e2826620bdbc33d4', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
35
35
|
const value = ev.target.value;
|
|
36
36
|
this.value = Number.parseFloat(value);
|
|
37
37
|
this.valueChange.emit(value);
|
|
38
|
-
} }), h("div", { key: '
|
|
38
|
+
} }), h("div", { key: '9e5bc94ed20c00fcb15f1d973828feb910e0bbfc', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
39
39
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
40
|
-
} })), h("p-icon", { key: '
|
|
40
|
+
} })), h("p-icon", { key: 'df9f96eb46d92d02777bbb0bc9e58f6cf0d21ca7', variant: 'plus' }))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
Range.style = rangeComponentCss();
|
|
@@ -63,6 +63,7 @@ const Select = class {
|
|
|
63
63
|
this.valueChange = createEvent(this, "valueChange", 3);
|
|
64
64
|
this.selectAllChange = createEvent(this, "selectAllChange", 3);
|
|
65
65
|
this.dropdownShown = createEvent(this, "dropdownShown", 3);
|
|
66
|
+
this.itemHover = createEvent(this, "itemHover", 3);
|
|
66
67
|
this.add = createEvent(this, "add", 3);
|
|
67
68
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
68
69
|
this._internals = hostRef.$hostElement$["s-ei"];
|
|
@@ -216,6 +217,10 @@ const Select = class {
|
|
|
216
217
|
* Event when the dropdown shows
|
|
217
218
|
*/
|
|
218
219
|
dropdownShown;
|
|
220
|
+
/**
|
|
221
|
+
* Event when hovering an item
|
|
222
|
+
*/
|
|
223
|
+
itemHover;
|
|
219
224
|
/**
|
|
220
225
|
* The size of the input group used by the select
|
|
221
226
|
*/
|
|
@@ -359,8 +364,8 @@ const Select = class {
|
|
|
359
364
|
if (this.error?.length) {
|
|
360
365
|
buttonIcon = 'warning';
|
|
361
366
|
}
|
|
362
|
-
return (h(ThemedHost, { key: '
|
|
363
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
367
|
+
return (h(ThemedHost, { key: 'b23bf53949366811ec68b34250ddd36d3d86efc0' }, h("p-field-container", { key: '1429705940cd1ec6f88d28be966273731f6e4f4e', error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, label: this.label, prefix: this.prefix, required: this.required, showOptional: this.showOptional, variant: 'write' }, h("p-dropdown", { key: 'd006fc242b99db8979509be0eaf2aba96d6a5051', applyChevron: false, applyFullWidth: true, applyMaxWidth: false, "disable-trigger-click": this.disabled, insideClick: true, manual: true, manualChevron: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, slot: 'content', strategy: this.strategy, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-button", { key: '6bf30b07753477e8ce4ff9f60d739c71f1ab3388', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
368
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: 'b940d807179e88c328366bcc671eaf467736ed38', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
364
369
|
}
|
|
365
370
|
documentClickHandler(event) {
|
|
366
371
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -411,6 +416,9 @@ const Select = class {
|
|
|
411
416
|
}
|
|
412
417
|
if (!this._selectedItem && !value && this.autoSelectFirst) {
|
|
413
418
|
value = this._items[0];
|
|
419
|
+
if (value?.type === 'category') {
|
|
420
|
+
value = this._items[1];
|
|
421
|
+
}
|
|
414
422
|
}
|
|
415
423
|
const identifier = typeof value === 'object' && value !== null
|
|
416
424
|
? value[this._identifierKey]
|
|
@@ -512,12 +520,20 @@ const Select = class {
|
|
|
512
520
|
.indexOf(this.query?.toLowerCase()) >= 0);
|
|
513
521
|
}
|
|
514
522
|
_getItems() {
|
|
515
|
-
let items = this._items.map(item => {
|
|
523
|
+
let items = this._items.map((item, index) => {
|
|
524
|
+
if (item.type === 'category') {
|
|
525
|
+
return (h("p-dropdown-menu-item", { slot: 'items', useContainer: false, variant: 'category' }, item.text));
|
|
526
|
+
}
|
|
516
527
|
const isSelected = this.multi && !!this._selectedItem && Array.isArray(this._selectedItem)
|
|
517
528
|
? this._selectedItem.some(i => i[this._identifierKey] === item[this._identifierKey])
|
|
518
529
|
: item[this._identifierKey] ===
|
|
519
530
|
this._selectedItem?.[this._identifierKey];
|
|
520
|
-
return (h("p-dropdown-menu-item", { active: isSelected, checkbox: this.multi ? true : false, enableTextWrap: this.enableTextWrap, slot: 'items', useContainer: false, onClick: () => this._selectValue(item)
|
|
531
|
+
return (h("p-dropdown-menu-item", { active: isSelected, checkbox: this.multi ? true : false, enableTextWrap: this.enableTextWrap, slot: 'items', useContainer: false, onClick: () => this._selectValue(item), onMouseEnter: event => this.itemHover.emit({
|
|
532
|
+
event,
|
|
533
|
+
ref: event.target,
|
|
534
|
+
item,
|
|
535
|
+
index,
|
|
536
|
+
}) }, this._getDisplay(item, false, isSelected)));
|
|
521
537
|
});
|
|
522
538
|
if (this._items.length === 0 && !this.showAddItem) {
|
|
523
539
|
items = [
|
|
@@ -637,7 +653,29 @@ const Select = class {
|
|
|
637
653
|
if (!this.items || this.loading) {
|
|
638
654
|
return [];
|
|
639
655
|
}
|
|
640
|
-
let items =
|
|
656
|
+
let items = this.items;
|
|
657
|
+
if (typeof this.items === 'string') {
|
|
658
|
+
items = JSON.parse(this.items);
|
|
659
|
+
}
|
|
660
|
+
if (typeof items === 'object' && !Array.isArray(items)) {
|
|
661
|
+
const categorizedItems = [];
|
|
662
|
+
for (const key in items) {
|
|
663
|
+
let itemsInCat = items[key];
|
|
664
|
+
if (typeof items[key]?.[0] === 'string') {
|
|
665
|
+
this.displayKey = 'text';
|
|
666
|
+
this.valueKey = 'value';
|
|
667
|
+
itemsInCat = items[key].map(str => ({
|
|
668
|
+
value: str,
|
|
669
|
+
text: str,
|
|
670
|
+
}));
|
|
671
|
+
}
|
|
672
|
+
categorizedItems.push({
|
|
673
|
+
type: 'category',
|
|
674
|
+
text: key,
|
|
675
|
+
}, ...itemsInCat);
|
|
676
|
+
}
|
|
677
|
+
items = categorizedItems;
|
|
678
|
+
}
|
|
641
679
|
if (typeof items?.[0] === 'string') {
|
|
642
680
|
this.displayKey = 'text';
|
|
643
681
|
this.valueKey = 'value';
|
|
@@ -646,8 +684,12 @@ const Select = class {
|
|
|
646
684
|
text: str,
|
|
647
685
|
}));
|
|
648
686
|
}
|
|
687
|
+
let parsedItems = items;
|
|
649
688
|
if (this.query?.length && !this.asyncFilter) {
|
|
650
|
-
|
|
689
|
+
parsedItems = parsedItems.filter(item => {
|
|
690
|
+
if (item.type === 'category') {
|
|
691
|
+
return true;
|
|
692
|
+
}
|
|
651
693
|
if (this.queryKey) {
|
|
652
694
|
return this._checkvalue(this.queryKey, item);
|
|
653
695
|
}
|
|
@@ -656,9 +698,9 @@ const Select = class {
|
|
|
656
698
|
});
|
|
657
699
|
}
|
|
658
700
|
if (!applyPagination) {
|
|
659
|
-
return
|
|
701
|
+
return parsedItems;
|
|
660
702
|
}
|
|
661
|
-
return
|
|
703
|
+
return parsedItems?.slice(0, this.maxDisplayedItems);
|
|
662
704
|
}
|
|
663
705
|
static get formAssociated() { return true; }
|
|
664
706
|
static get watchers() { return {
|
|
@@ -52,7 +52,7 @@ const Smile = class {
|
|
|
52
52
|
*/
|
|
53
53
|
variant = 'modal';
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '3451f7cd02efc1f172915d8f0556daa248d26a59', class: smile({ variant: this.variant }) }, h("div", { key: '7fef3c83f69ddabb4037ac5e143162a432276c67', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
Smile.style = smileComponentCss();
|
|
@@ -217,21 +217,21 @@ const StepperItem = class {
|
|
|
217
217
|
*/
|
|
218
218
|
active = false;
|
|
219
219
|
render() {
|
|
220
|
-
return (h(ThemedHost, { key: '
|
|
220
|
+
return (h(ThemedHost, { key: 'f6e0975e555482bb9d7084a04a1d3543a14506c0' }, h("div", { key: '83a55a58b2e4cd7654e548a83ee460022076fadd', class: item({
|
|
221
221
|
align: this.variant === 'default' ? this.align : 'center',
|
|
222
222
|
contentPosition: this.contentPosition,
|
|
223
|
-
}) }, h("div", { key: '
|
|
223
|
+
}) }, h("div", { key: 'c4ed8f04cc1543139095c8b5d8df396a4d574be9', class: circle({
|
|
224
224
|
align: this.align,
|
|
225
225
|
direction: this.direction,
|
|
226
226
|
active: asBoolean(this.active),
|
|
227
227
|
finished: asBoolean(this.finished),
|
|
228
228
|
variant: this.variant,
|
|
229
|
-
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (h("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), h("div", { key: '
|
|
229
|
+
}) }, this.variant === 'icon' && (this.icon || this.finished) ? (h("p-icon", { variant: this.finished ? 'checkmark' : this.icon })) : (this.number)), h("div", { key: '6836d3a6900c78d9e398cf54cc90ec9c55e97fa3', class: content({
|
|
230
230
|
active: asBoolean(this.active),
|
|
231
231
|
finished: asBoolean(this.finished),
|
|
232
232
|
direction: this.direction,
|
|
233
233
|
variant: this.variant,
|
|
234
|
-
}) }, h("slot", { key: '
|
|
234
|
+
}) }, h("slot", { key: '34598e124bef3de28a393513adb936e0fc1aba84' })))));
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
StepperItem.style = stepperItemComponentCss();
|
|
@@ -251,7 +251,7 @@ const StepperLine = class {
|
|
|
251
251
|
*/
|
|
252
252
|
direction = 'horizontal';
|
|
253
253
|
render() {
|
|
254
|
-
return h(ThemedHost, { key: '
|
|
254
|
+
return h(ThemedHost, { key: '3822db07a479031ea2ed2b85e964e87c74fcf3a1' });
|
|
255
255
|
}
|
|
256
256
|
};
|
|
257
257
|
StepperLine.style = stepperLineComponentCss();
|
|
@@ -7,7 +7,7 @@ const TabContainer = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: 'e89642efdbdac9c36ea1b79ed2f3f7002975b4d9', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: '4e11ddb4ad1adbb1b5f6c8f13ceabd7417c5cd2f', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: 'e1a80331ad4b1e1dd4a93b6c06e2d7e1df68d8d7' })), h("p-divider", { key: '317e13b7257271335a4e68596a6269e6bf4ae865', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
TabContainer.style = tabContainerComponentCss();
|
|
@@ -46,7 +46,7 @@ const TabItem = class {
|
|
|
46
46
|
*/
|
|
47
47
|
active = false;
|
|
48
48
|
render() {
|
|
49
|
-
return (h(ThemedHost, { key: '
|
|
49
|
+
return (h(ThemedHost, { key: '9c61f2d31392fe6b36493d1ae717ce6e02fe4f21' }, h("div", { key: 'f673837150832946c4186588e8e92ba1534d2f32', class: item({ active: this.active }) }, h("slot", { key: '82eb84bfb66d1ed93bec1d8925dece7cd15411de' }))));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
TabItem.style = tabItemComponentCss();
|
|
@@ -277,7 +277,7 @@ const Table = class {
|
|
|
277
277
|
this.hasRendered.emit();
|
|
278
278
|
}
|
|
279
279
|
render() {
|
|
280
|
-
return (h(Host, { key: '
|
|
280
|
+
return (h(Host, { key: 'd479eadd465ca89cb946b49a57baa2a9b59662f3', class: 'z-0 flex flex-col' }, h("p-table-container", { key: '4561faab83f090f8b2a93b2020851d8bdca654bf' }, this.enableHeader && (h("p-table-header", { key: '42f64f4650998137028ac3364842dd4637682ca1', 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: '4330a128ee1880c45651cce01c455043ab3d9358', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (h("slot", { key: '5842f3baaf1c0b5a1731412b3867b4aa3e75f473', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), h("div", { key: '4ebfe041d95457578b879604ffc42edd5ebf109d', class: 'flex flex-1 flex-col' }, this._getRows(), h("slot", { key: '86102819a49542a813f5ab19d5f028b144547096', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (h("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: floatingMenuContainerClass({
|
|
281
281
|
hasFooter: this.enableFooter && !this._footerHidden,
|
|
282
282
|
active: !!this.selectedRows?.length,
|
|
283
283
|
shown: this._floatingMenuShown,
|
|
@@ -287,7 +287,7 @@ const Table = class {
|
|
|
287
287
|
!!a.action &&
|
|
288
288
|
a.type === 'single'
|
|
289
289
|
? a.action(this.selectedRows[0], false)
|
|
290
|
-
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '
|
|
290
|
+
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (h("p-table-footer", { key: '5134a20cac241a36ec3c9e63af654e8c911379c4', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, loading: this.footerLoading, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, tableHeaderHasAction: this.enableHeader &&
|
|
291
291
|
this.enableAction &&
|
|
292
292
|
this.actionButtonEnabled, total: this.total, onHiddenChange: ({ detail }) => (this._footerHidden = detail), onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this.pageSizeChange.emit(detail) })))));
|
|
293
293
|
}
|
|
@@ -46,9 +46,9 @@ const ToastContainer = class {
|
|
|
46
46
|
*/
|
|
47
47
|
placement = 'top-end';
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'b8450106a439c1afa6fcce3dccc3d52d982c9c0f', class: container({
|
|
50
50
|
placement: this.placement,
|
|
51
|
-
}) }, h("slot", { key: '
|
|
51
|
+
}) }, h("slot", { key: '6a6203ca9e4c53e1d74f834bd023a60a5241f415' })));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
ToastContainer.style = toastContainerComponentCss();
|