@paperless/core 3.0.2 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/index.esm.js +1 -1
- package/dist/build/p-047da5c9.entry.js +1 -0
- package/dist/build/p-099fed2a.entry.js +1 -0
- package/dist/build/p-0b4b4cf7.entry.js +1 -0
- package/dist/build/p-16c98151.entry.js +1 -0
- package/dist/build/p-18245eb9.entry.js +1 -0
- package/dist/build/p-1ac00601.entry.js +1 -0
- package/dist/build/p-1be02ecd.entry.js +1 -0
- package/dist/build/p-1c6555d0.entry.js +1 -0
- package/dist/build/p-1fa99d63.entry.js +1 -0
- package/dist/build/p-2a9e2f97.entry.js +1 -0
- package/dist/build/p-2eb0963d.entry.js +1 -0
- package/dist/build/p-33c965ed.entry.js +1 -0
- package/dist/build/p-33fc3203.entry.js +1 -0
- package/dist/build/p-34448061.entry.js +1 -0
- package/dist/build/{p-57abbf5d.js → p-3a5ebbd7.js} +1 -1
- package/dist/build/p-459f7a0b.entry.js +1 -0
- package/dist/build/p-4baa94c0.entry.js +1 -0
- package/dist/build/p-5f2b2731.entry.js +1 -0
- package/dist/build/p-6412710a.entry.js +1 -0
- package/dist/build/p-673c243e.entry.js +1 -0
- package/dist/build/p-6ac04b16.entry.js +1 -0
- package/dist/build/p-7158dacd.entry.js +1 -0
- package/dist/build/p-7be1c70d.entry.js +1 -0
- package/dist/build/p-7c4f3d89.entry.js +1 -0
- package/dist/{paperless/p-2ab9ae7b.entry.js → build/p-8a2690df.entry.js} +1 -1
- package/dist/{paperless/p-9d7732b8.entry.js → build/p-8a8adc4d.entry.js} +1 -1
- package/dist/build/p-9889be94.entry.js +1 -0
- package/dist/build/p-99522e10.entry.js +1 -0
- package/dist/build/p-9e1977a6.entry.js +1 -0
- package/dist/build/{p-CHZgJJeM.js → p-DeWIZIsV.js} +1 -1
- package/dist/build/p-aca48431.entry.js +1 -0
- package/dist/build/p-afa4d38a.entry.js +1 -0
- package/dist/build/p-b70ee063.entry.js +1 -0
- package/dist/build/p-b745b141.entry.js +1 -0
- package/dist/build/p-bcfbb856.entry.js +1 -0
- package/dist/build/p-cdcc28c2.entry.js +1 -0
- package/dist/build/p-dbac42ad.entry.js +1 -0
- package/dist/build/p-e00be7e7.entry.js +1 -0
- package/dist/build/p-e2219fa7.entry.js +1 -0
- package/dist/build/p-e30ef289.entry.js +1 -0
- package/dist/build/p-ecc80c01.entry.js +1 -0
- package/dist/build/p-fbd4c0ed.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +22 -9
- package/dist/cjs/p-avatar.cjs.entry.js +5 -2
- package/dist/cjs/p-backdrop.cjs.entry.js +19 -7
- package/dist/cjs/p-badge_3.cjs.entry.js +29 -11
- package/dist/cjs/p-button_3.cjs.entry.js +103 -31
- package/dist/cjs/p-calendar.cjs.entry.js +14 -7
- package/dist/cjs/p-card-container.cjs.entry.js +16 -6
- package/dist/cjs/p-card-header.cjs.entry.js +6 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +63 -29
- package/dist/cjs/p-content-slider.cjs.entry.js +12 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +29 -7
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +23 -10
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +105 -33
- package/dist/cjs/p-empty-state_8.cjs.entry.js +74 -34
- package/dist/cjs/p-field_3.cjs.entry.js +65 -26
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +17 -7
- package/dist/cjs/p-info-panel.cjs.entry.js +52 -16
- package/dist/cjs/p-label.cjs.entry.js +16 -7
- package/dist/cjs/p-layout.cjs.entry.js +4 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +42 -18
- package/dist/cjs/p-navbar.cjs.entry.js +25 -8
- package/dist/cjs/p-navigation-item.cjs.entry.js +21 -9
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +20 -14
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +47 -20
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +19 -9
- package/dist/cjs/p-smile.cjs.entry.js +5 -2
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +27 -15
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +22 -6
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +10 -5
- package/dist/cjs/p-toast.cjs.entry.js +19 -7
- package/dist/cjs/p-toggle.cjs.entry.js +67 -23
- package/dist/cjs/p-tooltip.cjs.entry.js +11 -5
- package/dist/cjs/{table-helpers-D7cRsAPO.js → table-helpers-CskH_8AL.js} +2 -2
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +5 -2
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +19 -7
- package/dist/collection/components/atoms/badge/badge.component.js +9 -3
- package/dist/collection/components/atoms/card/container/card-container.component.js +16 -6
- package/dist/collection/components/atoms/card/header/card-header.component.js +6 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +57 -23
- package/dist/collection/components/atoms/divider/divider.component.js +29 -7
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +12 -5
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +11 -5
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +6 -6
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +78 -21
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +17 -7
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +52 -16
- package/dist/collection/components/atoms/layout/layout.component.js +4 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/loader/loader.component.js +8 -2
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +14 -5
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +16 -7
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +11 -5
- 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 +27 -12
- package/dist/collection/components/atoms/radio/radio.component.js +47 -20
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +19 -7
- package/dist/collection/components/atoms/smile/smile.component.js +5 -2
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +27 -15
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +22 -6
- 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 +6 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +10 -5
- package/dist/collection/components/atoms/toggle/toggle.component.js +67 -23
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +11 -5
- package/dist/collection/components/molecules/attachment/attachment.component.js +22 -9
- package/dist/collection/components/molecules/button/button.component.js +95 -29
- package/dist/collection/components/molecules/calendar/calendar.component.js +14 -7
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +12 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js +9 -6
- package/dist/collection/components/molecules/field/field/field.component.js +55 -19
- package/dist/collection/components/molecules/label/label.component.js +16 -7
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +21 -9
- 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/pagination/size/pagination-size.component.js +16 -10
- package/dist/collection/components/molecules/profile/profile.component.js +2 -2
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +19 -9
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +14 -7
- package/dist/collection/components/molecules/table/header/table-header.component.js +31 -11
- package/dist/collection/components/molecules/table/row/table-row.component.js +18 -8
- package/dist/collection/components/molecules/toast/toast.component.js +19 -7
- package/dist/collection/components/organisms/navbar/navbar.component.js +25 -8
- package/dist/collection/utils/table-helpers.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/p--52gTdZ4.js +1 -0
- package/dist/components/p-0EHH7Dl0.js +1 -0
- package/dist/components/p-2yaxaWU2.js +1 -0
- package/dist/components/p-4DN7zVtS.js +1 -0
- package/dist/components/p-B0rHem3C.js +1 -0
- package/dist/components/p-BBAR0LE7.js +1 -0
- package/dist/components/{p-Duu0fwUk.js → p-BBwQm_OH.js} +1 -1
- package/dist/components/{p-CsM6uU5j.js → p-BCZqknrJ.js} +1 -1
- package/dist/components/p-BCddfleq.js +1 -0
- package/dist/components/p-BKXDGrK7.js +1 -0
- package/dist/components/{p-DMxy9lYo.js → p-BSsW37JK.js} +1 -1
- package/dist/components/p-B_7CTN-Q.js +1 -0
- package/dist/components/p-BaiRAcrb.js +1 -0
- package/dist/components/p-BfH-C6uv.js +1 -0
- package/dist/components/p-BrLLMmZa.js +1 -0
- package/dist/components/p-Bru1muWj.js +1 -0
- package/dist/components/{p-Bl7NThUo.js → p-BtH8h7p9.js} +1 -1
- package/dist/components/p-BtI7diO6.js +1 -0
- package/dist/components/{p-CFSNSi-H.js → p-BtliZ0U_.js} +1 -1
- package/dist/components/p-C1HzSmDf.js +1 -0
- package/dist/components/p-C4dZ9NAe.js +1 -0
- package/dist/components/p-CHER4MCx.js +1 -0
- package/dist/components/{p-CGKUYLex.js → p-CTQuFuDk.js} +1 -1
- package/dist/components/p-CoBFv4r3.js +1 -0
- package/dist/components/p-Crasy6LB.js +1 -0
- package/dist/components/{p-BcD4BpWF.js → p-CtAGaRd5.js} +1 -1
- package/dist/components/p-D5t-6wkl.js +1 -0
- package/dist/components/p-D6iTsl8U.js +1 -0
- package/dist/components/p-D8faiybE.js +1 -0
- package/dist/components/p-DDV-lx3_.js +1 -0
- package/dist/components/p-DP6H82uQ.js +1 -0
- package/dist/components/{p-Bv-ByGSf.js → p-DSv8ajJ4.js} +1 -1
- package/dist/components/p-DXsoAHFt.js +1 -0
- package/dist/components/p-DmzyuekN.js +1 -0
- package/dist/components/p-DncIsq-f.js +1 -0
- package/dist/components/p-G57Mci8u.js +1 -0
- package/dist/components/p-MeQ48Q-1.js +1 -0
- package/dist/components/p-QJoR_dmN.js +1 -0
- package/dist/components/{p-3RT3BYex.js → p-WEZng7dj.js} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.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.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.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 +1 -1
- 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-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-iLGr9rDU.js +1 -0
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-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 +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-qeQ4j6y4.js +1 -0
- package/dist/components/p-radio.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-container.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/p-attachment.entry.js +22 -9
- package/dist/esm/p-avatar.entry.js +5 -2
- package/dist/esm/p-backdrop.entry.js +19 -7
- package/dist/esm/p-badge_3.entry.js +29 -11
- package/dist/esm/p-button_3.entry.js +103 -31
- package/dist/esm/p-calendar.entry.js +14 -7
- package/dist/esm/p-card-container.entry.js +16 -6
- package/dist/esm/p-card-header.entry.js +6 -3
- package/dist/esm/p-checkbox_3.entry.js +63 -29
- package/dist/esm/p-content-slider.entry.js +12 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +29 -7
- package/dist/esm/p-drawer-body_3.entry.js +23 -10
- package/dist/esm/p-dropdown-menu-item_2.entry.js +105 -33
- package/dist/esm/p-empty-state_8.entry.js +74 -34
- package/dist/esm/p-field_3.entry.js +65 -26
- package/dist/esm/p-floating-menu-item.entry.js +17 -7
- package/dist/esm/p-info-panel.entry.js +52 -16
- package/dist/esm/p-label.entry.js +16 -7
- package/dist/esm/p-layout.entry.js +4 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +42 -18
- package/dist/esm/p-navbar.entry.js +25 -8
- package/dist/esm/p-navigation-item.entry.js +21 -9
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +20 -14
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +47 -20
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +19 -9
- package/dist/esm/p-smile.entry.js +5 -2
- package/dist/esm/p-stepper-item_2.entry.js +27 -15
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +22 -6
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +10 -5
- package/dist/esm/p-toast.entry.js +19 -7
- package/dist/esm/p-toggle.entry.js +67 -23
- package/dist/esm/p-tooltip.entry.js +11 -5
- package/dist/esm/{table-helpers-DA1PfY6l.js → table-helpers-Bvtfm-ta.js} +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/p-047da5c9.entry.js +1 -0
- package/dist/paperless/p-099fed2a.entry.js +1 -0
- package/dist/paperless/p-0b4b4cf7.entry.js +1 -0
- package/dist/paperless/p-16c98151.entry.js +1 -0
- package/dist/paperless/p-18245eb9.entry.js +1 -0
- package/dist/paperless/p-1ac00601.entry.js +1 -0
- package/dist/paperless/p-1be02ecd.entry.js +1 -0
- package/dist/paperless/p-1c6555d0.entry.js +1 -0
- package/dist/paperless/p-1fa99d63.entry.js +1 -0
- package/dist/paperless/p-2a9e2f97.entry.js +1 -0
- package/dist/paperless/p-2eb0963d.entry.js +1 -0
- package/dist/paperless/p-33c965ed.entry.js +1 -0
- package/dist/paperless/p-33fc3203.entry.js +1 -0
- package/dist/paperless/p-34448061.entry.js +1 -0
- package/dist/paperless/p-459f7a0b.entry.js +1 -0
- package/dist/paperless/p-4baa94c0.entry.js +1 -0
- package/dist/paperless/p-5f2b2731.entry.js +1 -0
- package/dist/paperless/p-6412710a.entry.js +1 -0
- package/dist/paperless/p-673c243e.entry.js +1 -0
- package/dist/paperless/p-6ac04b16.entry.js +1 -0
- package/dist/paperless/p-7158dacd.entry.js +1 -0
- package/dist/paperless/p-7be1c70d.entry.js +1 -0
- package/dist/paperless/p-7c4f3d89.entry.js +1 -0
- package/dist/{build/p-2ab9ae7b.entry.js → paperless/p-8a2690df.entry.js} +1 -1
- package/dist/{build/p-9d7732b8.entry.js → paperless/p-8a8adc4d.entry.js} +1 -1
- package/dist/paperless/p-9889be94.entry.js +1 -0
- package/dist/paperless/p-99522e10.entry.js +1 -0
- package/dist/paperless/p-9e1977a6.entry.js +1 -0
- package/dist/paperless/{p-CHZgJJeM.js → p-DeWIZIsV.js} +1 -1
- package/dist/paperless/p-aca48431.entry.js +1 -0
- package/dist/paperless/p-afa4d38a.entry.js +1 -0
- package/dist/paperless/p-b70ee063.entry.js +1 -0
- package/dist/paperless/p-b745b141.entry.js +1 -0
- package/dist/paperless/p-bcfbb856.entry.js +1 -0
- package/dist/paperless/p-cdcc28c2.entry.js +1 -0
- package/dist/paperless/p-dbac42ad.entry.js +1 -0
- package/dist/paperless/p-e00be7e7.entry.js +1 -0
- package/dist/paperless/p-e2219fa7.entry.js +1 -0
- package/dist/paperless/p-e30ef289.entry.js +1 -0
- package/dist/paperless/p-ecc80c01.entry.js +1 -0
- package/dist/paperless/p-fbd4c0ed.entry.js +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/hydrate/index.js +1021 -401
- package/hydrate/index.mjs +1021 -401
- package/package.json +1 -1
- package/dist/build/p-03121981.entry.js +0 -1
- package/dist/build/p-073cbaa7.entry.js +0 -1
- package/dist/build/p-1537db63.entry.js +0 -1
- package/dist/build/p-196bfb8a.entry.js +0 -1
- package/dist/build/p-19acdd22.entry.js +0 -1
- package/dist/build/p-1c1eddff.entry.js +0 -1
- package/dist/build/p-1d99809d.entry.js +0 -1
- package/dist/build/p-2937ea4e.entry.js +0 -1
- package/dist/build/p-34b384b9.entry.js +0 -1
- package/dist/build/p-44c1c053.entry.js +0 -1
- package/dist/build/p-45cf64a3.entry.js +0 -1
- package/dist/build/p-46616392.entry.js +0 -1
- package/dist/build/p-53db6756.entry.js +0 -1
- package/dist/build/p-5619c169.entry.js +0 -1
- package/dist/build/p-5e0796a9.entry.js +0 -1
- package/dist/build/p-5f64a97e.entry.js +0 -1
- package/dist/build/p-601999d8.entry.js +0 -1
- package/dist/build/p-63d43818.entry.js +0 -1
- package/dist/build/p-69658698.entry.js +0 -1
- package/dist/build/p-785b43a9.entry.js +0 -1
- package/dist/build/p-811807fb.entry.js +0 -1
- package/dist/build/p-81670b3a.entry.js +0 -1
- package/dist/build/p-86a3cc52.entry.js +0 -1
- package/dist/build/p-87b38346.entry.js +0 -1
- package/dist/build/p-91486f55.entry.js +0 -1
- package/dist/build/p-92cbcd5c.entry.js +0 -1
- package/dist/build/p-94640ec1.entry.js +0 -1
- package/dist/build/p-a6156cbc.entry.js +0 -1
- package/dist/build/p-a74f30c8.entry.js +0 -1
- package/dist/build/p-abf997fa.entry.js +0 -1
- package/dist/build/p-bad88af1.entry.js +0 -1
- package/dist/build/p-bdc3f1b8.entry.js +0 -1
- package/dist/build/p-c076dfe7.entry.js +0 -1
- package/dist/build/p-c410fdca.entry.js +0 -1
- package/dist/build/p-e10ac105.entry.js +0 -1
- package/dist/build/p-f043914d.entry.js +0 -1
- package/dist/build/p-f43b03da.entry.js +0 -1
- package/dist/build/p-fa1774a4.entry.js +0 -1
- package/dist/components/p--y4GWpzd.js +0 -1
- package/dist/components/p-B1rVjCs6.js +0 -1
- package/dist/components/p-B4ldecyo.js +0 -1
- package/dist/components/p-B5p7dHkY.js +0 -1
- package/dist/components/p-BDDbB69D.js +0 -1
- package/dist/components/p-BKMmVFyv.js +0 -1
- package/dist/components/p-BSZKPMsM.js +0 -1
- package/dist/components/p-BWLjNSWO.js +0 -1
- package/dist/components/p-B_-9JoqJ.js +0 -1
- package/dist/components/p-Bqj-EqkF.js +0 -1
- package/dist/components/p-Br5JzRPb.js +0 -1
- package/dist/components/p-ByjIFdR7.js +0 -1
- package/dist/components/p-CKY-2A7w.js +0 -1
- package/dist/components/p-CXxGdOem.js +0 -1
- package/dist/components/p-Ch0_FdYv.js +0 -1
- package/dist/components/p-Cpwq0YdW.js +0 -1
- package/dist/components/p-D46WCsOs.js +0 -1
- package/dist/components/p-DEW7r6Qi.js +0 -1
- package/dist/components/p-DSA1b84Z.js +0 -1
- package/dist/components/p-Ddm-XKZe.js +0 -1
- package/dist/components/p-DexJ62g_.js +0 -1
- package/dist/components/p-DgL1D6Aj.js +0 -1
- package/dist/components/p-Dq0MN0E1.js +0 -1
- package/dist/components/p-Pg_XF2ti.js +0 -1
- package/dist/components/p-QG8NWGU3.js +0 -1
- package/dist/components/p-S831PmxS.js +0 -1
- package/dist/components/p-XWWy0siW.js +0 -1
- package/dist/components/p-a6F6aMNs.js +0 -1
- package/dist/components/p-eLkNCIS4.js +0 -1
- package/dist/components/p-g9hO5RJl.js +0 -1
- package/dist/components/p-hg2iAXCC.js +0 -1
- package/dist/components/p-yYBe3oal.js +0 -1
- package/dist/paperless/p-03121981.entry.js +0 -1
- package/dist/paperless/p-073cbaa7.entry.js +0 -1
- package/dist/paperless/p-1537db63.entry.js +0 -1
- package/dist/paperless/p-196bfb8a.entry.js +0 -1
- package/dist/paperless/p-19acdd22.entry.js +0 -1
- package/dist/paperless/p-1c1eddff.entry.js +0 -1
- package/dist/paperless/p-1d99809d.entry.js +0 -1
- package/dist/paperless/p-2937ea4e.entry.js +0 -1
- package/dist/paperless/p-34b384b9.entry.js +0 -1
- package/dist/paperless/p-44c1c053.entry.js +0 -1
- package/dist/paperless/p-45cf64a3.entry.js +0 -1
- package/dist/paperless/p-46616392.entry.js +0 -1
- package/dist/paperless/p-53db6756.entry.js +0 -1
- package/dist/paperless/p-5619c169.entry.js +0 -1
- package/dist/paperless/p-5e0796a9.entry.js +0 -1
- package/dist/paperless/p-5f64a97e.entry.js +0 -1
- package/dist/paperless/p-601999d8.entry.js +0 -1
- package/dist/paperless/p-63d43818.entry.js +0 -1
- package/dist/paperless/p-69658698.entry.js +0 -1
- package/dist/paperless/p-785b43a9.entry.js +0 -1
- package/dist/paperless/p-811807fb.entry.js +0 -1
- package/dist/paperless/p-81670b3a.entry.js +0 -1
- package/dist/paperless/p-86a3cc52.entry.js +0 -1
- package/dist/paperless/p-87b38346.entry.js +0 -1
- package/dist/paperless/p-91486f55.entry.js +0 -1
- package/dist/paperless/p-92cbcd5c.entry.js +0 -1
- package/dist/paperless/p-94640ec1.entry.js +0 -1
- package/dist/paperless/p-a6156cbc.entry.js +0 -1
- package/dist/paperless/p-a74f30c8.entry.js +0 -1
- package/dist/paperless/p-abf997fa.entry.js +0 -1
- package/dist/paperless/p-bad88af1.entry.js +0 -1
- package/dist/paperless/p-bdc3f1b8.entry.js +0 -1
- package/dist/paperless/p-c076dfe7.entry.js +0 -1
- package/dist/paperless/p-c410fdca.entry.js +0 -1
- package/dist/paperless/p-e10ac105.entry.js +0 -1
- package/dist/paperless/p-f043914d.entry.js +0 -1
- package/dist/paperless/p-f43b03da.entry.js +0 -1
- package/dist/paperless/p-fa1774a4.entry.js +0 -1
|
@@ -8,18 +8,21 @@ import './clsx-ChV9xqsO.js';
|
|
|
8
8
|
|
|
9
9
|
const calendarComponentCss = () => `*{box-sizing:border-box}.static{position:static}.col-start-1{grid-column-start:1}.col-start-2{grid-column-start:2}.col-start-3{grid-column-start:3}.col-start-4{grid-column-start:4}.col-start-5{grid-column-start:5}.col-start-6{grid-column-start:6}.col-start-7{grid-column-start:7}.ml-auto{margin-left:auto}.flex{display:flex}.grid{display:grid}.h-8{height:2rem}.h-auto{height:auto}.h-full{height:100%}.max-h-\\[15rem\\]{max-height:15rem}.min-h-\\[12rem\\]{min-height:12rem}.min-h-\\[15rem\\]{min-height:15rem}.w-8{width:2rem}.w-\\[17\\.5rem\\]{width:17.5rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-scroll{overflow:scroll}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-solid{border-style:solid}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-1{padding:.25rem}.p-2{padding:.5rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.text-hurricane-200,.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))}.drop-shadow-2,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.hover\\:bg-white-600:hover{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.hover\\:text-storm-500:hover{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:border-none:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:none}.dark\\:bg-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.dark\\:bg-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-hurricane-300:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:border-none:where([data-theme=dark],[data-theme=dark] *){border-style:none}.dark\\:bg-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.dark\\:bg-white\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:hover\\:bg-hurricane-300:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
10
10
|
|
|
11
|
-
const calendar = cva(['w-[17.5rem] flex
|
|
11
|
+
const calendar = cva(['flex w-[17.5rem] flex-col gap-4'], {
|
|
12
12
|
variants: {
|
|
13
13
|
variant: {
|
|
14
|
-
default: ['p-2
|
|
14
|
+
default: ['rounded-lg p-2 drop-shadow-2', 'border border-storm-100'],
|
|
15
15
|
embedded: 'p-1',
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
});
|
|
19
19
|
const header = cva([
|
|
20
20
|
'flex items-center gap-2',
|
|
21
|
-
'w-full p-2
|
|
22
|
-
|
|
21
|
+
'w-full rounded-lg p-2',
|
|
22
|
+
`
|
|
23
|
+
bg-off-white-300
|
|
24
|
+
dark:bg-white/15
|
|
25
|
+
`,
|
|
23
26
|
], {
|
|
24
27
|
variants: {
|
|
25
28
|
type: {
|
|
@@ -193,7 +196,7 @@ const Calendar = class {
|
|
|
193
196
|
}
|
|
194
197
|
}
|
|
195
198
|
render() {
|
|
196
|
-
return (h(ThemedHost, { key: '
|
|
199
|
+
return (h(ThemedHost, { key: 'f15ea9c031af444ef0d1679b88baf45d554fea8b' }, h("div", { key: 'ffd0b34ea60681b58a5ca1e75ae81bd4209a442f', class: calendar({ variant: this.variant }) }, this._getView())));
|
|
197
200
|
}
|
|
198
201
|
_checkTodayButton() {
|
|
199
202
|
if (this._maxDate && dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -226,10 +229,14 @@ const Calendar = class {
|
|
|
226
229
|
const daysInMonth = this._generateDaysInMonth();
|
|
227
230
|
return (h("div", { class: view({ view: 'day' }) }, this._getHeader('day'), h("div", { class: 'grid grid-cols-7 justify-between gap-1' }, this._weekDays.map(weekday => (h("span", { class: 'w-8 text-center text-xs text-storm-200' }, dateFnsExports.format(dateFnsExports.addDays(new Date(2022, 7, 1), weekday), state.locale === 'nl' ? 'EEEEEE' : 'eee', {
|
|
228
231
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
229
|
-
})))), daysInMonth.map(day => day.active ? (h("p-button", { class: cn('w-8', `
|
|
232
|
+
})))), daysInMonth.map(day => day.active ? (h("p-button", { class: cn('w-8', `
|
|
233
|
+
col-start-${day.offset}
|
|
234
|
+
`), tabIndex: -1, variant: 'primary', onClick: () => this._setValue(day.date) }, day.day)) : (h("time", { class: cn('normal flex items-center justify-center rounded-lg', 'h-8 w-8 text-sm font-semibold', 'text-storm-300', 'dark:bg-white/15', {
|
|
230
235
|
'cursor-pointer hover:bg-white-600 hover:text-storm-500 dark:text-white dark:hover:bg-hurricane-300 dark:hover:text-white': !day.disabled,
|
|
231
236
|
'dark:text-hurricane-200': day.disabled,
|
|
232
|
-
}, `
|
|
237
|
+
}, `
|
|
238
|
+
col-start-${day.offset}
|
|
239
|
+
`, { 'cursor-not-allowed opacity-60': day.disabled }, {
|
|
233
240
|
'border border-solid border-off-white-700 bg-off-white-300 text-storm-500 dark:border-none dark:bg-hurricane-200 dark:text-white': !day.disabled && dateFnsExports.isSameDay(day.date, new Date()),
|
|
234
241
|
}), onClick: () => this._setValue(day.date) }, day.day))))));
|
|
235
242
|
}
|
|
@@ -26,14 +26,24 @@ const cardContainerComponentCss = () => `.inline-block{display:inline-block}*{bo
|
|
|
26
26
|
// dark:bg-indigo-50 dark:bg-indigo-100 dark:bg-indigo-200 dark:bg-indigo-300 dark:bg-indigo-400 dark:bg-indigo-500 dark:bg-indigo-600 dark:bg-indigo-700 dark:bg-indigo-800 dark:bg-indigo-900 dark:bg-indigo
|
|
27
27
|
// dark:bg-storm-50 dark:bg-storm-100 dark:bg-storm-200 dark:bg-storm-300 dark:bg-storm-400 dark:bg-storm-500 dark:bg-storm-600 dark:bg-storm-700 dark:bg-storm-800 dark:bg-storm
|
|
28
28
|
// dark:bg-hurricane-50 dark:bg-hurricane-100 dark:bg-hurricane-200 dark:bg-hurricane-300 dark:bg-hurricane-400 dark:bg-hurricane-500 dark:bg-hurricane-600 dark:bg-hurricane-700 dark:bg-hurricane-800 dark:bg-hurricane
|
|
29
|
-
const container = cva(['flex
|
|
29
|
+
const container = cva(['flex h-inherit w-inherit flex-col transition', 'rounded-2xl'], {
|
|
30
30
|
variants: {
|
|
31
31
|
variant: {
|
|
32
|
-
default:
|
|
33
|
-
|
|
32
|
+
default: `
|
|
33
|
+
border-off-white-700
|
|
34
|
+
dark:border-white/15
|
|
35
|
+
`,
|
|
36
|
+
error: `
|
|
37
|
+
border-negative-red-500 ring-2 ring-negative-red-50
|
|
38
|
+
dark:border-negative-red-alternative dark:ring-0
|
|
39
|
+
`,
|
|
34
40
|
},
|
|
35
41
|
hoverable: {
|
|
36
|
-
true:
|
|
42
|
+
true: `
|
|
43
|
+
cursor-pointer
|
|
44
|
+
hover:bg-off-white-200
|
|
45
|
+
dark:hover:bg-hurricane-500
|
|
46
|
+
`,
|
|
37
47
|
false: null,
|
|
38
48
|
},
|
|
39
49
|
shadow: {
|
|
@@ -93,13 +103,13 @@ const CardContainer = class {
|
|
|
93
103
|
*/
|
|
94
104
|
border = true;
|
|
95
105
|
render() {
|
|
96
|
-
return (h(ThemedHost, { key: '
|
|
106
|
+
return (h(ThemedHost, { key: 'a38d44ea64514da47c620cf3ea4715a764a09774' }, h("div", { key: '4311d4de38c82349896e47ef2a45734505c54890', class: cn(container({
|
|
97
107
|
variant: this.variant,
|
|
98
108
|
active: asBoolean(this.active, false),
|
|
99
109
|
hoverable: asBoolean(this.hoverable, false),
|
|
100
110
|
shadow: asBoolean(this.shadow, true),
|
|
101
111
|
border: asBoolean(this.border),
|
|
102
|
-
}), this.bgClass) }, h("slot", { key: '
|
|
112
|
+
}), this.bgClass) }, h("slot", { key: '55798f8cdab816bf4eb64464006a5069fe33dfe6' }))));
|
|
103
113
|
}
|
|
104
114
|
};
|
|
105
115
|
CardContainer.style = cardContainerComponentCss();
|
|
@@ -7,7 +7,7 @@ import './state-BJbOyUuL.js';
|
|
|
7
7
|
|
|
8
8
|
const cardHeaderComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-\\[-1\\]{z-index:-1}.z-\\[1\\]{z-index:1}.ml-auto{margin-left:auto}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\\[5\\/1\\]{aspect-ratio:5/1}.h-8{height:2rem}.h-full{height:100%}.max-h-\\[6\\.25rem\\]{max-height:6.25rem}.w-full{width:100%}.min-w-0{min-width:0}.max-w-full{max-width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-2{gap:.5rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem}.pt-3,.py-3{padding-top:.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.text-off-white-700{--tw-text-opacity:1;color:rgb(222 219 213/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.empty\\:hidden:empty{display:none}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.15)}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white\\/15:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.15)}`;
|
|
9
9
|
|
|
10
|
-
const header = cva(
|
|
10
|
+
const header = cva(`relative z-[1] inline-flex w-full flex-col justify-start rounded-t-2xl`, {
|
|
11
11
|
variants: {
|
|
12
12
|
variant: {
|
|
13
13
|
default: 'px-4',
|
|
@@ -23,7 +23,10 @@ const content = cva('flex items-center gap-2', {
|
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
});
|
|
26
|
-
const title = cva(
|
|
26
|
+
const title = cva(`
|
|
27
|
+
flex h-8 min-w-0 items-center gap-2 text-sm font-bold text-storm-500
|
|
28
|
+
dark:text-white
|
|
29
|
+
`);
|
|
27
30
|
const CardHeader = class {
|
|
28
31
|
constructor(hostRef) {
|
|
29
32
|
registerInstance(this, hostRef);
|
|
@@ -57,7 +60,7 @@ const CardHeader = class {
|
|
|
57
60
|
variant: this.variant,
|
|
58
61
|
}) }, h("div", { key: '3d56078ea79fdcb81461437dd3b8c66f712a5cef', class: content({
|
|
59
62
|
variant: this.variant,
|
|
60
|
-
}) }, this.icon ? (h("p-icon", { class: 'text-storm-300
|
|
63
|
+
}) }, this.icon ? (h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (h("slot", { name: 'prefix' })), h("div", { key: '005f43cba3bfe99a983662f0bfb7d6c5429cef5d', class: title() }, h("span", { key: '1fc8a26b87fc27bc6d51031bde168b9a1ab3e395', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : h("slot", null)), h("slot", { key: '0afc16e030c057789bbbf3ef3649d81c7721dfa6', name: 'content-suffix' })), h("div", { key: 'e8e336a47953c3a6f11434622aa221e9295d4592', class: '\n ml-auto flex items-center justify-end gap-4\n empty:hidden\n ' }, h("slot", { key: 'b0aec6d332a4109cb91fae4c5b75945486c1b91c', name: 'suffix' }))), this.variant === 'default' ? (asBoolean(this.divider) && (h("p-divider", { class: '\n text-off-white-700\n dark:text-white/15\n ' }))) : (h("div", { class: '\n pointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n overflow-hidden rounded-t-2xl\n ' }, h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
|
|
61
64
|
}
|
|
62
65
|
};
|
|
63
66
|
CardHeader.style = cardHeaderComponentCss();
|
|
@@ -12,45 +12,79 @@ import './state-BJbOyUuL.js';
|
|
|
12
12
|
const checkboxComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.m-0{margin:0}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.w-4{width:1rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{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))}.-translate-y-1\\/2{--tw-translate-y:-50%}.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))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.border-storm-50{--tw-border-opacity:1;border-color:rgb(232 232 234/var(--tw-border-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.text-xs{font-size:.75rem;line-height:1rem}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.checked\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.checked\\:bg-indigo-600:checked{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.checked\\:ring-indigo-100:checked{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.indeterminate\\:border-storm-500\\/20:indeterminate{border-color:rgba(24,30,41,.2)}.indeterminate\\:bg-indigo-600:indeterminate{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.indeterminate\\:ring-2:indeterminate{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.indeterminate\\:ring-indigo-100:indeterminate{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.empty\\:hidden:empty{display:none}.hover\\:border-storm-500\\/20:hover{border-color:rgba(24,30,41,.2)}.hover\\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.checked\\:hover\\:border-storm-500\\/20:hover:checked{border-color:rgba(24,30,41,.2)}.checked\\:hover\\:bg-indigo-700:hover:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.indeterminate\\:hover\\:border-storm-500\\/20:hover:indeterminate{border-color:rgba(24,30,41,.2)}.indeterminate\\:hover\\:bg-indigo-700:hover:indeterminate{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.group\\/checkbox-label:hover .group-hover\\/checkbox-label\\:border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.group\\/checkbox-label:hover .group-hover\\/checkbox-label\\:bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.group\\/checkbox-label:hover .group-hover\\/checkbox-label\\:text-sm,.group\\/p-checkbox:hover .group-hover\\/p-checkbox\\:text-sm{font-size:.875rem;line-height:1.25rem}.group\\/checkbox-label:hover .checked\\:group-hover\\/checkbox-label\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.group\\/checkbox-label:hover .checked\\:group-hover\\/checkbox-label\\:bg-indigo-700:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.group\\/checkbox-label:hover .indeterminate\\:group-hover\\/checkbox-label\\:border-storm-500\\/20:indeterminate{border-color:rgba(24,30,41,.2)}.group\\/checkbox-label:hover .indeterminate\\:group-hover\\/checkbox-label\\:bg-indigo-700:indeterminate{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:flex{display:flex}.peer:indeterminate~.peer-indeterminate\\:flex{display:flex}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:checked\\:ring-0:checked:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:checked\\:ring-0:checked:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}`;
|
|
13
13
|
|
|
14
14
|
const checkbox = cva([
|
|
15
|
-
'peer
|
|
16
|
-
'border
|
|
17
|
-
'
|
|
15
|
+
'peer m-0 flex-shrink-0 appearance-none outline-none',
|
|
16
|
+
'border-inset border border-solid',
|
|
17
|
+
'h-4 w-4 rounded',
|
|
18
18
|
], {
|
|
19
19
|
variants: {
|
|
20
20
|
disabled: {
|
|
21
21
|
false: [
|
|
22
22
|
'cursor-pointer shadow-1',
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
`
|
|
24
|
+
border-storm-100 bg-white
|
|
25
|
+
dark:border-white/15 dark:bg-white/10
|
|
26
|
+
`,
|
|
27
|
+
`
|
|
28
|
+
hover:border-storm-500/20 hover:bg-indigo-100
|
|
29
|
+
dark:hover:border-white/15 dark:hover:bg-white/20
|
|
30
|
+
`,
|
|
31
|
+
`
|
|
32
|
+
group-hover/checkbox-label:border-storm-100
|
|
33
|
+
group-hover/checkbox-label:bg-indigo-100
|
|
34
|
+
`,
|
|
35
|
+
'checked:border-storm-500/20 checked:bg-indigo-600',
|
|
36
|
+
`
|
|
37
|
+
checked:ring-2 checked:ring-indigo-100
|
|
38
|
+
dark:checked:ring-0
|
|
39
|
+
`,
|
|
40
|
+
'checked:hover:border-storm-500/20 checked:hover:bg-indigo-700',
|
|
41
|
+
`
|
|
42
|
+
checked:group-hover/checkbox-label:border-storm-500/20
|
|
43
|
+
checked:group-hover/checkbox-label:bg-indigo-700
|
|
44
|
+
`,
|
|
45
|
+
'indeterminate:border-storm-500/20 indeterminate:bg-indigo-600',
|
|
31
46
|
'indeterminate:ring-2 indeterminate:ring-indigo-100',
|
|
32
|
-
'indeterminate:hover:
|
|
33
|
-
|
|
47
|
+
'indeterminate:hover:border-storm-500/20 indeterminate:hover:bg-indigo-700',
|
|
48
|
+
`
|
|
49
|
+
indeterminate:group-hover/checkbox-label:border-storm-500/20
|
|
50
|
+
indeterminate:group-hover/checkbox-label:bg-indigo-700
|
|
51
|
+
`,
|
|
34
52
|
],
|
|
35
|
-
true:
|
|
53
|
+
true: `
|
|
54
|
+
cursor-not-allowed border-storm-50 bg-white-600
|
|
55
|
+
dark:border-white/10 dark:bg-white/5
|
|
56
|
+
`,
|
|
36
57
|
},
|
|
37
58
|
},
|
|
38
59
|
});
|
|
39
60
|
const iconContainer = cva([
|
|
40
|
-
|
|
41
|
-
|
|
61
|
+
`
|
|
62
|
+
hidden
|
|
63
|
+
peer-checked:flex
|
|
64
|
+
peer-indeterminate:flex
|
|
65
|
+
`,
|
|
66
|
+
`
|
|
67
|
+
pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2
|
|
68
|
+
-translate-y-1/2 transform
|
|
69
|
+
`,
|
|
42
70
|
], {
|
|
43
71
|
variants: {
|
|
44
72
|
disabled: {
|
|
45
73
|
false: 'text-white',
|
|
46
|
-
true:
|
|
74
|
+
true: `
|
|
75
|
+
text-storm-200
|
|
76
|
+
dark:text-hurricane-300
|
|
77
|
+
`,
|
|
47
78
|
},
|
|
48
79
|
},
|
|
49
80
|
});
|
|
50
|
-
const icon = cva(['drop-shadow-2
|
|
81
|
+
const icon = cva(['text-xs drop-shadow-2'], {
|
|
51
82
|
variants: {
|
|
52
83
|
disabled: {
|
|
53
|
-
false:
|
|
84
|
+
false: `
|
|
85
|
+
group-hover/checkbox-label:text-sm
|
|
86
|
+
group-hover/p-checkbox:text-sm
|
|
87
|
+
`,
|
|
54
88
|
true: null,
|
|
55
89
|
},
|
|
56
90
|
},
|
|
@@ -114,13 +148,13 @@ const Checkbox = class {
|
|
|
114
148
|
}
|
|
115
149
|
render() {
|
|
116
150
|
const id = this.id?.length ? this.id : this._nonce;
|
|
117
|
-
return (h(ThemedHost, { key: '
|
|
151
|
+
return (h(ThemedHost, { key: '790e3aa34ae9ab672a26033e58b1801742e9989d' }, h("label", { key: 'a40fd069e097065a718100d32b0f823e228f6aec', class: 'group/p-checkbox flex items-center justify-start gap-2', htmlFor: id }, h("div", { key: '102743e8fb860e7290d77e7407be13856460f613', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: 'e0aab8a3669d74a544d49ea0dfa40312c913d20e', checked: asBoolean(this.checked), class: checkbox({
|
|
118
152
|
disabled: asBoolean(this.disabled),
|
|
119
|
-
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
153
|
+
}), disabled: asBoolean(this.disabled), id: id, indeterminate: asBoolean(this.indeterminate), name: this.name, required: asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), h("div", { key: '54a632b71823fe37ea899841ce1a991ade8dab08', class: iconContainer({
|
|
120
154
|
disabled: asBoolean(this.disabled),
|
|
121
|
-
}) }, h("p-icon", { key: '
|
|
155
|
+
}) }, h("p-icon", { key: '78ea7112217b5d623be8dcd20c422796a85372dc', class: icon({
|
|
122
156
|
disabled: asBoolean(this.disabled),
|
|
123
|
-
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), h("div", { key: '
|
|
157
|
+
}), size: 'auto', variant: asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), h("div", { key: '6946c6e2c07e6a38ce02d849468d499728a0e4c5', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, h("slot", { key: '7219e1faea7dee90c29a1e9c4c5182caffad36c5' })))));
|
|
124
158
|
}
|
|
125
159
|
_onChange(ev) {
|
|
126
160
|
if (this.disabled) {
|
|
@@ -424,19 +458,19 @@ const dropdownMenuContainerComponentCss = () => `*{box-sizing:border-box}.static
|
|
|
424
458
|
const dropdownMenuContainer = cva([
|
|
425
459
|
'p-dropdown-menu-container',
|
|
426
460
|
'p-1',
|
|
427
|
-
'rounded-lg
|
|
461
|
+
'z-10 rounded-lg',
|
|
428
462
|
'border',
|
|
429
463
|
'transform-gpu will-change-transform',
|
|
430
464
|
], {
|
|
431
465
|
variants: {
|
|
432
466
|
variant: {
|
|
433
467
|
default: [
|
|
434
|
-
'
|
|
435
|
-
'dark:bg-hurricane-400
|
|
468
|
+
'border-storm-100 bg-white drop-shadow-2',
|
|
469
|
+
'dark:border-transparent dark:bg-hurricane-400',
|
|
436
470
|
],
|
|
437
471
|
storm: [
|
|
438
|
-
'bg-storm-400 drop-shadow-3
|
|
439
|
-
'dark:
|
|
472
|
+
'border-storm-400 bg-storm-400 drop-shadow-3',
|
|
473
|
+
'dark:border-storm-100 dark:border-white/60 dark:bg-white',
|
|
440
474
|
],
|
|
441
475
|
},
|
|
442
476
|
fullWidth: {
|
|
@@ -456,7 +490,7 @@ const dropdownMenuContainer = cva([
|
|
|
456
490
|
},
|
|
457
491
|
],
|
|
458
492
|
});
|
|
459
|
-
const innerContainer = cva('
|
|
493
|
+
const innerContainer = cva('relative min-h-full w-full', {
|
|
460
494
|
variants: {
|
|
461
495
|
allowOverflow: {
|
|
462
496
|
false: 'overflow-y-auto overflow-x-hidden',
|
|
@@ -51,9 +51,19 @@ const ContentSlider = class {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h(Host, { key: '82853208f8862b3485a5a00b0c9c4f6986ea92ea', class: 'p-content-slider' }, h("div", { key: '
|
|
54
|
+
return (h(Host, { key: '82853208f8862b3485a5a00b0c9c4f6986ea92ea', class: 'p-content-slider' }, h("div", { key: 'c06c9b5385f6fe2d69b17415ed46fc78fc8be5ae', class: `
|
|
55
|
+
slider
|
|
56
|
+
${!this.disableDrag && 'draggable'}
|
|
57
|
+
${this._dragging && 'dragging'}
|
|
58
|
+
`, ref: el => (this._sliderRef = el), style: {
|
|
55
59
|
height: `${this._outerHeight}px`,
|
|
56
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, h("div", { key: '
|
|
60
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, h("div", { key: '5dfdd1adee4730a98789496e923c5ec6e3a8eb9c', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: 'd1557d4fa4336b8f01d7039a3b6e1fb9c65716f9', onSlotchange: () => this._slotChange() }))), h("div", { key: '1bf3e7c46755f0f85fc6fa573bd04ee43bd0752d', class: `
|
|
61
|
+
indicator
|
|
62
|
+
${this.hideMobileIndicator && 'hidden'}
|
|
63
|
+
` }, this._filteredItems.map((_, i) => (h("div", { class: `
|
|
64
|
+
item
|
|
65
|
+
${!this.disableIndicatorClick && 'cursor-pointer'}
|
|
66
|
+
`, onClick: () => this._scrollTo(i, true) }, h("div", { class: cn('block h-2 w-2 rounded-full', {
|
|
57
67
|
'bg-indigo-600': i === this._visibleIndex,
|
|
58
68
|
'bg-indigo-300': i !== this._visibleIndex,
|
|
59
69
|
}) })))))));
|
|
@@ -2846,7 +2846,7 @@ const Cropper = class {
|
|
|
2846
2846
|
const themeColor = state.theme === 'dark'
|
|
2847
2847
|
? 'rgba(70, 75, 84, 0.5)'
|
|
2848
2848
|
: 'rgba(255, 255, 255, 0.5)';
|
|
2849
|
-
return (h(ThemedHost, { key: 'dd4ea15cbdfbac6e25202bd1a4871d9635fd33a7' }, this._loaded && (h("cropper-canvas", { key: '
|
|
2849
|
+
return (h(ThemedHost, { key: 'dd4ea15cbdfbac6e25202bd1a4871d9635fd33a7' }, this._loaded && (h("cropper-canvas", { key: '69757749ad6d01c41e7aca2e8f21c693666e98fe', class: '\n h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700\n bg-white\n dark:border-hurricane-200\n ', onAction: () => this._onAction() }, h("cropper-image", { key: '07b78454e15277f87160a6832c4fed1bbbfb08c1', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), h("cropper-shade", { key: 'e1784c618c68dac7a8311f8d7e93666c5d3b3611', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), h("cropper-selection", { key: '2348efb74b1bf52ee4fab7157d32bb1dfe523430', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '45f943c9eefaf4312bd20ca8f4d089a5a0ece738', action: 'move', plain: true }))), h("p-range", { key: 'c96960f209547ddef6cd66a4ee9981d96901d0f0', class: '\n w-full px-14\n tablet:max-w-xs tablet:px-1\n ', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
2850
2850
|
}
|
|
2851
2851
|
_setImageRef(ref) {
|
|
2852
2852
|
if (this._imageRef || !ref) {
|
|
@@ -219,7 +219,7 @@ const Datepicker = class {
|
|
|
219
219
|
this.parseValue(this.value);
|
|
220
220
|
}
|
|
221
221
|
render() {
|
|
222
|
-
return (h("p-dropdown", { key: 'c65daeff45afabeefa654b8d033a40d9fda5b4e2', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, h("p-field", { key: '09aaa8a320e9a1852171aa59054a9b269667addb', autoShowError: false, disabled: asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '
|
|
222
|
+
return (h("p-dropdown", { key: 'c65daeff45afabeefa654b8d033a40d9fda5b4e2', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, h("p-field", { key: '09aaa8a320e9a1852171aa59054a9b269667addb', autoShowError: false, disabled: asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '5d3bc6559f556f4965bfbdf5789691e1aebac89b', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
223
223
|
dateFnsExports.format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
224
224
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
225
225
|
}), min: this._minDate &&
|
|
@@ -228,7 +228,7 @@ const Datepicker = class {
|
|
|
228
228
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
229
229
|
dateFnsExports.format(this._value, 'yyyy-MM-dd', {
|
|
230
230
|
locale: state.locale === 'nl' ? localeExports.nl : localeExports.enUS,
|
|
231
|
-
}), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '
|
|
231
|
+
}), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '360edd69e71e6f308aea157491d3612bb3ea095f', slot: 'items', tabIndex: -1 }, h("p-calendar", { key: '0f1545e528dbf99bf47e3dc48d866d56522caae3', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
|
|
232
232
|
}
|
|
233
233
|
documentClickHandler({ target }) {
|
|
234
234
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -9,14 +9,36 @@ const dividerComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-conten
|
|
|
9
9
|
|
|
10
10
|
const content = cva([
|
|
11
11
|
'flex items-center',
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
`
|
|
13
|
+
before:content-[""]
|
|
14
|
+
after:content-[""]
|
|
15
|
+
`,
|
|
16
|
+
`
|
|
17
|
+
before:bg-current
|
|
18
|
+
after:bg-current
|
|
19
|
+
`,
|
|
20
|
+
`
|
|
21
|
+
before:flex-1
|
|
22
|
+
after:flex-1
|
|
23
|
+
`,
|
|
15
24
|
], {
|
|
16
25
|
variants: {
|
|
17
26
|
variant: {
|
|
18
|
-
horizontal: [
|
|
19
|
-
|
|
27
|
+
horizontal: [
|
|
28
|
+
`
|
|
29
|
+
before:h-px
|
|
30
|
+
after:h-px
|
|
31
|
+
`,
|
|
32
|
+
'w-full',
|
|
33
|
+
],
|
|
34
|
+
vertical: [
|
|
35
|
+
'flex-col',
|
|
36
|
+
`
|
|
37
|
+
before:w-px
|
|
38
|
+
after:w-px
|
|
39
|
+
`,
|
|
40
|
+
'h-full',
|
|
41
|
+
],
|
|
20
42
|
},
|
|
21
43
|
alignContent: {
|
|
22
44
|
start: 'before:hidden',
|
|
@@ -40,12 +62,12 @@ const Divider = class {
|
|
|
40
62
|
get _el() { return getElement(this); }
|
|
41
63
|
render() {
|
|
42
64
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
43
|
-
return (h(ThemedHost, { key: '
|
|
65
|
+
return (h(ThemedHost, { key: '8dc52e5323e9ccbabf6ac4ef27ac69cab95daae4' }, h("div", { key: '0e4feec398c8eea9a625e673a2d1ce12002bf794', class: cn(content({
|
|
44
66
|
variant: this.variant,
|
|
45
67
|
alignContent: this.alignContent,
|
|
46
68
|
}), {
|
|
47
69
|
'text-off-white-700 dark:text-hurricane-400': !this._el.className.includes('text'),
|
|
48
|
-
}) }, h("div", { key: '
|
|
70
|
+
}) }, h("div", { key: '6d2c51c55ac70ecca3f281d562ac3e095240f991', class: '\n flex items-center px-2 text-sm font-medium text-storm-400\n empty:px-0\n dark:text-hurricane-200\n ' }, hasContent && h("slot", { key: 'b7ebd8a85ef5f9e049bbb4232ece62fc25b6708f' })))));
|
|
49
71
|
}
|
|
50
72
|
};
|
|
51
73
|
Divider.style = dividerComponentCss();
|
|
@@ -20,10 +20,17 @@ DrawerBody.style = drawerBodyComponentCss();
|
|
|
20
20
|
const drawerContainerComponentCss = () => `.flex{display:flex}.min-h-full{min-height:100%}.w-full{width:100%}.flex-col{flex-direction:column}.px-2{padding-left:.5rem;padding-right:.5rem}*{box-sizing:border-box}:host{align-items:flex-end;display:flex;flex-direction:column;min-height:100%;overflow-x:hidden;padding-left:.5rem;padding-right:.5rem;width:100%}@media (min-width:40rem){:host{margin-left:auto;width:auto}}@media (min-width:40rem){.tablet\\:ml-auto{margin-left:auto}}.static{position:static}.z-drawer{z-index:500}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}@keyframes slideInRight{0%{transform:translateX(100%)}to{transform:translateX(0)}}.animate-slide-in-right{animation:slideInRight .5s ease forwards}@keyframes slideOutRight{0%{transform:translateX(0)}to{transform:translateX(100%)}}.animate-slide-out-right{animation:slideOutRight .2s ease forwards}.rounded-2xl{border-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08);--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.my-safe-2{margin-bottom:calc(env(safe-area-inset-bottom) + .5rem);margin-top:calc(env(safe-area-inset-top) + .5rem)}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\\:w-\\[22\\.5rem\\]{width:22.5rem}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}`;
|
|
21
21
|
|
|
22
22
|
const container = cva([
|
|
23
|
-
'
|
|
23
|
+
'min-w-0 flex-1 my-safe-2',
|
|
24
24
|
'z-drawer flex flex-col',
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
`
|
|
26
|
+
rounded-2xl bg-white
|
|
27
|
+
dark:border dark:border-solid dark:border-hurricane-400
|
|
28
|
+
dark:bg-hurricane-600
|
|
29
|
+
`,
|
|
30
|
+
`
|
|
31
|
+
w-full
|
|
32
|
+
tablet:w-[22.5rem]
|
|
33
|
+
`,
|
|
27
34
|
'shadow-modal',
|
|
28
35
|
], {
|
|
29
36
|
variants: {
|
|
@@ -42,9 +49,9 @@ const DrawerContainer = class {
|
|
|
42
49
|
*/
|
|
43
50
|
closing = false;
|
|
44
51
|
render() {
|
|
45
|
-
return (h(ThemedHost, { key: '
|
|
52
|
+
return (h(ThemedHost, { key: 'bc792e09626c80196369ca43ef43135e6e10132c' }, h("div", { key: 'e3b242a8cd8ba7034aebaf5bd7de73242d7c4c33', class: container({
|
|
46
53
|
closing: asBoolean(this.closing),
|
|
47
|
-
}) }, h("slot", { key: '
|
|
54
|
+
}) }, h("slot", { key: '5e0b9ca40dc6528825b212776d1c4eee7e198f73' }))));
|
|
48
55
|
}
|
|
49
56
|
};
|
|
50
57
|
DrawerContainer.style = drawerContainerComponentCss();
|
|
@@ -52,14 +59,20 @@ DrawerContainer.style = drawerContainerComponentCss();
|
|
|
52
59
|
const drawerHeaderComponentCss = () => `*{box-sizing:border-box}.static{position:static}.relative{position:relative}.z-\\[1\\]{z-index:1}.flex{display:flex}.inline-flex{display:inline-flex}.size-8{height:2rem;width:2rem}.min-h-12{min-height:3rem}.min-h-18{min-height:4.5rem}.w-full{width:100%}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.overflow-hidden{overflow:hidden}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-0{padding-bottom:0}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
53
60
|
|
|
54
61
|
const header = cva([
|
|
55
|
-
'
|
|
56
|
-
|
|
62
|
+
'relative z-[1] min-h-18 w-full flex-col overflow-hidden rounded-t-2xl',
|
|
63
|
+
`
|
|
64
|
+
bg-white
|
|
65
|
+
dark:bg-hurricane-600
|
|
66
|
+
`,
|
|
57
67
|
'inline-flex',
|
|
58
68
|
]);
|
|
59
|
-
const content = cva(['flex justify-between', 'w-full p-4 pb-0
|
|
69
|
+
const content = cva(['flex justify-between', 'min-h-12 w-full p-4 pb-0']);
|
|
60
70
|
const title = cva([
|
|
61
71
|
'flex-1 text-center',
|
|
62
|
-
|
|
72
|
+
`
|
|
73
|
+
text-ambit text-2xl font-bold text-storm-500
|
|
74
|
+
dark:text-white
|
|
75
|
+
`,
|
|
63
76
|
]);
|
|
64
77
|
const DrawerHeader = class {
|
|
65
78
|
constructor(hostRef) {
|
|
@@ -75,7 +88,7 @@ const DrawerHeader = class {
|
|
|
75
88
|
*/
|
|
76
89
|
close;
|
|
77
90
|
render() {
|
|
78
|
-
return (h(ThemedHost, { key: '
|
|
91
|
+
return (h(ThemedHost, { key: 'e05ec2c9d94a38c646e446b2882f675bcccad49e' }, h("div", { key: 'ac59d07abee48dc4bdb945a6cc780c2e124e4613', class: header() }, h("div", { key: 'fb95e22321f77109a554c790fc1d7bc59cf8f404', class: content() }, this.showClose && (h("p-button", { key: 'f6f1c5524ddb466b48682b03571ee245111d3280', icon: 'negative', iconOnly: true, variant: 'secondary', onClick: ev => this.close.emit(ev) })), h("div", { key: 'ed99afeff2a45c9a17558d256863c4f22f99594f', class: title() }, h("slot", { key: 'fffd297b663ad9761c848b4dd47a40c545eec324' })), this.showClose && h("div", { key: '73cf17ce479ad201c6ea905043512dfb2b5dd780', class: 'size-8' })), h("p-smile", { key: '07a4e62c3294e1427159c2a73214d754d043da03', class: 'dark:text-hurricane-400' }))));
|
|
79
92
|
}
|
|
80
93
|
};
|
|
81
94
|
DrawerHeader.style = drawerHeaderComponentCss();
|