@paperless/core 3.9.0 → 3.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/{p-6b1c18a6.entry.js → p-001e60c3.entry.js} +1 -1
- package/dist/{paperless/p-7c4f3d89.entry.js → build/p-0892908c.entry.js} +1 -1
- package/dist/build/p-21b62f41.entry.js +1 -0
- package/dist/build/{p-5f2b2731.entry.js → p-27613157.entry.js} +1 -1
- package/dist/{paperless/p-bcfbb856.entry.js → build/p-2c10ed8a.entry.js} +1 -1
- package/dist/build/p-7346709f.entry.js +1 -0
- package/dist/{paperless/p-4baa94c0.entry.js → build/p-7b858cd2.entry.js} +1 -1
- package/dist/build/{p-2f9a3144.entry.js → p-7c01dd27.entry.js} +2 -2
- package/dist/build/{p-7be1c70d.entry.js → p-87112092.entry.js} +1 -1
- package/dist/build/{p-c3cab1ca.entry.js → p-8e3a2fa0.entry.js} +1 -1
- package/dist/build/{p-aca48431.entry.js → p-8e91039f.entry.js} +1 -1
- package/dist/build/{p-99522e10.entry.js → p-90c95664.entry.js} +1 -1
- package/dist/{paperless/p-d6958e7a.entry.js → build/p-9f3cf82d.entry.js} +1 -1
- package/dist/build/{p-75918198.entry.js → p-a1e69465.entry.js} +1 -1
- package/dist/build/{p-2388a075.entry.js → p-a263c4fe.entry.js} +1 -1
- package/dist/{paperless/p-e021a548.entry.js → build/p-ad2767f7.entry.js} +1 -1
- package/dist/{paperless/p-748c6ed3.entry.js → build/p-afc6498d.entry.js} +1 -1
- package/dist/{paperless/p-1e9233ac.entry.js → build/p-b2cbd111.entry.js} +1 -1
- package/dist/build/{p-a58a0a99.entry.js → p-b35a687a.entry.js} +1 -1
- package/dist/build/{p-d58fe6e4.entry.js → p-b4c6d3be.entry.js} +1 -1
- package/dist/build/{p-33fc3203.entry.js → p-b992baa0.entry.js} +1 -1
- package/dist/build/p-bba808f0.entry.js +1 -0
- package/dist/build/{p-7ca96cd2.js → p-bd1454d8.js} +1 -1
- package/dist/build/{p-ad0caa7e.entry.js → p-bf22285d.entry.js} +1 -1
- package/dist/build/{p-7868dc58.entry.js → p-cbdf1355.entry.js} +1 -1
- package/dist/{paperless/p-1c6555d0.entry.js → build/p-d13d8eb9.entry.js} +1 -1
- package/dist/{paperless/p-edc7c624.entry.js → build/p-d4d0d4a7.entry.js} +1 -1
- package/dist/{paperless/p-ecc80c01.entry.js → build/p-e1aaca9c.entry.js} +1 -1
- package/dist/build/{p-c004664b.entry.js → p-e1fa4cc2.entry.js} +1 -1
- package/dist/build/{p-7447d78d.entry.js → p-e26a497e.entry.js} +1 -1
- package/dist/build/{p-8d67b17e.entry.js → p-e6f986d8.entry.js} +1 -1
- package/dist/build/p-ef2d18cc.entry.js +1 -0
- package/dist/{paperless/p-5b87fab2.entry.js → build/p-f6a8012e.entry.js} +1 -1
- package/dist/build/{p-30e187cd.entry.js → p-fad5a088.entry.js} +1 -1
- package/dist/build/p-fb18c197.entry.js +1 -0
- package/dist/build/{p-320ddc25.entry.js → p-fd26cf65.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +8 -8
- package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js +2 -2
- 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-dropdown-menu-item_2.cjs.entry.js +2 -2
- package/dist/cjs/p-empty-state_8.cjs.entry.js +12 -12
- package/dist/cjs/p-field_3.cjs.entry.js +4 -4
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-layout.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +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-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/collection/components/atoms/layout/layout.component.css +1 -1
- 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/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +4 -4
- package/dist/collection/components/molecules/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/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +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/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/components/{p-qeQ4j6y4.js → p-3Vtsi6MW.js} +1 -1
- package/dist/components/{p-BaiRAcrb.js → p-4vMrjI4R.js} +1 -1
- package/dist/components/{p-AxgBA-sN.js → p-AdgmVWQg.js} +1 -1
- package/dist/components/{p-CqInd6A4.js → p-B2OsP4eD.js} +1 -1
- package/dist/components/{p-DE8raUA8.js → p-B95c9dkd.js} +1 -1
- package/dist/components/{p-BdAf7y_c.js → p-BD4ZVzaR.js} +1 -1
- package/dist/components/{p-DqcTEpCu.js → p-BG0voO8b.js} +1 -1
- package/dist/components/{p-D5t-6wkl.js → p-BO22HPlM.js} +1 -1
- package/dist/components/{p-BBAR0LE7.js → p-BSU1g6Cl.js} +1 -1
- package/dist/components/{p-2yaxaWU2.js → p-Bg0nKrgn.js} +1 -1
- package/dist/components/{p-CnyIhzd5.js → p-BqDsctQ9.js} +1 -1
- package/dist/components/{p-DYV_GnPW.js → p-BqRMTJiz.js} +1 -1
- package/dist/components/{p-CWH-A2lL.js → p-BxQCn3Jj.js} +1 -1
- package/dist/components/{p-ELoJvZtk.js → p-BzkJl46a.js} +1 -1
- package/dist/components/{p-zfjeJEd0.js → p-Bzz8LM5X.js} +1 -1
- package/dist/components/{p-1zHupCi5.js → p-CUZ_fbsu.js} +1 -1
- package/dist/components/{p-C16aqi4P.js → p-CUwpPeVc.js} +1 -1
- package/dist/components/{p-ChfqWQPf.js → p-C_JXTK81.js} +1 -1
- package/dist/components/{p-DDV-lx3_.js → p-CqDwyvBc.js} +1 -1
- package/dist/components/{p-CsygZkEa.js → p-CuKlo0QR.js} +1 -1
- package/dist/components/{p-CQ1UlIQc.js → p-DFZS6Jig.js} +1 -1
- package/dist/components/{p-CMWeDAfn.js → p-DMdgkHjq.js} +1 -1
- package/dist/components/{p-BCddfleq.js → p-DQyKcYSv.js} +1 -1
- package/dist/components/{p-B_euqN1g.js → p-DXNPGJOI.js} +1 -1
- package/dist/components/{p-BlEQYWcp.js → p-DXkmWNXW.js} +1 -1
- package/dist/components/{p-CHER4MCx.js → p-Dy4IX7Pe.js} +1 -1
- package/dist/components/p-IBTfZiqD.js +1 -0
- package/dist/components/{p-DmzyuekN.js → p-PwfSEBI3.js} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-header.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-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/{p-CJhGT47T.js → p-i1p7L9W8.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-CtAGaRd5.js → p-t4aLscWg.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/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +8 -8
- package/dist/esm/p-badge_3.entry.js +3 -3
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_3.entry.js +2 -2
- 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-dropdown-menu-item_2.entry.js +2 -2
- package/dist/esm/p-empty-state_8.entry.js +12 -12
- package/dist/esm/p-field_3.entry.js +4 -4
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-layout.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +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-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/index.html +1 -1
- package/dist/paperless/{p-6b1c18a6.entry.js → p-001e60c3.entry.js} +1 -1
- package/dist/{build/p-7c4f3d89.entry.js → paperless/p-0892908c.entry.js} +1 -1
- package/dist/paperless/p-21b62f41.entry.js +1 -0
- package/dist/paperless/{p-5f2b2731.entry.js → p-27613157.entry.js} +1 -1
- package/dist/{build/p-bcfbb856.entry.js → paperless/p-2c10ed8a.entry.js} +1 -1
- package/dist/paperless/p-7346709f.entry.js +1 -0
- package/dist/{build/p-4baa94c0.entry.js → paperless/p-7b858cd2.entry.js} +1 -1
- package/dist/paperless/{p-2f9a3144.entry.js → p-7c01dd27.entry.js} +2 -2
- package/dist/paperless/{p-7be1c70d.entry.js → p-87112092.entry.js} +1 -1
- package/dist/paperless/{p-c3cab1ca.entry.js → p-8e3a2fa0.entry.js} +1 -1
- package/dist/paperless/{p-aca48431.entry.js → p-8e91039f.entry.js} +1 -1
- package/dist/paperless/{p-99522e10.entry.js → p-90c95664.entry.js} +1 -1
- package/dist/{build/p-d6958e7a.entry.js → paperless/p-9f3cf82d.entry.js} +1 -1
- package/dist/paperless/{p-75918198.entry.js → p-a1e69465.entry.js} +1 -1
- package/dist/paperless/{p-2388a075.entry.js → p-a263c4fe.entry.js} +1 -1
- package/dist/{build/p-e021a548.entry.js → paperless/p-ad2767f7.entry.js} +1 -1
- package/dist/{build/p-748c6ed3.entry.js → paperless/p-afc6498d.entry.js} +1 -1
- package/dist/{build/p-1e9233ac.entry.js → paperless/p-b2cbd111.entry.js} +1 -1
- package/dist/paperless/{p-a58a0a99.entry.js → p-b35a687a.entry.js} +1 -1
- package/dist/paperless/{p-d58fe6e4.entry.js → p-b4c6d3be.entry.js} +1 -1
- package/dist/paperless/{p-33fc3203.entry.js → p-b992baa0.entry.js} +1 -1
- package/dist/paperless/p-bba808f0.entry.js +1 -0
- package/dist/paperless/{p-ad0caa7e.entry.js → p-bf22285d.entry.js} +1 -1
- package/dist/paperless/{p-7868dc58.entry.js → p-cbdf1355.entry.js} +1 -1
- package/dist/{build/p-1c6555d0.entry.js → paperless/p-d13d8eb9.entry.js} +1 -1
- package/dist/{build/p-edc7c624.entry.js → paperless/p-d4d0d4a7.entry.js} +1 -1
- package/dist/{build/p-ecc80c01.entry.js → paperless/p-e1aaca9c.entry.js} +1 -1
- package/dist/paperless/{p-c004664b.entry.js → p-e1fa4cc2.entry.js} +1 -1
- package/dist/paperless/{p-7447d78d.entry.js → p-e26a497e.entry.js} +1 -1
- package/dist/paperless/{p-8d67b17e.entry.js → p-e6f986d8.entry.js} +1 -1
- package/dist/paperless/p-ef2d18cc.entry.js +1 -0
- package/dist/{build/p-5b87fab2.entry.js → paperless/p-f6a8012e.entry.js} +1 -1
- package/dist/paperless/{p-30e187cd.entry.js → p-fad5a088.entry.js} +1 -1
- package/dist/paperless/p-fb18c197.entry.js +1 -0
- package/dist/paperless/{p-320ddc25.entry.js → p-fd26cf65.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/hydrate/index.js +89 -89
- package/hydrate/index.mjs +89 -89
- package/package.json +1 -1
- package/dist/build/p-0f206cdb.entry.js +0 -1
- package/dist/build/p-219131e2.entry.js +0 -1
- package/dist/build/p-980f3529.entry.js +0 -1
- package/dist/build/p-c4af6a8c.entry.js +0 -1
- package/dist/build/p-db387f26.entry.js +0 -1
- package/dist/components/p-CxOhqNqH.js +0 -1
- package/dist/paperless/p-0f206cdb.entry.js +0 -1
- package/dist/paperless/p-219131e2.entry.js +0 -1
- package/dist/paperless/p-980f3529.entry.js +0 -1
- package/dist/paperless/p-c4af6a8c.entry.js +0 -1
- package/dist/paperless/p-db387f26.entry.js +0 -1
|
@@ -38,10 +38,10 @@ const Accordion = class {
|
|
|
38
38
|
*/
|
|
39
39
|
isOpen;
|
|
40
40
|
render() {
|
|
41
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
41
|
+
return (index.h(themedHost_component.ThemedHost, { key: '46d2a6ab93cf3af2c053edb6180a16f763696d74' }, index.h("div", { key: 'c9e649574c5d8a94ef37c4d3353718d5acb92a09', class: 'flex w-full flex-col' }, index.h("div", { key: 'f27109520c7d3f1b7344939f2840a9057fdd8908', class: cn.cn('flex cursor-pointer items-center gap-2', {
|
|
42
42
|
'text-storm-500 dark:text-white': this.variant === 'primary',
|
|
43
43
|
'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
|
|
44
|
-
}), onClick: () => this._onClick() }, index.h("p-icon", { key: '
|
|
44
|
+
}), onClick: () => this._onClick() }, index.h("p-icon", { key: 'a266eee67ea2688c8dddca7b67fbde97b6baafa5', class: 'flex shrink-0', rotate: this.open ? 0 : -90, variant: 'caret' }), index.h("p", { key: '3d5e61488bd1f96d16b5b58815dd8973f67351b3', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), index.h("p-divider", { key: '56116eca82c7a4f09d25f91d5d8aa7e94d7584db', class: 'flex-1' })), this.open && (index.h("div", { key: '488f62d90d405e7426d5c87edbce932d518c36f1', class: 'mt-4' }, index.h("slot", { key: '82827c68246c57c95b253fd8bbd24852aaf876a7' }))))));
|
|
45
45
|
}
|
|
46
46
|
_onClick() {
|
|
47
47
|
if (!this.closeable && this.open) {
|
|
@@ -114,27 +114,27 @@ const Attachment = class {
|
|
|
114
114
|
_fileRef;
|
|
115
115
|
_cameraFileRef;
|
|
116
116
|
render() {
|
|
117
|
-
let prefix = (index.h("p-icon", { key: '
|
|
117
|
+
let prefix = (index.h("p-icon", { key: '1c80587e39c1a195137110971a5ab8e55e279a62', class: 'text-storm-300', variant: 'attachment' }));
|
|
118
118
|
if (this.error) {
|
|
119
|
-
prefix = (index.h("p-icon", { key: '
|
|
119
|
+
prefix = (index.h("p-icon", { key: '1a7d9cd50636935865f0c418b396e190d245f495', class: 'text-negative-red-500', variant: 'warning' }));
|
|
120
120
|
}
|
|
121
121
|
const isTouch = screens.isTouchDevice();
|
|
122
122
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
123
|
-
return (index.h(index.Fragment, { key: '
|
|
123
|
+
return (index.h(index.Fragment, { key: '65a94a2b4fa4744f4f544d017d77bfe681f151e5' }, index.h("p-field-container", { key: '9f082375b6dfc5b7873dd6f3b7aebe1a1b68b48e', error: this.error, forceShowTooltip: !!this.error?.length, helper: this.helper, label: this.label, required: this.required, variant: 'write' }, index.h("div", { key: 'e7ac2f0d6d0b313abc3f7930ad61db363187116e', class: 'flex w-full items-start gap-2', slot: 'content' }, index.h("div", { key: '0c70528558e7deff8e960018773542ef7d0eca04', class: attachment({
|
|
124
124
|
click: this.mode === 'write' && !this.value?.length,
|
|
125
125
|
error: !!this.error?.length,
|
|
126
|
-
}), onClick: () => this._uploadClick() }, prefix, index.h("span", { key: '
|
|
126
|
+
}), onClick: () => this._uploadClick() }, prefix, index.h("span", { key: '887bf7f40ceaebe0f5491bad5b09bddfa87a406b', class: cn.cn(baseText, `
|
|
127
127
|
peer
|
|
128
128
|
empty:hidden
|
|
129
129
|
dark:text-white
|
|
130
|
-
`) }, this.value), index.h("span", { key: '
|
|
130
|
+
`) }, this.value), index.h("span", { key: '103249ccca7ec5b41752263534cfbb47ed0af123', class: cn.cn(baseText, `
|
|
131
131
|
hidden
|
|
132
132
|
peer-empty:block
|
|
133
|
-
`) }, this.placeholder)), index.h("p-tooltip", { key: '
|
|
133
|
+
`) }, this.placeholder)), index.h("p-tooltip", { key: '8791959427c3e811d4c650d030f0354b6f53d442', class: 'w-8', content: this.mode === 'read'
|
|
134
134
|
? this.downloadTooltip
|
|
135
135
|
: this.value?.length
|
|
136
136
|
? this.deleteTooltip
|
|
137
|
-
: this.uploadTooltip }, index.h("p-button", { key: '
|
|
137
|
+
: this.uploadTooltip }, index.h("p-button", { key: 'bf55fc4ca413b095aa6448df20287175dbd7a514', disabled: this.loading, icon: this.mode === 'read'
|
|
138
138
|
? 'download'
|
|
139
139
|
: this.value?.length
|
|
140
140
|
? 'trash'
|
|
@@ -145,7 +145,7 @@ const Attachment = class {
|
|
|
145
145
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
146
146
|
this.mode === 'write' &&
|
|
147
147
|
isTouch &&
|
|
148
|
-
!this.value?.length && (index.h("p-tooltip", { key: '
|
|
148
|
+
!this.value?.length && (index.h("p-tooltip", { key: '3444a501c624978b9f1410bba7251455f0c8e4d7', class: '\n w-8\n desktop-xs:hidden\n ', content: this.cameraTooltip }, index.h("p-button", { key: 'b74f3a47eb2acc9b2966cbbd7c1cb59c2f2cacf1', icon: 'camera', iconOnly: true, slot: 'trigger', variant: 'secondary', onOnClick: () => this._cameraClick() }))))), index.h("input", { key: '6bf88f4c659226d1a61044523cdb3329987ac1c8', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, class: 'hidden', ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) }), index.h("input", { key: '467410b70364dd2ce94893d2df985d6681a898e2', accept: 'image/*', capture: 'true', class: 'hidden', ref: el => (this._cameraFileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
149
149
|
}
|
|
150
150
|
_uploadClick() {
|
|
151
151
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -41,7 +41,7 @@ const SegmentContainer = class {
|
|
|
41
41
|
index.registerInstance(this, hostRef);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
44
|
+
return (index.h(themedHost_component.ThemedHost, { key: '11cb492992be18b04e1de7a5a06b36c90a0d6c6b' }, index.h("div", { key: 'd3072d7207998bf3d23aacced3d859733dce128a', 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 ' }, index.h("slot", { key: '67ebf404dea865be4219e4bc7f73f654e2c9c0f1' }))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
SegmentContainer.style = segmentContainerComponentCss();
|
|
@@ -119,11 +119,11 @@ const SegmentItem = class {
|
|
|
119
119
|
iconRotate;
|
|
120
120
|
render() {
|
|
121
121
|
const descriptionSlot = this.variant === 'block' ? index.h("slot", { name: 'description' }) : null;
|
|
122
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
122
|
+
return (index.h(themedHost_component.ThemedHost, { key: '9cacc2fc44b09b61fa9f4255655532367f196714' }, index.h("div", { key: '3da0adac76bedca0f7fa372ce0a55b0065b23556', class: segmentItem({
|
|
123
123
|
variant: this.variant,
|
|
124
124
|
active: asBoolean.asBoolean(this.active),
|
|
125
125
|
iconOnly: asBoolean.asBoolean(this.iconOnly),
|
|
126
|
-
}) }, this.icon && (index.h("p-icon", { key: '
|
|
126
|
+
}) }, this.icon && (index.h("p-icon", { key: 'f7cceea832a26f412114f0fbc682f8f3209e6390', class: cn.cn('mb-1', {
|
|
127
127
|
'text-storm-300 dark:text-hurricane-200': !asBoolean.asBoolean(this.active),
|
|
128
128
|
'text-indigo-200': asBoolean.asBoolean(this.active),
|
|
129
129
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), this.variant === 'default' ? (index.h("slot", null)) : (index.h("div", { class: 'flex flex-col items-center' }, index.h("p", { class: cn.cn(`
|
|
@@ -17,7 +17,7 @@ const ButtonGroup = class {
|
|
|
17
17
|
this._checkButtons();
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h(index.Host, { key: '
|
|
20
|
+
return (index.h(index.Host, { key: 'd0c4d09c70b2140832b4a0ed05725dae641642c1', class: 'flex items-center' }, index.h("slot", { key: '9ee836e72eeda929067bbb805d6127b4537cb66f' })));
|
|
21
21
|
}
|
|
22
22
|
slotchange() {
|
|
23
23
|
this._checkButtons();
|
|
@@ -201,7 +201,7 @@ const Calendar = class {
|
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
203
|
render() {
|
|
204
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
204
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'af9b580a84030d4aca0e983eb1b12239875f0f55' }, index.h("div", { key: '81e938439eac92733ac0901caed9d441b762ed88', class: calendar({ variant: this.variant }) }, this._getView())));
|
|
205
205
|
}
|
|
206
206
|
_checkTodayButton() {
|
|
207
207
|
if (this._maxDate && locale.dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -312,12 +312,12 @@ const Dropdown = class {
|
|
|
312
312
|
this._checkItems();
|
|
313
313
|
}
|
|
314
314
|
render() {
|
|
315
|
-
return (index.h(index.Host, { key: '
|
|
315
|
+
return (index.h(index.Host, { key: 'ba99b3088d39dec30e7d3559354221040007e521', class: 'relative' }, index.h("div", { key: '119b30bd52ca90cb238a7a1818a31ae53de9f47b', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, index.h("slot", { key: '21d5a22224d7c085fc876005f824e7746d32f0c3', name: 'trigger' })), index.h("div", { key: 'f20832523805805a3d5d86fabf331cdbd7fdbd8c', class: 'relative w-full' }, index.h("p-dropdown-menu-container", { key: '2d4a8683d11a9b5e378ffb1a7fb62da82dc831c2', allowOverflow: this.allowOverflow, class: cn.cn(dropdownContainerClass({
|
|
316
316
|
strategy: this.strategy,
|
|
317
317
|
maxWidth: this.applyMaxWidth,
|
|
318
318
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
319
319
|
isDatepicker: this.isDatepicker,
|
|
320
|
-
}), 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() }, index.h("slot", { key: '
|
|
320
|
+
}), 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() }, index.h("slot", { key: '84dc0c48a92c957de785d4323bd719b020f20212', name: 'items' })))));
|
|
321
321
|
}
|
|
322
322
|
_checkButtons(active = false) {
|
|
323
323
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -53,13 +53,13 @@ const ContentSlider = class {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (index.h(index.Host, { key: '
|
|
56
|
+
return (index.h(index.Host, { key: 'd732accc688b1df8c288d5ecd1025fa0b15007af' }, index.h("div", { key: 'bef92d3a68be80802dd9b62c2ffd8fbda0b5c72d', class: `
|
|
57
57
|
slider
|
|
58
58
|
${!this.disableDrag && 'draggable'}
|
|
59
59
|
${this._dragging && 'dragging'}
|
|
60
60
|
`, ref: el => (this._sliderRef = el), style: {
|
|
61
61
|
height: `${this._outerHeight}px`,
|
|
62
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, index.h("div", { key: '
|
|
62
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, index.h("div", { key: 'a8a93a255fbb23b916cf2b858a84fd70f7d62a6b', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, index.h("slot", { key: 'e707df540fe8628168d6451bedcd12848f1d7493', onSlotchange: () => this._slotChange() }))), index.h("div", { key: 'd9df569867bc0f78974726ae42f5f96f4a13fe62', class: `
|
|
63
63
|
indicator
|
|
64
64
|
${this.hideMobileIndicator && 'hidden'}
|
|
65
65
|
` }, this._filteredItems.map((_, i) => (index.h("div", { class: `
|
|
@@ -2848,7 +2848,7 @@ const Cropper = class {
|
|
|
2848
2848
|
const themeColor = state.state.theme === 'dark'
|
|
2849
2849
|
? 'rgba(70, 75, 84, 0.5)'
|
|
2850
2850
|
: 'rgba(255, 255, 255, 0.5)';
|
|
2851
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
2851
|
+
return (index.h(themedHost_component.ThemedHost, { key: '009cda4ff4eb5d2a7ff777a901b67c83a5f37af5' }, this._loaded && (index.h("cropper-canvas", { key: '205006259f0393275f061f60d92ee9f3fdff16aa', class: '\n h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700\n bg-white\n dark:border-hurricane-200\n ', onAction: () => this._onAction() }, index.h("cropper-image", { key: 'd53e718c7c5c9da68c10e39ee67e2c98ad23e825', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), index.h("cropper-shade", { key: 'ce71d0a0602110c330746027f300d373b5142e55', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), index.h("cropper-selection", { key: 'a552b9b1fbcdc2c9d8707f309fe4cbd62b644ad5', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), index.h("cropper-handle", { key: '1419ae877acfcb7ad6981cd825f57dc4e85b1aef', action: 'move', plain: true }))), index.h("p-range", { key: 'caa9104d95c54d50658ca146a6e875c944f0e0e6', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
2852
2852
|
}
|
|
2853
2853
|
_setImageRef(ref) {
|
|
2854
2854
|
if (this._imageRef || !ref) {
|
|
@@ -226,7 +226,7 @@ const Datepicker = class {
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
render() {
|
|
229
|
-
return (index.h("p-dropdown", { key: '
|
|
229
|
+
return (index.h("p-dropdown", { key: 'f049a50e493e5fa104141f8e65b9077f41ecd5aa', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, index.h("p-field", { key: '2869249c84a37034ce2ce630da493d397cc5f532', autoShowError: false, disabled: asBoolean.asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean.asBoolean(this.required), showOptional: asBoolean.asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (index.h("input", { key: 'da643dba40ee7778ec14707db572f2d80cd58547', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
230
230
|
locale.dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
231
231
|
locale: state.state.locale === 'nl' ? locale.localeExports.nl : locale.localeExports.enUS,
|
|
232
232
|
}), min: this._minDate &&
|
|
@@ -235,7 +235,7 @@ const Datepicker = class {
|
|
|
235
235
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
236
236
|
locale.dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
237
237
|
locale: state.state.locale === 'nl' ? locale.localeExports.nl : locale.localeExports.enUS,
|
|
238
|
-
}), onInput: ev => this._onNativeInput(ev) })), index.h("div", { key: '
|
|
238
|
+
}), onInput: ev => this._onNativeInput(ev) })), index.h("div", { key: '5fd257d5996ba8aa8164acf82da3ada6803132ae', slot: 'items', tabIndex: -1 }, index.h("p-calendar", { key: '2864686436f1d4e6148ddfb65b44ef21f2f9f0bb', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
|
|
239
239
|
}
|
|
240
240
|
documentClickHandler({ target }) {
|
|
241
241
|
if (!this._showDropdown || childOf.childOf(target, this._el)) {
|
|
@@ -415,12 +415,12 @@ const PaginationPagesItem = class {
|
|
|
415
415
|
*/
|
|
416
416
|
disabled = false;
|
|
417
417
|
render() {
|
|
418
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
418
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'de5e24d94b1b427e74f3f7ac6dc919af16e30833' }, index.h("div", { key: 'fc8b4687cd1dec165e0afeab54c63d629216a45d', class: item({
|
|
419
419
|
variant: this.variant ?? 'default',
|
|
420
420
|
active: asBoolean.asBoolean(this.active),
|
|
421
421
|
hover: asBoolean.asBoolean(this.hover, true),
|
|
422
422
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
423
|
-
}) }, index.h("slot", { key: '
|
|
423
|
+
}) }, index.h("slot", { key: '3ef68f1aae1ff4b00c85b689f1572fde0b0ffb70' }))));
|
|
424
424
|
}
|
|
425
425
|
};
|
|
426
426
|
PaginationPagesItem.style = paginationPagesItemComponentCss();
|
|
@@ -72,11 +72,11 @@ const EmptyState = class {
|
|
|
72
72
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
73
73
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
74
74
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
75
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
75
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'c992e849c678678864c5f9cfec46f3c48c1eb20c' }, index.h("div", { key: '3cb20168072cb532d3cefb9b955d3e51f673276d', class: emptyState({
|
|
76
76
|
enableAction: asBoolean.asBoolean(this.enableAction, true),
|
|
77
77
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
78
78
|
? this.action.emit(ev)
|
|
79
|
-
: undefined }, this.illustration && (index.h("p-illustration", { key: '
|
|
79
|
+
: undefined }, this.illustration && (index.h("p-illustration", { key: '79ea83f1d0060efe97457942a8de969f76fcc9b4', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (index.h("slot", { name: 'header' })) : (this.header?.length && (index.h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (index.h("slot", { name: 'content' })) : (this.content?.length && (index.h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
|
|
80
80
|
(hasActionSlot ? (index.h("slot", { name: 'action' })) : (index.h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
81
81
|
}
|
|
82
82
|
};
|
|
@@ -214,7 +214,7 @@ const TableCell = class {
|
|
|
214
214
|
};
|
|
215
215
|
}
|
|
216
216
|
render() {
|
|
217
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
217
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'dfd539fd9035f67cce64188ab18c7a16e8533431', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false));
|
|
218
218
|
}
|
|
219
219
|
_getContent() {
|
|
220
220
|
if (this.variant === 'loading') {
|
|
@@ -247,7 +247,7 @@ const TableContainer = class {
|
|
|
247
247
|
index.registerInstance(this, hostRef);
|
|
248
248
|
}
|
|
249
249
|
render() {
|
|
250
|
-
return (index.h(index.Host, { key: '
|
|
250
|
+
return (index.h(index.Host, { key: '2f1e257f31d10d170673b1a5f3b473d85e0427e1', class: container() }, index.h("slot", { key: '034cb6393f751f5a46e90fdbd07f604c65105415' })));
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
253
|
TableContainer.style = tableContainerComponentCss();
|
|
@@ -362,12 +362,12 @@ const TableFooter = class {
|
|
|
362
362
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
363
363
|
}
|
|
364
364
|
render() {
|
|
365
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
365
|
+
return (index.h(themedHost_component.ThemedHost, { key: '4282e3a5a5036e596454dfb52c6323b80f469264' }, index.h("div", { key: 'f4d74e1168356b9c5768332f61ddd6de85170c0f', class: footer({
|
|
366
366
|
pinned: this._isPinned,
|
|
367
367
|
hidden: this._hidden,
|
|
368
368
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
369
369
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
370
|
-
this.total > 0 && (index.h("p-pagination", { key: '
|
|
370
|
+
this.total > 0 && (index.h("p-pagination", { key: '7877e074aa9a6bf79f71ad8c17ca9e59c96c5cc8', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
371
371
|
}
|
|
372
372
|
_changePageSize(s) {
|
|
373
373
|
if (!s) {
|
|
@@ -10151,13 +10151,13 @@ const TableRow = class {
|
|
|
10151
10151
|
*/
|
|
10152
10152
|
isLast = false;
|
|
10153
10153
|
render() {
|
|
10154
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
10154
|
+
return (index.h(themedHost_component.ThemedHost, { key: '4ae9344919a3b4dcd6c34fdf76828dbe3ce6b396' }, index.h("div", { key: '1a4de3b449898d697700799b13c78042d6eff300', class: 'flex flex-col' }, index.h("div", { key: '927396e7bf1198c6a5154e17be44c14d1afe4726', class: row({
|
|
10155
10155
|
variant: this.variant,
|
|
10156
10156
|
enableHover: this.enableHover,
|
|
10157
10157
|
checked: this.checked,
|
|
10158
|
-
}) }, index.h("div", { key: '
|
|
10158
|
+
}) }, index.h("div", { key: '7f6272205310383055b3a37d51e4a83bd19557df', class: content({
|
|
10159
10159
|
variant: this.variant,
|
|
10160
|
-
}) }, index.h("slot", { key: '
|
|
10160
|
+
}) }, index.h("slot", { key: 'f26ccd0768bee41ef2987e3e45f5a18e4a4b6e57' }), index.h("div", { key: '75230c7b9bc9fbb52ab407c0a22b8f177fd39407', class: actions() }, index.h("slot", { key: 'bbd6ec87b2f7e01e0e2dfc62295d1444ac1bbae5', name: 'actions' })))), !asBoolean.asBoolean(this.isLast) && this.variant !== 'secondary' && (index.h("p-divider", { key: '08930ffe9f0f27060d9084bc3672fd32d9dd0648' })))));
|
|
10161
10161
|
}
|
|
10162
10162
|
};
|
|
10163
10163
|
TableRow.style = tableRowComponentCss();
|
|
@@ -10173,16 +10173,16 @@ const TableRowActionsContainer = class {
|
|
|
10173
10173
|
*/
|
|
10174
10174
|
checked = false;
|
|
10175
10175
|
render() {
|
|
10176
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
10176
|
+
return (index.h(themedHost_component.ThemedHost, { key: '4be2a6b0e22633e2d8e966077dbc353f298580ca' }, index.h("div", { key: '7cb5afe3757df775f8a15955ed24f43bf79e2182', class: cn.cn(`
|
|
10177
10177
|
flex
|
|
10178
10178
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
10179
10179
|
`, {
|
|
10180
10180
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10181
10181
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10182
|
-
}) }, index.h("div", { key: '
|
|
10182
|
+
}) }, index.h("div", { key: '26038bfcbc3fa8558beedeba280639dafe759f4d', class: cn.cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10183
10183
|
'dark:bg-hurricane-600': !this.checked,
|
|
10184
10184
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10185
|
-
}) }, index.h("slot", { key: '
|
|
10185
|
+
}) }, index.h("slot", { key: '249ef823b37b9a894c158f23996432fd57f6e761' })))));
|
|
10186
10186
|
}
|
|
10187
10187
|
};
|
|
10188
10188
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|
|
@@ -390,8 +390,8 @@ const Field = class {
|
|
|
390
390
|
}
|
|
391
391
|
render() {
|
|
392
392
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
393
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
394
|
-
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (index.h("slot", { key: '
|
|
393
|
+
return (index.h(themedHost_component.ThemedHost, { key: '693e9a21acbdd989144794387bf0a6a9f37810fc' }, index.h("p-field-container", { key: '12a6fce14a365fdbb92647637c3d3226cd2037ff', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
394
|
+
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (index.h("slot", { key: 'a40ed4d8943adae016325f2c82a3c79364543b2e', name: 'label', slot: 'label' })), hasHeaderSlot && (index.h("slot", { key: '0203bf72c3afc6c0f24c0e15cbf2f7271ca6a5a0', name: 'header', slot: 'header' })), hasHelperSlot && (index.h("slot", { key: 'ca7d5bc949fb18d20eeebdcb86ed844f61f137c6', name: 'helper', slot: 'helper' })), hasErrorSlot && (index.h("slot", { key: 'f4fa21946e61b81a002f96cbc85e4e786562cb87', name: 'error', slot: 'error' })), index.h("div", { key: '2c12320e5273b0cded4bc0e9e47aa5b2e6ff3f88', class: field({
|
|
395
395
|
error: !!this.error?.length,
|
|
396
396
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
397
397
|
focused: asBoolean.asBoolean(this.focused) || this._focused,
|
|
@@ -402,7 +402,7 @@ const Field = class {
|
|
|
402
402
|
? `${this.value}`
|
|
403
403
|
: undefined }, (this.error?.length ||
|
|
404
404
|
prefix ||
|
|
405
|
-
(this.icon && this.iconPosition === 'start')) && (index.h("div", { key: '
|
|
405
|
+
(this.icon && this.iconPosition === 'start')) && (index.h("div", { key: '68b8e1d339630c881583ea40fecb9cb414be1537', class: prefixAndSuffix({
|
|
406
406
|
variant: this.variant,
|
|
407
407
|
error: !!this.error?.length,
|
|
408
408
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
@@ -414,7 +414,7 @@ const Field = class {
|
|
|
414
414
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
415
415
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
416
416
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
417
|
-
(this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '
|
|
417
|
+
(this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '35d35041e9751d701dc74357abe1961d98f12f7e', class: cn.cn(prefixAndSuffix({
|
|
418
418
|
variant: this.variant,
|
|
419
419
|
error: !!this.error?.length,
|
|
420
420
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
@@ -85,17 +85,17 @@ const Label = class {
|
|
|
85
85
|
*/
|
|
86
86
|
keepMobileContent = false;
|
|
87
87
|
render() {
|
|
88
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
88
|
+
return (index.h(themedHost_component.ThemedHost, { key: '104ee5d95a9a998e9ff5d50a0319db1131dd49a9' }, index.h("div", { key: 'd0d2d11eab222b5183d5a835b3bd2fb195295552', class: label({
|
|
89
89
|
variant: this.variant,
|
|
90
90
|
iconOnly: this.iconOnly,
|
|
91
91
|
keepMobileContent: this.keepMobileContent,
|
|
92
|
-
}) }, this.icon && (index.h("p-icon", { key: '
|
|
92
|
+
}) }, this.icon && (index.h("p-icon", { key: '920c633b134bfca8b0643e8a8174bf66aa7066de', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (index.h("div", { key: 'a178ec5c8f8543cd6b2f746cff170e43be54ff04', class: cn.cn(`
|
|
93
93
|
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
94
94
|
font-medium
|
|
95
95
|
`, {
|
|
96
96
|
hidden: !this.keepMobileContent,
|
|
97
97
|
'desktop-xs:block': !this.keepMobileContent,
|
|
98
|
-
}) }, index.h("slot", { key: '
|
|
98
|
+
}) }, index.h("slot", { key: 'd8ef0efd720dbb24690ef5b354277eb84ede8921' }))))));
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
Label.style = labelComponentCss();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BGtpSJv_.js');
|
|
4
4
|
|
|
5
|
-
const layoutComponentCss = () => `.relative{position:relative}.sticky{position:sticky}.z-\\[11\\]{z-index:11}.box-border{box-sizing:border-box}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-dvh{height:100dvh}.h-full{height:100%}.w-full{width:100%}.w-unset{width:unset}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.items-center{align-items:center}.overflow-y-auto{overflow-y:auto}.px-content-mobile-x{padding-left:1rem;padding-right:1rem}*{box-sizing:border-box}:host{
|
|
5
|
+
const layoutComponentCss = () => `.relative{position:relative}.sticky{position:sticky}.z-\\[11\\]{z-index:11}.box-border{box-sizing:border-box}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-dvh{height:100dvh}.h-full{height:100%}.w-full{width:100%}.w-unset{width:unset}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.items-center{align-items:center}.overflow-y-auto{overflow-y:auto}.px-content-mobile-x{padding-left:1rem;padding-right:1rem}*{@apply box-border;box-sizing:border-box}:host{@apply grid h-dvh w-dvw;gap:0;grid-template-areas:"sidebar" "topbar" "content";grid-template-columns:1fr;grid-template-rows:repeat(2,min-content) 1fr}@screen layout-1280{:host{grid-template-areas:"topbar topbar" "sidebar content";grid-template-columns:auto 1fr;grid-template-rows:min-content 1fr}}:host .content,:host .sidebar,:host .topbar{@apply self-start}:host .topbar{grid-area:topbar;@apply sticky z-[11] w-full}:host .sidebar{grid-area:sidebar;@apply box-border flex h-full;@apply w-full;@apply layout-1280:w-60}:host .content{grid-area:content;@apply relative flex h-full flex-col overflow-y-auto overflow-x-hidden;@apply pb-24;@apply px-content-mobile-x py-content-mobile-y;@apply tablet:p-8;@apply layout-1280:p-6 layout-1280:pt-8;@apply layout-1440:p-8;@apply layout-1920:pr-8 layout-1920:pl-20 layout-1920:pb-20;@apply layout-2560:pt-16 layout-2560:pl-[7.5rem] layout-2560:pb-[7.5rem]}:host .content .inner-content{@apply relative flex-1;@apply layout-1280:w-content-1280;@apply layout-1440:w-content-1440;@apply layout-1536:w-content-1536;@apply layout-1680:w-content-1680}:host(.variant-default) .content{@apply flex-1}:host(.variant-login){grid-template-areas:"topbar topbar" "content content"}@screen layout-1280{:host(.variant-login){grid-template-areas:"topbar topbar" "content sidebar"}}:host(.variant-login) .sidebar{@apply hidden w-unset layout-1280:flex;@apply p-2;@apply flex-1 overflow-hidden}:host(.variant-login) .sidebar .inner-content{@apply p-2}:host(.variant-login) .content{@apply items-center layout-1280:justify-center;@apply layout-1280:px-18 layout-1280:py-0;@apply px-content-mobile-x py-content-mobile-y;@apply h-dvh layout:1280:h-auto;padding-top:calc(env(safe-area-inset-top) + 3.5rem)}@screen layout-1280{:host(.variant-login) .content{@apply pt-content-mobile-y}}:host(.variant-login) .content .inner-content{@apply box-border;@apply w-full tablet:w-content-desktop-login;flex:unset}:host(.variant-office) .content .inner-content{@apply layout-1280:w-[58rem];@apply layout-1440:w-[67rem];@apply layout-1536:w-[73rem];@apply layout-1680:w-[79rem];@apply layout-1920:w-[82rem];@apply layout-2560:w-[84.5rem]}:host(.variant-office) .sidebar{@apply layout-1280:w-[19rem] layout-1680:w-[22rem]}@media (min-width:80rem){.layout-1280\\:flex{display:flex}.layout-1280\\:w-\\[19rem\\]{width:19rem}.layout-1280\\:w-\\[58rem\\]{width:58rem}.layout-1280\\:p-6{padding:1.5rem}.layout-1280\\:px-18{padding-left:4.5rem;padding-right:4.5rem}}@media (min-width:90rem){.layout-1440\\:w-\\[67rem\\]{width:67rem}}@media (min-width:96rem){.layout-1536\\:w-\\[73rem\\]{width:73rem}}@media (min-width:105rem){.layout-1680\\:w-\\[22rem\\]{width:22rem}.layout-1680\\:w-\\[79rem\\]{width:79rem}}@media (min-width:120rem){.layout-1920\\:w-\\[82rem\\]{width:82rem}.layout-1920\\:pl-20{padding-left:5rem}.layout-1920\\:pr-8{padding-right:2rem}}@media (min-width:160rem){.layout-2560\\:w-\\[84\\.5rem\\]{width:84.5rem}.layout-2560\\:pb-\\[7\\.5rem\\]{padding-bottom:7.5rem}.layout-2560\\:pl-\\[7\\.5rem\\]{padding-left:7.5rem}.layout-2560\\:pt-16{padding-top:4rem}}.static{position:static}`;
|
|
6
6
|
|
|
7
7
|
const Layout = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -18,7 +18,7 @@ const Layout = class {
|
|
|
18
18
|
*/
|
|
19
19
|
scroll;
|
|
20
20
|
render() {
|
|
21
|
-
return (index.h(index.Host, { key: '68c0d8d671ff7758d15b9e5fc3900e83a37b2eaa', class: 'variant-' + this.variant }, index.h("div", { key: 'eb69411e0da0701d56d75b9806ea30803c3d2ab5', class: 'content', onScroll: ev => this.scroll.emit(ev) }, index.h("div", { key: 'afa8292a2724d7324241bf1f1e1169dd8a8bb268', class: 'inner-content' }, index.h("slot", { key: '13c05d1069df30d05e90e67870c0f14226f76496', name: 'content' }))), index.h("div", { key: '
|
|
21
|
+
return (index.h(index.Host, { key: '68c0d8d671ff7758d15b9e5fc3900e83a37b2eaa', class: 'variant-' + this.variant }, index.h("div", { key: 'eb69411e0da0701d56d75b9806ea30803c3d2ab5', class: 'content', onScroll: ev => this.scroll.emit(ev) }, index.h("div", { key: 'afa8292a2724d7324241bf1f1e1169dd8a8bb268', class: 'inner-content' }, index.h("slot", { key: '13c05d1069df30d05e90e67870c0f14226f76496', name: 'content' })), index.h("slot", { key: '3e9aa54d08187ef8b10fe039d5d9dc671416815e', name: 'outer-content' })), index.h("div", { key: '0a9d15f56b5657848300a4f508f00bd97f4d830b', class: 'sidebar' }, index.h("slot", { key: '511235651ac7b904b6d5235d08d7fcf1c7ad4bbd', name: 'sidebar' })), index.h("div", { key: 'ae22647a35c67825bfdc607387baaf0ec6cdbb2c', class: 'topbar' }, index.h("slot", { key: '04692b01dc2912d2cc7f3d390dc1908d235fe014', name: 'topbar' }))));
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
24
|
Layout.style = layoutComponentCss();
|
|
@@ -15,7 +15,7 @@ const ListingItem = class {
|
|
|
15
15
|
*/
|
|
16
16
|
icon = 'placeholder';
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
18
|
+
return (index.h(themedHost_component.ThemedHost, { key: '48200b196b5101d5a7898f8aa57acbbb795e7205' }, index.h("div", { key: '072dfd68fe13a8934f44a5ac41b90d909ca1f7d5', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, index.h("p-icon", { key: 'b881af3bafcb5d50e5bd9c9c46f17918f9d92ced', variant: this.icon }), index.h("div", { key: 'c6829a5ab4e6233ca5e9a1304fb917ff5dc319ce', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, index.h("slot", { key: 'f8a06f03fdf53b22b0ba11b12bcfbf035cf18f3d' })))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
ListingItem.style = listingItemComponentCss();
|
|
@@ -11,7 +11,7 @@ const ListingLine = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h(themedHost_component.ThemedHost, { key: '
|
|
14
|
+
return index.h(themedHost_component.ThemedHost, { key: '426ab43c59f453b7de8a9afba7557fa3881ba27b' });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
ListingLine.style = listingLineComponentCss();
|
|
@@ -24,10 +24,10 @@ const Listing = class {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (index.h("div", { key: '
|
|
27
|
+
return (index.h("div", { key: '6530812142c92d48d2dc3a10456b6740545579dd', class: cn.cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
28
28
|
'opacity-100': this._generatedOnce,
|
|
29
29
|
'opacity-0': !this._generatedOnce,
|
|
30
|
-
}) }, index.h("slot", { key: '
|
|
30
|
+
}) }, index.h("slot", { key: 'a9870a9992cc0cdaa49351e06fbde5bb77a717c5', onSlotchange: () => this._generateLinesOnce() })));
|
|
31
31
|
}
|
|
32
32
|
_generateLinesOnce() {
|
|
33
33
|
if (this._generateTimeout) {
|
|
@@ -43,10 +43,10 @@ const ModalBody = class {
|
|
|
43
43
|
*/
|
|
44
44
|
roundedTop = false;
|
|
45
45
|
render() {
|
|
46
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
46
|
+
return (index.h(themedHost_component.ThemedHost, { key: '06a01a093a588ff044166e148241bea144d042b6' }, index.h("div", { key: '4d1ff6b9ce773a7351eaa5f995b6689db77aba23', class: body({
|
|
47
47
|
roundedBottom: this.roundedBottom,
|
|
48
48
|
roundedTop: this.roundedTop,
|
|
49
|
-
}) }, index.h("slot", { key: '
|
|
49
|
+
}) }, index.h("slot", { key: '639b2567411b02f35f9e41e10ef2d20a8c9ea9db' }))));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
ModalBody.style = modalBodyComponentCss();
|
|
@@ -98,10 +98,10 @@ const ModalContainer = class {
|
|
|
98
98
|
*/
|
|
99
99
|
closing = false;
|
|
100
100
|
render() {
|
|
101
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
101
|
+
return (index.h(themedHost_component.ThemedHost, { key: '572e0905e2cc55937daa24c01570e248df5a3733' }, index.h("div", { key: '6db7371a89b0ec0cf805b276c4a8a03d105c9101', class: container({
|
|
102
102
|
size: this.size,
|
|
103
103
|
closing: asBoolean.asBoolean(this.closing),
|
|
104
|
-
}) }, index.h("slot", { key: '
|
|
104
|
+
}) }, index.h("slot", { key: '3a0620c68847c7c846f0290471a04037ea946b26' }))));
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
ModalContainer.style = modalContainerComponentCss();
|
|
@@ -113,7 +113,7 @@ const ModalFooter = class {
|
|
|
113
113
|
index.registerInstance(this, hostRef);
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
116
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'ee3419ad9a4f791d84943887711bf63e49d5cad6' }, index.h("div", { key: '0bafe05744aaf70748fb406f70dbee4cbfe3ea1d', class: '\n flex flex-col rounded-b-none bg-white px-4\n pb-[calc(env(safe-area-inset-bottom)+1rem)]\n desktop-xs:rounded-b-2xl\n dark:bg-hurricane-600\n ' }, index.h("p-divider", { key: '1d7f61fa16c96150c2766ed666484299296f8234', class: '\n mb-4 hidden text-off-white-700\n desktop-xs:inline-block\n dark:text-white/10\n ' }), index.h("div", { key: '3c330f12f37566453e13630c0294c9f47fed2b89', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, index.h("slot", { key: '2cce5e522cfb0b607017dff01ec1c98c5f56baff' })))));
|
|
117
117
|
}
|
|
118
118
|
};
|
|
119
119
|
ModalFooter.style = modalFooterComponentCss();
|
|
@@ -151,7 +151,7 @@ const ModalHeader = class {
|
|
|
151
151
|
*/
|
|
152
152
|
close;
|
|
153
153
|
render() {
|
|
154
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
154
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'fb4625373ca51e6460172187238d073847c224a6' }, index.h("div", { key: '38d7df7acb88644e337be5f92e685298c1712b28', class: header() }, index.h("div", { key: '6ae176a2cc44b58ac1fef8dd06df4c7049a2056f', class: content() }, index.h("div", { key: '4e8f12949149d13e11950aca1af18de5b87181ba', class: title() }, index.h("slot", { key: 'cb6e5d800ec86d3ae9b633cf0e5711d0912513b2' })), this.showClose && (index.h("p-button", { key: 'a8816a605bb9781ed9c1ef609c519d822c061028', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), index.h("p-smile", { key: '0ed1a5669c9d357b043ecfb5969d28e774ec91d1', class: 'dark:text-hurricane-400' }))));
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
157
|
ModalHeader.style = modalHeaderComponentCss();
|
|
@@ -71,7 +71,7 @@ const Navbar = class {
|
|
|
71
71
|
}
|
|
72
72
|
_show = false;
|
|
73
73
|
render() {
|
|
74
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
74
|
+
return (index.h(themedHost_component.ThemedHost, { key: '4fcecd6497f2005f962fd881113dea4b32bc99ff' }, index.h("p-backdrop", { key: '69ce86e6e113f15aa06c054522a0f79da89765f8', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), index.h("div", { key: 'e8cc52e1d42ba01936b58c1277b530eeb41e9d14', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, index.h("div", { key: 'ff511d2b896f7aa47c7efe5ec2d5ae56e8337bab', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, index.h("p-button", { key: '151a8c2badb81471dc9c9792fe2704216694e7da', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), index.h("div", { key: '09e5f93575b322324b2c8bf091400138be67a885', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, index.h("slot", { key: '43f0f25dc8228bc05c3dc0a78435eade4448d7fe', name: 'company' })), index.h("div", { key: '35a814822b5a947de473e18fc52a07680356742a', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, index.h("slot", { key: '9e39958d9580dff4ba5dc13fd2fc04bf4d9ba412', name: 'content' })), index.h("div", { key: 'b168df56d5ae5bb27fefaaf177d1e8525cf7751e', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, index.h("slot", { key: '5db700de8a58e00dedf489ffe6c390852c61bf56', name: 'user' }))), index.h("div", { key: '05f066e4b8a7fdd3b8850f9997851330efd217af', class: topbar({ class: sidebarAndTopbar() }) }, index.h("p-button", { key: '63340bf3435a0c513203c5c71316f56a3a936bd8', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), index.h("slot", { key: '3fbd734259acb3571910290acc4dc67f2c9ff5fd', name: 'topbar' }))));
|
|
75
75
|
}
|
|
76
76
|
handleCloseNavbar() {
|
|
77
77
|
this._show = false;
|
|
@@ -98,13 +98,13 @@ const NavigationItem = class {
|
|
|
98
98
|
render() {
|
|
99
99
|
const TagType = this.as;
|
|
100
100
|
const active = asBoolean.asBoolean(this.active) || this.class?.includes('active');
|
|
101
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
101
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'df75595509e2f081dbc13a244a77c07293d67bc1', class: cn.cn('inline-block', this.class) }, index.h(TagType, { key: 'f6ad06191bdb4049387e1235a3a303718d8f6cc7', class: navigationItem({
|
|
102
102
|
icon: !!this.icon,
|
|
103
103
|
active,
|
|
104
|
-
}), href: this.href, target: this.target }, index.h("div", { key: '
|
|
104
|
+
}), href: this.href, target: this.target }, index.h("div", { key: '147abbbc9e2c6508a66081ead4cea2aa797a9240', class: navigationItemIconContainer({ active }) }, index.h("p-icon", { key: '2f1fd8c183e2f527fcb37aed28da145d81ed1c89', variant: this.icon })), index.h("span", { key: 'ae75ec4ac9c43bbb0cd620dcdf42dbc62631825e', class: cn.cn({
|
|
105
105
|
'has-counter': !!this.counter,
|
|
106
106
|
'w-full': this.applyFullWidth,
|
|
107
|
-
}) }, index.h("slot", { key: '
|
|
107
|
+
}) }, index.h("slot", { key: '0e92ba5694d3632367d37514bc72d9c7cbfa2a33' })), !!this.counter && this.counter !== '0' && (index.h("p-badge", { key: '4046f6ab8a1a4c3c985c2f0a5d8cccafc562f3df' }, this.counter)), !!this.loading && index.h("p-loader", { key: '5ab0e3decd808a160bdc233835d91b505f3ad8b8', class: 'ml-auto' }))));
|
|
108
108
|
}
|
|
109
109
|
};
|
|
110
110
|
NavigationItem.style = navigationItemComponentCss();
|
|
@@ -15,7 +15,7 @@ const NavigationSection = class {
|
|
|
15
15
|
*/
|
|
16
16
|
header;
|
|
17
17
|
render() {
|
|
18
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
18
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'd8d654a28420f399fba691f0a7acd8499e5ba7b2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (index.h("p-navigation-title", { key: '5e86faa0ea3bf13688086a881a6ab4a711fa0bd9' }, this.header)), index.h("div", { key: 'b78ef9a9c4e2493fcf80e1bb5a53fae31a449109', class: 'flex flex-col' }, index.h("slot", { key: '083951f8e74e0b70ef2102e523f9ed7e6f18e097' }))));
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
NavigationSection.style = navigationSectionComponentCss();
|
|
@@ -11,7 +11,7 @@ const NavigationTitle = class {
|
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
14
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'd9a91ac9c57ee12ef797652c5c9977780410999b', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, index.h("slot", { key: '23ebacfa95e6011fe4788c474fa085100e9f77d3' })));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NavigationTitle.style = navigationTitleComponentCss();
|
|
@@ -77,12 +77,12 @@ const Pagination = class {
|
|
|
77
77
|
_hasPaginationPages = true;
|
|
78
78
|
render() {
|
|
79
79
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
80
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
80
|
+
return (index.h(themedHost_component.ThemedHost, { key: '3f1b6ea1ac6b1ddae922000ee90b9796287de51b' }, index.h("div", { key: '28561b81a9717cfc6ed3301215f47962349fccd2', class: pagination$1({
|
|
81
81
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
82
82
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
83
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (index.h(index.Fragment, { key: '
|
|
83
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (index.h(index.Fragment, { key: 'b4523497dc4e2c988df6a3ae71cb240b54e17d75' }, index.h("p-pagination-size", { key: '01b5b234b713ecfcd2cf8910079f00614eb0fbbe', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
84
84
|
this.hideOnSinglePage &&
|
|
85
|
-
this._hasPaginationPages && (index.h("p-divider", { key: '
|
|
85
|
+
this._hasPaginationPages && (index.h("p-divider", { key: '7a8cfa9e69ae898cf2f2c25b4fffde7506fcc523', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (index.h("p-pagination-pages", { key: 'd8d7a7bce55b5958be33b51f175bd34b7f3c6ede', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
86
86
|
this._hasPaginationPages = detail > 1;
|
|
87
87
|
this.pagesChange.emit(detail);
|
|
88
88
|
} })))));
|
|
@@ -35,7 +35,7 @@ const Profile = class {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const content = this._getContent();
|
|
38
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
38
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'b3e676c112e16fd42bae96f0e61d4f352d86d58d' }, this._hasDropdownSlot ? (index.h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, index.h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), index.h("div", { slot: 'items' }, index.h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
39
39
|
}
|
|
40
40
|
slotchange() {
|
|
41
41
|
this._checkDropdownSlot();
|