@paperless/core 2.0.1-beta.53 → 2.0.1-beta.54
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/CHANGELOG.md +11 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/{paperless/p-a9601a00.entry.js → build/p-0233139b.entry.js} +2 -2
- package/dist/build/{p-76ec0b7d.entry.js → p-0ad14298.entry.js} +2 -2
- package/dist/build/{p-c8133f04.entry.js → p-0de9a766.entry.js} +2 -2
- package/dist/{paperless/p-74f10d72.entry.js → build/p-0f1c22e7.entry.js} +2 -2
- package/dist/build/p-131fb6ec.entry.js +2 -0
- package/dist/{paperless/p-00fe07fa.entry.js.map → build/p-131fb6ec.entry.js.map} +1 -1
- package/dist/{paperless/p-c39c9780.entry.js → build/p-136616a3.entry.js} +2 -2
- package/dist/build/p-1393baed.entry.js +2 -0
- package/dist/build/{p-1a343a7c.entry.js → p-184723af.entry.js} +2 -2
- package/dist/build/{p-f7cfc0a8.entry.js → p-20e29a6d.entry.js} +2 -2
- package/dist/build/p-22c9032e.entry.js +2 -0
- package/dist/build/p-22c9032e.entry.js.map +1 -0
- package/dist/build/p-244968bd.entry.js +2 -0
- package/dist/build/{p-4983a0d1.entry.js → p-2ccb1a94.entry.js} +2 -2
- package/dist/build/p-2f9c7ce5.entry.js +2 -0
- package/dist/build/p-2f9c7ce5.entry.js.map +1 -0
- package/dist/build/{p-4de1ba9d.entry.js → p-2fe8062f.entry.js} +2 -2
- package/dist/{paperless/p-adae70ec.entry.js → build/p-30b7ec84.entry.js} +2 -2
- package/dist/build/p-39455c7a.entry.js +2 -0
- package/dist/build/p-39455c7a.entry.js.map +1 -0
- package/dist/build/{p-6ba956b0.entry.js → p-3b68573b.entry.js} +2 -2
- package/dist/build/p-3d53a76a.entry.js +2 -0
- package/dist/build/{p-48c3698b.entry.js → p-46bc75a4.entry.js} +2 -2
- package/dist/build/{p-1ec7ac2d.entry.js → p-475eed3c.entry.js} +2 -2
- package/dist/build/{p-38c62293.entry.js → p-47b47475.entry.js} +2 -2
- package/dist/build/{p-7516f0e3.entry.js → p-4b1c71e0.entry.js} +2 -2
- package/dist/{paperless/p-42416c69.entry.js → build/p-4c7d01fd.entry.js} +2 -2
- package/dist/build/{p-cd18d223.entry.js → p-549ad4c4.entry.js} +2 -2
- package/dist/{paperless/p-cd18d223.entry.js.map → build/p-549ad4c4.entry.js.map} +1 -1
- package/dist/{paperless/p-4ce5a008.entry.js → build/p-59947fa0.entry.js} +2 -2
- package/dist/build/p-5b8246ef.js +2 -0
- package/dist/build/{p-cc7bd29f.entry.js → p-60581c9f.entry.js} +2 -2
- package/dist/build/{p-4c700290.entry.js → p-6bc62451.entry.js} +2 -2
- package/dist/build/p-6f149849.entry.js +2 -0
- package/dist/build/{p-6d3d326d.entry.js → p-7af0b50d.entry.js} +2 -2
- package/dist/{paperless/p-a5cca13e.entry.js → build/p-7d2a49cf.entry.js} +2 -2
- package/dist/build/{p-bd2cbf63.entry.js → p-7d41f0c5.entry.js} +2 -2
- package/dist/{paperless/p-b0f468c0.entry.js → build/p-83ea038a.entry.js} +2 -2
- package/dist/{paperless/p-abbdbdb3.entry.js → build/p-8de27a7a.entry.js} +2 -2
- package/dist/{paperless/p-abbdbdb3.entry.js.map → build/p-8de27a7a.entry.js.map} +1 -1
- package/dist/{paperless/p-cb18f4ac.entry.js → build/p-8fabd582.entry.js} +2 -2
- package/dist/build/p-94d257c6.entry.js +2 -0
- package/dist/build/{p-cfa83ad4.entry.js.map → p-94d257c6.entry.js.map} +1 -1
- package/dist/build/p-98168797.entry.js +2 -0
- package/dist/{paperless/p-12f0b242.entry.js → build/p-99e0e9d2.entry.js} +2 -2
- package/dist/build/{p-19505985.entry.js → p-9e5c66ff.entry.js} +2 -2
- package/dist/build/p-CT54OXR2.js +2 -0
- package/dist/build/p-CT54OXR2.js.map +1 -0
- package/dist/build/{p-3afec17c.entry.js → p-a4cc578d.entry.js} +2 -2
- package/dist/{paperless/p-3afec17c.entry.js.map → build/p-a4cc578d.entry.js.map} +1 -1
- package/dist/build/p-backdrop.entry.esm.js.map +1 -1
- package/dist/build/{p-6a92ae6e.entry.js → p-bbd76ef5.entry.js} +2 -2
- package/dist/build/{p-a3ad118d.entry.js → p-bd5eaba2.entry.js} +2 -2
- package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/build/{p-2986ef0a.entry.js → p-d179b758.entry.js} +2 -2
- package/dist/{paperless/p-4d21da5d.entry.js → build/p-d33e06a7.entry.js} +2 -2
- package/dist/build/{p-c27fee4b.entry.js → p-d83fbc93.entry.js} +2 -2
- package/dist/build/{p-613c983c.entry.js → p-db013038.entry.js} +2 -2
- package/dist/build/p-dfe88da4.entry.js +2 -0
- package/dist/build/p-dfe88da4.entry.js.map +1 -0
- package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/build/p-e765e24b.entry.js +2 -0
- package/dist/build/p-ee70d12f.css +1 -0
- package/dist/build/{p-c0b769b4.entry.js → p-ef0b1e32.entry.js} +2 -2
- package/dist/build/{p-bfaaeb71.entry.js → p-f746ddcd.entry.js} +2 -2
- package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
- package/dist/build/p-modal.entry.esm.js.map +1 -1
- package/dist/build/p-smile-footer.entry.esm.js.map +1 -0
- package/dist/build/p-stepper-item.entry.esm.js.map +1 -1
- package/dist/build/p-stepper-line.entry.esm.js.map +1 -1
- package/dist/build/paperless.css +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{cn-Cd68UVBT.js → cn-BGmLaIp8.js} +276 -32
- package/dist/cjs/cn-BGmLaIp8.js.map +1 -0
- package/dist/cjs/index-DLcBertx.js +4 -0
- package/dist/cjs/index.cjs.js +8 -207
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +4 -4
- package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/p-backdrop.entry.cjs.js.map +1 -1
- 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-button.p-icon.p-loader.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +5 -5
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +2 -2
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +2 -2
- package/dist/cjs/p-checkbox_2.cjs.entry.js +4 -4
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-counter.cjs.entry.js +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +3 -3
- package/dist/cjs/p-field_2.cjs.entry.js +4 -4
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +6 -6
- package/dist/cjs/p-helper_2.cjs.entry.js +4 -4
- package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
- package/dist/cjs/p-input-error.cjs.entry.js +1 -1
- package/dist/cjs/p-input-group.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js +4 -4
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +71 -30
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +21 -15
- package/dist/cjs/p-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal.entry.cjs.js.map +1 -1
- 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.cjs.entry.js +3 -3
- package/dist/cjs/p-portal.cjs.entry.js +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
- package/dist/cjs/p-smile-footer.cjs.entry.js +20 -0
- package/dist/cjs/p-smile-footer.cjs.entry.js.map +1 -0
- package/dist/cjs/p-smile-footer.entry.cjs.js.map +1 -0
- package/dist/cjs/p-status.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-line.entry.cjs.js.map +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table-row-action.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +6 -5
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/modal/body/modal-body.component.js +18 -50
- package/dist/collection/components/atoms/modal/body/modal-body.component.js.map +1 -0
- package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/modal/container/modal-container.component.js +32 -19
- package/dist/collection/components/atoms/modal/container/modal-container.component.js.map +1 -0
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.css +1 -0
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +18 -0
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js.map +1 -0
- package/dist/collection/components/atoms/modal/header/modal-header.component.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/modal/header/modal-header.component.js +43 -3
- package/dist/collection/components/atoms/modal/header/modal-header.component.js.map +1 -0
- 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-footer/smile-footer.component.css +1 -0
- package/dist/collection/components/atoms/smile-footer/smile-footer.component.js +18 -0
- package/dist/collection/components/atoms/smile-footer/smile-footer.component.js.map +1 -0
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/deprecated/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/card/container/card-container.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/card/header/card-header.component.js +2 -2
- package/dist/collection/components/deprecated/atoms/counter/counter.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.css +1 -1
- package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/info-panel/info-panel.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/status/status.component.js +2 -2
- package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.css +1 -1
- package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.css +1 -1
- package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/tab/group/tab-group.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/table/container/table-container.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/toast-container/toast-container.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +4 -4
- package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +3 -3
- package/dist/collection/components/deprecated/molecules/stepper/stepper.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/table/footer/table-footer.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/table/row/table-row.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/helpers/portal/portal.component.js +1 -1
- package/dist/collection/components/molecules/button/button.component.js +3 -3
- 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/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
- package/dist/collection/components/molecules/field/field/field.component.js +3 -3
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/select/select.component.js +1 -1
- package/dist/collection/components/{deprecated/organisms → organisms}/modal/modal.component.js +25 -59
- package/dist/collection/components/organisms/modal/modal.component.js.map +1 -0
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/tailwind/paperless.js +1 -8
- package/dist/collection/tailwind/paperless.js.map +1 -1
- package/dist/collection/tailwind/theme/shadows.js +7 -0
- package/dist/collection/tailwind/theme/shadows.js.map +1 -1
- package/dist/collection/tailwind.config.js +0 -1
- package/dist/collection/tailwind.config.js.map +1 -1
- package/dist/components/index.js +8 -207
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-BhiuVzSA.js → p-7LSg_lME.js} +4 -4
- package/dist/components/{p-BhiuVzSA.js.map → p-7LSg_lME.js.map} +1 -1
- package/dist/components/{p-Cz_cUyMW.js → p-B73fniNx.js} +4 -4
- package/dist/components/{p-Cz_cUyMW.js.map → p-B73fniNx.js.map} +1 -1
- package/dist/components/p-BEkTUPBy.js +39 -0
- package/dist/components/p-BEkTUPBy.js.map +1 -0
- package/dist/components/{p-CvbYpfDR.js → p-BJQDHRZ-.js} +4 -4
- package/dist/components/{p-CvbYpfDR.js.map → p-BJQDHRZ-.js.map} +1 -1
- package/dist/components/{p-fgCai9gE.js → p-BMG5J0JK.js} +3 -3
- package/dist/components/{p-fgCai9gE.js.map → p-BMG5J0JK.js.map} +1 -1
- package/dist/components/{p-BHSmQ31H.js → p-BOirls52.js} +4 -4
- package/dist/components/{p-BHSmQ31H.js.map → p-BOirls52.js.map} +1 -1
- package/dist/components/{p-BXAHgoEY.js → p-BS48oc6_.js} +4 -4
- package/dist/components/{p-BXAHgoEY.js.map → p-BS48oc6_.js.map} +1 -1
- package/dist/components/{p-Cdz6WnSV.js → p-BYPjew5w.js} +6 -6
- package/dist/components/{p-Cdz6WnSV.js.map → p-BYPjew5w.js.map} +1 -1
- package/dist/components/{p-BiItbUez.js → p-BwrdmWtE.js} +3 -3
- package/dist/components/{p-BiItbUez.js.map → p-BwrdmWtE.js.map} +1 -1
- package/dist/components/{p--FcCSVgz.js → p-ByT0XK4K.js} +3 -3
- package/dist/components/{p--FcCSVgz.js.map → p-ByT0XK4K.js.map} +1 -1
- package/dist/components/{p-BY0H39XY.js → p-C3aWovqp.js} +7 -7
- package/dist/components/{p-BY0H39XY.js.map → p-C3aWovqp.js.map} +1 -1
- package/dist/components/{p-BIRMn8wQ.js → p-C6gnLnbE.js} +3 -3
- package/dist/components/{p-BIRMn8wQ.js.map → p-C6gnLnbE.js.map} +1 -1
- package/dist/components/{p-DzRWzJmf.js → p-C9_6jSTk.js} +276 -32
- package/dist/components/p-C9_6jSTk.js.map +1 -0
- package/dist/components/{p-CFTssBCC.js → p-CEnUnekF.js} +6 -6
- package/dist/components/{p-CFTssBCC.js.map → p-CEnUnekF.js.map} +1 -1
- package/dist/components/{p-BqOefaSc.js → p-CQb--y-q.js} +7 -7
- package/dist/components/{p-BqOefaSc.js.map → p-CQb--y-q.js.map} +1 -1
- package/dist/components/{p-DWRGcIVC.js → p-CRnqLaa7.js} +3 -3
- package/dist/components/{p-DWRGcIVC.js.map → p-CRnqLaa7.js.map} +1 -1
- package/dist/components/{p-Bff_TG6G.js → p-CmOi1NiR.js} +4 -4
- package/dist/components/{p-Bff_TG6G.js.map → p-CmOi1NiR.js.map} +1 -1
- package/dist/components/{p-DbKboE3F.js → p-Co-tKrXe.js} +3 -3
- package/dist/components/{p-DbKboE3F.js.map → p-Co-tKrXe.js.map} +1 -1
- package/dist/components/{p-Pt0o65Cn.js → p-CzYbDtTL.js} +5 -5
- package/dist/components/{p-Pt0o65Cn.js.map → p-CzYbDtTL.js.map} +1 -1
- package/dist/components/{p-DTNp_N73.js → p-D6kDYgam.js} +5 -5
- package/dist/components/{p-DTNp_N73.js.map → p-D6kDYgam.js.map} +1 -1
- package/dist/components/{p-97AAwgHg.js → p-DAh-0PEc.js} +3 -3
- package/dist/components/{p-97AAwgHg.js.map → p-DAh-0PEc.js.map} +1 -1
- package/dist/components/{p-Dd3idUM3.js → p-DDXzT-8n.js} +11 -11
- package/dist/components/{p-Dd3idUM3.js.map → p-DDXzT-8n.js.map} +1 -1
- package/dist/components/{p-BdpJbfnc.js → p-DHB3oMcL.js} +3 -3
- package/dist/components/{p-BdpJbfnc.js.map → p-DHB3oMcL.js.map} +1 -1
- package/dist/components/p-DUKg6G2_.js +39 -0
- package/dist/components/p-DUKg6G2_.js.map +1 -0
- package/dist/components/{p-mKrnxw_1.js → p-DbwQXaac.js} +4 -4
- package/dist/components/{p-mKrnxw_1.js.map → p-DbwQXaac.js.map} +1 -1
- package/dist/components/p-DhkrVXeB.js +70 -0
- package/dist/components/p-DhkrVXeB.js.map +1 -0
- package/dist/components/{p-DI2Fs1EY.js → p-DpSAOvtA.js} +7 -7
- package/dist/components/{p-DI2Fs1EY.js.map → p-DpSAOvtA.js.map} +1 -1
- package/dist/components/p-GDb-NUOn.js +33 -0
- package/dist/components/p-GDb-NUOn.js.map +1 -0
- package/dist/components/{p-Cwl9G2yh.js → p-HuWXHDwA.js} +4 -4
- package/dist/components/{p-Cwl9G2yh.js.map → p-HuWXHDwA.js.map} +1 -1
- package/dist/components/p-Qf3aKAiK.js +61 -0
- package/dist/components/p-Qf3aKAiK.js.map +1 -0
- package/dist/components/{p-B6GGNVz2.js → p-VJYHhWA0.js} +4 -4
- package/dist/components/{p-B6GGNVz2.js.map → p-VJYHhWA0.js.map} +1 -1
- package/dist/components/{p-DmdS4ixK.js → p-_bzXRnJM.js} +10 -10
- package/dist/components/{p-DmdS4ixK.js.map → p-_bzXRnJM.js.map} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +9 -9
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +2 -2
- package/dist/components/p-content-slider.js +3 -3
- package/dist/components/p-counter.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +11 -11
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +6 -6
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-input-error.js +1 -1
- package/dist/components/p-input-group.js +7 -7
- package/dist/components/p-label.js +4 -4
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-loader.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 +45 -35
- package/dist/components/p-modal.js.map +1 -1
- package/dist/components/p-navbar.js +4 -4
- package/dist/components/p-navigation-item.js +4 -4
- package/dist/components/p-navigation-section.js +2 -2
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/{p-DjK4atKh.js → p-p0peGhwr.js} +11 -11
- package/dist/components/{p-DjK4atKh.js.map → p-p0peGhwr.js.map} +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 +8 -8
- package/dist/components/p-portal.js +1 -1
- package/dist/components/p-profile.js +5 -5
- package/dist/components/p-radio.js +3 -3
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +9 -9
- package/dist/components/p-slider-indicator.js +1 -1
- package/dist/components/p-smile-footer.d.ts +11 -0
- package/dist/components/p-smile-footer.js +9 -0
- package/dist/components/p-smile-footer.js.map +1 -0
- package/dist/components/p-status.js +2 -2
- package/dist/components/p-stepper-item.js +2 -2
- package/dist/components/p-stepper-item.js.map +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +2 -2
- package/dist/components/p-tab-group.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.js +1 -1
- package/dist/components/p-table.js +20 -20
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +3 -3
- package/dist/components/p-toggle.js +3 -3
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/p-z5rlXVg4.js +90 -0
- package/dist/components/p-z5rlXVg4.js.map +1 -0
- package/dist/esm/{cn-CsNqHcjL.js → cn-BniKgfyU.js} +276 -32
- package/dist/esm/cn-BniKgfyU.js.map +1 -0
- package/dist/esm/index-I9JY9uxk.js +4 -0
- package/dist/esm/index.js +8 -207
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +1 -1
- package/dist/esm/p-attachment.entry.js +4 -4
- package/dist/esm/p-backdrop.entry.js +2 -2
- package/dist/esm/p-backdrop.entry.js.map +1 -1
- package/dist/esm/p-badge_3.entry.js +3 -3
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +5 -5
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +2 -2
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +1 -1
- package/dist/esm/p-card-header.entry.js +2 -2
- package/dist/esm/p-checkbox_2.entry.js +4 -4
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-counter.entry.js +1 -1
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
- package/dist/esm/p-dropdown-menu-item_4.entry.js +3 -3
- package/dist/esm/p-field_2.entry.js +4 -4
- package/dist/esm/p-floating-menu-container_8.entry.js +6 -6
- package/dist/esm/p-helper_2.entry.js +4 -4
- package/dist/esm/p-info-panel.entry.js +1 -1
- package/dist/esm/p-input-error.entry.js +1 -1
- package/dist/esm/p-input-group.entry.js +3 -3
- package/dist/esm/p-label.entry.js +4 -4
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
- package/dist/esm/p-modal-body_4.entry.js +71 -30
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-modal.entry.js +21 -15
- package/dist/esm/p-modal.entry.js.map +1 -1
- 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.entry.js +3 -3
- package/dist/esm/p-portal.entry.js +1 -1
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-slider-indicator.entry.js +1 -1
- package/dist/esm/p-smile-footer.entry.js +18 -0
- package/dist/esm/p-smile-footer.entry.js.map +1 -0
- package/dist/esm/p-status.entry.js +2 -2
- package/dist/esm/p-stepper-item.entry.js +2 -2
- package/dist/esm/p-stepper-item.entry.js.map +1 -1
- package/dist/esm/p-stepper-line.entry.js +2 -2
- package/dist/esm/p-stepper-line.entry.js.map +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-group.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table-row-action.entry.js +1 -1
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/{build/p-a9601a00.entry.js → paperless/p-0233139b.entry.js} +2 -2
- package/dist/paperless/{p-76ec0b7d.entry.js → p-0ad14298.entry.js} +2 -2
- package/dist/paperless/{p-c8133f04.entry.js → p-0de9a766.entry.js} +2 -2
- package/dist/{build/p-74f10d72.entry.js → paperless/p-0f1c22e7.entry.js} +2 -2
- package/dist/paperless/p-131fb6ec.entry.js +2 -0
- package/dist/{build/p-00fe07fa.entry.js.map → paperless/p-131fb6ec.entry.js.map} +1 -1
- package/dist/{build/p-c39c9780.entry.js → paperless/p-136616a3.entry.js} +2 -2
- package/dist/paperless/p-1393baed.entry.js +2 -0
- package/dist/paperless/{p-1a343a7c.entry.js → p-184723af.entry.js} +2 -2
- package/dist/paperless/{p-f7cfc0a8.entry.js → p-20e29a6d.entry.js} +2 -2
- package/dist/paperless/p-22c9032e.entry.js +2 -0
- package/dist/paperless/p-22c9032e.entry.js.map +1 -0
- package/dist/paperless/p-244968bd.entry.js +2 -0
- package/dist/paperless/{p-4983a0d1.entry.js → p-2ccb1a94.entry.js} +2 -2
- package/dist/paperless/p-2f9c7ce5.entry.js +2 -0
- package/dist/paperless/p-2f9c7ce5.entry.js.map +1 -0
- package/dist/paperless/{p-4de1ba9d.entry.js → p-2fe8062f.entry.js} +2 -2
- package/dist/{build/p-adae70ec.entry.js → paperless/p-30b7ec84.entry.js} +2 -2
- package/dist/paperless/p-39455c7a.entry.js +2 -0
- package/dist/paperless/p-39455c7a.entry.js.map +1 -0
- package/dist/paperless/{p-6ba956b0.entry.js → p-3b68573b.entry.js} +2 -2
- package/dist/paperless/p-3d53a76a.entry.js +2 -0
- package/dist/paperless/{p-48c3698b.entry.js → p-46bc75a4.entry.js} +2 -2
- package/dist/paperless/{p-1ec7ac2d.entry.js → p-475eed3c.entry.js} +2 -2
- package/dist/paperless/{p-38c62293.entry.js → p-47b47475.entry.js} +2 -2
- package/dist/paperless/{p-7516f0e3.entry.js → p-4b1c71e0.entry.js} +2 -2
- package/dist/{build/p-42416c69.entry.js → paperless/p-4c7d01fd.entry.js} +2 -2
- package/dist/paperless/{p-cd18d223.entry.js → p-549ad4c4.entry.js} +2 -2
- package/dist/{build/p-cd18d223.entry.js.map → paperless/p-549ad4c4.entry.js.map} +1 -1
- package/dist/{build/p-4ce5a008.entry.js → paperless/p-59947fa0.entry.js} +2 -2
- package/dist/paperless/{p-cc7bd29f.entry.js → p-60581c9f.entry.js} +2 -2
- package/dist/paperless/{p-4c700290.entry.js → p-6bc62451.entry.js} +2 -2
- package/dist/paperless/p-6f149849.entry.js +2 -0
- package/dist/paperless/{p-6d3d326d.entry.js → p-7af0b50d.entry.js} +2 -2
- package/dist/{build/p-a5cca13e.entry.js → paperless/p-7d2a49cf.entry.js} +2 -2
- package/dist/paperless/{p-bd2cbf63.entry.js → p-7d41f0c5.entry.js} +2 -2
- package/dist/{build/p-b0f468c0.entry.js → paperless/p-83ea038a.entry.js} +2 -2
- package/dist/{build/p-abbdbdb3.entry.js → paperless/p-8de27a7a.entry.js} +2 -2
- package/dist/{build/p-abbdbdb3.entry.js.map → paperless/p-8de27a7a.entry.js.map} +1 -1
- package/dist/{build/p-cb18f4ac.entry.js → paperless/p-8fabd582.entry.js} +2 -2
- package/dist/paperless/p-94d257c6.entry.js +2 -0
- package/dist/paperless/{p-cfa83ad4.entry.js.map → p-94d257c6.entry.js.map} +1 -1
- package/dist/paperless/p-98168797.entry.js +2 -0
- package/dist/{build/p-12f0b242.entry.js → paperless/p-99e0e9d2.entry.js} +2 -2
- package/dist/paperless/{p-19505985.entry.js → p-9e5c66ff.entry.js} +2 -2
- package/dist/paperless/p-CT54OXR2.js +2 -0
- package/dist/paperless/p-CT54OXR2.js.map +1 -0
- package/dist/paperless/{p-3afec17c.entry.js → p-a4cc578d.entry.js} +2 -2
- package/dist/{build/p-3afec17c.entry.js.map → paperless/p-a4cc578d.entry.js.map} +1 -1
- package/dist/paperless/p-backdrop.entry.esm.js.map +1 -1
- package/dist/paperless/{p-6a92ae6e.entry.js → p-bbd76ef5.entry.js} +2 -2
- package/dist/paperless/{p-a3ad118d.entry.js → p-bd5eaba2.entry.js} +2 -2
- package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/paperless/{p-2986ef0a.entry.js → p-d179b758.entry.js} +2 -2
- package/dist/{build/p-4d21da5d.entry.js → paperless/p-d33e06a7.entry.js} +2 -2
- package/dist/paperless/{p-c27fee4b.entry.js → p-d83fbc93.entry.js} +2 -2
- package/dist/paperless/{p-613c983c.entry.js → p-db013038.entry.js} +2 -2
- package/dist/paperless/p-dfe88da4.entry.js +2 -0
- package/dist/paperless/p-dfe88da4.entry.js.map +1 -0
- package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/paperless/p-e765e24b.entry.js +2 -0
- package/dist/paperless/{p-c0b769b4.entry.js → p-ef0b1e32.entry.js} +2 -2
- package/dist/paperless/{p-bfaaeb71.entry.js → p-f746ddcd.entry.js} +2 -2
- package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
- package/dist/paperless/p-modal.entry.esm.js.map +1 -1
- package/dist/paperless/p-smile-footer.entry.esm.js.map +1 -0
- package/dist/paperless/p-stepper-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-stepper-line.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.css +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/paperless.ts +1 -8
- package/dist/tailwind/theme/shadows.ts +7 -0
- package/dist/tailwind.config.ts +0 -1
- package/dist/types/components/{deprecated/atoms → atoms}/modal/body/modal-body.component.d.ts +0 -8
- package/dist/types/components/{deprecated/atoms → atoms}/modal/container/modal-container.component.d.ts +1 -1
- package/dist/types/components/{deprecated/atoms → atoms}/modal/header/modal-header.component.d.ts +5 -1
- package/dist/types/components/atoms/smile-footer/smile-footer.component.d.ts +3 -0
- package/dist/types/components/{deprecated/organisms → organisms}/modal/modal.component.d.ts +3 -10
- package/dist/types/components.d.ts +25 -36
- package/dist/types/tailwind/theme/shadows.d.ts +1 -0
- package/package.json +2 -5
- package/dist/build/p-00fe07fa.entry.js +0 -2
- package/dist/build/p-1b5ed517.js +0 -2
- package/dist/build/p-2cd3ba5d.entry.js +0 -2
- package/dist/build/p-3d8db318.css +0 -1
- package/dist/build/p-54bab963.entry.js +0 -2
- package/dist/build/p-6c529e21.entry.js +0 -2
- package/dist/build/p-6c529e21.entry.js.map +0 -1
- package/dist/build/p-8f42c8c3.entry.js +0 -2
- package/dist/build/p-a8bfe512.entry.js +0 -2
- package/dist/build/p-a8bfe512.entry.js.map +0 -1
- package/dist/build/p-b4a3fd64.entry.js +0 -2
- package/dist/build/p-cf2cfa24.entry.js +0 -2
- package/dist/build/p-cfa83ad4.entry.js +0 -2
- package/dist/build/p-cfd14b04.entry.js +0 -2
- package/dist/build/p-ffdd2cc3.entry.js +0 -2
- package/dist/build/p-ffdd2cc3.entry.js.map +0 -1
- package/dist/build/p-xs4N_Y-0.js +0 -2
- package/dist/build/p-xs4N_Y-0.js.map +0 -1
- package/dist/cjs/cn-Cd68UVBT.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/modal/body/modal-body.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/modal/body/modal-body.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/modal/container/modal-container.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/modal/container/modal-container.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/modal/footer/modal-footer.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/modal/footer/modal-footer.component.js +0 -19
- package/dist/collection/components/deprecated/atoms/modal/footer/modal-footer.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/modal/header/modal-header.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/modal/header/modal-header.component.js.map +0 -1
- package/dist/collection/components/deprecated/organisms/modal/modal.component.js.map +0 -1
- package/dist/components/p-BSAFZSVl.js +0 -40
- package/dist/components/p-BSAFZSVl.js.map +0 -1
- package/dist/components/p-BacnlWAP.js +0 -63
- package/dist/components/p-BacnlWAP.js.map +0 -1
- package/dist/components/p-C4xUhAnC.js +0 -57
- package/dist/components/p-C4xUhAnC.js.map +0 -1
- package/dist/components/p-DzRWzJmf.js.map +0 -1
- package/dist/components/p-ZHyxp0Dc.js +0 -39
- package/dist/components/p-ZHyxp0Dc.js.map +0 -1
- package/dist/components/p-n07zIH56.js +0 -55
- package/dist/components/p-n07zIH56.js.map +0 -1
- package/dist/esm/cn-CsNqHcjL.js.map +0 -1
- package/dist/paperless/p-00fe07fa.entry.js +0 -2
- package/dist/paperless/p-2cd3ba5d.entry.js +0 -2
- package/dist/paperless/p-54bab963.entry.js +0 -2
- package/dist/paperless/p-6c529e21.entry.js +0 -2
- package/dist/paperless/p-6c529e21.entry.js.map +0 -1
- package/dist/paperless/p-8f42c8c3.entry.js +0 -2
- package/dist/paperless/p-a8bfe512.entry.js +0 -2
- package/dist/paperless/p-a8bfe512.entry.js.map +0 -1
- package/dist/paperless/p-b4a3fd64.entry.js +0 -2
- package/dist/paperless/p-cf2cfa24.entry.js +0 -2
- package/dist/paperless/p-cfa83ad4.entry.js +0 -2
- package/dist/paperless/p-cfd14b04.entry.js +0 -2
- package/dist/paperless/p-ffdd2cc3.entry.js +0 -2
- package/dist/paperless/p-ffdd2cc3.entry.js.map +0 -1
- package/dist/paperless/p-xs4N_Y-0.js +0 -2
- package/dist/paperless/p-xs4N_Y-0.js.map +0 -1
- /package/dist/build/{p-a9601a00.entry.js.map → p-0233139b.entry.js.map} +0 -0
- /package/dist/build/{p-76ec0b7d.entry.js.map → p-0ad14298.entry.js.map} +0 -0
- /package/dist/build/{p-c8133f04.entry.js.map → p-0de9a766.entry.js.map} +0 -0
- /package/dist/build/{p-74f10d72.entry.js.map → p-0f1c22e7.entry.js.map} +0 -0
- /package/dist/build/{p-c39c9780.entry.js.map → p-136616a3.entry.js.map} +0 -0
- /package/dist/build/{p-cf2cfa24.entry.js.map → p-1393baed.entry.js.map} +0 -0
- /package/dist/build/{p-1a343a7c.entry.js.map → p-184723af.entry.js.map} +0 -0
- /package/dist/build/{p-f7cfc0a8.entry.js.map → p-20e29a6d.entry.js.map} +0 -0
- /package/dist/build/{p-b4a3fd64.entry.js.map → p-244968bd.entry.js.map} +0 -0
- /package/dist/build/{p-4983a0d1.entry.js.map → p-2ccb1a94.entry.js.map} +0 -0
- /package/dist/build/{p-4de1ba9d.entry.js.map → p-2fe8062f.entry.js.map} +0 -0
- /package/dist/build/{p-adae70ec.entry.js.map → p-30b7ec84.entry.js.map} +0 -0
- /package/dist/build/{p-6ba956b0.entry.js.map → p-3b68573b.entry.js.map} +0 -0
- /package/dist/build/{p-8f42c8c3.entry.js.map → p-3d53a76a.entry.js.map} +0 -0
- /package/dist/build/{p-48c3698b.entry.js.map → p-46bc75a4.entry.js.map} +0 -0
- /package/dist/build/{p-1ec7ac2d.entry.js.map → p-475eed3c.entry.js.map} +0 -0
- /package/dist/build/{p-38c62293.entry.js.map → p-47b47475.entry.js.map} +0 -0
- /package/dist/build/{p-7516f0e3.entry.js.map → p-4b1c71e0.entry.js.map} +0 -0
- /package/dist/build/{p-42416c69.entry.js.map → p-4c7d01fd.entry.js.map} +0 -0
- /package/dist/build/{p-4ce5a008.entry.js.map → p-59947fa0.entry.js.map} +0 -0
- /package/dist/build/{p-cc7bd29f.entry.js.map → p-60581c9f.entry.js.map} +0 -0
- /package/dist/build/{p-4c700290.entry.js.map → p-6bc62451.entry.js.map} +0 -0
- /package/dist/build/{p-cfd14b04.entry.js.map → p-6f149849.entry.js.map} +0 -0
- /package/dist/build/{p-6d3d326d.entry.js.map → p-7af0b50d.entry.js.map} +0 -0
- /package/dist/build/{p-a5cca13e.entry.js.map → p-7d2a49cf.entry.js.map} +0 -0
- /package/dist/build/{p-bd2cbf63.entry.js.map → p-7d41f0c5.entry.js.map} +0 -0
- /package/dist/build/{p-b0f468c0.entry.js.map → p-83ea038a.entry.js.map} +0 -0
- /package/dist/build/{p-cb18f4ac.entry.js.map → p-8fabd582.entry.js.map} +0 -0
- /package/dist/build/{p-54bab963.entry.js.map → p-98168797.entry.js.map} +0 -0
- /package/dist/build/{p-12f0b242.entry.js.map → p-99e0e9d2.entry.js.map} +0 -0
- /package/dist/build/{p-19505985.entry.js.map → p-9e5c66ff.entry.js.map} +0 -0
- /package/dist/build/{p-6a92ae6e.entry.js.map → p-bbd76ef5.entry.js.map} +0 -0
- /package/dist/build/{p-a3ad118d.entry.js.map → p-bd5eaba2.entry.js.map} +0 -0
- /package/dist/build/{p-2986ef0a.entry.js.map → p-d179b758.entry.js.map} +0 -0
- /package/dist/build/{p-4d21da5d.entry.js.map → p-d33e06a7.entry.js.map} +0 -0
- /package/dist/build/{p-c27fee4b.entry.js.map → p-d83fbc93.entry.js.map} +0 -0
- /package/dist/build/{p-613c983c.entry.js.map → p-db013038.entry.js.map} +0 -0
- /package/dist/build/{p-2cd3ba5d.entry.js.map → p-e765e24b.entry.js.map} +0 -0
- /package/dist/build/{p-c0b769b4.entry.js.map → p-ef0b1e32.entry.js.map} +0 -0
- /package/dist/build/{p-bfaaeb71.entry.js.map → p-f746ddcd.entry.js.map} +0 -0
- /package/dist/paperless/{p-a9601a00.entry.js.map → p-0233139b.entry.js.map} +0 -0
- /package/dist/paperless/{p-76ec0b7d.entry.js.map → p-0ad14298.entry.js.map} +0 -0
- /package/dist/paperless/{p-c8133f04.entry.js.map → p-0de9a766.entry.js.map} +0 -0
- /package/dist/paperless/{p-74f10d72.entry.js.map → p-0f1c22e7.entry.js.map} +0 -0
- /package/dist/paperless/{p-c39c9780.entry.js.map → p-136616a3.entry.js.map} +0 -0
- /package/dist/paperless/{p-cf2cfa24.entry.js.map → p-1393baed.entry.js.map} +0 -0
- /package/dist/paperless/{p-1a343a7c.entry.js.map → p-184723af.entry.js.map} +0 -0
- /package/dist/paperless/{p-f7cfc0a8.entry.js.map → p-20e29a6d.entry.js.map} +0 -0
- /package/dist/paperless/{p-b4a3fd64.entry.js.map → p-244968bd.entry.js.map} +0 -0
- /package/dist/paperless/{p-4983a0d1.entry.js.map → p-2ccb1a94.entry.js.map} +0 -0
- /package/dist/paperless/{p-4de1ba9d.entry.js.map → p-2fe8062f.entry.js.map} +0 -0
- /package/dist/paperless/{p-adae70ec.entry.js.map → p-30b7ec84.entry.js.map} +0 -0
- /package/dist/paperless/{p-6ba956b0.entry.js.map → p-3b68573b.entry.js.map} +0 -0
- /package/dist/paperless/{p-8f42c8c3.entry.js.map → p-3d53a76a.entry.js.map} +0 -0
- /package/dist/paperless/{p-48c3698b.entry.js.map → p-46bc75a4.entry.js.map} +0 -0
- /package/dist/paperless/{p-1ec7ac2d.entry.js.map → p-475eed3c.entry.js.map} +0 -0
- /package/dist/paperless/{p-38c62293.entry.js.map → p-47b47475.entry.js.map} +0 -0
- /package/dist/paperless/{p-7516f0e3.entry.js.map → p-4b1c71e0.entry.js.map} +0 -0
- /package/dist/paperless/{p-42416c69.entry.js.map → p-4c7d01fd.entry.js.map} +0 -0
- /package/dist/paperless/{p-4ce5a008.entry.js.map → p-59947fa0.entry.js.map} +0 -0
- /package/dist/paperless/{p-cc7bd29f.entry.js.map → p-60581c9f.entry.js.map} +0 -0
- /package/dist/paperless/{p-4c700290.entry.js.map → p-6bc62451.entry.js.map} +0 -0
- /package/dist/paperless/{p-cfd14b04.entry.js.map → p-6f149849.entry.js.map} +0 -0
- /package/dist/paperless/{p-6d3d326d.entry.js.map → p-7af0b50d.entry.js.map} +0 -0
- /package/dist/paperless/{p-a5cca13e.entry.js.map → p-7d2a49cf.entry.js.map} +0 -0
- /package/dist/paperless/{p-bd2cbf63.entry.js.map → p-7d41f0c5.entry.js.map} +0 -0
- /package/dist/paperless/{p-b0f468c0.entry.js.map → p-83ea038a.entry.js.map} +0 -0
- /package/dist/paperless/{p-cb18f4ac.entry.js.map → p-8fabd582.entry.js.map} +0 -0
- /package/dist/paperless/{p-54bab963.entry.js.map → p-98168797.entry.js.map} +0 -0
- /package/dist/paperless/{p-12f0b242.entry.js.map → p-99e0e9d2.entry.js.map} +0 -0
- /package/dist/paperless/{p-19505985.entry.js.map → p-9e5c66ff.entry.js.map} +0 -0
- /package/dist/paperless/{p-6a92ae6e.entry.js.map → p-bbd76ef5.entry.js.map} +0 -0
- /package/dist/paperless/{p-a3ad118d.entry.js.map → p-bd5eaba2.entry.js.map} +0 -0
- /package/dist/paperless/{p-2986ef0a.entry.js.map → p-d179b758.entry.js.map} +0 -0
- /package/dist/paperless/{p-4d21da5d.entry.js.map → p-d33e06a7.entry.js.map} +0 -0
- /package/dist/paperless/{p-c27fee4b.entry.js.map → p-d83fbc93.entry.js.map} +0 -0
- /package/dist/paperless/{p-613c983c.entry.js.map → p-db013038.entry.js.map} +0 -0
- /package/dist/paperless/{p-2cd3ba5d.entry.js.map → p-e765e24b.entry.js.map} +0 -0
- /package/dist/paperless/{p-c0b769b4.entry.js.map → p-ef0b1e32.entry.js.map} +0 -0
- /package/dist/paperless/{p-bfaaeb71.entry.js.map → p-f746ddcd.entry.js.map} +0 -0
- /package/dist/types/components/{deprecated/atoms → atoms}/modal/footer/modal-footer.component.d.ts +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-BLaYz0fg.js';
|
|
2
2
|
|
|
3
|
-
const loaderComponentCss = ".fixed{position:fixed!important}.left-0{left:0!important}.top-0{top:0!important}.box-border{box-sizing:border-box!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-\\[1em\\]{height:1em!important}.w-\\[1em\\]{width:1em!important}.w-full{width:100%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-center{align-items:center!important}.border-2{border-width:2px!important}.border-solid{border-style:solid!important}.border-indigo-light{--tw-border-opacity:1!important;border-color:rgb(241 246 255/var(--tw-border-opacity,1))!important}.border-indigo-light\\/40{border-color:rgba(241,246,255,.4)!important}.border-storm-light\\/40{border-color:rgba(176,178,203,.4)!important}.border-t-storm{--tw-border-opacity:1!important;border-top-color:rgb(81 83 107/var(--tw-border-opacity,1))!important}.border-t-white{--tw-border-opacity:1!important;border-top-color:rgb(255 255 255/var(--tw-border-opacity,1))!important}.ease-in-out{
|
|
3
|
+
const loaderComponentCss = ".fixed{position:fixed!important}.left-0{left:0!important}.top-0{top:0!important}.box-border{box-sizing:border-box!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-\\[1em\\]{height:1em!important}.w-\\[1em\\]{width:1em!important}.w-full{width:100%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-center{align-items:center!important}.border-2{border-width:2px!important}.border-solid{border-style:solid!important}.border-indigo-light{--tw-border-opacity:1!important;border-color:rgb(241 246 255/var(--tw-border-opacity,1))!important}.border-indigo-light\\/40{border-color:rgba(241,246,255,.4)!important}.border-storm-light\\/40{border-color:rgba(176,178,203,.4)!important}.border-t-storm{--tw-border-opacity:1!important;border-top-color:rgb(81 83 107/var(--tw-border-opacity,1))!important}.border-t-white{--tw-border-opacity:1!important;border-top-color:rgb(255 255 255/var(--tw-border-opacity,1))!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.h-screen-safe{height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}*{box-sizing:border-box}:host .loader{--tw-border-opacity:1;animation:spin .5s linear infinite;border-color:rgb(241 246 255/var(--tw-border-opacity,1));border-radius:9999px;border-style:solid;border-top:solid rgb(82 138 250/var(--tw-border-opacity,1));border-width:2px;display:inline-block;height:1em;width:1em;will-change:transform}:host .loader.color-storm{--tw-border-opacity:1!important;border-color:rgba(176,178,203,.4)!important;border-top-color:rgb(81 83 107/var(--tw-border-opacity,1))!important}:host .loader.color-white{--tw-border-opacity:1!important;border-color:rgba(241,246,255,.4)!important;border-top-color:rgb(255 255 255/var(--tw-border-opacity,1))!important}:host .loading-screen{--tw-bg-opacity:1;align-items:center;background-color:rgb(247 250 252/var(--tw-bg-opacity,1));display:flex;height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));justify-content:center;left:0;position:fixed;top:0;width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right));z-index:1001}:host .loading-screen .content{max-width:20rem}:host .loading-screen .content .loader-wrapper{display:flex;justify-content:center;width:100%}:host .loading-screen .content .loader-wrapper .loader{font-size:2.5rem;line-height:3rem}:host(.variant-ghost){--loading-bg:#f7fafc;--loading-stripe:#fcfdfe;animation:loading 1s ease-in-out infinite;background-color:var(--loading-bg);background:linear-gradient(100deg,hsla(0,0%,100%,0) 40%,var(--loading-stripe) 50%,hsla(0,0%,100%,0) 60%) var(--loading-bg);background-position-x:180%;background-size:200% 100%;box-sizing:border-box;display:block;min-height:1em;min-width:1em;will-change:background,background-position-x,background-color}@keyframes loading{to{background-position-x:-20%}}@keyframes spin{to{transform:rotate(1turn)}}.static{position:static!important}.inline{display:inline!important}.justify-center{justify-content:center!important}.text-4xl{font-size:2.5rem!important;line-height:3rem!important}";
|
|
4
4
|
|
|
5
5
|
const Loader = /*@__PURE__*/ proxyCustomElement(class Loader extends H {
|
|
6
6
|
constructor() {
|
|
@@ -87,6 +87,6 @@ function defineCustomElement() {
|
|
|
87
87
|
defineCustomElement();
|
|
88
88
|
|
|
89
89
|
export { Loader as L, defineCustomElement as d };
|
|
90
|
-
//# sourceMappingURL=p-
|
|
90
|
+
//# sourceMappingURL=p-DHB3oMcL.js.map
|
|
91
91
|
|
|
92
|
-
//# sourceMappingURL=p-
|
|
92
|
+
//# sourceMappingURL=p-DHB3oMcL.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-DHB3oMcL.js","mappings":";;AAAA,MAAM,kBAAkB,GAAG,wuGAAwuG;;MCQtvG,MAAM,iBAAAA,kBAAA,CAAA,MAAA,MAAA,SAAAC,CAAA,CAAA;;;;;;AAClB;;AAEG;IACK,IAAI,GAAkC,IAAI;AAElD;;AAEG;IACK,OAAO,GACd,QAAQ;AAET;;AAEG;IACK,KA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,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE;AAClC,YAAA,IAAI,CAAC,eAAe,GAAG,IAAI;;AAG5B,QAAA,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE;YACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,IAAI,EAAE,SAAS,CAAC,IAAI,KAAK,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC;YACxE;;AAGD,QAAA,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/deprecated/atoms/loader/loader.component.scss?tag=p-loader&encapsulation=shadow","src/components/deprecated/atoms/loader/loader.component.tsx"],"sourcesContent":[":host {\n\t.loader {\n\t\t@apply inline-block h-[1em] w-[1em] rounded-full;\n\t\t@apply border-2 border-solid border-indigo-light border-t-indigo;\n\t\tanimation: 500ms spin linear infinite;\n\n\t\twill-change: transform;\n\n\t\t&.color-storm {\n\t\t\t@apply border-storm-light/40 border-t-storm #{!important};\n\t\t}\n\n\t\t&.color-white {\n\t\t\t@apply border-indigo-light/40 border-t-white #{!important};\n\t\t}\n\t}\n\n\t.loading-screen {\n\t\t@apply fixed left-0 top-0 h-screen-safe w-screen-safe;\n\t\t@apply flex items-center justify-center;\n\t\t@apply bg-mystic;\n\n\t\tz-index: 1001;\n\n\t\t.content {\n\t\t\t@apply max-w-xs;\n\n\t\t\t.loader-wrapper {\n\t\t\t\t@apply flex w-full justify-center;\n\n\t\t\t\t.loader {\n\t\t\t\t\t@apply text-4xl;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n:host(.variant-ghost) {\n\t@apply box-border block;\n\n\twill-change: background, background-position-x, background-color;\n\n\tmin-height: 1em;\n\tmin-width: 1em;\n\n\t--loading-bg: #f7fafc;\n\t--loading-stripe: rgba(252, 253, 254, 1);\n\n\tbackground-color: var(--loading-bg);\n\tbackground: linear-gradient(\n\t\t\t100deg,\n\t\t\trgba(255, 255, 255, 0) 40%,\n\t\t\tvar(--loading-stripe) 50%,\n\t\t\trgba(255, 255, 255, 0) 60%\n\t\t)\n\t\tvar(--loading-bg);\n\tbackground-size: 200% 100%;\n\tbackground-position-x: 180%;\n\tanimation: 1s loading ease-in-out infinite;\n}\n\n@keyframes loading {\n\tto {\n\t\tbackground-position-x: -20%;\n\t}\n}\n\n@keyframes spin {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Observable, Subscription } from 'rxjs';\n\n@Component({\n\ttag: 'p-loader',\n\tstyleUrl: 'loader.component.scss',\n\tshadow: true,\n})\nexport class Loader {\n\t/**\n\t * Wether to show or hide the loader\n\t */\n\t@Prop() show: boolean | Observable<boolean> = true;\n\n\t/**\n\t * Variant of loader\n\t */\n\t@Prop() variant: 'inline' | 'full-width' | 'full-screen' | 'modal' | 'ghost' =\n\t\t'inline';\n\n\t/**\n\t * Color of the loader\n\t */\n\t@Prop() color: 'indigo' | 'white' | 'storm' = 'indigo';\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal title for modal variant\n\t */\n\t@Prop() modalTitle: string;\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal description for modal variant\n\t */\n\t@Prop() modalDescription: string;\n\n\tprivate _show: boolean | Observable<boolean> = false;\n\tprivate _showSubscriber: Subscription;\n\n\tcomponendDidLoad() {\n\t\tthis._show = this.show;\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._checkShow();\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._checkShow();\n\t}\n\n\trender() {\n\t\tif (!this._show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.variant === 'ghost') {\n\t\t\treturn <Host class='p-loader variant-ghost'></Host>;\n\t\t}\n\n\t\tconst loader = <div class={`loader color-${this.color}`}></div>;\n\n\t\tif (this.variant === 'full-screen') {\n\t\t\treturn (\n\t\t\t\t<Host class='p-loader variant-full-screen'>\n\t\t\t\t\t<div class='loading-screen'>\n\t\t\t\t\t\t<div class='content'>\n\t\t\t\t\t\t\t<slot />\n\n\t\t\t\t\t\t\t<div class='loader-wrapper'>{loader}</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</Host>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-loader variant-default flex ${\n\t\t\t\t\tthis.variant === 'full-width' && 'flex w-full justify-center text-4xl'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{loader}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkShow() {\n\t\tif (this._showSubscriber) {\n\t\t\tthis._showSubscriber.unsubscribe();\n\t\t\tthis._showSubscriber = null;\n\t\t}\n\n\t\tif (typeof this.show !== 'boolean') {\n\t\t\tthis._showSubscriber = this.show?.subscribe(show => (this._show = show));\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show = this.show;\n\t}\n}\n"],"version":3}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BLaYz0fg.js';
|
|
2
|
+
|
|
3
|
+
const drawerContainerComponentCss = ".z-drawer{z-index:500!important}.flex{display:flex!important}.w-full{width:100%!important}.shadow-3{--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}*{box-sizing:border-box}p-drawer-container{--tw-bg-opacity:1;--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;animation:slideInRight .5s ease forwards;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;min-height:100vh;width:100%;z-index:500}@media (min-width:40rem){p-drawer-container{width:22.5rem}}p-drawer-container.closing{animation:slideOutRight .2s ease forwards}@media (min-width:40rem){.tablet\\:w-\\[22\\.5rem\\]{width:22.5rem!important}}.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}}";
|
|
4
|
+
|
|
5
|
+
const ModalContainer = /*@__PURE__*/ proxyCustomElement(class ModalContainer extends H {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Wether the container is closing
|
|
12
|
+
*/
|
|
13
|
+
closing = false;
|
|
14
|
+
render() {
|
|
15
|
+
return (h(Host, { key: '98de0020bcd9059674a411382a17fe5d6b967207', class: `p-drawer-container ${this.closing && 'closing'}` }, h("slot", { key: 'e6f60084157d057683411dcb12e7ae448f7dc3f6' })));
|
|
16
|
+
}
|
|
17
|
+
static get style() { return drawerContainerComponentCss; }
|
|
18
|
+
}, [4, "p-drawer-container", {
|
|
19
|
+
"closing": [4]
|
|
20
|
+
}]);
|
|
21
|
+
function defineCustomElement() {
|
|
22
|
+
if (typeof customElements === "undefined") {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
const components = ["p-drawer-container"];
|
|
26
|
+
components.forEach(tagName => { switch (tagName) {
|
|
27
|
+
case "p-drawer-container":
|
|
28
|
+
if (!customElements.get(tagName)) {
|
|
29
|
+
customElements.define(tagName, ModalContainer);
|
|
30
|
+
}
|
|
31
|
+
break;
|
|
32
|
+
} });
|
|
33
|
+
}
|
|
34
|
+
defineCustomElement();
|
|
35
|
+
|
|
36
|
+
export { ModalContainer as M, defineCustomElement as d };
|
|
37
|
+
//# sourceMappingURL=p-DUKg6G2_.js.map
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=p-DUKg6G2_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-DUKg6G2_.js","mappings":";;AAAA,MAAM,2BAA2B,GAAG,k9DAAk9D;;MCYz+D,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;;;;;AAC1B;;AAEG;IACK,OAAO,GAAY,KAAK;IAEhC,MAAM,GAAA;AACL,QAAA,QACC,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAE,CAAA,mBAAA,EAAsB,IAAI,CAAC,OAAO,IAAI,SAAS,CAAE,CAAA,EAAA,EAC7D,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/deprecated/atoms/drawer/container/drawer-container.component.scss?tag=p-drawer-container","src/components/deprecated/atoms/drawer/container/drawer-container.component.tsx"],"sourcesContent":["p-drawer-container {\n\t@apply z-drawer flex flex-col;\n\t// tablet:w-[22.5rem]\n\t@apply w-full tablet:w-[22.5rem];\n\t@apply bg-white;\n\t@apply min-h-screen;\n\t@apply animate-slide-in-right;\n\n\t@apply shadow-3 #{!important};\n\n\t&.closing {\n\t\t@apply animate-slide-out-right;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n// $drawer-xs: 20rem;\n// $drawer-sm: 33.5rem;\n// $drawer-md: 38rem;\n// $drawer-lg: 47.5rem;\n// $drawer-xl: 57.5rem;\n\n@Component({\n\ttag: 'p-drawer-container',\n\tstyleUrl: 'drawer-container.component.scss',\n})\nexport class ModalContainer {\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-drawer-container ${this.closing && 'closing'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-BLaYz0fg.js';
|
|
2
2
|
import { o as objectGetByPath, g as getTableCellColumnClasses } from './p-DiFV-QTl.js';
|
|
3
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$1 } from './p-DHB3oMcL.js';
|
|
4
4
|
|
|
5
5
|
const tableCellComponentCss = ".gap-4{gap:1rem!important}*{box-sizing:border-box}p-table-cell{align-items:center;gap:1rem}.static{position:static!important}.flex{display:flex!important}.table{display:table!important}.table-cell{display:table-cell!important}.h-6{height:1.5rem!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}";
|
|
6
6
|
|
|
@@ -59,7 +59,7 @@ const TableCell = /*@__PURE__*/ proxyCustomElement(class TableCell extends H {
|
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { key: '
|
|
62
|
+
return (h(Host, { key: '1a803ae2deb32115449f9ec30482d0fc16a6098b', class: {
|
|
63
63
|
'p-table-cell': true,
|
|
64
64
|
[`variant-${this.variant}`]: true,
|
|
65
65
|
...this._getColumnClasses(),
|
|
@@ -115,6 +115,6 @@ function defineCustomElement() {
|
|
|
115
115
|
defineCustomElement();
|
|
116
116
|
|
|
117
117
|
export { TableCell as T, defineCustomElement as d };
|
|
118
|
-
//# sourceMappingURL=p-
|
|
118
|
+
//# sourceMappingURL=p-DbwQXaac.js.map
|
|
119
119
|
|
|
120
|
-
//# sourceMappingURL=p-
|
|
120
|
+
//# sourceMappingURL=p-DbwQXaac.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-DbwQXaac.js","mappings":";;;;AAAA,MAAM,qBAAqB,GAAG,yfAAyf;;MCyE1gB,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;;;;;AACrB;;AAEG;IACK,OAAO,GAAiD,SAAS;AAEzE;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;AACK,IAAA,QAAQ;AAEhB;;AAEG;AACK,IAAA,UAAU;AAElB;;AAEG;AACK,IAAA,IAAI;AAEZ;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;IACK,eAAe,GAAY,KAAK;AAExC;;AAEG;AACK,IAAA,QAAQ;AAEhB;;AAEG;IACK,QAAQ,GAAgC,CAAC,EAChD,KAAK,GACgB,KAAK,KAAK;AAEhC,IAAA,IAAI,IAAI,GAAA;AACP,QAAA,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ,EAAE;YAC9B,OAAO;gBACN,KAAK,EAAE,IAAI,CAAC,KAAK;aACjB;;QAGF,OAAO;AACN,YAAA,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC;YACrE,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;SACvB;;IAGF,MAAM,GAAA;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AAe,CACpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/deprecated/molecules/table/cell/table-cell.component.scss?tag=p-table-cell","src/components/deprecated/molecules/table/cell/table-cell.component.tsx"],"sourcesContent":["p-table-cell {\n\t@apply gap-4 items-center;\n\n\t// TODO: Remove this\n\t// @import '../../../style/form/checkbox';\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport {\n\tTableDefinitionData,\n\tTableDefinitionTemplateFunc,\n} from '../../../../../types';\nimport {\n\tobjectGetByPath,\n\tgetTableCellColumnClasses,\n} from '../../../../../utils';\n\nimport { TableColumn } from '../../../../helpers/table/column/table-column.component';\n\n/*\n With this, we shall hack the system in ways no one would ever have thought.\n\n\t <div class=\"justify-start justify-center justify-end\"></div>\n\t <div class=\"font-semibold text-storm-dark\"></div>\n <div class=\"w-1/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12 w-9/12 w-10/12 w-11/12 w-12/12\"></div>\n <div class=\"tablet:w-1/12 tablet:w-2/12 tablet:w-3/12 tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12 tablet:w-9/12 tablet:w-10/12 tablet:w-11/12 tablet:w-12/12\"></div>\n <div class=\"desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12\"></div>\n <div class=\"desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12\"></div>\n <div class=\"desktop-sm:w-1/12 desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12 desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12 desktop-sm:w-10/12 desktop-sm:w-11/12 desktop-sm:w-12/12\"></div>\n <div class=\"desktop:w-1/12 desktop:w-2/12 desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12 desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-10/12 desktop:w-11/12 desktop:w-12/12\"></div>\n <div class=\"desktop-lg:w-1/12 desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12 desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12 desktop-lg:w-10/12 desktop-lg:w-11/12 desktop-lg:w-12/12\"></div>\n <div class=\"desktop-xl:w-1/12 desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12 desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12 desktop-xl:w-10/12 desktop-xl:w-11/12 desktop-xl:w-12/12\"></div>\n <div class=\"hidden flex group-hover:hidden group-hover:flex\"></div>\n <div class=\"tablet:hidden tablet:flex tablet:group-hover:hidden tablet:group-hover:flex\"></div>\n <div class=\"desktop-xs:hidden desktop-xs:flex desktop-xs:group-hover:hidden desktop-xs:group-hover:flex\"></div>\n <div class=\"desktop-sm:hidden desktop-sm:flex desktop-sm:group-hover:hidden desktop-sm:group-hover:flex\"></div>\n <div class=\"desktop:hidden desktop:flex desktop:group-hover:hidden desktop:group-hover:flex\"></div>\n <div class=\"desktop-lg:hidden desktop-lg:flex desktop-lg:group-hover:hidden desktop-lg:group-hover:flex\"></div>\n <div class=\"desktop-xl:hidden desktop-xl:flex desktop-xl:group-hover:hidden desktop-xl:group-hover:flex\"></div>\n <div class=\"pr-4 pr-0\"></div>\n <div class=\"tablet:pr-4 tablet:pr-0\"></div>\n <div class=\"desktop-xs:pr-4 desktop-xs:pr-0\"></div>\n <div class=\"desktop-sm:pr-4 desktop-sm:pr-0\"></div>\n <div class=\"desktop:pr-4 desktop:pr-0\"></div>\n <div class=\"desktop-lg:pr-4 desktop-lg:pr-0\"></div>\n <div class=\"desktop-xl:pr-4 desktop-xl:pr-0\"></div>\n\n\n ⠀⠀⠀⠀⠀⣠⣴⣶⣿⣿⠿⣷⣶⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣶⣷⠿⣿⣿⣶⣦⣀⠀⠀⠀⠀⠀\n ⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⣿⣿⣶⣦⣬⡉⠒⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠚⢉⣥⣴⣾⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀\n ⠀⠀⠀⡾⠿⠛⠛⠛⠛⠿⢿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣿⣿⣿⣿⣿⠿⠿⠛⠛⠛⠛⠿⢧⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⣿⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⣠⣤⠶⠶⠶⠰⠦⣤⣀⠀⠙⣷⠀⠀⠀⠀⠀⠀⠀⢠⡿⠋⢀⣀⣤⢴⠆⠲⠶⠶⣤⣄⠀⠀⠀⠀⠀⠀⠀\n ⠀⠘⣆⠀⠀⢠⣾⣫⣶⣾⣿⣿⣿⣿⣷⣯⣿⣦⠈⠃⡇⠀⠀⠀⠀⢸⠘⢁⣶⣿⣵⣾⣿⣿⣿⣿⣷⣦⣝⣷⡄⠀⠀⡰⠂⠀\n ⠀⠀⣨⣷⣶⣿⣧⣛⣛⠿⠿⣿⢿⣿⣿⣛⣿⡿⠀⠀⡇⠀⠀⠀⠀⢸⠀⠈⢿⣟⣛⠿⢿⡿⢿⢿⢿⣛⣫⣼⡿⣶⣾⣅⡀⠀\n ⢀⡼⠋⠁⠀⠀⠈⠉⠛⠛⠻⠟⠸⠛⠋⠉⠁⠀⠀⢸⡇⠀⠀⠄⠀⢸⡄⠀⠀⠈⠉⠙⠛⠃⠻⠛⠛⠛⠉⠁⠀⠀⠈⠙⢧⡀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⡇⢠⠀⠀⠀⢸⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡇⠀⠀⠀⠀⢸⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠟⠁⣿⠇⠀⠀⠀⠀⢸⡇⠙⢿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠰⣄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⠖⡾⠁⠀⠀⣿⠀⠀⠀⠀⠀⠘⣿⠀⠀⠙⡇⢸⣷⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠄⠀\n ⠀⠀⢻⣷⡦⣤⣤⣤⡴⠶⠿⠛⠉⠁⠀⢳⠀⢠⡀⢿⣀⠀⠀⠀⠀⣠⡟⢀⣀⢠⠇⠀⠈⠙⠛⠷⠶⢦⣤⣤⣤⢴⣾⡏⠀⠀\n ⠀⠀⠈⣿⣧⠙⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠘⠛⢊⣙⠛⠒⠒⢛⣋⡚⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⡿⠁⣾⡿⠀⠀⠀\n ⠀⠀⠀⠘⣿⣇⠈⢿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⡿⢿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⡟⠁⣼⡿⠁⠀⠀⠀\n ⠀⠀⠀⠀⠘⣿⣦⠀⠻⣿⣷⣦⣤⣤⣶⣶⣶⣿⣿⣿⣿⠏⠀⠀⠻⣿⣿⣿⣿⣶⣶⣶⣦⣤⣴⣿⣿⠏⢀⣼⡿⠁⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠘⢿⣷⣄⠙⠻⠿⠿⠿⠿⠿⢿⣿⣿⣿⣁⣀⣀⣀⣀⣙⣿⣿⣿⠿⠿⠿⠿⠿⠿⠟⠁⣠⣿⡿⠁⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠈⠻⣯⠙⢦⣀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⣠⠴⢋⣾⠟⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠙⢧⡀⠈⠉⠒⠀⠀⠀⠀⠀⠀⣀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠐⠒⠉⠁⢀⡾⠃⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⣠⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢦⡀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⢀⡴⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀\n */\n@Component({\n\ttag: 'p-table-cell',\n\tstyleUrl: 'table-cell.component.scss',\n})\nexport class TableCell {\n\t/**\n\t * The variant of the column\n\t */\n\t@Prop() variant: 'default' | 'loading' | 'header' | 'actions' = 'default';\n\n\t/**\n\t * The index of the column\n\t */\n\t@Prop() index: number;\n\n\t/**\n\t * The index of the row\n\t */\n\t@Prop() rowIndex: number;\n\n\t/**\n\t * The definition of the table column\n\t */\n\t@Prop() definition?: TableColumn;\n\n\t/**\n\t * The item in question\n\t */\n\t@Prop() item: any;\n\n\t/**\n\t * The value of the column\n\t */\n\t@Prop() value: any;\n\n\t/**\n\t * Wether the table has actions\n\t */\n\t@Prop() tableHasActions: boolean = false;\n\n\t/**\n\t * The checkbox to show\n\t */\n\t@Prop() checkbox: any;\n\n\t/**\n\t * The template to show\n\t */\n\t@Prop() template: TableDefinitionTemplateFunc = ({\n\t\tvalue,\n\t}: TableDefinitionData) => value;\n\n\tget data(): TableDefinitionData | { value: string } {\n\t\tif (this.variant === 'header') {\n\t\t\treturn {\n\t\t\t\tvalue: this.value,\n\t\t\t};\n\t\t}\n\n\t\treturn {\n\t\t\tvalue: this.value ?? objectGetByPath(this.item, this.definition.path),\n\t\t\titem: this.item,\n\t\t\tindex: this.index,\n\t\t\trowIndex: this.rowIndex,\n\t\t};\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={{\n\t\t\t\t\t'p-table-cell': true,\n\t\t\t\t\t[`variant-${this.variant}`]: true,\n\t\t\t\t\t...this._getColumnClasses(),\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{this.checkbox}\n\n\t\t\t\t{this._getContent()}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getContent() {\n\t\tif (this.variant === 'loading') {\n\t\t\treturn (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-full flex-1 rounded'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tif (this.variant === 'actions') {\n\t\t\treturn <slot name='actions'></slot>;\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={{\n\t\t\t\t\tflex: true,\n\t\t\t\t\t'justify-start': this.definition.align === 'start',\n\t\t\t\t\t'justify-center': this.definition.align === 'center',\n\t\t\t\t\t'justify-end': this.definition.align === 'end',\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{this.variant === 'header' ? (\n\t\t\t\t\tthis.data.value\n\t\t\t\t) : this.definition.useSlot ? (\n\t\t\t\t\t<slot />\n\t\t\t\t) : (\n\t\t\t\t\tthis.template(this.data as TableDefinitionData)\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getColumnClasses() {\n\t\treturn getTableCellColumnClasses(\n\t\t\tthis.definition,\n\t\t\tthis.variant,\n\t\t\tthis.tableHasActions\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BLaYz0fg.js';
|
|
2
|
+
import { a as cva } from './p-DtNXXDfQ.js';
|
|
3
|
+
import { a as asBoolean } from './p-C5CTp9IA.js';
|
|
4
|
+
|
|
5
|
+
const modalContainerComponentCss = ".animate-slide-in-bottom{animation:slideInBottom .5s ease forwards!important}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards!important}*{box-sizing:border-box}p-modal-container{&.opening{animation:slideInBottom .5s ease forwards!important}@media (min-width:64rem){&.opening{animation:slideInBottomSmall .5s ease forwards!important}}&.closing{animation:slideOutBottom .5s ease forwards!important}@media (min-width:64rem){&.closing{animation:slideOutBottomSmall .5s ease forwards!important}}}@media (min-width:64rem){.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards!important}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards!important}}.static{position:static!important}.z-modal{z-index:600!important}.flex{display:flex!important}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08)!important;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.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}}@media (min-width:40rem){.tablet\\:max-w-\\[35rem\\]{max-width:35rem!important}.tablet\\:max-w-\\[40rem\\]{max-width:40rem!important}.tablet\\:max-w-\\[45rem\\]{max-width:45rem!important}.tablet\\:max-w-\\[65rem\\]{max-width:65rem!important}}@media (min-width:64rem){.desktop-xs\\:m-auto{margin:auto!important}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}";
|
|
6
|
+
|
|
7
|
+
const container = cva([
|
|
8
|
+
'p-modal-container flex-1 min-w-0',
|
|
9
|
+
'z-modal flex flex-col',
|
|
10
|
+
'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',
|
|
11
|
+
'desktop-xs:m-auto',
|
|
12
|
+
'max-h-[calc(100dvh-4rem)]',
|
|
13
|
+
'shadow-modal',
|
|
14
|
+
], {
|
|
15
|
+
variants: {
|
|
16
|
+
size: {
|
|
17
|
+
base: 'tablet:max-w-[35rem]',
|
|
18
|
+
lg: 'tablet:max-w-[40rem]',
|
|
19
|
+
xl: 'tablet:max-w-[45rem]',
|
|
20
|
+
'2xl': 'tablet:max-w-[65rem]',
|
|
21
|
+
},
|
|
22
|
+
closing: {
|
|
23
|
+
false: 'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small opening',
|
|
24
|
+
true: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small closing',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
});
|
|
28
|
+
const ModalContainer = /*@__PURE__*/ proxyCustomElement(class ModalContainer extends H {
|
|
29
|
+
constructor() {
|
|
30
|
+
super();
|
|
31
|
+
this.__registerHost();
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* The size of the modal container
|
|
35
|
+
*/
|
|
36
|
+
size = 'base';
|
|
37
|
+
/**
|
|
38
|
+
* Wether the container is closing
|
|
39
|
+
*/
|
|
40
|
+
closing = false;
|
|
41
|
+
render() {
|
|
42
|
+
return (h(Host, { key: '75c7f8c861fe5f39498c0eadb66aa8805e6bc060', class: container({
|
|
43
|
+
size: this.size,
|
|
44
|
+
closing: asBoolean(this.closing),
|
|
45
|
+
}) }, h("slot", { key: '051814ede5f88480bb3804bbca4b319a89dcf005' })));
|
|
46
|
+
}
|
|
47
|
+
static get style() { return modalContainerComponentCss; }
|
|
48
|
+
}, [4, "p-modal-container", {
|
|
49
|
+
"size": [1],
|
|
50
|
+
"closing": [4]
|
|
51
|
+
}]);
|
|
52
|
+
function defineCustomElement() {
|
|
53
|
+
if (typeof customElements === "undefined") {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const components = ["p-modal-container"];
|
|
57
|
+
components.forEach(tagName => { switch (tagName) {
|
|
58
|
+
case "p-modal-container":
|
|
59
|
+
if (!customElements.get(tagName)) {
|
|
60
|
+
customElements.define(tagName, ModalContainer);
|
|
61
|
+
}
|
|
62
|
+
break;
|
|
63
|
+
} });
|
|
64
|
+
}
|
|
65
|
+
defineCustomElement();
|
|
66
|
+
|
|
67
|
+
export { ModalContainer as M, defineCustomElement as d };
|
|
68
|
+
//# sourceMappingURL=p-DhkrVXeB.js.map
|
|
69
|
+
|
|
70
|
+
//# sourceMappingURL=p-DhkrVXeB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-DhkrVXeB.js","mappings":";;;;AAAA,MAAM,0BAA0B,GAAG,20FAA20F;;ACI92F,MAAM,SAAS,GAAG,GAAG,CACpB;IACC,kCAAkC;IAElC,uBAAuB;IACvB,uDAAuD;IAEvD,mBAAmB;IACnB,2BAA2B;IAE3B,cAAc;CACd,EACD;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,IAAI,EAAE;AACL,YAAA,IAAI,EAAE,sBAAsB;AAC5B,YAAA,EAAE,EAAE,sBAAsB;AAC1B,YAAA,EAAE,EAAE,sBAAsB;AAC1B,YAAA,KAAK,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,OAAO,EAAE;AACR,YAAA,KAAK,EACJ,0EAA0E;AAC3E,YAAA,IAAI,EAAE,4EAA4E;AAClF,SAAA;AACD,KAAA;AACD,CAAA,CACD;MAMY,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;;;;;AAC1B;;AAEG;IACK,IAAI,GAAiC,MAAM;AAEnD;;AAEG;IACK,OAAO,GAAY,KAAK;IAEhC,MAAM,GAAA;AACL,QAAA,QACC,CAAC,CAAA,IAAI,qDACJ,KAAK,EAAE,SAAS,CAAC;gBAChB,IAAI,EAAE,IAAI,CAAC,IAAI;AACf,gBAAA,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;AAChC,aAAA,CAAC,EAAA,EAEF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container","src/components/atoms/modal/container/modal-container.component.tsx"],"sourcesContent":["p-modal-container {\n\t&.opening {\n\t\t@apply animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small !important;\n\t}\n\n\t&.closing {\n\t\t@apply animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small !important;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst container = cva(\n\t[\n\t\t'p-modal-container flex-1 min-w-0',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'desktop-xs:m-auto',\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[40rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small opening',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small closing',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={container({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-BLaYz0fg.js';
|
|
2
2
|
import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './p-DGLCmOXW.js';
|
|
3
3
|
import { a as cva } from './p-DtNXXDfQ.js';
|
|
4
|
-
import { d as defineCustomElement$1 } from './p
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-ByT0XK4K.js';
|
|
5
5
|
|
|
6
6
|
const tooltipComponentCss = "*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-tooltip{z-index:601!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-inherit{height:inherit!important}.w-\\[2px\\]{width:2px!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.w-max{width:max-content!important}.max-w-\\[14\\.5rem\\]{max-width:14.5rem!important}.max-w-full{max-width:100%!important}.cursor-pointer{cursor:pointer!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.bg-black-teal{--tw-bg-opacity:1!important;background-color:rgb(3 42 36/var(--tw-bg-opacity,1))!important}.bg-negative-red{background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-negative-red,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}.blur{--tw-blur:blur(8px)!important}.blur,.drop-shadow-3{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))!important}.transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}";
|
|
7
7
|
|
|
@@ -115,19 +115,19 @@ const Tooltip = /*@__PURE__*/ proxyCustomElement(class Tooltip extends H {
|
|
|
115
115
|
ref: el => this._load(el),
|
|
116
116
|
};
|
|
117
117
|
let tooltip;
|
|
118
|
-
const tooltipElement = (h("div", { key: '
|
|
118
|
+
const tooltipElement = (h("div", { key: 'e201791f56b4a178d75c28a53b6ab0925504b7c1', class: popover({
|
|
119
119
|
variant: this.variant,
|
|
120
120
|
strategy: this.usePortal ? 'none' : this.strategy,
|
|
121
|
-
}), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '
|
|
121
|
+
}), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '80e70db36516ffecf5715b1e772645013a22c430', class: 'flex gap-2' }, this.variant === 'error' && (h("div", { key: '74d7a02348d846c8d29811b7e3766e817d611654', class: 'w-[2px] bg-negative-red' })), this.content ? this.content : h("slot", { name: 'content' }))));
|
|
122
122
|
if (this.usePortal) {
|
|
123
|
-
tooltip = (h("p-portal", { key: '
|
|
123
|
+
tooltip = (h("p-portal", { key: '001305dabff0b6ed9fa7921b4525d33201aee72a', class: portal({
|
|
124
124
|
strategy: this.strategy,
|
|
125
125
|
}), ...tooltipProps }, tooltipElement));
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
tooltip = tooltipElement;
|
|
129
129
|
}
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: 'e1dc535e35d3d6fcaa69ade05c188065e3223058', class: 'p-popover flex cursor-pointer' }, h("div", { key: '84e805f2ac925906b122f23629b39b3e048ad8cb', class: 'relative h-inherit w-inherit' }, h("slot", { key: 'eddb23c2e292a9636a43f33d4487aecd3c0ee868', name: 'trigger' }), tooltip)));
|
|
131
131
|
}
|
|
132
132
|
clickHandler() {
|
|
133
133
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -263,6 +263,6 @@ function defineCustomElement() {
|
|
|
263
263
|
defineCustomElement();
|
|
264
264
|
|
|
265
265
|
export { Tooltip as T, defineCustomElement as d };
|
|
266
|
-
//# sourceMappingURL=p-
|
|
266
|
+
//# sourceMappingURL=p-DpSAOvtA.js.map
|
|
267
267
|
|
|
268
|
-
//# sourceMappingURL=p-
|
|
268
|
+
//# sourceMappingURL=p-DpSAOvtA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-DI2Fs1EY.js","mappings":";;;;;AAAA,MAAM,mBAAmB,GAAG,+oEAA+oE;;ACsB3qE,MAAM,OAAO,GAAG,GAAG,CAClB;IACC,mBAAmB;IACnB,SAAS;IACT,4CAA4C;IAC5C,YAAY;IAEZ,WAAW;IACX,qBAAqB;CACrB,EACD;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,KAAK,EAAE,+BAA+B;AACtC,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,KAAK,EAAE,mBAAmB;AAC1B,SAAA;AACD,QAAA,QAAQ,EAAE;AACT,YAAA,IAAI,EAAE,IAAI;AACV,Y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AAGhB,IAAA,KAAK,CAAC,OAAoB,EAAA;AACjC,QAAA,IAAI,CAAC,QAAQ,GAAG,OAAO;QAEvB,IAAI,OAAO,EAAE;YACZ,IAAI,CAAC,OAAO,EAAE;AACd,YAAA,IAAI,CAAC,OAAO,GAAG,IAAI;AAEnB,YAAA,IAAI,IAAI,CAAC,IAAI,EAAE;gBACd,UAAU,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,EAAE,GAAG,CAAC;;;;IAK9B,OAAO,GAAA;AACd,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YACnB;;QAGD,eAAe,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxC,SAAS,EACR,IAAI,CAAC,OAAO,KAAK,OAAO,IAAI,CAAC,IAAI,CAAC;AACjC,kBAAE;AACF,kBAAE,IAAI,CAAC,SAAS,IAAI,KAAK;YAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;AAEvB,YAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC;AAClD,SAAA,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,KAAI;YAC/B,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS;YAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;gBAClC,GAAG,EAAE,CAAG,EAAA,CAAC,CAAI,EAAA,CAAA;gBACb,IAAI,EAAE,CAAG,EAAA,CAAC,CAAI,EAAA,CAAA;AACd,aAAA,CAAC;AACH,SAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/tooltip/tooltip.component.css?tag=p-tooltip&encapsulation=shadow","src/components/atoms/tooltip/tooltip.component.tsx"],"sourcesContent":["","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst popover = cva(\n\t[\n\t\t'inline-block px-2',\n\t\t'text-xs',\n\t\t'opacity-0 drop-shadow-3 transition-opacity',\n\t\t'rounded-lg',\n\n\t\t'z-tooltip',\n\t\t'pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\thover: 'bg-black-teal text-white py-1',\n\t\t\t\tclick: null,\n\t\t\t\terror: 'max-w-full w-full',\n\t\t\t},\n\t\t\tstrategy: {\n\t\t\t\tnone: null,\n\t\t\t\tfixed: 'fixed',\n\t\t\t\tabsolute: 'absolute',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tvariant: ['hover', 'click'],\n\t\t\t\tclass: 'max-w-[14.5rem] w-max',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['click', 'error'],\n\t\t\t\tclass: 'bg-white text-black-teal-300 py-2',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst portal = cva('', {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tfixed: 'fixed',\n\t\t\tabsolute: 'absolute',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-tooltip',\n\tstyleUrl: 'tooltip.component.css',\n\tshadow: true,\n})\nexport class Tooltip {\n\t/**\n\t * The variant of the popover\n\t */\n\t@Prop() variant: 'hover' | 'click' | 'error' = 'hover';\n\n\t/**\n\t * The content of the popover\n\t */\n\t@Prop() content: any = null;\n\n\t/**\n\t * The placement of the popover\n\t */\n\t@Prop() placement: Placement;\n\n\t/**\n\t * The offset of the popover\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether the tooltip can be shown by user input\n\t */\n\t@Prop() enableUserInput: boolean = true;\n\n\t/**\n\t * Wether to show the popover\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the tooltip\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to someone can manually close the popover\n\t */\n\t@Prop() canManuallyClose: boolean = true;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasContentSlot = false;\n\n\tprivate _loaded = false;\n\tprivate _popover: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentWillLoad() {\n\t\tthis._hasContentSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"content\"]'\n\t\t);\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\tconst tooltipProps = {\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\tref: el => this._load(el),\n\t\t};\n\n\t\tlet tooltip: HTMLElement;\n\n\t\tconst tooltipElement = (\n\t\t\t<div\n\t\t\t\tclass={popover({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tstrategy: this.usePortal ? 'none' : this.strategy,\n\t\t\t\t})}\n\t\t\t\t{...(this.usePortal ? {} : tooltipProps)}\n\t\t\t>\n\t\t\t\t<div class='flex gap-2'>\n\t\t\t\t\t{this.variant === 'error' && (\n\t\t\t\t\t\t<div class='w-[2px] bg-negative-red'></div>\n\t\t\t\t\t)}\n\t\t\t\t\t{this.content ? this.content : <slot name='content' />}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.usePortal) {\n\t\t\ttooltip = (\n\t\t\t\t<p-portal\n\t\t\t\t\tclass={portal({\n\t\t\t\t\t\tstrategy: this.strategy,\n\t\t\t\t\t})}\n\t\t\t\t\t{...tooltipProps}\n\t\t\t\t>\n\t\t\t\t\t{tooltipElement}\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\ttooltip = tooltipElement;\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-popover flex cursor-pointer'>\n\t\t\t\t<div class='relative h-inherit w-inherit'>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t\t{tooltip}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\tprotected clickHandler() {\n\t\tif (this.variant === 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler() {\n\t\tif (this.variant === 'hover' || !this.canManuallyClose || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Listen('mouseenter')\n\t@Listen('focus')\n\tprotected mouseEnterHandler() {\n\t\tif (this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('mouseleave')\n\t@Listen('blur')\n\tprotected mouseLeaveHandler() {\n\t\tif (this.show || this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Watch('show')\n\tonShowChange(show: boolean) {\n\t\tif (show && !this._popover.hasAttribute('data-show')) {\n\t\t\treturn this._show();\n\t\t}\n\n\t\treturn this._hide();\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.content?.length && !this._hasContentSlot) {\n\t\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\t\tthis._hide();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._popover, () => this._update());\n\t\t// Make the popover visible\n\t\tthis._popover.setAttribute('data-show', '');\n\n\t\tthis._popover.classList.remove('opacity-0', 'pointer-events-none');\n\t\tthis._popover.classList.add('opacity-100', 'pointer-events-auto');\n\n\t\t// Update its position\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._popover.removeAttribute('data-show');\n\n\t\tthis._popover.classList.remove('opacity-100', 'pointer-events-auto');\n\t\tthis._popover.classList.add('opacity-0', 'pointer-events-none');\n\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._popover = popover;\n\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _update() {\n\t\tif (!this._popover) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._popover, {\n\t\t\tplacement:\n\t\t\t\tthis.variant === 'error' && !this.placement\n\t\t\t\t\t? 'bottom-start'\n\t\t\t\t\t: this.placement ?? 'top',\n\t\t\tstrategy: this.strategy,\n\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._popover.dataset.placement = placement;\n\t\t\tObject.assign(this._popover.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: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AC,EAAE,CAAC,EAAE,SAAS,EAAE,KAAI;YAC/B,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS;YAC3C,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;gBAClC,GAAG,EAAE,CAAG,EAAA,CAAC,CAAI,EAAA,CAAA;gBACb,IAAI,EAAE,CAAG,EAAA,CAAC,CAAI,EAAA,CAAA;AACd,aAAA,CAAC;AACH,SAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/tooltip/tooltip.component.css?tag=p-tooltip&encapsulation=shadow","src/components/atoms/tooltip/tooltip.component.tsx"],"sourcesContent":["","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst popover = cva(\n\t[\n\t\t'inline-block px-2',\n\t\t'text-xs',\n\t\t'opacity-0 drop-shadow-3 transition-opacity',\n\t\t'rounded-lg',\n\n\t\t'z-tooltip',\n\t\t'pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\thover: 'bg-black-teal text-white py-1',\n\t\t\t\tclick: null,\n\t\t\t\terror: 'max-w-full w-full',\n\t\t\t},\n\t\t\tstrategy: {\n\t\t\t\tnone: null,\n\t\t\t\tfixed: 'fixed',\n\t\t\t\tabsolute: 'absolute',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tvariant: ['hover', 'click'],\n\t\t\t\tclass: 'max-w-[14.5rem] w-max',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['click', 'error'],\n\t\t\t\tclass: 'bg-white text-black-teal-300 py-2',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst portal = cva('', {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tfixed: 'fixed',\n\t\t\tabsolute: 'absolute',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-tooltip',\n\tstyleUrl: 'tooltip.component.css',\n\tshadow: true,\n})\nexport class Tooltip {\n\t/**\n\t * The variant of the popover\n\t */\n\t@Prop() variant: 'hover' | 'click' | 'error' = 'hover';\n\n\t/**\n\t * The content of the popover\n\t */\n\t@Prop() content: any = null;\n\n\t/**\n\t * The placement of the popover\n\t */\n\t@Prop() placement: Placement;\n\n\t/**\n\t * The offset of the popover\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether the tooltip can be shown by user input\n\t */\n\t@Prop() enableUserInput: boolean = true;\n\n\t/**\n\t * Wether to show the popover\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the tooltip\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to someone can manually close the popover\n\t */\n\t@Prop() canManuallyClose: boolean = true;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasContentSlot = false;\n\n\tprivate _loaded = false;\n\tprivate _popover: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentWillLoad() {\n\t\tthis._hasContentSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"content\"]'\n\t\t);\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\tconst tooltipProps = {\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\tref: el => this._load(el),\n\t\t};\n\n\t\tlet tooltip: HTMLElement;\n\n\t\tconst tooltipElement = (\n\t\t\t<div\n\t\t\t\tclass={popover({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tstrategy: this.usePortal ? 'none' : this.strategy,\n\t\t\t\t})}\n\t\t\t\t{...(this.usePortal ? {} : tooltipProps)}\n\t\t\t>\n\t\t\t\t<div class='flex gap-2'>\n\t\t\t\t\t{this.variant === 'error' && (\n\t\t\t\t\t\t<div class='w-[2px] bg-negative-red'></div>\n\t\t\t\t\t)}\n\t\t\t\t\t{this.content ? this.content : <slot name='content' />}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.usePortal) {\n\t\t\ttooltip = (\n\t\t\t\t<p-portal\n\t\t\t\t\tclass={portal({\n\t\t\t\t\t\tstrategy: this.strategy,\n\t\t\t\t\t})}\n\t\t\t\t\t{...tooltipProps}\n\t\t\t\t>\n\t\t\t\t\t{tooltipElement}\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\ttooltip = tooltipElement;\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-popover flex cursor-pointer'>\n\t\t\t\t<div class='relative h-inherit w-inherit'>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t\t{tooltip}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\tprotected clickHandler() {\n\t\tif (this.variant === 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler() {\n\t\tif (this.variant === 'hover' || !this.canManuallyClose || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Listen('mouseenter')\n\t@Listen('focus')\n\tprotected mouseEnterHandler() {\n\t\tif (this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('mouseleave')\n\t@Listen('blur')\n\tprotected mouseLeaveHandler() {\n\t\tif (this.show || this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Watch('show')\n\tonShowChange(show: boolean) {\n\t\tif (show && !this._popover.hasAttribute('data-show')) {\n\t\t\treturn this._show();\n\t\t}\n\n\t\treturn this._hide();\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.content?.length && !this._hasContentSlot) {\n\t\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\t\tthis._hide();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._popover, () => this._update());\n\t\t// Make the popover visible\n\t\tthis._popover.setAttribute('data-show', '');\n\n\t\tthis._popover.classList.remove('opacity-0', 'pointer-events-none');\n\t\tthis._popover.classList.add('opacity-100', 'pointer-events-auto');\n\n\t\t// Update its position\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._popover.removeAttribute('data-show');\n\n\t\tthis._popover.classList.remove('opacity-100', 'pointer-events-auto');\n\t\tthis._popover.classList.add('opacity-0', 'pointer-events-none');\n\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._popover = popover;\n\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _update() {\n\t\tif (!this._popover) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._popover, {\n\t\t\tplacement:\n\t\t\t\tthis.variant === 'error' && !this.placement\n\t\t\t\t\t? 'bottom-start'\n\t\t\t\t\t: this.placement ?? 'top',\n\t\t\tstrategy: this.strategy,\n\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._popover.dataset.placement = placement;\n\t\t\tObject.assign(this._popover.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n"],"version":3}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BLaYz0fg.js';
|
|
2
|
+
|
|
3
|
+
const smileFooterComponentCss = "*{box-sizing:border-box}.static{position:static!important}.aspect-\\[15\\/1\\]{aspect-ratio:15/1!important}.w-full{width:100%!important}.bg-off-white-500{--tw-bg-opacity:1!important;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}";
|
|
4
|
+
|
|
5
|
+
const SmileFooter = /*@__PURE__*/ proxyCustomElement(class SmileFooter extends H {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
}
|
|
10
|
+
render() {
|
|
11
|
+
return (h(Host, { key: '2a1ad2ab1b85d21e9a5a44b7ba13f4fa64f92d60', class: "content-[' '] rounded-[50% 50% 0 0/100% 100% 0 0] aspect-[15/1] w-full bg-off-white-500", style: { 'border-radius': '0 0 50% 50%/0 0 100% 100%' } }));
|
|
12
|
+
}
|
|
13
|
+
static get style() { return smileFooterComponentCss; }
|
|
14
|
+
}, [0, "p-smile-footer"]);
|
|
15
|
+
function defineCustomElement() {
|
|
16
|
+
if (typeof customElements === "undefined") {
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
const components = ["p-smile-footer"];
|
|
20
|
+
components.forEach(tagName => { switch (tagName) {
|
|
21
|
+
case "p-smile-footer":
|
|
22
|
+
if (!customElements.get(tagName)) {
|
|
23
|
+
customElements.define(tagName, SmileFooter);
|
|
24
|
+
}
|
|
25
|
+
break;
|
|
26
|
+
} });
|
|
27
|
+
}
|
|
28
|
+
defineCustomElement();
|
|
29
|
+
|
|
30
|
+
export { SmileFooter as S, defineCustomElement as d };
|
|
31
|
+
//# sourceMappingURL=p-GDb-NUOn.js.map
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=p-GDb-NUOn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-GDb-NUOn.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,2PAA2P;;MCM9Q,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;;;;;IACvB,MAAM,GAAA;QACL,QACC,CAAC,CAAA,IAAI,EACJ,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,yFAAyF,EAC/F,KAAK,EAAE,EAAE,eAAe,EAAE,2BAA2B,EAAE,EAAA,CAChD;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/smile-footer/smile-footer.component.css?tag=p-smile-footer","src/components/atoms/smile-footer/smile-footer.component.tsx"],"sourcesContent":["","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-smile-footer',\n\tstyleUrl: 'smile-footer.component.css',\n})\nexport class SmileFooter {\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass=\"content-[' '] rounded-[50% 50% 0 0/100% 100% 0 0] aspect-[15/1] w-full bg-off-white-500\"\n\t\t\t\tstyle={{ 'border-radius': '0 0 50% 50%/0 0 100% 100%' }}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-BLaYz0fg.js';
|
|
2
2
|
import { d as defineCustomElement$3 } from './p-Dtck_OHl.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-ByT0XK4K.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-DpSAOvtA.js';
|
|
5
5
|
|
|
6
6
|
const helperComponentCss = "*{box-sizing:border-box}.absolute{position:absolute!important}.cursor-pointer{cursor:pointer!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.hover\\:text-black-teal:hover{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}";
|
|
7
7
|
|
|
@@ -58,6 +58,6 @@ function defineCustomElement() {
|
|
|
58
58
|
defineCustomElement();
|
|
59
59
|
|
|
60
60
|
export { Helper as H, defineCustomElement as d };
|
|
61
|
-
//# sourceMappingURL=p-
|
|
61
|
+
//# sourceMappingURL=p-HuWXHDwA.js.map
|
|
62
62
|
|
|
63
|
-
//# sourceMappingURL=p-
|
|
63
|
+
//# sourceMappingURL=p-HuWXHDwA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-HuWXHDwA.js","mappings":";;;;;AAAA,MAAM,kBAAkB,GAAG,yUAAyU;;MCQvV,MAAM,iBAAAA,kBAAA,CAAA,MAAA,MAAA,SAAAC,CAAA,CAAA;;;;;;AAClB;;AAEG;IACK,QAAQ,GAAa,UAAU;AAEvC;;AAEG;IACK,SAAS,GAAc,KAAK;IAEpC,MAAM,GAAA;QACL,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,UAAU,EAAA,EACrB,CACC,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEvB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAA,EAClB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,EAEN,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,0DAA0D,EAChE,OAAO,EAAC,iBAAiB,EACzB,IAAI,EAAC,SAAS,GACb,CACS,CACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/helper/helper.component.css?tag=p-helper&encapsulation=shadow","src/components/atoms/helper/helper.component.tsx"],"sourcesContent":["","import { Placement, Strategy } from '@floating-ui/dom';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-helper',\n\tstyleUrl: 'helper.component.css',\n\tshadow: true,\n})\nexport class Helper {\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * The placement of the helper popover\n\t */\n\t@Prop() placement: Placement = 'top';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-helper'>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tplacement={this.placement}\n\t\t\t\t\tstrategy={this.strategy}\n\t\t\t\t>\n\t\t\t\t\t<div slot='content'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tclass='cursor-pointer text-black-teal-300 hover:text-black-teal'\n\t\t\t\t\t\tvariant='question-circle'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t/>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-BLaYz0fg.js';
|
|
2
|
+
import { a as cva } from './p-DtNXXDfQ.js';
|
|
3
|
+
|
|
4
|
+
const modalBodyComponentCss = "*{box-sizing:border-box}.static{position:static!important}.overflow-y-scroll{overflow-y:scroll!important}.rounded{border-radius:.25rem!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.desktop-xs\\:rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}}";
|
|
5
|
+
|
|
6
|
+
const body = cva(['p-modal-body', 'bg-white p-4 overflow-y-scroll'], {
|
|
7
|
+
variants: {
|
|
8
|
+
roundedBottom: {
|
|
9
|
+
true: 'rounded-b-none desktop-xs:rounded-b-2xl',
|
|
10
|
+
false: null,
|
|
11
|
+
},
|
|
12
|
+
roundedTop: {
|
|
13
|
+
true: 'rounded-t-lg desktop-xs:rounded-t-2xl',
|
|
14
|
+
false: null,
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
const ModalBody = /*@__PURE__*/ proxyCustomElement(class ModalBody extends H {
|
|
19
|
+
constructor() {
|
|
20
|
+
super();
|
|
21
|
+
this.__registerHost();
|
|
22
|
+
this.__attachShadow();
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Wether the modal body should be rounded at the bottom
|
|
26
|
+
*/
|
|
27
|
+
roundedBottom = false;
|
|
28
|
+
/**
|
|
29
|
+
* Wether the modal body should be rounded at the top
|
|
30
|
+
*/
|
|
31
|
+
roundedTop = false;
|
|
32
|
+
render() {
|
|
33
|
+
return (h(Host, { key: '27ce61b870090a6f924ed8cf29a1c2fa69b96ac4' }, h("div", { key: '1fa44c74de9b888cd505855f120672ae10753fd1', class: body({
|
|
34
|
+
roundedBottom: this.roundedBottom,
|
|
35
|
+
roundedTop: this.roundedTop,
|
|
36
|
+
}) }, h("slot", { key: '5a9c1e572bdfd6da3f3fba9f58d04ec2f68ad523' }))));
|
|
37
|
+
}
|
|
38
|
+
static get style() { return modalBodyComponentCss; }
|
|
39
|
+
}, [1, "p-modal-body", {
|
|
40
|
+
"roundedBottom": [4, "rounded-bottom"],
|
|
41
|
+
"roundedTop": [4, "rounded-top"]
|
|
42
|
+
}]);
|
|
43
|
+
function defineCustomElement() {
|
|
44
|
+
if (typeof customElements === "undefined") {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const components = ["p-modal-body"];
|
|
48
|
+
components.forEach(tagName => { switch (tagName) {
|
|
49
|
+
case "p-modal-body":
|
|
50
|
+
if (!customElements.get(tagName)) {
|
|
51
|
+
customElements.define(tagName, ModalBody);
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
54
|
+
} });
|
|
55
|
+
}
|
|
56
|
+
defineCustomElement();
|
|
57
|
+
|
|
58
|
+
export { ModalBody as M, defineCustomElement as d };
|
|
59
|
+
//# sourceMappingURL=p-Qf3aKAiK.js.map
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=p-Qf3aKAiK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"p-Qf3aKAiK.js","mappings":";;;AAAA,MAAM,qBAAqB,GAAG,osBAAosB;;ACGluB,MAAM,IAAI,GAAG,GAAG,CAAC,CAAC,cAAc,EAAE,gCAAgC,CAAC,EAAE;AACpE,IAAA,QAAQ,EAAE;AACT,QAAA,aAAa,EAAE;AACd,YAAA,IAAI,EAAE,yCAAyC;AAC/C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,IAAI,EAAE,uCAAuC;AAC7C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;;;;;;AACrB;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAY,KAAK;IAEnC,MAAM,GAAA;QACL,QACC,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJ,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC;gBACX,aAAa,EAAE,IAAI,CAAC,aAAa;gBACjC,UAAU,EAAE,IAAI,CAAC,UAAU;AAC3B,aAAA,CAAC,EAAA,EAEF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH,CACA;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx"],"sourcesContent":["","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst body = cva(['p-modal-body', 'bg-white p-4 overflow-y-scroll'], {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div\n\t\t\t\t\tclass={body({\n\t\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\t\troundedTop: this.roundedTop,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -3,11 +3,11 @@ import { f as formatTranslation, g as getLocaleComponentStrings } from './p-DiJj
|
|
|
3
3
|
import { a as cva } from './p-DtNXXDfQ.js';
|
|
4
4
|
import { a as asBoolean } from './p-C5CTp9IA.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './p-1Wq1CH33.js';
|
|
6
|
-
import { d as defineCustomElement$5 } from './p-
|
|
6
|
+
import { d as defineCustomElement$5 } from './p-CQb--y-q.js';
|
|
7
7
|
import { d as defineCustomElement$4 } from './p-opsKG2Eb.js';
|
|
8
8
|
import { d as defineCustomElement$3 } from './p-DTgB2PCO.js';
|
|
9
9
|
import { d as defineCustomElement$2 } from './p-Dtck_OHl.js';
|
|
10
|
-
import { d as defineCustomElement$1 } from './p
|
|
10
|
+
import { d as defineCustomElement$1 } from './p-ByT0XK4K.js';
|
|
11
11
|
|
|
12
12
|
const defaultSize = 12;
|
|
13
13
|
const defaultSizeOptions = [12, 24, 68, 136];
|
|
@@ -149,6 +149,6 @@ function defineCustomElement() {
|
|
|
149
149
|
defineCustomElement();
|
|
150
150
|
|
|
151
151
|
export { PaginationSize as P, defaultSize as a, defaultSizeOptions as b, defineCustomElement as d };
|
|
152
|
-
//# sourceMappingURL=p-
|
|
152
|
+
//# sourceMappingURL=p-VJYHhWA0.js.map
|
|
153
153
|
|
|
154
|
-
//# sourceMappingURL=p-
|
|
154
|
+
//# sourceMappingURL=p-VJYHhWA0.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1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,MAAM,CAAC,CACd,CACvB,CAAC,CACI,CACK,CACP;;AAKD,IAAA,MAAM,WAAW,GAAA;QACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,GAAG,CAAC;;AAGlD,IAAA,WAAW,CAAC,CAAU,EAAA;QAC7B,IAAI,CAAC,CAAC,EAAE;YACP;;AAGD,QAAA,IAAI,CAAC,IAAI,GAAG,CAAC;QACb,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/pagination/size/constants.tsx","src/components/molecules/pagination/size/pagination-size.component.css?tag=p-pagination-size&encapsulation=shadow","src/components/molecules/pagination/size/pagination-size.component.tsx"],"sourcesContent":["export const defaultSize = 12;\nexport const defaultSizeOptions = [12, 24, 68, 136];\n","","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from './constants';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nexport type templateFunc = (value: number) => string;\n\nconst paginationSize = cva('p-pagination-size', {\n\tvariants: {\n\t\thidden: {\n\t\t\tfalse: null,\n\t\t\ttrue: 'hidden',\n\t\t},\n\t},\n});\n\nconst trigger = cva(\n\t[\n\t\t'flex items-center gap-2',\n\t\t'px-2 h-6',\n\t\t'text-sm text-white font-medium ',\n\t\t'cursor-pointer rounded-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\tfalse: 'bg-dark-teal-600 hover:bg-dark-teal-700',\n\t\t\t\ttrue: 'bg-dark-teal-800',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-pagination-size',\n\tstyleUrl: 'pagination-size.component.css',\n\tshadow: true,\n})\nexport class PaginationSize {\n\tprivate _defaultItemTemplate: templateFunc = size =>\n\t\tformatTranslation(this._locales.item, { size });\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) size: number = defaultSize;\n\n\t/**\n\t * The available sizes\n\t */\n\t@Prop() sizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the size changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tsizeChange: EventEmitter<number>;\n\n\t/**\n\t * The template for the data view\n\t */\n\t@Prop() itemTemplate: templateFunc = this._defaultItemTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hidden: boolean = false;\n\n\t/**\n\t * Wether the dropdown is open\n\t */\n\t@State() dropdownIsOpen = false;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={paginationSize({ hidden: asBoolean(this.hidden) })}>\n\t\t\t\t<p-dropdown\n\t\t\t\t\tvariant='dark-teal'\n\t\t\t\t\tplacement='top-start'\n\t\t\t\t\tchevronDirection='down'\n\t\t\t\t\tcalculateWidth={true}\n\t\t\t\t\tonIsOpen={({ detail }) => (this.dropdownIsOpen = detail)}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={trigger({\n\t\t\t\t\t\t\tactive: this.dropdownIsOpen,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t>\n\t\t\t\t\t\t<p class='min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap'>\n\t\t\t\t\t\t\t{this.itemTemplate\n\t\t\t\t\t\t\t\t? this.itemTemplate(this.size)\n\t\t\t\t\t\t\t\t: this._defaultItemTemplate(this.size)}\n\t\t\t\t\t\t</p>\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tclass='flex-shrink-0'\n\t\t\t\t\t\t\tvariant='double-caret'\n\t\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot slot='items'>\n\t\t\t\t\t\t{this.sizeOptions.map(option => (\n\t\t\t\t\t\t\t<p-dropdown-menu-item\n\t\t\t\t\t\t\t\tactive={option === this.size}\n\t\t\t\t\t\t\t\tonClick={() => this._changeSize(option)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.itemTemplate\n\t\t\t\t\t\t\t\t\t? this.itemTemplate(option)\n\t\t\t\t\t\t\t\t\t: this._defaultItemTemplate(option)}\n\t\t\t\t\t\t\t</p-dropdown-menu-item>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</slot>\n\t\t\t\t</p-dropdown>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _changeSize(s?: number) {\n\t\tif (!s) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.size = s;\n\t\tthis.sizeChange.emit(this.size);\n\t}\n}\n"],"version":3}
|