@paperless/core 2.0.1-beta.54 → 2.0.1-beta.56
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 +13 -2
- package/dist/build/{p-9e5c66ff.entry.js → p-0373f88b.entry.js} +2 -2
- package/dist/build/{p-98168797.entry.js → p-05cf7a2f.entry.js} +2 -2
- package/dist/build/{p-136616a3.entry.js → p-08080fdf.entry.js} +2 -2
- package/dist/build/{p-99e0e9d2.entry.js → p-08f87af9.entry.js} +2 -2
- package/dist/{paperless/p-d83fbc93.entry.js → build/p-09d68fa3.entry.js} +2 -2
- package/dist/build/{p-4b1c71e0.entry.js → p-0eed64fe.entry.js} +2 -2
- package/dist/build/{p-94d257c6.entry.js → p-11c1c623.entry.js} +2 -2
- package/dist/{paperless/p-475eed3c.entry.js → build/p-178ffe9a.entry.js} +2 -2
- package/dist/build/p-1f20292e.css +1 -0
- package/dist/build/{p-20e29a6d.entry.js → p-1f2b8318.entry.js} +2 -2
- package/dist/build/{p-d179b758.entry.js → p-20c39642.entry.js} +2 -2
- package/dist/build/{p-0de9a766.entry.js → p-212e578d.entry.js} +2 -2
- package/dist/build/{p-3550e63e.entry.js → p-257e6c1a.entry.js} +2 -2
- package/dist/{paperless/p-94dbc426.entry.js → build/p-2769b4ce.entry.js} +2 -2
- package/dist/build/{p-ef0b1e32.entry.js → p-28d6e0bd.entry.js} +2 -2
- package/dist/{paperless/p-3b68573b.entry.js → build/p-2a7f51ce.entry.js} +2 -2
- package/dist/build/p-2de808ab.entry.js +2 -0
- package/dist/build/p-2de808ab.entry.js.map +1 -0
- package/dist/{paperless/p-47b47475.entry.js → build/p-2f61d05a.entry.js} +2 -2
- package/dist/build/p-3b8108e7.entry.js +2 -0
- package/dist/build/{p-bbd76ef5.entry.js → p-3c493570.entry.js} +2 -2
- package/dist/build/{p-2ccb1a94.entry.js → p-404239e5.entry.js} +2 -2
- package/dist/build/p-43bdae58.entry.js +2 -0
- package/dist/build/p-43bdae58.entry.js.map +1 -0
- package/dist/build/{p-a4cc578d.entry.js → p-45fb42ec.entry.js} +2 -2
- package/dist/{paperless/p-0233139b.entry.js → build/p-4e0f7caa.entry.js} +3 -3
- package/dist/build/{p-1393baed.entry.js → p-4e4d9d48.entry.js} +2 -2
- package/dist/build/{p-60581c9f.entry.js → p-50901cb1.entry.js} +2 -2
- package/dist/{paperless/p-8fabd582.entry.js → build/p-577b6c79.entry.js} +2 -2
- package/dist/build/p-5fbff7ff.entry.js +2 -0
- package/dist/build/p-5fbff7ff.entry.js.map +1 -0
- package/dist/build/{p-3dc62ba0.entry.js → p-5fe75f03.entry.js} +2 -2
- package/dist/build/{p-86d5e69d.entry.js → p-6604c654.entry.js} +2 -2
- package/dist/{paperless/p-83ea038a.entry.js → build/p-6b6ff9b0.entry.js} +2 -2
- package/dist/build/{p-244968bd.entry.js → p-71245c59.entry.js} +2 -2
- package/dist/build/{p-bd5eaba2.entry.js → p-72a37449.entry.js} +2 -2
- package/dist/build/{p-131fb6ec.entry.js → p-72aa54d8.entry.js} +2 -2
- package/dist/{paperless/p-7d41f0c5.entry.js → build/p-73472d4f.entry.js} +2 -2
- package/dist/build/{p-46bc75a4.entry.js → p-7e6a91bc.entry.js} +2 -2
- package/dist/build/p-7f50a947.entry.js +2 -0
- package/dist/build/p-7f50a947.entry.js.map +1 -0
- package/dist/build/{p-013d7e13.entry.js → p-84fbca1a.entry.js} +2 -2
- package/dist/{paperless/p-59947fa0.entry.js → build/p-85b72e69.entry.js} +2 -2
- package/dist/build/{p-db013038.entry.js → p-8677fa3f.entry.js} +2 -2
- package/dist/build/{p-6bc62451.entry.js → p-8c5ffb8c.entry.js} +2 -2
- package/dist/{paperless/p-2f9c7ce5.entry.js → build/p-8da4ed99.entry.js} +2 -2
- package/dist/build/p-8f5986fc.entry.js +2 -0
- package/dist/{paperless/p-7af0b50d.entry.js → build/p-92ff3a94.entry.js} +2 -2
- package/dist/build/p-9414bd85.entry.js +2 -0
- package/dist/build/{p-4c7d01fd.entry.js.map → p-9414bd85.entry.js.map} +1 -1
- package/dist/build/p-CayVqENR.js +3 -0
- package/dist/build/p-CayVqENR.js.map +1 -0
- package/dist/build/{p-0f1c22e7.entry.js → p-a000ebb7.entry.js} +2 -2
- package/dist/build/p-a070e6ba.entry.js +2 -0
- package/dist/build/{p-5b8246ef.js → p-a4325299.js} +1 -1
- package/dist/build/p-a5c294f3.entry.js +2 -0
- package/dist/build/{p-f746ddcd.entry.js → p-b2acbc11.entry.js} +2 -2
- package/dist/build/{p-39455c7a.entry.js → p-b362542b.entry.js} +2 -2
- package/dist/build/p-backdrop.entry.esm.js.map +1 -1
- package/dist/build/{p-d33e06a7.entry.js → p-c7db9532.entry.js} +2 -2
- package/dist/build/{p-30b7ec84.entry.js → p-cd9e3731.entry.js} +2 -2
- package/dist/build/{p-ddc66a44.entry.js → p-cea79223.entry.js} +2 -2
- package/dist/build/p-divider.entry.esm.js.map +1 -1
- package/dist/build/p-e88e8667.entry.js +2 -0
- package/dist/{paperless/p-5fa54f43.entry.js.map → build/p-e88e8667.entry.js.map} +1 -1
- package/dist/build/{p-0ad14298.entry.js → p-f20dae90.entry.js} +2 -2
- package/dist/build/{p-2fe8062f.entry.js → p-f7149e6b.entry.js} +2 -2
- package/dist/{paperless/p-7d2a49cf.entry.js → build/p-fa94e50d.entry.js} +2 -2
- package/dist/build/{p-8de27a7a.entry.js → p-fffeda15.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/paperless.css +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/{index-DLcBertx.js → index-Ca4wFbmt.js} +41 -2
- package/dist/cjs/index-Ca4wFbmt.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +5 -5
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +2 -2
- package/dist/cjs/p-button_3.cjs.entry.js +4 -4
- package/dist/cjs/p-calendar.cjs.entry.js +2 -2
- package/dist/cjs/p-card-body.cjs.entry.js +2 -2
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox_2.cjs.entry.js +5 -5
- package/dist/cjs/p-content-slider.cjs.entry.js +3 -3
- package/dist/cjs/p-counter.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +3 -3
- package/dist/cjs/p-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/p-divider.cjs.entry.js +9 -15
- package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/p-divider.entry.cjs.js.map +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-drawer.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +3 -3
- package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +7 -7
- package/dist/cjs/p-field_2.cjs.entry.js +4 -4
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +8 -8
- package/dist/cjs/p-helper_2.cjs.entry.js +6 -6
- package/dist/cjs/p-iban-icon.cjs.entry.js +2 -2
- package/dist/cjs/p-icon-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-input-error.cjs.entry.js +2 -2
- package/dist/cjs/p-input-group.cjs.entry.js +4 -4
- package/dist/cjs/p-label.cjs.entry.js +4 -4
- package/dist/cjs/p-layout.cjs.entry.js +2 -2
- 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 +12 -13
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-title.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination.cjs.entry.js +4 -4
- package/dist/cjs/p-portal.cjs.entry.js +2 -2
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +4 -4
- package/dist/cjs/p-select.cjs.entry.js +2 -2
- package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
- package/dist/cjs/p-smile-footer.cjs.entry.js +2 -2
- package/dist/cjs/p-status.cjs.entry.js +3 -3
- package/dist/cjs/p-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/p-table-column.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 +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +2 -2
- package/dist/cjs/p-toggle.cjs.entry.js +4 -4
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +5 -4
- package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +13 -14
- package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +4 -4
- package/dist/collection/components/atoms/modal/body/modal-body.component.js.map +1 -1
- package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +5 -5
- package/dist/collection/components/atoms/modal/container/modal-container.component.js.map +1 -1
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +3 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js.map +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +4 -3
- package/dist/collection/components/atoms/modal/header/modal-header.component.js.map +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile-footer/smile-footer.component.js +1 -1
- 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.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/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.js +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/organisms/modal/modal.component.js +2 -2
- package/dist/collection/components/organisms/modal/modal.component.js.map +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-Co-tKrXe.js → p-3qBmCaLG.js} +4 -4
- package/dist/components/{p-Co-tKrXe.js.map → p-3qBmCaLG.js.map} +1 -1
- package/dist/components/p-B5iLNLVZ.js +70 -0
- package/dist/components/p-B5iLNLVZ.js.map +1 -0
- package/dist/components/{p-C3aWovqp.js → p-B6wcxr1f.js} +8 -8
- package/dist/components/{p-C3aWovqp.js.map → p-B6wcxr1f.js.map} +1 -1
- package/dist/components/{p-BJQDHRZ-.js → p-BJEF6Qep.js} +5 -5
- package/dist/components/{p-BJQDHRZ-.js.map → p-BJEF6Qep.js.map} +1 -1
- package/dist/components/{p-B2ynMJEJ.js → p-BMH5SODp.js} +3 -3
- package/dist/components/{p-B2ynMJEJ.js.map → p-BMH5SODp.js.map} +1 -1
- package/dist/components/{p-DAh-0PEc.js → p-BSAbfKUb.js} +7 -7
- package/dist/components/{p-DAh-0PEc.js.map → p-BSAbfKUb.js.map} +1 -1
- package/dist/components/{p-DTgB2PCO.js → p-BWIkS0qn.js} +8 -8
- package/dist/components/{p-DTgB2PCO.js.map → p-BWIkS0qn.js.map} +1 -1
- package/dist/components/{p-D-BdOqtN.js → p-B_rGCUkO.js} +3 -3
- package/dist/components/{p-D-BdOqtN.js.map → p-B_rGCUkO.js.map} +1 -1
- package/dist/components/{p-DUKg6G2_.js → p-BoWd2FfA.js} +4 -4
- package/dist/components/{p-DUKg6G2_.js.map → p-BoWd2FfA.js.map} +1 -1
- package/dist/components/{p-HuWXHDwA.js → p-BpL1_YDB.js} +7 -7
- package/dist/components/{p-HuWXHDwA.js.map → p-BpL1_YDB.js.map} +1 -1
- package/dist/components/p-C0fFHGOr.js +56 -0
- package/dist/components/p-C0fFHGOr.js.map +1 -0
- package/dist/components/{p-DDXzT-8n.js → p-C18_Pa75.js} +14 -14
- package/dist/components/{p-DDXzT-8n.js.map → p-C18_Pa75.js.map} +1 -1
- package/dist/components/{p-CQb--y-q.js → p-C7AdJOB1.js} +9 -9
- package/dist/components/{p-CQb--y-q.js.map → p-C7AdJOB1.js.map} +1 -1
- package/dist/components/{p-DbwQXaac.js → p-CASYJSA1.js} +5 -5
- package/dist/components/{p-DbwQXaac.js.map → p-CASYJSA1.js.map} +1 -1
- package/dist/components/{p-DHB3oMcL.js → p-CEKnWrco.js} +3 -3
- package/dist/components/{p-DHB3oMcL.js.map → p-CEKnWrco.js.map} +1 -1
- package/dist/components/{p-Dtck_OHl.js → p-CHXyCDHT.js} +3 -3
- package/dist/components/{p-Dtck_OHl.js.map → p-CHXyCDHT.js.map} +1 -1
- package/dist/components/{p-CRnqLaa7.js → p-CIT6RWWN.js} +4 -4
- package/dist/components/{p-CRnqLaa7.js.map → p-CIT6RWWN.js.map} +1 -1
- package/dist/components/{p-BM1VKum1.js → p-CMl1XhfK.js} +5 -5
- package/dist/components/{p-BM1VKum1.js.map → p-CMl1XhfK.js.map} +1 -1
- package/dist/components/{p-CEnUnekF.js → p-CMrbh6Dt.js} +7 -7
- package/dist/components/{p-CEnUnekF.js.map → p-CMrbh6Dt.js.map} +1 -1
- package/dist/components/{p-BYPjew5w.js → p-Cf1aYYYx.js} +8 -8
- package/dist/components/{p-BYPjew5w.js.map → p-Cf1aYYYx.js.map} +1 -1
- package/dist/components/{p-_bzXRnJM.js → p-CfAOM9_-.js} +15 -15
- package/dist/components/{p-_bzXRnJM.js.map → p-CfAOM9_-.js.map} +1 -1
- package/dist/components/{p-z5rlXVg4.js → p-CkJ-BO0K.js} +11 -10
- package/dist/components/p-CkJ-BO0K.js.map +1 -0
- package/dist/components/{p-GDb-NUOn.js → p-CmV-uFWm.js} +4 -4
- package/dist/components/{p-GDb-NUOn.js.map → p-CmV-uFWm.js.map} +1 -1
- package/dist/components/{p-C6gnLnbE.js → p-CuOwVumA.js} +4 -4
- package/dist/components/{p-C6gnLnbE.js.map → p-CuOwVumA.js.map} +1 -1
- package/dist/components/{p-CzYbDtTL.js → p-D4H2oU1h.js} +7 -7
- package/dist/components/{p-CzYbDtTL.js.map → p-D4H2oU1h.js.map} +1 -1
- package/dist/components/{p-1Wq1CH33.js → p-D5GLxOHS.js} +4 -4
- package/dist/components/{p-1Wq1CH33.js.map → p-D5GLxOHS.js.map} +1 -1
- package/dist/components/{p-BLaYz0fg.js → p-DGfaskg8.js} +41 -2
- package/dist/{cjs/index-DLcBertx.js.map → components/p-DGfaskg8.js.map} +1 -1
- package/dist/components/{p-D6kDYgam.js → p-DQFbJIGG.js} +7 -7
- package/dist/components/{p-D6kDYgam.js.map → p-DQFbJIGG.js.map} +1 -1
- package/dist/components/{p-DpSAOvtA.js → p-DS_DeW1u.js} +8 -8
- package/dist/components/{p-DpSAOvtA.js.map → p-DS_DeW1u.js.map} +1 -1
- package/dist/components/{p-VJYHhWA0.js → p-DYG39Eq8.js} +9 -9
- package/dist/components/{p-VJYHhWA0.js.map → p-DYG39Eq8.js.map} +1 -1
- package/dist/components/{p-B73fniNx.js → p-D_xck1qY.js} +4 -4
- package/dist/components/{p-B73fniNx.js.map → p-D_xck1qY.js.map} +1 -1
- package/dist/components/{p-ByT0XK4K.js → p-Dd2moY0l.js} +4 -4
- package/dist/components/{p-ByT0XK4K.js.map → p-Dd2moY0l.js.map} +1 -1
- package/dist/components/{p-CmOi1NiR.js → p-Ddar2w37.js} +6 -6
- package/dist/components/{p-CmOi1NiR.js.map → p-Ddar2w37.js.map} +1 -1
- package/dist/components/{p-BS48oc6_.js → p-Dsq_EYfi.js} +8 -7
- package/dist/components/p-Dsq_EYfi.js.map +1 -0
- package/dist/components/{p-p0peGhwr.js → p-Dy643t2W.js} +12 -12
- package/dist/components/{p-p0peGhwr.js.map → p-Dy643t2W.js.map} +1 -1
- package/dist/components/{p-KMoX6P83.js → p-KUqgeuXF.js} +3 -3
- package/dist/components/{p-KMoX6P83.js.map → p-KUqgeuXF.js.map} +1 -1
- package/dist/components/{p-Qf3aKAiK.js → p-MgcSdqB9.js} +6 -6
- package/dist/components/p-MgcSdqB9.js.map +1 -0
- package/dist/components/{p-BMG5J0JK.js → p-OG0xMcw5.js} +4 -4
- package/dist/components/{p-BMG5J0JK.js.map → p-OG0xMcw5.js.map} +1 -1
- package/dist/components/{p-BOirls52.js → p-TUxV2DFN.js} +6 -6
- package/dist/components/{p-BOirls52.js.map → p-TUxV2DFN.js.map} +1 -1
- package/dist/components/{p-7LSg_lME.js → p-YweUqqcI.js} +6 -6
- package/dist/components/{p-7LSg_lME.js.map → p-YweUqqcI.js.map} +1 -1
- package/dist/components/{p-BwrdmWtE.js → p-ZOQ2aPVa.js} +4 -4
- package/dist/components/{p-BwrdmWtE.js.map → p-ZOQ2aPVa.js.map} +1 -1
- package/dist/components/p-accordion.js +4 -4
- package/dist/components/p-anGdxuG2.js +39 -0
- package/dist/components/p-anGdxuG2.js.map +1 -0
- package/dist/components/p-attachment.js +11 -11
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +2 -2
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +2 -2
- package/dist/components/p-card-container.js +2 -2
- package/dist/components/p-card-header.js +4 -4
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +4 -4
- package/dist/components/p-counter.js +2 -2
- package/dist/components/p-cropper.js +4 -4
- package/dist/components/p-datepicker.js +14 -14
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +8 -8
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-iban-icon.js +2 -2
- package/dist/components/p-icon-deprecated.js +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +3 -3
- package/dist/components/p-input-error.js +1 -1
- package/dist/components/p-input-group.js +9 -9
- package/dist/components/p-label.js +5 -5
- package/dist/components/p-layout.js +2 -2
- 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 +12 -12
- package/dist/components/p-modal.js.map +1 -1
- package/dist/components/p-navbar.js +6 -6
- package/dist/components/p-navigation-item.js +6 -6
- package/dist/components/p-navigation-section.js +3 -3
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +14 -14
- package/dist/components/p-portal.js +1 -1
- package/dist/components/p-profile.js +8 -8
- package/dist/components/p-radio.js +4 -4
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +15 -15
- package/dist/components/p-slider-indicator.js +1 -1
- package/dist/components/p-smile-footer.js +1 -1
- package/dist/components/p-status.js +4 -4
- package/dist/components/p-stepper-item.js +3 -3
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +3 -3
- package/dist/components/{p-opsKG2Eb.js → p-suHB0MPT.js} +5 -5
- package/dist/components/{p-opsKG2Eb.js.map → p-suHB0MPT.js.map} +1 -1
- package/dist/components/p-tab-group.js +3 -3
- package/dist/components/p-tab-item.js +2 -2
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-column.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-action.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +28 -28
- package/dist/components/p-toast-container.js +2 -2
- package/dist/components/p-toast.js +5 -5
- package/dist/components/p-toggle.js +4 -4
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/{index-I9JY9uxk.js → index-CayVqENR.js} +41 -2
- package/dist/esm/index-CayVqENR.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +5 -5
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +4 -4
- package/dist/esm/p-backdrop.entry.js.map +1 -1
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +2 -2
- package/dist/esm/p-button_3.entry.js +4 -4
- package/dist/esm/p-calendar.entry.js +2 -2
- package/dist/esm/p-card-body.entry.js +2 -2
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox_2.entry.js +5 -5
- package/dist/esm/p-content-slider.entry.js +3 -3
- package/dist/esm/p-counter.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +3 -3
- package/dist/esm/p-datepicker.entry.js +3 -3
- package/dist/esm/p-divider.entry.js +9 -15
- package/dist/esm/p-divider.entry.js.map +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-drawer.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-container.entry.js +3 -3
- package/dist/esm/p-dropdown-menu-item_4.entry.js +7 -7
- package/dist/esm/p-field_2.entry.js +4 -4
- package/dist/esm/p-floating-menu-container_8.entry.js +8 -8
- package/dist/esm/p-helper_2.entry.js +6 -6
- package/dist/esm/p-iban-icon.entry.js +2 -2
- package/dist/esm/p-icon-deprecated.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-input-error.entry.js +2 -2
- package/dist/esm/p-input-group.entry.js +4 -4
- package/dist/esm/p-label.entry.js +4 -4
- package/dist/esm/p-layout.entry.js +2 -2
- 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 +12 -13
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-modal.entry.js +2 -2
- package/dist/esm/p-modal.entry.js.map +1 -1
- package/dist/esm/p-navbar.entry.js +2 -2
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +2 -2
- package/dist/esm/p-navigation-title.entry.js +2 -2
- package/dist/esm/p-pagination.entry.js +4 -4
- package/dist/esm/p-portal.entry.js +2 -2
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +4 -4
- package/dist/esm/p-select.entry.js +2 -2
- package/dist/esm/p-slider-indicator.entry.js +2 -2
- package/dist/esm/p-smile-footer.entry.js +2 -2
- package/dist/esm/p-status.entry.js +3 -3
- package/dist/esm/p-stepper-item.entry.js +2 -2
- package/dist/esm/p-stepper-line.entry.js +2 -2
- package/dist/esm/p-stepper.entry.js +2 -2
- package/dist/esm/p-tab-group.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js +2 -2
- package/dist/esm/p-table-column.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 +2 -2
- package/dist/esm/p-toast.entry.js +2 -2
- package/dist/esm/p-toggle.entry.js +4 -4
- package/dist/esm/paperless.js +3 -3
- package/dist/index.html +1 -1
- package/dist/paperless/{p-9e5c66ff.entry.js → p-0373f88b.entry.js} +2 -2
- package/dist/paperless/{p-98168797.entry.js → p-05cf7a2f.entry.js} +2 -2
- package/dist/paperless/{p-136616a3.entry.js → p-08080fdf.entry.js} +2 -2
- package/dist/paperless/{p-99e0e9d2.entry.js → p-08f87af9.entry.js} +2 -2
- package/dist/{build/p-d83fbc93.entry.js → paperless/p-09d68fa3.entry.js} +2 -2
- package/dist/paperless/{p-4b1c71e0.entry.js → p-0eed64fe.entry.js} +2 -2
- package/dist/paperless/{p-94d257c6.entry.js → p-11c1c623.entry.js} +2 -2
- package/dist/{build/p-475eed3c.entry.js → paperless/p-178ffe9a.entry.js} +2 -2
- package/dist/paperless/{p-20e29a6d.entry.js → p-1f2b8318.entry.js} +2 -2
- package/dist/paperless/{p-d179b758.entry.js → p-20c39642.entry.js} +2 -2
- package/dist/paperless/{p-0de9a766.entry.js → p-212e578d.entry.js} +2 -2
- package/dist/paperless/{p-3550e63e.entry.js → p-257e6c1a.entry.js} +2 -2
- package/dist/{build/p-94dbc426.entry.js → paperless/p-2769b4ce.entry.js} +2 -2
- package/dist/paperless/{p-ef0b1e32.entry.js → p-28d6e0bd.entry.js} +2 -2
- package/dist/{build/p-3b68573b.entry.js → paperless/p-2a7f51ce.entry.js} +2 -2
- package/dist/paperless/p-2de808ab.entry.js +2 -0
- package/dist/paperless/p-2de808ab.entry.js.map +1 -0
- package/dist/{build/p-47b47475.entry.js → paperless/p-2f61d05a.entry.js} +2 -2
- package/dist/paperless/p-3b8108e7.entry.js +2 -0
- package/dist/paperless/{p-bbd76ef5.entry.js → p-3c493570.entry.js} +2 -2
- package/dist/paperless/{p-2ccb1a94.entry.js → p-404239e5.entry.js} +2 -2
- package/dist/paperless/p-43bdae58.entry.js +2 -0
- package/dist/paperless/p-43bdae58.entry.js.map +1 -0
- package/dist/paperless/{p-a4cc578d.entry.js → p-45fb42ec.entry.js} +2 -2
- package/dist/{build/p-0233139b.entry.js → paperless/p-4e0f7caa.entry.js} +3 -3
- package/dist/paperless/{p-1393baed.entry.js → p-4e4d9d48.entry.js} +2 -2
- package/dist/paperless/{p-60581c9f.entry.js → p-50901cb1.entry.js} +2 -2
- package/dist/{build/p-8fabd582.entry.js → paperless/p-577b6c79.entry.js} +2 -2
- package/dist/paperless/p-5fbff7ff.entry.js +2 -0
- package/dist/paperless/p-5fbff7ff.entry.js.map +1 -0
- package/dist/paperless/{p-3dc62ba0.entry.js → p-5fe75f03.entry.js} +2 -2
- package/dist/paperless/{p-86d5e69d.entry.js → p-6604c654.entry.js} +2 -2
- package/dist/{build/p-83ea038a.entry.js → paperless/p-6b6ff9b0.entry.js} +2 -2
- package/dist/paperless/{p-244968bd.entry.js → p-71245c59.entry.js} +2 -2
- package/dist/paperless/{p-bd5eaba2.entry.js → p-72a37449.entry.js} +2 -2
- package/dist/paperless/{p-131fb6ec.entry.js → p-72aa54d8.entry.js} +2 -2
- package/dist/{build/p-7d41f0c5.entry.js → paperless/p-73472d4f.entry.js} +2 -2
- package/dist/paperless/{p-46bc75a4.entry.js → p-7e6a91bc.entry.js} +2 -2
- package/dist/paperless/p-7f50a947.entry.js +2 -0
- package/dist/paperless/p-7f50a947.entry.js.map +1 -0
- package/dist/paperless/{p-013d7e13.entry.js → p-84fbca1a.entry.js} +2 -2
- package/dist/{build/p-59947fa0.entry.js → paperless/p-85b72e69.entry.js} +2 -2
- package/dist/paperless/{p-db013038.entry.js → p-8677fa3f.entry.js} +2 -2
- package/dist/paperless/{p-6bc62451.entry.js → p-8c5ffb8c.entry.js} +2 -2
- package/dist/{build/p-2f9c7ce5.entry.js → paperless/p-8da4ed99.entry.js} +2 -2
- package/dist/paperless/p-8f5986fc.entry.js +2 -0
- package/dist/{build/p-7af0b50d.entry.js → paperless/p-92ff3a94.entry.js} +2 -2
- package/dist/paperless/p-9414bd85.entry.js +2 -0
- package/dist/paperless/{p-4c7d01fd.entry.js.map → p-9414bd85.entry.js.map} +1 -1
- package/dist/paperless/p-CayVqENR.js +3 -0
- package/dist/paperless/p-CayVqENR.js.map +1 -0
- package/dist/paperless/{p-0f1c22e7.entry.js → p-a000ebb7.entry.js} +2 -2
- package/dist/paperless/p-a070e6ba.entry.js +2 -0
- package/dist/paperless/p-a5c294f3.entry.js +2 -0
- package/dist/paperless/{p-f746ddcd.entry.js → p-b2acbc11.entry.js} +2 -2
- package/dist/paperless/{p-39455c7a.entry.js → p-b362542b.entry.js} +2 -2
- package/dist/paperless/p-backdrop.entry.esm.js.map +1 -1
- package/dist/paperless/{p-d33e06a7.entry.js → p-c7db9532.entry.js} +2 -2
- package/dist/paperless/{p-30b7ec84.entry.js → p-cd9e3731.entry.js} +2 -2
- package/dist/paperless/{p-ddc66a44.entry.js → p-cea79223.entry.js} +2 -2
- package/dist/paperless/p-divider.entry.esm.js.map +1 -1
- package/dist/paperless/p-e88e8667.entry.js +2 -0
- package/dist/{build/p-5fa54f43.entry.js.map → paperless/p-e88e8667.entry.js.map} +1 -1
- package/dist/paperless/{p-0ad14298.entry.js → p-f20dae90.entry.js} +2 -2
- package/dist/paperless/{p-2fe8062f.entry.js → p-f7149e6b.entry.js} +2 -2
- package/dist/{build/p-7d2a49cf.entry.js → paperless/p-fa94e50d.entry.js} +2 -2
- package/dist/paperless/{p-8de27a7a.entry.js → p-fffeda15.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/paperless.css +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/style/_fonts.scss +4 -6
- package/dist/style/_reset.scss +27 -29
- package/dist/style/_tailwind.scss +1 -1
- package/dist/style/_typograhpy.scss +21 -23
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/divider/divider.component.d.ts +4 -0
- package/package.json +1 -1
- package/dist/build/p-184723af.entry.js +0 -2
- package/dist/build/p-22c9032e.entry.js +0 -2
- package/dist/build/p-22c9032e.entry.js.map +0 -1
- package/dist/build/p-3d53a76a.entry.js +0 -2
- package/dist/build/p-4c7d01fd.entry.js +0 -2
- package/dist/build/p-549ad4c4.entry.js +0 -2
- package/dist/build/p-549ad4c4.entry.js.map +0 -1
- package/dist/build/p-5fa54f43.entry.js +0 -2
- package/dist/build/p-6f149849.entry.js +0 -2
- package/dist/build/p-I9JY9uxk.js +0 -3
- package/dist/build/p-I9JY9uxk.js.map +0 -1
- package/dist/build/p-a242d99b.entry.js +0 -2
- package/dist/build/p-a242d99b.entry.js.map +0 -1
- package/dist/build/p-dfe88da4.entry.js +0 -2
- package/dist/build/p-dfe88da4.entry.js.map +0 -1
- package/dist/build/p-e765e24b.entry.js +0 -2
- package/dist/build/p-ee70d12f.css +0 -1
- package/dist/components/p-07fGAiCb.js +0 -61
- package/dist/components/p-07fGAiCb.js.map +0 -1
- package/dist/components/p-BEkTUPBy.js +0 -39
- package/dist/components/p-BEkTUPBy.js.map +0 -1
- package/dist/components/p-BLaYz0fg.js.map +0 -1
- package/dist/components/p-BS48oc6_.js.map +0 -1
- package/dist/components/p-DhkrVXeB.js +0 -70
- package/dist/components/p-DhkrVXeB.js.map +0 -1
- package/dist/components/p-Qf3aKAiK.js.map +0 -1
- package/dist/components/p-z5rlXVg4.js.map +0 -1
- package/dist/esm/index-I9JY9uxk.js.map +0 -1
- package/dist/paperless/p-184723af.entry.js +0 -2
- package/dist/paperless/p-22c9032e.entry.js +0 -2
- package/dist/paperless/p-22c9032e.entry.js.map +0 -1
- package/dist/paperless/p-3d53a76a.entry.js +0 -2
- package/dist/paperless/p-4c7d01fd.entry.js +0 -2
- package/dist/paperless/p-549ad4c4.entry.js +0 -2
- package/dist/paperless/p-549ad4c4.entry.js.map +0 -1
- package/dist/paperless/p-5fa54f43.entry.js +0 -2
- package/dist/paperless/p-6f149849.entry.js +0 -2
- package/dist/paperless/p-I9JY9uxk.js +0 -3
- package/dist/paperless/p-I9JY9uxk.js.map +0 -1
- package/dist/paperless/p-a242d99b.entry.js +0 -2
- package/dist/paperless/p-a242d99b.entry.js.map +0 -1
- package/dist/paperless/p-dfe88da4.entry.js +0 -2
- package/dist/paperless/p-dfe88da4.entry.js.map +0 -1
- package/dist/paperless/p-e765e24b.entry.js +0 -2
- /package/dist/build/{p-9e5c66ff.entry.js.map → p-0373f88b.entry.js.map} +0 -0
- /package/dist/build/{p-98168797.entry.js.map → p-05cf7a2f.entry.js.map} +0 -0
- /package/dist/build/{p-136616a3.entry.js.map → p-08080fdf.entry.js.map} +0 -0
- /package/dist/build/{p-99e0e9d2.entry.js.map → p-08f87af9.entry.js.map} +0 -0
- /package/dist/build/{p-d83fbc93.entry.js.map → p-09d68fa3.entry.js.map} +0 -0
- /package/dist/build/{p-4b1c71e0.entry.js.map → p-0eed64fe.entry.js.map} +0 -0
- /package/dist/build/{p-94d257c6.entry.js.map → p-11c1c623.entry.js.map} +0 -0
- /package/dist/build/{p-475eed3c.entry.js.map → p-178ffe9a.entry.js.map} +0 -0
- /package/dist/build/{p-20e29a6d.entry.js.map → p-1f2b8318.entry.js.map} +0 -0
- /package/dist/build/{p-d179b758.entry.js.map → p-20c39642.entry.js.map} +0 -0
- /package/dist/build/{p-0de9a766.entry.js.map → p-212e578d.entry.js.map} +0 -0
- /package/dist/build/{p-3550e63e.entry.js.map → p-257e6c1a.entry.js.map} +0 -0
- /package/dist/build/{p-94dbc426.entry.js.map → p-2769b4ce.entry.js.map} +0 -0
- /package/dist/build/{p-ef0b1e32.entry.js.map → p-28d6e0bd.entry.js.map} +0 -0
- /package/dist/build/{p-3b68573b.entry.js.map → p-2a7f51ce.entry.js.map} +0 -0
- /package/dist/build/{p-47b47475.entry.js.map → p-2f61d05a.entry.js.map} +0 -0
- /package/dist/build/{p-184723af.entry.js.map → p-3b8108e7.entry.js.map} +0 -0
- /package/dist/build/{p-bbd76ef5.entry.js.map → p-3c493570.entry.js.map} +0 -0
- /package/dist/build/{p-2ccb1a94.entry.js.map → p-404239e5.entry.js.map} +0 -0
- /package/dist/build/{p-a4cc578d.entry.js.map → p-45fb42ec.entry.js.map} +0 -0
- /package/dist/build/{p-0233139b.entry.js.map → p-4e0f7caa.entry.js.map} +0 -0
- /package/dist/build/{p-1393baed.entry.js.map → p-4e4d9d48.entry.js.map} +0 -0
- /package/dist/build/{p-60581c9f.entry.js.map → p-50901cb1.entry.js.map} +0 -0
- /package/dist/build/{p-8fabd582.entry.js.map → p-577b6c79.entry.js.map} +0 -0
- /package/dist/build/{p-3dc62ba0.entry.js.map → p-5fe75f03.entry.js.map} +0 -0
- /package/dist/build/{p-86d5e69d.entry.js.map → p-6604c654.entry.js.map} +0 -0
- /package/dist/build/{p-83ea038a.entry.js.map → p-6b6ff9b0.entry.js.map} +0 -0
- /package/dist/build/{p-244968bd.entry.js.map → p-71245c59.entry.js.map} +0 -0
- /package/dist/build/{p-bd5eaba2.entry.js.map → p-72a37449.entry.js.map} +0 -0
- /package/dist/build/{p-131fb6ec.entry.js.map → p-72aa54d8.entry.js.map} +0 -0
- /package/dist/build/{p-7d41f0c5.entry.js.map → p-73472d4f.entry.js.map} +0 -0
- /package/dist/build/{p-46bc75a4.entry.js.map → p-7e6a91bc.entry.js.map} +0 -0
- /package/dist/build/{p-013d7e13.entry.js.map → p-84fbca1a.entry.js.map} +0 -0
- /package/dist/build/{p-59947fa0.entry.js.map → p-85b72e69.entry.js.map} +0 -0
- /package/dist/build/{p-db013038.entry.js.map → p-8677fa3f.entry.js.map} +0 -0
- /package/dist/build/{p-6bc62451.entry.js.map → p-8c5ffb8c.entry.js.map} +0 -0
- /package/dist/build/{p-2f9c7ce5.entry.js.map → p-8da4ed99.entry.js.map} +0 -0
- /package/dist/build/{p-e765e24b.entry.js.map → p-8f5986fc.entry.js.map} +0 -0
- /package/dist/build/{p-7af0b50d.entry.js.map → p-92ff3a94.entry.js.map} +0 -0
- /package/dist/build/{p-0f1c22e7.entry.js.map → p-a000ebb7.entry.js.map} +0 -0
- /package/dist/build/{p-6f149849.entry.js.map → p-a070e6ba.entry.js.map} +0 -0
- /package/dist/build/{p-3d53a76a.entry.js.map → p-a5c294f3.entry.js.map} +0 -0
- /package/dist/build/{p-f746ddcd.entry.js.map → p-b2acbc11.entry.js.map} +0 -0
- /package/dist/build/{p-39455c7a.entry.js.map → p-b362542b.entry.js.map} +0 -0
- /package/dist/build/{p-d33e06a7.entry.js.map → p-c7db9532.entry.js.map} +0 -0
- /package/dist/build/{p-30b7ec84.entry.js.map → p-cd9e3731.entry.js.map} +0 -0
- /package/dist/build/{p-ddc66a44.entry.js.map → p-cea79223.entry.js.map} +0 -0
- /package/dist/build/{p-0ad14298.entry.js.map → p-f20dae90.entry.js.map} +0 -0
- /package/dist/build/{p-2fe8062f.entry.js.map → p-f7149e6b.entry.js.map} +0 -0
- /package/dist/build/{p-7d2a49cf.entry.js.map → p-fa94e50d.entry.js.map} +0 -0
- /package/dist/build/{p-8de27a7a.entry.js.map → p-fffeda15.entry.js.map} +0 -0
- /package/dist/paperless/{p-9e5c66ff.entry.js.map → p-0373f88b.entry.js.map} +0 -0
- /package/dist/paperless/{p-98168797.entry.js.map → p-05cf7a2f.entry.js.map} +0 -0
- /package/dist/paperless/{p-136616a3.entry.js.map → p-08080fdf.entry.js.map} +0 -0
- /package/dist/paperless/{p-99e0e9d2.entry.js.map → p-08f87af9.entry.js.map} +0 -0
- /package/dist/paperless/{p-d83fbc93.entry.js.map → p-09d68fa3.entry.js.map} +0 -0
- /package/dist/paperless/{p-4b1c71e0.entry.js.map → p-0eed64fe.entry.js.map} +0 -0
- /package/dist/paperless/{p-94d257c6.entry.js.map → p-11c1c623.entry.js.map} +0 -0
- /package/dist/paperless/{p-475eed3c.entry.js.map → p-178ffe9a.entry.js.map} +0 -0
- /package/dist/paperless/{p-20e29a6d.entry.js.map → p-1f2b8318.entry.js.map} +0 -0
- /package/dist/paperless/{p-d179b758.entry.js.map → p-20c39642.entry.js.map} +0 -0
- /package/dist/paperless/{p-0de9a766.entry.js.map → p-212e578d.entry.js.map} +0 -0
- /package/dist/paperless/{p-3550e63e.entry.js.map → p-257e6c1a.entry.js.map} +0 -0
- /package/dist/paperless/{p-94dbc426.entry.js.map → p-2769b4ce.entry.js.map} +0 -0
- /package/dist/paperless/{p-ef0b1e32.entry.js.map → p-28d6e0bd.entry.js.map} +0 -0
- /package/dist/paperless/{p-3b68573b.entry.js.map → p-2a7f51ce.entry.js.map} +0 -0
- /package/dist/paperless/{p-47b47475.entry.js.map → p-2f61d05a.entry.js.map} +0 -0
- /package/dist/paperless/{p-184723af.entry.js.map → p-3b8108e7.entry.js.map} +0 -0
- /package/dist/paperless/{p-bbd76ef5.entry.js.map → p-3c493570.entry.js.map} +0 -0
- /package/dist/paperless/{p-2ccb1a94.entry.js.map → p-404239e5.entry.js.map} +0 -0
- /package/dist/paperless/{p-a4cc578d.entry.js.map → p-45fb42ec.entry.js.map} +0 -0
- /package/dist/paperless/{p-0233139b.entry.js.map → p-4e0f7caa.entry.js.map} +0 -0
- /package/dist/paperless/{p-1393baed.entry.js.map → p-4e4d9d48.entry.js.map} +0 -0
- /package/dist/paperless/{p-60581c9f.entry.js.map → p-50901cb1.entry.js.map} +0 -0
- /package/dist/paperless/{p-8fabd582.entry.js.map → p-577b6c79.entry.js.map} +0 -0
- /package/dist/paperless/{p-3dc62ba0.entry.js.map → p-5fe75f03.entry.js.map} +0 -0
- /package/dist/paperless/{p-86d5e69d.entry.js.map → p-6604c654.entry.js.map} +0 -0
- /package/dist/paperless/{p-83ea038a.entry.js.map → p-6b6ff9b0.entry.js.map} +0 -0
- /package/dist/paperless/{p-244968bd.entry.js.map → p-71245c59.entry.js.map} +0 -0
- /package/dist/paperless/{p-bd5eaba2.entry.js.map → p-72a37449.entry.js.map} +0 -0
- /package/dist/paperless/{p-131fb6ec.entry.js.map → p-72aa54d8.entry.js.map} +0 -0
- /package/dist/paperless/{p-7d41f0c5.entry.js.map → p-73472d4f.entry.js.map} +0 -0
- /package/dist/paperless/{p-46bc75a4.entry.js.map → p-7e6a91bc.entry.js.map} +0 -0
- /package/dist/paperless/{p-013d7e13.entry.js.map → p-84fbca1a.entry.js.map} +0 -0
- /package/dist/paperless/{p-59947fa0.entry.js.map → p-85b72e69.entry.js.map} +0 -0
- /package/dist/paperless/{p-db013038.entry.js.map → p-8677fa3f.entry.js.map} +0 -0
- /package/dist/paperless/{p-6bc62451.entry.js.map → p-8c5ffb8c.entry.js.map} +0 -0
- /package/dist/paperless/{p-2f9c7ce5.entry.js.map → p-8da4ed99.entry.js.map} +0 -0
- /package/dist/paperless/{p-e765e24b.entry.js.map → p-8f5986fc.entry.js.map} +0 -0
- /package/dist/paperless/{p-7af0b50d.entry.js.map → p-92ff3a94.entry.js.map} +0 -0
- /package/dist/paperless/{p-0f1c22e7.entry.js.map → p-a000ebb7.entry.js.map} +0 -0
- /package/dist/paperless/{p-6f149849.entry.js.map → p-a070e6ba.entry.js.map} +0 -0
- /package/dist/paperless/{p-3d53a76a.entry.js.map → p-a5c294f3.entry.js.map} +0 -0
- /package/dist/paperless/{p-f746ddcd.entry.js.map → p-b2acbc11.entry.js.map} +0 -0
- /package/dist/paperless/{p-39455c7a.entry.js.map → p-b362542b.entry.js.map} +0 -0
- /package/dist/paperless/{p-d33e06a7.entry.js.map → p-c7db9532.entry.js.map} +0 -0
- /package/dist/paperless/{p-30b7ec84.entry.js.map → p-cd9e3731.entry.js.map} +0 -0
- /package/dist/paperless/{p-ddc66a44.entry.js.map → p-cea79223.entry.js.map} +0 -0
- /package/dist/paperless/{p-0ad14298.entry.js.map → p-f20dae90.entry.js.map} +0 -0
- /package/dist/paperless/{p-2fe8062f.entry.js.map → p-f7149e6b.entry.js.map} +0 -0
- /package/dist/paperless/{p-7d2a49cf.entry.js.map → p-fa94e50d.entry.js.map} +0 -0
- /package/dist/paperless/{p-8de27a7a.entry.js.map → p-fffeda15.entry.js.map} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-DGfaskg8.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
4
|
import { c as childOf } from './p-72lRg7Ri.js';
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-suHB0MPT.js';
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-Dd2moY0l.js';
|
|
7
7
|
|
|
8
8
|
const dropdownComponentCss = "*{box-sizing:border-box}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-dropdown{z-index:200!important}.block{display:block!important}.hidden{display:none!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}}";
|
|
9
9
|
|
|
@@ -124,14 +124,14 @@ const Dropdown = /*@__PURE__*/ proxyCustomElement(class Dropdown extends H {
|
|
|
124
124
|
'data-strategy': this.strategy,
|
|
125
125
|
};
|
|
126
126
|
let dropdownContainer;
|
|
127
|
-
const itemsSlot = h("slot", { key: '
|
|
127
|
+
const itemsSlot = h("slot", { key: '83bdc5b0ca963bc549634bbf6b4a2d95c426107f', name: 'items' });
|
|
128
128
|
if (this.usePortal) {
|
|
129
|
-
dropdownContainer = (h("p-portal", { key: '
|
|
129
|
+
dropdownContainer = (h("p-portal", { key: '2c1b854eb6b966a8b16dad1ce2cbca820028e886', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: 'fd839880a517e8089f2753d4c0ad5081b2facf86', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, itemsSlot)));
|
|
130
130
|
}
|
|
131
131
|
else {
|
|
132
|
-
dropdownContainer = (h("p-dropdown-menu-container", { key: '
|
|
132
|
+
dropdownContainer = (h("p-dropdown-menu-container", { key: 'd74ee5f1f41a52e7e1038c4aad5e26aa9e63f595', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, itemsSlot));
|
|
133
133
|
}
|
|
134
|
-
return (h(Host, { key: '
|
|
134
|
+
return (h(Host, { key: '02f500bb44bf019172b8d11bf697f612579340c1', class: 'p-dropdown relative' }, h("div", { key: '7a9c08946df9214a8ba48f4e112c228d4a73cdd2', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: 'b27ccb48723c717469f57e844a1f2548ddd121e0', name: 'trigger' })), dropdownContainer));
|
|
135
135
|
}
|
|
136
136
|
_checkButtons(active = false) {
|
|
137
137
|
if (!this.applyChevron) {
|
|
@@ -295,6 +295,6 @@ function defineCustomElement() {
|
|
|
295
295
|
defineCustomElement();
|
|
296
296
|
|
|
297
297
|
export { Dropdown as D, defineCustomElement as d };
|
|
298
|
-
//# sourceMappingURL=p-
|
|
298
|
+
//# sourceMappingURL=p-C7AdJOB1.js.map
|
|
299
299
|
|
|
300
|
-
//# sourceMappingURL=p-
|
|
300
|
+
//# sourceMappingURL=p-C7AdJOB1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-CQb--y-q.js","mappings":";;;;;;;AAAA,MAAM,oBAAoB,GAAG,8jCAA8jC;;ACuB3lC,MAAM,sBAAsB,GAAG,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACzD,IAAA,QAAQ,EAAE;AACT,QAAA,QAAQ,EAAE;AACT,YAAA,QAAQ,EAAE,UAAU;AACpB,YAAA,KAAK,EAAE,OAAO;AACd,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;;;;;;;AACpB;;AAEG;IACK,OAAO,GAA4B,SAAS;AAEpD;;AAEG;IACsB,SAAS,GAAc,cAAc;AAE9D;;AAEG;IACK,MAAM,GAAW,CAAC;AAE1B;;AAEG;IACK,QAAQ,GAAa,UAAU;AAEvC;;AAEG;IACK,IAAI,GAAY,KAAK;AAE7B;;AAEG;IACK,SAAS,GAAY,KAAK;AAElC;;AAEG;IACK,cAAc,GAAY,KAAK;AAEvC;;AAEG;IACK,aAAa,GAAY,IAAI;AAErC;;AAEG;IACK,cAAc,GAAY,IAAI;AAEtC;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAkC,KAAK;AAEzD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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/dropdown/dropdown.component.css?tag=p-dropdown&encapsulation=shadow","src/components/molecules/dropdown/dropdown.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';\nimport { childOf } from '../../../utils/child-of';\n\nconst dropdownContainerClass = cva(['z-dropdown hidden'], {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tabsolute: 'absolute',\n\t\t\tfixed: 'fixed',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.css',\n\tshadow: true,\n})\nexport class Dropdown {\n\t/**\n\t * The variant of the dropdown\n\t */\n\t@Prop() variant: 'default' | 'dark-teal' = 'default';\n\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the dropdown container\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\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\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._checkButtons();\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\n\t\tthis._menu.remove();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis._checkButtons();\n\t\tthis._checkItems();\n\t}\n\n\trender() {\n\t\tconst dropdownContainerProps = {\n\t\t\tclass: dropdownContainerClass({\n\t\t\t\tstrategy: this.strategy,\n\t\t\t}),\n\t\t\tref: el => this._load(el),\n\t\t\tonClick: () => this._containerClickHandler(),\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\t'data-strategy': this.strategy,\n\t\t};\n\n\t\tlet dropdownContainer: HTMLElement;\n\t\tconst itemsSlot = <slot name='items' />;\n\n\t\tif (this.usePortal) {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-portal {...dropdownContainerProps}>\n\t\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t>\n\t\t\t\t\t\t{itemsSlot}\n\t\t\t\t\t</p-dropdown-menu-container>\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t{...dropdownContainerProps}\n\t\t\t\t>\n\t\t\t\t\t{itemsSlot}\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-dropdown relative'>\n\t\t\t\t<div\n\t\t\t\t\tclass='trigger'\n\t\t\t\t\tref={ref => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t</div>\n\t\t\t\t{dropdownContainer}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButtons(active: boolean = false) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst buttons = this._el.querySelectorAll<HTMLPButtonElement>(\n\t\t\t'p-button[slot=\"trigger\"]'\n\t\t);\n\n\t\tfor (let button of [...buttons]) {\n\t\t\tbutton.chevronPosition = this.chevronPosition;\n\t\t\tbutton.chevron = this.chevronDirection\n\t\t\t\t? this.chevronDirection\n\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t? 'up'\n\t\t\t\t: 'down';\n\t\t\tbutton.disabled = this.disableTriggerClick;\n\t\t\tbutton.active = active;\n\t\t}\n\t}\n\n\tprivate _checkItems() {\n\t\tconst items = this._el.querySelectorAll<HTMLPDropdownMenuItemElement>(\n\t\t\t'p-dropdown-menu-item'\n\t\t);\n\n\t\tfor (let item of [...items]) {\n\t\t\titem.variant = this.variant;\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\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({ target }) {\n\t\tif (!this._menu.hasAttribute('data-show') || childOf(target, this._menu)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = popover;\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 _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis._menu.classList.remove('hidden');\n\t\tthis._menu.classList.add('block');\n\n\t\tthis.isOpen.emit(true);\n\t\tthis._checkButtons(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\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._menu.removeAttribute('data-show');\n\t\tthis._menu.classList.remove('block');\n\t\tthis._menu.classList.add('hidden');\n\n\t\tthis.isOpen.emit(false);\n\t\tthis._checkButtons(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.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}
|
|
1
|
+
{"file":"p-C7AdJOB1.js","mappings":";;;;;;;AAAA,MAAM,oBAAoB,GAAG,8jCAA8jC;;ACuB3lC,MAAM,sBAAsB,GAAG,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACzD,IAAA,QAAQ,EAAE;AACT,QAAA,QAAQ,EAAE;AACT,YAAA,QAAQ,EAAE,UAAU;AACpB,YAAA,KAAK,EAAE,OAAO;AACd,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;;;;;;;AACpB;;AAEG;IACK,OAAO,GAA4B,SAAS;AAEpD;;AAEG;IACsB,S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AAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,KAAI;YAC/B,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS;YACxC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;gBAC/B,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/molecules/dropdown/dropdown.component.css?tag=p-dropdown&encapsulation=shadow","src/components/molecules/dropdown/dropdown.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';\nimport { childOf } from '../../../utils/child-of';\n\nconst dropdownContainerClass = cva(['z-dropdown hidden'], {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tabsolute: 'absolute',\n\t\t\tfixed: 'fixed',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.css',\n\tshadow: true,\n})\nexport class Dropdown {\n\t/**\n\t * The variant of the dropdown\n\t */\n\t@Prop() variant: 'default' | 'dark-teal' = 'default';\n\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the dropdown container\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\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\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._checkButtons();\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\n\t\tthis._menu.remove();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis._checkButtons();\n\t\tthis._checkItems();\n\t}\n\n\trender() {\n\t\tconst dropdownContainerProps = {\n\t\t\tclass: dropdownContainerClass({\n\t\t\t\tstrategy: this.strategy,\n\t\t\t}),\n\t\t\tref: el => this._load(el),\n\t\t\tonClick: () => this._containerClickHandler(),\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\t'data-strategy': this.strategy,\n\t\t};\n\n\t\tlet dropdownContainer: HTMLElement;\n\t\tconst itemsSlot = <slot name='items' />;\n\n\t\tif (this.usePortal) {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-portal {...dropdownContainerProps}>\n\t\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t>\n\t\t\t\t\t\t{itemsSlot}\n\t\t\t\t\t</p-dropdown-menu-container>\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t{...dropdownContainerProps}\n\t\t\t\t>\n\t\t\t\t\t{itemsSlot}\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-dropdown relative'>\n\t\t\t\t<div\n\t\t\t\t\tclass='trigger'\n\t\t\t\t\tref={ref => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t</div>\n\t\t\t\t{dropdownContainer}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButtons(active: boolean = false) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst buttons = this._el.querySelectorAll<HTMLPButtonElement>(\n\t\t\t'p-button[slot=\"trigger\"]'\n\t\t);\n\n\t\tfor (let button of [...buttons]) {\n\t\t\tbutton.chevronPosition = this.chevronPosition;\n\t\t\tbutton.chevron = this.chevronDirection\n\t\t\t\t? this.chevronDirection\n\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t? 'up'\n\t\t\t\t: 'down';\n\t\t\tbutton.disabled = this.disableTriggerClick;\n\t\t\tbutton.active = active;\n\t\t}\n\t}\n\n\tprivate _checkItems() {\n\t\tconst items = this._el.querySelectorAll<HTMLPDropdownMenuItemElement>(\n\t\t\t'p-dropdown-menu-item'\n\t\t);\n\n\t\tfor (let item of [...items]) {\n\t\t\titem.variant = this.variant;\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\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({ target }) {\n\t\tif (!this._menu.hasAttribute('data-show') || childOf(target, this._menu)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = popover;\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 _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis._menu.classList.remove('hidden');\n\t\tthis._menu.classList.add('block');\n\n\t\tthis.isOpen.emit(true);\n\t\tthis._checkButtons(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\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._menu.removeAttribute('data-show');\n\t\tthis._menu.classList.remove('block');\n\t\tthis._menu.classList.add('hidden');\n\n\t\tthis.isOpen.emit(false);\n\t\tthis._checkButtons(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.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}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-DGfaskg8.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-CEKnWrco.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: '0495db2bdb9b786accdfc88ec80e2436c282977d', 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-CASYJSA1.js.map
|
|
119
119
|
|
|
120
|
-
//# sourceMappingURL=p-
|
|
120
|
+
//# sourceMappingURL=p-CASYJSA1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-CASYJSA1.js","mappings":";;;;AAAA,MAAM,qBAAqB,GAAG,yfAAyf;;MCyE1gB,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAA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,IAAI,CAAC,OAAO,KAAK,SAAS,EAAE;YAC/B,OAAO,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,SAAS,GAAQ;;AAGpC,QAAA,QACC,CACC,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE;AACN,gBAAA,IAAI,EAAE,IAAI;AACV,gBAAA,eAAe,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,KAAK,OAAO;AAClD,gBAAA,gBAAgB,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,KAAK,QAAQ;AACpD,gBAAA,aAAa,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,KAAK,KAAK;aAC9C,EAEA,EAAA,IAAI,CAAC,OAAO,KAAK,QAAQ,IACzB,IAAI,CAAC,IAAI,CAAC,KAAK,IACZ,IAAI,CAAC,UAAU,CAAC,OAAO,IAC1B,CAAA,CAAA,MAAA,EAAA,IAAA,CAAQ,KAER,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAA2B,CAAC,CAC/C,CACI;;IAIA,iBAAiB,GAAA;AACxB,QAAA,OAAO,yBAAyB,CAC/B,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,OAAO,EACZ,IAAI,CAAC,eAAe,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}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-DGfaskg8.js';
|
|
2
2
|
|
|
3
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
|
|
|
@@ -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-CEKnWrco.js.map
|
|
91
91
|
|
|
92
|
-
//# sourceMappingURL=p-
|
|
92
|
+
//# sourceMappingURL=p-CEKnWrco.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-CEKnWrco.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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AAC,eAAe,EAAE;AACzB,YAAA,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}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-DGfaskg8.js';
|
|
2
2
|
import { a as cva } from './p-DtNXXDfQ.js';
|
|
3
3
|
import { i as icons } from './p-DMfuKEke.js';
|
|
4
4
|
|
|
@@ -83,6 +83,6 @@ function defineCustomElement() {
|
|
|
83
83
|
defineCustomElement();
|
|
84
84
|
|
|
85
85
|
export { Icon as I, defineCustomElement as d };
|
|
86
|
-
//# sourceMappingURL=p-
|
|
86
|
+
//# sourceMappingURL=p-CHXyCDHT.js.map
|
|
87
87
|
|
|
88
|
-
//# sourceMappingURL=p-
|
|
88
|
+
//# sourceMappingURL=p-CHXyCDHT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-CHXyCDHT.js","mappings":";;;;A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AI,CAAC,MAAM,GAAG,CAAC;aACrE,CAAC,EACF,KAAK,EAAE;AACN,gBAAA,aAAa,EAAE,CAAA,EAAG,IAAI,CAAC,MAAM,CAAK,GAAA,CAAA;AAClC,aAAA,EACD,SAAS,EAAE,GAAG,EAAA,CACP;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/icon/icon.component.css?tag=p-icon","src/components/atoms/icon/icon.component.tsx"],"sourcesContent":["","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { TextSizeOptions } from '../../../types/tailwind';\nimport { icons } from '../../../utils/icons';\n\nexport type IconVariant = keyof typeof icons;\nexport type IconFlipOptions = 'none' | 'horizontal' | 'vertical';\n\nconst icon = cva(['p-icon inline-flex'], {\n\tvariants: {\n\t\tflip: {\n\t\t\tnone: null,\n\t\t\thorizontal: 'scale-x-flip',\n\t\t\tvertical: 'scale-y-flip',\n\t\t},\n\t\tsize: {\n\t\t\tauto: 'text-auto',\n\t\t\txxs: 'text-xxs',\n\t\t\txs: 'text-xs',\n\t\t\tsm: 'text-sm',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-lg',\n\t\t\txl: 'text-xl',\n\t\t\t'2xl': 'text-2xl',\n\t\t\t'3xl': 'text-3xl',\n\t\t\t'4xl': 'text-4xl',\n\t\t},\n\t\ttransform: {\n\t\t\ttrue: 'transform-gpu scale-[0.99]',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-icon',\n\tstyleUrl: 'icon.component.css',\n})\nexport class Icon {\n\t/**\n\t * The icon the be displayed\n\t */\n\t@Prop() variant!: IconVariant;\n\n\t/**\n\t * The size of the icon, using tailwind sizes\n\t */\n\t@Prop() size: TextSizeOptions = 'base';\n\n\t/**\n\t * Wether to rotate the icon x degrees\n\t */\n\t@Prop() rotate: number = 0;\n\n\t/**\n\t * Wether to flip the icon horizontally or vertically\n\t */\n\t@Prop() flip: IconFlipOptions = 'none';\n\n\trender() {\n\t\tconst svg = icons[this.variant];\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={icon({\n\t\t\t\t\tflip: this.flip,\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\ttransform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\t'--tw-rotate': `${this.rotate}deg`,\n\t\t\t\t}}\n\t\t\t\tinnerHTML={svg}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, d as Host } from './p-DGfaskg8.js';
|
|
2
2
|
|
|
3
3
|
const drawerBodyComponentCss = ".flex{display:flex!important}.min-h-full{min-height:100%!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(247 250 252/var(--tw-bg-opacity,1));display:flex;flex:1 1 0%;flex-direction:column;min-height:100%;padding:1.5rem 1rem env(safe-area-inset-bottom,0);width:100%}";
|
|
4
4
|
|
|
@@ -13,7 +13,7 @@ const ModalBody = /*@__PURE__*/ proxyCustomElement(class ModalBody extends H {
|
|
|
13
13
|
*/
|
|
14
14
|
variant = 'default';
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '78995d6293e4ca700027e6040ebcaebe2a2e2ba0', class: `p-drawer-body variant-${this.variant}` }, h("slot", { key: 'ace509ea80ed563034194d80f8f787edaf998b52' })));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return drawerBodyComponentCss; }
|
|
19
19
|
}, [1, "p-drawer-body", {
|
|
@@ -35,6 +35,6 @@ function defineCustomElement() {
|
|
|
35
35
|
defineCustomElement();
|
|
36
36
|
|
|
37
37
|
export { ModalBody as M, defineCustomElement as d };
|
|
38
|
-
//# sourceMappingURL=p-
|
|
38
|
+
//# sourceMappingURL=p-CIT6RWWN.js.map
|
|
39
39
|
|
|
40
|
-
//# sourceMappingURL=p-
|
|
40
|
+
//# sourceMappingURL=p-CIT6RWWN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-CIT6RWWN.js","mappings":";;AAAA,MAAM,sBAAsB,GAAG,oaAAoa;;MCOtb,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;;;;;;AACrB;;AAEG;IACK,OAAO,GAAwB,SAAS;IAEhD,MAAM,GAAA;AACL,QAAA,QACC,CAAC,CAAA,IAAI,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,yBAAyB,IAAI,CAAC,OAAO,CAAA,CAAE,EAAA,EACnD,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACF;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/deprecated/atoms/drawer/body/drawer-body.component.scss?tag=p-drawer-body&encapsulation=shadow","src/components/deprecated/atoms/drawer/body/drawer-body.component.tsx"],"sourcesContent":[":host {\n\t@apply flex flex-1 flex-col;\n\t@apply min-h-full w-full px-4 py-6;\n\t@apply bg-mystic;\n\n\tpadding-bottom: env(safe-area-inset-bottom, 0);\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-drawer-body',\n\tstyleUrl: 'drawer-body.component.scss',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop() variant: 'default' | 'table' = 'default';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-drawer-body variant-${this.variant}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-DGfaskg8.js';
|
|
2
2
|
import { a as cva } from './p-DtNXXDfQ.js';
|
|
3
3
|
import { f as formatTranslation, g as getLocaleComponentStrings } from './p-DiJj8rmO.js';
|
|
4
|
-
import { d as defineCustomElement$2 } from './p-
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { d as defineCustomElement$2 } from './p-C0fFHGOr.js';
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-CHXyCDHT.js';
|
|
6
6
|
|
|
7
7
|
const floatingMenuContainerComponentCss = "*{box-sizing:border-box}:host(.preload){animation:none}.z-floating-menu{z-index:190!important}.mx-0{margin-left:0!important;margin-right:0!important}.ml-auto{margin-left:auto!important}.box-content{box-sizing:content-box!important}.flex{display:flex!important}.table{display:table!important}.size-4{height:1rem!important;width:1rem!important}.h-10{height:2.5rem!important}.h-4{height:1rem!important}.w-auto{width:auto!important}.min-w-0{min-width:0!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.text-nowrap{text-wrap:nowrap!important}.rounded-lg{border-radius:.5rem!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.pl-3{padding-left:.75rem!important}.pr-1{padding-right:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-dark-teal-100{--tw-text-opacity:1!important;color:rgb(204 220 218/var(--tw-text-opacity,1))!important}.text-dark-teal-300{--tw-text-opacity:1!important;color:rgb(102 151 145/var(--tw-text-opacity,1))!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}.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}}.hover\\:text-dark-teal-100:hover{--tw-text-opacity:1!important;color:rgb(204 220 218/var(--tw-text-opacity,1))!important}";
|
|
8
8
|
|
|
@@ -110,6 +110,6 @@ function defineCustomElement() {
|
|
|
110
110
|
defineCustomElement();
|
|
111
111
|
|
|
112
112
|
export { FloatingMenuContainer as F, defineCustomElement as d };
|
|
113
|
-
//# sourceMappingURL=p-
|
|
113
|
+
//# sourceMappingURL=p-CMl1XhfK.js.map
|
|
114
114
|
|
|
115
|
-
//# sourceMappingURL=p-
|
|
115
|
+
//# sourceMappingURL=p-CMl1XhfK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-CMl1XhfK.js","mappings":";;;;;;AAAA,MAAM,iCAAiC,GAAG,6qFAA6qF;;ACkBvtF,MAAM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,EACR,CAAA,CAAA,GAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAG,KAAK,EAAE,cAAc,EAAE,EACxB,EAAA,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,CACtC,EAEJ,CACC,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,8BAA8B,EACpC,OAAO,EAAC,UAAU,EACjB,CAAA,CACQ,CACX,EAEA,IAAI,CAAC,WAAW,GAAG,CAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,oBAAoB,EAAA,CAAG,GAAG,CAAQ,CAAA,MAAA,EAAA,IAAA,CAAA,EAEhE,IAAI,CAAC,WAAW,KAChB,4DACC,KAAK,EAAC,2FAA2F,EACjG,OAAO,EAAE,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAA,EAElC,CAAQ,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,OAAO,EAAC,UAAU,EAAA,CAAG,CACxB,CACN,CACI,CACA;;AAKD,IAAA,MAAM,WAAW,GAAA;QACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/floating-menu/container/floating-menu-container.component.css?tag=p-floating-menu-container&encapsulation=shadow","src/components/atoms/floating-menu/container/floating-menu-container.component.tsx"],"sourcesContent":[":host(.preload) {\n\t@apply animate-none;\n}\n","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tFragment,\n\tHost,\n\tListen,\n\tProp,\n\th,\n\tElement,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../../utils';\n\nconst container = cva(\n\t[\n\t\t'floating-menu-container z-floating-menu',\n\t\t'bg-dark-teal-600 shadow-3',\n\t\t'h-10 py-1 w-auto',\n\t\t'rounded-lg',\n\t\t'text-sm',\n\t\t'flex items-center gap-2',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tenableAmountSelected: {\n\t\t\t\tfalse: 'px-1',\n\t\t\t\ttrue: 'pl-3 pr-1',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst amountSelected = cva([\n\t'text-dark-teal-100',\n\t'min-w-0',\n\t'overflow-hidden text-ellipsis text-nowrap',\n]);\n\nexport type amountSelectedTemplateFunc = (amount: number) => string;\n\n@Component({\n\ttag: 'p-floating-menu-container',\n\tstyleUrl: 'floating-menu-container.component.css',\n\tshadow: true,\n})\nexport class FloatingMenuContainer {\n\t/**\n\t * Wether the container is used in the table\n\t */\n\t@Prop() usedInTable: boolean = false;\n\n\t/**\n\t * Wether to show the amount selected\n\t */\n\t@Prop() enableAmountSelected = true;\n\n\t/**\n\t * The amount selected\n\t */\n\t@Prop() amount = 0;\n\n\t/**\n\t * Wether to enablethe close button\n\t */\n\t@Prop() enableClose = true;\n\n\t/**\n\t * The template for amount selected\n\t */\n\t@Prop() amountSelectedTemplate: amountSelectedTemplateFunc = (\n\t\tamount: number\n\t) =>\n\t\tformatTranslation(\n\t\t\t(amount === 1\n\t\t\t\t? this._locales.amount_selected\n\t\t\t\t: this._locales.amount_selected_plural\n\t\t\t)?.replace('{{amount}}', amount)\n\t\t);\n\n\t/**\n\t * Event whenever the close button is clicked\n\t */\n\t@Event() close: EventEmitter<MouseEvent>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\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>\n\t\t\t\t<div\n\t\t\t\t\tclass={container({\n\t\t\t\t\t\tenableAmountSelected: this.enableAmountSelected,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.enableAmountSelected && (\n\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t<p class={amountSelected()}>\n\t\t\t\t\t\t\t\t{this.amountSelectedTemplate(this.amount)}\n\t\t\t\t\t\t\t</p>\n\n\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\tclass='mx-0 h-4 text-black-teal-400'\n\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.usedInTable ? <slot name='floating-menu-item' /> : <slot />}\n\n\t\t\t\t\t{this.enableClose && (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass='ml-auto box-content size-4 cursor-pointer p-2 text-dark-teal-300 hover:text-dark-teal-100'\n\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-icon variant='negative' />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t)}\n\t\t\t\t</div>\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"],"version":3}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-DGfaskg8.js';
|
|
2
2
|
import { a as cva } from './p-DtNXXDfQ.js';
|
|
3
3
|
import { c as cn } from './p-C9_6jSTk.js';
|
|
4
|
-
import { d as defineCustomElement$3 } from './p-
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-B6wcxr1f.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-CHXyCDHT.js';
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-CEKnWrco.js';
|
|
7
7
|
|
|
8
8
|
function _typeof(o) {
|
|
9
9
|
"@babel/helpers - typeof";
|
|
@@ -2848,7 +2848,7 @@ const Calendar = /*@__PURE__*/ proxyCustomElement(class Calendar extends H {
|
|
|
2848
2848
|
.filter(date => isValid(date));
|
|
2849
2849
|
}
|
|
2850
2850
|
render() {
|
|
2851
|
-
return (h(Host, { key: '
|
|
2851
|
+
return (h(Host, { key: '591bd660edfa3985c1af3c9e79a6c6de9a9bd4ee', class: calendar({ variant: this.variant }) }, this._getView()));
|
|
2852
2852
|
}
|
|
2853
2853
|
_getView() {
|
|
2854
2854
|
if (this._view === 'year') {
|
|
@@ -3111,6 +3111,6 @@ function defineCustomElement() {
|
|
|
3111
3111
|
defineCustomElement();
|
|
3112
3112
|
|
|
3113
3113
|
export { Calendar as C, _typeof as _, startOfUTCISOWeek as a, getUTCWeek as b, toInteger as c, defineCustomElement as d, getUTCISOWeek as e, getDefaultOptions as f, getUTCWeekYear as g, longFormatters as h, subMilliseconds as i, getTimezoneOffsetInMilliseconds as j, isProtectedWeekYearToken as k, locale as l, throwProtectedError as m, isProtectedDayOfYearToken as n, isValid as o, isBefore as p, isAfter as q, requiredArgs as r, startOfUTCWeek as s, toDate as t, format as u, startOfDay as v, startOfMonth as w, isSameDay as x };
|
|
3114
|
-
//# sourceMappingURL=p-
|
|
3114
|
+
//# sourceMappingURL=p-CMrbh6Dt.js.map
|
|
3115
3115
|
|
|
3116
|
-
//# sourceMappingURL=p-
|
|
3116
|
+
//# sourceMappingURL=p-CMrbh6Dt.js.map
|