@paperless/core 3.8.2 → 3.10.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-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/{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-7c599362.js → p-7fe47678.js} +1 -1
- package/dist/build/{p-7be1c70d.entry.js → p-87112092.entry.js} +1 -1
- package/dist/{paperless/p-c3cab1ca.entry.js → build/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/build/{p-e021a548.entry.js → 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-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-f9d28d53.entry.js +1 -0
- 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-fd26cf65.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- 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-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 +30 -9
- 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 +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/cjs/paperless.cjs.js +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.css +1 -1
- package/dist/collection/components/molecules/field/field/field.component.js +51 -9
- package/dist/collection/components/molecules/field/field/field.stories.js +3 -2
- 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-AdgmVWQg.js +1 -0
- 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-CMjvIEHc.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-66mF6GvD.js → p-DMdgkHjq.js} +1 -1
- package/dist/components/{p-BCddfleq.js → p-DQyKcYSv.js} +1 -1
- package/dist/components/{p-FEPDjWsP.js → p-DXNPGJOI.js} +1 -1
- package/dist/components/{p-N99o7eIO.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/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-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 +30 -9
- 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 +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/esm/paperless.js +1 -1
- 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/{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/{build/p-c3cab1ca.entry.js → paperless/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/paperless/{p-e021a548.entry.js → 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-f9d28d53.entry.js +1 -0
- 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-fd26cf65.entry.js +1 -0
- 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/field/field/field.component.d.ts +5 -0
- package/dist/types/components/molecules/field/field/field.stories.d.ts +2 -1
- package/dist/types/components.d.ts +10 -0
- package/hydrate/index.js +117 -94
- package/hydrate/index.mjs +117 -94
- package/package.json +1 -1
- package/dist/build/p-0f206cdb.entry.js +0 -1
- package/dist/build/p-187a4dda.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-CfkmcUeC.js +0 -1
- package/dist/components/p-CxOhqNqH.js +0 -1
- package/dist/paperless/p-0f206cdb.entry.js +0 -1
- package/dist/paperless/p-187a4dda.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
|
@@ -413,12 +413,12 @@ const PaginationPagesItem = class {
|
|
|
413
413
|
*/
|
|
414
414
|
disabled = false;
|
|
415
415
|
render() {
|
|
416
|
-
return (h(ThemedHost, { key: '
|
|
416
|
+
return (h(ThemedHost, { key: 'de5e24d94b1b427e74f3f7ac6dc919af16e30833' }, h("div", { key: 'fc8b4687cd1dec165e0afeab54c63d629216a45d', class: item({
|
|
417
417
|
variant: this.variant ?? 'default',
|
|
418
418
|
active: asBoolean(this.active),
|
|
419
419
|
hover: asBoolean(this.hover, true),
|
|
420
420
|
disabled: asBoolean(this.disabled),
|
|
421
|
-
}) }, h("slot", { key: '
|
|
421
|
+
}) }, h("slot", { key: '3ef68f1aae1ff4b00c85b689f1572fde0b0ffb70' }))));
|
|
422
422
|
}
|
|
423
423
|
};
|
|
424
424
|
PaginationPagesItem.style = paginationPagesItemComponentCss();
|
|
@@ -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: 'c992e849c678678864c5f9cfec46f3c48c1eb20c' }, h("div", { key: '3cb20168072cb532d3cefb9b955d3e51f673276d', 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: '79ea83f1d0060efe97457942a8de969f76fcc9b4', 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
|
};
|
|
@@ -212,7 +212,7 @@ const TableCell = class {
|
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
render() {
|
|
215
|
-
return (h(ThemedHost, { key: '
|
|
215
|
+
return (h(ThemedHost, { key: 'dfd539fd9035f67cce64188ab18c7a16e8533431', 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: '2f1e257f31d10d170673b1a5f3b473d85e0427e1', class: container() }, h("slot", { key: '034cb6393f751f5a46e90fdbd07f604c65105415' })));
|
|
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: '4282e3a5a5036e596454dfb52c6323b80f469264' }, h("div", { key: 'f4d74e1168356b9c5768332f61ddd6de85170c0f', 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: '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) })))));
|
|
369
369
|
}
|
|
370
370
|
_changePageSize(s) {
|
|
371
371
|
if (!s) {
|
|
@@ -10149,13 +10149,13 @@ const TableRow = class {
|
|
|
10149
10149
|
*/
|
|
10150
10150
|
isLast = false;
|
|
10151
10151
|
render() {
|
|
10152
|
-
return (h(ThemedHost, { key: '
|
|
10152
|
+
return (h(ThemedHost, { key: '4ae9344919a3b4dcd6c34fdf76828dbe3ce6b396' }, h("div", { key: '1a4de3b449898d697700799b13c78042d6eff300', class: 'flex flex-col' }, h("div", { key: '927396e7bf1198c6a5154e17be44c14d1afe4726', class: row({
|
|
10153
10153
|
variant: this.variant,
|
|
10154
10154
|
enableHover: this.enableHover,
|
|
10155
10155
|
checked: this.checked,
|
|
10156
|
-
}) }, h("div", { key: '
|
|
10156
|
+
}) }, h("div", { key: '7f6272205310383055b3a37d51e4a83bd19557df', class: content({
|
|
10157
10157
|
variant: this.variant,
|
|
10158
|
-
}) }, h("slot", { key: '
|
|
10158
|
+
}) }, h("slot", { key: 'f26ccd0768bee41ef2987e3e45f5a18e4a4b6e57' }), h("div", { key: '75230c7b9bc9fbb52ab407c0a22b8f177fd39407', class: actions() }, h("slot", { key: 'bbd6ec87b2f7e01e0e2dfc62295d1444ac1bbae5', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: '08930ffe9f0f27060d9084bc3672fd32d9dd0648' })))));
|
|
10159
10159
|
}
|
|
10160
10160
|
};
|
|
10161
10161
|
TableRow.style = tableRowComponentCss();
|
|
@@ -10171,16 +10171,16 @@ const TableRowActionsContainer = class {
|
|
|
10171
10171
|
*/
|
|
10172
10172
|
checked = false;
|
|
10173
10173
|
render() {
|
|
10174
|
-
return (h(ThemedHost, { key: '
|
|
10174
|
+
return (h(ThemedHost, { key: '4be2a6b0e22633e2d8e966077dbc353f298580ca' }, h("div", { key: '7cb5afe3757df775f8a15955ed24f43bf79e2182', class: cn(`
|
|
10175
10175
|
flex
|
|
10176
10176
|
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
10177
10177
|
`, {
|
|
10178
10178
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10179
10179
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10180
|
-
}) }, h("div", { key: '
|
|
10180
|
+
}) }, h("div", { key: '26038bfcbc3fa8558beedeba280639dafe759f4d', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10181
10181
|
'dark:bg-hurricane-600': !this.checked,
|
|
10182
10182
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10183
|
-
}) }, h("slot", { key: '
|
|
10183
|
+
}) }, h("slot", { key: '249ef823b37b9a894c158f23996432fd57f6e761' })))));
|
|
10184
10184
|
}
|
|
10185
10185
|
};
|
|
10186
10186
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|
|
@@ -8,7 +8,7 @@ import { f as formatTranslation, g as getLocaleComponentStrings } from './locali
|
|
|
8
8
|
import './clsx-ChV9xqsO.js';
|
|
9
9
|
import './state-BJbOyUuL.js';
|
|
10
10
|
|
|
11
|
-
const fieldComponentCss = () => `*{box-sizing:border-box}:host{input[type=number]{-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;display:none}}.static{position:static}.relative{position:relative}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-4{min-height:1rem}.min-h-5{min-height:1.25rem}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.hyphens-auto{hyphens:auto}.break-normal{overflow-wrap:normal;word-break:normal}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-solid{border-style:solid}.border-none{border-style:none}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.p-0{padding:0}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.font-geist{font-family:Geist,serif}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.leading-6{line-height:1.5rem}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-indigo-100{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.ring-negative-red-50{--tw-ring-opacity:1;--tw-ring-color:rgb(253 237 237/var(--tw-ring-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.selection\\:bg-indigo-500 ::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50 ::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.selection\\:bg-indigo-500::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.placeholder\\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\\:text-storm-500\\/40::placeholder{color:rgba(24,30,41,.4)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}`;
|
|
11
|
+
const fieldComponentCss = () => `*{box-sizing:border-box}:host{input[type=number]{-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;display:none}}.static{position:static}.relative{position:relative}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-4{min-height:1rem}.min-h-5{min-height:1.25rem}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.hyphens-auto{hyphens:auto}.break-normal{overflow-wrap:normal;word-break:normal}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-solid{border-style:solid}.border-none{border-style:none}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.p-0{padding:0}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.font-geist{font-family:Geist,serif}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.leading-6{line-height:1.5rem}.text-indigo-300{--tw-text-opacity:1;color:rgb(187 209 253/var(--tw-text-opacity,1))}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-indigo-100{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.ring-negative-red-50{--tw-ring-opacity:1;--tw-ring-color:rgb(253 237 237/var(--tw-ring-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.selection\\:bg-indigo-500 ::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50 ::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.selection\\:bg-indigo-500::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.placeholder\\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\\:text-storm-500\\/40::placeholder{color:rgba(24,30,41,.4)}.hover\\:text-indigo-700:hover{--tw-text-opacity:1;color:rgb(47 111 240/var(--tw-text-opacity,1))}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-indigo-300:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(187 209 253/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:hover\\:text-indigo-300:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(187 209 253/var(--tw-text-opacity,1))}`;
|
|
12
12
|
|
|
13
13
|
const field = cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relative'], {
|
|
14
14
|
variants: {
|
|
@@ -281,6 +281,10 @@ const Field = class {
|
|
|
281
281
|
* Wether the field is in loading state
|
|
282
282
|
*/
|
|
283
283
|
loading = false;
|
|
284
|
+
/**
|
|
285
|
+
* Wether to enable or disable the password eye toggle
|
|
286
|
+
*/
|
|
287
|
+
enablePasswordEye = true;
|
|
284
288
|
/**
|
|
285
289
|
* The placeholder of the input
|
|
286
290
|
*/
|
|
@@ -364,11 +368,13 @@ const Field = class {
|
|
|
364
368
|
get _el() { return getElement(this); }
|
|
365
369
|
_focused = false;
|
|
366
370
|
_nonce = nonce(5);
|
|
371
|
+
_type = 'text';
|
|
367
372
|
_internals;
|
|
368
373
|
_inputRef;
|
|
369
374
|
_lastValue;
|
|
370
375
|
componentDidLoad() {
|
|
371
376
|
this._checkAutoFocus();
|
|
377
|
+
this._type = this.type;
|
|
372
378
|
}
|
|
373
379
|
formResetCallback() {
|
|
374
380
|
this.value = null;
|
|
@@ -382,8 +388,8 @@ const Field = class {
|
|
|
382
388
|
}
|
|
383
389
|
render() {
|
|
384
390
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
385
|
-
return (h(ThemedHost, { key: '
|
|
386
|
-
(!!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: '693e9a21acbdd989144794387bf0a6a9f37810fc' }, h("p-field-container", { key: '12a6fce14a365fdbb92647637c3d3226cd2037ff', 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: 'a40ed4d8943adae016325f2c82a3c79364543b2e', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '0203bf72c3afc6c0f24c0e15cbf2f7271ca6a5a0', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'ca7d5bc949fb18d20eeebdcb86ed844f61f137c6', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'f4fa21946e61b81a002f96cbc85e4e786562cb87', name: 'error', slot: 'error' })), h("div", { key: '2c12320e5273b0cded4bc0e9e47aa5b2e6ff3f88', class: field({
|
|
387
393
|
error: !!this.error?.length,
|
|
388
394
|
disabled: asBoolean(this.disabled),
|
|
389
395
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -394,7 +400,7 @@ const Field = class {
|
|
|
394
400
|
? `${this.value}`
|
|
395
401
|
: undefined }, (this.error?.length ||
|
|
396
402
|
prefix ||
|
|
397
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
403
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '68b8e1d339630c881583ea40fecb9cb414be1537', class: prefixAndSuffix({
|
|
398
404
|
variant: this.variant,
|
|
399
405
|
error: !!this.error?.length,
|
|
400
406
|
disabled: asBoolean(this.disabled),
|
|
@@ -404,16 +410,31 @@ const Field = class {
|
|
|
404
410
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
405
411
|
this.error?.length ? (h("p-icon", { class: cn('flex', {
|
|
406
412
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
407
|
-
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
413
|
+
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
414
|
+
(this.type === 'password' && this.enablePasswordEye) ||
|
|
415
|
+
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '35d35041e9751d701dc74357abe1961d98f12f7e', class: cn(prefixAndSuffix({
|
|
408
416
|
variant: this.variant,
|
|
409
417
|
error: !!this.error?.length,
|
|
410
418
|
disabled: asBoolean(this.disabled),
|
|
411
419
|
focused: asBoolean(this.focused) || this._focused,
|
|
412
|
-
isText: typeof suffix === 'string',
|
|
420
|
+
isText: typeof suffix === 'string' && this.type !== 'password',
|
|
413
421
|
isTextarea: this.type === 'textarea',
|
|
414
|
-
}),
|
|
422
|
+
}), {
|
|
423
|
+
'cursor-pointer': this.type === 'password' && this.enablePasswordEye,
|
|
424
|
+
'hover:text-indigo-700 dark:hover:text-indigo-300': this.type === 'password',
|
|
425
|
+
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'end') ||
|
|
426
|
+
(this.type === 'password' && this.enablePasswordEye) ? (h("p-icon", { class: cn('flex', {
|
|
415
427
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
416
|
-
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.
|
|
428
|
+
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.type === 'password'
|
|
429
|
+
? this._type === 'text'
|
|
430
|
+
? 'eye-closed'
|
|
431
|
+
: 'eye'
|
|
432
|
+
: this.icon, onClick: () => {
|
|
433
|
+
if (this.type !== 'password' || !this.enablePasswordEye) {
|
|
434
|
+
return;
|
|
435
|
+
}
|
|
436
|
+
this._type = this._type === 'text' ? 'password' : 'text';
|
|
437
|
+
} })) : (suffix)))))));
|
|
417
438
|
}
|
|
418
439
|
watchvalue(value) {
|
|
419
440
|
if (!this._inputRef) {
|
|
@@ -512,7 +533,7 @@ const Field = class {
|
|
|
512
533
|
if (this.type === 'textarea') {
|
|
513
534
|
return (h("textarea", { ref: ref => this._setInputRef(ref), ...props, ...properties }));
|
|
514
535
|
}
|
|
515
|
-
return (h("input", { ref: ref => this._setInputRef(ref), type: this.
|
|
536
|
+
return (h("input", { ref: ref => this._setInputRef(ref), type: this._type, ...props, ...properties }));
|
|
516
537
|
}
|
|
517
538
|
_setInputRef(ref) {
|
|
518
539
|
this._inputRef = ref;
|
|
@@ -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: '104ee5d95a9a998e9ff5d50a0319db1131dd49a9' }, h("div", { key: 'd0d2d11eab222b5183d5a835b3bd2fb195295552', 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: '920c633b134bfca8b0643e8a8174bf66aa7066de', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (h("div", { key: 'a178ec5c8f8543cd6b2f746cff170e43be54ff04', 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: 'd8ef0efd720dbb24690ef5b354277eb84ede8921' }))))));
|
|
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: '68c0d8d671ff7758d15b9e5fc3900e83a37b2eaa', class: 'variant-' + this.variant }, h("div", { key: 'eb69411e0da0701d56d75b9806ea30803c3d2ab5', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: 'afa8292a2724d7324241bf1f1e1169dd8a8bb268', class: 'inner-content' }, h("slot", { key: '13c05d1069df30d05e90e67870c0f14226f76496', name: 'content' }))), h("div", { key: '
|
|
19
|
+
return (h(Host, { key: '68c0d8d671ff7758d15b9e5fc3900e83a37b2eaa', class: 'variant-' + this.variant }, h("div", { key: 'eb69411e0da0701d56d75b9806ea30803c3d2ab5', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: 'afa8292a2724d7324241bf1f1e1169dd8a8bb268', class: 'inner-content' }, h("slot", { key: '13c05d1069df30d05e90e67870c0f14226f76496', name: 'content' })), h("slot", { key: '3e9aa54d08187ef8b10fe039d5d9dc671416815e', name: 'outer-content' })), h("div", { key: '0a9d15f56b5657848300a4f508f00bd97f4d830b', class: 'sidebar' }, h("slot", { key: '511235651ac7b904b6d5235d08d7fcf1c7ad4bbd', name: 'sidebar' })), h("div", { key: 'ae22647a35c67825bfdc607387baaf0ec6cdbb2c', class: 'topbar' }, h("slot", { key: '04692b01dc2912d2cc7f3d390dc1908d235fe014', 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: '48200b196b5101d5a7898f8aa57acbbb795e7205' }, h("div", { key: '072dfd68fe13a8934f44a5ac41b90d909ca1f7d5', class: '\n flex items-center gap-2 text-storm-500\n dark:text-white\n ' }, h("p-icon", { key: 'b881af3bafcb5d50e5bd9c9c46f17918f9d92ced', variant: this.icon }), h("div", { key: 'c6829a5ab4e6233ca5e9a1304fb917ff5dc319ce', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: 'f8a06f03fdf53b22b0ba11b12bcfbf035cf18f3d' })))));
|
|
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: '426ab43c59f453b7de8a9afba7557fa3881ba27b' });
|
|
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: '6530812142c92d48d2dc3a10456b6740545579dd', 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: 'a9870a9992cc0cdaa49351e06fbde5bb77a717c5', 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: '06a01a093a588ff044166e148241bea144d042b6' }, h("div", { key: '4d1ff6b9ce773a7351eaa5f995b6689db77aba23', class: body({
|
|
45
45
|
roundedBottom: this.roundedBottom,
|
|
46
46
|
roundedTop: this.roundedTop,
|
|
47
|
-
}) }, h("slot", { key: '
|
|
47
|
+
}) }, h("slot", { key: '639b2567411b02f35f9e41e10ef2d20a8c9ea9db' }))));
|
|
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: '572e0905e2cc55937daa24c01570e248df5a3733' }, h("div", { key: '6db7371a89b0ec0cf805b276c4a8a03d105c9101', class: container({
|
|
100
100
|
size: this.size,
|
|
101
101
|
closing: asBoolean(this.closing),
|
|
102
|
-
}) }, h("slot", { key: '
|
|
102
|
+
}) }, h("slot", { key: '3a0620c68847c7c846f0290471a04037ea946b26' }))));
|
|
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: 'ee3419ad9a4f791d84943887711bf63e49d5cad6' }, 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 ' }, 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 ' }), h("div", { key: '3c330f12f37566453e13630c0294c9f47fed2b89', class: '\n flex flex-col gap-4\n tablet:flex-row\n ' }, h("slot", { key: '2cce5e522cfb0b607017dff01ec1c98c5f56baff' })))));
|
|
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: 'fb4625373ca51e6460172187238d073847c224a6' }, h("div", { key: '38d7df7acb88644e337be5f92e685298c1712b28', class: header() }, h("div", { key: '6ae176a2cc44b58ac1fef8dd06df4c7049a2056f', class: content() }, h("div", { key: '4e8f12949149d13e11950aca1af18de5b87181ba', class: title() }, h("slot", { key: 'cb6e5d800ec86d3ae9b633cf0e5711d0912513b2' })), this.showClose && (h("p-button", { key: 'a8816a605bb9781ed9c1ef609c519d822c061028', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: '0ed1a5669c9d357b043ecfb5969d28e774ec91d1', 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: '4fcecd6497f2005f962fd881113dea4b32bc99ff' }, h("p-backdrop", { key: '69ce86e6e113f15aa06c054522a0f79da89765f8', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: 'e8cc52e1d42ba01936b58c1277b530eeb41e9d14', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'ff511d2b896f7aa47c7efe5ec2d5ae56e8337bab', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: '151a8c2badb81471dc9c9792fe2704216694e7da', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: '09e5f93575b322324b2c8bf091400138be67a885', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '43f0f25dc8228bc05c3dc0a78435eade4448d7fe', name: 'company' })), h("div", { key: '35a814822b5a947de473e18fc52a07680356742a', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '9e39958d9580dff4ba5dc13fd2fc04bf4d9ba412', name: 'content' })), h("div", { key: 'b168df56d5ae5bb27fefaaf177d1e8525cf7751e', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '5db700de8a58e00dedf489ffe6c390852c61bf56', name: 'user' }))), h("div", { key: '05f066e4b8a7fdd3b8850f9997851330efd217af', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '63340bf3435a0c513203c5c71316f56a3a936bd8', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: '3fbd734259acb3571910290acc4dc67f2c9ff5fd', 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: 'df75595509e2f081dbc13a244a77c07293d67bc1', class: cn('inline-block', this.class) }, h(TagType, { key: 'f6ad06191bdb4049387e1235a3a303718d8f6cc7', 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: '147abbbc9e2c6508a66081ead4cea2aa797a9240', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '2f1fd8c183e2f527fcb37aed28da145d81ed1c89', variant: this.icon })), h("span", { key: 'ae75ec4ac9c43bbb0cd620dcdf42dbc62631825e', class: cn({
|
|
103
103
|
'has-counter': !!this.counter,
|
|
104
104
|
'w-full': this.applyFullWidth,
|
|
105
|
-
}) }, h("slot", { key: '
|
|
105
|
+
}) }, h("slot", { key: '0e92ba5694d3632367d37514bc72d9c7cbfa2a33' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '4046f6ab8a1a4c3c985c2f0a5d8cccafc562f3df' }, this.counter)), !!this.loading && h("p-loader", { key: '5ab0e3decd808a160bdc233835d91b505f3ad8b8', 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: 'd8d654a28420f399fba691f0a7acd8499e5ba7b2', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '5e86faa0ea3bf13688086a881a6ab4a711fa0bd9' }, this.header)), h("div", { key: 'b78ef9a9c4e2493fcf80e1bb5a53fae31a449109', class: 'flex flex-col' }, h("slot", { key: '083951f8e74e0b70ef2102e523f9ed7e6f18e097' }))));
|
|
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: 'd9a91ac9c57ee12ef797652c5c9977780410999b', class: '\n text-xs font-medium text-storm-300\n dark:text-hurricane-200\n ' }, h("slot", { key: '23ebacfa95e6011fe4788c474fa085100e9f77d3' })));
|
|
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: '3f1b6ea1ac6b1ddae922000ee90b9796287de51b' }, h("div", { key: '28561b81a9717cfc6ed3301215f47962349fccd2', 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: 'b4523497dc4e2c988df6a3ae71cb240b54e17d75' }, h("p-pagination-size", { key: '01b5b234b713ecfcd2cf8910079f00614eb0fbbe', 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: '7a8cfa9e69ae898cf2f2c25b4fffde7506fcc523', 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: 'd8d7a7bce55b5958be33b51f175bd34b7f3c6ede', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
84
84
|
this._hasPaginationPages = detail > 1;
|
|
85
85
|
this.pagesChange.emit(detail);
|
|
86
86
|
} })))));
|
|
@@ -33,7 +33,7 @@ const Profile = class {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const content = this._getContent();
|
|
36
|
-
return (h(ThemedHost, { key: '
|
|
36
|
+
return (h(ThemedHost, { key: 'b3e676c112e16fd42bae96f0e61d4f352d86d58d' }, 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: '4e0469bb2c32a32f70a3098519c78a542066d14a' }, h("label", { key: '83728cef714642faee03f2ea15c6b8e3d2d65a7f', class: 'flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: 'bfb3d43a9e8725d4df72f687c9105107e03d8d86', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '070b7ca6185525a9ecc2645c5816929ff7d7cfe1', 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: 'a970e7f1ba92c651547ffc22cf46a2616f9afe74', class: circle({
|
|
140
140
|
disabled: asBoolean(this.disabled),
|
|
141
|
-
}) })), h("div", { key: '
|
|
141
|
+
}) })), h("div", { key: '70dbf28fe32544bd8d682e1ffb92c51fc1668b89', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: 'bf8f0d91d9a793461a69a60e62b5f115c512eec1' })))));
|
|
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: '9c0e2f83e080868ee358630e50c035b19ee829fa' }, h("div", { key: '12626f10b97ae5ecfa79eeb011bc8ec4108e2f8c', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '8736f5024ced2674bed1664f6344b590c22b2e60', variant: 'minus' }), h("div", { key: '68e128b70ee74c10707623b8299ef6eea346e1d5', class: 'relative h-6 flex-1' }, h("input", { key: '5e6e31c34953410d068332c5f7d34a9d682ee414', 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: 'f85cae57ba6cd94c279ccac2753505018f8543d4', 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: 'c3e848da38711448a667d945be7d8303daaac7db', 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: '51ebc8616be3744995c78d6e75bf747770cefeef' }, h("p-field-container", { key: '27fe6a7646d07bfbb9f7924c64f826a5ff8e2357', 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: 'eb130f9ffc5f269c12eeba6c426160cac211b8d2', 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: '7c1b53b621ec2f0491a10f3e20120e60af3688e0', 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: 'a6e52a8d00aaf3bafa91618aed130356a293e2c8', 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: '0545b8bae681f5984cacf62b152d2c764e7cf87c', class: smile({ variant: this.variant }) }, h("div", { key: '724b4e4562f061b6ba924c31fbcd659dc34664ad', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
Smile.style = smileComponentCss();
|
|
@@ -155,19 +155,19 @@ const StepperItem = class {
|
|
|
155
155
|
*/
|
|
156
156
|
active = false;
|
|
157
157
|
render() {
|
|
158
|
-
return (h(ThemedHost, { key: '
|
|
158
|
+
return (h(ThemedHost, { key: '9d14fbaba748a5c3b3badb2acadc546d0fddecd6' }, h("div", { key: '8f3ea2218946ecc43350d7735eb00b30a80c3c70', class: item({
|
|
159
159
|
align: this.align,
|
|
160
160
|
contentPosition: this.contentPosition,
|
|
161
|
-
}) }, h("div", { key: '
|
|
161
|
+
}) }, h("div", { key: 'f665d1035086830a04263b85e5edf54dd787e7dc', class: circle({
|
|
162
162
|
align: this.align,
|
|
163
163
|
direction: this.direction,
|
|
164
164
|
active: asBoolean(this.active),
|
|
165
165
|
finished: asBoolean(this.finished),
|
|
166
|
-
}) }, this.number), h("div", { key: '
|
|
166
|
+
}) }, this.number), h("div", { key: '32fa7d79a96901d358d7e3655916dc4c97a52d6c', class: content({
|
|
167
167
|
active: asBoolean(this.active),
|
|
168
168
|
finished: asBoolean(this.finished),
|
|
169
169
|
direction: this.direction,
|
|
170
|
-
}) }, h("slot", { key: '
|
|
170
|
+
}) }, h("slot", { key: 'c2163dfee0a700e2eca1131c2345bacd7d7b3735' })))));
|
|
171
171
|
}
|
|
172
172
|
};
|
|
173
173
|
StepperItem.style = stepperItemComponentCss();
|
|
@@ -187,7 +187,7 @@ const StepperLine = class {
|
|
|
187
187
|
*/
|
|
188
188
|
direction = 'horizontal';
|
|
189
189
|
render() {
|
|
190
|
-
return h(ThemedHost, { key: '
|
|
190
|
+
return h(ThemedHost, { key: 'd3a40a22a7a3802034362a15225ba5f8d03e961f' });
|
|
191
191
|
}
|
|
192
192
|
};
|
|
193
193
|
StepperLine.style = stepperLineComponentCss();
|
|
@@ -7,7 +7,7 @@ const TabContainer = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '5022f8346d3ee307529e6b3e8a4b468281785515', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: 'ae8f0649d3accfe7d01fc0e9e5c652ec4119c75f', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: '39409a29246137cca9758fe36857c589b6a99ca8' })), h("p-divider", { key: '8eaf1961818632d60bf292053e80d2b7dd02f1e2', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
TabContainer.style = tabContainerComponentCss();
|
|
@@ -46,7 +46,7 @@ const TabItem = class {
|
|
|
46
46
|
*/
|
|
47
47
|
active = false;
|
|
48
48
|
render() {
|
|
49
|
-
return (h(ThemedHost, { key: '
|
|
49
|
+
return (h(ThemedHost, { key: 'ffaaafe7b95a1ddd7350bdf399f793d569b6d955' }, h("div", { key: '8adf76224ba8a47afac946bcc6e77cf29033dc47', class: item({ active: this.active }) }, h("slot", { key: '44609cace6aede2846c27485e499e763c90bc751' }))));
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
52
|
TabItem.style = tabItemComponentCss();
|
|
@@ -46,9 +46,9 @@ const ToastContainer = class {
|
|
|
46
46
|
*/
|
|
47
47
|
placement = 'top-end';
|
|
48
48
|
render() {
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '5d77cac640925586144faefc5d3df382af793133', class: container({
|
|
50
50
|
placement: this.placement,
|
|
51
|
-
}) }, h("slot", { key: '
|
|
51
|
+
}) }, h("slot", { key: '65b700d11dd0404bfb32e6361f20eb0c251f55bb' })));
|
|
52
52
|
}
|
|
53
53
|
};
|
|
54
54
|
ToastContainer.style = toastContainerComponentCss();
|