@paperless/core 2.6.3 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/{p-d8c60f3c.entry.js → p-02a5ba4c.entry.js} +2 -2
- package/dist/build/{p-1f45e45a.entry.js → p-0720742f.entry.js} +2 -2
- package/dist/{paperless/p-993afcc3.entry.js → build/p-07e3e30d.entry.js} +2 -2
- package/dist/build/{p-84979460.entry.js → p-0e9d3d2f.entry.js} +2 -2
- package/dist/build/{p-542a718b.entry.js → p-0f438d6f.entry.js} +2 -2
- package/dist/{paperless/p-53b913b4.entry.js → build/p-112f1a9a.entry.js} +2 -2
- package/dist/build/{p-419077c3.entry.js → p-12c0b2c1.entry.js} +2 -2
- package/dist/build/{p-6581ce9c.entry.js → p-13317dea.entry.js} +2 -2
- package/dist/build/{p-21bb6e96.entry.js → p-146cdc9a.entry.js} +2 -2
- package/dist/build/{p-59ab69e0.entry.js → p-1687f809.entry.js} +2 -2
- package/dist/build/p-1e3a00fe.entry.js +2 -0
- package/dist/build/{p-9a5d6efb.entry.js → p-1f97d5ba.entry.js} +2 -2
- package/dist/build/{p-78403aa3.entry.js → p-2770aacd.entry.js} +2 -2
- package/dist/build/{p-00e39694.entry.js → p-318e4b82.entry.js} +2 -2
- package/dist/{paperless/p-4e7c1803.entry.js → build/p-34bd3730.entry.js} +2 -2
- package/dist/build/{p-a9ba2e62.entry.js → p-35338296.entry.js} +2 -2
- package/dist/{paperless/p-9ab2cb8d.entry.js → build/p-364d8401.entry.js} +2 -2
- package/dist/{paperless/p-fbd40be8.entry.js → build/p-3edcd351.entry.js} +2 -2
- package/dist/build/{p-0fe51ad0.entry.js → p-41567df7.entry.js} +2 -2
- package/dist/{paperless/p-fa78c45a.entry.js → build/p-4891bb38.entry.js} +2 -2
- package/dist/build/{p-1a551082.entry.js → p-491389e5.entry.js} +2 -2
- package/dist/build/{p-805bad94.entry.js → p-4a8ff191.entry.js} +2 -2
- package/dist/build/{p-37bdbb19.entry.js → p-4fcc39f7.entry.js} +2 -2
- package/dist/build/p-50010f40.entry.js +2 -0
- package/dist/build/p-50010f40.entry.js.map +1 -0
- package/dist/build/{p-20f5071b.entry.js → p-5268f0bc.entry.js} +2 -2
- package/dist/build/p-6b5f80a0.entry.js +2 -0
- package/dist/build/p-6b5f80a0.entry.js.map +1 -0
- package/dist/build/p-6c02bbb0.entry.js +2 -0
- package/dist/build/p-6c02bbb0.entry.js.map +1 -0
- package/dist/build/{p-3e2d2587.entry.js → p-718ba1f3.entry.js} +3 -3
- package/dist/build/{p-f1f4ba5c.js → p-73bdbb8b.js} +1 -1
- package/dist/build/{p-827b1bd0.entry.js → p-775d1f94.entry.js} +2 -2
- package/dist/{paperless/p-925d7ffc.entry.js → build/p-7e13aa00.entry.js} +2 -2
- package/dist/build/{p-2366e61d.entry.js → p-80609f67.entry.js} +2 -2
- package/dist/{paperless/p-b176abc5.entry.js → build/p-8332b7f6.entry.js} +2 -2
- package/dist/build/{p-27b62457.entry.js → p-835abd94.entry.js} +2 -2
- package/dist/{paperless/p-6fdd90eb.entry.js → build/p-8c96207e.entry.js} +2 -2
- package/dist/build/{p-2acef846.entry.js → p-8cc2dc9f.entry.js} +2 -2
- package/dist/build/{p-81d7ca4b.entry.js → p-8ee8d5e6.entry.js} +2 -2
- package/dist/{paperless/p-918229ab.entry.js → build/p-95cacdf1.entry.js} +2 -2
- package/dist/{paperless/p-97570c84.entry.js → build/p-9ea16d5d.entry.js} +2 -2
- package/dist/{paperless/p-7f1f62c2.entry.js → build/p-9ecab5af.entry.js} +2 -2
- package/dist/{paperless/p-DhGo7hbh.js → build/p-CNnSbQbk.js} +2 -2
- package/dist/{paperless/p-DhGo7hbh.js.map → build/p-CNnSbQbk.js.map} +1 -1
- package/dist/build/p-Cw3Hhv5N.js +2 -0
- package/dist/build/p-Cw3Hhv5N.js.map +1 -0
- package/dist/build/p-EKSDxqjG.js +2 -0
- package/dist/build/p-EKSDxqjG.js.map +1 -0
- package/dist/build/p-X28EVNq0.js +2 -0
- package/dist/build/p-X28EVNq0.js.map +1 -0
- package/dist/build/{p-cbd7870f.entry.js → p-a106f17c.entry.js} +2 -2
- package/dist/build/p-ae7b0672.entry.js +2 -0
- package/dist/build/{p-dc21ccd3.entry.js → p-b3dfeaaa.entry.js} +2 -2
- package/dist/build/p-b54d5ecf.css +1 -0
- package/dist/{paperless/p-c1d4c641.entry.js → build/p-bb77ae46.entry.js} +2 -2
- package/dist/build/{p-9c277029.entry.js → p-bcbcbffe.entry.js} +2 -2
- package/dist/{paperless/p-9c653182.entry.js → build/p-c5867976.entry.js} +2 -2
- package/dist/{paperless/p-54428a6a.entry.js → build/p-c9870068.entry.js} +2 -2
- package/dist/build/p-calendar.entry.esm.js.map +1 -1
- package/dist/build/p-card-container.entry.esm.js.map +1 -1
- package/dist/{paperless/p-d9a3295f.entry.js → build/p-cdeae6b0.entry.js} +2 -2
- package/dist/{paperless/p-eb66dfac.entry.js → build/p-d09bba4f.entry.js} +2 -2
- package/dist/{paperless/p-a3273e15.entry.js → build/p-d3fba507.entry.js} +2 -2
- package/dist/build/p-d7f0d02f.entry.js +2 -0
- package/dist/build/p-d7f0d02f.entry.js.map +1 -0
- package/dist/build/p-datepicker.entry.esm.js.map +1 -1
- package/dist/{paperless/p-6cb78d87.entry.js → build/p-e0c437fe.entry.js} +2 -2
- package/dist/build/{p-8325525f.entry.js → p-e20184ea.entry.js} +2 -2
- package/dist/{paperless/p-0b3af128.entry.js → build/p-e2cc514b.entry.js} +2 -2
- package/dist/build/{p-317e4698.entry.js → p-fbbe58f8.entry.js} +2 -2
- package/dist/build/{p-b8b570c4.entry.js → p-ff624855.entry.js} +2 -2
- package/dist/build/p-navbar.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-BDuPp9vl.js → index-BJGYQ0sK.js} +18 -2
- package/dist/cjs/{index-BDuPp9vl.js.map → index-BJGYQ0sK.js.map} +1 -1
- package/dist/cjs/{index-FAqASDWS.js → index-Dt9qqH1T.js} +405 -71
- package/dist/cjs/index-Dt9qqH1T.js.map +1 -0
- package/dist/cjs/index.cjs.js +26 -18
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +3 -3
- package/dist/cjs/p-attachment.cjs.entry.js +7 -7
- 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 +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 +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +13 -6
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.entry.cjs.js.map +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +15 -5
- package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +4 -4
- package/dist/cjs/p-checkbox_4.cjs.entry.js +13 -13
- package/dist/cjs/p-content-slider.cjs.entry.js +3 -3
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +23 -6
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +4 -4
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +5 -5
- package/dist/cjs/p-drawer.cjs.entry.js +1 -1
- package/dist/cjs/p-empty-state_8.cjs.entry.js +11 -11
- package/dist/cjs/p-field_2.cjs.entry.js +5 -5
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +3 -3
- package/dist/cjs/p-helper_2.cjs.entry.js +4 -4
- package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-label.cjs.entry.js +4 -4
- package/dist/cjs/p-layout.cjs.entry.js +2 -2
- package/dist/cjs/p-listing-item.cjs.entry.js +2 -2
- package/dist/cjs/p-listing-line.cjs.entry.js +2 -2
- package/dist/cjs/p-listing.cjs.entry.js +3 -3
- package/dist/cjs/p-modal-body_4.cjs.entry.js +7 -7
- package/dist/cjs/p-modal.cjs.entry.js +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +8 -5
- package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navbar.entry.cjs.js.map +1 -1
- 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-pages-item.cjs.entry.js +3 -3
- package/dist/cjs/p-pagination_3.cjs.entry.js +5 -5
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +4 -4
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +2 -2
- package/dist/cjs/p-smile.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +6 -6
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-container.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 +3 -3
- 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 +1 -1
- package/dist/cjs/state-9Y65F5kb.js +253 -0
- package/dist/cjs/state-9Y65F5kb.js.map +1 -0
- package/dist/cjs/themed-host.component-DFEbe48h.js +13 -0
- package/dist/cjs/themed-host.component-DFEbe48h.js.map +1 -0
- package/dist/collection/components/atoms/card/container/card-container.component.css +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +12 -3
- package/dist/collection/components/atoms/card/container/card-container.component.js.map +1 -1
- package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
- package/dist/collection/components/atoms/divider/divider.component.js +3 -3
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +6 -6
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +12 -4
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +22 -4
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +4 -4
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +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/range/range.component.js +2 -2
- package/dist/collection/components/molecules/select/select.component.js +1 -1
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +6 -4
- package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
- package/dist/collection/index.js +2 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/internal/themed-host.component.js +6 -0
- package/dist/collection/internal/themed-host.component.js.map +1 -0
- package/dist/collection/state.js +36 -0
- package/dist/collection/state.js.map +1 -0
- package/dist/collection/tailwind/theme/colors.js +1 -0
- package/dist/collection/tailwind/theme/colors.js.map +1 -1
- package/dist/collection/tailwind.config.js +1 -0
- package/dist/collection/tailwind.config.js.map +1 -1
- package/dist/components/index.js +12 -10
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-DWsW_D0V.js → p-4sqhIpUp.js} +3 -3
- package/dist/components/{p-DWsW_D0V.js.map → p-4sqhIpUp.js.map} +1 -1
- package/dist/components/{p-CDF0u5fl.js → p-6cqiSGZO.js} +14 -14
- package/dist/components/{p-CDF0u5fl.js.map → p-6cqiSGZO.js.map} +1 -1
- package/dist/components/{p-C-RgoZv4.js → p-B0skInOM.js} +5 -5
- package/dist/components/{p-C-RgoZv4.js.map → p-B0skInOM.js.map} +1 -1
- package/dist/components/{p-BRnY1zdf.js → p-B9bfyk_o.js} +5 -5
- package/dist/components/{p-BRnY1zdf.js.map → p-B9bfyk_o.js.map} +1 -1
- package/dist/components/{p-RuhxHrdY.js → p-BA2VuVYJ.js} +8 -8
- package/dist/components/{p-RuhxHrdY.js.map → p-BA2VuVYJ.js.map} +1 -1
- package/dist/components/p-BSL5cktm.js +11 -0
- package/dist/components/p-BSL5cktm.js.map +1 -0
- package/dist/components/{p-3Uu9SRMg.js → p-Bfmp3OPx.js} +8 -8
- package/dist/components/{p-3Uu9SRMg.js.map → p-Bfmp3OPx.js.map} +1 -1
- package/dist/components/{p-C6RWkimA.js → p-BiWMxBAJ.js} +6 -6
- package/dist/components/{p-C6RWkimA.js.map → p-BiWMxBAJ.js.map} +1 -1
- package/dist/components/{p-BUp9ElaY.js → p-BjzvlPmK.js} +13 -13
- package/dist/components/{p-BUp9ElaY.js.map → p-BjzvlPmK.js.map} +1 -1
- package/dist/components/{p-Da0Vk5zI.js → p-BxaMa-zX.js} +5 -5
- package/dist/components/{p-Da0Vk5zI.js.map → p-BxaMa-zX.js.map} +1 -1
- package/dist/components/{p-CR36e-YR.js → p-C2Em7CPU.js} +3 -3
- package/dist/components/{p-CR36e-YR.js.map → p-C2Em7CPU.js.map} +1 -1
- package/dist/components/{p-D30EqV3s.js → p-C3NM3TpX.js} +4 -4
- package/dist/components/{p-D30EqV3s.js.map → p-C3NM3TpX.js.map} +1 -1
- package/dist/components/{p-BJg6oRaH.js → p-C5ARltpo.js} +420 -80
- package/dist/components/p-C5ARltpo.js.map +1 -0
- package/dist/components/{p-Bn6Arg73.js → p-C6GU5tE5.js} +5 -5
- package/dist/components/{p-Bn6Arg73.js.map → p-C6GU5tE5.js.map} +1 -1
- package/dist/components/{p-DKYj0xlY.js → p-C6zgmyle.js} +8 -8
- package/dist/components/{p-DKYj0xlY.js.map → p-C6zgmyle.js.map} +1 -1
- package/dist/components/{p-CvfOjT_y.js → p-CEFg09mj.js} +3 -3
- package/dist/components/{p-CvfOjT_y.js.map → p-CEFg09mj.js.map} +1 -1
- package/dist/components/p-CNxD99na.js +247 -0
- package/dist/components/p-CNxD99na.js.map +1 -0
- package/dist/components/{p-DwtD7Wpi.js → p-CQD0GsAo.js} +7 -7
- package/dist/components/{p-DwtD7Wpi.js.map → p-CQD0GsAo.js.map} +1 -1
- package/dist/components/{p-tdjn65Lz.js → p-CRSKFTLB.js} +17 -3
- package/dist/components/p-CRSKFTLB.js.map +1 -0
- package/dist/components/{p-rlO7JrUU.js → p-CUIjth2u.js} +7 -7
- package/dist/components/{p-rlO7JrUU.js.map → p-CUIjth2u.js.map} +1 -1
- package/dist/components/{p-BBDZj5F5.js → p-C_G1K6W7.js} +5 -5
- package/dist/components/{p-BBDZj5F5.js.map → p-C_G1K6W7.js.map} +1 -1
- package/dist/components/{p-CSIFLNsS.js → p-Cd8bEp0e.js} +4 -4
- package/dist/components/{p-CSIFLNsS.js.map → p-Cd8bEp0e.js.map} +1 -1
- package/dist/components/{p-v8ShN4Lu.js → p-CeV3e9Ed.js} +15 -15
- package/dist/components/{p-v8ShN4Lu.js.map → p-CeV3e9Ed.js.map} +1 -1
- package/dist/components/{p-5F7i7JYI.js → p-CkEQyy75.js} +6 -6
- package/dist/components/{p-5F7i7JYI.js.map → p-CkEQyy75.js.map} +1 -1
- package/dist/components/{p-CI2j2oC1.js → p-CqCcGAN-.js} +8 -8
- package/dist/components/{p-CI2j2oC1.js.map → p-CqCcGAN-.js.map} +1 -1
- package/dist/components/{p-DUJkO2n3.js → p-CwI9SpGk.js} +6 -6
- package/dist/components/{p-DUJkO2n3.js.map → p-CwI9SpGk.js.map} +1 -1
- package/dist/components/{p-9uqRVS0-.js → p-CzlGgwa6.js} +6 -6
- package/dist/components/{p-9uqRVS0-.js.map → p-CzlGgwa6.js.map} +1 -1
- package/dist/components/{p-C3sIHSTA.js → p-DAPYNh1W.js} +4 -4
- package/dist/components/{p-C3sIHSTA.js.map → p-DAPYNh1W.js.map} +1 -1
- package/dist/components/{p-D_goLzIz.js → p-DCncXHn8.js} +4 -4
- package/dist/components/{p-D_goLzIz.js.map → p-DCncXHn8.js.map} +1 -1
- package/dist/components/{p-wXp3GFHo.js → p-DD9o0VSs.js} +4 -4
- package/dist/components/{p-wXp3GFHo.js.map → p-DD9o0VSs.js.map} +1 -1
- package/dist/components/{p-BBZqWGjs.js → p-DHpGjClN.js} +15 -15
- package/dist/components/{p-BBZqWGjs.js.map → p-DHpGjClN.js.map} +1 -1
- package/dist/components/{p-CK0zv8Hv.js → p-DKyqEQOI.js} +5 -5
- package/dist/components/{p-CK0zv8Hv.js.map → p-DKyqEQOI.js.map} +1 -1
- package/dist/components/{p-3V3jLJ40.js → p-DQTEQ5vY.js} +7 -7
- package/dist/components/{p-3V3jLJ40.js.map → p-DQTEQ5vY.js.map} +1 -1
- package/dist/components/{p-DxmvFiF3.js → p-DVuwVg4C.js} +3 -3
- package/dist/components/{p-DxmvFiF3.js.map → p-DVuwVg4C.js.map} +1 -1
- package/dist/components/{p-DRnTySb-.js → p-DbR2eHRM.js} +3 -3
- package/dist/components/{p-DRnTySb-.js.map → p-DbR2eHRM.js.map} +1 -1
- package/dist/components/{p-Fa6eP7ZQ.js → p-DeobaUTR.js} +6 -6
- package/dist/components/{p-Fa6eP7ZQ.js.map → p-DeobaUTR.js.map} +1 -1
- package/dist/components/{p-DC4qozte.js → p-DkDvtuHb.js} +9 -9
- package/dist/components/{p-DC4qozte.js.map → p-DkDvtuHb.js.map} +1 -1
- package/dist/components/{p-DI407tdD.js → p-DktGBJJX.js} +5 -5
- package/dist/components/{p-DI407tdD.js.map → p-DktGBJJX.js.map} +1 -1
- package/dist/components/{p-CVgaeLBB.js → p-DsH8IdGu.js} +6 -6
- package/dist/components/{p-CVgaeLBB.js.map → p-DsH8IdGu.js.map} +1 -1
- package/dist/components/{p-Cb7zGv2a.js → p-Dzc909RW.js} +5 -5
- package/dist/components/{p-Cb7zGv2a.js.map → p-Dzc909RW.js.map} +1 -1
- package/dist/components/{p-B8Ai2EJn.js → p-I8WvUr7g.js} +6 -6
- package/dist/components/{p-B8Ai2EJn.js.map → p-I8WvUr7g.js.map} +1 -1
- package/dist/components/{p-DcB4vo69.js → p-Kd4E5xHS.js} +4 -4
- package/dist/components/{p-DcB4vo69.js.map → p-Kd4E5xHS.js.map} +1 -1
- package/dist/components/{p-C4WDKcUV.js → p-QuG6bo9L.js} +4 -4
- package/dist/components/{p-C4WDKcUV.js.map → p-QuG6bo9L.js.map} +1 -1
- package/dist/components/{p-BfzApjOK.js → p-UHgjv8T6.js} +7 -7
- package/dist/components/{p-BfzApjOK.js.map → p-UHgjv8T6.js.map} +1 -1
- package/dist/components/p-accordion.js +5 -5
- package/dist/components/p-attachment.js +13 -13
- 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 +1 -1
- package/dist/components/p-card-container.js +14 -5
- package/dist/components/p-card-container.js.map +1 -1
- package/dist/components/p-card-header.js +7 -7
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +3 -3
- package/dist/components/p-cropper.js +4 -4
- package/dist/components/p-datepicker.js +32 -15
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +9 -9
- 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-BjsPeqGD.js → p-e-mjdgYn.js} +3 -3
- package/dist/components/{p-BjsPeqGD.js.map → p-e-mjdgYn.js.map} +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-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 +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration-deprecated.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +3 -3
- package/dist/components/p-label.js +5 -5
- package/dist/components/p-layout.js +2 -2
- package/dist/components/p-listing-item.js +3 -3
- package/dist/components/p-listing-line.js +1 -1
- package/dist/components/p-listing.js +4 -4
- 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 +11 -11
- package/dist/components/p-navbar.js +11 -9
- package/dist/components/p-navbar.js.map +1 -1
- 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 +1 -1
- package/dist/components/p-profile.js +6 -6
- package/dist/components/p-radio.js +4 -4
- package/dist/components/p-range.js +1 -1
- package/dist/components/{p-D3EM8Uiq.js → p-rlGdjFMT.js} +7 -7
- package/dist/components/{p-D3EM8Uiq.js.map → p-rlGdjFMT.js.map} +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +14 -14
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +3 -3
- package/dist/components/p-tab-container.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-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +30 -30
- package/dist/components/p-toast-container.js +3 -3
- package/dist/components/p-toast.js +3 -3
- package/dist/components/p-toggle.js +4 -4
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-D6gMJJ_3.js → p-u3j0oh8O.js} +8 -8
- package/dist/components/{p-D6gMJJ_3.js.map → p-u3j0oh8O.js.map} +1 -1
- package/dist/components/{p-v_qRLJr8.js → p-u7w6ZHr0.js} +4 -4
- package/dist/components/{p-v_qRLJr8.js.map → p-u7w6ZHr0.js.map} +1 -1
- package/dist/esm/{index-DhGo7hbh.js → index-CNnSbQbk.js} +17 -3
- package/dist/esm/{index-DhGo7hbh.js.map → index-CNnSbQbk.js.map} +1 -1
- package/dist/esm/{index-K1xa0GD1.js → index-EKSDxqjG.js} +404 -71
- package/dist/esm/index-EKSDxqjG.js.map +1 -0
- package/dist/esm/index.js +12 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/p-accordion.entry.js +3 -3
- package/dist/esm/p-attachment.entry.js +7 -7
- 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 +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 +1 -1
- package/dist/esm/p-calendar.entry.js +13 -6
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +15 -5
- package/dist/esm/p-card-container.entry.js.map +1 -1
- package/dist/esm/p-card-header.entry.js +4 -4
- package/dist/esm/p-checkbox_4.entry.js +13 -13
- package/dist/esm/p-content-slider.entry.js +3 -3
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +23 -6
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-divider.entry.js +4 -4
- package/dist/esm/p-drawer-body_3.entry.js +5 -5
- package/dist/esm/p-drawer.entry.js +1 -1
- package/dist/esm/p-empty-state_8.entry.js +11 -11
- package/dist/esm/p-field_2.entry.js +5 -5
- package/dist/esm/p-floating-menu-item.entry.js +3 -3
- package/dist/esm/p-helper_2.entry.js +4 -4
- package/dist/esm/p-iban-icon.entry.js +1 -1
- package/dist/esm/p-illustration-deprecated.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-label.entry.js +4 -4
- package/dist/esm/p-layout.entry.js +2 -2
- package/dist/esm/p-listing-item.entry.js +2 -2
- package/dist/esm/p-listing-line.entry.js +2 -2
- package/dist/esm/p-listing.entry.js +3 -3
- package/dist/esm/p-modal-body_4.entry.js +7 -7
- package/dist/esm/p-modal.entry.js +1 -1
- package/dist/esm/p-navbar.entry.js +8 -5
- package/dist/esm/p-navbar.entry.js.map +1 -1
- 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-pages-item.entry.js +3 -3
- package/dist/esm/p-pagination_3.entry.js +5 -5
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +4 -4
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +2 -2
- package/dist/esm/p-smile.entry.js +2 -2
- package/dist/esm/p-stepper-item_2.entry.js +6 -6
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-container.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 +3 -3
- package/dist/esm/p-toast.entry.js +2 -2
- package/dist/esm/p-toggle.entry.js +4 -4
- package/dist/esm/paperless.js +2 -2
- package/dist/esm/state-BsTOa3w8.js +247 -0
- package/dist/esm/state-BsTOa3w8.js.map +1 -0
- package/dist/esm/themed-host.component-UpbDmgQR.js +11 -0
- package/dist/esm/themed-host.component-UpbDmgQR.js.map +1 -0
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/paperless/{p-d8c60f3c.entry.js → p-02a5ba4c.entry.js} +2 -2
- package/dist/paperless/{p-1f45e45a.entry.js → p-0720742f.entry.js} +2 -2
- package/dist/{build/p-993afcc3.entry.js → paperless/p-07e3e30d.entry.js} +2 -2
- package/dist/paperless/{p-84979460.entry.js → p-0e9d3d2f.entry.js} +2 -2
- package/dist/paperless/{p-542a718b.entry.js → p-0f438d6f.entry.js} +2 -2
- package/dist/{build/p-53b913b4.entry.js → paperless/p-112f1a9a.entry.js} +2 -2
- package/dist/paperless/{p-419077c3.entry.js → p-12c0b2c1.entry.js} +2 -2
- package/dist/paperless/{p-6581ce9c.entry.js → p-13317dea.entry.js} +2 -2
- package/dist/paperless/{p-21bb6e96.entry.js → p-146cdc9a.entry.js} +2 -2
- package/dist/paperless/{p-59ab69e0.entry.js → p-1687f809.entry.js} +2 -2
- package/dist/paperless/p-1e3a00fe.entry.js +2 -0
- package/dist/paperless/{p-9a5d6efb.entry.js → p-1f97d5ba.entry.js} +2 -2
- package/dist/paperless/{p-78403aa3.entry.js → p-2770aacd.entry.js} +2 -2
- package/dist/paperless/{p-00e39694.entry.js → p-318e4b82.entry.js} +2 -2
- package/dist/{build/p-4e7c1803.entry.js → paperless/p-34bd3730.entry.js} +2 -2
- package/dist/paperless/{p-a9ba2e62.entry.js → p-35338296.entry.js} +2 -2
- package/dist/{build/p-9ab2cb8d.entry.js → paperless/p-364d8401.entry.js} +2 -2
- package/dist/{build/p-fbd40be8.entry.js → paperless/p-3edcd351.entry.js} +2 -2
- package/dist/paperless/{p-0fe51ad0.entry.js → p-41567df7.entry.js} +2 -2
- package/dist/{build/p-fa78c45a.entry.js → paperless/p-4891bb38.entry.js} +2 -2
- package/dist/paperless/{p-1a551082.entry.js → p-491389e5.entry.js} +2 -2
- package/dist/paperless/{p-805bad94.entry.js → p-4a8ff191.entry.js} +2 -2
- package/dist/paperless/{p-37bdbb19.entry.js → p-4fcc39f7.entry.js} +2 -2
- package/dist/paperless/p-50010f40.entry.js +2 -0
- package/dist/paperless/p-50010f40.entry.js.map +1 -0
- package/dist/paperless/{p-20f5071b.entry.js → p-5268f0bc.entry.js} +2 -2
- package/dist/paperless/p-6b5f80a0.entry.js +2 -0
- package/dist/paperless/p-6b5f80a0.entry.js.map +1 -0
- package/dist/paperless/p-6c02bbb0.entry.js +2 -0
- package/dist/paperless/p-6c02bbb0.entry.js.map +1 -0
- package/dist/paperless/{p-3e2d2587.entry.js → p-718ba1f3.entry.js} +3 -3
- package/dist/paperless/{p-827b1bd0.entry.js → p-775d1f94.entry.js} +2 -2
- package/dist/{build/p-925d7ffc.entry.js → paperless/p-7e13aa00.entry.js} +2 -2
- package/dist/paperless/{p-2366e61d.entry.js → p-80609f67.entry.js} +2 -2
- package/dist/{build/p-b176abc5.entry.js → paperless/p-8332b7f6.entry.js} +2 -2
- package/dist/paperless/{p-27b62457.entry.js → p-835abd94.entry.js} +2 -2
- package/dist/{build/p-6fdd90eb.entry.js → paperless/p-8c96207e.entry.js} +2 -2
- package/dist/paperless/{p-2acef846.entry.js → p-8cc2dc9f.entry.js} +2 -2
- package/dist/paperless/{p-81d7ca4b.entry.js → p-8ee8d5e6.entry.js} +2 -2
- package/dist/{build/p-918229ab.entry.js → paperless/p-95cacdf1.entry.js} +2 -2
- package/dist/{build/p-97570c84.entry.js → paperless/p-9ea16d5d.entry.js} +2 -2
- package/dist/{build/p-7f1f62c2.entry.js → paperless/p-9ecab5af.entry.js} +2 -2
- package/dist/{build/p-DhGo7hbh.js → paperless/p-CNnSbQbk.js} +2 -2
- package/dist/{build/p-DhGo7hbh.js.map → paperless/p-CNnSbQbk.js.map} +1 -1
- package/dist/paperless/p-Cw3Hhv5N.js +2 -0
- package/dist/paperless/p-Cw3Hhv5N.js.map +1 -0
- package/dist/paperless/p-EKSDxqjG.js +2 -0
- package/dist/paperless/p-EKSDxqjG.js.map +1 -0
- package/dist/paperless/p-X28EVNq0.js +2 -0
- package/dist/paperless/p-X28EVNq0.js.map +1 -0
- package/dist/paperless/{p-cbd7870f.entry.js → p-a106f17c.entry.js} +2 -2
- package/dist/paperless/p-ae7b0672.entry.js +2 -0
- package/dist/paperless/{p-dc21ccd3.entry.js → p-b3dfeaaa.entry.js} +2 -2
- package/dist/{build/p-c1d4c641.entry.js → paperless/p-bb77ae46.entry.js} +2 -2
- package/dist/paperless/{p-9c277029.entry.js → p-bcbcbffe.entry.js} +2 -2
- package/dist/{build/p-9c653182.entry.js → paperless/p-c5867976.entry.js} +2 -2
- package/dist/{build/p-54428a6a.entry.js → paperless/p-c9870068.entry.js} +2 -2
- package/dist/paperless/p-calendar.entry.esm.js.map +1 -1
- package/dist/paperless/p-card-container.entry.esm.js.map +1 -1
- package/dist/{build/p-d9a3295f.entry.js → paperless/p-cdeae6b0.entry.js} +2 -2
- package/dist/{build/p-eb66dfac.entry.js → paperless/p-d09bba4f.entry.js} +2 -2
- package/dist/{build/p-a3273e15.entry.js → paperless/p-d3fba507.entry.js} +2 -2
- package/dist/paperless/p-d7f0d02f.entry.js +2 -0
- package/dist/paperless/p-d7f0d02f.entry.js.map +1 -0
- package/dist/paperless/p-datepicker.entry.esm.js.map +1 -1
- package/dist/{build/p-6cb78d87.entry.js → paperless/p-e0c437fe.entry.js} +2 -2
- package/dist/paperless/{p-8325525f.entry.js → p-e20184ea.entry.js} +2 -2
- package/dist/{build/p-0b3af128.entry.js → paperless/p-e2cc514b.entry.js} +2 -2
- package/dist/paperless/{p-317e4698.entry.js → p-fbbe58f8.entry.js} +2 -2
- package/dist/paperless/{p-b8b570c4.entry.js → p-ff624855.entry.js} +2 -2
- package/dist/paperless/p-navbar.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.css +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/style/_reset.scss +9 -2
- package/dist/style/_typograhpy.scss +26 -2
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/theme/colors.ts +1 -0
- package/dist/tailwind.config.ts +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/internal/themed-host.component.d.ts +2 -0
- package/dist/types/state.d.ts +11 -0
- package/dist/types/tailwind/theme/colors.d.ts +1 -0
- package/dist/types/tailwind.config.d.ts +1 -0
- package/package.json +2 -1
- package/dist/build/p-13746ec7.entry.js +0 -2
- package/dist/build/p-50b3268f.entry.js +0 -2
- package/dist/build/p-8817fc5d.entry.js +0 -2
- package/dist/build/p-8817fc5d.entry.js.map +0 -1
- package/dist/build/p-8a116c31.entry.js +0 -2
- package/dist/build/p-8a116c31.entry.js.map +0 -1
- package/dist/build/p-K1xa0GD1.js +0 -2
- package/dist/build/p-K1xa0GD1.js.map +0 -1
- package/dist/build/p-b96f8d26.entry.js +0 -2
- package/dist/build/p-b96f8d26.entry.js.map +0 -1
- package/dist/build/p-ba9ecfd6.entry.js +0 -2
- package/dist/build/p-ba9ecfd6.entry.js.map +0 -1
- package/dist/build/p-d2118b3c.css +0 -1
- package/dist/cjs/index-FAqASDWS.js.map +0 -1
- package/dist/components/p-BJg6oRaH.js.map +0 -1
- package/dist/components/p-tdjn65Lz.js.map +0 -1
- package/dist/esm/index-K1xa0GD1.js.map +0 -1
- package/dist/paperless/p-13746ec7.entry.js +0 -2
- package/dist/paperless/p-50b3268f.entry.js +0 -2
- package/dist/paperless/p-8817fc5d.entry.js +0 -2
- package/dist/paperless/p-8817fc5d.entry.js.map +0 -1
- package/dist/paperless/p-8a116c31.entry.js +0 -2
- package/dist/paperless/p-8a116c31.entry.js.map +0 -1
- package/dist/paperless/p-K1xa0GD1.js +0 -2
- package/dist/paperless/p-K1xa0GD1.js.map +0 -1
- package/dist/paperless/p-b96f8d26.entry.js +0 -2
- package/dist/paperless/p-b96f8d26.entry.js.map +0 -1
- package/dist/paperless/p-ba9ecfd6.entry.js +0 -2
- package/dist/paperless/p-ba9ecfd6.entry.js.map +0 -1
- /package/dist/build/{p-d8c60f3c.entry.js.map → p-02a5ba4c.entry.js.map} +0 -0
- /package/dist/build/{p-1f45e45a.entry.js.map → p-0720742f.entry.js.map} +0 -0
- /package/dist/build/{p-993afcc3.entry.js.map → p-07e3e30d.entry.js.map} +0 -0
- /package/dist/build/{p-84979460.entry.js.map → p-0e9d3d2f.entry.js.map} +0 -0
- /package/dist/build/{p-542a718b.entry.js.map → p-0f438d6f.entry.js.map} +0 -0
- /package/dist/build/{p-53b913b4.entry.js.map → p-112f1a9a.entry.js.map} +0 -0
- /package/dist/build/{p-419077c3.entry.js.map → p-12c0b2c1.entry.js.map} +0 -0
- /package/dist/build/{p-6581ce9c.entry.js.map → p-13317dea.entry.js.map} +0 -0
- /package/dist/build/{p-21bb6e96.entry.js.map → p-146cdc9a.entry.js.map} +0 -0
- /package/dist/build/{p-59ab69e0.entry.js.map → p-1687f809.entry.js.map} +0 -0
- /package/dist/build/{p-13746ec7.entry.js.map → p-1e3a00fe.entry.js.map} +0 -0
- /package/dist/build/{p-9a5d6efb.entry.js.map → p-1f97d5ba.entry.js.map} +0 -0
- /package/dist/build/{p-78403aa3.entry.js.map → p-2770aacd.entry.js.map} +0 -0
- /package/dist/build/{p-00e39694.entry.js.map → p-318e4b82.entry.js.map} +0 -0
- /package/dist/build/{p-4e7c1803.entry.js.map → p-34bd3730.entry.js.map} +0 -0
- /package/dist/build/{p-a9ba2e62.entry.js.map → p-35338296.entry.js.map} +0 -0
- /package/dist/build/{p-9ab2cb8d.entry.js.map → p-364d8401.entry.js.map} +0 -0
- /package/dist/build/{p-fbd40be8.entry.js.map → p-3edcd351.entry.js.map} +0 -0
- /package/dist/build/{p-0fe51ad0.entry.js.map → p-41567df7.entry.js.map} +0 -0
- /package/dist/build/{p-fa78c45a.entry.js.map → p-4891bb38.entry.js.map} +0 -0
- /package/dist/build/{p-1a551082.entry.js.map → p-491389e5.entry.js.map} +0 -0
- /package/dist/build/{p-805bad94.entry.js.map → p-4a8ff191.entry.js.map} +0 -0
- /package/dist/build/{p-37bdbb19.entry.js.map → p-4fcc39f7.entry.js.map} +0 -0
- /package/dist/build/{p-20f5071b.entry.js.map → p-5268f0bc.entry.js.map} +0 -0
- /package/dist/build/{p-3e2d2587.entry.js.map → p-718ba1f3.entry.js.map} +0 -0
- /package/dist/build/{p-827b1bd0.entry.js.map → p-775d1f94.entry.js.map} +0 -0
- /package/dist/build/{p-925d7ffc.entry.js.map → p-7e13aa00.entry.js.map} +0 -0
- /package/dist/build/{p-2366e61d.entry.js.map → p-80609f67.entry.js.map} +0 -0
- /package/dist/build/{p-b176abc5.entry.js.map → p-8332b7f6.entry.js.map} +0 -0
- /package/dist/build/{p-27b62457.entry.js.map → p-835abd94.entry.js.map} +0 -0
- /package/dist/build/{p-6fdd90eb.entry.js.map → p-8c96207e.entry.js.map} +0 -0
- /package/dist/build/{p-2acef846.entry.js.map → p-8cc2dc9f.entry.js.map} +0 -0
- /package/dist/build/{p-81d7ca4b.entry.js.map → p-8ee8d5e6.entry.js.map} +0 -0
- /package/dist/build/{p-918229ab.entry.js.map → p-95cacdf1.entry.js.map} +0 -0
- /package/dist/build/{p-97570c84.entry.js.map → p-9ea16d5d.entry.js.map} +0 -0
- /package/dist/build/{p-7f1f62c2.entry.js.map → p-9ecab5af.entry.js.map} +0 -0
- /package/dist/build/{p-cbd7870f.entry.js.map → p-a106f17c.entry.js.map} +0 -0
- /package/dist/build/{p-50b3268f.entry.js.map → p-ae7b0672.entry.js.map} +0 -0
- /package/dist/build/{p-dc21ccd3.entry.js.map → p-b3dfeaaa.entry.js.map} +0 -0
- /package/dist/build/{p-c1d4c641.entry.js.map → p-bb77ae46.entry.js.map} +0 -0
- /package/dist/build/{p-9c277029.entry.js.map → p-bcbcbffe.entry.js.map} +0 -0
- /package/dist/build/{p-9c653182.entry.js.map → p-c5867976.entry.js.map} +0 -0
- /package/dist/build/{p-54428a6a.entry.js.map → p-c9870068.entry.js.map} +0 -0
- /package/dist/build/{p-d9a3295f.entry.js.map → p-cdeae6b0.entry.js.map} +0 -0
- /package/dist/build/{p-eb66dfac.entry.js.map → p-d09bba4f.entry.js.map} +0 -0
- /package/dist/build/{p-a3273e15.entry.js.map → p-d3fba507.entry.js.map} +0 -0
- /package/dist/build/{p-6cb78d87.entry.js.map → p-e0c437fe.entry.js.map} +0 -0
- /package/dist/build/{p-8325525f.entry.js.map → p-e20184ea.entry.js.map} +0 -0
- /package/dist/build/{p-0b3af128.entry.js.map → p-e2cc514b.entry.js.map} +0 -0
- /package/dist/build/{p-317e4698.entry.js.map → p-fbbe58f8.entry.js.map} +0 -0
- /package/dist/build/{p-b8b570c4.entry.js.map → p-ff624855.entry.js.map} +0 -0
- /package/dist/paperless/{p-d8c60f3c.entry.js.map → p-02a5ba4c.entry.js.map} +0 -0
- /package/dist/paperless/{p-1f45e45a.entry.js.map → p-0720742f.entry.js.map} +0 -0
- /package/dist/paperless/{p-993afcc3.entry.js.map → p-07e3e30d.entry.js.map} +0 -0
- /package/dist/paperless/{p-84979460.entry.js.map → p-0e9d3d2f.entry.js.map} +0 -0
- /package/dist/paperless/{p-542a718b.entry.js.map → p-0f438d6f.entry.js.map} +0 -0
- /package/dist/paperless/{p-53b913b4.entry.js.map → p-112f1a9a.entry.js.map} +0 -0
- /package/dist/paperless/{p-419077c3.entry.js.map → p-12c0b2c1.entry.js.map} +0 -0
- /package/dist/paperless/{p-6581ce9c.entry.js.map → p-13317dea.entry.js.map} +0 -0
- /package/dist/paperless/{p-21bb6e96.entry.js.map → p-146cdc9a.entry.js.map} +0 -0
- /package/dist/paperless/{p-59ab69e0.entry.js.map → p-1687f809.entry.js.map} +0 -0
- /package/dist/paperless/{p-13746ec7.entry.js.map → p-1e3a00fe.entry.js.map} +0 -0
- /package/dist/paperless/{p-9a5d6efb.entry.js.map → p-1f97d5ba.entry.js.map} +0 -0
- /package/dist/paperless/{p-78403aa3.entry.js.map → p-2770aacd.entry.js.map} +0 -0
- /package/dist/paperless/{p-00e39694.entry.js.map → p-318e4b82.entry.js.map} +0 -0
- /package/dist/paperless/{p-4e7c1803.entry.js.map → p-34bd3730.entry.js.map} +0 -0
- /package/dist/paperless/{p-a9ba2e62.entry.js.map → p-35338296.entry.js.map} +0 -0
- /package/dist/paperless/{p-9ab2cb8d.entry.js.map → p-364d8401.entry.js.map} +0 -0
- /package/dist/paperless/{p-fbd40be8.entry.js.map → p-3edcd351.entry.js.map} +0 -0
- /package/dist/paperless/{p-0fe51ad0.entry.js.map → p-41567df7.entry.js.map} +0 -0
- /package/dist/paperless/{p-fa78c45a.entry.js.map → p-4891bb38.entry.js.map} +0 -0
- /package/dist/paperless/{p-1a551082.entry.js.map → p-491389e5.entry.js.map} +0 -0
- /package/dist/paperless/{p-805bad94.entry.js.map → p-4a8ff191.entry.js.map} +0 -0
- /package/dist/paperless/{p-37bdbb19.entry.js.map → p-4fcc39f7.entry.js.map} +0 -0
- /package/dist/paperless/{p-20f5071b.entry.js.map → p-5268f0bc.entry.js.map} +0 -0
- /package/dist/paperless/{p-3e2d2587.entry.js.map → p-718ba1f3.entry.js.map} +0 -0
- /package/dist/paperless/{p-827b1bd0.entry.js.map → p-775d1f94.entry.js.map} +0 -0
- /package/dist/paperless/{p-925d7ffc.entry.js.map → p-7e13aa00.entry.js.map} +0 -0
- /package/dist/paperless/{p-2366e61d.entry.js.map → p-80609f67.entry.js.map} +0 -0
- /package/dist/paperless/{p-b176abc5.entry.js.map → p-8332b7f6.entry.js.map} +0 -0
- /package/dist/paperless/{p-27b62457.entry.js.map → p-835abd94.entry.js.map} +0 -0
- /package/dist/paperless/{p-6fdd90eb.entry.js.map → p-8c96207e.entry.js.map} +0 -0
- /package/dist/paperless/{p-2acef846.entry.js.map → p-8cc2dc9f.entry.js.map} +0 -0
- /package/dist/paperless/{p-81d7ca4b.entry.js.map → p-8ee8d5e6.entry.js.map} +0 -0
- /package/dist/paperless/{p-918229ab.entry.js.map → p-95cacdf1.entry.js.map} +0 -0
- /package/dist/paperless/{p-97570c84.entry.js.map → p-9ea16d5d.entry.js.map} +0 -0
- /package/dist/paperless/{p-7f1f62c2.entry.js.map → p-9ecab5af.entry.js.map} +0 -0
- /package/dist/paperless/{p-cbd7870f.entry.js.map → p-a106f17c.entry.js.map} +0 -0
- /package/dist/paperless/{p-50b3268f.entry.js.map → p-ae7b0672.entry.js.map} +0 -0
- /package/dist/paperless/{p-dc21ccd3.entry.js.map → p-b3dfeaaa.entry.js.map} +0 -0
- /package/dist/paperless/{p-c1d4c641.entry.js.map → p-bb77ae46.entry.js.map} +0 -0
- /package/dist/paperless/{p-9c277029.entry.js.map → p-bcbcbffe.entry.js.map} +0 -0
- /package/dist/paperless/{p-9c653182.entry.js.map → p-c5867976.entry.js.map} +0 -0
- /package/dist/paperless/{p-54428a6a.entry.js.map → p-c9870068.entry.js.map} +0 -0
- /package/dist/paperless/{p-d9a3295f.entry.js.map → p-cdeae6b0.entry.js.map} +0 -0
- /package/dist/paperless/{p-eb66dfac.entry.js.map → p-d09bba4f.entry.js.map} +0 -0
- /package/dist/paperless/{p-a3273e15.entry.js.map → p-d3fba507.entry.js.map} +0 -0
- /package/dist/paperless/{p-6cb78d87.entry.js.map → p-e0c437fe.entry.js.map} +0 -0
- /package/dist/paperless/{p-8325525f.entry.js.map → p-e20184ea.entry.js.map} +0 -0
- /package/dist/paperless/{p-0b3af128.entry.js.map → p-e2cc514b.entry.js.map} +0 -0
- /package/dist/paperless/{p-317e4698.entry.js.map → p-fbbe58f8.entry.js.map} +0 -0
- /package/dist/paperless/{p-b8b570c4.entry.js.map → p-ff624855.entry.js.map} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
4
|
import './clsx-ChV9xqsO.js';
|
|
@@ -85,12 +85,12 @@ const PaginationPagesItem = class {
|
|
|
85
85
|
*/
|
|
86
86
|
disabled = false;
|
|
87
87
|
render() {
|
|
88
|
-
return (h("div", { key: '
|
|
88
|
+
return (h("div", { key: '50dd701b99f0e0a0775b308bfdfefe3e5251655d', class: item({
|
|
89
89
|
variant: this.variant ?? 'default',
|
|
90
90
|
active: asBoolean(this.active),
|
|
91
91
|
hover: asBoolean(this.hover, true),
|
|
92
92
|
disabled: asBoolean(this.disabled),
|
|
93
|
-
}) }, h("slot", { key: '
|
|
93
|
+
}) }, h("slot", { key: 'c948c211b8ed225e929e17786bb2400fa5259139' })));
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
96
|
PaginationPagesItem.style = paginationPagesItemComponentCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, F as Fragment, g as getElement, H as Host } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import { d as defaultSize, a as defaultSizeOptions } from './constants-DOp5eUxu.js';
|
|
4
4
|
import { f as formatTranslation, g as getLocaleComponentStrings } from './localization-DiJj8rmO.js';
|
|
@@ -71,12 +71,12 @@ const Pagination = class {
|
|
|
71
71
|
_hasPaginationPages = true;
|
|
72
72
|
render() {
|
|
73
73
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
74
|
-
return (h("div", { key: '
|
|
74
|
+
return (h("div", { key: '6b2d9e69e664b960a2e7f60a2b501852499113d5', class: pagination$1({
|
|
75
75
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
76
76
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
77
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '
|
|
77
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '2c0529124bdca7e0da5bedc0e94289b7ecd5864f' }, h("p-pagination-size", { key: 'e022a3d44702b01a419372c209a6acc8b1f5303f', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
78
78
|
this.hideOnSinglePage &&
|
|
79
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
79
|
+
this._hasPaginationPages && (h("p-divider", { key: 'd8f399c6ac9168b827e6f25679d14e6d2e0b00f0', variant: 'vertical', class: 'mx-0 h-4 text-off-white-700' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: '56fc93ebffacdb2d93ac505e5978db2ace3cf8e8', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
80
80
|
this._hasPaginationPages = detail > 1;
|
|
81
81
|
this.pagesChange.emit(detail);
|
|
82
82
|
} }))));
|
|
@@ -137,7 +137,7 @@ const PaginationPages = class {
|
|
|
137
137
|
this._generate();
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (h("div", { key: '
|
|
140
|
+
return (h("div", { key: '9059f6aa4e17968f81d3f33ea23834ce98b2a2d0', class: pagination({
|
|
141
141
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
142
142
|
}) }, this._set?.map(p => {
|
|
143
143
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
4
|
import { n as nonce } from './nonce-D9kEjsvZ.js';
|
|
@@ -105,11 +105,11 @@ const Radio = class {
|
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
107
|
const id = this.id?.length ? this.id : this._nonce;
|
|
108
|
-
return (h("label", { key: '
|
|
108
|
+
return (h("label", { key: '3384f184e596553f14d32b74bf3f9e57e4978055', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: '7d213de88cb6eb8549e7da794911963c750a1a63', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '732d51875576344733c2b3173067775cc19fff77', class: radio({
|
|
109
109
|
disabled: asBoolean(this.disabled),
|
|
110
|
-
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
110
|
+
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '354eb0843f4cda4dcdd13c5ac66fe31dc4b84716', class: circle({
|
|
111
111
|
disabled: asBoolean(this.disabled),
|
|
112
|
-
}) })), h("div", { key: '
|
|
112
|
+
}) })), h("div", { key: 'e435f4d57032cbad20d5210a12690c638f2df461', class: 'flex-1 overflow-hidden text-ellipsis' }, h("slot", { key: 'ff6fd4f143611791a3a26907b2df2a6e330d006a' }))));
|
|
113
113
|
}
|
|
114
114
|
_onChange(ev) {
|
|
115
115
|
if (asBoolean(this.disabled)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-CNnSbQbk.js';
|
|
2
2
|
|
|
3
3
|
const rangeComponentCss = ".m-0{margin:0!important}.mt-\\[calc\\(\\(0\\.5rem-1px\\)\\*-1\\)\\]{margin-top:calc(-.5rem + 1px)!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-\\[2px\\]{height:2px!important}.w-4{width:1rem!important}.w-full{width:100%!important}.appearance-none{appearance:none!important}.rounded-full{border-radius:9999px!important}.bg-indigo-600{--tw-bg-opacity:1!important;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))!important}*{box-sizing:border-box}:host{input{appearance:none;height:1.5rem;margin:0;width:100%}input::-webkit-slider-runnable-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input::-moz-range-track{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1));height:2px}input::-webkit-slider-thumb{--tw-bg-opacity:1;appearance:none;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;margin-top:calc(-.5rem + 1px);width:1rem}input::-webkit-slider-thumb:hover{cursor:grab}input::-webkit-slider-thumb:active,input::-webkit-slider-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-webkit-slider-thumb:active{cursor:grabbing}input::-moz-range-thumb{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;width:1rem}input::-moz-range-thumb:hover{cursor:grab}input::-moz-range-thumb:active,input::-moz-range-thumb:hover{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}input::-moz-range-thumb:active{cursor:grabbing}}.hover\\:cursor-grab:hover{cursor:grab!important}.hover\\:bg-indigo-700:hover{--tw-bg-opacity:1!important;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))!important}.active\\:cursor-grabbing:active{cursor:grabbing!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-0{left:0!important}.top-1\\/2{top:50%!important}.flex{display:flex!important}.w-inherit{width:inherit!important}.flex-1{flex:1 1 0%!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.-translate-y-1\\/2,.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}.gap-2{gap:.5rem!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}";
|
|
4
4
|
|
|
@@ -29,9 +29,9 @@ const Range = class {
|
|
|
29
29
|
valueChange;
|
|
30
30
|
render() {
|
|
31
31
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '665d7d214edd46e505e11223deae1f5f93a34dac', class: 'flex w-inherit items-center gap-2 text-storm-300' }, h("p-icon", { key: 'af3d4bf3b1f010d1ca248f29da15faa332af5d66', variant: 'minus' }), h("div", { key: '932d2ced7ca676081c30c53219947a0898ca34da', class: 'relative h-6 flex-1' }, h("input", { key: '0fd57e001cd6a5f02ad8dda0be38c7fa5bd84d9c', type: 'range', min: this.min, max: this.max, step: this.step, value: this.value, onInput: ev => this.valueChange.emit(ev.target.value) }), h("div", { key: '429f86eb2f5c9828107789c44f7b87e9b8c2c8b5', class: 'z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform bg-indigo-600', style: {
|
|
33
33
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
34
|
-
} })), h("p-icon", { key: '
|
|
34
|
+
} })), h("p-icon", { key: 'cad8969106e3f1923f99ccd988c0000438619a15', variant: 'plus' })));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
Range.style = rangeComponentCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, g as getElement, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, g as getElement, h } from './index-CNnSbQbk.js';
|
|
2
2
|
import { a as childOfComposed } from './child-of-BFSNj6hu.js';
|
|
3
3
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
4
4
|
import './clsx-ChV9xqsO.js';
|
|
@@ -321,7 +321,7 @@ const Select = class {
|
|
|
321
321
|
if (this.error?.length) {
|
|
322
322
|
buttonIcon = 'warning';
|
|
323
323
|
}
|
|
324
|
-
return (h("p-field-container", { key: '
|
|
324
|
+
return (h("p-field-container", { key: '0593d8681c5fca6db76a5f270c6cc285f193151a', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, showOptional: this.showOptional, error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown }, h("p-dropdown", { key: 'e329c4f8f7d10f7ef92139e4710bd98ccec126d3', applyFullWidth: true, applyMaxWidth: false, slot: 'content', insideClick: true, manual: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), strategy: this.strategy }, h("p-button", { key: '4c18a3f300b8588b708f9083f2a1730166619684', slot: 'trigger', class: 'w-full', variant: 'secondary', size: this.size, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, disabled: this.disabled, active: this._showDropdown, error: !!this.error?.length, icon: buttonIcon, onClick: ev => this._onClick(ev) }, h("div", { key: 'fe051c35cf21df3f255f346687a1daa1b99be813', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
|
|
325
325
|
}
|
|
326
326
|
documentClickHandler(event) {
|
|
327
327
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import './clsx-ChV9xqsO.js';
|
|
4
4
|
|
|
@@ -49,7 +49,7 @@ const Smile = class {
|
|
|
49
49
|
*/
|
|
50
50
|
variant = 'modal';
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: 'f5d61ae57fa1b0475956e545fb54ce00fc515036', class: smile({ variant: this.variant }) }, h("div", { key: '958b9c59b35b1e77504629345e854f17cec745d4', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
Smile.style = smileComponentCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
4
|
import './clsx-ChV9xqsO.js';
|
|
@@ -138,19 +138,19 @@ const StepperItem = class {
|
|
|
138
138
|
*/
|
|
139
139
|
active = false;
|
|
140
140
|
render() {
|
|
141
|
-
return (h("div", { key: '
|
|
141
|
+
return (h("div", { key: 'f6ac872b095a497c5fff985b577b07c98f9126bd', class: item({
|
|
142
142
|
align: this.align,
|
|
143
143
|
contentPosition: this.contentPosition,
|
|
144
|
-
}) }, h("div", { key: '
|
|
144
|
+
}) }, h("div", { key: '2fc3da5b0f86a48204c187355a557638b09d3bd2', class: circle({
|
|
145
145
|
align: this.align,
|
|
146
146
|
direction: this.direction,
|
|
147
147
|
active: asBoolean(this.active),
|
|
148
148
|
finished: asBoolean(this.finished),
|
|
149
|
-
}) }, this.number), h("div", { key: '
|
|
149
|
+
}) }, this.number), h("div", { key: '51122ecc39617e7af53176606ac9d4a1bb7b472e', class: content({
|
|
150
150
|
active: asBoolean(this.active),
|
|
151
151
|
finished: asBoolean(this.finished),
|
|
152
152
|
direction: this.direction,
|
|
153
|
-
}) }, h("slot", { key: '
|
|
153
|
+
}) }, h("slot", { key: 'da7bf0c5824c7c5e1f1ccb73902dd4dc3dded387' }))));
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
StepperItem.style = stepperItemComponentCss;
|
|
@@ -170,7 +170,7 @@ const StepperLine = class {
|
|
|
170
170
|
*/
|
|
171
171
|
direction = 'horizontal';
|
|
172
172
|
render() {
|
|
173
|
-
return h(Host, { key: '
|
|
173
|
+
return h(Host, { key: '2ff2b8f59be4e7aa674ead8b4e9171f0e2f33161' });
|
|
174
174
|
}
|
|
175
175
|
};
|
|
176
176
|
StepperLine.style = stepperLineComponentCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h, F as Fragment } from './index-
|
|
1
|
+
import { r as registerInstance, g as getElement, h, F as Fragment } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import './clsx-ChV9xqsO.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-CNnSbQbk.js';
|
|
2
2
|
|
|
3
3
|
const tabContainerComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.z-10{z-index:10!important}.m-0{margin:0!important}.flex{display:flex!important}.h-8{height:2rem!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.gap-5{gap:1.25rem!important}.overflow-x-auto{overflow-x:auto!important}.scrollbar-hide{-ms-overflow-style:none!important;scrollbar-width:none!important}.scrollbar-hide::-webkit-scrollbar{display:none!important}";
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ const TabContainer = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: '7ff69bd454f2c47aa823070d4171cc9771155fb4', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: 'c85e5d0f655b7ded068e07a4fec48b8f33b8744e', class: 'z-10 flex w-full gap-5 overflow-x-auto scrollbar-hide' }, h("slot", { key: 'e76ce0add2053f2acc79d62e70022ba35f508fe5' })), h("p-divider", { key: '80f5ec5215e88c494b1ea2ad202a0d339cca985e', class: 'absolute bottom-0 left-0 m-0 w-full' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
TabContainer.style = tabContainerComponentCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import './clsx-ChV9xqsO.js';
|
|
4
4
|
|
|
@@ -25,7 +25,7 @@ const TabItem = class {
|
|
|
25
25
|
*/
|
|
26
26
|
active = false;
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '9091b890f6d4d8b51a7c65331def69da05af7764', class: item({ active: this.active }) }, h("slot", { key: '84f5a9002b302b28d0dbf9ed6ef29b3e67b214ee' })));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
TabItem.style = tabItemComponentCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, g as getElement, h, H as Host } from './index-CNnSbQbk.js';
|
|
2
2
|
import { t as tableColumSizesOptions } from './constants-DdQ-S2l7.js';
|
|
3
3
|
import { f as formatTranslation, g as getLocaleComponentStrings } from './localization-DiJj8rmO.js';
|
|
4
4
|
import { f as floatingMenuContainerClass } from './table-helpers-BFGDVz1E.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import './clsx-ChV9xqsO.js';
|
|
4
4
|
|
|
@@ -41,9 +41,9 @@ const ToastContainer = class {
|
|
|
41
41
|
*/
|
|
42
42
|
placement = 'top-end';
|
|
43
43
|
render() {
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '57788afe45fc4c35f122fcb70f7e6016809ebe37', class: container({
|
|
45
45
|
placement: this.placement,
|
|
46
|
-
}) }, h("slot", { key: '
|
|
46
|
+
}) }, h("slot", { key: '8d95ad6ed95e3931d4c4ca1c0360d57bceeda53d' })));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
ToastContainer.style = toastContainerComponentCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import './clsx-ChV9xqsO.js';
|
|
4
4
|
|
|
@@ -56,7 +56,7 @@ const Toast = class {
|
|
|
56
56
|
*/
|
|
57
57
|
action;
|
|
58
58
|
render() {
|
|
59
|
-
return (h("div", { key: '
|
|
59
|
+
return (h("div", { key: 'dec92ca36c76ee7938dbe44b4d236624df3d6aee', class: 'flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2 shadow-2', onClick: () => this._onClick() }, h("div", { key: '837cc10986ba0c04c5149e28fbda5c4958494b65', class: indicator({ variant: this.variant }) }), h("div", { key: 'c490afc0f09e384d1e68dc5c498f3a0da307ae3a', class: content() }, h("div", { key: '2faa5e08e40b78e948fdc45459cdc1ad0e2a3168', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '85325fb200b241fe6b8cddf1cad3f69f5dcb945f', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-storm-500' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '79b2d9eee8be0b7b94c5d24f47cb15ed0ac3a2f4', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-storm-300' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: 'fe67011d04ce72e9cdd46abc682122a439bcc7c2', class: 'flex-shrink-0 cursor-pointer p-2 text-storm-200 hover:text-storm-500' }, h("p-icon", { key: '12c0dfd8939fecd1c39440a81b57b0a02879df0e', variant: this.actionIcon, flip: this.actionIconFlip, rotate: this.actionIconRotate }))))));
|
|
60
60
|
}
|
|
61
61
|
_onClick() {
|
|
62
62
|
if (this.enableAction) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-CNnSbQbk.js';
|
|
2
2
|
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
3
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
4
|
import { n as nonce } from './nonce-D9kEjsvZ.js';
|
|
@@ -103,11 +103,11 @@ const Toggle = class {
|
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
105
|
const id = this.id?.length ? this.id : this._nonce;
|
|
106
|
-
return (h("label", { key: '
|
|
106
|
+
return (h("label", { key: '178e6f85f4ca2f2af365a4c1cfe357d52db4c17b', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: '5d4c1bb1e04c8daa95430849ae4af0834cbdb833', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, h("input", { key: '7da07dc9b55bf8992c56525648df8b6752935eb0', class: toggle({
|
|
107
107
|
disabled: asBoolean(this.disabled),
|
|
108
|
-
}), type: 'checkbox', id: id, name: this.name, required: this.required, checked: !!this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
108
|
+
}), type: 'checkbox', id: id, name: this.name, required: this.required, checked: !!this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '947fdd06b15b93883c65c6f16fb10cb12a03b2a0', class: circle({
|
|
109
109
|
disabled: asBoolean(this.disabled),
|
|
110
|
-
}) })), h("div", { key: '
|
|
110
|
+
}) })), h("div", { key: 'f493992f0fbd649f0785b2a59c0716ab94476878', class: 'flex-1 overflow-hidden text-ellipsis' }, h("slot", { key: 'f1b901e08965f13d195e5b90aba5d251352ce310' }))));
|
|
111
111
|
}
|
|
112
112
|
_onChange(ev) {
|
|
113
113
|
if (asBoolean(this.disabled)) {
|
package/dist/esm/paperless.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-CNnSbQbk.js';
|
|
2
|
+
export { s as setNonce } from './index-CNnSbQbk.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
import { a as getRenderingRef, f as forceUpdate } from './index-CNnSbQbk.js';
|
|
2
|
+
|
|
3
|
+
const appendToMap = (map, propName, value) => {
|
|
4
|
+
const items = map.get(propName);
|
|
5
|
+
if (!items) {
|
|
6
|
+
map.set(propName, [value]);
|
|
7
|
+
}
|
|
8
|
+
else if (!items.includes(value)) {
|
|
9
|
+
items.push(value);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
const debounce = (fn, ms) => {
|
|
13
|
+
let timeoutId;
|
|
14
|
+
return (...args) => {
|
|
15
|
+
if (timeoutId) {
|
|
16
|
+
clearTimeout(timeoutId);
|
|
17
|
+
}
|
|
18
|
+
timeoutId = setTimeout(() => {
|
|
19
|
+
timeoutId = 0;
|
|
20
|
+
fn(...args);
|
|
21
|
+
}, ms);
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Check if a possible element isConnected.
|
|
27
|
+
* The property might not be there, so we check for it.
|
|
28
|
+
*
|
|
29
|
+
* We want it to return true if isConnected is not a property,
|
|
30
|
+
* otherwise we would remove these elements and would not update.
|
|
31
|
+
*
|
|
32
|
+
* Better leak in Edge than to be useless.
|
|
33
|
+
*/
|
|
34
|
+
const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
|
|
35
|
+
const cleanupElements = debounce((map) => {
|
|
36
|
+
for (let key of map.keys()) {
|
|
37
|
+
map.set(key, map.get(key).filter(isConnected));
|
|
38
|
+
}
|
|
39
|
+
}, 2_000);
|
|
40
|
+
const stencilSubscription = () => {
|
|
41
|
+
if (typeof getRenderingRef !== 'function') {
|
|
42
|
+
// If we are not in a stencil project, we do nothing.
|
|
43
|
+
// This function is not really exported by @stencil/core.
|
|
44
|
+
return {};
|
|
45
|
+
}
|
|
46
|
+
const elmsToUpdate = new Map();
|
|
47
|
+
return {
|
|
48
|
+
dispose: () => elmsToUpdate.clear(),
|
|
49
|
+
get: (propName) => {
|
|
50
|
+
const elm = getRenderingRef();
|
|
51
|
+
if (elm) {
|
|
52
|
+
appendToMap(elmsToUpdate, propName, elm);
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
set: (propName) => {
|
|
56
|
+
const elements = elmsToUpdate.get(propName);
|
|
57
|
+
if (elements) {
|
|
58
|
+
elmsToUpdate.set(propName, elements.filter(forceUpdate));
|
|
59
|
+
}
|
|
60
|
+
cleanupElements(elmsToUpdate);
|
|
61
|
+
},
|
|
62
|
+
reset: () => {
|
|
63
|
+
elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
|
|
64
|
+
cleanupElements(elmsToUpdate);
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
const unwrap = (val) => (typeof val === 'function' ? val() : val);
|
|
70
|
+
const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
|
|
71
|
+
const unwrappedState = unwrap(defaultState);
|
|
72
|
+
let states = new Map(Object.entries(unwrappedState ?? {}));
|
|
73
|
+
const handlers = {
|
|
74
|
+
dispose: [],
|
|
75
|
+
get: [],
|
|
76
|
+
set: [],
|
|
77
|
+
reset: [],
|
|
78
|
+
};
|
|
79
|
+
// Track onChange listeners to enable removeListener functionality
|
|
80
|
+
const changeListeners = new Map();
|
|
81
|
+
const reset = () => {
|
|
82
|
+
// When resetting the state, the default state may be a function - unwrap it to invoke it.
|
|
83
|
+
// otherwise, the state won't be properly reset
|
|
84
|
+
states = new Map(Object.entries(unwrap(defaultState) ?? {}));
|
|
85
|
+
handlers.reset.forEach((cb) => cb());
|
|
86
|
+
};
|
|
87
|
+
const dispose = () => {
|
|
88
|
+
// Call first dispose as resetting the state would
|
|
89
|
+
// cause less updates ;)
|
|
90
|
+
handlers.dispose.forEach((cb) => cb());
|
|
91
|
+
reset();
|
|
92
|
+
};
|
|
93
|
+
const get = (propName) => {
|
|
94
|
+
handlers.get.forEach((cb) => cb(propName));
|
|
95
|
+
return states.get(propName);
|
|
96
|
+
};
|
|
97
|
+
const set = (propName, value) => {
|
|
98
|
+
const oldValue = states.get(propName);
|
|
99
|
+
if (shouldUpdate(value, oldValue, propName)) {
|
|
100
|
+
states.set(propName, value);
|
|
101
|
+
handlers.set.forEach((cb) => cb(propName, value, oldValue));
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
const state = (typeof Proxy === 'undefined'
|
|
105
|
+
? {}
|
|
106
|
+
: new Proxy(unwrappedState, {
|
|
107
|
+
get(_, propName) {
|
|
108
|
+
return get(propName);
|
|
109
|
+
},
|
|
110
|
+
ownKeys(_) {
|
|
111
|
+
return Array.from(states.keys());
|
|
112
|
+
},
|
|
113
|
+
getOwnPropertyDescriptor() {
|
|
114
|
+
return {
|
|
115
|
+
enumerable: true,
|
|
116
|
+
configurable: true,
|
|
117
|
+
};
|
|
118
|
+
},
|
|
119
|
+
has(_, propName) {
|
|
120
|
+
return states.has(propName);
|
|
121
|
+
},
|
|
122
|
+
set(_, propName, value) {
|
|
123
|
+
set(propName, value);
|
|
124
|
+
return true;
|
|
125
|
+
},
|
|
126
|
+
}));
|
|
127
|
+
const on = (eventName, callback) => {
|
|
128
|
+
handlers[eventName].push(callback);
|
|
129
|
+
return () => {
|
|
130
|
+
removeFromArray(handlers[eventName], callback);
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
const onChange = (propName, cb) => {
|
|
134
|
+
const setHandler = (key, newValue) => {
|
|
135
|
+
if (key === propName) {
|
|
136
|
+
cb(newValue);
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
const resetHandler = () => cb(unwrap(defaultState)[propName]);
|
|
140
|
+
// Register the handlers
|
|
141
|
+
const unSet = on('set', setHandler);
|
|
142
|
+
const unReset = on('reset', resetHandler);
|
|
143
|
+
// Track the relationship between the user callback and internal handlers
|
|
144
|
+
changeListeners.set(cb, { setHandler, resetHandler, propName });
|
|
145
|
+
return () => {
|
|
146
|
+
unSet();
|
|
147
|
+
unReset();
|
|
148
|
+
changeListeners.delete(cb);
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
const use = (...subscriptions) => {
|
|
152
|
+
const unsubs = subscriptions.reduce((unsubs, subscription) => {
|
|
153
|
+
if (subscription.set) {
|
|
154
|
+
unsubs.push(on('set', subscription.set));
|
|
155
|
+
}
|
|
156
|
+
if (subscription.get) {
|
|
157
|
+
unsubs.push(on('get', subscription.get));
|
|
158
|
+
}
|
|
159
|
+
if (subscription.reset) {
|
|
160
|
+
unsubs.push(on('reset', subscription.reset));
|
|
161
|
+
}
|
|
162
|
+
if (subscription.dispose) {
|
|
163
|
+
unsubs.push(on('dispose', subscription.dispose));
|
|
164
|
+
}
|
|
165
|
+
return unsubs;
|
|
166
|
+
}, []);
|
|
167
|
+
return () => unsubs.forEach((unsub) => unsub());
|
|
168
|
+
};
|
|
169
|
+
const forceUpdate = (key) => {
|
|
170
|
+
const oldValue = states.get(key);
|
|
171
|
+
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
|
172
|
+
};
|
|
173
|
+
const removeListener = (propName, listener) => {
|
|
174
|
+
const listenerInfo = changeListeners.get(listener);
|
|
175
|
+
if (listenerInfo && listenerInfo.propName === propName) {
|
|
176
|
+
// Remove the specific handlers that were created for this listener
|
|
177
|
+
removeFromArray(handlers.set, listenerInfo.setHandler);
|
|
178
|
+
removeFromArray(handlers.reset, listenerInfo.resetHandler);
|
|
179
|
+
changeListeners.delete(listener);
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
return {
|
|
183
|
+
state,
|
|
184
|
+
get,
|
|
185
|
+
set,
|
|
186
|
+
on,
|
|
187
|
+
onChange,
|
|
188
|
+
use,
|
|
189
|
+
dispose,
|
|
190
|
+
reset,
|
|
191
|
+
forceUpdate,
|
|
192
|
+
removeListener,
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
const removeFromArray = (array, item) => {
|
|
196
|
+
const index = array.indexOf(item);
|
|
197
|
+
if (index >= 0) {
|
|
198
|
+
array[index] = array[array.length - 1];
|
|
199
|
+
array.length--;
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
const createStore = (defaultState, shouldUpdate) => {
|
|
204
|
+
const map = createObservableMap(defaultState, shouldUpdate);
|
|
205
|
+
map.use(stencilSubscription());
|
|
206
|
+
return map;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
const stateThemeOptions = ['light', 'dark'];
|
|
210
|
+
const stateLocaleOptions = ['nl', 'en'];
|
|
211
|
+
const { state: localState, onChange } = createStore({
|
|
212
|
+
theme: stateThemeOptions[0],
|
|
213
|
+
locale: stateLocaleOptions[0],
|
|
214
|
+
});
|
|
215
|
+
const initTheme = (usePreferColorScheme = true, localStorageKey = false) => {
|
|
216
|
+
let themeKey = localStorageKey;
|
|
217
|
+
if (themeKey === true || themeKey === false) {
|
|
218
|
+
themeKey = 'paperless-theme';
|
|
219
|
+
}
|
|
220
|
+
let theme = localStorage.getItem(themeKey);
|
|
221
|
+
if (window.matchMedia && !theme && usePreferColorScheme) {
|
|
222
|
+
theme = window.matchMedia('prefers-color-scheme: dark') ? 'dark' : 'light';
|
|
223
|
+
}
|
|
224
|
+
if (!theme) {
|
|
225
|
+
theme = localState.theme;
|
|
226
|
+
}
|
|
227
|
+
if (theme !== localState.theme) {
|
|
228
|
+
localState.theme = theme;
|
|
229
|
+
if (!!localStorageKey) {
|
|
230
|
+
localStorage.setItem(themeKey, theme);
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
document.body.dataset.theme = theme;
|
|
234
|
+
onChange('theme', newValue => {
|
|
235
|
+
document.body.dataset.theme = newValue;
|
|
236
|
+
if (!!localStorageKey) {
|
|
237
|
+
localStorage.setItem(themeKey, newValue);
|
|
238
|
+
}
|
|
239
|
+
});
|
|
240
|
+
};
|
|
241
|
+
const state = localState;
|
|
242
|
+
const onStateChange = onChange;
|
|
243
|
+
|
|
244
|
+
export { stateLocaleOptions as a, state as b, initTheme as i, onStateChange as o, stateThemeOptions as s };
|
|
245
|
+
//# sourceMappingURL=state-BsTOa3w8.js.map
|
|
246
|
+
|
|
247
|
+
//# sourceMappingURL=state-BsTOa3w8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state-BsTOa3w8.js","sources":["../../node_modules/@stencil/store/dist/index.js","src/state.ts"],"sourcesContent":["import { getRenderingRef, forceUpdate } from '@stencil/core';\n\nconst appendToMap = (map, propName, value) => {\n const items = map.get(propName);\n if (!items) {\n map.set(propName, [value]);\n }\n else if (!items.includes(value)) {\n items.push(value);\n }\n};\nconst debounce = (fn, ms) => {\n let timeoutId;\n return (...args) => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = 0;\n fn(...args);\n }, ms);\n };\n};\n\n/**\n * Check if a possible element isConnected.\n * The property might not be there, so we check for it.\n *\n * We want it to return true if isConnected is not a property,\n * otherwise we would remove these elements and would not update.\n *\n * Better leak in Edge than to be useless.\n */\nconst isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;\nconst cleanupElements = debounce((map) => {\n for (let key of map.keys()) {\n map.set(key, map.get(key).filter(isConnected));\n }\n}, 2_000);\nconst stencilSubscription = () => {\n if (typeof getRenderingRef !== 'function') {\n // If we are not in a stencil project, we do nothing.\n // This function is not really exported by @stencil/core.\n return {};\n }\n const elmsToUpdate = new Map();\n return {\n dispose: () => elmsToUpdate.clear(),\n get: (propName) => {\n const elm = getRenderingRef();\n if (elm) {\n appendToMap(elmsToUpdate, propName, elm);\n }\n },\n set: (propName) => {\n const elements = elmsToUpdate.get(propName);\n if (elements) {\n elmsToUpdate.set(propName, elements.filter(forceUpdate));\n }\n cleanupElements(elmsToUpdate);\n },\n reset: () => {\n elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));\n cleanupElements(elmsToUpdate);\n },\n };\n};\n\nconst unwrap = (val) => (typeof val === 'function' ? val() : val);\nconst createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {\n const unwrappedState = unwrap(defaultState);\n let states = new Map(Object.entries(unwrappedState ?? {}));\n const handlers = {\n dispose: [],\n get: [],\n set: [],\n reset: [],\n };\n // Track onChange listeners to enable removeListener functionality\n const changeListeners = new Map();\n const reset = () => {\n // When resetting the state, the default state may be a function - unwrap it to invoke it.\n // otherwise, the state won't be properly reset\n states = new Map(Object.entries(unwrap(defaultState) ?? {}));\n handlers.reset.forEach((cb) => cb());\n };\n const dispose = () => {\n // Call first dispose as resetting the state would\n // cause less updates ;)\n handlers.dispose.forEach((cb) => cb());\n reset();\n };\n const get = (propName) => {\n handlers.get.forEach((cb) => cb(propName));\n return states.get(propName);\n };\n const set = (propName, value) => {\n const oldValue = states.get(propName);\n if (shouldUpdate(value, oldValue, propName)) {\n states.set(propName, value);\n handlers.set.forEach((cb) => cb(propName, value, oldValue));\n }\n };\n const state = (typeof Proxy === 'undefined'\n ? {}\n : new Proxy(unwrappedState, {\n get(_, propName) {\n return get(propName);\n },\n ownKeys(_) {\n return Array.from(states.keys());\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true,\n };\n },\n has(_, propName) {\n return states.has(propName);\n },\n set(_, propName, value) {\n set(propName, value);\n return true;\n },\n }));\n const on = (eventName, callback) => {\n handlers[eventName].push(callback);\n return () => {\n removeFromArray(handlers[eventName], callback);\n };\n };\n const onChange = (propName, cb) => {\n const setHandler = (key, newValue) => {\n if (key === propName) {\n cb(newValue);\n }\n };\n const resetHandler = () => cb(unwrap(defaultState)[propName]);\n // Register the handlers\n const unSet = on('set', setHandler);\n const unReset = on('reset', resetHandler);\n // Track the relationship between the user callback and internal handlers\n changeListeners.set(cb, { setHandler, resetHandler, propName });\n return () => {\n unSet();\n unReset();\n changeListeners.delete(cb);\n };\n };\n const use = (...subscriptions) => {\n const unsubs = subscriptions.reduce((unsubs, subscription) => {\n if (subscription.set) {\n unsubs.push(on('set', subscription.set));\n }\n if (subscription.get) {\n unsubs.push(on('get', subscription.get));\n }\n if (subscription.reset) {\n unsubs.push(on('reset', subscription.reset));\n }\n if (subscription.dispose) {\n unsubs.push(on('dispose', subscription.dispose));\n }\n return unsubs;\n }, []);\n return () => unsubs.forEach((unsub) => unsub());\n };\n const forceUpdate = (key) => {\n const oldValue = states.get(key);\n handlers.set.forEach((cb) => cb(key, oldValue, oldValue));\n };\n const removeListener = (propName, listener) => {\n const listenerInfo = changeListeners.get(listener);\n if (listenerInfo && listenerInfo.propName === propName) {\n // Remove the specific handlers that were created for this listener\n removeFromArray(handlers.set, listenerInfo.setHandler);\n removeFromArray(handlers.reset, listenerInfo.resetHandler);\n changeListeners.delete(listener);\n }\n };\n return {\n state,\n get,\n set,\n on,\n onChange,\n use,\n dispose,\n reset,\n forceUpdate,\n removeListener,\n };\n};\nconst removeFromArray = (array, item) => {\n const index = array.indexOf(item);\n if (index >= 0) {\n array[index] = array[array.length - 1];\n array.length--;\n }\n};\n\nconst createStore = (defaultState, shouldUpdate) => {\n const map = createObservableMap(defaultState, shouldUpdate);\n map.use(stencilSubscription());\n return map;\n};\n\nexport { createObservableMap, createStore };\n","import { createStore } from '@stencil/store';\n\nexport type StateThemeOption = 'light' | 'dark';\nexport type StateLocaleOption = 'en' | 'nl';\n\nexport const stateThemeOptions: StateThemeOption[] = ['light', 'dark'];\nexport const stateLocaleOptions: StateLocaleOption[] = ['nl', 'en'];\n\nexport interface PaperlessState {\n\ttheme: StateThemeOption;\n\tlocale: StateLocaleOption;\n}\n\nconst { state: localState, onChange } = createStore<PaperlessState>({\n\ttheme: stateThemeOptions[0],\n\tlocale: stateLocaleOptions[0],\n});\n\nexport const initTheme = (\n\tusePreferColorScheme = true,\n\tlocalStorageKey: string | boolean = false\n) => {\n\tlet themeKey = localStorageKey;\n\tif (themeKey === true || themeKey === false) {\n\t\tthemeKey = 'paperless-theme';\n\t}\n\n\tlet theme: StateThemeOption = localStorage.getItem(\n\t\tthemeKey\n\t) as StateThemeOption;\n\n\tif (window.matchMedia && !theme && usePreferColorScheme) {\n\t\ttheme = window.matchMedia('prefers-color-scheme: dark') ? 'dark' : 'light';\n\t}\n\n\tif (!theme) {\n\t\ttheme = localState.theme;\n\t}\n\n\tif (theme !== localState.theme) {\n\t\tlocalState.theme = theme;\n\n\t\tif (!!localStorageKey) {\n\t\t\tlocalStorage.setItem(themeKey, theme);\n\t\t}\n\t}\n\n\tdocument.body.dataset.theme = theme;\n\tonChange('theme', newValue => {\n\t\tdocument.body.dataset.theme = newValue;\n\n\t\tif (!!localStorageKey) {\n\t\t\tlocalStorage.setItem(themeKey, newValue);\n\t\t}\n\t});\n};\n\nexport const state = localState;\nexport const onStateChange = onChange;\n"],"names":[],"mappings":";;AAEA,MAAM,WAAW,GAAG,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,KAAK;AAC9C,IAAI,MAAM,KAAK,GAAG,GAAG,CAAC,GAAG,CAAC,QAAQ,CAAC;AACnC,IAAI,IAAI,CAAC,KAAK,EAAE;AAChB,QAAQ,GAAG,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;AAClC;AACA,SAAS,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC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eAAe,EAAE;AACtB,YAAA,YAAY,CAAC,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC;;AAE1C,KAAC,CAAC;AACH;AAEO,MAAM,KAAK,GAAG;AACd,MAAM,aAAa,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { h, H as Host } from './index-CNnSbQbk.js';
|
|
2
|
+
import { b as state } from './state-BsTOa3w8.js';
|
|
3
|
+
|
|
4
|
+
const ThemedHost = (props, children) => {
|
|
5
|
+
return (h(Host, { ...props, "data-theme": state.theme }, children));
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export { ThemedHost as T };
|
|
9
|
+
//# sourceMappingURL=themed-host.component-UpbDmgQR.js.map
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=themed-host.component-UpbDmgQR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"themed-host.component-UpbDmgQR.js","sources":["src/internal/themed-host.component.tsx"],"sourcesContent":["import { FunctionalComponent, h, Host } from '@stencil/core';\nimport { state } from '../state';\n\nexport const ThemedHost: FunctionalComponent = (props, children) => {\n\treturn (\n\t\t<Host\n\t\t\t{...props}\n\t\t\tdata-theme={state.theme}\n\t\t>\n\t\t\t{children}\n\t\t</Host>\n\t);\n};\n"],"names":[],"mappings":";;;MAGa,UAAU,GAAwB,CAAC,KAAK,EAAE,QAAQ,KAAI;AAClE,IAAA,QACC,CAAA,CAAC,IAAI,EAAA,EAAA,GACA,KAAK,EAAA,YAAA,EACG,KAAK,CAAC,KAAK,EAAA,EAEtB,QAAQ,CACH;AAET;;;;"}
|