@paperless/core 3.13.1 → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/{p-d13d8eb9.entry.js → p-06e05b91.entry.js} +1 -1
- package/dist/{paperless/p-2dfbfe7a.entry.js → build/p-14df360e.entry.js} +1 -1
- package/dist/{paperless/p-9f3cf82d.entry.js → build/p-195e954b.entry.js} +1 -1
- package/dist/{paperless/p-e2219fa7.entry.js → build/p-21af7426.entry.js} +1 -1
- package/dist/build/{p-16c98151.entry.js → p-221357a9.entry.js} +1 -1
- package/dist/{paperless/p-fad5a088.entry.js → build/p-2e47c533.entry.js} +1 -1
- package/dist/build/{p-ad2767f7.entry.js → p-2e8e4b6c.entry.js} +1 -1
- package/dist/build/{p-cbdf1355.entry.js → p-31167a12.entry.js} +1 -1
- package/dist/build/p-3203bd08.entry.js +1 -0
- package/dist/build/{p-a1e69465.entry.js → p-3a857d73.entry.js} +1 -1
- package/dist/build/{p-90c95664.entry.js → p-3b2b195d.entry.js} +1 -1
- package/dist/build/{p-35107edb.entry.js → p-3bc3a649.entry.js} +1 -1
- package/dist/build/{p-fd26cf65.entry.js → p-4060ee8b.entry.js} +1 -1
- package/dist/build/{p-b992baa0.entry.js → p-44cee1cb.entry.js} +1 -1
- package/dist/{paperless/p-7c01dd27.entry.js → build/p-45ce6a54.entry.js} +1 -1
- package/dist/{paperless/p-0892908c.entry.js → build/p-507261fa.entry.js} +1 -1
- package/dist/build/{p-2eb0963d.entry.js → p-50c4d56e.entry.js} +1 -1
- package/dist/{paperless/p-8e3a2fa0.entry.js → build/p-54b0790e.entry.js} +1 -1
- package/dist/{paperless/p-b35a687a.entry.js → build/p-655fda1a.entry.js} +1 -1
- package/dist/build/{p-a263c4fe.entry.js → p-7abc21d8.entry.js} +1 -1
- package/dist/build/{p-18aebae1.entry.js → p-8319c5c8.entry.js} +1 -1
- package/dist/build/p-832c13bc.entry.js +1 -0
- package/dist/build/{p-4536b546.entry.js → p-835737f1.entry.js} +1 -1
- package/dist/build/p-87b1c4f1.js +1 -0
- package/dist/build/{p-001e60c3.entry.js → p-90610536.entry.js} +1 -1
- package/dist/build/p-91dcf7d0.entry.js +1 -0
- package/dist/{paperless/p-7b858cd2.entry.js → build/p-938b6c09.entry.js} +1 -1
- package/dist/{paperless/p-bf22285d.entry.js → build/p-9a6196a5.entry.js} +1 -1
- package/dist/build/{p-f6a8012e.entry.js → p-9b28fc94.entry.js} +1 -1
- package/dist/build/p-9c29695a.entry.js +1 -0
- package/dist/{paperless/p-b4c6d3be.entry.js → build/p-ad2650e8.entry.js} +1 -1
- package/dist/build/{p-e1aaca9c.entry.js → p-b48c0217.entry.js} +1 -1
- package/dist/{paperless/p-e00be7e7.entry.js → build/p-b6809b6f.entry.js} +1 -1
- package/dist/build/{p-b98a72c3.entry.js → p-b8f7c55a.entry.js} +1 -1
- package/dist/{paperless/p-8a2690df.entry.js → build/p-b91cdc33.entry.js} +1 -1
- package/dist/build/{p-0380b299.entry.js → p-b966039d.entry.js} +1 -1
- package/dist/build/{p-8ed51b6d.entry.js → p-bdda8043.entry.js} +1 -1
- package/dist/build/{p-8e91039f.entry.js → p-d1cb90b9.entry.js} +1 -1
- package/dist/{paperless/p-e26a497e.entry.js → build/p-d58dcb50.entry.js} +1 -1
- package/dist/{paperless/p-0b4b4cf7.entry.js → build/p-d614092e.entry.js} +1 -1
- package/dist/build/{p-2c10ed8a.entry.js → p-dca31554.entry.js} +1 -1
- package/dist/build/p-e2917e71.entry.js +1 -0
- package/dist/{paperless/p-d4d0d4a7.entry.js → build/p-e405fba1.entry.js} +1 -1
- package/dist/build/p-e6669599.entry.js +1 -0
- package/dist/build/{p-dbac42ad.entry.js → p-e86238e2.entry.js} +1 -1
- package/dist/build/{p-0da11431.entry.js → p-f3cbc433.entry.js} +1 -1
- package/dist/build/{p-e6f986d8.entry.js → p-f5cacfd0.entry.js} +1 -1
- package/dist/build/{p-afc6498d.entry.js → p-fcff315d.entry.js} +1 -1
- package/dist/{paperless/p-b2cbd111.entry.js → build/p-fea58ded.entry.js} +1 -1
- package/dist/build/{p-87112092.entry.js → p-fedaa9ef.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-BGtpSJv_.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +8 -8
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +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 +9 -9
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-dropzone.cjs.entry.js +200 -0
- package/dist/cjs/p-empty-state_8.cjs.entry.js +18 -18
- package/dist/cjs/p-field_3.cjs.entry.js +13 -13
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +8 -8
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +2 -2
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +2 -2
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
- package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
- package/dist/collection/components/molecules/dropzone/dropzone.component.css +1 -0
- package/dist/collection/components/molecules/dropzone/dropzone.component.js +402 -0
- package/dist/collection/components/molecules/dropzone/dropzone.stories.js +44 -0
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
- package/dist/collection/components/molecules/field/field/field.component.js +4 -4
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +2 -2
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js +2 -2
- package/dist/components/{p-CMhIKf1I.js → p-7Uv4DOCo.js} +1 -1
- package/dist/components/{p-Tuv_bAJ2.js → p-B8IerItk.js} +1 -1
- package/dist/components/{p-C5n669YA.js → p-BAgl1Jf7.js} +1 -1
- package/dist/components/{p-Dy4IX7Pe.js → p-BCWtvvOe.js} +1 -1
- package/dist/components/{p-BO22HPlM.js → p-BEV6zDs0.js} +1 -1
- package/dist/components/{p-QJoR_dmN.js → p-BGolUUn0.js} +1 -1
- package/dist/components/{p-Crasy6LB.js → p-BQ2nfPDP.js} +1 -1
- package/dist/components/{p-BHcIe6BE.js → p-BeBgV6gj.js} +1 -1
- package/dist/components/{p-4vMrjI4R.js → p-Bg4oBHWW.js} +1 -1
- package/dist/components/{p-UUd1zusc.js → p-BkaMV4Cw.js} +1 -1
- package/dist/components/{p-BqDsctQ9.js → p-BmPunDdB.js} +1 -1
- package/dist/components/{p-ByXfZHh6.js → p-BqKhfVsb.js} +1 -1
- package/dist/components/{p-PwfSEBI3.js → p-BtQtJLYr.js} +1 -1
- package/dist/components/{p-9C3ias2a.js → p-BtiIk9Ea.js} +1 -1
- package/dist/components/p-BzANZHar.js +1 -0
- package/dist/components/{p-C7j7Um7Y.js → p-C-iLhpLl.js} +1 -1
- package/dist/components/{p-BoI3_eAE.js → p-C2vLGMIb.js} +1 -1
- package/dist/components/{p-DHLrIt0b.js → p-CEBec4st.js} +1 -1
- package/dist/components/{p-CMmvAq1F.js → p-CEucaDLB.js} +1 -1
- package/dist/components/{p-PKBe_c-k.js → p-CKm4p-11.js} +1 -1
- package/dist/components/{p-CB3RfZL6.js → p-CTCbhlKP.js} +1 -1
- package/dist/components/{p-BSU1g6Cl.js → p-CTFrItdj.js} +1 -1
- package/dist/components/{p-BDYSnb7i.js → p-CaJvFmB-.js} +1 -1
- package/dist/components/{p-DQyKcYSv.js → p-Cgmg4D6Y.js} +1 -1
- package/dist/components/{p-DvxgfyQ_.js → p-CmhjRWQy.js} +1 -1
- package/dist/components/{p-BrFVDEeC.js → p-CoivV36y.js} +1 -1
- package/dist/components/{p-BxQCn3Jj.js → p-DA92PZeS.js} +1 -1
- package/dist/components/{p-DL2YlEpH.js → p-DEFO0n7t.js} +1 -1
- package/dist/components/{p-i1p7L9W8.js → p-DLz3l4Ve.js} +1 -1
- package/dist/components/{p-t4aLscWg.js → p-DNm_yz0u.js} +1 -1
- package/dist/components/p-DPRie-gp.js +1 -0
- package/dist/components/{p-DbRPTfvT.js → p-DWf-f_X3.js} +1 -1
- package/dist/components/{p-co8zArTG.js → p-DYtn3uAK.js} +1 -1
- package/dist/components/p-DZbo8o1B.js +1 -0
- package/dist/components/{p-CqDwyvBc.js → p-D_BCPirj.js} +1 -1
- package/dist/components/{p-B0rHem3C.js → p-Dd7Yba0f.js} +1 -1
- package/dist/components/{p-BE5gs-wy.js → p-GdkB5ZCP.js} +1 -1
- package/dist/components/{p-A2wMRQKW.js → p-K_XCfGz8.js} +1 -1
- package/dist/components/{p-BrFy12TR.js → p-N0W9Q2h8.js} +1 -1
- package/dist/components/{p-DP6H82uQ.js → p-O5rAm8zV.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-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-dropzone.d.ts +11 -0
- package/dist/components/p-dropzone.js +1 -0
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/{p-Bg0nKrgn.js → p-jLO4drbv.js} +1 -1
- package/dist/components/{p-lss590AG.js → p-lFkw6WvI.js} +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.js +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-radio.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-container.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-3Vtsi6MW.js → p-tygV9wpP.js} +1 -1
- package/dist/components/{p-C_JXTK81.js → p-yulcflZJ.js} +1 -1
- package/dist/esm/index-yFtRjnrU.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +8 -8
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +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 +9 -9
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-dropdown-menu-item_2.entry.js +5 -5
- package/dist/esm/p-dropzone.entry.js +198 -0
- package/dist/esm/p-empty-state_8.entry.js +18 -18
- package/dist/esm/p-field_3.entry.js +13 -13
- package/dist/esm/p-floating-menu-item.entry.js +2 -2
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-listing-line.entry.js +1 -1
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +8 -8
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +2 -2
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +5 -5
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +2 -2
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/{p-d13d8eb9.entry.js → p-06e05b91.entry.js} +1 -1
- package/dist/{build/p-2dfbfe7a.entry.js → paperless/p-14df360e.entry.js} +1 -1
- package/dist/{build/p-9f3cf82d.entry.js → paperless/p-195e954b.entry.js} +1 -1
- package/dist/{build/p-e2219fa7.entry.js → paperless/p-21af7426.entry.js} +1 -1
- package/dist/paperless/{p-16c98151.entry.js → p-221357a9.entry.js} +1 -1
- package/dist/{build/p-fad5a088.entry.js → paperless/p-2e47c533.entry.js} +1 -1
- package/dist/paperless/{p-ad2767f7.entry.js → p-2e8e4b6c.entry.js} +1 -1
- package/dist/paperless/{p-cbdf1355.entry.js → p-31167a12.entry.js} +1 -1
- package/dist/paperless/p-3203bd08.entry.js +1 -0
- package/dist/paperless/{p-a1e69465.entry.js → p-3a857d73.entry.js} +1 -1
- package/dist/paperless/{p-90c95664.entry.js → p-3b2b195d.entry.js} +1 -1
- package/dist/paperless/{p-35107edb.entry.js → p-3bc3a649.entry.js} +1 -1
- package/dist/paperless/{p-fd26cf65.entry.js → p-4060ee8b.entry.js} +1 -1
- package/dist/paperless/{p-b992baa0.entry.js → p-44cee1cb.entry.js} +1 -1
- package/dist/{build/p-7c01dd27.entry.js → paperless/p-45ce6a54.entry.js} +1 -1
- package/dist/{build/p-0892908c.entry.js → paperless/p-507261fa.entry.js} +1 -1
- package/dist/paperless/{p-2eb0963d.entry.js → p-50c4d56e.entry.js} +1 -1
- package/dist/{build/p-8e3a2fa0.entry.js → paperless/p-54b0790e.entry.js} +1 -1
- package/dist/{build/p-b35a687a.entry.js → paperless/p-655fda1a.entry.js} +1 -1
- package/dist/paperless/{p-a263c4fe.entry.js → p-7abc21d8.entry.js} +1 -1
- package/dist/paperless/{p-18aebae1.entry.js → p-8319c5c8.entry.js} +1 -1
- package/dist/paperless/p-832c13bc.entry.js +1 -0
- package/dist/paperless/{p-4536b546.entry.js → p-835737f1.entry.js} +1 -1
- package/dist/paperless/{p-001e60c3.entry.js → p-90610536.entry.js} +1 -1
- package/dist/paperless/p-91dcf7d0.entry.js +1 -0
- package/dist/{build/p-7b858cd2.entry.js → paperless/p-938b6c09.entry.js} +1 -1
- package/dist/{build/p-bf22285d.entry.js → paperless/p-9a6196a5.entry.js} +1 -1
- package/dist/paperless/{p-f6a8012e.entry.js → p-9b28fc94.entry.js} +1 -1
- package/dist/paperless/p-9c29695a.entry.js +1 -0
- package/dist/{build/p-b4c6d3be.entry.js → paperless/p-ad2650e8.entry.js} +1 -1
- package/dist/paperless/{p-e1aaca9c.entry.js → p-b48c0217.entry.js} +1 -1
- package/dist/{build/p-e00be7e7.entry.js → paperless/p-b6809b6f.entry.js} +1 -1
- package/dist/paperless/{p-b98a72c3.entry.js → p-b8f7c55a.entry.js} +1 -1
- package/dist/{build/p-8a2690df.entry.js → paperless/p-b91cdc33.entry.js} +1 -1
- package/dist/paperless/{p-0380b299.entry.js → p-b966039d.entry.js} +1 -1
- package/dist/paperless/{p-8ed51b6d.entry.js → p-bdda8043.entry.js} +1 -1
- package/dist/paperless/{p-8e91039f.entry.js → p-d1cb90b9.entry.js} +1 -1
- package/dist/{build/p-e26a497e.entry.js → paperless/p-d58dcb50.entry.js} +1 -1
- package/dist/{build/p-0b4b4cf7.entry.js → paperless/p-d614092e.entry.js} +1 -1
- package/dist/paperless/{p-2c10ed8a.entry.js → p-dca31554.entry.js} +1 -1
- package/dist/paperless/p-e2917e71.entry.js +1 -0
- package/dist/{build/p-d4d0d4a7.entry.js → paperless/p-e405fba1.entry.js} +1 -1
- package/dist/paperless/p-e6669599.entry.js +1 -0
- package/dist/paperless/{p-dbac42ad.entry.js → p-e86238e2.entry.js} +1 -1
- package/dist/paperless/{p-0da11431.entry.js → p-f3cbc433.entry.js} +1 -1
- package/dist/paperless/{p-e6f986d8.entry.js → p-f5cacfd0.entry.js} +1 -1
- package/dist/paperless/{p-afc6498d.entry.js → p-fcff315d.entry.js} +1 -1
- package/dist/{build/p-b2cbd111.entry.js → paperless/p-fea58ded.entry.js} +1 -1
- package/dist/paperless/{p-87112092.entry.js → p-fedaa9ef.entry.js} +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/molecules/dropzone/dropzone.component.d.ts +68 -0
- package/dist/types/components/molecules/dropzone/dropzone.stories.d.ts +25 -0
- package/dist/types/components.d.ts +104 -2
- package/hydrate/index.js +352 -144
- package/hydrate/index.mjs +352 -144
- package/package.json +5 -1
- package/dist/build/p-21b62f41.entry.js +0 -1
- package/dist/build/p-27613157.entry.js +0 -1
- package/dist/build/p-bba808f0.entry.js +0 -1
- package/dist/build/p-dd5b5648.js +0 -1
- package/dist/build/p-ef2d18cc.entry.js +0 -1
- package/dist/build/p-fb18c197.entry.js +0 -1
- package/dist/components/p-CNtLMu6c.js +0 -1
- package/dist/components/p-CUwpPeVc.js +0 -1
- package/dist/components/p-IBTfZiqD.js +0 -1
- package/dist/paperless/p-21b62f41.entry.js +0 -1
- package/dist/paperless/p-27613157.entry.js +0 -1
- package/dist/paperless/p-bba808f0.entry.js +0 -1
- package/dist/paperless/p-ef2d18cc.entry.js +0 -1
- package/dist/paperless/p-fb18c197.entry.js +0 -1
|
@@ -53,13 +53,13 @@ const ContentSlider = class {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (index.h(index.Host, { key: '
|
|
56
|
+
return (index.h(index.Host, { key: '10219a5b7b268ab732457094c2491d4a203c3d47' }, index.h("div", { key: 'd66009928658b522cbd18c230d9381568661cad2', class: `
|
|
57
57
|
slider
|
|
58
58
|
${!this.disableDrag && 'draggable'}
|
|
59
59
|
${this._dragging && 'dragging'}
|
|
60
60
|
`, ref: el => (this._sliderRef = el), style: {
|
|
61
61
|
height: `${this._outerHeight}px`,
|
|
62
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, index.h("div", { key: '
|
|
62
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, index.h("div", { key: '98ea5929e9e4c35807db44deea40a713eb55e22b', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, index.h("slot", { key: '99ec72369ee09b9c56406697559ce232d90476b0', onSlotchange: () => this._slotChange() }))), index.h("div", { key: '3e7cd9e03341d52b60d934ad88d33138cd31ff1e', class: `
|
|
63
63
|
indicator
|
|
64
64
|
${this.hideMobileIndicator && 'hidden'}
|
|
65
65
|
` }, this._filteredItems.map((_, i) => (index.h("div", { class: `
|
|
@@ -2848,7 +2848,7 @@ const Cropper = class {
|
|
|
2848
2848
|
const themeColor = state.state.theme === 'dark'
|
|
2849
2849
|
? 'rgba(70, 75, 84, 0.5)'
|
|
2850
2850
|
: 'rgba(255, 255, 255, 0.5)';
|
|
2851
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
2851
|
+
return (index.h(themedHost_component.ThemedHost, { key: '45de2e7e220d4a56fc8f863bebc570efba716c6e' }, this._loaded && (index.h("cropper-canvas", { key: '2d781601e405bbe14ef3dee14b3279b6ee1378b4', class: '\n h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700\n bg-white\n dark:border-hurricane-200\n ', onAction: () => this._onAction() }, index.h("cropper-image", { key: '5f55ad7da0800e65d965a73dcf2954e62a720e30', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), index.h("cropper-shade", { key: '8f6235a0c13f64b907447d4611365831bbed8328', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), index.h("cropper-selection", { key: 'fbffe0267e5346b34f627d4160222c08a048da18', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), index.h("cropper-handle", { key: '90d51dfa7e392505459b2252334e98eaf28f0e9d', action: 'move', plain: true }))), index.h("p-range", { key: '8baa03308cba09293a7438957efe228ab4abd665', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
2852
2852
|
}
|
|
2853
2853
|
_setImageRef(ref) {
|
|
2854
2854
|
if (this._imageRef || !ref) {
|
|
@@ -226,7 +226,7 @@ const Datepicker = class {
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
render() {
|
|
229
|
-
return (index.h("p-dropdown", { key: '
|
|
229
|
+
return (index.h("p-dropdown", { key: '891468e0d880fbe578d4b0106a3b09e741d86d59', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, index.h("p-field", { key: 'f7065621d6f200a2f340e866f5357b5aa133fdcc', autoShowError: false, disabled: asBoolean.asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean.asBoolean(this.required), showOptional: asBoolean.asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (index.h("input", { key: '62752c953dfd35a76d7650d8c0621421c77257f0', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
230
230
|
locale.dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
231
231
|
locale: state.state.locale === 'nl' ? locale.localeExports.nl : locale.localeExports.enUS,
|
|
232
232
|
}), min: this._minDate &&
|
|
@@ -235,7 +235,7 @@ const Datepicker = class {
|
|
|
235
235
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
236
236
|
locale.dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
237
237
|
locale: state.state.locale === 'nl' ? locale.localeExports.nl : locale.localeExports.enUS,
|
|
238
|
-
}), onInput: ev => this._onNativeInput(ev) })), index.h("div", { key: '
|
|
238
|
+
}), onInput: ev => this._onNativeInput(ev) })), index.h("div", { key: '19aeebff76b179555fcbf507fe9a503b074bd79e', slot: 'items', tabIndex: -1 }, index.h("p-calendar", { key: '1d8b3593b3598c0cf4bf6b63366bad0aa554403f', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
|
|
239
239
|
}
|
|
240
240
|
documentClickHandler({ target }) {
|
|
241
241
|
if (!this._showDropdown || childOf.childOf(target, this._el)) {
|
|
@@ -64,12 +64,12 @@ const Divider = class {
|
|
|
64
64
|
get _el() { return index.getElement(this); }
|
|
65
65
|
render() {
|
|
66
66
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
67
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
67
|
+
return (index.h(themedHost_component.ThemedHost, { key: '62e456790fca35130a51837664dc62a731ecf0b1' }, index.h("div", { key: '1c173037cb8e342ee1d2eb55cda92ffbde98fe68', class: cn.cn(content({
|
|
68
68
|
variant: this.variant,
|
|
69
69
|
alignContent: this.alignContent,
|
|
70
70
|
}), {
|
|
71
71
|
'text-off-white-700 dark:text-hurricane-400': !this._el.className.includes('text'),
|
|
72
|
-
}) }, index.h("div", { key: '
|
|
72
|
+
}) }, index.h("div", { key: 'eabe0f6251e66635e3f37be78b63e487cf4d66b1', class: '\n flex items-center px-2 text-sm font-medium text-storm-400\n empty:px-0\n dark:text-hurricane-200\n ' }, hasContent && index.h("slot", { key: 'b3a252740a235ab6d1184a7e3a38d2046bf41f36' })))));
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
Divider.style = dividerComponentCss();
|
|
@@ -14,7 +14,7 @@ const DrawerBody = class {
|
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return index.h("slot", { key: '
|
|
17
|
+
return index.h("slot", { key: 'f26933044c64fd73c9fc3d7400623d52f3d6cb73' });
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
DrawerBody.style = drawerBodyComponentCss();
|
|
@@ -51,9 +51,9 @@ const DrawerContainer = class {
|
|
|
51
51
|
*/
|
|
52
52
|
closing = false;
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
54
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'ba9bf03e3da5ccc386585d9242317098d1974dc7' }, index.h("div", { key: '6ab542b1a314855bc417ddb9db513028bf1453e2', class: container({
|
|
55
55
|
closing: asBoolean.asBoolean(this.closing),
|
|
56
|
-
}) }, index.h("slot", { key: '
|
|
56
|
+
}) }, index.h("slot", { key: '6a3670c0482888725235ceb8df65136d9309785a' }))));
|
|
57
57
|
}
|
|
58
58
|
};
|
|
59
59
|
DrawerContainer.style = drawerContainerComponentCss();
|
|
@@ -90,7 +90,7 @@ const DrawerHeader = class {
|
|
|
90
90
|
*/
|
|
91
91
|
close;
|
|
92
92
|
render() {
|
|
93
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
93
|
+
return (index.h(themedHost_component.ThemedHost, { key: '68ec14e2f8d7fe78e6f4121f26b500e4f6806f2f' }, index.h("div", { key: 'bfd65e98e1e370ae5d1fe1204b0f35fa6ea5c527', class: header() }, index.h("div", { key: '5216d5ff046ec5d9308960ca6536221806070893', class: content() }, this.showClose && (index.h("p-button", { key: '068ff9a02ffe20649644d45a4883322bc213ed4f', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) })), index.h("div", { key: 'ce6808112de2a48b49b4632ee3b98cb80525aebf', class: title() }, index.h("slot", { key: '66c6afa30f02a8bb7b10da5264470cc5e92c0777' })), this.showClose && index.h("div", { key: '947d1919641618b24dd528cb1d1f00974cc0252e', class: 'size-8' })), index.h("p-smile", { key: '3809052da27e1deb595d5ebe0357fa03d3c610f3', class: 'dark:text-hurricane-400' }))));
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
DrawerHeader.style = drawerHeaderComponentCss();
|
|
@@ -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: 'a9d9404058e02af2e3f67248c9b97501c0627764' }, index.h("div", { key: '999122672d9c1f7fd467ef5a4a4316b3484c201d', 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: '874509b8f140f2a7f59d3eaea197576d04fef57a', 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: '4ac46ef8905c184cf1e1e3531d26ef559ae3ff97', 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: '867dcd55f7c4194c89b18ff3a46a52ee3f728fef' }, index.h("div", { key: '406e4e9641b35fc16a5379811f959878ade2c0ca', 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: '6515cd771a33b320d60940674c324d0dc285f74d' }))));
|
|
424
424
|
}
|
|
425
425
|
};
|
|
426
426
|
PaginationPagesItem.style = paginationPagesItemComponentCss();
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('./index-BGtpSJv_.js');
|
|
4
|
+
var index$1 = require('./index-mudu9vpz.js');
|
|
5
|
+
var themedHost_component = require('./themed-host.component-BeeT9Ite.js');
|
|
6
|
+
var cn = require('./cn-Cd68UVBT.js');
|
|
7
|
+
require('./clsx-BtxeOLZW.js');
|
|
8
|
+
require('./state-DM8SZBNO.js');
|
|
9
|
+
|
|
10
|
+
const dropzoneComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.hidden{display:none}.w-full{width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-2{gap:.5rem}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-dashed{border-style:dashed}.border-indigo-500{--tw-border-opacity:1;border-color:rgb(142 179 251/var(--tw-border-opacity,1))}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.border-white-800{--tw-border-opacity:1;border-color:rgb(228 227 227/var(--tw-border-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-positive-green-50{--tw-bg-opacity:1;background-color:rgb(234 253 227/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.p-8{padding:2rem}.text-center{text-align:center}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-indigo-900{--tw-text-opacity:1;color:rgb(19 73 182/var(--tw-text-opacity,1))}.text-positive-green-800{--tw-text-opacity:1;color:rgb(47 100 7/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.opacity-50{opacity:.5}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}`;
|
|
11
|
+
|
|
12
|
+
const dropzone = index$1.cva(['flex w-full flex-col items-center gap-2', 'rounded-lg', 'border', 'p-8'], {
|
|
13
|
+
variants: {
|
|
14
|
+
uploaded: {
|
|
15
|
+
false: 'border-dashed',
|
|
16
|
+
true: 'border-off-white-700',
|
|
17
|
+
},
|
|
18
|
+
isOver: {
|
|
19
|
+
true: 'border-dashed border-indigo-500 bg-indigo-50',
|
|
20
|
+
false: 'border-white-800',
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
compoundVariants: [
|
|
24
|
+
{
|
|
25
|
+
uploaded: true,
|
|
26
|
+
isOver: false,
|
|
27
|
+
class: 'border-solid bg-positive-green-50',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
uploaded: false,
|
|
31
|
+
isOver: false,
|
|
32
|
+
class: 'bg-white-600',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
});
|
|
36
|
+
const Dropzone = class {
|
|
37
|
+
constructor(hostRef) {
|
|
38
|
+
index.registerInstance(this, hostRef);
|
|
39
|
+
this.upload = index.createEvent(this, "upload", 3);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Icon to show on the dropzone
|
|
43
|
+
*/
|
|
44
|
+
icon = 'file-export';
|
|
45
|
+
/**
|
|
46
|
+
* Wether to show the icon or not
|
|
47
|
+
*/
|
|
48
|
+
showIcon = true;
|
|
49
|
+
/**
|
|
50
|
+
* The type of files to accept
|
|
51
|
+
*/
|
|
52
|
+
acceptGroup = 'any';
|
|
53
|
+
/**
|
|
54
|
+
* The fileID to use to track the file
|
|
55
|
+
*/
|
|
56
|
+
fileId;
|
|
57
|
+
/**
|
|
58
|
+
* Wether the attachment is loading
|
|
59
|
+
*/
|
|
60
|
+
loading = false;
|
|
61
|
+
/**
|
|
62
|
+
* Allow multiple files
|
|
63
|
+
*/
|
|
64
|
+
allowMultiple = true;
|
|
65
|
+
/**
|
|
66
|
+
* Wether the file is uploaded
|
|
67
|
+
*/
|
|
68
|
+
uploaded = false;
|
|
69
|
+
/**
|
|
70
|
+
* Event when upload is pressed
|
|
71
|
+
*/
|
|
72
|
+
upload;
|
|
73
|
+
get _el() { return index.getElement(this); }
|
|
74
|
+
_isOver = false;
|
|
75
|
+
_fileRef;
|
|
76
|
+
_filesToProcess = 0;
|
|
77
|
+
_results = [];
|
|
78
|
+
_documentBlocked = false;
|
|
79
|
+
_preventDefault = (ev) => ev.preventDefault();
|
|
80
|
+
componentWillRender() {
|
|
81
|
+
if (!this._isOver && this._documentBlocked) {
|
|
82
|
+
document.removeEventListener('drop', this._preventDefault);
|
|
83
|
+
document.removeEventListener('dragover', this._preventDefault);
|
|
84
|
+
this._documentBlocked = false;
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (!this._isOver) {
|
|
88
|
+
return;
|
|
89
|
+
}
|
|
90
|
+
document.addEventListener('drop', this._preventDefault);
|
|
91
|
+
document.addEventListener('dragover', this._preventDefault);
|
|
92
|
+
this._documentBlocked = true;
|
|
93
|
+
}
|
|
94
|
+
render() {
|
|
95
|
+
const hasContent = this._el.innerHTML?.length > 0;
|
|
96
|
+
return (index.h(themedHost_component.ThemedHost, { key: '850603b4fb37087fd8bd7db5f37d9fcb17687fd2' }, index.h("div", { key: '594badd15df513690f388b021993694ad710e5c6', class: cn.cn(dropzone({
|
|
97
|
+
isOver: this._isOver,
|
|
98
|
+
uploaded: this.uploaded,
|
|
99
|
+
}), {}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (index.h("p-icon", { key: '10d41c9cd21bcba962c186ed04f48c1abf9c2073', class: cn.cn({
|
|
100
|
+
'text-storm-300': !this._isOver,
|
|
101
|
+
'text-indigo-900': this._isOver,
|
|
102
|
+
}), variant: this.icon })), this.loading && index.h("p-loader", { key: '1c2b811db6711ef9bc4ba54d380f4aff7870ea0b' }), hasContent && index.h("slot", { key: '2e1ab2124bef07b476a23bfefed446e4ac17c0d2' }), this.uploaded && !this._isOver && (index.h("div", { key: 'e277e12954fd53100ec6202002c1b495d42ddb8b', class: 'flex items-center gap-2 text-positive-green-800' }, index.h("p-icon", { key: '68dc24d68232b98aaed2d1a5b1bc38888c7efffb', variant: 'check-circle' }), index.h("span", { key: 'f8cc3ffc3201efb23cd90d30eb7921e5c597db62', class: 'font-medium' }, "Toegevoegd"))), (!this.uploaded || this._isOver) && (index.h("div", { key: 'be0dfd5990877b7e914580f3d6c193d48402ab2a', class: cn.cn('flex flex-col text-center', {
|
|
103
|
+
'opacity-50': this._isOver,
|
|
104
|
+
}) }, index.h("span", { key: 'f406b49e7b8ec6b4fb01fff011523147714da170', class: 'font-medium' }, "Sleep je bestand hierheen"), index.h("span", { key: '7656b9d337a582f2e69cf555a4f5c8eaa70e6f51', class: 'font-normal' }, "of klik om te uploaden")))), index.h("input", { key: '09b2471f370d6140db3bd9359e7c4c7a9237b9dc', 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) })));
|
|
105
|
+
}
|
|
106
|
+
onDrop(ev) {
|
|
107
|
+
const files = this._getFiles(ev);
|
|
108
|
+
if (!files?.length) {
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
this._processFiles(files);
|
|
112
|
+
}
|
|
113
|
+
onDragOver(ev) {
|
|
114
|
+
if (!this._isFilesEvent(ev)) {
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
117
|
+
this._isOver = true;
|
|
118
|
+
}
|
|
119
|
+
onDragLeave() {
|
|
120
|
+
this._isOver = false;
|
|
121
|
+
}
|
|
122
|
+
_isFilesEvent(ev) {
|
|
123
|
+
if (!ev.dataTransfer) {
|
|
124
|
+
return false;
|
|
125
|
+
}
|
|
126
|
+
const files = [...ev.dataTransfer.items].filter(item => item.kind === 'file');
|
|
127
|
+
if (files.length === 0) {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
return true;
|
|
131
|
+
}
|
|
132
|
+
_getFiles(ev) {
|
|
133
|
+
if (!this._isFilesEvent(ev)) {
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
const files = ev.dataTransfer?.files ?? [];
|
|
137
|
+
if (files.length === 0) {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
return [...files];
|
|
141
|
+
}
|
|
142
|
+
_uploadClick() {
|
|
143
|
+
if (!this._fileRef) {
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
this._fileRef.click();
|
|
147
|
+
}
|
|
148
|
+
_onFileChange(ev) {
|
|
149
|
+
const target = ev.target;
|
|
150
|
+
if (!target.files) {
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
const files = [...target.files];
|
|
154
|
+
if (!files?.length) {
|
|
155
|
+
return;
|
|
156
|
+
}
|
|
157
|
+
this._processFiles(files);
|
|
158
|
+
}
|
|
159
|
+
_processFiles(files) {
|
|
160
|
+
this._results = [];
|
|
161
|
+
if (!this.allowMultiple) {
|
|
162
|
+
files = [files[0]];
|
|
163
|
+
}
|
|
164
|
+
this._filesToProcess = files.length;
|
|
165
|
+
for (const file of files) {
|
|
166
|
+
this._processFile(file);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
_processFile(file) {
|
|
170
|
+
this.loading = true;
|
|
171
|
+
const reader = new FileReader();
|
|
172
|
+
reader.addEventListener('load', (e) => this._onLoad(file, e?.currentTarget?.result));
|
|
173
|
+
reader.readAsDataURL(file);
|
|
174
|
+
}
|
|
175
|
+
_onLoad(file, result) {
|
|
176
|
+
this._results.push({
|
|
177
|
+
file,
|
|
178
|
+
result,
|
|
179
|
+
});
|
|
180
|
+
if (this._results?.length < this._filesToProcess) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
const data = {
|
|
184
|
+
fileId: this.fileId,
|
|
185
|
+
results: this._results,
|
|
186
|
+
};
|
|
187
|
+
if (this._results.length === 1 || !this.allowMultiple) {
|
|
188
|
+
data.file = this._results[0].file;
|
|
189
|
+
data.result = this._results[0].result;
|
|
190
|
+
}
|
|
191
|
+
this.upload.emit(data);
|
|
192
|
+
if (this._fileRef) {
|
|
193
|
+
this._fileRef.value = '';
|
|
194
|
+
}
|
|
195
|
+
this.loading = false;
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
Dropzone.style = dropzoneComponentCss();
|
|
199
|
+
|
|
200
|
+
exports.p_dropzone = Dropzone;
|
|
@@ -72,11 +72,11 @@ const EmptyState = class {
|
|
|
72
72
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
73
73
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
74
74
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
75
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
75
|
+
return (index.h(themedHost_component.ThemedHost, { key: '46f56cd16b8fb196bf0386d0eb6e00f4033ace3d' }, index.h("div", { key: 'b3b10b96f1e3a657b9c76982ef9330dc1909d114', class: emptyState({
|
|
76
76
|
enableAction: asBoolean.asBoolean(this.enableAction, true),
|
|
77
77
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
78
78
|
? this.action.emit(ev)
|
|
79
|
-
: undefined }, this.illustration && (index.h("p-illustration", { key: '
|
|
79
|
+
: undefined }, this.illustration && (index.h("p-illustration", { key: '558279ba45c580a607d4227469bf60006e426da1', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (index.h("slot", { name: 'header' })) : (this.header?.length && (index.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 ? (index.h("slot", { name: 'content' })) : (this.content?.length && (index.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 &&
|
|
80
80
|
(hasActionSlot ? (index.h("slot", { name: 'action' })) : (index.h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
81
81
|
}
|
|
82
82
|
};
|
|
@@ -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: '6986e980b725cd752829cba968f0846463bc6059' }, index.h("div", { key: '9a778fdbbd37c1d2e7569987f02e99f9e35e49a9', class: container$1({
|
|
150
150
|
enableAmountSelected: this.enableAmountSelected,
|
|
151
|
-
}) }, this.enableAmountSelected && (index.h(index.Fragment, { key: '
|
|
151
|
+
}) }, this.enableAmountSelected && (index.h(index.Fragment, { key: '5908b6468acef599b2447b6f9f63df86b76910dd' }, index.h("p", { key: '430c5262493489463a38d5c1dd5ce43b7c97185c', class: amountSelected() }, this.amountSelectedTemplate(this.amount)), index.h("p-divider", { key: '376022345f9be8e294dc5cfb84afb88d5c3fafc7', class: 'mx-0 h-4 text-storm-400', variant: 'vertical' }))), index.h("div", { key: '51eb35eeda97cfe8e38e72182347120dafbafb46', 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: 'db367176340e6757f70095b4e4d99cc955052195', icon: 'negative', onClick: ev => this.close.emit(ev) }))))));
|
|
152
152
|
}
|
|
153
153
|
async _setLocales() {
|
|
154
154
|
this._locales = await localization.getLocaleComponentStrings(this._el);
|
|
@@ -214,7 +214,7 @@ const TableCell = class {
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
render() {
|
|
217
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
217
|
+
return (index.h(themedHost_component.ThemedHost, { key: '656d83909d03bd9affa467d31830be7ddb065608', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
218
218
|
}
|
|
219
219
|
_getContent() {
|
|
220
220
|
if (this.variant === 'loading') {
|
|
@@ -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: '3daf6469b62cebd689368d36868c43045e45b9ba', class: container() }, index.h("slot", { key: 'ee905a8bcd2e251d16e0af31a1609e905d41fa33' })));
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
253
|
TableContainer.style = tableContainerComponentCss();
|
|
@@ -362,12 +362,12 @@ const TableFooter = class {
|
|
|
362
362
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
363
363
|
}
|
|
364
364
|
render() {
|
|
365
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
365
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'e1e80cefafca5e75a6bb65a1ef50628608b5f561' }, index.h("div", { key: '2685019000a687c3d2cc78a959370cd11dee773e', class: footer({
|
|
366
366
|
pinned: this._isPinned,
|
|
367
367
|
hidden: this._hidden,
|
|
368
368
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
369
369
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
370
|
-
this.total > 0 && (index.h("p-pagination", { key: '
|
|
370
|
+
this.total > 0 && (index.h("p-pagination", { key: '82c0ad2c394418fab72873164f7110f06edffa62', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
371
371
|
}
|
|
372
372
|
_changePageSize(s) {
|
|
373
373
|
if (!s) {
|
|
@@ -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: '146dbcfb3f2883f5999093dff4ec5b1ae4530a0f' }, index.h("div", { key: 'a76491ff423a939196c851da49f70cec87e914e5', class: header() }, this.loading && (index.h("p-loader", { key: 'cefccf2e94b8e22df9506670241c5366d8d3de2e', 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: 'ff9fdbec94b79217279e0e6a87511239cadf8d99', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && index.h("slot", { key: '9ba364568cf6ea0eb988c9ba53055ba005af60e0', name: 'custom-filter' }), quickFilters.length > 0 && (index.h("p-segment-container", { key: '8e88a96fcb9a88ab8ed6ea3854821938e195bdcf', 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: '881aa6a3e492bbc43ce7c17ad7b92e1388c83276', class: '\n flex flex-col justify-end gap-2\n desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center\n ' }, this.enableSearch && (index.h("p-field", { key: '15966dc97bd1cee3692de32ce08d348196e0e329', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), index.h("div", { key: '8bc7ef55643420221a66323cc644ca9bc9c2aac2', class: 'flex items-center gap-2' }, this.enableFilter && (index.h("p-button", { key: 'ae5c8db6d1adef93cd228ff86f7a266fe057c410', 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: '31a8d2bc0fb5f217111f0ae2aad500abee3bdf28', 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: '05d011dfc818f193c96a5646456d07d745da7693', 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: '379ad6eb535ed7e327b2a438f482a960a546ba80', name: 'custom-actions' })), this.enableAction && this.canUseAction && (index.h("div", { key: '9037b913ef614ae681892c6fb6547d476bc8cd43', class: '\n fixed bottom-0 left-0 z-[2] block w-full border border-solid\n border-transparent bg-white p-4\n desktop-xs:hidden\n dark:border-t-hurricane-400 dark:bg-hurricane-500\n ' }, this._buttonTemplate(true))))));
|
|
10020
10020
|
}
|
|
10021
10021
|
async _setLocales() {
|
|
10022
10022
|
this._locales = await localization.getLocaleComponentStrings(this._el);
|
|
@@ -10158,13 +10158,13 @@ const TableRow = class {
|
|
|
10158
10158
|
*/
|
|
10159
10159
|
isLast = false;
|
|
10160
10160
|
render() {
|
|
10161
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
10161
|
+
return (index.h(themedHost_component.ThemedHost, { key: '637f078f4b17b40e8d88b17ffd01e17564dc2498' }, index.h("div", { key: '0c5df77b50554c6f72e4a589896ee0ac5ea8065f', class: 'flex flex-col' }, index.h("div", { key: '86cab516a54ba2a79a45fe4185e1d64ed232df04', class: row({
|
|
10162
10162
|
variant: this.variant,
|
|
10163
10163
|
enableHover: this.enableHover,
|
|
10164
10164
|
checked: this.checked,
|
|
10165
|
-
}) }, index.h("div", { key: '
|
|
10165
|
+
}) }, index.h("div", { key: '4a302d6d3077a31f18bad02169e9bfcf38083e4b', class: content({
|
|
10166
10166
|
variant: this.variant,
|
|
10167
|
-
}) }, index.h("slot", { key: '
|
|
10167
|
+
}) }, index.h("slot", { key: 'b1ead41a3359d1e766c5e372f18ea17720ff86f5' }), index.h("div", { key: '9d374cf452fe04077230f6a981fc713cf56cc6cc', class: actions() }, index.h("slot", { key: '728d34e82e152fd1ca38db6c29cb1e40259e442f', name: 'actions' })))), !asBoolean.asBoolean(this.isLast) && this.variant !== 'secondary' && (index.h("p-divider", { key: 'e9ac14c677be390abaf4f5fc2218ee7a7e028954' })))));
|
|
10168
10168
|
}
|
|
10169
10169
|
};
|
|
10170
10170
|
TableRow.style = tableRowComponentCss();
|
|
@@ -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: 'efb6cf4c063212207c5ea272f3ae3bbffd18e419' }, index.h("div", { key: '2d1a85c5f4e1e4829cd45b081fcc31e46bd02773', 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: 'ebea7754c0318514557fe7d751ed2212cfcfc35f', 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: '2cba74d1d0d62f685798292b7199632aae122d67' })))));
|
|
10193
10193
|
}
|
|
10194
10194
|
};
|
|
10195
10195
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|
|
@@ -390,8 +390,8 @@ const Field = class {
|
|
|
390
390
|
}
|
|
391
391
|
render() {
|
|
392
392
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
393
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
394
|
-
(!!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 && (index.h("slot", { key: '
|
|
393
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'f985e2b3d25ebb7a9e30448fb6663d0b487f47a3' }, index.h("p-field-container", { key: '358983d8f8f6cb1b53e9e4c607c064fc4a27a9f0', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
394
|
+
(!!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 && (index.h("slot", { key: '155d5efc1d951ea2e08076cb58c3ce96e12f0f13', name: 'label', slot: 'label' })), hasHeaderSlot && (index.h("slot", { key: '9012ea2ac18ebbdc337ef7fc3fc79a36b1c9c720', name: 'header', slot: 'header' })), hasHelperSlot && (index.h("slot", { key: 'f461db190f2ca1727117e062111e96c6f85728be', name: 'helper', slot: 'helper' })), hasErrorSlot && (index.h("slot", { key: '353b0153551e5e7adb23b19390a4111e0b96d0c4', name: 'error', slot: 'error' })), index.h("div", { key: '20152561ff55142e43b3b1cbfb151b254f145736', class: field({
|
|
395
395
|
error: !!this.error?.length,
|
|
396
396
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
397
397
|
focused: asBoolean.asBoolean(this.focused) || this._focused,
|
|
@@ -402,7 +402,7 @@ const Field = class {
|
|
|
402
402
|
? `${this.value}`
|
|
403
403
|
: undefined }, (this.error?.length ||
|
|
404
404
|
prefix ||
|
|
405
|
-
(this.icon && this.iconPosition === 'start')) && (index.h("div", { key: '
|
|
405
|
+
(this.icon && this.iconPosition === 'start')) && (index.h("div", { key: 'bca5cf5eca02b9291eb710e6c3539e23bb349d96', class: prefixAndSuffix({
|
|
406
406
|
variant: this.variant,
|
|
407
407
|
error: !!this.error?.length,
|
|
408
408
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
@@ -414,7 +414,7 @@ const Field = class {
|
|
|
414
414
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
415
415
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
416
416
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
417
|
-
(this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '
|
|
417
|
+
(this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '0ab5f5a94ff34eeeb76eb94cad88a4895a656bfd', class: cn.cn(prefixAndSuffix({
|
|
418
418
|
variant: this.variant,
|
|
419
419
|
error: !!this.error?.length,
|
|
420
420
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
@@ -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: '2584c934001e26c03b752112c165dc89f31db007', name: 'content', slot: 'trigger' }));
|
|
692
692
|
if (this.loading) {
|
|
693
|
-
contentSlot = (index.h("p-loader", { key: '
|
|
693
|
+
contentSlot = (index.h("p-loader", { key: 'fe69f220c9021a637ca5bef74868f769222a635d', 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: 'cbed8c2f71c7be4f1789b3d234aafca4f9f078d9' }, index.h("label", { key: '41c19529b5282769de686b834e1facfd69a323cf', class: cn.cn('flex 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: '44a2fbd0d1024cd153894dd5548d7b4e0f1f4aec', 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: '1e7519168574464c867c86f84ecdca2c4e15e460', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, index.h("span", { key: 'ec3649c4a9436d9c54be7929781d1d9a5fc459df', 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: '2cc430522904e8df5dcc7fbf40f71d26287b7f0a', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean.asBoolean(this.required) && asBoolean.asBoolean(this.showOptional)) ||
|
|
703
|
+
hasHeaderSlot) && (index.h("div", { key: 'f6849a8c420eb3582a7d92d5e6b42bdd4e019a07', 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: '2329447c26577bc481fc46f11b1dcbfceff39f60', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && index.h("slot", { key: '09fffde1c42b4b160c455ba73f47d11e1d34dbc5', name: 'header' })))), index.h("p-tooltip", { key: '26a3e3aa6bb7e3d57ae990ca672e01df493d3f1d', 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: '5a0ce99a2d3c123566e6417eeec26fe86ce054c6', 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: '9f2914b0d9d5a9e89f40697fad81d9bd167e5865' }, index.h("p-tooltip", { key: '409c6db4657e7cdb926f931448dfcb082b742400', class: 'flex', placement: this.placement, strategy: this.strategy }, index.h("p-icon", { key: 'dc0a1e1e2a2ae677ab5493541bf3b4aabc12ec9b', 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: '7a28aeafd07af4259e1a4fcb089a4535d8c95e8f', slot: 'content' }, index.h("slot", { key: 'c67f0ecd91966e667398ebbe0cf5ba5e3e46bb53' })))));
|
|
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: 'e653498fd7e06f53f8440399011a1a8ada5f67f1', 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: '78ccc757ffdf76c71bd293de5cafb73f1a34f56e', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, index.h("slot", { key: '9e37c6abdd1a17f6bb8d4bb47fbc4ee278b5ce35' }))));
|
|
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: "50517d8d3aaaa520665e8591663654c505b08104", 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}';
|