@paperless/core 3.13.0 → 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
|
@@ -70,11 +70,11 @@ const EmptyState = class {
|
|
|
70
70
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
71
71
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
72
72
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
73
|
-
return (h(ThemedHost, { key: '
|
|
73
|
+
return (h(ThemedHost, { key: '46f56cd16b8fb196bf0386d0eb6e00f4033ace3d' }, h("div", { key: 'b3b10b96f1e3a657b9c76982ef9330dc1909d114', class: emptyState({
|
|
74
74
|
enableAction: asBoolean(this.enableAction, true),
|
|
75
75
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
76
76
|
? this.action.emit(ev)
|
|
77
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '
|
|
77
|
+
: undefined }, this.illustration && (h("p-illustration", { key: '558279ba45c580a607d4227469bf60006e426da1', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
|
|
78
78
|
(hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -144,9 +144,9 @@ const FloatingMenuContainer = class {
|
|
|
144
144
|
this._setLocales();
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h(ThemedHost, { key: '
|
|
147
|
+
return (h(ThemedHost, { key: '6986e980b725cd752829cba968f0846463bc6059' }, h("div", { key: '9a778fdbbd37c1d2e7569987f02e99f9e35e49a9', class: container$1({
|
|
148
148
|
enableAmountSelected: this.enableAmountSelected,
|
|
149
|
-
}) }, this.enableAmountSelected && (h(Fragment, { key: '
|
|
149
|
+
}) }, this.enableAmountSelected && (h(Fragment, { key: '5908b6468acef599b2447b6f9f63df86b76910dd' }, h("p", { key: '430c5262493489463a38d5c1dd5ce43b7c97185c', class: amountSelected() }, this.amountSelectedTemplate(this.amount)), h("p-divider", { key: '376022345f9be8e294dc5cfb84afb88d5c3fafc7', class: 'mx-0 h-4 text-storm-400', variant: 'vertical' }))), h("div", { key: '51eb35eeda97cfe8e38e72182347120dafbafb46', class: 'flex items-center' }, this.usedInTable ? h("slot", { name: 'floating-menu-item' }) : h("slot", null), this.enableClose && (h("p-floating-menu-item", { key: 'db367176340e6757f70095b4e4d99cc955052195', icon: 'negative', onClick: ev => this.close.emit(ev) }))))));
|
|
150
150
|
}
|
|
151
151
|
async _setLocales() {
|
|
152
152
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -212,7 +212,7 @@ const TableCell = class {
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
render() {
|
|
215
|
-
return (h(ThemedHost, { key: '
|
|
215
|
+
return (h(ThemedHost, { key: '656d83909d03bd9affa467d31830be7ddb065608', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
216
216
|
}
|
|
217
217
|
_getContent() {
|
|
218
218
|
if (this.variant === 'loading') {
|
|
@@ -245,7 +245,7 @@ const TableContainer = class {
|
|
|
245
245
|
registerInstance(this, hostRef);
|
|
246
246
|
}
|
|
247
247
|
render() {
|
|
248
|
-
return (h(Host, { key: '
|
|
248
|
+
return (h(Host, { key: '3daf6469b62cebd689368d36868c43045e45b9ba', class: container() }, h("slot", { key: 'ee905a8bcd2e251d16e0af31a1609e905d41fa33' })));
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
TableContainer.style = tableContainerComponentCss();
|
|
@@ -360,12 +360,12 @@ const TableFooter = class {
|
|
|
360
360
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
361
361
|
}
|
|
362
362
|
render() {
|
|
363
|
-
return (h(ThemedHost, { key: '
|
|
363
|
+
return (h(ThemedHost, { key: 'e1e80cefafca5e75a6bb65a1ef50628608b5f561' }, h("div", { key: '2685019000a687c3d2cc78a959370cd11dee773e', class: footer({
|
|
364
364
|
pinned: this._isPinned,
|
|
365
365
|
hidden: this._hidden,
|
|
366
366
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
367
367
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
368
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
368
|
+
this.total > 0 && (h("p-pagination", { key: '82c0ad2c394418fab72873164f7110f06edffa62', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
369
369
|
}
|
|
370
370
|
_changePageSize(s) {
|
|
371
371
|
if (!s) {
|
|
@@ -10000,13 +10000,13 @@ const TableHeader = class {
|
|
|
10000
10000
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
10001
10001
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
10002
10002
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
10003
|
-
return (h(ThemedHost, { key: '
|
|
10004
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
10003
|
+
return (h(ThemedHost, { key: '146dbcfb3f2883f5999093dff4ec5b1ae4530a0f' }, h("div", { key: 'a76491ff423a939196c851da49f70cec87e914e5', class: header() }, this.loading && (h("p-loader", { key: 'cefccf2e94b8e22df9506670241c5366d8d3de2e', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
10004
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: 'ff9fdbec94b79217279e0e6a87511239cadf8d99', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && h("slot", { key: '9ba364568cf6ea0eb988c9ba53055ba005af60e0', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: '8e88a96fcb9a88ab8ed6ea3854821938e195bdcf', class: cn({
|
|
10005
10005
|
'hidden desktop-xs:flex': this.hideQuickFiltersOnMobile,
|
|
10006
10006
|
flex: !this.hideQuickFiltersOnMobile,
|
|
10007
10007
|
}) }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
10008
10008
|
? item.text
|
|
10009
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
10009
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '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 && (h("p-field", { key: '15966dc97bd1cee3692de32ce08d348196e0e329', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: '8bc7ef55643420221a66323cc644ca9bc9c2aac2', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: 'ae5c8db6d1adef93cd228ff86f7a266fe057c410', class: `
|
|
10010
10010
|
w-full
|
|
10011
10011
|
${this.enableFilterDesktop
|
|
10012
10012
|
? 'desktop-xs:w-auto'
|
|
@@ -10014,7 +10014,7 @@ const TableHeader = class {
|
|
|
10014
10014
|
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
10015
10015
|
? this.filterButtonTemplate()
|
|
10016
10016
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
10017
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
10017
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '31a8d2bc0fb5f217111f0ae2aad500abee3bdf28', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (h("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 && h("slot", { key: '379ad6eb535ed7e327b2a438f482a960a546ba80', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: '9037b913ef614ae681892c6fb6547d476bc8cd43', class: '\n fixed bottom-0 left-0 z-[2] block w-full border border-solid\n border-transparent bg-white p-4\n desktop-xs:hidden\n dark:border-t-hurricane-400 dark:bg-hurricane-500\n ' }, this._buttonTemplate(true))))));
|
|
10018
10018
|
}
|
|
10019
10019
|
async _setLocales() {
|
|
10020
10020
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -10156,13 +10156,13 @@ const TableRow = class {
|
|
|
10156
10156
|
*/
|
|
10157
10157
|
isLast = false;
|
|
10158
10158
|
render() {
|
|
10159
|
-
return (h(ThemedHost, { key: '
|
|
10159
|
+
return (h(ThemedHost, { key: '637f078f4b17b40e8d88b17ffd01e17564dc2498' }, h("div", { key: '0c5df77b50554c6f72e4a589896ee0ac5ea8065f', class: 'flex flex-col' }, h("div", { key: '86cab516a54ba2a79a45fe4185e1d64ed232df04', class: row({
|
|
10160
10160
|
variant: this.variant,
|
|
10161
10161
|
enableHover: this.enableHover,
|
|
10162
10162
|
checked: this.checked,
|
|
10163
|
-
}) }, h("div", { key: '
|
|
10163
|
+
}) }, h("div", { key: '4a302d6d3077a31f18bad02169e9bfcf38083e4b', class: content({
|
|
10164
10164
|
variant: this.variant,
|
|
10165
|
-
}) }, h("slot", { key: '
|
|
10165
|
+
}) }, h("slot", { key: 'b1ead41a3359d1e766c5e372f18ea17720ff86f5' }), h("div", { key: '9d374cf452fe04077230f6a981fc713cf56cc6cc', class: actions() }, h("slot", { key: '728d34e82e152fd1ca38db6c29cb1e40259e442f', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: 'e9ac14c677be390abaf4f5fc2218ee7a7e028954' })))));
|
|
10166
10166
|
}
|
|
10167
10167
|
};
|
|
10168
10168
|
TableRow.style = tableRowComponentCss();
|
|
@@ -10178,16 +10178,16 @@ const TableRowActionsContainer = class {
|
|
|
10178
10178
|
*/
|
|
10179
10179
|
checked = false;
|
|
10180
10180
|
render() {
|
|
10181
|
-
return (h(ThemedHost, { key: '
|
|
10181
|
+
return (h(ThemedHost, { key: 'efb6cf4c063212207c5ea272f3ae3bbffd18e419' }, h("div", { key: '2d1a85c5f4e1e4829cd45b081fcc31e46bd02773', class: cn(`
|
|
10182
10182
|
flex
|
|
10183
10183
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
10184
10184
|
`, {
|
|
10185
10185
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10186
10186
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10187
|
-
}) }, h("div", { key: '
|
|
10187
|
+
}) }, h("div", { key: 'ebea7754c0318514557fe7d751ed2212cfcfc35f', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10188
10188
|
'dark:bg-hurricane-600': !this.checked,
|
|
10189
10189
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10190
|
-
}) }, h("slot", { key: '
|
|
10190
|
+
}) }, h("slot", { key: '2cba74d1d0d62f685798292b7199632aae122d67' })))));
|
|
10191
10191
|
}
|
|
10192
10192
|
};
|
|
10193
10193
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|
|
@@ -388,8 +388,8 @@ const Field = class {
|
|
|
388
388
|
}
|
|
389
389
|
render() {
|
|
390
390
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
391
|
-
return (h(ThemedHost, { key: '
|
|
392
|
-
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '
|
|
391
|
+
return (h(ThemedHost, { key: 'f985e2b3d25ebb7a9e30448fb6663d0b487f47a3' }, h("p-field-container", { key: '358983d8f8f6cb1b53e9e4c607c064fc4a27a9f0', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
392
|
+
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '155d5efc1d951ea2e08076cb58c3ce96e12f0f13', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '9012ea2ac18ebbdc337ef7fc3fc79a36b1c9c720', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'f461db190f2ca1727117e062111e96c6f85728be', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '353b0153551e5e7adb23b19390a4111e0b96d0c4', name: 'error', slot: 'error' })), h("div", { key: '20152561ff55142e43b3b1cbfb151b254f145736', class: field({
|
|
393
393
|
error: !!this.error?.length,
|
|
394
394
|
disabled: asBoolean(this.disabled),
|
|
395
395
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -400,7 +400,7 @@ const Field = class {
|
|
|
400
400
|
? `${this.value}`
|
|
401
401
|
: undefined }, (this.error?.length ||
|
|
402
402
|
prefix ||
|
|
403
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
403
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: 'bca5cf5eca02b9291eb710e6c3539e23bb349d96', class: prefixAndSuffix({
|
|
404
404
|
variant: this.variant,
|
|
405
405
|
error: !!this.error?.length,
|
|
406
406
|
disabled: asBoolean(this.disabled),
|
|
@@ -412,7 +412,7 @@ const Field = class {
|
|
|
412
412
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
413
413
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
414
414
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
415
|
-
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
415
|
+
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '0ab5f5a94ff34eeeb76eb94cad88a4895a656bfd', class: cn(prefixAndSuffix({
|
|
416
416
|
variant: this.variant,
|
|
417
417
|
error: !!this.error?.length,
|
|
418
418
|
disabled: asBoolean(this.disabled),
|
|
@@ -686,27 +686,27 @@ const FieldContainer = class {
|
|
|
686
686
|
}
|
|
687
687
|
render() {
|
|
688
688
|
const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
|
|
689
|
-
let contentSlot = (h("slot", { key: '
|
|
689
|
+
let contentSlot = (h("slot", { key: '2584c934001e26c03b752112c165dc89f31db007', name: 'content', slot: 'trigger' }));
|
|
690
690
|
if (this.loading) {
|
|
691
|
-
contentSlot = (h("p-loader", { key: '
|
|
691
|
+
contentSlot = (h("p-loader", { key: 'fe69f220c9021a637ca5bef74868f769222a635d', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
|
|
692
692
|
}
|
|
693
|
-
return (h(ThemedHost, { key: '
|
|
693
|
+
return (h(ThemedHost, { key: 'cbed8c2f71c7be4f1789b3d234aafca4f9f078d9' }, h("label", { key: '41c19529b5282769de686b834e1facfd69a323cf', class: cn('flex w-inherit flex-col gap-1', {
|
|
694
694
|
'cursor-auto': this.variant === 'read',
|
|
695
|
-
}), htmlFor: this.id }, h("div", { key: '
|
|
695
|
+
}), htmlFor: this.id }, h("div", { key: '44a2fbd0d1024cd153894dd5548d7b4e0f1f4aec', class: cn(`
|
|
696
696
|
flex items-end justify-between gap-1
|
|
697
697
|
empty:hidden
|
|
698
698
|
`, {
|
|
699
699
|
'flex-row-reverse': this.align === 'end',
|
|
700
|
-
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '
|
|
701
|
-
hasHeaderSlot) && (h("div", { key: '
|
|
700
|
+
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '1e7519168574464c867c86f84ecdca2c4e15e460', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: 'ec3649c4a9436d9c54be7929781d1d9a5fc459df', class: '\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n ' }, label), helper && (h("p-helper", { key: '2cc430522904e8df5dcc7fbf40f71d26287b7f0a', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
|
|
701
|
+
hasHeaderSlot) && (h("div", { key: 'f6849a8c420eb3582a7d92d5e6b42bdd4e019a07', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
|
|
702
702
|
asBoolean(this.showOptional) &&
|
|
703
|
-
this.variant === 'write' && (h("span", { key: '
|
|
703
|
+
this.variant === 'write' && (h("span", { key: '2329447c26577bc481fc46f11b1dcbfceff39f60', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: '09fffde1c42b4b160c455ba73f47d11e1d34dbc5', name: 'header' })))), h("p-tooltip", { key: '26a3e3aa6bb7e3d57ae990ca672e01df493d3f1d', class: cn({
|
|
704
704
|
'w-full': this.variant === 'write' || this.loading,
|
|
705
705
|
'ml-auto': this.align === 'end',
|
|
706
706
|
'font-normal': this.variant === 'read',
|
|
707
707
|
'text-storm-500 dark:text-white': this.variant === 'read',
|
|
708
708
|
}), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
|
|
709
|
-
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '
|
|
709
|
+
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '5a0ce99a2d3c123566e6417eeec26fe86ce054c6', name: 'error', slot: 'content' })), contentSlot))));
|
|
710
710
|
}
|
|
711
711
|
async _setLocales() {
|
|
712
712
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -748,7 +748,7 @@ const Helper = class {
|
|
|
748
748
|
*/
|
|
749
749
|
placement = 'top';
|
|
750
750
|
render() {
|
|
751
|
-
return (h(ThemedHost, { key: '
|
|
751
|
+
return (h(ThemedHost, { key: '9f2914b0d9d5a9e89f40697fad81d9bd167e5865' }, h("p-tooltip", { key: '409c6db4657e7cdb926f931448dfcb082b742400', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: 'dc0a1e1e2a2ae677ab5493541bf3b4aabc12ec9b', class: '\n cursor-pointer text-storm-300\n hover:text-storm-500\n dark:text-hurricane-300\n dark:hover:text-hurricane-200\n ', size: 'sm', slot: 'trigger', variant: 'question-circle' }), h("div", { key: '7a28aeafd07af4259e1a4fcb089a4535d8c95e8f', slot: 'content' }, h("slot", { key: 'c67f0ecd91966e667398ebbe0cf5ba5e3e46bb53' })))));
|
|
752
752
|
}
|
|
753
753
|
};
|
|
754
754
|
Helper.style = helperComponentCss();
|
|
@@ -99,10 +99,10 @@ const FloatingMenuItem = class {
|
|
|
99
99
|
*/
|
|
100
100
|
iconRotate;
|
|
101
101
|
render() {
|
|
102
|
-
return (h(ThemedHost, { key: '
|
|
102
|
+
return (h(ThemedHost, { key: 'e653498fd7e06f53f8440399011a1a8ada5f67f1', class: item({
|
|
103
103
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
104
104
|
disabled: asBoolean(this.disabled),
|
|
105
|
-
}) }, this._getIcon(), h("p", { key: '
|
|
105
|
+
}) }, this._getIcon(), h("p", { key: '78ccc757ffdf76c71bd293de5cafb73f1a34f56e', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, h("slot", { key: '9e37c6abdd1a17f6bb8d4bb47fbc4ee278b5ce35' }))));
|
|
106
106
|
}
|
|
107
107
|
_getIcon() {
|
|
108
108
|
if (!this.icon && !this.loading) {
|
|
@@ -223,7 +223,7 @@ const Illustration = class {
|
|
|
223
223
|
render() {
|
|
224
224
|
const illustration = illustrations[this.variant];
|
|
225
225
|
const hasSize = [...this._el.classList.values()].some(val => val.match(/text-(xs|sm|base|lg|[2-79|]?xl)/));
|
|
226
|
-
return (h(Host, { key: "
|
|
226
|
+
return (h(Host, { key: "50517d8d3aaaa520665e8591663654c505b08104", class: cn("block", { "text-8xl": !hasSize }), innerHTML: illustration }));
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
Illustration.style = '.block{display:block}.text-8xl{font-size:6rem;line-height:1}*{box-sizing:border-box}';
|
|
@@ -104,10 +104,10 @@ const InfoPanel = class {
|
|
|
104
104
|
render() {
|
|
105
105
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
106
106
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
107
|
-
return (h(ThemedHost, { key: '
|
|
107
|
+
return (h(ThemedHost, { key: 'effb38193e5597af8e484137f8dc758999d2c52a' }, h("div", { key: '14cb61d11f41c4ec4b34689fb20a2cd71a9204a6', class: infopanel({
|
|
108
108
|
variant: this.variant,
|
|
109
109
|
closeAble: this.closeable,
|
|
110
|
-
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: '
|
|
110
|
+
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: 'a1ceeb47d24d9d108044d0078d3da39f5efb81e1', class: header({ variant: this.variant }) }, this.header?.length ? (h("p", { class: 'my-0' }, this.header)) : (h("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (h("div", { key: '0221101d1e13cd55a8e4b7d36406e3c212dc3b79', class: '\n h-inherit text-sm font-normal text-storm-800/60\n dark:text-white/70\n ' }, this.content?.length ? (h("p", { class: 'my-0' }, this.content)) : (h("slot", { name: 'content' })))), this.closeable && (h("div", { key: '1a23880fa9eaf54d38f13e21e241cb21fece511d', class: close(), onClick: () => this._close() }, h("p-icon", { key: '717beeeb7f1cb95688f2df6712b284280acc446c', variant: 'negative' }))))));
|
|
111
111
|
}
|
|
112
112
|
_close() {
|
|
113
113
|
this.closed.emit();
|
|
@@ -83,17 +83,17 @@ const Label = class {
|
|
|
83
83
|
*/
|
|
84
84
|
keepMobileContent = false;
|
|
85
85
|
render() {
|
|
86
|
-
return (h(ThemedHost, { key: '
|
|
86
|
+
return (h(ThemedHost, { key: '2dcb1d9bafb86433ad4bc24a7f1947ca52656056' }, h("div", { key: 'ce580094967f042bef6aef229b393709f0993c34', class: label({
|
|
87
87
|
variant: this.variant,
|
|
88
88
|
iconOnly: this.iconOnly,
|
|
89
89
|
keepMobileContent: this.keepMobileContent,
|
|
90
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
90
|
+
}) }, this.icon && (h("p-icon", { key: '450bf31eec5f09c5b326f7819841f9b6dc155993', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (h("div", { key: '825b6996bba84ffeb67dd8f4cfb114b0034599bf', class: cn(`
|
|
91
91
|
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
92
92
|
font-medium
|
|
93
93
|
`, {
|
|
94
94
|
hidden: !this.keepMobileContent,
|
|
95
95
|
'desktop-xs:block': !this.keepMobileContent,
|
|
96
|
-
}) }, h("slot", { key: '
|
|
96
|
+
}) }, h("slot", { key: '6d71814586719b1b7898d5f46033a8d46ed63974' }))))));
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
Label.style = labelComponentCss();
|
|
@@ -16,7 +16,7 @@ const Layout = class {
|
|
|
16
16
|
*/
|
|
17
17
|
scroll;
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'd01fb1020c3647bf8010bbd17419e8c66ce1c96d', class: 'variant-' + this.variant }, h("div", { key: '9ff8a4475fd1b9bea0d60c79cef445cc56441641', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: '0b0538ea3608acb8ab5cfbdb68ee1094dfca142a', class: 'inner-content' }, h("slot", { key: '246a0d0513aa4e11d0c8b3a528235433c2ae5cd2', name: 'content' })), h("slot", { key: '174efaf8981ee49561f8718436da8b86b19a4550', name: 'outer-content' })), h("div", { key: '780403256ca296797290cbb4a59bd8964ccffbc4', class: 'sidebar' }, h("slot", { key: '47df9f24bdeba40201597f35f51ef3620973398f', name: 'sidebar' })), h("div", { key: '9916f3c82d19b109ea3893bb7ac6846a1e875f0c', class: 'topbar' }, h("slot", { key: 'bf0995ba0ef0db3309e9fe553e78d25ac857730d', name: 'topbar' }))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
Layout.style = layoutComponentCss();
|
|
@@ -13,7 +13,7 @@ const ListingItem = class {
|
|
|
13
13
|
*/
|
|
14
14
|
icon = 'placeholder';
|
|
15
15
|
render() {
|
|
16
|
-
return (h(ThemedHost, { key: '
|
|
16
|
+
return (h(ThemedHost, { key: '365ba4cef81b87755dd6c18fc5238992a2b35e15' }, h("div", { key: 'b121cf8fe6e62c062583c035a0144fc9cd08f324', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, h("p-icon", { key: 'd0fea1dd0e4437ad9cbf02a5441bcbec018958a9', variant: this.icon }), h("div", { key: '9a244f968dab4b6bdc12c5ec0176b2c68917892b', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: '26fe3df7e514a68a3c7813e0231e7f1aa4b13f0f' })))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
ListingItem.style = listingItemComponentCss();
|
|
@@ -9,7 +9,7 @@ const ListingLine = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return h(ThemedHost, { key: '
|
|
12
|
+
return h(ThemedHost, { key: '452304a157c927b7c255adc0a312a333274cd8b5' });
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
ListingLine.style = listingLineComponentCss();
|
|
@@ -22,10 +22,10 @@ const Listing = class {
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: '160a8d3db50ea8c0c6e8a982f3b274525fec55f0', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
26
26
|
'opacity-100': this._generatedOnce,
|
|
27
27
|
'opacity-0': !this._generatedOnce,
|
|
28
|
-
}) }, h("slot", { key: '
|
|
28
|
+
}) }, h("slot", { key: '0cb952b970dafcebc316723d4e020ceafa96f9b2', onSlotchange: () => this._generateLinesOnce() })));
|
|
29
29
|
}
|
|
30
30
|
_generateLinesOnce() {
|
|
31
31
|
if (this._generateTimeout) {
|
|
@@ -41,10 +41,10 @@ const ModalBody = class {
|
|
|
41
41
|
*/
|
|
42
42
|
roundedTop = false;
|
|
43
43
|
render() {
|
|
44
|
-
return (h(ThemedHost, { key: '
|
|
44
|
+
return (h(ThemedHost, { key: 'c6b0129527261bdcb33df0c8cb03579aad34d04a' }, h("div", { key: '31a3f74cf3f0993808400de8165c08a5efb66f3a', class: body({
|
|
45
45
|
roundedBottom: this.roundedBottom,
|
|
46
46
|
roundedTop: this.roundedTop,
|
|
47
|
-
}) }, h("slot", { key: '
|
|
47
|
+
}) }, h("slot", { key: 'c70a0821cf3256e891f3a121e8a1381096a7c2c7' }))));
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
ModalBody.style = modalBodyComponentCss();
|
|
@@ -96,10 +96,10 @@ const ModalContainer = class {
|
|
|
96
96
|
*/
|
|
97
97
|
closing = false;
|
|
98
98
|
render() {
|
|
99
|
-
return (h(ThemedHost, { key: '
|
|
99
|
+
return (h(ThemedHost, { key: 'a106eb003b488d35b371d6ada4b92c009409ab8d' }, h("div", { key: 'ef6c764db7f715a968a1d8935b720e2dcec8fe26', class: container({
|
|
100
100
|
size: this.size,
|
|
101
101
|
closing: asBoolean(this.closing),
|
|
102
|
-
}) }, h("slot", { key: '
|
|
102
|
+
}) }, h("slot", { key: '1361db39acb99256c403dceac65338dace60a7c5' }))));
|
|
103
103
|
}
|
|
104
104
|
};
|
|
105
105
|
ModalContainer.style = modalContainerComponentCss();
|
|
@@ -111,7 +111,7 @@ const ModalFooter = class {
|
|
|
111
111
|
registerInstance(this, hostRef);
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
|
-
return (h(ThemedHost, { key: '
|
|
114
|
+
return (h(ThemedHost, { key: '72a0afeef3f9cc2a52f376b3196fdbd559f2ce52' }, h("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 ' }, h("p-divider", { key: '32574ecdc2cc92dec54ca96d78f3542b4d7e3cbe', class: '\n mb-4 hidden text-off-white-700\n desktop-xs:inline-block\n dark:text-white/10\n ' }), h("div", { key: '250ea669f73f28deffc386701210bafb44cf1b23', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, h("slot", { key: '64f2943e6dc96db9ad040671d439b6b0d1c1a454' })))));
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
ModalFooter.style = modalFooterComponentCss();
|
|
@@ -149,7 +149,7 @@ const ModalHeader = class {
|
|
|
149
149
|
*/
|
|
150
150
|
close;
|
|
151
151
|
render() {
|
|
152
|
-
return (h(ThemedHost, { key: '
|
|
152
|
+
return (h(ThemedHost, { key: 'fb48ca24b32ae1718e286f0c57cf8cdfda26251e' }, h("div", { key: '4f87097383ea43e857fca75f46116678ba06c3a5', class: header() }, h("div", { key: 'c9d329f389711865008bb67a04fd95fc321d5f27', class: content() }, h("div", { key: 'b25903d7b487a0ed4fb8816867bd2544dc9bb7e5', class: title() }, h("slot", { key: '308f1264a692d4887a13a0ee46c019a27cdcd5af' })), this.showClose && (h("p-button", { key: '1cfaa62613f5d0d6fd0879a824d2de54ec08b7ce', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: '4aaf965d357c1f2b97989995ff71c4c37324edff', class: 'dark:text-hurricane-400' }))));
|
|
153
153
|
}
|
|
154
154
|
};
|
|
155
155
|
ModalHeader.style = modalHeaderComponentCss();
|
|
@@ -69,7 +69,7 @@ const Navbar = class {
|
|
|
69
69
|
}
|
|
70
70
|
_show = false;
|
|
71
71
|
render() {
|
|
72
|
-
return (h(ThemedHost, { key: '
|
|
72
|
+
return (h(ThemedHost, { key: 'e1bb3bf57d4920d2843370fcb682de7d498b54be' }, h("p-backdrop", { key: 'c8c9fe58e4ed00aeb4d1bdfa70d21b1ce21fae12', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '419073c7b8da20040630c0ced9e28f56f34e44af', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '26869f18f38fbf43aa22db4caf7ee21d5d464f62', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: '60b5a55602bbd3fac96a41e0ec2baab1afd3d20f', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: '8f41f249ca51849bef77626ab49f95d2c1a60d16', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '9bb4d8ab8d0388ae50e50131550113e5fa5c15c3', name: 'company' })), h("div", { key: '17b3ea1ee6614427a71815c4809ccaccb7cacf5a', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: 'd760dbe913b40d92b07010bb9455ce405e156b96', name: 'content' })), h("div", { key: '770f3972edb02a3543463d812f5c9bf633aa14c0', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '324f3ee9644b60a056f42671a002ed0fedbc4437', name: 'user' }))), h("div", { key: 'c703d1f913fd05bdd0e5de2844a99795020a9a2b', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'b506af77cfb440c2927ebf80a017c0c898e47ea2', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: '4dfcb2a4418eca6338cc9467f4a8e8d97b34b1d9', name: 'topbar' }))));
|
|
73
73
|
}
|
|
74
74
|
handleCloseNavbar() {
|
|
75
75
|
this._show = false;
|
|
@@ -96,13 +96,13 @@ const NavigationItem = class {
|
|
|
96
96
|
render() {
|
|
97
97
|
const TagType = this.as;
|
|
98
98
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
99
|
-
return (h(ThemedHost, { key: '
|
|
99
|
+
return (h(ThemedHost, { key: 'af5ecc5d5485b1bbfb172794409d05e51c267a1b', class: cn('inline-block', this.class) }, h(TagType, { key: 'c88091c7b839ba181d22bff95978263443986d01', class: navigationItem({
|
|
100
100
|
icon: !!this.icon,
|
|
101
101
|
active,
|
|
102
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
102
|
+
}), href: this.href, target: this.target }, h("div", { key: '75572668b903ffacd852c765415b20deba35d4fa', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'f5499b9eb148820f73109400aa4b9d6dd29e134d', variant: this.icon })), h("span", { key: '1ee78ad5c09e916baced632233ffcc5dd8ef8347', class: cn({
|
|
103
103
|
'has-counter': !!this.counter,
|
|
104
104
|
'w-full': this.applyFullWidth,
|
|
105
|
-
}) }, h("slot", { key: '
|
|
105
|
+
}) }, h("slot", { key: '6c39a2140f511209e6e48fcc6a8eec2c02f36610' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '46c7a53003e7e80737a82f00e82bf95bf294234a' }, this.counter)), !!this.loading && h("p-loader", { key: 'a9b88ff904559ce15a7f29020a714760e3183cd9', class: 'ml-auto' }))));
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
108
|
NavigationItem.style = navigationItemComponentCss();
|
|
@@ -13,7 +13,7 @@ const NavigationSection = class {
|
|
|
13
13
|
*/
|
|
14
14
|
header;
|
|
15
15
|
render() {
|
|
16
|
-
return (h(ThemedHost, { key: '
|
|
16
|
+
return (h(ThemedHost, { key: 'adc4546240455e2a90f355a85d26a29ec7e3b6f2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '8510c67a883e4973b9261ee63f7ef148cdbaedd4' }, this.header)), h("div", { key: '23b9cfcc54e590d5378ebd61fba0851e95ecc697', class: 'flex flex-col' }, h("slot", { key: '01521755f498890b3abf3adcdd30cf71e9ed8629' }))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
NavigationSection.style = navigationSectionComponentCss();
|
|
@@ -9,7 +9,7 @@ const NavigationTitle = class {
|
|
|
9
9
|
registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(ThemedHost, { key: '
|
|
12
|
+
return (h(ThemedHost, { key: '931af33edbc3cc1f4f0195462b18fad324f3cd05', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, h("slot", { key: 'c556b9241a6b6023d88a26cc5296178f8711d622' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
NavigationTitle.style = navigationTitleComponentCss();
|
|
@@ -75,12 +75,12 @@ const Pagination = class {
|
|
|
75
75
|
_hasPaginationPages = true;
|
|
76
76
|
render() {
|
|
77
77
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
78
|
-
return (h(ThemedHost, { key: '
|
|
78
|
+
return (h(ThemedHost, { key: '611fb4062cf7c6cd78adf2744d7694615fa8d502' }, h("div", { key: '80ebed4ee0978c78ecee629d08f7ca026e395349', class: pagination$1({
|
|
79
79
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
80
80
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
81
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '
|
|
81
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '81ffbba6758be70cb681d1b778365c1f83122048' }, h("p-pagination-size", { key: 'ede0a33d15261777f8d99ce866dedb3af3d63c86', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
82
82
|
this.hideOnSinglePage &&
|
|
83
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
83
|
+
this._hasPaginationPages && (h("p-divider", { key: '8d9956dd7d2277ea8849003e31ce2000eb88db7d', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'c39df7ebd431fbcfa82eb847ff1c9a52acfc7b41', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
84
84
|
this._hasPaginationPages = detail > 1;
|
|
85
85
|
this.pagesChange.emit(detail);
|
|
86
86
|
} })))));
|
|
@@ -156,7 +156,7 @@ const PaginationPages = class {
|
|
|
156
156
|
this._generate();
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(ThemedHost, { key: '
|
|
159
|
+
return (h(ThemedHost, { key: '3c3bdfce0f2956d896456498d5e1d82f727068c8' }, h("div", { key: 'b489b3ea0d740554fbe17d5cba60824bf7bcfc15', class: pagination({
|
|
160
160
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
161
161
|
}) }, this._set?.map(p => {
|
|
162
162
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -443,18 +443,18 @@ const PaginationSize = class {
|
|
|
443
443
|
this._setLocales();
|
|
444
444
|
}
|
|
445
445
|
render() {
|
|
446
|
-
return (h(ThemedHost, { key: '
|
|
446
|
+
return (h(ThemedHost, { key: 'f06fc71948e4c6b7db46761fc2012051fb2bc6e0', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, h("p-dropdown", { key: 'f06ade5619f1ca9bbd91659da22f72fb70a08b4c', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, h("div", { key: '5d2b2f75409655d4fe731c5d016cdb016fbad675', class: trigger({
|
|
447
447
|
active: this.dropdownIsOpen,
|
|
448
|
-
}), slot: 'trigger' }, h("p", { key: '
|
|
448
|
+
}), slot: 'trigger' }, h("p", { key: '3ae4f1b391877882fccab182bffdd5d7227dd1b6', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
|
|
449
449
|
? this.itemTemplate(this.size)
|
|
450
|
-
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '
|
|
450
|
+
: this._defaultItemTemplate(this.size)), h("p-icon", { key: 'e7238dced7554a1e74d06e1dc559db8e8097fdd2', class: cn([
|
|
451
451
|
'flex-shrink-0',
|
|
452
452
|
'group-hover/pagination-size-trigger:text-storm-500',
|
|
453
453
|
'dark:group-hover/pagination-size-trigger:text-white',
|
|
454
454
|
], {
|
|
455
455
|
'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
|
|
456
456
|
'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
|
|
457
|
-
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: '
|
|
457
|
+
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: 'f3dab35841483f0fcb7aa72106975f3573f4a08a', slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
458
458
|
? this.itemTemplate(option)
|
|
459
459
|
: this._defaultItemTemplate(option))))))));
|
|
460
460
|
}
|
|
@@ -33,7 +33,7 @@ const Profile = class {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const content = this._getContent();
|
|
36
|
-
return (h(ThemedHost, { key: '
|
|
36
|
+
return (h(ThemedHost, { key: '0ec4ddefa5588f73327f78db6edb33b4a028d037' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
37
37
|
}
|
|
38
38
|
slotchange() {
|
|
39
39
|
this._checkDropdownSlot();
|
|
@@ -134,11 +134,11 @@ const Radio = class {
|
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
136
|
const id = this.id?.length ? this.id : this._nonce;
|
|
137
|
-
return (h(ThemedHost, { key: '
|
|
137
|
+
return (h(ThemedHost, { key: '1b34f45d6511b31e6f6422bc394254fec08a93b3' }, h("label", { key: '7653f5e2b3fd0d8c56bfe410774ca9f6a0e9b2ec', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: '5eeb3cb883ca4da0111dcd6f5e8f1ef9d5b3205c', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '94c1413d1c39a5dec10c65a7e9aaecb99103d61b', checked: this.checked, class: radio({
|
|
138
138
|
disabled: asBoolean(this.disabled),
|
|
139
|
-
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
139
|
+
}), disabled: asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), h("div", { key: 'd5978350946a867664aad181475a2b5e38e9706a', class: circle({
|
|
140
140
|
disabled: asBoolean(this.disabled),
|
|
141
|
-
}) })), h("div", { key: '
|
|
141
|
+
}) })), h("div", { key: 'b115a387ba384e96652fecaf557e4c9e6b43df35', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: 'd2dd72ba6ee22885f14085075e0c9983165a8fce' })))));
|
|
142
142
|
}
|
|
143
143
|
_onChange(ev) {
|
|
144
144
|
if (asBoolean(this.disabled)) {
|
|
@@ -31,13 +31,13 @@ const Range = class {
|
|
|
31
31
|
valueChange;
|
|
32
32
|
render() {
|
|
33
33
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
34
|
-
return (h(ThemedHost, { key: '
|
|
34
|
+
return (h(ThemedHost, { key: 'a68ced28c217fd36c68e036ac33d99a8b53bda9e' }, h("div", { key: '913ebcd1fffd7e03769cde7a0a693f32d753d05b', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '4b9f7cdf2e39f795c1966e4b32ef47394c56fdfd', variant: 'minus' }), h("div", { key: '91b9b56f441eface41e8d68dfc36321b52019ba9', class: 'relative h-6 flex-1' }, h("input", { key: 'b7f451f9c4d46f4929d89dcf11af6acccbe29207', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
35
35
|
const value = ev.target.value;
|
|
36
36
|
this.value = Number.parseFloat(value);
|
|
37
37
|
this.valueChange.emit(value);
|
|
38
|
-
} }), h("div", { key: '
|
|
38
|
+
} }), h("div", { key: 'a924bc7c08bb7af2e272a5af26894751bd3d4866', class: '\n absolute left-0 top-1/2 z-[1] h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
39
39
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
40
|
-
} })), h("p-icon", { key: '
|
|
40
|
+
} })), h("p-icon", { key: '9fd710578d983d1e8316344b0c9ee02b12de7f2b', variant: 'plus' }))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
Range.style = rangeComponentCss();
|
|
@@ -359,8 +359,8 @@ const Select = class {
|
|
|
359
359
|
if (this.error?.length) {
|
|
360
360
|
buttonIcon = 'warning';
|
|
361
361
|
}
|
|
362
|
-
return (h(ThemedHost, { key: '
|
|
363
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
362
|
+
return (h(ThemedHost, { key: 'ce57ab1998f4eff0510e5abe59bbe4093801ece1' }, h("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' }, h("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) }, h("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 &&
|
|
363
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("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()))));
|
|
364
364
|
}
|
|
365
365
|
documentClickHandler(event) {
|
|
366
366
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -52,7 +52,7 @@ const Smile = class {
|
|
|
52
52
|
*/
|
|
53
53
|
variant = 'modal';
|
|
54
54
|
render() {
|
|
55
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '6e81187a95899bde054b3758a1e508b9ad8fcd55', class: smile({ variant: this.variant }) }, h("div", { key: '9619867e6df73de96849907f12b247a8f5fbab68', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
Smile.style = smileComponentCss();
|