@paperless/core 3.3.0 → 3.4.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/p-0686342c.entry.js +1 -0
- package/dist/build/p-0fe16faa.entry.js +1 -0
- package/dist/build/p-17c4c0c5.entry.js +1 -0
- package/dist/build/{p-d5390a8e.js → p-2416d737.js} +1 -1
- package/dist/build/p-3d756173.entry.js +1 -0
- package/dist/build/p-4cff56e8.entry.js +1 -0
- package/dist/build/p-4d137a6e.entry.js +1 -0
- package/dist/build/p-5770dbc8.entry.js +1 -0
- package/dist/build/p-5831f1c7.entry.js +1 -0
- package/dist/build/p-58b45104.entry.js +1 -0
- package/dist/build/p-5d0011d0.entry.js +1 -0
- package/dist/build/p-5eba855f.entry.js +1 -0
- package/dist/build/p-6ba2d6db.entry.js +1 -0
- package/dist/build/p-6e4149f4.entry.js +1 -0
- package/dist/build/p-725b81df.entry.js +1 -0
- package/dist/build/p-79648998.entry.js +1 -0
- package/dist/build/p-7c4a912a.entry.js +1 -0
- package/dist/build/p-7d972093.entry.js +1 -0
- package/dist/build/p-7dbbee4d.entry.js +1 -0
- package/dist/build/p-8b383bce.entry.js +1 -0
- package/dist/build/p-8b7970c3.entry.js +1 -0
- package/dist/build/p-8c62ce07.entry.js +1 -0
- package/dist/build/p-90837322.entry.js +1 -0
- package/dist/build/p-90ae5ad7.entry.js +1 -0
- package/dist/build/p-93dcdeda.entry.js +1 -0
- package/dist/build/p-a2826b34.entry.js +1 -0
- package/dist/build/p-a7d84ee9.entry.js +1 -0
- package/dist/build/p-ad4bf0a8.entry.js +1 -0
- package/dist/build/p-aebdd434.entry.js +1 -0
- package/dist/build/p-aed1fd15.entry.js +1 -0
- package/dist/build/p-baa9f32b.entry.js +1 -0
- package/dist/build/p-c465f763.entry.js +1 -0
- package/dist/build/p-c5120c4d.entry.js +1 -0
- package/dist/build/p-c6d53712.entry.js +1 -0
- package/dist/build/p-c795bde9.entry.js +1 -0
- package/dist/{paperless/p-2f9a3144.entry.js → build/p-c96befa1.entry.js} +2 -2
- package/dist/build/p-ce369eb2.entry.js +1 -0
- package/dist/build/p-ce822727.entry.js +1 -0
- package/dist/build/p-e17c452a.entry.js +1 -0
- package/dist/build/p-eb201a9b.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +20 -20
- package/dist/cjs/p-avatar.cjs.entry.js +4 -4
- package/dist/cjs/p-backdrop.cjs.entry.js +13 -13
- package/dist/cjs/p-badge_3.cjs.entry.js +23 -23
- package/dist/cjs/p-button_3.cjs.entry.js +74 -74
- package/dist/cjs/p-calendar.cjs.entry.js +8 -8
- package/dist/cjs/p-card-container.cjs.entry.js +12 -12
- package/dist/cjs/p-card-header.cjs.entry.js +7 -7
- package/dist/cjs/p-checkbox_3.cjs.entry.js +39 -39
- package/dist/cjs/p-content-slider.cjs.entry.js +12 -12
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/p-divider.cjs.entry.js +18 -18
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +15 -16
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +77 -77
- package/dist/cjs/p-empty-state_8.cjs.entry.js +54 -56
- package/dist/cjs/p-field_3.cjs.entry.js +51 -51
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +13 -13
- package/dist/cjs/p-info-panel.cjs.entry.js +39 -39
- package/dist/cjs/p-label.cjs.entry.js +11 -12
- package/dist/cjs/p-layout.cjs.entry.js +4 -4
- package/dist/cjs/p-listing-item.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +31 -31
- package/dist/cjs/p-navbar.cjs.entry.js +17 -17
- package/dist/cjs/p-navigation-item.cjs.entry.js +15 -15
- package/dist/cjs/p-navigation-title.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +12 -12
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +31 -31
- package/dist/cjs/p-range.cjs.entry.js +4 -4
- package/dist/cjs/p-select.cjs.entry.js +17 -17
- package/dist/cjs/p-smile.cjs.entry.js +4 -4
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +16 -16
- package/dist/cjs/p-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js +17 -17
- package/dist/cjs/p-toast-container.cjs.entry.js +7 -7
- package/dist/cjs/p-toast.cjs.entry.js +14 -14
- package/dist/cjs/p-toggle.cjs.entry.js +48 -48
- package/dist/cjs/p-tooltip.cjs.entry.js +9 -9
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +4 -4
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +13 -13
- package/dist/collection/components/atoms/badge/badge.component.js +7 -7
- package/dist/collection/components/atoms/card/container/card-container.component.js +12 -12
- package/dist/collection/components/atoms/card/header/card-header.component.css +1 -1
- package/dist/collection/components/atoms/card/header/card-header.component.js +6 -6
- package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +38 -38
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +17 -17
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +8 -9
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +7 -7
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +60 -60
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +12 -12
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +38 -38
- package/dist/collection/components/atoms/layout/layout.component.js +4 -4
- package/dist/collection/components/atoms/listing/item/listing-item.component.css +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/loader/loader.component.js +6 -6
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +11 -11
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +11 -11
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +7 -7
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.css +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +17 -17
- package/dist/collection/components/atoms/radio/radio.component.css +1 -1
- package/dist/collection/components/atoms/radio/radio.component.js +30 -30
- package/dist/collection/components/atoms/segment/container/segment-container.component.css +1 -1
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +14 -14
- package/dist/collection/components/atoms/smile/smile.component.js +4 -4
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +16 -16
- package/dist/collection/components/atoms/tab/container/tab-container.component.css +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +17 -17
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +6 -6
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +7 -7
- package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.js +47 -47
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +8 -8
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +19 -19
- package/dist/collection/components/molecules/button/button.component.js +68 -68
- package/dist/collection/components/molecules/calendar/calendar.component.js +8 -8
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +12 -12
- package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/empty-state/empty-state.component.css +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +1 -1
- package/dist/collection/components/molecules/field/container/field-container.component.css +1 -1
- package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
- package/dist/collection/components/molecules/field/field/field.component.js +40 -40
- package/dist/collection/components/molecules/label/label.component.js +11 -12
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +15 -15
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.css +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +10 -10
- package/dist/collection/components/molecules/profile/profile.component.css +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.css +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.css +1 -1
- package/dist/collection/components/molecules/select/select.component.js +17 -17
- package/dist/collection/components/molecules/table/cell/table-cell.component.css +1 -1
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +9 -9
- package/dist/collection/components/molecules/table/header/table-header.component.css +1 -1
- package/dist/collection/components/molecules/table/header/table-header.component.js +22 -24
- package/dist/collection/components/molecules/table/row/table-row.component.js +13 -13
- package/dist/collection/components/molecules/toast/toast.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +13 -13
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +16 -16
- package/dist/components/p-5uHCPmGk.js +1 -0
- package/dist/components/{p-BEhC6raw.js → p-B4eE9yEE.js} +1 -1
- package/dist/components/p-BHiyb8ip.js +1 -0
- package/dist/components/p-BNP0EWBh.js +1 -0
- package/dist/components/p-Bda4K1Yk.js +1 -0
- package/dist/components/p-BeSy-okV.js +1 -0
- package/dist/components/{p-B-BsxOeK.js → p-BfGdPBSg.js} +1 -1
- package/dist/components/p-Bs0UbjiW.js +1 -0
- package/dist/components/p-C31KuY0d.js +1 -0
- package/dist/components/p-C7N1zgx3.js +1 -0
- package/dist/components/{p-DT72kk3I.js → p-CDu0amfB.js} +1 -1
- package/dist/components/p-CE8E8FBm.js +1 -0
- package/dist/components/p-CJJ1D4_g.js +1 -0
- package/dist/components/p-CQvBODGb.js +1 -0
- package/dist/components/p-CTO6yoKa.js +1 -0
- package/dist/components/p-Cb4CJncP.js +1 -0
- package/dist/components/p-CeTgyWQk.js +1 -0
- package/dist/components/p-Cfo-JRkk.js +1 -0
- package/dist/components/p-Chn3zUDI.js +1 -0
- package/dist/components/p-Cjm1FJmm.js +1 -0
- package/dist/components/p-Cs7yJK6D.js +1 -0
- package/dist/components/p-Cu6GBVmu.js +1 -0
- package/dist/components/p-CunBMmUT.js +1 -0
- package/dist/components/p-CxCtRzMh.js +1 -0
- package/dist/components/p-CyNjpuPx.js +1 -0
- package/dist/components/p-DIyH3jA1.js +1 -0
- package/dist/components/p-DeBYujHG.js +1 -0
- package/dist/components/p-DetQXQMw.js +1 -0
- package/dist/components/p-Dgla_G75.js +1 -0
- package/dist/components/p-DozUOKTG.js +1 -0
- package/dist/components/p-Fr1e2Ydf.js +1 -0
- package/dist/components/p-TRbYWjl9.js +1 -0
- package/dist/components/p-Tct8krSb.js +1 -0
- package/dist/components/p-UHCQc1G8.js +1 -0
- package/dist/components/p-YSzGS0Cj.js +1 -0
- package/dist/components/p-_KqQOKJS.js +1 -0
- 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-item.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-ezohBi3D.js +1 -0
- 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-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-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-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/p-attachment.entry.js +20 -20
- package/dist/esm/p-avatar.entry.js +4 -4
- package/dist/esm/p-backdrop.entry.js +13 -13
- package/dist/esm/p-badge_3.entry.js +23 -23
- package/dist/esm/p-button_3.entry.js +74 -74
- package/dist/esm/p-calendar.entry.js +8 -8
- package/dist/esm/p-card-container.entry.js +12 -12
- package/dist/esm/p-card-header.entry.js +7 -7
- package/dist/esm/p-checkbox_3.entry.js +39 -39
- package/dist/esm/p-content-slider.entry.js +12 -12
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +3 -3
- package/dist/esm/p-divider.entry.js +18 -18
- package/dist/esm/p-drawer-body_3.entry.js +15 -16
- package/dist/esm/p-dropdown-menu-item_2.entry.js +77 -77
- package/dist/esm/p-empty-state_8.entry.js +54 -56
- package/dist/esm/p-field_3.entry.js +51 -51
- package/dist/esm/p-floating-menu-item.entry.js +13 -13
- package/dist/esm/p-info-panel.entry.js +39 -39
- package/dist/esm/p-label.entry.js +11 -12
- package/dist/esm/p-layout.entry.js +4 -4
- package/dist/esm/p-listing-item.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +31 -31
- package/dist/esm/p-navbar.entry.js +17 -17
- package/dist/esm/p-navigation-item.entry.js +15 -15
- package/dist/esm/p-navigation-title.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +12 -12
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +31 -31
- package/dist/esm/p-range.entry.js +4 -4
- package/dist/esm/p-select.entry.js +18 -18
- package/dist/esm/p-smile.entry.js +4 -4
- package/dist/esm/p-stepper-item_2.entry.js +16 -16
- package/dist/esm/p-tab-container.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js +17 -17
- package/dist/esm/p-toast-container.entry.js +7 -7
- package/dist/esm/p-toast.entry.js +14 -14
- package/dist/esm/p-toggle.entry.js +48 -48
- package/dist/esm/p-tooltip.entry.js +9 -9
- package/dist/index.html +1 -1
- package/dist/paperless/p-0686342c.entry.js +1 -0
- package/dist/paperless/p-0fe16faa.entry.js +1 -0
- package/dist/paperless/p-17c4c0c5.entry.js +1 -0
- package/dist/paperless/p-3d756173.entry.js +1 -0
- package/dist/paperless/p-4cff56e8.entry.js +1 -0
- package/dist/paperless/p-4d137a6e.entry.js +1 -0
- package/dist/paperless/p-5770dbc8.entry.js +1 -0
- package/dist/paperless/p-5831f1c7.entry.js +1 -0
- package/dist/paperless/p-58b45104.entry.js +1 -0
- package/dist/paperless/p-5d0011d0.entry.js +1 -0
- package/dist/paperless/p-5eba855f.entry.js +1 -0
- package/dist/paperless/p-6ba2d6db.entry.js +1 -0
- package/dist/paperless/p-6e4149f4.entry.js +1 -0
- package/dist/paperless/p-725b81df.entry.js +1 -0
- package/dist/paperless/p-79648998.entry.js +1 -0
- package/dist/paperless/p-7c4a912a.entry.js +1 -0
- package/dist/paperless/p-7d972093.entry.js +1 -0
- package/dist/paperless/p-7dbbee4d.entry.js +1 -0
- package/dist/paperless/p-8b383bce.entry.js +1 -0
- package/dist/paperless/p-8b7970c3.entry.js +1 -0
- package/dist/paperless/p-8c62ce07.entry.js +1 -0
- package/dist/paperless/p-90837322.entry.js +1 -0
- package/dist/paperless/p-90ae5ad7.entry.js +1 -0
- package/dist/paperless/p-93dcdeda.entry.js +1 -0
- package/dist/paperless/p-a2826b34.entry.js +1 -0
- package/dist/paperless/p-a7d84ee9.entry.js +1 -0
- package/dist/paperless/p-ad4bf0a8.entry.js +1 -0
- package/dist/paperless/p-aebdd434.entry.js +1 -0
- package/dist/paperless/p-aed1fd15.entry.js +1 -0
- package/dist/paperless/p-baa9f32b.entry.js +1 -0
- package/dist/paperless/p-c465f763.entry.js +1 -0
- package/dist/paperless/p-c5120c4d.entry.js +1 -0
- package/dist/paperless/p-c6d53712.entry.js +1 -0
- package/dist/paperless/p-c795bde9.entry.js +1 -0
- package/dist/{build/p-2f9a3144.entry.js → paperless/p-c96befa1.entry.js} +2 -2
- package/dist/paperless/p-ce369eb2.entry.js +1 -0
- package/dist/paperless/p-ce822727.entry.js +1 -0
- package/dist/paperless/p-e17c452a.entry.js +1 -0
- package/dist/paperless/p-eb201a9b.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 +749 -753
- package/hydrate/index.mjs +749 -753
- package/package.json +1 -1
- package/dist/build/p-099fed2a.entry.js +0 -1
- package/dist/build/p-0b4b4cf7.entry.js +0 -1
- package/dist/build/p-102da1de.entry.js +0 -1
- package/dist/build/p-16c98151.entry.js +0 -1
- package/dist/build/p-187a4dda.entry.js +0 -1
- package/dist/build/p-1b85b4f5.entry.js +0 -1
- package/dist/build/p-1be02ecd.entry.js +0 -1
- package/dist/build/p-1c6555d0.entry.js +0 -1
- package/dist/build/p-2a9e2f97.entry.js +0 -1
- package/dist/build/p-2c0ca302.entry.js +0 -1
- package/dist/build/p-2eb0963d.entry.js +0 -1
- package/dist/build/p-2ff08beb.entry.js +0 -1
- package/dist/build/p-31869c91.entry.js +0 -1
- package/dist/build/p-33c965ed.entry.js +0 -1
- package/dist/build/p-33fc3203.entry.js +0 -1
- package/dist/build/p-413e2751.entry.js +0 -1
- package/dist/build/p-4baa94c0.entry.js +0 -1
- package/dist/build/p-4cd9344a.entry.js +0 -1
- package/dist/build/p-5f2b2731.entry.js +0 -1
- package/dist/build/p-62f87c18.entry.js +0 -1
- package/dist/build/p-63ef1d8d.entry.js +0 -1
- package/dist/build/p-6412710a.entry.js +0 -1
- package/dist/build/p-6b1c18a6.entry.js +0 -1
- package/dist/build/p-748c6ed3.entry.js +0 -1
- package/dist/build/p-7be1c70d.entry.js +0 -1
- package/dist/build/p-7c4f3d89.entry.js +0 -1
- package/dist/build/p-8c1a3795.entry.js +0 -1
- package/dist/build/p-99522e10.entry.js +0 -1
- package/dist/build/p-aca48431.entry.js +0 -1
- package/dist/build/p-bcfbb856.entry.js +0 -1
- package/dist/build/p-d6958e7a.entry.js +0 -1
- package/dist/build/p-dbac42ad.entry.js +0 -1
- package/dist/build/p-df709c40.entry.js +0 -1
- package/dist/build/p-e00be7e7.entry.js +0 -1
- package/dist/build/p-e021a548.entry.js +0 -1
- package/dist/build/p-e2219fa7.entry.js +0 -1
- package/dist/build/p-ecc80c01.entry.js +0 -1
- package/dist/build/p-f13f7779.entry.js +0 -1
- package/dist/components/p-06SzeIsG.js +0 -1
- package/dist/components/p-2yaxaWU2.js +0 -1
- package/dist/components/p-48UlhVtz.js +0 -1
- package/dist/components/p-AkD55vN_.js +0 -1
- package/dist/components/p-B0rHem3C.js +0 -1
- package/dist/components/p-B9s4_6Vm.js +0 -1
- package/dist/components/p-BBAR0LE7.js +0 -1
- package/dist/components/p-BCddfleq.js +0 -1
- package/dist/components/p-BEu_Xlbv.js +0 -1
- package/dist/components/p-BaiRAcrb.js +0 -1
- package/dist/components/p-BmU3MAfH.js +0 -1
- package/dist/components/p-C16aqi4P.js +0 -1
- package/dist/components/p-CHER4MCx.js +0 -1
- package/dist/components/p-CcNA1hkp.js +0 -1
- package/dist/components/p-CpYDgn2m.js +0 -1
- package/dist/components/p-CrAZWi4n.js +0 -1
- package/dist/components/p-Cr_WB0kg.js +0 -1
- package/dist/components/p-Crasy6LB.js +0 -1
- package/dist/components/p-CxOhqNqH.js +0 -1
- package/dist/components/p-D5t-6wkl.js +0 -1
- package/dist/components/p-D8faiybE.js +0 -1
- package/dist/components/p-DDV-lx3_.js +0 -1
- package/dist/components/p-DP6H82uQ.js +0 -1
- package/dist/components/p-DR1auS78.js +0 -1
- package/dist/components/p-DWHcD5b-.js +0 -1
- package/dist/components/p-DlQumf-0.js +0 -1
- package/dist/components/p-DmzyuekN.js +0 -1
- package/dist/components/p-QJoR_dmN.js +0 -1
- package/dist/components/p-SYK2C-7G.js +0 -1
- package/dist/components/p-ShAy0ruV.js +0 -1
- package/dist/components/p-TfYQFmRD.js +0 -1
- package/dist/components/p-iLGr9rDU.js +0 -1
- package/dist/components/p-nGuULFe2.js +0 -1
- package/dist/components/p-qeQ4j6y4.js +0 -1
- package/dist/paperless/p-099fed2a.entry.js +0 -1
- package/dist/paperless/p-0b4b4cf7.entry.js +0 -1
- package/dist/paperless/p-102da1de.entry.js +0 -1
- package/dist/paperless/p-16c98151.entry.js +0 -1
- package/dist/paperless/p-187a4dda.entry.js +0 -1
- package/dist/paperless/p-1b85b4f5.entry.js +0 -1
- package/dist/paperless/p-1be02ecd.entry.js +0 -1
- package/dist/paperless/p-1c6555d0.entry.js +0 -1
- package/dist/paperless/p-2a9e2f97.entry.js +0 -1
- package/dist/paperless/p-2c0ca302.entry.js +0 -1
- package/dist/paperless/p-2eb0963d.entry.js +0 -1
- package/dist/paperless/p-2ff08beb.entry.js +0 -1
- package/dist/paperless/p-31869c91.entry.js +0 -1
- package/dist/paperless/p-33c965ed.entry.js +0 -1
- package/dist/paperless/p-33fc3203.entry.js +0 -1
- package/dist/paperless/p-413e2751.entry.js +0 -1
- package/dist/paperless/p-4baa94c0.entry.js +0 -1
- package/dist/paperless/p-4cd9344a.entry.js +0 -1
- package/dist/paperless/p-5f2b2731.entry.js +0 -1
- package/dist/paperless/p-62f87c18.entry.js +0 -1
- package/dist/paperless/p-63ef1d8d.entry.js +0 -1
- package/dist/paperless/p-6412710a.entry.js +0 -1
- package/dist/paperless/p-6b1c18a6.entry.js +0 -1
- package/dist/paperless/p-748c6ed3.entry.js +0 -1
- package/dist/paperless/p-7be1c70d.entry.js +0 -1
- package/dist/paperless/p-7c4f3d89.entry.js +0 -1
- package/dist/paperless/p-8c1a3795.entry.js +0 -1
- package/dist/paperless/p-99522e10.entry.js +0 -1
- package/dist/paperless/p-aca48431.entry.js +0 -1
- package/dist/paperless/p-bcfbb856.entry.js +0 -1
- package/dist/paperless/p-d6958e7a.entry.js +0 -1
- package/dist/paperless/p-dbac42ad.entry.js +0 -1
- package/dist/paperless/p-df709c40.entry.js +0 -1
- package/dist/paperless/p-e00be7e7.entry.js +0 -1
- package/dist/paperless/p-e021a548.entry.js +0 -1
- package/dist/paperless/p-e2219fa7.entry.js +0 -1
- package/dist/paperless/p-ecc80c01.entry.js +0 -1
- package/dist/paperless/p-f13f7779.entry.js +0 -1
|
@@ -158,24 +158,24 @@ const button = index$1.cva([
|
|
|
158
158
|
disabled: false,
|
|
159
159
|
error: false,
|
|
160
160
|
class: `
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
text-storm-500
|
|
162
|
+
dark:text-white
|
|
163
|
+
`,
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
variant: 'primary',
|
|
167
167
|
class: `
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
dark:border-0
|
|
169
|
+
dark:active:border-0
|
|
170
|
+
`,
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
variant: 'primary',
|
|
174
174
|
disabled: true,
|
|
175
175
|
class: `
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
bg-indigo-200
|
|
177
|
+
dark:bg-indigo-600/30 dark:text-white/30
|
|
178
|
+
`,
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
variant: 'primary',
|
|
@@ -188,14 +188,14 @@ const button = index$1.cva([
|
|
|
188
188
|
loading: false,
|
|
189
189
|
class: [
|
|
190
190
|
`
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
active:border-storm-500/10 active:text-white/60 active:ring-2
|
|
192
|
+
dark:active:ring-0
|
|
193
|
+
`,
|
|
194
194
|
`
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
195
|
+
drop-shadow-primary-button
|
|
196
|
+
hover:bg-indigo-700 hover:drop-shadow-2
|
|
197
|
+
active:ring-indigo-100
|
|
198
|
+
`,
|
|
199
199
|
],
|
|
200
200
|
},
|
|
201
201
|
{
|
|
@@ -216,17 +216,17 @@ const button = index$1.cva([
|
|
|
216
216
|
variant: ['secondary', 'dropdown'],
|
|
217
217
|
disabled: true,
|
|
218
218
|
class: `
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
219
|
+
border bg-white-600 text-storm-100
|
|
220
|
+
dark:border-white/5 dark:bg-white/5 dark:text-hurricane-400
|
|
221
|
+
`,
|
|
222
222
|
},
|
|
223
223
|
{
|
|
224
224
|
variant: ['secondary', 'dropdown'],
|
|
225
225
|
disabled: false,
|
|
226
226
|
class: `
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
227
|
+
text-storm-500
|
|
228
|
+
dark:text-white
|
|
229
|
+
`,
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
232
|
variant: ['secondary', 'dropdown'],
|
|
@@ -234,14 +234,14 @@ const button = index$1.cva([
|
|
|
234
234
|
loading: false,
|
|
235
235
|
class: [
|
|
236
236
|
`
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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
241
|
`
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
242
|
+
dark:hover:bg-white/25
|
|
243
|
+
dark:active:bg-white/25 dark:active:text-white/60 dark:active:ring-0
|
|
244
|
+
`,
|
|
245
245
|
],
|
|
246
246
|
},
|
|
247
247
|
{
|
|
@@ -268,9 +268,9 @@ const button = index$1.cva([
|
|
|
268
268
|
active: false,
|
|
269
269
|
class: [
|
|
270
270
|
`
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
271
|
+
border-storm-500/20
|
|
272
|
+
dark:border-transparent
|
|
273
|
+
`,
|
|
274
274
|
],
|
|
275
275
|
},
|
|
276
276
|
{
|
|
@@ -278,23 +278,23 @@ const button = index$1.cva([
|
|
|
278
278
|
error: true,
|
|
279
279
|
class: [
|
|
280
280
|
`
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
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
285
|
`
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
286
|
+
dark:border-negative-red-700 dark:text-negative-red-alternative
|
|
287
|
+
dark:ring-0
|
|
288
|
+
`,
|
|
289
289
|
],
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
292
|
variant: ['text', 'transparent'],
|
|
293
293
|
disabled: false,
|
|
294
294
|
class: `
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
text-indigo-700
|
|
296
|
+
hover:text-indigo-800
|
|
297
|
+
`,
|
|
298
298
|
},
|
|
299
299
|
{
|
|
300
300
|
variant: ['text', 'transparent'],
|
|
@@ -384,10 +384,10 @@ const icon$1 = index$1.cva([], {
|
|
|
384
384
|
active: false,
|
|
385
385
|
error: false,
|
|
386
386
|
class: `
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
387
|
+
text-indigo-300
|
|
388
|
+
group-hover/button:text-white
|
|
389
|
+
group-active/button:text-white/60
|
|
390
|
+
`,
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
393
|
variant: 'primary',
|
|
@@ -402,14 +402,14 @@ const icon$1 = index$1.cva([], {
|
|
|
402
402
|
error: false,
|
|
403
403
|
class: [
|
|
404
404
|
`
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
405
|
+
text-storm-300
|
|
406
|
+
group-hover/button:text-storm-500
|
|
407
|
+
group-active/button:text-storm-500/60
|
|
408
|
+
`,
|
|
409
409
|
`
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
410
|
+
dark:group-hover/button:text-white
|
|
411
|
+
dark:group-active/button:text-white/60
|
|
412
|
+
`,
|
|
413
413
|
],
|
|
414
414
|
},
|
|
415
415
|
{
|
|
@@ -434,29 +434,29 @@ const icon$1 = index$1.cva([], {
|
|
|
434
434
|
active: true,
|
|
435
435
|
error: false,
|
|
436
436
|
class: `
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
437
|
+
text-storm-500/60
|
|
438
|
+
dark:text-white/60
|
|
439
|
+
`,
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
442
|
variant: ['transparent', 'text'],
|
|
443
443
|
disabled: false,
|
|
444
444
|
active: false,
|
|
445
445
|
class: `
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
446
|
+
text-indigo-500
|
|
447
|
+
group-hover/button:text-indigo-700
|
|
448
|
+
group-active/button:text-indigo-800
|
|
449
|
+
`,
|
|
450
450
|
},
|
|
451
451
|
{
|
|
452
452
|
variant: ['secondary', 'dropdown'],
|
|
453
453
|
active: false,
|
|
454
454
|
error: true,
|
|
455
455
|
class: `
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
456
|
+
text-negative-red-500
|
|
457
|
+
group-hover/button:text-negative-red-800
|
|
458
|
+
dark:text-negative-red-alternative
|
|
459
|
+
`,
|
|
460
460
|
},
|
|
461
461
|
{
|
|
462
462
|
variant: ['secondary', 'dropdown'],
|
|
@@ -591,7 +591,7 @@ const Button = class {
|
|
|
591
591
|
: 'button';
|
|
592
592
|
const hostClass = cn.cn('p-button inline-block', this.class);
|
|
593
593
|
const active = asBoolean.asBoolean(this.active) || hostClass?.includes('active');
|
|
594
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
594
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'c0fe856fcd5ab189c559abf555a4a21da109f7c1', class: hostClass }, index.h(VariableTag, { key: '8aac63ae1180877e1353bf4c07fcc7316d51c486', class: button({
|
|
595
595
|
variant: this.variant,
|
|
596
596
|
size: this.size,
|
|
597
597
|
loading: asBoolean.asBoolean(this.loading),
|
|
@@ -601,14 +601,14 @@ const Button = class {
|
|
|
601
601
|
active,
|
|
602
602
|
error: asBoolean.asBoolean(this.error),
|
|
603
603
|
underline: asBoolean.asBoolean(this.underline) && VariableTag === 'a',
|
|
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: '
|
|
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: '5c421fb3f9870651653785d0e2122679d62d0a7b', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.icon &&
|
|
605
605
|
this.iconPosition === 'start' &&
|
|
606
606
|
!(this.iconOnly && this.loading) &&
|
|
607
|
-
this._getIcon(), this.label ?? index.h("slot", { key: '
|
|
607
|
+
this._getIcon(), this.label ?? index.h("slot", { key: '2094a7c2cc5723121825f12c5d39e25c36a963a7' }), this.icon &&
|
|
608
608
|
this.iconPosition === 'end' &&
|
|
609
609
|
!this.loading &&
|
|
610
610
|
!this.chevron &&
|
|
611
|
-
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: 'ff2e2cf61ec457c79199bc3fee6eaf45e661e1b0', rotate: this.chevron === 'up' ? 180 : 0, variant: 'caret' })), this.loading && index.h("p-loader", { key: '6865b26534efb4d475a725b41afb046b42817087', color: loaderColor }))));
|
|
612
612
|
}
|
|
613
613
|
handleClick(ev) {
|
|
614
614
|
if (this.loading || this.disabled) {
|
|
@@ -749,16 +749,16 @@ const Loader = class {
|
|
|
749
749
|
return (index.h(themedHost_component.ThemedHost, { class: 'variant-ghost min-h-4 min-w-4 rounded-2xl' }));
|
|
750
750
|
}
|
|
751
751
|
const loader = (index.h("div", { class: `
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
752
|
+
loader
|
|
753
|
+
color-${this.color}
|
|
754
|
+
` }));
|
|
755
755
|
if (this.variant === 'full-screen') {
|
|
756
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)))));
|
|
757
757
|
}
|
|
758
758
|
return (index.h(themedHost_component.ThemedHost, { class: `
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
759
|
+
variant-default flex
|
|
760
|
+
${this.variant === 'full-width' && 'w-full justify-center text-4xl'}
|
|
761
|
+
` }, loader));
|
|
762
762
|
}
|
|
763
763
|
_checkShow() {
|
|
764
764
|
if (this._showSubscriber) {
|
|
@@ -22,9 +22,9 @@ const header = index$1.cva([
|
|
|
22
22
|
'flex items-center gap-2',
|
|
23
23
|
'w-full rounded-lg p-2',
|
|
24
24
|
`
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
bg-off-white-300
|
|
26
|
+
dark:bg-white/15
|
|
27
|
+
`,
|
|
28
28
|
], {
|
|
29
29
|
variants: {
|
|
30
30
|
type: {
|
|
@@ -198,7 +198,7 @@ const Calendar = class {
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
render() {
|
|
201
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
201
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'c84fae4629bc69e0cb42c7fcaa37237d3244509e' }, index.h("div", { key: 'e2759c9e4f9857534b2c050c09ae7e7319f073ad', class: calendar({ variant: this.variant }) }, this._getView())));
|
|
202
202
|
}
|
|
203
203
|
_checkTodayButton() {
|
|
204
204
|
if (this._maxDate && locale.dateFnsExports.isAfter(this._today, this._maxDate)) {
|
|
@@ -232,13 +232,13 @@ const Calendar = class {
|
|
|
232
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', {
|
|
233
233
|
locale: state.state.locale === 'nl' ? locale.localeExports.nl : locale.localeExports.enUS,
|
|
234
234
|
})))), daysInMonth.map(day => day.active ? (index.h("p-button", { class: cn.cn('w-8', `
|
|
235
|
-
|
|
236
|
-
|
|
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', {
|
|
237
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,
|
|
238
238
|
'dark:text-hurricane-200': day.disabled,
|
|
239
239
|
}, `
|
|
240
|
-
|
|
241
|
-
|
|
240
|
+
col-start-${day.offset}
|
|
241
|
+
`, { 'cursor-not-allowed opacity-60': day.disabled }, {
|
|
242
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()),
|
|
243
243
|
}), onClick: () => this._setValue(day.date) }, day.day))))));
|
|
244
244
|
}
|
|
@@ -32,20 +32,20 @@ const container = index$1.cva(['flex h-inherit w-inherit flex-col transition', '
|
|
|
32
32
|
variants: {
|
|
33
33
|
variant: {
|
|
34
34
|
default: `
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
border-off-white-700
|
|
36
|
+
dark:border-white/15
|
|
37
|
+
`,
|
|
38
38
|
error: `
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
border-negative-red-500 ring-2 ring-negative-red-50
|
|
40
|
+
dark:border-negative-red-alternative dark:ring-0
|
|
41
|
+
`,
|
|
42
42
|
},
|
|
43
43
|
hoverable: {
|
|
44
44
|
true: `
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
cursor-pointer
|
|
46
|
+
hover:bg-off-white-200
|
|
47
|
+
dark:hover:bg-hurricane-500
|
|
48
|
+
`,
|
|
49
49
|
false: null,
|
|
50
50
|
},
|
|
51
51
|
shadow: {
|
|
@@ -105,13 +105,13 @@ const CardContainer = class {
|
|
|
105
105
|
*/
|
|
106
106
|
border = true;
|
|
107
107
|
render() {
|
|
108
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
108
|
+
return (index.h(themedHost_component.ThemedHost, { key: '6e47bc83ce6f9270b986ed3fb90821dd427f138a' }, index.h("div", { key: 'acaa937956a3ad8331065f40e2195ce93af454c3', class: cn.cn(container({
|
|
109
109
|
variant: this.variant,
|
|
110
110
|
active: asBoolean.asBoolean(this.active, false),
|
|
111
111
|
hoverable: asBoolean.asBoolean(this.hoverable, false),
|
|
112
112
|
shadow: asBoolean.asBoolean(this.shadow, true),
|
|
113
113
|
border: asBoolean.asBoolean(this.border),
|
|
114
|
-
}), this.bgClass) }, index.h("slot", { key: '
|
|
114
|
+
}), this.bgClass) }, index.h("slot", { key: 'cb1616206de845ac1058c4b9b845cca78a497d13' }))));
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
117
|
CardContainer.style = cardContainerComponentCss();
|
|
@@ -7,7 +7,7 @@ var asBoolean = require('./as-boolean-C1PzA22I.js');
|
|
|
7
7
|
require('./clsx-BtxeOLZW.js');
|
|
8
8
|
require('./state-DM8SZBNO.js');
|
|
9
9
|
|
|
10
|
-
const cardHeaderComponentCss = () => `*{box-sizing:border-box}.
|
|
10
|
+
const cardHeaderComponentCss = () => `*{box-sizing:border-box}.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}.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-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/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-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))}`;
|
|
11
11
|
|
|
12
12
|
const header = index$1.cva(`relative z-[1] inline-flex w-full flex-col justify-start rounded-t-2xl`, {
|
|
13
13
|
variants: {
|
|
@@ -26,9 +26,9 @@ const content = index$1.cva('flex items-center gap-2', {
|
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
const title = index$1.cva(`
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
flex h-8 min-w-0 items-center gap-2 text-sm font-bold text-storm-500
|
|
30
|
+
dark:text-white
|
|
31
|
+
`);
|
|
32
32
|
const CardHeader = class {
|
|
33
33
|
constructor(hostRef) {
|
|
34
34
|
index.registerInstance(this, hostRef);
|
|
@@ -58,11 +58,11 @@ const CardHeader = class {
|
|
|
58
58
|
*/
|
|
59
59
|
divider = true;
|
|
60
60
|
render() {
|
|
61
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
61
|
+
return (index.h(themedHost_component.ThemedHost, { key: '2f1d463def5beee0bca1dedb8268beca9c848aea' }, index.h("div", { key: 'd935951b69bbbc936598d06077d5fee6d64ad763', class: header({
|
|
62
62
|
variant: this.variant,
|
|
63
|
-
}) }, index.h("div", { key: '
|
|
63
|
+
}) }, index.h("div", { key: '73a028be1e2823a87dc407644f18fdd983ff693e', class: content({
|
|
64
64
|
variant: this.variant,
|
|
65
|
-
}) }, this.icon ? (index.h("p-icon", { class: '\n
|
|
65
|
+
}) }, this.icon ? (index.h("p-icon", { class: '\n\t\t\t\t\t\t\t\t\ttext-storm-300\n\t\t\t\t\t\t\t\t\tdark:text-hurricane-200\n\t\t\t\t\t\t\t\t', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })) : (index.h("slot", { name: 'prefix' })), index.h("div", { key: 'ae9241bb0455d27949e947fde3f13e184e941b45', class: title() }, index.h("span", { key: 'edc4c94b15a40d486478c32cdec25d098739c824', class: 'max-w-full overflow-hidden text-ellipsis' }, this.header?.length ? this.header : index.h("slot", null)), index.h("slot", { key: 'a800e0460999f84e764cbe88007e621c5e988468', name: 'content-suffix' })), index.h("div", { key: '0ebfba83651ea94e5a7c7aed75706c9f5942fea0', class: '\n\t\t\t\t\t\t\t\tml-auto flex items-center justify-end gap-4\n\t\t\t\t\t\t\t\tempty:hidden\n\t\t\t\t\t\t\t' }, index.h("slot", { key: 'f3f1ec261161666bee40904a1cc6d07d57d5ccf2', name: 'suffix' }))), this.variant === 'default' ? (asBoolean.asBoolean(this.divider) && (index.h("p-divider", { class: '\n\t\t\t\t\t\t\t\t\ttext-off-white-700\n\t\t\t\t\t\t\t\t\tdark:text-white/15\n\t\t\t\t\t\t\t\t' }))) : (index.h("div", { class: '\n\t\t\t\t\t\t\t\tpointer-events-none absolute left-0 top-0 z-[-1] h-full w-full\n\t\t\t\t\t\t\t\toverflow-hidden rounded-t-2xl\n\t\t\t\t\t\t\t' }, index.h("p-smile", { class: 'dark:text-hurricane-400', variant: 'card' }))))));
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
CardHeader.style = cardHeaderComponentCss();
|
|
@@ -11,7 +11,7 @@ var cn = require('./cn-Cd68UVBT.js');
|
|
|
11
11
|
require('./clsx-BtxeOLZW.js');
|
|
12
12
|
require('./state-DM8SZBNO.js');
|
|
13
13
|
|
|
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-
|
|
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-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))}.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\\: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\\: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
17
|
'peer m-0 flex-shrink-0 appearance-none outline-none',
|
|
@@ -23,60 +23,60 @@ const checkbox = index$1.cva([
|
|
|
23
23
|
false: [
|
|
24
24
|
'cursor-pointer shadow-1',
|
|
25
25
|
`
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
border-storm-100 bg-white
|
|
27
|
+
dark:border-white/15 dark:bg-white/10
|
|
28
|
+
`,
|
|
29
29
|
`
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
hover:border-storm-500/20 hover:bg-indigo-100
|
|
31
|
+
dark:hover:border-white/15 dark:hover:bg-white/20
|
|
32
|
+
`,
|
|
33
33
|
`
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
group-hover/checkbox-label:border-storm-100
|
|
35
|
+
group-hover/checkbox-label:bg-indigo-100
|
|
36
|
+
`,
|
|
37
37
|
'checked:border-storm-500/20 checked:bg-indigo-600',
|
|
38
38
|
`
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
checked:ring-2 checked:ring-indigo-100
|
|
40
|
+
dark:checked:ring-0
|
|
41
|
+
`,
|
|
42
42
|
'checked:hover:border-storm-500/20 checked:hover:bg-indigo-700',
|
|
43
43
|
`
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
checked:group-hover/checkbox-label:border-storm-500/20
|
|
45
|
+
checked:group-hover/checkbox-label:bg-indigo-700
|
|
46
|
+
`,
|
|
47
47
|
'indeterminate:border-storm-500/20 indeterminate:bg-indigo-600',
|
|
48
48
|
'indeterminate:ring-2 indeterminate:ring-indigo-100',
|
|
49
49
|
'indeterminate:hover:border-storm-500/20 indeterminate:hover:bg-indigo-700',
|
|
50
50
|
`
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
indeterminate:group-hover/checkbox-label:border-storm-500/20
|
|
52
|
+
indeterminate:group-hover/checkbox-label:bg-indigo-700
|
|
53
|
+
`,
|
|
54
54
|
],
|
|
55
55
|
true: `
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
cursor-not-allowed border-storm-50 bg-white-600
|
|
57
|
+
dark:border-white/10 dark:bg-white/5
|
|
58
|
+
`,
|
|
59
59
|
},
|
|
60
60
|
},
|
|
61
61
|
});
|
|
62
62
|
const iconContainer = index$1.cva([
|
|
63
63
|
`
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
hidden
|
|
65
|
+
peer-checked:flex
|
|
66
|
+
peer-indeterminate:flex
|
|
67
|
+
`,
|
|
68
68
|
`
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2
|
|
70
|
+
-translate-y-1/2 transform
|
|
71
|
+
`,
|
|
72
72
|
], {
|
|
73
73
|
variants: {
|
|
74
74
|
disabled: {
|
|
75
75
|
false: 'text-white',
|
|
76
76
|
true: `
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
text-storm-200
|
|
78
|
+
dark:text-hurricane-300
|
|
79
|
+
`,
|
|
80
80
|
},
|
|
81
81
|
},
|
|
82
82
|
});
|
|
@@ -84,9 +84,9 @@ const icon = index$1.cva(['text-xs drop-shadow-2'], {
|
|
|
84
84
|
variants: {
|
|
85
85
|
disabled: {
|
|
86
86
|
false: `
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
group-hover/checkbox-label:text-sm
|
|
88
|
+
group-hover/p-checkbox:text-sm
|
|
89
|
+
`,
|
|
90
90
|
true: null,
|
|
91
91
|
},
|
|
92
92
|
},
|
|
@@ -150,13 +150,13 @@ const Checkbox = class {
|
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
152
|
const id = this.id?.length ? this.id : this._nonce;
|
|
153
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
153
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'ced229384332564e29d8e2ef2df935390ad4bd9a' }, index.h("label", { key: 'fa522037763fa9a12eaa41ebf3f2de5d18212f80', class: 'group/p-checkbox flex items-center justify-start gap-2', htmlFor: id }, index.h("div", { key: '8c8c8d98a4a767bb63e4fd5f3a1f4fedc81577db', class: 'relative flex flex-shrink-0 items-center' }, index.h("input", { key: '68f5db97ca942cb1389aa7a2a6262edcfabe766b', checked: asBoolean.asBoolean(this.checked), class: checkbox({
|
|
154
154
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
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: '
|
|
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: '6f70ede514df866cf909544ba87fdece7f87366b', class: iconContainer({
|
|
156
156
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
157
|
-
}) }, index.h("p-icon", { key: '
|
|
157
|
+
}) }, index.h("p-icon", { key: 'b34d44fa500a498642a71e498003981b9d4aa49b', class: icon({
|
|
158
158
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
159
|
-
}), 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: '2cdd932856d8591a5cee955aaa59a872cc7a562c', class: '\n\t\t\t\t\t\t\tflex-1 overflow-hidden text-ellipsis\n\t\t\t\t\t\t\tempty:hidden\n\t\t\t\t\t\t\tdark:text-white\n\t\t\t\t\t\t' }, index.h("slot", { key: '88ef349041902955d46e0a54ff32f1ad5c48053b' })))));
|
|
160
160
|
}
|
|
161
161
|
_onChange(ev) {
|
|
162
162
|
if (this.disabled) {
|
|
@@ -53,19 +53,19 @@ const ContentSlider = class {
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (index.h(index.Host, { key: 'ced2d428e5bb5831898a3092ea2f0d7b9802ef02', class: 'p-content-slider' }, index.h("div", { key: '
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
return (index.h(index.Host, { key: 'ced2d428e5bb5831898a3092ea2f0d7b9802ef02', class: 'p-content-slider' }, index.h("div", { key: '3ca653a9fa8645adf7c72d163c8af0b7824b01f6', class: `
|
|
57
|
+
slider
|
|
58
|
+
${!this.disableDrag && 'draggable'}
|
|
59
|
+
${this._dragging && 'dragging'}
|
|
60
|
+
`, ref: el => (this._sliderRef = el), style: {
|
|
61
61
|
height: `${this._outerHeight}px`,
|
|
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: '
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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: '0851691fb6ac28cf5de7ec52f5825fefb806dd90', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, index.h("slot", { key: '3ad03b0e3026b57af0421db764aec45e7bd8de2e', onSlotchange: () => this._slotChange() }))), index.h("div", { key: 'fef7a983d1618ed3aabe65a768df7be78ad69b44', 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', {
|
|
69
69
|
'bg-indigo-600': i === this._visibleIndex,
|
|
70
70
|
'bg-indigo-300': i !== this._visibleIndex,
|
|
71
71
|
}) })))))));
|