@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
package/hydrate/index.js
CHANGED
|
@@ -11603,10 +11603,10 @@ class Accordion {
|
|
|
11603
11603
|
*/
|
|
11604
11604
|
isOpen;
|
|
11605
11605
|
render() {
|
|
11606
|
-
return (hAsync(ThemedHost, { key: '
|
|
11606
|
+
return (hAsync(ThemedHost, { key: '6bdd4ed7d2af065f0123c3a52c45823427a4c910' }, hAsync("div", { key: '7a1a2b915508b63385f223f44f72d2bf3964d0f8', class: 'flex w-full flex-col' }, hAsync("div", { key: 'b2bd5b3e79622732cb12cc20ed0ba0af9783abd5', class: cn('flex cursor-pointer items-center gap-2', {
|
|
11607
11607
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
11608
11608
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
11609
|
-
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '
|
|
11609
|
+
}), onClick: () => this._onClick() }, hAsync("p-icon", { key: '14c2c63d42091bd8fb9e3a9f34db46cb14925638', class: 'flex shrink-0', rotate: this.open ? 0 : -90, variant: 'caret' }), hAsync("p", { key: 'e454be441fb5f3c6bc4fed85dce2a0340f2d5d67', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), hAsync("p-divider", { key: '390ff50e2839e90cfa23bd47176c28b0955afe51', class: 'flex-1' })), this.open && (hAsync("div", { key: '88697a63f13c0cdbc3ffa328f3867b17ae330d4f', class: 'mt-4' }, hAsync("slot", { key: 'dead63df013ae45be5c507e087940544f6b00651' }))))));
|
|
11610
11610
|
}
|
|
11611
11611
|
_onClick() {
|
|
11612
11612
|
if (!this.closeable && this.open) {
|
|
@@ -11743,27 +11743,27 @@ class Attachment {
|
|
|
11743
11743
|
_fileRef;
|
|
11744
11744
|
_cameraFileRef;
|
|
11745
11745
|
render() {
|
|
11746
|
-
let prefix = (hAsync("p-icon", { key: '
|
|
11746
|
+
let prefix = (hAsync("p-icon", { key: '587f12b76577943dfbc409fbb43f42e0855f587b', class: 'text-storm-300', variant: 'attachment' }));
|
|
11747
11747
|
if (this.error) {
|
|
11748
|
-
prefix = (hAsync("p-icon", { key: '
|
|
11748
|
+
prefix = (hAsync("p-icon", { key: 'a69706156ef6b4df95e99c1287d7fc66138623de', class: 'text-negative-red-500', variant: 'warning' }));
|
|
11749
11749
|
}
|
|
11750
11750
|
const isTouch = isTouchDevice();
|
|
11751
11751
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
11752
|
-
return (hAsync(Fragment, { key: '
|
|
11752
|
+
return (hAsync(Fragment, { key: 'dc27c417ee7f51c5b5ea32f4b48d6e378b791158' }, hAsync("p-field-container", { key: '8b24050c51fb20d72d145b0edaf631d4a565a402', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, hAsync("div", { key: '0c09d59f81a5d66bed2ead03f66f0f9c5aa46f6d', class: 'flex w-full items-start gap-2', slot: 'content' }, hAsync("div", { key: 'd96a47f4325783c6afd6c2183fb9ed4a9ffb1008', class: attachment({
|
|
11753
11753
|
click: this.mode === 'write' && !this.value?.length,
|
|
11754
11754
|
error: !!this.error?.length,
|
|
11755
|
-
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '
|
|
11755
|
+
}), onClick: () => this._uploadClick() }, prefix, hAsync("span", { key: '472bbcfe3fc21398f7fecd2dd3e54c9dbb29dc4c', class: cn(baseText, `
|
|
11756
11756
|
peer
|
|
11757
11757
|
empty:hidden
|
|
11758
11758
|
dark:text-white
|
|
11759
|
-
`) }, this.value), hAsync("span", { key: '
|
|
11759
|
+
`) }, this.value), hAsync("span", { key: '6b2d1633df4a6c7d99882beaf64975c7946311b9', class: cn(baseText, `
|
|
11760
11760
|
hidden
|
|
11761
11761
|
peer-empty:block
|
|
11762
|
-
`) }, this.placeholder)), hAsync("p-tooltip", { key: '
|
|
11762
|
+
`) }, this.placeholder)), hAsync("p-tooltip", { key: '523b11731512708da80ee9aa78a335a8b7964b29', class: 'w-8', content: this.mode === 'read'
|
|
11763
11763
|
? this.downloadTooltip
|
|
11764
11764
|
: this.value?.length
|
|
11765
11765
|
? this.deleteTooltip
|
|
11766
|
-
: this.uploadTooltip }, hAsync("p-button", { key: '
|
|
11766
|
+
: this.uploadTooltip }, hAsync("p-button", { key: '67d6d31511515807b01ffc967945f0f6ab05bfdd', disabled: this.loading, icon: this.mode === 'read'
|
|
11767
11767
|
? 'download'
|
|
11768
11768
|
: this.value?.length
|
|
11769
11769
|
? 'trash'
|
|
@@ -11774,7 +11774,7 @@ class Attachment {
|
|
|
11774
11774
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
11775
11775
|
this.mode === 'write' &&
|
|
11776
11776
|
isTouch &&
|
|
11777
|
-
!this.value?.length && (hAsync("p-tooltip", { key: '
|
|
11777
|
+
!this.value?.length && (hAsync("p-tooltip", { key: 'd8fd21c7454d4fdc55982bb4d88b4fce7ffb3b43', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, hAsync("p-button", { key: '437603bf559886d48bd24e612cbdd7b932e2f599', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), hAsync("input", { key: '8a639c93da11fa6e4698f2ecc85c04a4dca21c4b', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, class: 'hidden', ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) }), hAsync("input", { key: 'a027d05cacd5cf8489bc09fe3b22a68d765dd942', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
11778
11778
|
}
|
|
11779
11779
|
_uploadClick() {
|
|
11780
11780
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -11904,7 +11904,7 @@ class Avatar {
|
|
|
11904
11904
|
}
|
|
11905
11905
|
}
|
|
11906
11906
|
render() {
|
|
11907
|
-
return (hAsync(Host, { key: '
|
|
11907
|
+
return (hAsync(Host, { key: '7e513c538f489c5e97b68ba5046cd87d1b9c8303', class: avatar({
|
|
11908
11908
|
size: this.size,
|
|
11909
11909
|
variant: this.variant,
|
|
11910
11910
|
}) }, this._failed ? (hAsync("span", null, this.letters?.[0] ?? ' ')) : (hAsync("img", { class: 'z-0 aspect-branding h-full rounded-full object-cover', src: this._src, onError: () => this._setFailed() }))));
|
|
@@ -11948,7 +11948,7 @@ class AvatarGroup {
|
|
|
11948
11948
|
*/
|
|
11949
11949
|
extra;
|
|
11950
11950
|
render() {
|
|
11951
|
-
return (hAsync(Host, { key: '
|
|
11951
|
+
return (hAsync(Host, { key: '51f7d5b3bdb5a0cbe90217d89e0226808c1e79a8', class: 'flex items-center -space-x-1 overflow-hidden' }, hAsync("slot", { key: '541682539a48891e01f727a7996763f1f4d87141' }), this.extra && (hAsync("span", { key: 'e4b21e0ca74b8db7154085a98b54c68ca2e4cfd6', class: 'pl-3 text-sm text-storm-300' }, "+", this.extra))));
|
|
11952
11952
|
}
|
|
11953
11953
|
static get style() { return avatarGroupComponentCss(); }
|
|
11954
11954
|
static get cmpMeta() { return {
|
|
@@ -12075,13 +12075,13 @@ class Backdrop {
|
|
|
12075
12075
|
}
|
|
12076
12076
|
}
|
|
12077
12077
|
render() {
|
|
12078
|
-
return (hAsync(ThemedHost, { key: '
|
|
12078
|
+
return (hAsync(ThemedHost, { key: 'e9586ce56dfa263c02c005474361468a0aaa21e2' }, hAsync("div", { key: '80dd679ca396a856e1c72077b86ec2a7f8525fb5', class: backdrop$1({
|
|
12079
12079
|
blur: asBoolean(this.applyBlur),
|
|
12080
12080
|
closing: asBoolean(this.closing),
|
|
12081
|
-
}) }, hAsync("div", { key: '
|
|
12081
|
+
}) }, hAsync("div", { key: 'c7e2329750dee4b82801033ce2ea354244ad0590', class: contentContainer({
|
|
12082
12082
|
variant: this.variant,
|
|
12083
12083
|
closing: asBoolean(this.closing),
|
|
12084
|
-
}) }, hAsync("slot", { key: '
|
|
12084
|
+
}) }, hAsync("slot", { key: 'b236a370d355365f5af928afab77227819acc08c' })))));
|
|
12085
12085
|
}
|
|
12086
12086
|
handleClick(ev) {
|
|
12087
12087
|
if (ev.target !== this._el && !this._el.contains(ev.target)) {
|
|
@@ -12127,7 +12127,7 @@ class Badge {
|
|
|
12127
12127
|
registerInstance(this, hostRef);
|
|
12128
12128
|
}
|
|
12129
12129
|
render() {
|
|
12130
|
-
return (hAsync(ThemedHost, { key: '
|
|
12130
|
+
return (hAsync(ThemedHost, { key: 'c87471d8302be84444f12d8f564536fc413350e7' }, hAsync("div", { key: '2bfc3ab348633579370ca7b94ed3a60aed7f3097', class: badge() }, hAsync("slot", { key: '13590134e4d94df633d89a2a9bdaea97e9d02582' }))));
|
|
12131
12131
|
}
|
|
12132
12132
|
static get style() { return badgeComponentCss(); }
|
|
12133
12133
|
static get cmpMeta() { return {
|
|
@@ -12815,7 +12815,7 @@ class ButtonGroup {
|
|
|
12815
12815
|
this._checkButtons();
|
|
12816
12816
|
}
|
|
12817
12817
|
render() {
|
|
12818
|
-
return (hAsync(Host, { key: '
|
|
12818
|
+
return (hAsync(Host, { key: '48cc5e108ffd88805ff5bf975e6163828ce49e78', class: 'flex items-center' }, hAsync("slot", { key: 'eac2210059c03cb4a661bac6f6ca80cc10f78a69' })));
|
|
12819
12819
|
}
|
|
12820
12820
|
slotchange() {
|
|
12821
12821
|
this._checkButtons();
|
|
@@ -88160,7 +88160,7 @@ class Calendar {
|
|
|
88160
88160
|
}
|
|
88161
88161
|
}
|
|
88162
88162
|
render() {
|
|
88163
|
-
return (hAsync(ThemedHost, { key: '
|
|
88163
|
+
return (hAsync(ThemedHost, { key: '3fff6e0a14facd9e4a44c6f932019d6d20ed586f' }, hAsync("div", { key: '81a4a6ea5f2f24473f8c2b869c90ade95e0e3c5d', class: calendar$1({ variant: this.variant }) }, this._getView())));
|
|
88164
88164
|
}
|
|
88165
88165
|
_checkTodayButton() {
|
|
88166
88166
|
if (this._maxDate && dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -88452,7 +88452,7 @@ class CardBody {
|
|
|
88452
88452
|
registerInstance(this, hostRef);
|
|
88453
88453
|
}
|
|
88454
88454
|
render() {
|
|
88455
|
-
return (hAsync(ThemedHost, { key: '
|
|
88455
|
+
return (hAsync(ThemedHost, { key: '9968fb71d84936146832f3ccc8229530831916a2' }, hAsync("slot", { key: '5df201bc946dbaf4c1a29b73988b9ad4e72e828d' })));
|
|
88456
88456
|
}
|
|
88457
88457
|
static get style() { return cardBodyComponentCss(); }
|
|
88458
88458
|
static get cmpMeta() { return {
|
|
@@ -88562,13 +88562,13 @@ class CardContainer {
|
|
|
88562
88562
|
*/
|
|
88563
88563
|
border = true;
|
|
88564
88564
|
render() {
|
|
88565
|
-
return (hAsync(ThemedHost, { key: '
|
|
88565
|
+
return (hAsync(ThemedHost, { key: '3254643a3eea9671689a95c6b5d9e865232dc4f4' }, hAsync("div", { key: '104b2922fee2364675d3e9129f692ccda700ba63', class: cn(container$5({
|
|
88566
88566
|
variant: this.variant,
|
|
88567
88567
|
active: asBoolean(this.active, false),
|
|
88568
88568
|
hoverable: asBoolean(this.hoverable, false),
|
|
88569
88569
|
shadow: asBoolean(this.shadow, true),
|
|
88570
88570
|
border: asBoolean(this.border),
|
|
88571
|
-
}), this.bgClass) }, hAsync("slot", { key: '
|
|
88571
|
+
}), this.bgClass) }, hAsync("slot", { key: '9e76d78322deb8fb39da8ab45d54dc91a8fd3539' }))));
|
|
88572
88572
|
}
|
|
88573
88573
|
static get style() { return cardContainerComponentCss(); }
|
|
88574
88574
|
static get cmpMeta() { return {
|
|
@@ -88639,11 +88639,11 @@ class CardHeader {
|
|
|
88639
88639
|
*/
|
|
88640
88640
|
divider = true;
|
|
88641
88641
|
render() {
|
|
88642
|
-
return (hAsync(ThemedHost, { key: '
|
|
88642
|
+
return (hAsync(ThemedHost, { key: '121c8160b6cb1e37495e44408e6f268c0ec96352' }, hAsync("div", { key: '0e34a533387192ccc8e8b37176e2a90d156aa93f', class: header$4({
|
|
88643
88643
|
variant: this.variant,
|
|
88644
|
-
}) }, hAsync("div", { key: '
|
|
88644
|
+
}) }, hAsync("div", { key: 'cfedd527b35b50e5b0b5d4eec2fe9d1470b355fd', class: content$6({
|
|
88645
88645
|
variant: this.variant,
|
|
88646
|
-
}) }, this.icon ? (hAsync("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (hAsync("slot", { name: 'prefix' })), hAsync("div", { key: '
|
|
88646
|
+
}) }, this.icon ? (hAsync("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (hAsync("slot", { name: 'prefix' })), hAsync("div", { key: '2e6ec50752da1fc42620203d8e2aeed1cbdadf52', class: title$2() }, hAsync("span", { key: 'cf544dbd8d9286d1b488df40a57756a51f7445ed', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : hAsync("slot", null)), hAsync("slot", { key: '4f30078497757b31157cc8ab1f20cda180b6974e', name: 'content-suffix' })), hAsync("div", { key: 'b54bf5309ceee682e0d309bf6882976d636ebcd4', class: '\n ml-auto flex items-center justify-end gap-4\n empty:hidden\n ' }, hAsync("slot", { key: '72ed3c887b80e34e3db7f274c621c0ce2cf34dee', name: 'suffix' }))), this.variant === 'default' ? (asBoolean(this.divider) && (hAsync("p-divider", { class: '\n text-off-white-700\n dark:text-white/15\n ' }))) : (hAsync("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, hAsync("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
|
|
88647
88647
|
}
|
|
88648
88648
|
static get style() { return cardHeaderComponentCss(); }
|
|
88649
88649
|
static get cmpMeta() { return {
|
|
@@ -88814,13 +88814,13 @@ class Checkbox {
|
|
|
88814
88814
|
}
|
|
88815
88815
|
render() {
|
|
88816
88816
|
const id = this.id?.length ? this.id : this._nonce;
|
|
88817
|
-
return (hAsync(ThemedHost, { key: '
|
|
88817
|
+
return (hAsync(ThemedHost, { key: '1515c15feea5676594071d916d967f03684003cb' }, hAsync("label", { key: 'e5b495ac4740fd87d9958106f0875e9b41373f0f', class: 'group/p-checkbox flex items-center justify-start gap-2', htmlFor: id }, hAsync("div", { key: 'a1a93ae8c63b510d111b133a035090993e4696ed', class: 'relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'a7ab67831b3820c585a80d8aa8d8ecc4205c677c', checked: asBoolean(this.checked), class: checkbox({
|
|
88818
88818
|
disabled: asBoolean(this.disabled),
|
|
88819
|
-
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '
|
|
88819
|
+
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: 'a92126c7a6425400c13735ccd6889a64ec388ded', class: iconContainer({
|
|
88820
88820
|
disabled: asBoolean(this.disabled),
|
|
88821
|
-
}) }, hAsync("p-icon", { key: '
|
|
88821
|
+
}) }, hAsync("p-icon", { key: 'e5bef96d152e560a770e45bda12b73d453890ed6', class: icon$2({
|
|
88822
88822
|
disabled: asBoolean(this.disabled),
|
|
88823
|
-
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), hAsync("div", { key: '
|
|
88823
|
+
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), hAsync("div", { key: '99532f60ebed0325ecf95813fccf159cbc1b9079', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, hAsync("slot", { key: 'ccd1ad045758ffd9590ca6c9ad8ee5c5b427a19e' })))));
|
|
88824
88824
|
}
|
|
88825
88825
|
_onChange(ev) {
|
|
88826
88826
|
if (this.disabled) {
|
|
@@ -88908,13 +88908,13 @@ class ContentSlider {
|
|
|
88908
88908
|
}
|
|
88909
88909
|
}
|
|
88910
88910
|
render() {
|
|
88911
|
-
return (hAsync(Host, { key: '
|
|
88911
|
+
return (hAsync(Host, { key: '10219a5b7b268ab732457094c2491d4a203c3d47' }, hAsync("div", { key: 'd66009928658b522cbd18c230d9381568661cad2', class: `
|
|
88912
88912
|
slider
|
|
88913
88913
|
${!this.disableDrag && 'draggable'}
|
|
88914
88914
|
${this._dragging && 'dragging'}
|
|
88915
88915
|
`, ref: el => (this._sliderRef = el), style: {
|
|
88916
88916
|
height: `${this._outerHeight}px`,
|
|
88917
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '
|
|
88917
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, hAsync("div", { key: '98ea5929e9e4c35807db44deea40a713eb55e22b', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, hAsync("slot", { key: '99ec72369ee09b9c56406697559ce232d90476b0', onSlotchange: () => this._slotChange() }))), hAsync("div", { key: '3e7cd9e03341d52b60d934ad88d33138cd31ff1e', class: `
|
|
88918
88918
|
indicator
|
|
88919
88919
|
${this.hideMobileIndicator && 'hidden'}
|
|
88920
88920
|
` }, this._filteredItems.map((_, i) => (hAsync("div", { class: `
|
|
@@ -91965,7 +91965,7 @@ class Cropper {
|
|
|
91965
91965
|
const themeColor = state.theme === 'dark'
|
|
91966
91966
|
? 'rgba(70, 75, 84, 0.5)'
|
|
91967
91967
|
: 'rgba(255, 255, 255, 0.5)';
|
|
91968
|
-
return (hAsync(ThemedHost, { key: '
|
|
91968
|
+
return (hAsync(ThemedHost, { key: '45de2e7e220d4a56fc8f863bebc570efba716c6e' }, this._loaded && (hAsync("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() }, hAsync("cropper-image", { key: '5f55ad7da0800e65d965a73dcf2954e62a720e30', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), hAsync("cropper-shade", { key: '8f6235a0c13f64b907447d4611365831bbed8328', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), hAsync("cropper-selection", { key: 'fbffe0267e5346b34f627d4160222c08a048da18', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), hAsync("cropper-handle", { key: '90d51dfa7e392505459b2252334e98eaf28f0e9d', action: 'move', plain: true }))), hAsync("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) })));
|
|
91969
91969
|
}
|
|
91970
91970
|
_setImageRef(ref) {
|
|
91971
91971
|
if (this._imageRef || !ref) {
|
|
@@ -92295,7 +92295,7 @@ class Datepicker {
|
|
|
92295
92295
|
}
|
|
92296
92296
|
}
|
|
92297
92297
|
render() {
|
|
92298
|
-
return (hAsync("p-dropdown", { key: '
|
|
92298
|
+
return (hAsync("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 }, hAsync("p-field", { key: 'f7065621d6f200a2f340e866f5357b5aa133fdcc', autoShowError: false, disabled: 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(this.required), showOptional: 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 && (hAsync("input", { key: '62752c953dfd35a76d7650d8c0621421c77257f0', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
92299
92299
|
dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
92300
92300
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92301
92301
|
}), min: this._minDate &&
|
|
@@ -92304,7 +92304,7 @@ class Datepicker {
|
|
|
92304
92304
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
92305
92305
|
dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
92306
92306
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
92307
|
-
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '
|
|
92307
|
+
}), onInput: ev => this._onNativeInput(ev) })), hAsync("div", { key: '19aeebff76b179555fcbf507fe9a503b074bd79e', slot: 'items', tabIndex: -1 }, hAsync("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) }))));
|
|
92308
92308
|
}
|
|
92309
92309
|
documentClickHandler({ target }) {
|
|
92310
92310
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -92556,12 +92556,12 @@ class Divider {
|
|
|
92556
92556
|
get _el() { return getElement(this); }
|
|
92557
92557
|
render() {
|
|
92558
92558
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
92559
|
-
return (hAsync(ThemedHost, { key: '
|
|
92559
|
+
return (hAsync(ThemedHost, { key: '62e456790fca35130a51837664dc62a731ecf0b1' }, hAsync("div", { key: '1c173037cb8e342ee1d2eb55cda92ffbde98fe68', class: cn(content$5({
|
|
92560
92560
|
variant: this.variant,
|
|
92561
92561
|
alignContent: this.alignContent,
|
|
92562
92562
|
}), {
|
|
92563
92563
|
'text-off-white-700 dark:text-hurricane-400': !this._el.className.includes('text'),
|
|
92564
|
-
}) }, hAsync("div", { key: '
|
|
92564
|
+
}) }, hAsync("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 && hAsync("slot", { key: 'b3a252740a235ab6d1184a7e3a38d2046bf41f36' })))));
|
|
92565
92565
|
}
|
|
92566
92566
|
static get style() { return dividerComponentCss(); }
|
|
92567
92567
|
static get cmpMeta() { return {
|
|
@@ -92708,7 +92708,7 @@ class DrawerBody {
|
|
|
92708
92708
|
registerInstance(this, hostRef);
|
|
92709
92709
|
}
|
|
92710
92710
|
render() {
|
|
92711
|
-
return hAsync("slot", { key: '
|
|
92711
|
+
return hAsync("slot", { key: 'f26933044c64fd73c9fc3d7400623d52f3d6cb73' });
|
|
92712
92712
|
}
|
|
92713
92713
|
static get style() { return drawerBodyComponentCss(); }
|
|
92714
92714
|
static get cmpMeta() { return {
|
|
@@ -92753,9 +92753,9 @@ class DrawerContainer {
|
|
|
92753
92753
|
*/
|
|
92754
92754
|
closing = false;
|
|
92755
92755
|
render() {
|
|
92756
|
-
return (hAsync(ThemedHost, { key: '
|
|
92756
|
+
return (hAsync(ThemedHost, { key: 'ba9bf03e3da5ccc386585d9242317098d1974dc7' }, hAsync("div", { key: '6ab542b1a314855bc417ddb9db513028bf1453e2', class: container$4({
|
|
92757
92757
|
closing: asBoolean(this.closing),
|
|
92758
|
-
}) }, hAsync("slot", { key: '
|
|
92758
|
+
}) }, hAsync("slot", { key: '6a3670c0482888725235ceb8df65136d9309785a' }))));
|
|
92759
92759
|
}
|
|
92760
92760
|
static get style() { return drawerContainerComponentCss(); }
|
|
92761
92761
|
static get cmpMeta() { return {
|
|
@@ -92802,7 +92802,7 @@ class DrawerHeader {
|
|
|
92802
92802
|
*/
|
|
92803
92803
|
close;
|
|
92804
92804
|
render() {
|
|
92805
|
-
return (hAsync(ThemedHost, { key: '
|
|
92805
|
+
return (hAsync(ThemedHost, { key: '68ec14e2f8d7fe78e6f4121f26b500e4f6806f2f' }, hAsync("div", { key: 'bfd65e98e1e370ae5d1fe1204b0f35fa6ea5c527', class: header$3() }, hAsync("div", { key: '5216d5ff046ec5d9308960ca6536221806070893', class: content$4() }, this.showClose && (hAsync("p-button", { key: '068ff9a02ffe20649644d45a4883322bc213ed4f', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) })), hAsync("div", { key: 'ce6808112de2a48b49b4632ee3b98cb80525aebf', class: title$1() }, hAsync("slot", { key: '66c6afa30f02a8bb7b10da5264470cc5e92c0777' })), this.showClose && hAsync("div", { key: '947d1919641618b24dd528cb1d1f00974cc0252e', class: 'size-8' })), hAsync("p-smile", { key: '3809052da27e1deb595d5ebe0357fa03d3c610f3', class: 'dark:text-hurricane-400' }))));
|
|
92806
92806
|
}
|
|
92807
92807
|
static get style() { return drawerHeaderComponentCss(); }
|
|
92808
92808
|
static get cmpMeta() { return {
|
|
@@ -94472,12 +94472,12 @@ class Dropdown {
|
|
|
94472
94472
|
this._checkItems();
|
|
94473
94473
|
}
|
|
94474
94474
|
render() {
|
|
94475
|
-
return (hAsync(Host, { key: '
|
|
94475
|
+
return (hAsync(Host, { key: 'b7067a6aee2989c76376592bc7e2ce02750629c3', class: 'relative' }, hAsync("div", { key: '61b1c733996f22f05c16a143a0e5a3b22f8538f9', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, hAsync("slot", { key: '26b066d7146aa9dba35e37531017fa16c5c2dd2a', name: 'trigger' })), hAsync("div", { key: '14a2e8dfe6ce4f7f0d81e50c744e7c9c1128b401', class: 'relative w-full' }, hAsync("p-dropdown-menu-container", { key: 'd4c3bc965f7015bf8014026d6227f4a38d973d42', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
94476
94476
|
strategy: this.strategy,
|
|
94477
94477
|
maxWidth: this.applyMaxWidth,
|
|
94478
94478
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
94479
94479
|
isDatepicker: this.isDatepicker,
|
|
94480
|
-
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, hAsync("slot", { key: '
|
|
94480
|
+
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, hAsync("slot", { key: '2b4c8c622fa2656d399b93ae2c48807987846d9c', name: 'items' })))));
|
|
94481
94481
|
}
|
|
94482
94482
|
_checkButtons(active = false) {
|
|
94483
94483
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -94727,15 +94727,15 @@ class DropdownMenuContainer {
|
|
|
94727
94727
|
: this.scrollable === true
|
|
94728
94728
|
? 'default'
|
|
94729
94729
|
: this.scrollable;
|
|
94730
|
-
return (hAsync(ThemedHost, { key: '
|
|
94730
|
+
return (hAsync(ThemedHost, { key: '0716936b0d23b24477d8a66afb779a85819d6f3b' }, hAsync("div", { key: 'ab0762a53542cf170dbb2593e7ce3d71006aa43a', class: dropdownMenuContainer({
|
|
94731
94731
|
class: this.class,
|
|
94732
94732
|
variant: this.variant,
|
|
94733
94733
|
fullWidth: asBoolean(this.fullWidth, true),
|
|
94734
94734
|
maxWidth: this.maxWidth,
|
|
94735
|
-
}) }, hAsync("div", { key: '
|
|
94735
|
+
}) }, hAsync("div", { key: '8394e8a2198f8b93c2ba2f72e26ca42a3f6f2b29', class: innerContainer({
|
|
94736
94736
|
allowOverflow: asBoolean(this.allowOverflow),
|
|
94737
94737
|
scrollable,
|
|
94738
|
-
}) }, hAsync("div", { key: '
|
|
94738
|
+
}) }, hAsync("div", { key: '674e2c415cc6a19e3c3e96a5415fdadaff2ef298', class: 'flex w-full flex-col' }, hAsync("slot", { key: 'a7b2a36f525560bd41c0bc5314e29bb409d385e9' }))))));
|
|
94739
94739
|
}
|
|
94740
94740
|
static get style() { return dropdownMenuContainerComponentCss(); }
|
|
94741
94741
|
static get cmpMeta() { return {
|
|
@@ -95037,19 +95037,19 @@ class DropdownMenuItem {
|
|
|
95037
95037
|
*/
|
|
95038
95038
|
autoHeight = false;
|
|
95039
95039
|
render() {
|
|
95040
|
-
return (hAsync(ThemedHost, { key: '
|
|
95040
|
+
return (hAsync(ThemedHost, { key: 'a9d9404058e02af2e3f67248c9b97501c0627764' }, hAsync("div", { key: '999122672d9c1f7fd467ef5a4a4316b3484c201d', class: cn(dropdownMenuItem({
|
|
95041
95041
|
variant: this.variant,
|
|
95042
95042
|
active: asBoolean(this.active),
|
|
95043
95043
|
enableHover: asBoolean(this.enableHover ?? true),
|
|
95044
95044
|
autoHeight: asBoolean(this.autoHeight ?? false),
|
|
95045
95045
|
enableTextWrap: this.enableTextWrap,
|
|
95046
95046
|
disabled: asBoolean(this.disabled),
|
|
95047
|
-
})) }, this.icon && (hAsync("p-icon", { key: '
|
|
95047
|
+
})) }, this.icon && (hAsync("p-icon", { key: '874509b8f140f2a7f59d3eaea197576d04fef57a', class: dropdownMenuItemIcon({
|
|
95048
95048
|
variant: this.variant,
|
|
95049
95049
|
active: asBoolean(this.active),
|
|
95050
95050
|
disabled: asBoolean(this.disabled),
|
|
95051
95051
|
wave: asBoolean(this.iconWave),
|
|
95052
|
-
}), variant: this.icon })), this.checkbox && (hAsync("p-checkbox", { key: '
|
|
95052
|
+
}), variant: this.icon })), this.checkbox && (hAsync("p-checkbox", { key: '4ac46ef8905c184cf1e1e3531d26ef559ae3ff97', checked: this.active, disabled: this.disabled })), this.useContainer ? (hAsync("div", { class: cn('block w-full overflow-hidden text-start', {
|
|
95053
95053
|
'text-ellipsis whitespace-nowrap': !this.enableTextWrap,
|
|
95054
95054
|
}) }, hAsync("slot", null))) : (hAsync("slot", null)))));
|
|
95055
95055
|
}
|
|
@@ -95075,6 +95075,213 @@ class DropdownMenuItem {
|
|
|
95075
95075
|
}; }
|
|
95076
95076
|
}
|
|
95077
95077
|
|
|
95078
|
+
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)}`;
|
|
95079
|
+
|
|
95080
|
+
const dropzone = cva(['flex w-full flex-col items-center gap-2', 'rounded-lg', 'border', 'p-8'], {
|
|
95081
|
+
variants: {
|
|
95082
|
+
uploaded: {
|
|
95083
|
+
false: 'border-dashed',
|
|
95084
|
+
true: 'border-off-white-700',
|
|
95085
|
+
},
|
|
95086
|
+
isOver: {
|
|
95087
|
+
true: 'border-dashed border-indigo-500 bg-indigo-50',
|
|
95088
|
+
false: 'border-white-800',
|
|
95089
|
+
},
|
|
95090
|
+
},
|
|
95091
|
+
compoundVariants: [
|
|
95092
|
+
{
|
|
95093
|
+
uploaded: true,
|
|
95094
|
+
isOver: false,
|
|
95095
|
+
class: 'border-solid bg-positive-green-50',
|
|
95096
|
+
},
|
|
95097
|
+
{
|
|
95098
|
+
uploaded: false,
|
|
95099
|
+
isOver: false,
|
|
95100
|
+
class: 'bg-white-600',
|
|
95101
|
+
},
|
|
95102
|
+
],
|
|
95103
|
+
});
|
|
95104
|
+
class Dropzone {
|
|
95105
|
+
constructor(hostRef) {
|
|
95106
|
+
registerInstance(this, hostRef);
|
|
95107
|
+
this.upload = createEvent(this, "upload", 3);
|
|
95108
|
+
}
|
|
95109
|
+
/**
|
|
95110
|
+
* Icon to show on the dropzone
|
|
95111
|
+
*/
|
|
95112
|
+
icon = 'file-export';
|
|
95113
|
+
/**
|
|
95114
|
+
* Wether to show the icon or not
|
|
95115
|
+
*/
|
|
95116
|
+
showIcon = true;
|
|
95117
|
+
/**
|
|
95118
|
+
* The type of files to accept
|
|
95119
|
+
*/
|
|
95120
|
+
acceptGroup = 'any';
|
|
95121
|
+
/**
|
|
95122
|
+
* The fileID to use to track the file
|
|
95123
|
+
*/
|
|
95124
|
+
fileId;
|
|
95125
|
+
/**
|
|
95126
|
+
* Wether the attachment is loading
|
|
95127
|
+
*/
|
|
95128
|
+
loading = false;
|
|
95129
|
+
/**
|
|
95130
|
+
* Allow multiple files
|
|
95131
|
+
*/
|
|
95132
|
+
allowMultiple = true;
|
|
95133
|
+
/**
|
|
95134
|
+
* Wether the file is uploaded
|
|
95135
|
+
*/
|
|
95136
|
+
uploaded = false;
|
|
95137
|
+
/**
|
|
95138
|
+
* Event when upload is pressed
|
|
95139
|
+
*/
|
|
95140
|
+
upload;
|
|
95141
|
+
get _el() { return getElement(this); }
|
|
95142
|
+
_isOver = false;
|
|
95143
|
+
_fileRef;
|
|
95144
|
+
_filesToProcess = 0;
|
|
95145
|
+
_results = [];
|
|
95146
|
+
_documentBlocked = false;
|
|
95147
|
+
_preventDefault = (ev) => ev.preventDefault();
|
|
95148
|
+
componentWillRender() {
|
|
95149
|
+
if (!this._isOver && this._documentBlocked) {
|
|
95150
|
+
document.removeEventListener('drop', this._preventDefault);
|
|
95151
|
+
document.removeEventListener('dragover', this._preventDefault);
|
|
95152
|
+
this._documentBlocked = false;
|
|
95153
|
+
return;
|
|
95154
|
+
}
|
|
95155
|
+
if (!this._isOver) {
|
|
95156
|
+
return;
|
|
95157
|
+
}
|
|
95158
|
+
document.addEventListener('drop', this._preventDefault);
|
|
95159
|
+
document.addEventListener('dragover', this._preventDefault);
|
|
95160
|
+
this._documentBlocked = true;
|
|
95161
|
+
}
|
|
95162
|
+
render() {
|
|
95163
|
+
const hasContent = this._el.innerHTML?.length > 0;
|
|
95164
|
+
return (hAsync(ThemedHost, { key: '850603b4fb37087fd8bd7db5f37d9fcb17687fd2' }, hAsync("div", { key: '594badd15df513690f388b021993694ad710e5c6', class: cn(dropzone({
|
|
95165
|
+
isOver: this._isOver,
|
|
95166
|
+
uploaded: this.uploaded,
|
|
95167
|
+
}), {}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (hAsync("p-icon", { key: '10d41c9cd21bcba962c186ed04f48c1abf9c2073', class: cn({
|
|
95168
|
+
'text-storm-300': !this._isOver,
|
|
95169
|
+
'text-indigo-900': this._isOver,
|
|
95170
|
+
}), variant: this.icon })), this.loading && hAsync("p-loader", { key: '1c2b811db6711ef9bc4ba54d380f4aff7870ea0b' }), hasContent && hAsync("slot", { key: '2e1ab2124bef07b476a23bfefed446e4ac17c0d2' }), this.uploaded && !this._isOver && (hAsync("div", { key: 'e277e12954fd53100ec6202002c1b495d42ddb8b', class: 'flex items-center gap-2 text-positive-green-800' }, hAsync("p-icon", { key: '68dc24d68232b98aaed2d1a5b1bc38888c7efffb', variant: 'check-circle' }), hAsync("span", { key: 'f8cc3ffc3201efb23cd90d30eb7921e5c597db62', class: 'font-medium' }, "Toegevoegd"))), (!this.uploaded || this._isOver) && (hAsync("div", { key: 'be0dfd5990877b7e914580f3d6c193d48402ab2a', class: cn('flex flex-col text-center', {
|
|
95171
|
+
'opacity-50': this._isOver,
|
|
95172
|
+
}) }, hAsync("span", { key: 'f406b49e7b8ec6b4fb01fff011523147714da170', class: 'font-medium' }, "Sleep je bestand hierheen"), hAsync("span", { key: '7656b9d337a582f2e69cf555a4f5c8eaa70e6f51', class: 'font-normal' }, "of klik om te uploaden")))), hAsync("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) })));
|
|
95173
|
+
}
|
|
95174
|
+
onDrop(ev) {
|
|
95175
|
+
const files = this._getFiles(ev);
|
|
95176
|
+
if (!files?.length) {
|
|
95177
|
+
return;
|
|
95178
|
+
}
|
|
95179
|
+
this._processFiles(files);
|
|
95180
|
+
}
|
|
95181
|
+
onDragOver(ev) {
|
|
95182
|
+
if (!this._isFilesEvent(ev)) {
|
|
95183
|
+
return;
|
|
95184
|
+
}
|
|
95185
|
+
this._isOver = true;
|
|
95186
|
+
}
|
|
95187
|
+
onDragLeave() {
|
|
95188
|
+
this._isOver = false;
|
|
95189
|
+
}
|
|
95190
|
+
_isFilesEvent(ev) {
|
|
95191
|
+
if (!ev.dataTransfer) {
|
|
95192
|
+
return false;
|
|
95193
|
+
}
|
|
95194
|
+
const files = [...ev.dataTransfer.items].filter(item => item.kind === 'file');
|
|
95195
|
+
if (files.length === 0) {
|
|
95196
|
+
return false;
|
|
95197
|
+
}
|
|
95198
|
+
return true;
|
|
95199
|
+
}
|
|
95200
|
+
_getFiles(ev) {
|
|
95201
|
+
if (!this._isFilesEvent(ev)) {
|
|
95202
|
+
return;
|
|
95203
|
+
}
|
|
95204
|
+
const files = ev.dataTransfer?.files ?? [];
|
|
95205
|
+
if (files.length === 0) {
|
|
95206
|
+
return;
|
|
95207
|
+
}
|
|
95208
|
+
return [...files];
|
|
95209
|
+
}
|
|
95210
|
+
_uploadClick() {
|
|
95211
|
+
if (!this._fileRef) {
|
|
95212
|
+
return;
|
|
95213
|
+
}
|
|
95214
|
+
this._fileRef.click();
|
|
95215
|
+
}
|
|
95216
|
+
_onFileChange(ev) {
|
|
95217
|
+
const target = ev.target;
|
|
95218
|
+
if (!target.files) {
|
|
95219
|
+
return;
|
|
95220
|
+
}
|
|
95221
|
+
const files = [...target.files];
|
|
95222
|
+
if (!files?.length) {
|
|
95223
|
+
return;
|
|
95224
|
+
}
|
|
95225
|
+
this._processFiles(files);
|
|
95226
|
+
}
|
|
95227
|
+
_processFiles(files) {
|
|
95228
|
+
this._results = [];
|
|
95229
|
+
if (!this.allowMultiple) {
|
|
95230
|
+
files = [files[0]];
|
|
95231
|
+
}
|
|
95232
|
+
this._filesToProcess = files.length;
|
|
95233
|
+
for (const file of files) {
|
|
95234
|
+
this._processFile(file);
|
|
95235
|
+
}
|
|
95236
|
+
}
|
|
95237
|
+
_processFile(file) {
|
|
95238
|
+
this.loading = true;
|
|
95239
|
+
const reader = new FileReader();
|
|
95240
|
+
reader.addEventListener('load', (e) => this._onLoad(file, e?.currentTarget?.result));
|
|
95241
|
+
reader.readAsDataURL(file);
|
|
95242
|
+
}
|
|
95243
|
+
_onLoad(file, result) {
|
|
95244
|
+
this._results.push({
|
|
95245
|
+
file,
|
|
95246
|
+
result,
|
|
95247
|
+
});
|
|
95248
|
+
if (this._results?.length < this._filesToProcess) {
|
|
95249
|
+
return;
|
|
95250
|
+
}
|
|
95251
|
+
const data = {
|
|
95252
|
+
fileId: this.fileId,
|
|
95253
|
+
results: this._results,
|
|
95254
|
+
};
|
|
95255
|
+
if (this._results.length === 1 || !this.allowMultiple) {
|
|
95256
|
+
data.file = this._results[0].file;
|
|
95257
|
+
data.result = this._results[0].result;
|
|
95258
|
+
}
|
|
95259
|
+
this.upload.emit(data);
|
|
95260
|
+
if (this._fileRef) {
|
|
95261
|
+
this._fileRef.value = '';
|
|
95262
|
+
}
|
|
95263
|
+
this.loading = false;
|
|
95264
|
+
}
|
|
95265
|
+
static get style() { return dropzoneComponentCss(); }
|
|
95266
|
+
static get cmpMeta() { return {
|
|
95267
|
+
"$flags$": 777,
|
|
95268
|
+
"$tagName$": "p-dropzone",
|
|
95269
|
+
"$members$": {
|
|
95270
|
+
"icon": [1],
|
|
95271
|
+
"showIcon": [4, "show-icon"],
|
|
95272
|
+
"acceptGroup": [1, "accept-group"],
|
|
95273
|
+
"fileId": [1, "file-id"],
|
|
95274
|
+
"loading": [4],
|
|
95275
|
+
"allowMultiple": [4, "allow-multiple"],
|
|
95276
|
+
"uploaded": [4],
|
|
95277
|
+
"_isOver": [32]
|
|
95278
|
+
},
|
|
95279
|
+
"$listeners$": [[1, "drop", "onDrop"], [1, "dragover", "onDragOver"], [1, "dragleave", "onDragLeave"]],
|
|
95280
|
+
"$lazyBundleId$": "-",
|
|
95281
|
+
"$attrsToReflect$": []
|
|
95282
|
+
}; }
|
|
95283
|
+
}
|
|
95284
|
+
|
|
95078
95285
|
const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
95079
95286
|
|
|
95080
95287
|
const emptyState = cva(['flex w-full max-w-[20rem] flex-col items-center justify-start'], {
|
|
@@ -95135,11 +95342,11 @@ class EmptyState {
|
|
|
95135
95342
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
95136
95343
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
95137
95344
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
95138
|
-
return (hAsync(ThemedHost, { key: '
|
|
95345
|
+
return (hAsync(ThemedHost, { key: '46f56cd16b8fb196bf0386d0eb6e00f4033ace3d' }, hAsync("div", { key: 'b3b10b96f1e3a657b9c76982ef9330dc1909d114', class: emptyState({
|
|
95139
95346
|
enableAction: asBoolean(this.enableAction, true),
|
|
95140
95347
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
95141
95348
|
? this.action.emit(ev)
|
|
95142
|
-
: undefined }, this.illustration && (hAsync("p-illustration", { key: '
|
|
95349
|
+
: undefined }, this.illustration && (hAsync("p-illustration", { key: '558279ba45c580a607d4227469bf60006e426da1', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (hAsync("slot", { name: 'header' })) : (this.header?.length && (hAsync("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (hAsync("slot", { name: 'content' })) : (this.content?.length && (hAsync("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
|
|
95143
95350
|
(hasActionSlot ? (hAsync("slot", { name: 'action' })) : (hAsync("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
95144
95351
|
}
|
|
95145
95352
|
static get style() { return emptyStateComponentCss(); }
|
|
@@ -95543,8 +95750,8 @@ class Field {
|
|
|
95543
95750
|
}
|
|
95544
95751
|
render() {
|
|
95545
95752
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
95546
|
-
return (hAsync(ThemedHost, { key: '
|
|
95547
|
-
(!!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 && (hAsync("slot", { key: '
|
|
95753
|
+
return (hAsync(ThemedHost, { key: 'f985e2b3d25ebb7a9e30448fb6663d0b487f47a3' }, hAsync("p-field-container", { key: '358983d8f8f6cb1b53e9e4c607c064fc4a27a9f0', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
95754
|
+
(!!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 && (hAsync("slot", { key: '155d5efc1d951ea2e08076cb58c3ce96e12f0f13', name: 'label', slot: 'label' })), hasHeaderSlot && (hAsync("slot", { key: '9012ea2ac18ebbdc337ef7fc3fc79a36b1c9c720', name: 'header', slot: 'header' })), hasHelperSlot && (hAsync("slot", { key: 'f461db190f2ca1727117e062111e96c6f85728be', name: 'helper', slot: 'helper' })), hasErrorSlot && (hAsync("slot", { key: '353b0153551e5e7adb23b19390a4111e0b96d0c4', name: 'error', slot: 'error' })), hAsync("div", { key: '20152561ff55142e43b3b1cbfb151b254f145736', class: field({
|
|
95548
95755
|
error: !!this.error?.length,
|
|
95549
95756
|
disabled: asBoolean(this.disabled),
|
|
95550
95757
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -95555,7 +95762,7 @@ class Field {
|
|
|
95555
95762
|
? `${this.value}`
|
|
95556
95763
|
: undefined }, (this.error?.length ||
|
|
95557
95764
|
prefix ||
|
|
95558
|
-
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: '
|
|
95765
|
+
(this.icon && this.iconPosition === 'start')) && (hAsync("div", { key: 'bca5cf5eca02b9291eb710e6c3539e23bb349d96', class: prefixAndSuffix({
|
|
95559
95766
|
variant: this.variant,
|
|
95560
95767
|
error: !!this.error?.length,
|
|
95561
95768
|
disabled: asBoolean(this.disabled),
|
|
@@ -95567,7 +95774,7 @@ class Field {
|
|
|
95567
95774
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
95568
95775
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
95569
95776
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
95570
|
-
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '
|
|
95777
|
+
(this.icon && this.iconPosition === 'end')) && (hAsync("div", { key: '0ab5f5a94ff34eeeb76eb94cad88a4895a656bfd', class: cn(prefixAndSuffix({
|
|
95571
95778
|
variant: this.variant,
|
|
95572
95779
|
error: !!this.error?.length,
|
|
95573
95780
|
disabled: asBoolean(this.disabled),
|
|
@@ -95885,27 +96092,27 @@ class FieldContainer {
|
|
|
95885
96092
|
}
|
|
95886
96093
|
render() {
|
|
95887
96094
|
const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
|
|
95888
|
-
let contentSlot = (hAsync("slot", { key: '
|
|
96095
|
+
let contentSlot = (hAsync("slot", { key: '2584c934001e26c03b752112c165dc89f31db007', name: 'content', slot: 'trigger' }));
|
|
95889
96096
|
if (this.loading) {
|
|
95890
|
-
contentSlot = (hAsync("p-loader", { key: '
|
|
96097
|
+
contentSlot = (hAsync("p-loader", { key: 'fe69f220c9021a637ca5bef74868f769222a635d', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
|
|
95891
96098
|
}
|
|
95892
|
-
return (hAsync(ThemedHost, { key: '
|
|
96099
|
+
return (hAsync(ThemedHost, { key: 'cbed8c2f71c7be4f1789b3d234aafca4f9f078d9' }, hAsync("label", { key: '41c19529b5282769de686b834e1facfd69a323cf', class: cn('flex w-inherit flex-col gap-1', {
|
|
95893
96100
|
'cursor-auto': this.variant === 'read',
|
|
95894
|
-
}), htmlFor: this.id }, hAsync("div", { key: '
|
|
96101
|
+
}), htmlFor: this.id }, hAsync("div", { key: '44a2fbd0d1024cd153894dd5548d7b4e0f1f4aec', class: cn(`
|
|
95895
96102
|
flex items-end justify-between gap-1
|
|
95896
96103
|
empty:hidden
|
|
95897
96104
|
`, {
|
|
95898
96105
|
'flex-row-reverse': this.align === 'end',
|
|
95899
|
-
}) }, (!!label?.length || !!helper?.length) && (hAsync("div", { key: '
|
|
95900
|
-
hasHeaderSlot) && (hAsync("div", { key: '
|
|
96106
|
+
}) }, (!!label?.length || !!helper?.length) && (hAsync("div", { key: '1e7519168574464c867c86f84ecdca2c4e15e460', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, hAsync("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 && (hAsync("p-helper", { key: '2cc430522904e8df5dcc7fbf40f71d26287b7f0a', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
|
|
96107
|
+
hasHeaderSlot) && (hAsync("div", { key: 'f6849a8c420eb3582a7d92d5e6b42bdd4e019a07', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
|
|
95901
96108
|
asBoolean(this.showOptional) &&
|
|
95902
|
-
this.variant === 'write' && (hAsync("span", { key: '
|
|
96109
|
+
this.variant === 'write' && (hAsync("span", { key: '2329447c26577bc481fc46f11b1dcbfceff39f60', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && hAsync("slot", { key: '09fffde1c42b4b160c455ba73f47d11e1d34dbc5', name: 'header' })))), hAsync("p-tooltip", { key: '26a3e3aa6bb7e3d57ae990ca672e01df493d3f1d', class: cn({
|
|
95903
96110
|
'w-full': this.variant === 'write' || this.loading,
|
|
95904
96111
|
'ml-auto': this.align === 'end',
|
|
95905
96112
|
'font-normal': this.variant === 'read',
|
|
95906
96113
|
'text-storm-500 dark:text-white': this.variant === 'read',
|
|
95907
96114
|
}), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
|
|
95908
|
-
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (hAsync("slot", { key: '
|
|
96115
|
+
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (hAsync("slot", { key: '5a0ce99a2d3c123566e6417eeec26fe86ce054c6', name: 'error', slot: 'content' })), contentSlot))));
|
|
95909
96116
|
}
|
|
95910
96117
|
async _setLocales() {
|
|
95911
96118
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -96019,9 +96226,9 @@ class FloatingMenuContainer {
|
|
|
96019
96226
|
this._setLocales();
|
|
96020
96227
|
}
|
|
96021
96228
|
render() {
|
|
96022
|
-
return (hAsync(ThemedHost, { key: '
|
|
96229
|
+
return (hAsync(ThemedHost, { key: '6986e980b725cd752829cba968f0846463bc6059' }, hAsync("div", { key: '9a778fdbbd37c1d2e7569987f02e99f9e35e49a9', class: container$3({
|
|
96023
96230
|
enableAmountSelected: this.enableAmountSelected,
|
|
96024
|
-
}) }, this.enableAmountSelected && (hAsync(Fragment, { key: '
|
|
96231
|
+
}) }, this.enableAmountSelected && (hAsync(Fragment, { key: '5908b6468acef599b2447b6f9f63df86b76910dd' }, hAsync("p", { key: '430c5262493489463a38d5c1dd5ce43b7c97185c', class: amountSelected() }, this.amountSelectedTemplate(this.amount)), hAsync("p-divider", { key: '376022345f9be8e294dc5cfb84afb88d5c3fafc7', class: 'mx-0 h-4 text-storm-400', variant: 'vertical' }))), hAsync("div", { key: '51eb35eeda97cfe8e38e72182347120dafbafb46', class: 'flex items-center' }, this.usedInTable ? hAsync("slot", { name: 'floating-menu-item' }) : hAsync("slot", null), this.enableClose && (hAsync("p-floating-menu-item", { key: 'db367176340e6757f70095b4e4d99cc955052195', icon: 'negative', onClick: ev => this.close.emit(ev) }))))));
|
|
96025
96232
|
}
|
|
96026
96233
|
async _setLocales() {
|
|
96027
96234
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -96138,10 +96345,10 @@ class FloatingMenuItem {
|
|
|
96138
96345
|
*/
|
|
96139
96346
|
iconRotate;
|
|
96140
96347
|
render() {
|
|
96141
|
-
return (hAsync(ThemedHost, { key: '
|
|
96348
|
+
return (hAsync(ThemedHost, { key: 'e653498fd7e06f53f8440399011a1a8ada5f67f1', class: item$3({
|
|
96142
96349
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
96143
96350
|
disabled: asBoolean(this.disabled),
|
|
96144
|
-
}) }, this._getIcon(), hAsync("p", { key: '
|
|
96351
|
+
}) }, this._getIcon(), hAsync("p", { key: '78ccc757ffdf76c71bd293de5cafb73f1a34f56e', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, hAsync("slot", { key: '9e37c6abdd1a17f6bb8d4bb47fbc4ee278b5ce35' }))));
|
|
96145
96352
|
}
|
|
96146
96353
|
_getIcon() {
|
|
96147
96354
|
if (!this.icon && !this.loading) {
|
|
@@ -96189,7 +96396,7 @@ class Helper {
|
|
|
96189
96396
|
*/
|
|
96190
96397
|
placement = 'top';
|
|
96191
96398
|
render() {
|
|
96192
|
-
return (hAsync(ThemedHost, { key: '
|
|
96399
|
+
return (hAsync(ThemedHost, { key: '9f2914b0d9d5a9e89f40697fad81d9bd167e5865' }, hAsync("p-tooltip", { key: '409c6db4657e7cdb926f931448dfcb082b742400', class: 'flex', placement: this.placement, strategy: this.strategy }, hAsync("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' }), hAsync("div", { key: '7a28aeafd07af4259e1a4fcb089a4535d8c95e8f', slot: 'content' }, hAsync("slot", { key: 'c67f0ecd91966e667398ebbe0cf5ba5e3e46bb53' })))));
|
|
96193
96400
|
}
|
|
96194
96401
|
static get style() { return helperComponentCss(); }
|
|
96195
96402
|
static get cmpMeta() { return {
|
|
@@ -96323,7 +96530,7 @@ class Icon {
|
|
|
96323
96530
|
render() {
|
|
96324
96531
|
const hasTextSizeClass = /text-(xs|sm|base|lg|xl)/.test(this._el.className);
|
|
96325
96532
|
const svg = icons[this.variant];
|
|
96326
|
-
return (hAsync("div", { key: '
|
|
96533
|
+
return (hAsync("div", { key: 'ee13e2e3b7dcdf219497bd1eb993d32ac4d9cd59', class: icon({
|
|
96327
96534
|
flip: this.flip,
|
|
96328
96535
|
size: hasTextSizeClass ? 'auto' : this.size,
|
|
96329
96536
|
transform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,
|
|
@@ -96568,7 +96775,7 @@ class Illustration {
|
|
|
96568
96775
|
render() {
|
|
96569
96776
|
const illustration = illustrations[this.variant];
|
|
96570
96777
|
const hasSize = [...this._el.classList.values()].some(val => val.match(/text-(xs|sm|base|lg|[2-79|]?xl)/));
|
|
96571
|
-
return (hAsync(Host, { key: '
|
|
96778
|
+
return (hAsync(Host, { key: '50517d8d3aaaa520665e8591663654c505b08104', class: cn('block', { 'text-8xl': !hasSize }), innerHTML: illustration }));
|
|
96572
96779
|
}
|
|
96573
96780
|
static get cmpMeta() { return {
|
|
96574
96781
|
"$flags$": 512,
|
|
@@ -96682,10 +96889,10 @@ class InfoPanel {
|
|
|
96682
96889
|
render() {
|
|
96683
96890
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
96684
96891
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
96685
|
-
return (hAsync(ThemedHost, { key: '
|
|
96892
|
+
return (hAsync(ThemedHost, { key: 'effb38193e5597af8e484137f8dc758999d2c52a' }, hAsync("div", { key: '14cb61d11f41c4ec4b34689fb20a2cd71a9204a6', class: infopanel({
|
|
96686
96893
|
variant: this.variant,
|
|
96687
96894
|
closeAble: this.closeable,
|
|
96688
|
-
}) }, (this.header?.length || hasHeaderSlot) && (hAsync("div", { key: '
|
|
96895
|
+
}) }, (this.header?.length || hasHeaderSlot) && (hAsync("div", { key: 'a1ceeb47d24d9d108044d0078d3da39f5efb81e1', class: header$2({ variant: this.variant }) }, this.header?.length ? (hAsync("p", { class: 'my-0' }, this.header)) : (hAsync("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (hAsync("div", { key: '0221101d1e13cd55a8e4b7d36406e3c212dc3b79', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (hAsync("p", { class: 'my-0' }, this.content)) : (hAsync("slot", { name: 'content' })))), this.closeable && (hAsync("div", { key: '1a23880fa9eaf54d38f13e21e241cb21fece511d', class: close(), onClick: () => this._close() }, hAsync("p-icon", { key: '717beeeb7f1cb95688f2df6712b284280acc446c', variant: 'negative' }))))));
|
|
96689
96896
|
}
|
|
96690
96897
|
_close() {
|
|
96691
96898
|
this.closed.emit();
|
|
@@ -96785,17 +96992,17 @@ class Label {
|
|
|
96785
96992
|
*/
|
|
96786
96993
|
keepMobileContent = false;
|
|
96787
96994
|
render() {
|
|
96788
|
-
return (hAsync(ThemedHost, { key: '
|
|
96995
|
+
return (hAsync(ThemedHost, { key: '2dcb1d9bafb86433ad4bc24a7f1947ca52656056' }, hAsync("div", { key: 'ce580094967f042bef6aef229b393709f0993c34', class: label({
|
|
96789
96996
|
variant: this.variant,
|
|
96790
96997
|
iconOnly: this.iconOnly,
|
|
96791
96998
|
keepMobileContent: this.keepMobileContent,
|
|
96792
|
-
}) }, this.icon && (hAsync("p-icon", { key: '
|
|
96999
|
+
}) }, this.icon && (hAsync("p-icon", { key: '450bf31eec5f09c5b326f7819841f9b6dc155993', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (hAsync("div", { key: '825b6996bba84ffeb67dd8f4cfb114b0034599bf', class: cn(`
|
|
96793
97000
|
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
96794
97001
|
font-medium
|
|
96795
97002
|
`, {
|
|
96796
97003
|
hidden: !this.keepMobileContent,
|
|
96797
97004
|
'desktop-xs:block': !this.keepMobileContent,
|
|
96798
|
-
}) }, hAsync("slot", { key: '
|
|
97005
|
+
}) }, hAsync("slot", { key: '6d71814586719b1b7898d5f46033a8d46ed63974' }))))));
|
|
96799
97006
|
}
|
|
96800
97007
|
static get style() { return labelComponentCss(); }
|
|
96801
97008
|
static get cmpMeta() { return {
|
|
@@ -96831,7 +97038,7 @@ class Layout {
|
|
|
96831
97038
|
*/
|
|
96832
97039
|
scroll;
|
|
96833
97040
|
render() {
|
|
96834
|
-
return (hAsync(Host, { key: '
|
|
97041
|
+
return (hAsync(Host, { key: 'd01fb1020c3647bf8010bbd17419e8c66ce1c96d', class: 'variant-' + this.variant }, hAsync("div", { key: '9ff8a4475fd1b9bea0d60c79cef445cc56441641', class: 'content', onScroll: ev => this.scroll.emit(ev) }, hAsync("div", { key: '0b0538ea3608acb8ab5cfbdb68ee1094dfca142a', class: 'inner-content' }, hAsync("slot", { key: '246a0d0513aa4e11d0c8b3a528235433c2ae5cd2', name: 'content' })), hAsync("slot", { key: '174efaf8981ee49561f8718436da8b86b19a4550', name: 'outer-content' })), hAsync("div", { key: '780403256ca296797290cbb4a59bd8964ccffbc4', class: 'sidebar' }, hAsync("slot", { key: '47df9f24bdeba40201597f35f51ef3620973398f', name: 'sidebar' })), hAsync("div", { key: '9916f3c82d19b109ea3893bb7ac6846a1e875f0c', class: 'topbar' }, hAsync("slot", { key: 'bf0995ba0ef0db3309e9fe553e78d25ac857730d', name: 'topbar' }))));
|
|
96835
97042
|
}
|
|
96836
97043
|
static get style() { return layoutComponentCss(); }
|
|
96837
97044
|
static get cmpMeta() { return {
|
|
@@ -96866,10 +97073,10 @@ class Listing {
|
|
|
96866
97073
|
}
|
|
96867
97074
|
}
|
|
96868
97075
|
render() {
|
|
96869
|
-
return (hAsync("div", { key: '
|
|
97076
|
+
return (hAsync("div", { key: '160a8d3db50ea8c0c6e8a982f3b274525fec55f0', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
96870
97077
|
'opacity-100': this._generatedOnce,
|
|
96871
97078
|
'opacity-0': !this._generatedOnce,
|
|
96872
|
-
}) }, hAsync("slot", { key: '
|
|
97079
|
+
}) }, hAsync("slot", { key: '0cb952b970dafcebc316723d4e020ceafa96f9b2', onSlotchange: () => this._generateLinesOnce() })));
|
|
96873
97080
|
}
|
|
96874
97081
|
_generateLinesOnce() {
|
|
96875
97082
|
if (this._generateTimeout) {
|
|
@@ -96949,7 +97156,7 @@ class ListingItem {
|
|
|
96949
97156
|
*/
|
|
96950
97157
|
icon = 'placeholder';
|
|
96951
97158
|
render() {
|
|
96952
|
-
return (hAsync(ThemedHost, { key: '
|
|
97159
|
+
return (hAsync(ThemedHost, { key: '365ba4cef81b87755dd6c18fc5238992a2b35e15' }, hAsync("div", { key: 'b121cf8fe6e62c062583c035a0144fc9cd08f324', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, hAsync("p-icon", { key: 'd0fea1dd0e4437ad9cbf02a5441bcbec018958a9', variant: this.icon }), hAsync("div", { key: '9a244f968dab4b6bdc12c5ec0176b2c68917892b', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, hAsync("slot", { key: '26fe3df7e514a68a3c7813e0231e7f1aa4b13f0f' })))));
|
|
96953
97160
|
}
|
|
96954
97161
|
static get style() { return listingItemComponentCss(); }
|
|
96955
97162
|
static get cmpMeta() { return {
|
|
@@ -96971,7 +97178,7 @@ class ListingLine {
|
|
|
96971
97178
|
registerInstance(this, hostRef);
|
|
96972
97179
|
}
|
|
96973
97180
|
render() {
|
|
96974
|
-
return hAsync(ThemedHost, { key: '
|
|
97181
|
+
return hAsync(ThemedHost, { key: '452304a157c927b7c255adc0a312a333274cd8b5' });
|
|
96975
97182
|
}
|
|
96976
97183
|
static get style() { return listingLineComponentCss(); }
|
|
96977
97184
|
static get cmpMeta() { return {
|
|
@@ -97221,10 +97428,10 @@ class ModalBody {
|
|
|
97221
97428
|
*/
|
|
97222
97429
|
roundedTop = false;
|
|
97223
97430
|
render() {
|
|
97224
|
-
return (hAsync(ThemedHost, { key: '
|
|
97431
|
+
return (hAsync(ThemedHost, { key: 'c6b0129527261bdcb33df0c8cb03579aad34d04a' }, hAsync("div", { key: '31a3f74cf3f0993808400de8165c08a5efb66f3a', class: body({
|
|
97225
97432
|
roundedBottom: this.roundedBottom,
|
|
97226
97433
|
roundedTop: this.roundedTop,
|
|
97227
|
-
}) }, hAsync("slot", { key: '
|
|
97434
|
+
}) }, hAsync("slot", { key: 'c70a0821cf3256e891f3a121e8a1381096a7c2c7' }))));
|
|
97228
97435
|
}
|
|
97229
97436
|
static get style() { return modalBodyComponentCss(); }
|
|
97230
97437
|
static get cmpMeta() { return {
|
|
@@ -97287,10 +97494,10 @@ class ModalContainer {
|
|
|
97287
97494
|
*/
|
|
97288
97495
|
closing = false;
|
|
97289
97496
|
render() {
|
|
97290
|
-
return (hAsync(ThemedHost, { key: '
|
|
97497
|
+
return (hAsync(ThemedHost, { key: 'a106eb003b488d35b371d6ada4b92c009409ab8d' }, hAsync("div", { key: 'ef6c764db7f715a968a1d8935b720e2dcec8fe26', class: container$2({
|
|
97291
97498
|
size: this.size,
|
|
97292
97499
|
closing: asBoolean(this.closing),
|
|
97293
|
-
}) }, hAsync("slot", { key: '
|
|
97500
|
+
}) }, hAsync("slot", { key: '1361db39acb99256c403dceac65338dace60a7c5' }))));
|
|
97294
97501
|
}
|
|
97295
97502
|
static get style() { return modalContainerComponentCss(); }
|
|
97296
97503
|
static get cmpMeta() { return {
|
|
@@ -97313,7 +97520,7 @@ class ModalFooter {
|
|
|
97313
97520
|
registerInstance(this, hostRef);
|
|
97314
97521
|
}
|
|
97315
97522
|
render() {
|
|
97316
|
-
return (hAsync(ThemedHost, { key: '
|
|
97523
|
+
return (hAsync(ThemedHost, { key: '72a0afeef3f9cc2a52f376b3196fdbd559f2ce52' }, hAsync("div", { key: '5f36d029f6825ac5bb1af52af62b0f00fa19b412', 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 ' }, hAsync("p-divider", { key: '32574ecdc2cc92dec54ca96d78f3542b4d7e3cbe', class: '\n mb-4 hidden text-off-white-700\n desktop-xs:inline-block\n dark:text-white/10\n ' }), hAsync("div", { key: '250ea669f73f28deffc386701210bafb44cf1b23', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, hAsync("slot", { key: '64f2943e6dc96db9ad040671d439b6b0d1c1a454' })))));
|
|
97317
97524
|
}
|
|
97318
97525
|
static get style() { return modalFooterComponentCss(); }
|
|
97319
97526
|
static get cmpMeta() { return {
|
|
@@ -97359,7 +97566,7 @@ class ModalHeader {
|
|
|
97359
97566
|
*/
|
|
97360
97567
|
close;
|
|
97361
97568
|
render() {
|
|
97362
|
-
return (hAsync(ThemedHost, { key: '
|
|
97569
|
+
return (hAsync(ThemedHost, { key: 'fb48ca24b32ae1718e286f0c57cf8cdfda26251e' }, hAsync("div", { key: '4f87097383ea43e857fca75f46116678ba06c3a5', class: header$1() }, hAsync("div", { key: 'c9d329f389711865008bb67a04fd95fc321d5f27', class: content$3() }, hAsync("div", { key: 'b25903d7b487a0ed4fb8816867bd2544dc9bb7e5', class: title() }, hAsync("slot", { key: '308f1264a692d4887a13a0ee46c019a27cdcd5af' })), this.showClose && (hAsync("p-button", { key: '1cfaa62613f5d0d6fd0879a824d2de54ec08b7ce', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), hAsync("p-smile", { key: '4aaf965d357c1f2b97989995ff71c4c37324edff', class: 'dark:text-hurricane-400' }))));
|
|
97363
97570
|
}
|
|
97364
97571
|
static get style() { return modalHeaderComponentCss(); }
|
|
97365
97572
|
static get cmpMeta() { return {
|
|
@@ -97439,7 +97646,7 @@ class Navbar {
|
|
|
97439
97646
|
}
|
|
97440
97647
|
_show = false;
|
|
97441
97648
|
render() {
|
|
97442
|
-
return (hAsync(ThemedHost, { key: '
|
|
97649
|
+
return (hAsync(ThemedHost, { key: 'e1bb3bf57d4920d2843370fcb682de7d498b54be' }, hAsync("p-backdrop", { key: 'c8c9fe58e4ed00aeb4d1bdfa70d21b1ce21fae12', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), hAsync("div", { key: '419073c7b8da20040630c0ced9e28f56f34e44af', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, hAsync("div", { key: '26869f18f38fbf43aa22db4caf7ee21d5d464f62', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, hAsync("p-button", { key: '60b5a55602bbd3fac96a41e0ec2baab1afd3d20f', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), hAsync("div", { key: '8f41f249ca51849bef77626ab49f95d2c1a60d16', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, hAsync("slot", { key: '9bb4d8ab8d0388ae50e50131550113e5fa5c15c3', name: 'company' })), hAsync("div", { key: '17b3ea1ee6614427a71815c4809ccaccb7cacf5a', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, hAsync("slot", { key: 'd760dbe913b40d92b07010bb9455ce405e156b96', name: 'content' })), hAsync("div", { key: '770f3972edb02a3543463d812f5c9bf633aa14c0', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, hAsync("slot", { key: '324f3ee9644b60a056f42671a002ed0fedbc4437', name: 'user' }))), hAsync("div", { key: 'c703d1f913fd05bdd0e5de2844a99795020a9a2b', class: topbar({ class: sidebarAndTopbar() }) }, hAsync("p-button", { key: 'b506af77cfb440c2927ebf80a017c0c898e47ea2', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), hAsync("slot", { key: '4dfcb2a4418eca6338cc9467f4a8e8d97b34b1d9', name: 'topbar' }))));
|
|
97443
97650
|
}
|
|
97444
97651
|
handleCloseNavbar() {
|
|
97445
97652
|
this._show = false;
|
|
@@ -97550,13 +97757,13 @@ class NavigationItem {
|
|
|
97550
97757
|
render() {
|
|
97551
97758
|
const TagType = this.as;
|
|
97552
97759
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
97553
|
-
return (hAsync(ThemedHost, { key: '
|
|
97760
|
+
return (hAsync(ThemedHost, { key: 'af5ecc5d5485b1bbfb172794409d05e51c267a1b', class: cn('inline-block', this.class) }, hAsync(TagType, { key: 'c88091c7b839ba181d22bff95978263443986d01', class: navigationItem({
|
|
97554
97761
|
icon: !!this.icon,
|
|
97555
97762
|
active,
|
|
97556
|
-
}), href: this.href, target: this.target }, hAsync("div", { key: '
|
|
97763
|
+
}), href: this.href, target: this.target }, hAsync("div", { key: '75572668b903ffacd852c765415b20deba35d4fa', class: navigationItemIconContainer({ active }) }, hAsync("p-icon", { key: 'f5499b9eb148820f73109400aa4b9d6dd29e134d', variant: this.icon })), hAsync("span", { key: '1ee78ad5c09e916baced632233ffcc5dd8ef8347', class: cn({
|
|
97557
97764
|
'has-counter': !!this.counter,
|
|
97558
97765
|
'w-full': this.applyFullWidth,
|
|
97559
|
-
}) }, hAsync("slot", { key: '
|
|
97766
|
+
}) }, hAsync("slot", { key: '6c39a2140f511209e6e48fcc6a8eec2c02f36610' })), !!this.counter && this.counter !== '0' && (hAsync("p-badge", { key: '46c7a53003e7e80737a82f00e82bf95bf294234a' }, this.counter)), !!this.loading && hAsync("p-loader", { key: 'a9b88ff904559ce15a7f29020a714760e3183cd9', class: 'ml-auto' }))));
|
|
97560
97767
|
}
|
|
97561
97768
|
static get style() { return navigationItemComponentCss(); }
|
|
97562
97769
|
static get cmpMeta() { return {
|
|
@@ -97590,7 +97797,7 @@ class NavigationSection {
|
|
|
97590
97797
|
*/
|
|
97591
97798
|
header;
|
|
97592
97799
|
render() {
|
|
97593
|
-
return (hAsync(ThemedHost, { key: '
|
|
97800
|
+
return (hAsync(ThemedHost, { key: 'adc4546240455e2a90f355a85d26a29ec7e3b6f2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (hAsync("p-navigation-title", { key: '8510c67a883e4973b9261ee63f7ef148cdbaedd4' }, this.header)), hAsync("div", { key: '23b9cfcc54e590d5378ebd61fba0851e95ecc697', class: 'flex flex-col' }, hAsync("slot", { key: '01521755f498890b3abf3adcdd30cf71e9ed8629' }))));
|
|
97594
97801
|
}
|
|
97595
97802
|
static get style() { return navigationSectionComponentCss(); }
|
|
97596
97803
|
static get cmpMeta() { return {
|
|
@@ -97612,7 +97819,7 @@ class NavigationTitle {
|
|
|
97612
97819
|
registerInstance(this, hostRef);
|
|
97613
97820
|
}
|
|
97614
97821
|
render() {
|
|
97615
|
-
return (hAsync(ThemedHost, { key: '
|
|
97822
|
+
return (hAsync(ThemedHost, { key: '931af33edbc3cc1f4f0195462b18fad324f3cd05', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, hAsync("slot", { key: 'c556b9241a6b6023d88a26cc5296178f8711d622' })));
|
|
97616
97823
|
}
|
|
97617
97824
|
static get style() { return navigationTitleComponentCss(); }
|
|
97618
97825
|
static get cmpMeta() { return {
|
|
@@ -97691,12 +97898,12 @@ class Pagination {
|
|
|
97691
97898
|
_hasPaginationPages = true;
|
|
97692
97899
|
render() {
|
|
97693
97900
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
97694
|
-
return (hAsync(ThemedHost, { key: '
|
|
97901
|
+
return (hAsync(ThemedHost, { key: '611fb4062cf7c6cd78adf2744d7694615fa8d502' }, hAsync("div", { key: '80ebed4ee0978c78ecee629d08f7ca026e395349', class: pagination$1({
|
|
97695
97902
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
97696
97903
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
97697
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '
|
|
97904
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (hAsync(Fragment, { key: '81ffbba6758be70cb681d1b778365c1f83122048' }, hAsync("p-pagination-size", { key: 'ede0a33d15261777f8d99ce866dedb3af3d63c86', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
97698
97905
|
this.hideOnSinglePage &&
|
|
97699
|
-
this._hasPaginationPages && (hAsync("p-divider", { key: '
|
|
97906
|
+
this._hasPaginationPages && (hAsync("p-divider", { key: '8d9956dd7d2277ea8849003e31ce2000eb88db7d', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (hAsync("p-pagination-pages", { key: 'c39df7ebd431fbcfa82eb847ff1c9a52acfc7b41', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
97700
97907
|
this._hasPaginationPages = detail > 1;
|
|
97701
97908
|
this.pagesChange.emit(detail);
|
|
97702
97909
|
} })))));
|
|
@@ -97789,7 +97996,7 @@ class PaginationPages {
|
|
|
97789
97996
|
this._generate();
|
|
97790
97997
|
}
|
|
97791
97998
|
render() {
|
|
97792
|
-
return (hAsync(ThemedHost, { key: '
|
|
97999
|
+
return (hAsync(ThemedHost, { key: '3c3bdfce0f2956d896456498d5e1d82f727068c8' }, hAsync("div", { key: 'b489b3ea0d740554fbe17d5cba60824bf7bcfc15', class: pagination({
|
|
97793
98000
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
97794
98001
|
}) }, this._set?.map(p => {
|
|
97795
98002
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -98122,12 +98329,12 @@ class PaginationPagesItem {
|
|
|
98122
98329
|
*/
|
|
98123
98330
|
disabled = false;
|
|
98124
98331
|
render() {
|
|
98125
|
-
return (hAsync(ThemedHost, { key: '
|
|
98332
|
+
return (hAsync(ThemedHost, { key: '867dcd55f7c4194c89b18ff3a46a52ee3f728fef' }, hAsync("div", { key: '406e4e9641b35fc16a5379811f959878ade2c0ca', class: item$2({
|
|
98126
98333
|
variant: this.variant ?? 'default',
|
|
98127
98334
|
active: asBoolean(this.active),
|
|
98128
98335
|
hover: asBoolean(this.hover, true),
|
|
98129
98336
|
disabled: asBoolean(this.disabled),
|
|
98130
|
-
}) }, hAsync("slot", { key: '
|
|
98337
|
+
}) }, hAsync("slot", { key: '6515cd771a33b320d60940674c324d0dc285f74d' }))));
|
|
98131
98338
|
}
|
|
98132
98339
|
static get style() { return paginationPagesItemComponentCss(); }
|
|
98133
98340
|
static get cmpMeta() { return {
|
|
@@ -98222,18 +98429,18 @@ class PaginationSize {
|
|
|
98222
98429
|
this._setLocales();
|
|
98223
98430
|
}
|
|
98224
98431
|
render() {
|
|
98225
|
-
return (hAsync(ThemedHost, { key: '
|
|
98432
|
+
return (hAsync(ThemedHost, { key: 'f06fc71948e4c6b7db46761fc2012051fb2bc6e0', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, hAsync("p-dropdown", { key: 'f06ade5619f1ca9bbd91659da22f72fb70a08b4c', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, hAsync("div", { key: '5d2b2f75409655d4fe731c5d016cdb016fbad675', class: trigger({
|
|
98226
98433
|
active: this.dropdownIsOpen,
|
|
98227
|
-
}), slot: 'trigger' }, hAsync("p", { key: '
|
|
98434
|
+
}), slot: 'trigger' }, hAsync("p", { key: '3ae4f1b391877882fccab182bffdd5d7227dd1b6', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
|
|
98228
98435
|
? this.itemTemplate(this.size)
|
|
98229
|
-
: this._defaultItemTemplate(this.size)), hAsync("p-icon", { key: '
|
|
98436
|
+
: this._defaultItemTemplate(this.size)), hAsync("p-icon", { key: 'e7238dced7554a1e74d06e1dc559db8e8097fdd2', class: cn([
|
|
98230
98437
|
'flex-shrink-0',
|
|
98231
98438
|
'group-hover/pagination-size-trigger:text-storm-500',
|
|
98232
98439
|
'dark:group-hover/pagination-size-trigger:text-white',
|
|
98233
98440
|
], {
|
|
98234
98441
|
'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
|
|
98235
98442
|
'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
|
|
98236
|
-
}), size: 'sm', variant: 'double-caret' })), hAsync("slot", { key: '
|
|
98443
|
+
}), size: 'sm', variant: 'double-caret' })), hAsync("slot", { key: 'f3dab35841483f0fcb7aa72106975f3573f4a08a', slot: 'items' }, this.sizeOptions.map(option => (hAsync("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
98237
98444
|
? this.itemTemplate(option)
|
|
98238
98445
|
: this._defaultItemTemplate(option))))))));
|
|
98239
98446
|
}
|
|
@@ -98294,7 +98501,7 @@ class Profile {
|
|
|
98294
98501
|
}
|
|
98295
98502
|
render() {
|
|
98296
98503
|
const content = this._getContent();
|
|
98297
|
-
return (hAsync(ThemedHost, { key: '
|
|
98504
|
+
return (hAsync(ThemedHost, { key: '0ec4ddefa5588f73327f78db6edb33b4a028d037' }, this._hasDropdownSlot ? (hAsync("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, hAsync("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), hAsync("div", { slot: 'items' }, hAsync("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
98298
98505
|
}
|
|
98299
98506
|
slotchange() {
|
|
98300
98507
|
this._checkDropdownSlot();
|
|
@@ -98460,11 +98667,11 @@ class Radio {
|
|
|
98460
98667
|
}
|
|
98461
98668
|
render() {
|
|
98462
98669
|
const id = this.id?.length ? this.id : this._nonce;
|
|
98463
|
-
return (hAsync(ThemedHost, { key: '
|
|
98670
|
+
return (hAsync(ThemedHost, { key: '1b34f45d6511b31e6f6422bc394254fec08a93b3' }, hAsync("label", { key: '7653f5e2b3fd0d8c56bfe410774ca9f6a0e9b2ec', class: 'flex items-center justify-start gap-2', htmlFor: id }, hAsync("div", { key: '5eeb3cb883ca4da0111dcd6f5e8f1ef9d5b3205c', class: 'relative flex flex-shrink-0 items-center' }, hAsync("input", { key: '94c1413d1c39a5dec10c65a7e9aaecb99103d61b', checked: this.checked, class: radio({
|
|
98464
98671
|
disabled: asBoolean(this.disabled),
|
|
98465
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), hAsync("div", { key: '
|
|
98672
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), hAsync("div", { key: 'd5978350946a867664aad181475a2b5e38e9706a', class: circle$2({
|
|
98466
98673
|
disabled: asBoolean(this.disabled),
|
|
98467
|
-
}) })), hAsync("div", { key: '
|
|
98674
|
+
}) })), hAsync("div", { key: 'b115a387ba384e96652fecaf557e4c9e6b43df35', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, hAsync("slot", { key: 'd2dd72ba6ee22885f14085075e0c9983165a8fce' })))));
|
|
98468
98675
|
}
|
|
98469
98676
|
_onChange(ev) {
|
|
98470
98677
|
if (asBoolean(this.disabled)) {
|
|
@@ -98528,13 +98735,13 @@ class Range {
|
|
|
98528
98735
|
valueChange;
|
|
98529
98736
|
render() {
|
|
98530
98737
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
98531
|
-
return (hAsync(ThemedHost, { key: '
|
|
98738
|
+
return (hAsync(ThemedHost, { key: 'a68ced28c217fd36c68e036ac33d99a8b53bda9e' }, hAsync("div", { key: '913ebcd1fffd7e03769cde7a0a693f32d753d05b', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: '4b9f7cdf2e39f795c1966e4b32ef47394c56fdfd', variant: 'minus' }), hAsync("div", { key: '91b9b56f441eface41e8d68dfc36321b52019ba9', class: 'relative h-6 flex-1' }, hAsync("input", { key: 'b7f451f9c4d46f4929d89dcf11af6acccbe29207', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
98532
98739
|
const value = ev.target.value;
|
|
98533
98740
|
this.value = Number.parseFloat(value);
|
|
98534
98741
|
this.valueChange.emit(value);
|
|
98535
|
-
} }), hAsync("div", { key: '
|
|
98742
|
+
} }), hAsync("div", { key: 'a924bc7c08bb7af2e272a5af26894751bd3d4866', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
98536
98743
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
98537
|
-
} })), hAsync("p-icon", { key: '
|
|
98744
|
+
} })), hAsync("p-icon", { key: '9fd710578d983d1e8316344b0c9ee02b12de7f2b', variant: 'plus' }))));
|
|
98538
98745
|
}
|
|
98539
98746
|
static get style() { return rangeComponentCss(); }
|
|
98540
98747
|
static get cmpMeta() { return {
|
|
@@ -98559,7 +98766,7 @@ class SegmentContainer {
|
|
|
98559
98766
|
registerInstance(this, hostRef);
|
|
98560
98767
|
}
|
|
98561
98768
|
render() {
|
|
98562
|
-
return (hAsync(ThemedHost, { key: '
|
|
98769
|
+
return (hAsync(ThemedHost, { key: 'b9f1ba919738b5398e19d447d319bd70c89f10d8' }, hAsync("div", { key: '0940a6c4f64208c66b70e4fe135cd00bc61a7c5c', class: '\n flex rounded-2xl border border-solid border-off-white-700\n bg-off-white-300 p-1\n dark:border-hurricane-400 dark:bg-hurricane-600\n ' }, hAsync("slot", { key: '06a3488eeb1cbaf001e8e4d1df85978943564c29' }))));
|
|
98563
98770
|
}
|
|
98564
98771
|
static get style() { return segmentContainerComponentCss(); }
|
|
98565
98772
|
static get cmpMeta() { return {
|
|
@@ -98645,11 +98852,11 @@ class SegmentItem {
|
|
|
98645
98852
|
iconRotate;
|
|
98646
98853
|
render() {
|
|
98647
98854
|
const descriptionSlot = this.variant === 'block' ? hAsync("slot", { name: 'description' }) : null;
|
|
98648
|
-
return (hAsync(ThemedHost, { key: '
|
|
98855
|
+
return (hAsync(ThemedHost, { key: '9be1b585d2aede4645ef92018603c79a85bd4e23' }, hAsync("div", { key: '049f0e6c3fc278bbfadec4f23880afc6e567aeb0', class: segmentItem({
|
|
98649
98856
|
variant: this.variant,
|
|
98650
98857
|
active: asBoolean(this.active),
|
|
98651
98858
|
iconOnly: asBoolean(this.iconOnly),
|
|
98652
|
-
}) }, this.icon && (hAsync("p-icon", { key: '
|
|
98859
|
+
}) }, this.icon && (hAsync("p-icon", { key: 'd72b71bba1a830113c8c1269179094c4018e5099', class: cn('mb-1', {
|
|
98653
98860
|
'text-storm-300 dark:text-hurricane-200': !asBoolean(this.active),
|
|
98654
98861
|
'text-indigo-200': asBoolean(this.active),
|
|
98655
98862
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), this.variant === 'default' ? (hAsync("slot", null)) : (hAsync("div", { class: 'flex flex-col items-center' }, hAsync("p", { class: cn(`
|
|
@@ -99030,8 +99237,8 @@ class Select {
|
|
|
99030
99237
|
if (this.error?.length) {
|
|
99031
99238
|
buttonIcon = 'warning';
|
|
99032
99239
|
}
|
|
99033
|
-
return (hAsync(ThemedHost, { key: '
|
|
99034
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: '
|
|
99240
|
+
return (hAsync(ThemedHost, { key: 'ce57ab1998f4eff0510e5abe59bbe4093801ece1' }, hAsync("p-field-container", { key: '2e8e87d98db2beda8dd31b09f55099914d6f2025', 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' }, hAsync("p-dropdown", { key: '75fb5c50c72035f2a514f282867b978ed200a242', 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) }, hAsync("p-button", { key: '2766f4a6fc46853d315b1d946b9804d2da634ddb', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
99241
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, hAsync("div", { key: 'a693985fae749e57af35efc6129cadcd98300614', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
99035
99242
|
}
|
|
99036
99243
|
documentClickHandler(event) {
|
|
99037
99244
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -99455,7 +99662,7 @@ class Smile {
|
|
|
99455
99662
|
*/
|
|
99456
99663
|
variant = 'modal';
|
|
99457
99664
|
render() {
|
|
99458
|
-
return (hAsync(Host, { key: '
|
|
99665
|
+
return (hAsync(Host, { key: '6e81187a95899bde054b3758a1e508b9ad8fcd55', class: smile({ variant: this.variant }) }, hAsync("div", { key: '9619867e6df73de96849907f12b247a8f5fbab68', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
99459
99666
|
}
|
|
99460
99667
|
static get style() { return smileComponentCss(); }
|
|
99461
99668
|
static get cmpMeta() { return {
|
|
@@ -99867,19 +100074,19 @@ class StepperItem {
|
|
|
99867
100074
|
*/
|
|
99868
100075
|
active = false;
|
|
99869
100076
|
render() {
|
|
99870
|
-
return (hAsync(ThemedHost, { key: '
|
|
100077
|
+
return (hAsync(ThemedHost, { key: '99f3ac7e8c508e8353f5ac5cf1bb93ebd69e8755' }, hAsync("div", { key: 'f194d28cb528142aece5245b8555a05fa162c594', class: item$1({
|
|
99871
100078
|
align: this.align,
|
|
99872
100079
|
contentPosition: this.contentPosition,
|
|
99873
|
-
}) }, hAsync("div", { key: '
|
|
100080
|
+
}) }, hAsync("div", { key: 'dbae4ce93130a491c110f642a47be34b55b58d9f', class: circle$1({
|
|
99874
100081
|
align: this.align,
|
|
99875
100082
|
direction: this.direction,
|
|
99876
100083
|
active: asBoolean(this.active),
|
|
99877
100084
|
finished: asBoolean(this.finished),
|
|
99878
|
-
}) }, this.number), hAsync("div", { key: '
|
|
100085
|
+
}) }, this.number), hAsync("div", { key: '72a51566731de389a14b4b1d72dbb5de039f854b', class: content$2({
|
|
99879
100086
|
active: asBoolean(this.active),
|
|
99880
100087
|
finished: asBoolean(this.finished),
|
|
99881
100088
|
direction: this.direction,
|
|
99882
|
-
}) }, hAsync("slot", { key: '
|
|
100089
|
+
}) }, hAsync("slot", { key: '2002bd29cf842eae1e4392204aa999235afd213f' })))));
|
|
99883
100090
|
}
|
|
99884
100091
|
static get style() { return stepperItemComponentCss(); }
|
|
99885
100092
|
static get cmpMeta() { return {
|
|
@@ -99914,7 +100121,7 @@ class StepperLine {
|
|
|
99914
100121
|
*/
|
|
99915
100122
|
direction = 'horizontal';
|
|
99916
100123
|
render() {
|
|
99917
|
-
return hAsync(ThemedHost, { key: '
|
|
100124
|
+
return hAsync(ThemedHost, { key: '1efdf5cfab3f5fef46e133f97c13ab95cc3cc240' });
|
|
99918
100125
|
}
|
|
99919
100126
|
static get style() { return stepperLineComponentCss(); }
|
|
99920
100127
|
static get cmpMeta() { return {
|
|
@@ -99937,7 +100144,7 @@ class TabContainer {
|
|
|
99937
100144
|
registerInstance(this, hostRef);
|
|
99938
100145
|
}
|
|
99939
100146
|
render() {
|
|
99940
|
-
return (hAsync("div", { key: '
|
|
100147
|
+
return (hAsync("div", { key: 'a786ca19e61950ab9d2ac8266ab4d935203cac77', class: 'relative flex h-8 w-full flex-col' }, hAsync("div", { key: 'd1aba8281aba405cfcb27025af2d65e4ecb347cf', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, hAsync("slot", { key: '1d6f60abb5dce3ec732f2baf27a7d0dc8d7f9eba' })), hAsync("p-divider", { key: 'c44608e8eca326072707a5c3c9df41954e9ca8e3', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
|
|
99941
100148
|
}
|
|
99942
100149
|
static get style() { return tabContainerComponentCss(); }
|
|
99943
100150
|
static get cmpMeta() { return {
|
|
@@ -99992,7 +100199,7 @@ class TabItem {
|
|
|
99992
100199
|
*/
|
|
99993
100200
|
active = false;
|
|
99994
100201
|
render() {
|
|
99995
|
-
return (hAsync(ThemedHost, { key: '
|
|
100202
|
+
return (hAsync(ThemedHost, { key: 'eb3807306777016255f5ae891914fc006f685f08' }, hAsync("div", { key: 'aee0518032892fe6a9f82a70f1c4f8d9b39958d4', class: item({ active: this.active }) }, hAsync("slot", { key: 'ee4ee594465a4e2eadc57f25c609bf34418feb65' }))));
|
|
99996
100203
|
}
|
|
99997
100204
|
static get style() { return tabItemComponentCss(); }
|
|
99998
100205
|
static get cmpMeta() { return {
|
|
@@ -100276,7 +100483,7 @@ class Table {
|
|
|
100276
100483
|
this.hasRendered.emit();
|
|
100277
100484
|
}
|
|
100278
100485
|
render() {
|
|
100279
|
-
return (hAsync(Host, { key: '
|
|
100486
|
+
return (hAsync(Host, { key: '8c0fcdf67d9a528c2eac63096819ba3878968963', class: 'z-0 flex flex-col' }, hAsync("p-table-container", { key: '48b190e7b08cea101c8123463c6fe9411940e301' }, this.enableHeader && (hAsync("p-table-header", { key: 'b8c4be2ac0d9f9a178babfbdcd34a7c326db7d93', 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 && (hAsync("slot", { key: 'f7f3f53e824eefda27d24629336d21f4ebe42f31', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (hAsync("slot", { key: 'cfb3e8f9ae1459c24ba4c671fc073a62dfec68e8', name: 'custom-actions', slot: 'custom-actions' })))), this._getExtraHeader(), this._getHeader(), hAsync("div", { key: 'a983b87220f438d9f0ffc058000e6907e0ee44cf', class: 'flex flex-1 flex-col' }, this._getRows(), hAsync("slot", { key: '353319f4fb03e578a9aace502382e22eef6415e6', name: 'custom-rows' })), this.enableFloatingMenu && this._enableRowSelection ? (hAsync("p-floating-menu-container", { amount: this.selectedRows?.length, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, class: floatingMenuContainerClass({
|
|
100280
100487
|
hasFooter: this.enableFooter && !this._footerHidden,
|
|
100281
100488
|
active: !!this.selectedRows?.length,
|
|
100282
100489
|
shown: this._floatingMenuShown,
|
|
@@ -100286,7 +100493,7 @@ class Table {
|
|
|
100286
100493
|
!!a.action &&
|
|
100287
100494
|
a.type === 'single'
|
|
100288
100495
|
? a.action(this.selectedRows[0], false)
|
|
100289
|
-
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (hAsync("p-table-footer", { key: '
|
|
100496
|
+
: a.action(this.selectedRows, true) }, a.label))))) : (''), this.enableFooter && (hAsync("p-table-footer", { key: '4ee20020fcef46134e850ae87b6a88186647e9d0', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, loading: this.footerLoading, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, tableHeaderHasAction: this.enableHeader &&
|
|
100290
100497
|
this.enableAction &&
|
|
100291
100498
|
this.actionButtonEnabled, total: this.total, onHiddenChange: ({ detail }) => (this._footerHidden = detail), onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this.pageSizeChange.emit(detail) })))));
|
|
100292
100499
|
}
|
|
@@ -100822,7 +101029,7 @@ class TableCell {
|
|
|
100822
101029
|
};
|
|
100823
101030
|
}
|
|
100824
101031
|
render() {
|
|
100825
|
-
return (hAsync(ThemedHost, { key: '
|
|
101032
|
+
return (hAsync(ThemedHost, { key: '656d83909d03bd9affa467d31830be7ddb065608', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
100826
101033
|
}
|
|
100827
101034
|
_getContent() {
|
|
100828
101035
|
if (this.variant === 'loading') {
|
|
@@ -100954,7 +101161,7 @@ class TableContainer {
|
|
|
100954
101161
|
registerInstance(this, hostRef);
|
|
100955
101162
|
}
|
|
100956
101163
|
render() {
|
|
100957
|
-
return (hAsync(Host, { key: '
|
|
101164
|
+
return (hAsync(Host, { key: '3daf6469b62cebd689368d36868c43045e45b9ba', class: container$1() }, hAsync("slot", { key: 'ee905a8bcd2e251d16e0af31a1609e905d41fa33' })));
|
|
100958
101165
|
}
|
|
100959
101166
|
static get style() { return tableContainerComponentCss(); }
|
|
100960
101167
|
static get cmpMeta() { return {
|
|
@@ -101133,12 +101340,12 @@ class TableFooter {
|
|
|
101133
101340
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
101134
101341
|
}
|
|
101135
101342
|
render() {
|
|
101136
|
-
return (hAsync(ThemedHost, { key: '
|
|
101343
|
+
return (hAsync(ThemedHost, { key: 'e1e80cefafca5e75a6bb65a1ef50628608b5f561' }, hAsync("div", { key: '2685019000a687c3d2cc78a959370cd11dee773e', class: footer({
|
|
101137
101344
|
pinned: this._isPinned,
|
|
101138
101345
|
hidden: this._hidden,
|
|
101139
101346
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
101140
101347
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
101141
|
-
this.total > 0 && (hAsync("p-pagination", { key: '
|
|
101348
|
+
this.total > 0 && (hAsync("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) })))));
|
|
101142
101349
|
}
|
|
101143
101350
|
_changePageSize(s) {
|
|
101144
101351
|
if (!s) {
|
|
@@ -110793,13 +111000,13 @@ class TableHeader {
|
|
|
110793
111000
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
110794
111001
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
110795
111002
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
110796
|
-
return (hAsync(ThemedHost, { key: '
|
|
110797
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (hAsync("div", { key: '
|
|
111003
|
+
return (hAsync(ThemedHost, { key: '146dbcfb3f2883f5999093dff4ec5b1ae4530a0f' }, hAsync("div", { key: 'a76491ff423a939196c851da49f70cec87e914e5', class: header() }, this.loading && (hAsync("p-loader", { key: 'cefccf2e94b8e22df9506670241c5366d8d3de2e', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
111004
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (hAsync("div", { key: 'ff9fdbec94b79217279e0e6a87511239cadf8d99', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && hAsync("slot", { key: '9ba364568cf6ea0eb988c9ba53055ba005af60e0', name: 'custom-filter' }), quickFilters.length > 0 && (hAsync("p-segment-container", { key: '8e88a96fcb9a88ab8ed6ea3854821938e195bdcf', class: cn({
|
|
110798
111005
|
'hidden desktop-xs:flex': this.hideQuickFiltersOnMobile,
|
|
110799
111006
|
flex: !this.hideQuickFiltersOnMobile,
|
|
110800
111007
|
}) }, quickFilters.map(item => (hAsync("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
110801
111008
|
? item.text
|
|
110802
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), hAsync("div", { key: '
|
|
111009
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), hAsync("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 && (hAsync("p-field", { key: '15966dc97bd1cee3692de32ce08d348196e0e329', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), hAsync("div", { key: '8bc7ef55643420221a66323cc644ca9bc9c2aac2', class: 'flex items-center gap-2' }, this.enableFilter && (hAsync("p-button", { key: 'ae5c8db6d1adef93cd228ff86f7a266fe057c410', class: `
|
|
110803
111010
|
w-full
|
|
110804
111011
|
${this.enableFilterDesktop
|
|
110805
111012
|
? 'desktop-xs:w-auto'
|
|
@@ -110807,7 +111014,7 @@ class TableHeader {
|
|
|
110807
111014
|
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
110808
111015
|
? this.filterButtonTemplate()
|
|
110809
111016
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
110810
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (hAsync("p-divider", { key: '
|
|
111017
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (hAsync("p-divider", { key: '31a8d2bc0fb5f217111f0ae2aad500abee3bdf28', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (hAsync("p-button", { key: '05d011dfc818f193c96a5646456d07d745da7693', 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 && hAsync("slot", { key: '379ad6eb535ed7e327b2a438f482a960a546ba80', name: 'custom-actions' })), this.enableAction && this.canUseAction && (hAsync("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))))));
|
|
110811
111018
|
}
|
|
110812
111019
|
async _setLocales() {
|
|
110813
111020
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -110977,13 +111184,13 @@ class TableRow {
|
|
|
110977
111184
|
*/
|
|
110978
111185
|
isLast = false;
|
|
110979
111186
|
render() {
|
|
110980
|
-
return (hAsync(ThemedHost, { key: '
|
|
111187
|
+
return (hAsync(ThemedHost, { key: '637f078f4b17b40e8d88b17ffd01e17564dc2498' }, hAsync("div", { key: '0c5df77b50554c6f72e4a589896ee0ac5ea8065f', class: 'flex flex-col' }, hAsync("div", { key: '86cab516a54ba2a79a45fe4185e1d64ed232df04', class: row({
|
|
110981
111188
|
variant: this.variant,
|
|
110982
111189
|
enableHover: this.enableHover,
|
|
110983
111190
|
checked: this.checked,
|
|
110984
|
-
}) }, hAsync("div", { key: '
|
|
111191
|
+
}) }, hAsync("div", { key: '4a302d6d3077a31f18bad02169e9bfcf38083e4b', class: content$1({
|
|
110985
111192
|
variant: this.variant,
|
|
110986
|
-
}) }, hAsync("slot", { key: '
|
|
111193
|
+
}) }, hAsync("slot", { key: 'b1ead41a3359d1e766c5e372f18ea17720ff86f5' }), hAsync("div", { key: '9d374cf452fe04077230f6a981fc713cf56cc6cc', class: actions() }, hAsync("slot", { key: '728d34e82e152fd1ca38db6c29cb1e40259e442f', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (hAsync("p-divider", { key: 'e9ac14c677be390abaf4f5fc2218ee7a7e028954' })))));
|
|
110987
111194
|
}
|
|
110988
111195
|
static get style() { return tableRowComponentCss(); }
|
|
110989
111196
|
static get cmpMeta() { return {
|
|
@@ -111083,16 +111290,16 @@ class TableRowActionsContainer {
|
|
|
111083
111290
|
*/
|
|
111084
111291
|
checked = false;
|
|
111085
111292
|
render() {
|
|
111086
|
-
return (hAsync(ThemedHost, { key: '
|
|
111293
|
+
return (hAsync(ThemedHost, { key: 'efb6cf4c063212207c5ea272f3ae3bbffd18e419' }, hAsync("div", { key: '2d1a85c5f4e1e4829cd45b081fcc31e46bd02773', class: cn(`
|
|
111087
111294
|
flex
|
|
111088
111295
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
111089
111296
|
`, {
|
|
111090
111297
|
'dark:before:from-hurricane-600': !this.checked,
|
|
111091
111298
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
111092
|
-
}) }, hAsync("div", { key: '
|
|
111299
|
+
}) }, hAsync("div", { key: 'ebea7754c0318514557fe7d751ed2212cfcfc35f', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
111093
111300
|
'dark:bg-hurricane-600': !this.checked,
|
|
111094
111301
|
'dark:bg-hurricane-400': !!this.checked,
|
|
111095
|
-
}) }, hAsync("slot", { key: '
|
|
111302
|
+
}) }, hAsync("slot", { key: '2cba74d1d0d62f685798292b7199632aae122d67' })))));
|
|
111096
111303
|
}
|
|
111097
111304
|
static get style() { return tableRowActionsContainerComponentCss(); }
|
|
111098
111305
|
static get cmpMeta() { return {
|
|
@@ -111173,7 +111380,7 @@ class Toast {
|
|
|
111173
111380
|
*/
|
|
111174
111381
|
action;
|
|
111175
111382
|
render() {
|
|
111176
|
-
return (hAsync(ThemedHost, { key: '
|
|
111383
|
+
return (hAsync(ThemedHost, { key: '8163adb40afe8131c42b098a5eae37b23dc46a25' }, hAsync("div", { key: '6a8ee7423a06de0446206eb4f5b826dc3dc724b6', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, hAsync("div", { key: '207676c948f8e7e5ebd7c572899142e8220dd361', class: indicator({ variant: this.variant }) }), hAsync("div", { key: 'bfb1cefc34ac22c4b9f0c5353c5a8aa63f3823e8', class: content() }, hAsync("div", { key: 'e27bc44e3d366a71d0832176dada0b18e7a0a9f0', class: 'flex w-full min-w-0 flex-col' }, hAsync("p", { key: '8e4d119e117c2cd5a0fb22c0e81207223a9d0831', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : hAsync("slot", { name: 'header' })), hAsync("p", { key: '17a472a839184d3d5b9786428cb2f987d7b7a2e0', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : hAsync("slot", { name: 'content' }))), this.enableAction && (hAsync("div", { key: 'e187924e49a5b9a3a639d697cf619377054cd65a', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, hAsync("p-icon", { key: '4a03096e00847861456f310c1624da82e9defc00', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
111177
111384
|
}
|
|
111178
111385
|
_onClick() {
|
|
111179
111386
|
if (this.enableAction) {
|
|
@@ -111243,9 +111450,9 @@ class ToastContainer {
|
|
|
111243
111450
|
*/
|
|
111244
111451
|
placement = 'top-end';
|
|
111245
111452
|
render() {
|
|
111246
|
-
return (hAsync("div", { key: '
|
|
111453
|
+
return (hAsync("div", { key: '6c0ca1492b8b5db68b62537115baa9b8ba59a223', class: container({
|
|
111247
111454
|
placement: this.placement,
|
|
111248
|
-
}) }, hAsync("slot", { key: '
|
|
111455
|
+
}) }, hAsync("slot", { key: '7735e0c87c0ff212044e3358e9dc0d8c30de67ac' })));
|
|
111249
111456
|
}
|
|
111250
111457
|
static get style() { return toastContainerComponentCss(); }
|
|
111251
111458
|
static get cmpMeta() { return {
|
|
@@ -111403,11 +111610,11 @@ class Toggle {
|
|
|
111403
111610
|
}
|
|
111404
111611
|
render() {
|
|
111405
111612
|
const id = this.id?.length ? this.id : this._nonce;
|
|
111406
|
-
return (hAsync(ThemedHost, { key: '
|
|
111613
|
+
return (hAsync(ThemedHost, { key: 'c94da39c5cd65f7e50190bde49c5924df1c0a8a5' }, hAsync("label", { key: 'd46c44760b0aba16fd630a7a8ac92247f351db0e', class: 'flex items-center justify-start gap-2', htmlFor: id }, hAsync("div", { key: 'ae3f73a862a2a7989aaf75033384eda0b7cb9933', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, hAsync("input", { key: 'e87e4b22d9353831bcf3c6d00587801e9c900420', checked: !!this.checked, class: toggle({
|
|
111407
111614
|
disabled: asBoolean(this.disabled),
|
|
111408
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: '
|
|
111615
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'checkbox', onChange: ev => this._onChange(ev) }), hAsync("div", { key: 'da80e9bd020c9787c396e341de05a63f3e587e7d', class: circle({
|
|
111409
111616
|
disabled: asBoolean(this.disabled),
|
|
111410
|
-
}) })), hAsync("div", { key: '
|
|
111617
|
+
}) })), hAsync("div", { key: '3a47695b364859d2c600941ffc544205ce074a70', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, hAsync("slot", { key: 'e0e538f18f1271368c3dedb380f902b579aa8eea' })))));
|
|
111411
111618
|
}
|
|
111412
111619
|
_onChange(ev) {
|
|
111413
111620
|
if (asBoolean(this.disabled)) {
|
|
@@ -111538,10 +111745,10 @@ class Tooltip {
|
|
|
111538
111745
|
this._cleanup = null;
|
|
111539
111746
|
}
|
|
111540
111747
|
render() {
|
|
111541
|
-
return (hAsync(ThemedHost, { key: '
|
|
111748
|
+
return (hAsync(ThemedHost, { key: 'b7236e3ce5912e9ba30714da4c2e7af49086f834', "data-filled": this.content?.length > 0 || this._hasContentSlot }, hAsync("slot", { key: 'cf670f071402f8f8c8e410b0ac5cd71e04e66c83', name: 'trigger' }), hAsync("div", { key: '6070ac034b4430f7e7e34f18b057983d1a0c2f6e', class: popover({
|
|
111542
111749
|
variant: this.variant,
|
|
111543
111750
|
strategy: this.strategy,
|
|
111544
|
-
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: '
|
|
111751
|
+
}), "data-placement": this.placement, ref: el => this._load(el), role: 'popover' }, hAsync("div", { key: 'bdfd98d1aa78a4b381744740ed5f6e8ee5d892d2', class: 'flex gap-2 whitespace-normal' }, this.variant === 'error' && (hAsync("div", { key: '1d146ca53838e1d02026e2106ad878348ac9c668', class: '\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n ' })), this.content ?? hAsync("slot", { key: 'a7b9a33b688c70778870545029b19d99cbaa5cb5', name: 'content' })))));
|
|
111545
111752
|
}
|
|
111546
111753
|
clickHandler() {
|
|
111547
111754
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -111707,6 +111914,7 @@ registerComponents([
|
|
|
111707
111914
|
Dropdown,
|
|
111708
111915
|
DropdownMenuContainer,
|
|
111709
111916
|
DropdownMenuItem,
|
|
111917
|
+
Dropzone,
|
|
111710
111918
|
EmptyState,
|
|
111711
111919
|
Field,
|
|
111712
111920
|
FieldContainer,
|