@paperless/core 3.0.2 → 3.1.1
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
|
@@ -88,7 +88,7 @@ const button = index$1.cva([
|
|
|
88
88
|
primary: ['border-storm-500/20', 'text-white'],
|
|
89
89
|
secondary: null,
|
|
90
90
|
text: 'border-0',
|
|
91
|
-
transparent: '
|
|
91
|
+
transparent: 'border-transparent bg-transparent',
|
|
92
92
|
dropdown: null,
|
|
93
93
|
},
|
|
94
94
|
active: {
|
|
@@ -104,9 +104,9 @@ const button = index$1.cva([
|
|
|
104
104
|
false: null,
|
|
105
105
|
},
|
|
106
106
|
size: {
|
|
107
|
-
sm: ['
|
|
108
|
-
base: ['
|
|
109
|
-
lg: ['
|
|
107
|
+
sm: ['h-6 gap-1 text-xs'],
|
|
108
|
+
base: ['h-8 gap-2 text-sm'],
|
|
109
|
+
lg: ['h-10 gap-2 text-base'],
|
|
110
110
|
},
|
|
111
111
|
disabled: {
|
|
112
112
|
true: 'cursor-not-allowed border-transparent',
|
|
@@ -131,7 +131,7 @@ const button = index$1.cva([
|
|
|
131
131
|
// variants
|
|
132
132
|
{
|
|
133
133
|
variant: ['secondary', 'dropdown'],
|
|
134
|
-
class: 'bg-white dark:bg-white/15',
|
|
134
|
+
class: ['bg-white', 'dark:bg-white/15'],
|
|
135
135
|
},
|
|
136
136
|
{
|
|
137
137
|
variant: ['primary', 'secondary', 'dropdown'],
|
|
@@ -157,16 +157,25 @@ const button = index$1.cva([
|
|
|
157
157
|
variant: ['secondary', 'dropdown'],
|
|
158
158
|
disabled: false,
|
|
159
159
|
error: false,
|
|
160
|
-
class:
|
|
160
|
+
class: `
|
|
161
|
+
text-storm-500
|
|
162
|
+
dark:text-white
|
|
163
|
+
`,
|
|
161
164
|
},
|
|
162
165
|
{
|
|
163
166
|
variant: 'primary',
|
|
164
|
-
class:
|
|
167
|
+
class: `
|
|
168
|
+
dark:border-0
|
|
169
|
+
dark:active:border-0
|
|
170
|
+
`,
|
|
165
171
|
},
|
|
166
172
|
{
|
|
167
173
|
variant: 'primary',
|
|
168
174
|
disabled: true,
|
|
169
|
-
class:
|
|
175
|
+
class: `
|
|
176
|
+
bg-indigo-200
|
|
177
|
+
dark:bg-indigo-600/30 dark:text-white/30
|
|
178
|
+
`,
|
|
170
179
|
},
|
|
171
180
|
{
|
|
172
181
|
variant: 'primary',
|
|
@@ -178,8 +187,15 @@ const button = index$1.cva([
|
|
|
178
187
|
disabled: false,
|
|
179
188
|
loading: false,
|
|
180
189
|
class: [
|
|
181
|
-
|
|
182
|
-
|
|
190
|
+
`
|
|
191
|
+
active:border-storm-500/10 active:text-white/60 active:ring-2
|
|
192
|
+
dark:active:ring-0
|
|
193
|
+
`,
|
|
194
|
+
`
|
|
195
|
+
drop-shadow-primary-button
|
|
196
|
+
hover:bg-indigo-700 hover:drop-shadow-2
|
|
197
|
+
active:ring-indigo-100
|
|
198
|
+
`,
|
|
183
199
|
],
|
|
184
200
|
},
|
|
185
201
|
{
|
|
@@ -187,7 +203,7 @@ const button = index$1.cva([
|
|
|
187
203
|
disabled: false,
|
|
188
204
|
loading: false,
|
|
189
205
|
active: true,
|
|
190
|
-
class: 'ring
|
|
206
|
+
class: 'ring-2',
|
|
191
207
|
},
|
|
192
208
|
{
|
|
193
209
|
variant: 'primary',
|
|
@@ -199,20 +215,33 @@ const button = index$1.cva([
|
|
|
199
215
|
{
|
|
200
216
|
variant: ['secondary', 'dropdown'],
|
|
201
217
|
disabled: true,
|
|
202
|
-
class:
|
|
218
|
+
class: `
|
|
219
|
+
border bg-white-600 text-storm-100
|
|
220
|
+
dark:border-white/5 dark:bg-white/5 dark:text-hurricane-400
|
|
221
|
+
`,
|
|
203
222
|
},
|
|
204
223
|
{
|
|
205
224
|
variant: ['secondary', 'dropdown'],
|
|
206
225
|
disabled: false,
|
|
207
|
-
class:
|
|
226
|
+
class: `
|
|
227
|
+
text-storm-500
|
|
228
|
+
dark:text-white
|
|
229
|
+
`,
|
|
208
230
|
},
|
|
209
231
|
{
|
|
210
232
|
variant: ['secondary', 'dropdown'],
|
|
211
233
|
disabled: false,
|
|
212
234
|
loading: false,
|
|
213
235
|
class: [
|
|
214
|
-
|
|
215
|
-
|
|
236
|
+
`
|
|
237
|
+
drop-shadow-1
|
|
238
|
+
hover:bg-white-600 hover:drop-shadow-1
|
|
239
|
+
active:text-storm-500/60 active:ring-indigo-100
|
|
240
|
+
`,
|
|
241
|
+
`
|
|
242
|
+
dark:hover:bg-white/25
|
|
243
|
+
dark:active:bg-white/25 dark:active:text-white/60 dark:active:ring-0
|
|
244
|
+
`,
|
|
216
245
|
],
|
|
217
246
|
},
|
|
218
247
|
{
|
|
@@ -237,20 +266,35 @@ const button = index$1.cva([
|
|
|
237
266
|
variant: ['secondary', 'dropdown'],
|
|
238
267
|
error: false,
|
|
239
268
|
active: false,
|
|
240
|
-
class: [
|
|
269
|
+
class: [
|
|
270
|
+
`
|
|
271
|
+
border-storm-500/20
|
|
272
|
+
dark:border-transparent
|
|
273
|
+
`,
|
|
274
|
+
],
|
|
241
275
|
},
|
|
242
276
|
{
|
|
243
277
|
variant: ['secondary', 'dropdown'],
|
|
244
278
|
error: true,
|
|
245
279
|
class: [
|
|
246
|
-
|
|
247
|
-
|
|
280
|
+
`
|
|
281
|
+
border border-negative-red-500 text-negative-red-800 ring ring-2
|
|
282
|
+
ring-negative-red-50
|
|
283
|
+
active:text-negative-red-800
|
|
284
|
+
`,
|
|
285
|
+
`
|
|
286
|
+
dark:border-negative-red-700 dark:text-negative-red-alternative
|
|
287
|
+
dark:ring-0
|
|
288
|
+
`,
|
|
248
289
|
],
|
|
249
290
|
},
|
|
250
291
|
{
|
|
251
292
|
variant: ['text', 'transparent'],
|
|
252
293
|
disabled: false,
|
|
253
|
-
class:
|
|
294
|
+
class: `
|
|
295
|
+
text-indigo-700
|
|
296
|
+
hover:text-indigo-800
|
|
297
|
+
`,
|
|
254
298
|
},
|
|
255
299
|
{
|
|
256
300
|
variant: ['text', 'transparent'],
|
|
@@ -339,7 +383,11 @@ const icon$1 = index$1.cva([], {
|
|
|
339
383
|
disabled: false,
|
|
340
384
|
active: false,
|
|
341
385
|
error: false,
|
|
342
|
-
class:
|
|
386
|
+
class: `
|
|
387
|
+
text-indigo-300
|
|
388
|
+
group-hover/button:text-white
|
|
389
|
+
group-active/button:text-white/60
|
|
390
|
+
`,
|
|
343
391
|
},
|
|
344
392
|
{
|
|
345
393
|
variant: 'primary',
|
|
@@ -353,8 +401,15 @@ const icon$1 = index$1.cva([], {
|
|
|
353
401
|
active: false,
|
|
354
402
|
error: false,
|
|
355
403
|
class: [
|
|
356
|
-
|
|
357
|
-
|
|
404
|
+
`
|
|
405
|
+
text-storm-300
|
|
406
|
+
group-hover/button:text-storm-500
|
|
407
|
+
group-active/button:text-storm-500/60
|
|
408
|
+
`,
|
|
409
|
+
`
|
|
410
|
+
dark:group-hover/button:text-white
|
|
411
|
+
dark:group-active/button:text-white/60
|
|
412
|
+
`,
|
|
358
413
|
],
|
|
359
414
|
},
|
|
360
415
|
{
|
|
@@ -378,19 +433,30 @@ const icon$1 = index$1.cva([], {
|
|
|
378
433
|
disabled: false,
|
|
379
434
|
active: true,
|
|
380
435
|
error: false,
|
|
381
|
-
class:
|
|
436
|
+
class: `
|
|
437
|
+
text-storm-500/60
|
|
438
|
+
dark:text-white/60
|
|
439
|
+
`,
|
|
382
440
|
},
|
|
383
441
|
{
|
|
384
442
|
variant: ['transparent', 'text'],
|
|
385
443
|
disabled: false,
|
|
386
444
|
active: false,
|
|
387
|
-
class:
|
|
445
|
+
class: `
|
|
446
|
+
text-indigo-500
|
|
447
|
+
group-hover/button:text-indigo-700
|
|
448
|
+
group-active/button:text-indigo-800
|
|
449
|
+
`,
|
|
388
450
|
},
|
|
389
451
|
{
|
|
390
452
|
variant: ['secondary', 'dropdown'],
|
|
391
453
|
active: false,
|
|
392
454
|
error: true,
|
|
393
|
-
class:
|
|
455
|
+
class: `
|
|
456
|
+
text-negative-red-500
|
|
457
|
+
group-hover/button:text-negative-red-800
|
|
458
|
+
dark:text-negative-red-alternative
|
|
459
|
+
`,
|
|
394
460
|
},
|
|
395
461
|
{
|
|
396
462
|
variant: ['secondary', 'dropdown'],
|
|
@@ -525,7 +591,7 @@ const Button = class {
|
|
|
525
591
|
: 'button';
|
|
526
592
|
const hostClass = cn.cn('p-button inline-block', this.class);
|
|
527
593
|
const active = asBoolean.asBoolean(this.active) || hostClass?.includes('active');
|
|
528
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
594
|
+
return (index.h(themedHost_component.ThemedHost, { key: '96d79703fdd577fadf843e31db00fc39c7a0f60b', class: hostClass }, index.h(VariableTag, { key: 'b61672659ecbd461e3ee99ac8288f90fddc9f2e1', class: button({
|
|
529
595
|
variant: this.variant,
|
|
530
596
|
size: this.size,
|
|
531
597
|
loading: asBoolean.asBoolean(this.loading),
|
|
@@ -535,14 +601,14 @@ const Button = class {
|
|
|
535
601
|
active,
|
|
536
602
|
error: asBoolean.asBoolean(this.error),
|
|
537
603
|
underline: asBoolean.asBoolean(this.underline) && VariableTag === 'a',
|
|
538
|
-
}), disabled: asBoolean.asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (index.h("p-icon", { key: '
|
|
604
|
+
}), disabled: asBoolean.asBoolean(this.disabled), href: this.href, tabIndex: this.tabIndex, target: this.target, type: this.variant === 'text' ? undefined : this.type }, this.chevron && this.chevronPosition === 'start' && (index.h("p-icon", { key: '53ad0547df945a2055d9d9a8e9a4e32f8b4474d6', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
|
|
539
605
|
this.iconPosition === 'start' &&
|
|
540
606
|
!(this.iconOnly && this.loading) &&
|
|
541
|
-
this._getIcon(), this.label ?? index.h("slot", { key: '
|
|
607
|
+
this._getIcon(), this.label ?? index.h("slot", { key: '59dc0d14a430e8e47fa46752025d76c0848bcbc4' }), this.icon &&
|
|
542
608
|
this.iconPosition === 'end' &&
|
|
543
609
|
!this.loading &&
|
|
544
610
|
!this.chevron &&
|
|
545
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (index.h("p-icon", { key: '
|
|
611
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (index.h("p-icon", { key: '5e1c8d2f5781900af5ff53b565f7904a42df2c23', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && index.h("p-loader", { key: 'a760f9a6c098b0857225acd689bda1824021455a', color: loaderColor }))));
|
|
546
612
|
}
|
|
547
613
|
handleClick(ev) {
|
|
548
614
|
if (this.loading || this.disabled) {
|
|
@@ -682,11 +748,17 @@ const Loader = class {
|
|
|
682
748
|
if (this.variant === 'ghost') {
|
|
683
749
|
return (index.h(themedHost_component.ThemedHost, { class: 'variant-ghost min-h-4 min-w-4 rounded-2xl' }));
|
|
684
750
|
}
|
|
685
|
-
const loader = index.h("div", { class: `
|
|
751
|
+
const loader = (index.h("div", { class: `
|
|
752
|
+
loader
|
|
753
|
+
color-${this.color}
|
|
754
|
+
` }));
|
|
686
755
|
if (this.variant === 'full-screen') {
|
|
687
756
|
return (index.h(themedHost_component.ThemedHost, { class: 'variant-full-screen' }, index.h("div", { class: 'loading-screen' }, index.h("div", { class: 'content' }, index.h("slot", null)))));
|
|
688
757
|
}
|
|
689
|
-
return (index.h(themedHost_component.ThemedHost, { class: `
|
|
758
|
+
return (index.h(themedHost_component.ThemedHost, { class: `
|
|
759
|
+
variant-default flex
|
|
760
|
+
${this.variant === 'full-width' && 'w-full justify-center text-4xl'}
|
|
761
|
+
` }, loader));
|
|
690
762
|
}
|
|
691
763
|
_checkShow() {
|
|
692
764
|
if (this._showSubscriber) {
|
|
@@ -10,18 +10,21 @@ require('./clsx-BtxeOLZW.js');
|
|
|
10
10
|
|
|
11
11
|
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))}`;
|
|
12
12
|
|
|
13
|
-
const calendar = index$1.cva(['w-[17.5rem] flex
|
|
13
|
+
const calendar = index$1.cva(['flex w-[17.5rem] flex-col gap-4'], {
|
|
14
14
|
variants: {
|
|
15
15
|
variant: {
|
|
16
|
-
default: ['p-2
|
|
16
|
+
default: ['rounded-lg p-2 drop-shadow-2', 'border border-storm-100'],
|
|
17
17
|
embedded: 'p-1',
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
20
|
});
|
|
21
21
|
const header = index$1.cva([
|
|
22
22
|
'flex items-center gap-2',
|
|
23
|
-
'w-full p-2
|
|
24
|
-
|
|
23
|
+
'w-full rounded-lg p-2',
|
|
24
|
+
`
|
|
25
|
+
bg-off-white-300
|
|
26
|
+
dark:bg-white/15
|
|
27
|
+
`,
|
|
25
28
|
], {
|
|
26
29
|
variants: {
|
|
27
30
|
type: {
|
|
@@ -195,7 +198,7 @@ const Calendar = class {
|
|
|
195
198
|
}
|
|
196
199
|
}
|
|
197
200
|
render() {
|
|
198
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
201
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'f15ea9c031af444ef0d1679b88baf45d554fea8b' }, index.h("div", { key: 'ffd0b34ea60681b58a5ca1e75ae81bd4209a442f', class: calendar({ variant: this.variant }) }, this._getView())));
|
|
199
202
|
}
|
|
200
203
|
_checkTodayButton() {
|
|
201
204
|
if (this._maxDate && locale.dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -228,10 +231,14 @@ const Calendar = class {
|
|
|
228
231
|
const daysInMonth = this._generateDaysInMonth();
|
|
229
232
|
return (index.h("div", { class: view({ view: 'day' }) }, this._getHeader('day'), index.h("div", { class: 'grid grid-cols-7 justify-between gap-1' }, this._weekDays.map(weekday => (index.h("span", { class: 'w-8 text-center text-xs text-storm-200' }, locale.dateFnsExports.format(locale.dateFnsExports.addDays(new Date(2022, 7, 1), weekday), state.state.locale === 'nl' ? 'EEEEEE' : 'eee', {
|
|
230
233
|
locale: state.state.locale === 'nl' ? locale.localeExports.nl : locale.localeExports.enUS,
|
|
231
|
-
})))), daysInMonth.map(day => day.active ? (index.h("p-button", { class: cn.cn('w-8', `
|
|
234
|
+
})))), daysInMonth.map(day => day.active ? (index.h("p-button", { class: cn.cn('w-8', `
|
|
235
|
+
col-start-${day.offset}
|
|
236
|
+
`), tabIndex: -1, variant: 'primary', onClick: () => this._setValue(day.date) }, day.day)) : (index.h("time", { class: cn.cn('normal flex items-center justify-center rounded-lg', 'h-8 w-8 text-sm font-semibold', 'text-storm-300', 'dark:bg-white/15', {
|
|
232
237
|
'cursor-pointer hover:bg-white-600 hover:text-storm-500 dark:text-white dark:hover:bg-hurricane-300 dark:hover:text-white': !day.disabled,
|
|
233
238
|
'dark:text-hurricane-200': day.disabled,
|
|
234
|
-
}, `
|
|
239
|
+
}, `
|
|
240
|
+
col-start-${day.offset}
|
|
241
|
+
`, { 'cursor-not-allowed opacity-60': day.disabled }, {
|
|
235
242
|
'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 && locale.dateFnsExports.isSameDay(day.date, new Date()),
|
|
236
243
|
}), onClick: () => this._setValue(day.date) }, day.day))))));
|
|
237
244
|
}
|
|
@@ -28,14 +28,24 @@ const cardContainerComponentCss = () => `.inline-block{display:inline-block}*{bo
|
|
|
28
28
|
// 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
|
|
29
29
|
// 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
|
|
30
30
|
// 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
|
|
31
|
-
const container = index$1.cva(['flex
|
|
31
|
+
const container = index$1.cva(['flex h-inherit w-inherit flex-col transition', 'rounded-2xl'], {
|
|
32
32
|
variants: {
|
|
33
33
|
variant: {
|
|
34
|
-
default:
|
|
35
|
-
|
|
34
|
+
default: `
|
|
35
|
+
border-off-white-700
|
|
36
|
+
dark:border-white/15
|
|
37
|
+
`,
|
|
38
|
+
error: `
|
|
39
|
+
border-negative-red-500 ring-2 ring-negative-red-50
|
|
40
|
+
dark:border-negative-red-alternative dark:ring-0
|
|
41
|
+
`,
|
|
36
42
|
},
|
|
37
43
|
hoverable: {
|
|
38
|
-
true:
|
|
44
|
+
true: `
|
|
45
|
+
cursor-pointer
|
|
46
|
+
hover:bg-off-white-200
|
|
47
|
+
dark:hover:bg-hurricane-500
|
|
48
|
+
`,
|
|
39
49
|
false: null,
|
|
40
50
|
},
|
|
41
51
|
shadow: {
|
|
@@ -95,13 +105,13 @@ const CardContainer = class {
|
|
|
95
105
|
*/
|
|
96
106
|
border = true;
|
|
97
107
|
render() {
|
|
98
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
108
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'a38d44ea64514da47c620cf3ea4715a764a09774' }, index.h("div", { key: '4311d4de38c82349896e47ef2a45734505c54890', class: cn.cn(container({
|
|
99
109
|
variant: this.variant,
|
|
100
110
|
active: asBoolean.asBoolean(this.active, false),
|
|
101
111
|
hoverable: asBoolean.asBoolean(this.hoverable, false),
|
|
102
112
|
shadow: asBoolean.asBoolean(this.shadow, true),
|
|
103
113
|
border: asBoolean.asBoolean(this.border),
|
|
104
|
-
}), this.bgClass) }, index.h("slot", { key: '
|
|
114
|
+
}), this.bgClass) }, index.h("slot", { key: '55798f8cdab816bf4eb64464006a5069fe33dfe6' }))));
|
|
105
115
|
}
|
|
106
116
|
};
|
|
107
117
|
CardContainer.style = cardContainerComponentCss();
|
|
@@ -9,7 +9,7 @@ require('./state-DM8SZBNO.js');
|
|
|
9
9
|
|
|
10
10
|
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)}`;
|
|
11
11
|
|
|
12
|
-
const header = index$1.cva(
|
|
12
|
+
const header = index$1.cva(`relative z-[1] inline-flex w-full flex-col justify-start rounded-t-2xl`, {
|
|
13
13
|
variants: {
|
|
14
14
|
variant: {
|
|
15
15
|
default: 'px-4',
|
|
@@ -25,7 +25,10 @@ const content = index$1.cva('flex items-center gap-2', {
|
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
|
-
const title = index$1.cva(
|
|
28
|
+
const title = index$1.cva(`
|
|
29
|
+
flex h-8 min-w-0 items-center gap-2 text-sm font-bold text-storm-500
|
|
30
|
+
dark:text-white
|
|
31
|
+
`);
|
|
29
32
|
const CardHeader = class {
|
|
30
33
|
constructor(hostRef) {
|
|
31
34
|
index.registerInstance(this, hostRef);
|
|
@@ -59,7 +62,7 @@ const CardHeader = class {
|
|
|
59
62
|
variant: this.variant,
|
|
60
63
|
}) }, index.h("div", { key: '3d56078ea79fdcb81461437dd3b8c66f712a5cef', class: content({
|
|
61
64
|
variant: this.variant,
|
|
62
|
-
}) }, this.icon ? (index.h("p-icon", { class: 'text-storm-300
|
|
65
|
+
}) }, this.icon ? (index.h("p-icon", { class: '\n text-storm-300\n dark:text-hurricane-200\n ', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (index.h("slot", { name: 'prefix' })), index.h("div", { key: '005f43cba3bfe99a983662f0bfb7d6c5429cef5d', class: title() }, index.h("span", { key: '1fc8a26b87fc27bc6d51031bde168b9a1ab3e395', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : index.h("slot", null)), index.h("slot", { key: '0afc16e030c057789bbbf3ef3649d81c7721dfa6', name: 'content-suffix' })), index.h("div", { key: 'e8e336a47953c3a6f11434622aa221e9295d4592', class: '\n ml-auto flex items-center justify-end gap-4\n empty:hidden\n ' }, index.h("slot", { key: 'b0aec6d332a4109cb91fae4c5b75945486c1b91c', name: 'suffix' }))), this.variant === 'default' ? (asBoolean.asBoolean(this.divider) && (index.h("p-divider", { class: '\n text-off-white-700\n dark:text-white/15\n ' }))) : (index.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 ' }, index.h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
|
|
63
66
|
}
|
|
64
67
|
};
|
|
65
68
|
CardHeader.style = cardHeaderComponentCss();
|
|
@@ -14,45 +14,79 @@ require('./state-DM8SZBNO.js');
|
|
|
14
14
|
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)}`;
|
|
15
15
|
|
|
16
16
|
const checkbox = index$1.cva([
|
|
17
|
-
'peer
|
|
18
|
-
'border
|
|
19
|
-
'
|
|
17
|
+
'peer m-0 flex-shrink-0 appearance-none outline-none',
|
|
18
|
+
'border-inset border border-solid',
|
|
19
|
+
'h-4 w-4 rounded',
|
|
20
20
|
], {
|
|
21
21
|
variants: {
|
|
22
22
|
disabled: {
|
|
23
23
|
false: [
|
|
24
24
|
'cursor-pointer shadow-1',
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
`
|
|
26
|
+
border-storm-100 bg-white
|
|
27
|
+
dark:border-white/15 dark:bg-white/10
|
|
28
|
+
`,
|
|
29
|
+
`
|
|
30
|
+
hover:border-storm-500/20 hover:bg-indigo-100
|
|
31
|
+
dark:hover:border-white/15 dark:hover:bg-white/20
|
|
32
|
+
`,
|
|
33
|
+
`
|
|
34
|
+
group-hover/checkbox-label:border-storm-100
|
|
35
|
+
group-hover/checkbox-label:bg-indigo-100
|
|
36
|
+
`,
|
|
37
|
+
'checked:border-storm-500/20 checked:bg-indigo-600',
|
|
38
|
+
`
|
|
39
|
+
checked:ring-2 checked:ring-indigo-100
|
|
40
|
+
dark:checked:ring-0
|
|
41
|
+
`,
|
|
42
|
+
'checked:hover:border-storm-500/20 checked:hover:bg-indigo-700',
|
|
43
|
+
`
|
|
44
|
+
checked:group-hover/checkbox-label:border-storm-500/20
|
|
45
|
+
checked:group-hover/checkbox-label:bg-indigo-700
|
|
46
|
+
`,
|
|
47
|
+
'indeterminate:border-storm-500/20 indeterminate:bg-indigo-600',
|
|
33
48
|
'indeterminate:ring-2 indeterminate:ring-indigo-100',
|
|
34
|
-
'indeterminate:hover:
|
|
35
|
-
|
|
49
|
+
'indeterminate:hover:border-storm-500/20 indeterminate:hover:bg-indigo-700',
|
|
50
|
+
`
|
|
51
|
+
indeterminate:group-hover/checkbox-label:border-storm-500/20
|
|
52
|
+
indeterminate:group-hover/checkbox-label:bg-indigo-700
|
|
53
|
+
`,
|
|
36
54
|
],
|
|
37
|
-
true:
|
|
55
|
+
true: `
|
|
56
|
+
cursor-not-allowed border-storm-50 bg-white-600
|
|
57
|
+
dark:border-white/10 dark:bg-white/5
|
|
58
|
+
`,
|
|
38
59
|
},
|
|
39
60
|
},
|
|
40
61
|
});
|
|
41
62
|
const iconContainer = index$1.cva([
|
|
42
|
-
|
|
43
|
-
|
|
63
|
+
`
|
|
64
|
+
hidden
|
|
65
|
+
peer-checked:flex
|
|
66
|
+
peer-indeterminate:flex
|
|
67
|
+
`,
|
|
68
|
+
`
|
|
69
|
+
pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2
|
|
70
|
+
-translate-y-1/2 transform
|
|
71
|
+
`,
|
|
44
72
|
], {
|
|
45
73
|
variants: {
|
|
46
74
|
disabled: {
|
|
47
75
|
false: 'text-white',
|
|
48
|
-
true:
|
|
76
|
+
true: `
|
|
77
|
+
text-storm-200
|
|
78
|
+
dark:text-hurricane-300
|
|
79
|
+
`,
|
|
49
80
|
},
|
|
50
81
|
},
|
|
51
82
|
});
|
|
52
|
-
const icon = index$1.cva(['drop-shadow-2
|
|
83
|
+
const icon = index$1.cva(['text-xs drop-shadow-2'], {
|
|
53
84
|
variants: {
|
|
54
85
|
disabled: {
|
|
55
|
-
false:
|
|
86
|
+
false: `
|
|
87
|
+
group-hover/checkbox-label:text-sm
|
|
88
|
+
group-hover/p-checkbox:text-sm
|
|
89
|
+
`,
|
|
56
90
|
true: null,
|
|
57
91
|
},
|
|
58
92
|
},
|
|
@@ -116,13 +150,13 @@ const Checkbox = class {
|
|
|
116
150
|
}
|
|
117
151
|
render() {
|
|
118
152
|
const id = this.id?.length ? this.id : this._nonce;
|
|
119
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
153
|
+
return (index.h(themedHost_component.ThemedHost, { key: '790e3aa34ae9ab672a26033e58b1801742e9989d' }, index.h("label", { key: 'a40fd069e097065a718100d32b0f823e228f6aec', class: 'group/p-checkbox flex items-center justify-start gap-2', htmlFor: id }, index.h("div", { key: '102743e8fb860e7290d77e7407be13856460f613', class: 'relative flex flex-shrink-0 items-center' }, index.h("input", { key: 'e0aab8a3669d74a544d49ea0dfa40312c913d20e', checked: asBoolean.asBoolean(this.checked), class: checkbox({
|
|
120
154
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
121
|
-
}), disabled: asBoolean.asBoolean(this.disabled), id: id, indeterminate: asBoolean.asBoolean(this.indeterminate), name: this.name, required: asBoolean.asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), index.h("div", { key: '
|
|
155
|
+
}), disabled: asBoolean.asBoolean(this.disabled), id: id, indeterminate: asBoolean.asBoolean(this.indeterminate), name: this.name, required: asBoolean.asBoolean(this.required), type: 'checkbox', onChange: ev => this._onChange(ev) }), index.h("div", { key: '54a632b71823fe37ea899841ce1a991ade8dab08', class: iconContainer({
|
|
122
156
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
123
|
-
}) }, index.h("p-icon", { key: '
|
|
157
|
+
}) }, index.h("p-icon", { key: '78ea7112217b5d623be8dcd20c422796a85372dc', class: icon({
|
|
124
158
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
125
|
-
}), size: 'auto', variant: asBoolean.asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), index.h("div", { key: '
|
|
159
|
+
}), size: 'auto', variant: asBoolean.asBoolean(this.indeterminate) ? 'minus' : 'checkmarkThick' }))), index.h("div", { key: '6946c6e2c07e6a38ce02d849468d499728a0e4c5', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, index.h("slot", { key: '7219e1faea7dee90c29a1e9c4c5182caffad36c5' })))));
|
|
126
160
|
}
|
|
127
161
|
_onChange(ev) {
|
|
128
162
|
if (this.disabled) {
|
|
@@ -426,19 +460,19 @@ const dropdownMenuContainerComponentCss = () => `*{box-sizing:border-box}.static
|
|
|
426
460
|
const dropdownMenuContainer = index$1.cva([
|
|
427
461
|
'p-dropdown-menu-container',
|
|
428
462
|
'p-1',
|
|
429
|
-
'rounded-lg
|
|
463
|
+
'z-10 rounded-lg',
|
|
430
464
|
'border',
|
|
431
465
|
'transform-gpu will-change-transform',
|
|
432
466
|
], {
|
|
433
467
|
variants: {
|
|
434
468
|
variant: {
|
|
435
469
|
default: [
|
|
436
|
-
'
|
|
437
|
-
'dark:bg-hurricane-400
|
|
470
|
+
'border-storm-100 bg-white drop-shadow-2',
|
|
471
|
+
'dark:border-transparent dark:bg-hurricane-400',
|
|
438
472
|
],
|
|
439
473
|
storm: [
|
|
440
|
-
'bg-storm-400 drop-shadow-3
|
|
441
|
-
'dark:
|
|
474
|
+
'border-storm-400 bg-storm-400 drop-shadow-3',
|
|
475
|
+
'dark:border-storm-100 dark:border-white/60 dark:bg-white',
|
|
442
476
|
],
|
|
443
477
|
},
|
|
444
478
|
fullWidth: {
|
|
@@ -458,7 +492,7 @@ const dropdownMenuContainer = index$1.cva([
|
|
|
458
492
|
},
|
|
459
493
|
],
|
|
460
494
|
});
|
|
461
|
-
const innerContainer = index$1.cva('
|
|
495
|
+
const innerContainer = index$1.cva('relative min-h-full w-full', {
|
|
462
496
|
variants: {
|
|
463
497
|
allowOverflow: {
|
|
464
498
|
false: 'overflow-y-auto overflow-x-hidden',
|
|
@@ -53,9 +53,19 @@ const ContentSlider = class {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (index.h(index.Host, { key: '82853208f8862b3485a5a00b0c9c4f6986ea92ea', class: 'p-content-slider' }, index.h("div", { key: '
|
|
56
|
+
return (index.h(index.Host, { key: '82853208f8862b3485a5a00b0c9c4f6986ea92ea', class: 'p-content-slider' }, index.h("div", { key: 'c06c9b5385f6fe2d69b17415ed46fc78fc8be5ae', class: `
|
|
57
|
+
slider
|
|
58
|
+
${!this.disableDrag && 'draggable'}
|
|
59
|
+
${this._dragging && 'dragging'}
|
|
60
|
+
`, ref: el => (this._sliderRef = el), style: {
|
|
57
61
|
height: `${this._outerHeight}px`,
|
|
58
|
-
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, index.h("div", { key: '
|
|
62
|
+
}, onMouseDown: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e), onTouchStart: e => this._mouseDownHandler(e) }, index.h("div", { key: '5dfdd1adee4730a98789496e923c5ec6e3a8eb9c', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, index.h("slot", { key: 'd1557d4fa4336b8f01d7039a3b6e1fb9c65716f9', onSlotchange: () => this._slotChange() }))), index.h("div", { key: '1bf3e7c46755f0f85fc6fa573bd04ee43bd0752d', class: `
|
|
63
|
+
indicator
|
|
64
|
+
${this.hideMobileIndicator && 'hidden'}
|
|
65
|
+
` }, this._filteredItems.map((_, i) => (index.h("div", { class: `
|
|
66
|
+
item
|
|
67
|
+
${!this.disableIndicatorClick && 'cursor-pointer'}
|
|
68
|
+
`, onClick: () => this._scrollTo(i, true) }, index.h("div", { class: cn.cn('block h-2 w-2 rounded-full', {
|
|
59
69
|
'bg-indigo-600': i === this._visibleIndex,
|
|
60
70
|
'bg-indigo-300': i !== this._visibleIndex,
|
|
61
71
|
}) })))))));
|
|
@@ -2848,7 +2848,7 @@ const Cropper = class {
|
|
|
2848
2848
|
const themeColor = state.state.theme === 'dark'
|
|
2849
2849
|
? 'rgba(70, 75, 84, 0.5)'
|
|
2850
2850
|
: 'rgba(255, 255, 255, 0.5)';
|
|
2851
|
-
return (index.h(themedHost_component.ThemedHost, { key: 'dd4ea15cbdfbac6e25202bd1a4871d9635fd33a7' }, this._loaded && (index.h("cropper-canvas", { key: '
|
|
2851
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'dd4ea15cbdfbac6e25202bd1a4871d9635fd33a7' }, this._loaded && (index.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() }, index.h("cropper-image", { key: '07b78454e15277f87160a6832c4fed1bbbfb08c1', alt: 'Picture', crossorigin: 'anonymous', ref: ref => this._setImageRef(ref), src: this.value, scalable: true, translatable: true }), index.h("cropper-shade", { key: 'e1784c618c68dac7a8311f8d7e93666c5d3b3611', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), index.h("cropper-selection", { key: '2348efb74b1bf52ee4fab7157d32bb1dfe523430', "aspect-ratio": '1', "initial-coverage": '0.7', ref: ref => (this._selectionRef = ref) }), index.h("cropper-handle", { key: '45f943c9eefaf4312bd20ca8f4d089a5a0ece738', action: 'move', plain: true }))), index.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) })));
|
|
2852
2852
|
}
|
|
2853
2853
|
_setImageRef(ref) {
|
|
2854
2854
|
if (this._imageRef || !ref) {
|