@paperless/core 3.4.1 → 3.4.2
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-099fed2a.entry.js +1 -0
- package/dist/build/p-0b4b4cf7.entry.js +1 -0
- package/dist/build/p-102da1de.entry.js +1 -0
- package/dist/build/p-16c98151.entry.js +1 -0
- package/dist/build/p-187a4dda.entry.js +1 -0
- package/dist/build/p-1b85b4f5.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-2a9e2f97.entry.js +1 -0
- package/dist/build/p-2c0ca302.entry.js +1 -0
- package/dist/build/p-2eb0963d.entry.js +1 -0
- package/dist/{paperless/p-c96befa1.entry.js → build/p-2f9a3144.entry.js} +2 -2
- package/dist/build/p-31869c91.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-413e2751.entry.js +1 -0
- package/dist/build/p-4baa94c0.entry.js +1 -0
- package/dist/build/p-4cd9344a.entry.js +1 -0
- package/dist/build/p-5f2b2731.entry.js +1 -0
- package/dist/build/p-62f87c18.entry.js +1 -0
- package/dist/build/p-63ef1d8d.entry.js +1 -0
- package/dist/build/p-6412710a.entry.js +1 -0
- package/dist/build/p-6b1c18a6.entry.js +1 -0
- package/dist/build/p-748c6ed3.entry.js +1 -0
- package/dist/build/p-7be1c70d.entry.js +1 -0
- package/dist/build/p-7c4f3d89.entry.js +1 -0
- package/dist/build/p-8c1a3795.entry.js +1 -0
- package/dist/build/p-8e7069b0.entry.js +1 -0
- package/dist/build/p-99522e10.entry.js +1 -0
- package/dist/build/p-aca48431.entry.js +1 -0
- package/dist/build/p-bcfbb856.entry.js +1 -0
- package/dist/build/{p-2416d737.js → p-c875a76d.js} +1 -1
- package/dist/build/p-d6958e7a.entry.js +1 -0
- package/dist/build/p-dbac42ad.entry.js +1 -0
- package/dist/build/p-df709c40.entry.js +1 -0
- package/dist/build/p-e00be7e7.entry.js +1 -0
- package/dist/build/p-e021a548.entry.js +1 -0
- package/dist/build/p-e2219fa7.entry.js +1 -0
- package/dist/build/p-ecc80c01.entry.js +1 -0
- package/dist/build/p-f13f7779.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 +16 -15
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +77 -77
- package/dist/cjs/p-empty-state_8.cjs.entry.js +56 -54
- 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 +12 -11
- 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 +15 -15
- 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 +9 -8
- 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 +12 -11
- 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 +14 -14
- 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 +24 -22
- 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-06SzeIsG.js +1 -0
- package/dist/components/p-2yaxaWU2.js +1 -0
- package/dist/components/p-48UlhVtz.js +1 -0
- package/dist/components/p-AkD55vN_.js +1 -0
- package/dist/components/{p-BfGdPBSg.js → p-B-BsxOeK.js} +1 -1
- package/dist/components/p-B0rHem3C.js +1 -0
- package/dist/components/p-B9s4_6Vm.js +1 -0
- package/dist/components/p-BBAR0LE7.js +1 -0
- package/dist/components/p-BCddfleq.js +1 -0
- package/dist/components/{p-B4eE9yEE.js → p-BEhC6raw.js} +1 -1
- package/dist/components/p-BEu_Xlbv.js +1 -0
- package/dist/components/p-BaiRAcrb.js +1 -0
- package/dist/components/p-BmU3MAfH.js +1 -0
- package/dist/components/p-C16aqi4P.js +1 -0
- package/dist/components/p-CHER4MCx.js +1 -0
- package/dist/components/p-CcNA1hkp.js +1 -0
- package/dist/components/p-CpYDgn2m.js +1 -0
- package/dist/components/p-CrAZWi4n.js +1 -0
- package/dist/components/p-Cr_WB0kg.js +1 -0
- package/dist/components/p-Crasy6LB.js +1 -0
- package/dist/components/p-CxOhqNqH.js +1 -0
- package/dist/components/p-D5t-6wkl.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-DR1auS78.js +1 -0
- package/dist/components/{p-CDu0amfB.js → p-DT72kk3I.js} +1 -1
- package/dist/components/p-DWHcD5b-.js +1 -0
- package/dist/components/p-DlQumf-0.js +1 -0
- package/dist/components/p-DmzyuekN.js +1 -0
- package/dist/components/p-QJoR_dmN.js +1 -0
- package/dist/components/p-SYK2C-7G.js +1 -0
- package/dist/components/p-ShAy0ruV.js +1 -0
- package/dist/components/p-TfYQFmRD.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-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-nGuULFe2.js +1 -0
- 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-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 +16 -15
- package/dist/esm/p-dropdown-menu-item_2.entry.js +77 -77
- package/dist/esm/p-empty-state_8.entry.js +56 -54
- 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 +12 -11
- 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 +15 -15
- 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-099fed2a.entry.js +1 -0
- package/dist/paperless/p-0b4b4cf7.entry.js +1 -0
- package/dist/paperless/p-102da1de.entry.js +1 -0
- package/dist/paperless/p-16c98151.entry.js +1 -0
- package/dist/paperless/p-187a4dda.entry.js +1 -0
- package/dist/paperless/p-1b85b4f5.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-2a9e2f97.entry.js +1 -0
- package/dist/paperless/p-2c0ca302.entry.js +1 -0
- package/dist/paperless/p-2eb0963d.entry.js +1 -0
- package/dist/{build/p-c96befa1.entry.js → paperless/p-2f9a3144.entry.js} +2 -2
- package/dist/paperless/p-31869c91.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-413e2751.entry.js +1 -0
- package/dist/paperless/p-4baa94c0.entry.js +1 -0
- package/dist/paperless/p-4cd9344a.entry.js +1 -0
- package/dist/paperless/p-5f2b2731.entry.js +1 -0
- package/dist/paperless/p-62f87c18.entry.js +1 -0
- package/dist/paperless/p-63ef1d8d.entry.js +1 -0
- package/dist/paperless/p-6412710a.entry.js +1 -0
- package/dist/paperless/p-6b1c18a6.entry.js +1 -0
- package/dist/paperless/p-748c6ed3.entry.js +1 -0
- package/dist/paperless/p-7be1c70d.entry.js +1 -0
- package/dist/paperless/p-7c4f3d89.entry.js +1 -0
- package/dist/paperless/p-8c1a3795.entry.js +1 -0
- package/dist/paperless/p-8e7069b0.entry.js +1 -0
- package/dist/paperless/p-99522e10.entry.js +1 -0
- package/dist/paperless/p-aca48431.entry.js +1 -0
- package/dist/paperless/p-bcfbb856.entry.js +1 -0
- package/dist/paperless/p-d6958e7a.entry.js +1 -0
- package/dist/paperless/p-dbac42ad.entry.js +1 -0
- package/dist/paperless/p-df709c40.entry.js +1 -0
- package/dist/paperless/p-e00be7e7.entry.js +1 -0
- package/dist/paperless/p-e021a548.entry.js +1 -0
- package/dist/paperless/p-e2219fa7.entry.js +1 -0
- package/dist/paperless/p-ecc80c01.entry.js +1 -0
- package/dist/paperless/p-f13f7779.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 +751 -747
- package/hydrate/index.mjs +751 -747
- package/package.json +1 -1
- package/dist/build/p-0686342c.entry.js +0 -1
- package/dist/build/p-0fe16faa.entry.js +0 -1
- package/dist/build/p-17c4c0c5.entry.js +0 -1
- package/dist/build/p-3d756173.entry.js +0 -1
- package/dist/build/p-4cff56e8.entry.js +0 -1
- package/dist/build/p-4d137a6e.entry.js +0 -1
- package/dist/build/p-5770dbc8.entry.js +0 -1
- package/dist/build/p-5831f1c7.entry.js +0 -1
- package/dist/build/p-58b45104.entry.js +0 -1
- package/dist/build/p-5d0011d0.entry.js +0 -1
- package/dist/build/p-5eba855f.entry.js +0 -1
- package/dist/build/p-6ba2d6db.entry.js +0 -1
- package/dist/build/p-6e4149f4.entry.js +0 -1
- package/dist/build/p-725b81df.entry.js +0 -1
- package/dist/build/p-79648998.entry.js +0 -1
- package/dist/build/p-7c4a912a.entry.js +0 -1
- package/dist/build/p-7d972093.entry.js +0 -1
- package/dist/build/p-7dbbee4d.entry.js +0 -1
- package/dist/build/p-8b383bce.entry.js +0 -1
- package/dist/build/p-8b7970c3.entry.js +0 -1
- package/dist/build/p-8c62ce07.entry.js +0 -1
- package/dist/build/p-90837322.entry.js +0 -1
- package/dist/build/p-90ae5ad7.entry.js +0 -1
- package/dist/build/p-93dcdeda.entry.js +0 -1
- package/dist/build/p-a2826b34.entry.js +0 -1
- package/dist/build/p-a7d84ee9.entry.js +0 -1
- package/dist/build/p-ad4bf0a8.entry.js +0 -1
- package/dist/build/p-aebdd434.entry.js +0 -1
- package/dist/build/p-aed1fd15.entry.js +0 -1
- package/dist/build/p-baa9f32b.entry.js +0 -1
- package/dist/build/p-c465f763.entry.js +0 -1
- package/dist/build/p-c5120c4d.entry.js +0 -1
- package/dist/build/p-c6d53712.entry.js +0 -1
- package/dist/build/p-c795bde9.entry.js +0 -1
- package/dist/build/p-ce369eb2.entry.js +0 -1
- package/dist/build/p-ce822727.entry.js +0 -1
- package/dist/build/p-e17c452a.entry.js +0 -1
- package/dist/build/p-eb201a9b.entry.js +0 -1
- package/dist/components/p-5uHCPmGk.js +0 -1
- package/dist/components/p-BHiyb8ip.js +0 -1
- package/dist/components/p-BNP0EWBh.js +0 -1
- package/dist/components/p-Bda4K1Yk.js +0 -1
- package/dist/components/p-BeSy-okV.js +0 -1
- package/dist/components/p-Bs0UbjiW.js +0 -1
- package/dist/components/p-C31KuY0d.js +0 -1
- package/dist/components/p-C7N1zgx3.js +0 -1
- package/dist/components/p-CE8E8FBm.js +0 -1
- package/dist/components/p-CJJ1D4_g.js +0 -1
- package/dist/components/p-CQvBODGb.js +0 -1
- package/dist/components/p-CTO6yoKa.js +0 -1
- package/dist/components/p-Cb4CJncP.js +0 -1
- package/dist/components/p-CeTgyWQk.js +0 -1
- package/dist/components/p-Cfo-JRkk.js +0 -1
- package/dist/components/p-Chn3zUDI.js +0 -1
- package/dist/components/p-Cjm1FJmm.js +0 -1
- package/dist/components/p-Cs7yJK6D.js +0 -1
- package/dist/components/p-Cu6GBVmu.js +0 -1
- package/dist/components/p-CunBMmUT.js +0 -1
- package/dist/components/p-CxCtRzMh.js +0 -1
- package/dist/components/p-CyNjpuPx.js +0 -1
- package/dist/components/p-DIyH3jA1.js +0 -1
- package/dist/components/p-DeBYujHG.js +0 -1
- package/dist/components/p-DetQXQMw.js +0 -1
- package/dist/components/p-Dgla_G75.js +0 -1
- package/dist/components/p-DozUOKTG.js +0 -1
- package/dist/components/p-Fr1e2Ydf.js +0 -1
- package/dist/components/p-TRbYWjl9.js +0 -1
- package/dist/components/p-Tct8krSb.js +0 -1
- package/dist/components/p-UHCQc1G8.js +0 -1
- package/dist/components/p-YSzGS0Cj.js +0 -1
- package/dist/components/p-_KqQOKJS.js +0 -1
- package/dist/components/p-ezohBi3D.js +0 -1
- package/dist/paperless/p-0686342c.entry.js +0 -1
- package/dist/paperless/p-0fe16faa.entry.js +0 -1
- package/dist/paperless/p-17c4c0c5.entry.js +0 -1
- package/dist/paperless/p-3d756173.entry.js +0 -1
- package/dist/paperless/p-4cff56e8.entry.js +0 -1
- package/dist/paperless/p-4d137a6e.entry.js +0 -1
- package/dist/paperless/p-5770dbc8.entry.js +0 -1
- package/dist/paperless/p-5831f1c7.entry.js +0 -1
- package/dist/paperless/p-58b45104.entry.js +0 -1
- package/dist/paperless/p-5d0011d0.entry.js +0 -1
- package/dist/paperless/p-5eba855f.entry.js +0 -1
- package/dist/paperless/p-6ba2d6db.entry.js +0 -1
- package/dist/paperless/p-6e4149f4.entry.js +0 -1
- package/dist/paperless/p-725b81df.entry.js +0 -1
- package/dist/paperless/p-79648998.entry.js +0 -1
- package/dist/paperless/p-7c4a912a.entry.js +0 -1
- package/dist/paperless/p-7d972093.entry.js +0 -1
- package/dist/paperless/p-7dbbee4d.entry.js +0 -1
- package/dist/paperless/p-8b383bce.entry.js +0 -1
- package/dist/paperless/p-8b7970c3.entry.js +0 -1
- package/dist/paperless/p-8c62ce07.entry.js +0 -1
- package/dist/paperless/p-90837322.entry.js +0 -1
- package/dist/paperless/p-90ae5ad7.entry.js +0 -1
- package/dist/paperless/p-93dcdeda.entry.js +0 -1
- package/dist/paperless/p-a2826b34.entry.js +0 -1
- package/dist/paperless/p-a7d84ee9.entry.js +0 -1
- package/dist/paperless/p-ad4bf0a8.entry.js +0 -1
- package/dist/paperless/p-aebdd434.entry.js +0 -1
- package/dist/paperless/p-aed1fd15.entry.js +0 -1
- package/dist/paperless/p-baa9f32b.entry.js +0 -1
- package/dist/paperless/p-c465f763.entry.js +0 -1
- package/dist/paperless/p-c5120c4d.entry.js +0 -1
- package/dist/paperless/p-c6d53712.entry.js +0 -1
- package/dist/paperless/p-c795bde9.entry.js +0 -1
- package/dist/paperless/p-ce369eb2.entry.js +0 -1
- package/dist/paperless/p-ce822727.entry.js +0 -1
- package/dist/paperless/p-e17c452a.entry.js +0 -1
- package/dist/paperless/p-eb201a9b.entry.js +0 -1
|
@@ -10,7 +10,7 @@ import { P as PAGINATION_DEFAULT_PAGE_SIZE, a as PAGINATION_DEFAULT_PAGE_SIZE_OP
|
|
|
10
10
|
import './clsx-ChV9xqsO.js';
|
|
11
11
|
import './state-BJbOyUuL.js';
|
|
12
12
|
|
|
13
|
-
const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/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))}`;
|
|
13
|
+
const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/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))}.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\\: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))}`;
|
|
14
14
|
|
|
15
15
|
const emptyState = cva(['flex w-full max-w-[20rem] flex-col items-center justify-start'], {
|
|
16
16
|
variants: {
|
|
@@ -74,7 +74,7 @@ const EmptyState = class {
|
|
|
74
74
|
enableAction: asBoolean(this.enableAction, true),
|
|
75
75
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
76
76
|
? this.action.emit(ev)
|
|
77
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '2d95c6f7761f817b2bf4968118e7ac5dc6d62abe', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: '\n
|
|
77
|
+
: undefined }, this.illustration && (h("p-illustration", { key: '2d95c6f7761f817b2bf4968118e7ac5dc6d62abe', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
|
|
78
78
|
(hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -154,7 +154,7 @@ const FloatingMenuContainer = class {
|
|
|
154
154
|
};
|
|
155
155
|
FloatingMenuContainer.style = floatingMenuContainerComponentCss();
|
|
156
156
|
|
|
157
|
-
const tableCellComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.table{display:table}.table-cell{display:table-cell}.hidden{display:none}.h-6{height:1.5rem}.w-1\\/12{width:8.333333%}.w-10\\/12{width:83.333333%}.w-11\\/12{width:91.666667%}.w-2\\/12{width:16.666667%}.w-3\\/12{width:25%}.w-4\\/12{width:33.333333%}.w-5\\/12{width:41.666667%}.w-6\\/12{width:50%}.w-7\\/12{width:58.333333%}.w-9\\/12{width:75%}.w-\\[calc\\(100\\%-1rem\\)\\]{width:calc(100% - 1rem)}.flex-1{flex:1 1 0%}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded{border-radius:.25rem}.pl-8{padding-left:2rem}.pr-4{padding-right:1rem}.text-center{text-align:center}.text-start{text-align:start}.text-end{text-align:end}.font-semibold{font-weight:600}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .group-hover\\:hidden{display:none}@media (min-width:40rem){.tablet\\:hidden{display:none}.tablet\\:w-1\\/12{width:8.333333%}.tablet\\:w-10\\/12{width:83.333333%}.tablet\\:w-11\\/12{width:91.666667%}.tablet\\:w-2\\/12{width:16.666667%}.tablet\\:w-4\\/12{width:33.333333%}.tablet\\:w-5\\/12{width:41.666667%}.tablet\\:w-6\\/12{width:50%}.tablet\\:w-7\\/12{width:58.333333%}.tablet\\:w-9\\/12{width:75%}.tablet\\:pr-0{padding-right:0}.tablet\\:pr-4{padding-right:1rem}.group:hover .tablet\\:group-hover\\:hidden{display:none}}@media (min-width:64rem){.desktop-xs\\:hidden{display:none}.desktop-xs\\:w-1\\/12{width:8.333333%}.desktop-xs\\:w-10\\/12{width:83.333333%}.desktop-xs\\:w-2\\/12{width:16.666667%}.desktop-xs\\:w-3\\/12{width:25%}.desktop-xs\\:w-4\\/12{width:33.333333%}.desktop-xs\\:w-6\\/12{width:50%}.desktop-xs\\:w-7\\/12{width:58.333333%}.desktop-xs\\:w-8\\/12{width:66.666667%}.desktop-xs\\:pr-0{padding-right:0}.desktop-xs\\:pr-4{padding-right:1rem}.group:hover .desktop-xs\\:group-hover\\:hidden{display:none}}@media (min-width:80rem){.desktop-sm\\:hidden{display:none}.desktop-sm\\:w-1\\/12{width:8.333333%}.desktop-sm\\:w-10\\/12{width:83.333333%}.desktop-sm\\:w-2\\/12{width:16.666667%}.desktop-sm\\:w-3\\/12{width:25%}.desktop-sm\\:w-4\\/12{width:33.333333%}.desktop-sm\\:w-6\\/12{width:50%}.desktop-sm\\:w-7\\/12{width:58.333333%}.desktop-sm\\:w-8\\/12{width:66.666667%}.desktop-sm\\:pr-0{padding-right:0}.desktop-sm\\:pr-4{padding-right:1rem}.group:hover .desktop-sm\\:group-hover\\:hidden{display:none}}@media (min-width:85.375rem){.desktop\\:hidden{display:none}.desktop\\:w-1\\/12{width:8.333333%}.desktop\\:w-10\\/12{width:83.333333%}.desktop\\:w-11\\/12{width:91.666667%}.desktop\\:w-3\\/12{width:25%}.desktop\\:w-4\\/12{width:33.333333%}.desktop\\:w-5\\/12{width:41.666667%}.desktop\\:w-7\\/12{width:58.333333%}.desktop\\:w-8\\/12{width:66.666667%}.desktop\\:w-9\\/12{width:75%}.desktop\\:pr-0{padding-right:0}.desktop\\:pr-4{padding-right:1rem}.group:hover .desktop\\:group-hover\\:hidden{display:none}}@media (min-width:90rem){.desktop-lg\\:hidden{display:none}.desktop-lg\\:w-1\\/12{width:8.333333%}.desktop-lg\\:w-10\\/12{width:83.333333%}.desktop-lg\\:w-2\\/12{width:16.666667%}.desktop-lg\\:w-3\\/12{width:25%}.desktop-lg\\:w-4\\/12{width:33.333333%}.desktop-lg\\:w-6\\/12{width:50%}.desktop-lg\\:w-7\\/12{width:58.333333%}.desktop-lg\\:w-8\\/12{width:66.666667%}.desktop-lg\\:pr-0{padding-right:0}.desktop-lg\\:pr-4{padding-right:1rem}.group:hover .desktop-lg\\:group-hover\\:hidden{display:none}}@media (min-width:120rem){.desktop-xl\\:hidden{display:none}.desktop-xl\\:w-1\\/12{width:8.333333%}.desktop-xl\\:w-10\\/12{width:83.333333%}.desktop-xl\\:w-2\\/12{width:16.666667%}.desktop-xl\\:w-3\\/12{width:25%}.desktop-xl\\:w-4\\/12{width:33.333333%}.desktop-xl\\:w-6\\/12{width:50%}.desktop-xl\\:w-7\\/12{width:58.333333%}.desktop-xl\\:w-8\\/12{width:66.666667%}.desktop-xl\\:pr-0{padding-right:0}.desktop-xl\\:pr-4{padding-right:1rem}.group:hover .desktop-xl\\:group-hover\\:hidden{display:none}}.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:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
157
|
+
const tableCellComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.table{display:table}.table-cell{display:table-cell}.hidden{display:none}.h-6{height:1.5rem}.w-1\\/12{width:8.333333%}.w-10\\/12{width:83.333333%}.w-11\\/12{width:91.666667%}.w-2\\/12{width:16.666667%}.w-3\\/12{width:25%}.w-4\\/12{width:33.333333%}.w-5\\/12{width:41.666667%}.w-6\\/12{width:50%}.w-7\\/12{width:58.333333%}.w-8\\/12{width:66.666667%}.w-9\\/12{width:75%}.w-\\[calc\\(100\\%-1rem\\)\\]{width:calc(100% - 1rem)}.flex-1{flex:1 1 0%}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded{border-radius:.25rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-4{padding-right:1rem}.text-center{text-align:center}.text-start{text-align:start}.text-end{text-align:end}.font-semibold{font-weight:600}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-400{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.last-of-type\\:pr-0:last-of-type{padding-right:0}.group:hover .group-hover\\:flex{display:flex}.group:hover .group-hover\\:hidden{display:none}@media (min-width:40rem){.tablet\\:flex{display:flex}.tablet\\:hidden{display:none}.tablet\\:w-1\\/12{width:8.333333%}.tablet\\:w-10\\/12{width:83.333333%}.tablet\\:w-11\\/12{width:91.666667%}.tablet\\:w-2\\/12{width:16.666667%}.tablet\\:w-3\\/12{width:25%}.tablet\\:w-4\\/12{width:33.333333%}.tablet\\:w-5\\/12{width:41.666667%}.tablet\\:w-6\\/12{width:50%}.tablet\\:w-7\\/12{width:58.333333%}.tablet\\:w-8\\/12{width:66.666667%}.tablet\\:w-9\\/12{width:75%}.tablet\\:pr-0{padding-right:0}.tablet\\:pr-4{padding-right:1rem}.group:hover .tablet\\:group-hover\\:flex{display:flex}.group:hover .tablet\\:group-hover\\:hidden{display:none}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex}.desktop-xs\\:hidden{display:none}.desktop-xs\\:w-1\\/12{width:8.333333%}.desktop-xs\\:w-10\\/12{width:83.333333%}.desktop-xs\\:w-11\\/12{width:91.666667%}.desktop-xs\\:w-2\\/12{width:16.666667%}.desktop-xs\\:w-3\\/12{width:25%}.desktop-xs\\:w-4\\/12{width:33.333333%}.desktop-xs\\:w-5\\/12{width:41.666667%}.desktop-xs\\:w-6\\/12{width:50%}.desktop-xs\\:w-7\\/12{width:58.333333%}.desktop-xs\\:w-8\\/12{width:66.666667%}.desktop-xs\\:w-9\\/12{width:75%}.desktop-xs\\:pr-0{padding-right:0}.desktop-xs\\:pr-4{padding-right:1rem}.group:hover .desktop-xs\\:group-hover\\:flex{display:flex}.group:hover .desktop-xs\\:group-hover\\:hidden{display:none}}@media (min-width:80rem){.desktop-sm\\:flex{display:flex}.desktop-sm\\:hidden{display:none}.desktop-sm\\:w-1\\/12{width:8.333333%}.desktop-sm\\:w-10\\/12{width:83.333333%}.desktop-sm\\:w-11\\/12{width:91.666667%}.desktop-sm\\:w-2\\/12{width:16.666667%}.desktop-sm\\:w-3\\/12{width:25%}.desktop-sm\\:w-4\\/12{width:33.333333%}.desktop-sm\\:w-5\\/12{width:41.666667%}.desktop-sm\\:w-6\\/12{width:50%}.desktop-sm\\:w-7\\/12{width:58.333333%}.desktop-sm\\:w-8\\/12{width:66.666667%}.desktop-sm\\:w-9\\/12{width:75%}.desktop-sm\\:pr-0{padding-right:0}.desktop-sm\\:pr-4{padding-right:1rem}.group:hover .desktop-sm\\:group-hover\\:flex{display:flex}.group:hover .desktop-sm\\:group-hover\\:hidden{display:none}}@media (min-width:85.375rem){.desktop\\:flex{display:flex}.desktop\\:hidden{display:none}.desktop\\:w-1\\/12{width:8.333333%}.desktop\\:w-10\\/12{width:83.333333%}.desktop\\:w-11\\/12{width:91.666667%}.desktop\\:w-2\\/12{width:16.666667%}.desktop\\:w-3\\/12{width:25%}.desktop\\:w-4\\/12{width:33.333333%}.desktop\\:w-5\\/12{width:41.666667%}.desktop\\:w-6\\/12{width:50%}.desktop\\:w-7\\/12{width:58.333333%}.desktop\\:w-8\\/12{width:66.666667%}.desktop\\:w-9\\/12{width:75%}.desktop\\:pr-0{padding-right:0}.desktop\\:pr-4{padding-right:1rem}.group:hover .desktop\\:group-hover\\:flex{display:flex}.group:hover .desktop\\:group-hover\\:hidden{display:none}}@media (min-width:90rem){.desktop-lg\\:flex{display:flex}.desktop-lg\\:hidden{display:none}.desktop-lg\\:w-1\\/12{width:8.333333%}.desktop-lg\\:w-10\\/12{width:83.333333%}.desktop-lg\\:w-11\\/12{width:91.666667%}.desktop-lg\\:w-2\\/12{width:16.666667%}.desktop-lg\\:w-3\\/12{width:25%}.desktop-lg\\:w-4\\/12{width:33.333333%}.desktop-lg\\:w-5\\/12{width:41.666667%}.desktop-lg\\:w-6\\/12{width:50%}.desktop-lg\\:w-7\\/12{width:58.333333%}.desktop-lg\\:w-8\\/12{width:66.666667%}.desktop-lg\\:w-9\\/12{width:75%}.desktop-lg\\:pr-0{padding-right:0}.desktop-lg\\:pr-4{padding-right:1rem}.group:hover .desktop-lg\\:group-hover\\:flex{display:flex}.group:hover .desktop-lg\\:group-hover\\:hidden{display:none}}@media (min-width:120rem){.desktop-xl\\:flex{display:flex}.desktop-xl\\:hidden{display:none}.desktop-xl\\:w-1\\/12{width:8.333333%}.desktop-xl\\:w-10\\/12{width:83.333333%}.desktop-xl\\:w-11\\/12{width:91.666667%}.desktop-xl\\:w-2\\/12{width:16.666667%}.desktop-xl\\:w-3\\/12{width:25%}.desktop-xl\\:w-4\\/12{width:33.333333%}.desktop-xl\\:w-5\\/12{width:41.666667%}.desktop-xl\\:w-6\\/12{width:50%}.desktop-xl\\:w-7\\/12{width:58.333333%}.desktop-xl\\:w-8\\/12{width:66.666667%}.desktop-xl\\:w-9\\/12{width:75%}.desktop-xl\\:pr-0{padding-right:0}.desktop-xl\\:pr-4{padding-right:1rem}.group:hover .desktop-xl\\:group-hover\\:flex{display:flex}.group:hover .desktop-xl\\:group-hover\\:hidden{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-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-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))}`;
|
|
158
158
|
|
|
159
159
|
const TableCell = class {
|
|
160
160
|
constructor(hostRef) {
|
|
@@ -258,10 +258,10 @@ const footer = cva([
|
|
|
258
258
|
'after:absolute after:left-0 after:top-0 after:z-[0]',
|
|
259
259
|
'after:h-full after:w-full after:transition-opacity',
|
|
260
260
|
`
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
261
|
+
after:bg-gradient-to-t after:from-white after:via-white/80
|
|
262
|
+
after:to-transparent
|
|
263
|
+
dark:after:from-hurricane-700 dark:after:via-hurricane-700/80
|
|
264
|
+
`,
|
|
265
265
|
], {
|
|
266
266
|
variants: {
|
|
267
267
|
pinned: {
|
|
@@ -274,9 +274,9 @@ const footer = cva([
|
|
|
274
274
|
},
|
|
275
275
|
tableHeaderHasAction: {
|
|
276
276
|
true: `
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
277
|
+
pb-20 pt-8
|
|
278
|
+
desktop-xs:py-8
|
|
279
|
+
`,
|
|
280
280
|
false: 'py-8',
|
|
281
281
|
},
|
|
282
282
|
},
|
|
@@ -360,12 +360,12 @@ const TableFooter = class {
|
|
|
360
360
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
361
361
|
}
|
|
362
362
|
render() {
|
|
363
|
-
return (h(ThemedHost, { key: '
|
|
363
|
+
return (h(ThemedHost, { key: '2a9d106d8fcda59dbe0615b936dec5c5a6c06ac3' }, h("div", { key: '92904418a7130a5b5b03c60c4ef9a5297fa67900', class: footer({
|
|
364
364
|
pinned: this._isPinned,
|
|
365
365
|
hidden: this._hidden,
|
|
366
366
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
367
367
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
368
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
368
|
+
this.total > 0 && (h("p-pagination", { key: 'b085a53358757b965720f35ad4deb70a705b4cfd', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
369
369
|
}
|
|
370
370
|
_changePageSize(s) {
|
|
371
371
|
if (!s) {
|
|
@@ -9859,15 +9859,15 @@ function requireCjs () {
|
|
|
9859
9859
|
|
|
9860
9860
|
var cjsExports = /*@__PURE__*/ requireCjs();
|
|
9861
9861
|
|
|
9862
|
-
const tableHeaderComponentCss = () => `*{box-sizing:border-box}.static{position:static}.bottom-0{bottom:0}.left-0{left:0}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.ml-1{margin-left:.25rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.h-8{height:2rem}.w-3\\/4{width:75%}.w-full{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}.justify-self-start{justify-self:start}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.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)}@media (min-width:40rem){.tablet\\:px-0{padding-left:0;padding-right:0}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex}.desktop-xs\\:hidden{display:none}.desktop-xs\\:w-auto{width:auto}.desktop-xs\\:max-w-60{max-width:15rem}.desktop-xs\\:flex-row{flex-direction:row}.desktop-xs\\:items-center{align-items:center}}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}`;
|
|
9862
|
+
const tableHeaderComponentCss = () => `*{box-sizing:border-box}.static{position:static}.fixed{position:fixed}.bottom-0{bottom:0}.left-0{left:0}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.ml-1{margin-left:.25rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.h-8{height:2rem}.w-3\\/4{width:75%}.w-full{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}.justify-self-start{justify-self:start}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.border-transparent{border-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.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)}@media (min-width:40rem){.tablet\\:flex{display:flex}.tablet\\:px-0{padding-left:0;padding-right:0}}@media (min-width:64rem){.desktop-xs\\:ml-auto{margin-left:auto}.desktop-xs\\:flex{display:flex}.desktop-xs\\:hidden{display:none}.desktop-xs\\:w-auto{width:auto}.desktop-xs\\:max-w-60{max-width:15rem}.desktop-xs\\:flex-row{flex-direction:row}.desktop-xs\\:items-center{align-items:center}}.dark\\:border-t-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-top-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:text-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.15)}.dark\\:border-t-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-top-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:text-white\\/15:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.15)}`;
|
|
9863
9863
|
|
|
9864
9864
|
const header = cva([
|
|
9865
9865
|
'z-[1] flex flex-col gap-2',
|
|
9866
9866
|
'w-full',
|
|
9867
9867
|
`
|
|
9868
|
-
|
|
9869
|
-
|
|
9870
|
-
|
|
9868
|
+
px-4
|
|
9869
|
+
tablet:px-0
|
|
9870
|
+
`,
|
|
9871
9871
|
'desktop-xs:flex-row',
|
|
9872
9872
|
]);
|
|
9873
9873
|
const TableHeader = class {
|
|
@@ -9996,16 +9996,18 @@ const TableHeader = class {
|
|
|
9996
9996
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
9997
9997
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
9998
9998
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
9999
|
-
return (h(ThemedHost, { key: '
|
|
10000
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
9999
|
+
return (h(ThemedHost, { key: '046a82c93f16849095adf724acfd621369af3593' }, h("div", { key: 'e46eb857f7945716243299ce4c999673ec453d5a', class: header() }, this.loading && (h("p-loader", { key: 'c8a4898ede8aa744b72c6d11afceba5079eeb32a', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
10000
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '877290a2e98724bc17e95d3d447ea37e6a005dc4', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && h("slot", { key: 'c1a71c7715dfd42975529c08f7d784f7fc463309', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: 'a78f5ca023cd8106c610d1535e6e8b262dc15632', class: '\n hidden\n desktop-xs:flex\n ' }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
10001
10001
|
? item.text
|
|
10002
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10002
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '17e05645a060b6674211930c340f039e690b2b83', class: '\n flex flex-col justify-end gap-2\n desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center\n ' }, this.enableSearch && (h("p-field", { key: 'e8cc9ab173b7864f5adee53fcb7a6b124e392722', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: '593628e94f3766ad21562a8133cc76e0a8e7c612', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: '863ea9caf0d1d34e5c45a22db523f54075b861c9', class: `
|
|
10003
|
+
w-full
|
|
10004
|
+
${this.enableFilterDesktop
|
|
10005
|
+
? 'desktop-xs:w-auto'
|
|
10006
|
+
: 'desktop-xs:hidden'}
|
|
10007
|
+
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
10006
10008
|
? this.filterButtonTemplate()
|
|
10007
10009
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
10008
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
10010
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: 'f82cc292316723b26ed2f163a8a4e5bd6b321f33', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (h("p-button", { key: '68b77661274b6e9c6e8764bbe16519539966e0f9', class: '\n desktop-xs:auto\n w-full\n ', icon: 'upload', variant: 'secondary', onOnClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && h("slot", { key: '5156a9e3cdcef6ce1aa15efa4909d88abed010da', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: 'a8125d245e8a194734b50c2ead689a9bfb7d686e', class: '\n fixed bottom-0 left-0 z-[2] block w-full border border-solid\n border-transparent bg-white p-4\n desktop-xs:hidden\n dark:border-t-hurricane-400 dark:bg-hurricane-500\n ' }, this._buttonTemplate(true))))));
|
|
10009
10011
|
}
|
|
10010
10012
|
async _setLocales() {
|
|
10011
10013
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -10014,25 +10016,25 @@ const TableHeader = class {
|
|
|
10014
10016
|
return (h("p-button", { class: mobile
|
|
10015
10017
|
? 'w-full'
|
|
10016
10018
|
: `
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10019
|
+
hidden
|
|
10020
|
+
desktop-xs:flex
|
|
10021
|
+
`, disabled: !this.canUseAction, icon: this.actionIcon, loading: this.actionLoading, onOnClick: () => this.action.emit() }, this.actionButtonTemplate
|
|
10020
10022
|
? this.actionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)
|
|
10021
10023
|
: this._defaultActionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)));
|
|
10022
10024
|
}
|
|
10023
10025
|
_getLabel(amount, variant = 'default') {
|
|
10024
10026
|
return (h("p-badge", { class: `
|
|
10025
|
-
|
|
10026
|
-
|
|
10027
|
+
ml-1
|
|
10028
|
+
${variant === 'default'
|
|
10027
10029
|
? `
|
|
10028
|
-
|
|
10029
|
-
|
|
10030
|
-
|
|
10030
|
+
hidden
|
|
10031
|
+
desktop-xs:flex
|
|
10032
|
+
`
|
|
10031
10033
|
: `
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10034
|
+
flex
|
|
10035
|
+
desktop-xs:hidden
|
|
10036
|
+
`}
|
|
10037
|
+
` }, amount));
|
|
10036
10038
|
}
|
|
10037
10039
|
};
|
|
10038
10040
|
TableHeader.style = tableHeaderComponentCss();
|
|
@@ -10074,10 +10076,10 @@ const row = cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative']
|
|
|
10074
10076
|
class: [
|
|
10075
10077
|
'rounded-lg transition-colors',
|
|
10076
10078
|
`
|
|
10077
|
-
|
|
10078
|
-
|
|
10079
|
-
|
|
10080
|
-
|
|
10079
|
+
bg-off-white-300
|
|
10080
|
+
dark:bg-hurricane-400
|
|
10081
|
+
dark:hover:bg-hurricane-400
|
|
10082
|
+
`,
|
|
10081
10083
|
],
|
|
10082
10084
|
},
|
|
10083
10085
|
{
|
|
@@ -10107,9 +10109,9 @@ const content = cva('relative flex min-w-full flex-nowrap items-stretch justify-
|
|
|
10107
10109
|
{
|
|
10108
10110
|
variant: ['default', 'secondary'],
|
|
10109
10111
|
class: `
|
|
10110
|
-
|
|
10111
|
-
|
|
10112
|
-
|
|
10112
|
+
min-h-14 py-2
|
|
10113
|
+
tablet:py-4
|
|
10114
|
+
`,
|
|
10113
10115
|
},
|
|
10114
10116
|
{
|
|
10115
10117
|
variant: ['header', 'header-secondary'],
|
|
@@ -10121,9 +10123,9 @@ const actions = cva([
|
|
|
10121
10123
|
'absolute -right-4 top-1 z-[2]',
|
|
10122
10124
|
'h-[calc(100%-0.5rem)]',
|
|
10123
10125
|
`
|
|
10124
|
-
|
|
10125
|
-
|
|
10126
|
-
|
|
10126
|
+
opacity-0 transition-opacity
|
|
10127
|
+
group-hover:opacity-100
|
|
10128
|
+
`,
|
|
10127
10129
|
'empty:hidden',
|
|
10128
10130
|
]);
|
|
10129
10131
|
const TableRow = class {
|
|
@@ -10147,13 +10149,13 @@ const TableRow = class {
|
|
|
10147
10149
|
*/
|
|
10148
10150
|
isLast = false;
|
|
10149
10151
|
render() {
|
|
10150
|
-
return (h(ThemedHost, { key: '
|
|
10152
|
+
return (h(ThemedHost, { key: '0d120affd1a9979fee9871f4185e5be8128235e8' }, h("div", { key: '5686db4396a01a88c3962bc6a821c0e1552c13f1', class: 'flex flex-col' }, h("div", { key: '71e6470049acc4b3acebbb478ebd8fba5f36d688', class: row({
|
|
10151
10153
|
variant: this.variant,
|
|
10152
10154
|
enableHover: this.enableHover,
|
|
10153
10155
|
checked: this.checked,
|
|
10154
|
-
}) }, h("div", { key: '
|
|
10156
|
+
}) }, h("div", { key: 'e2d1a4259be84eca424d30d53a88a7a8cdb2336c', class: content({
|
|
10155
10157
|
variant: this.variant,
|
|
10156
|
-
}) }, h("slot", { key: '
|
|
10158
|
+
}) }, h("slot", { key: '7457daaf7e4fd01b21c68d048ff9dfed9387b507' }), h("div", { key: '780993e2462abeb10d1c56a15bd29bc77348bcdd', class: actions() }, h("slot", { key: 'e2ff2aa57ae3754fe904cde800a0dc6d9da192ed', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: '5a76c8dca2fa8bdfd6476362d83f30b0832d1762' })))));
|
|
10157
10159
|
}
|
|
10158
10160
|
};
|
|
10159
10161
|
TableRow.style = tableRowComponentCss();
|
|
@@ -10169,16 +10171,16 @@ const TableRowActionsContainer = class {
|
|
|
10169
10171
|
*/
|
|
10170
10172
|
checked = false;
|
|
10171
10173
|
render() {
|
|
10172
|
-
return (h(ThemedHost, { key: '05b47280bc380ad0960a69c27fa641ea735a94f4' }, h("div", { key: '
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10174
|
+
return (h(ThemedHost, { key: '05b47280bc380ad0960a69c27fa641ea735a94f4' }, h("div", { key: '5a0480d4df301d4aa395f87fc93b2e068b9f79f4', class: cn(`
|
|
10175
|
+
flex
|
|
10176
|
+
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
10177
|
+
`, {
|
|
10176
10178
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10177
10179
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10178
|
-
}) }, h("div", { key: '
|
|
10180
|
+
}) }, h("div", { key: '6772a16f95a60938d7d8a019dcbd7c6e8f0d00c7', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10179
10181
|
'dark:bg-hurricane-600': !this.checked,
|
|
10180
10182
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10181
|
-
}) }, h("slot", { key: '
|
|
10183
|
+
}) }, h("slot", { key: '27f6a9bf20a79fc58b63412aa0943278408e6f90' })))));
|
|
10182
10184
|
}
|
|
10183
10185
|
};
|
|
10184
10186
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|
|
@@ -65,9 +65,9 @@ const field = cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relati
|
|
|
65
65
|
focused: false,
|
|
66
66
|
error: false,
|
|
67
67
|
class: `
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
border-storm-100
|
|
69
|
+
dark:border-hurricane-400
|
|
70
|
+
`,
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
variant: 'write',
|
|
@@ -75,26 +75,26 @@ const field = cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relati
|
|
|
75
75
|
focused: true,
|
|
76
76
|
error: false,
|
|
77
77
|
class: `
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
border-indigo-600 ring ring-indigo-100
|
|
79
|
+
selection:bg-indigo-500
|
|
80
|
+
dark:ring-0
|
|
81
|
+
`,
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
variant: 'write',
|
|
85
85
|
disabled: false,
|
|
86
86
|
class: `
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
bg-white
|
|
88
|
+
dark:bg-hurricane-500
|
|
89
|
+
`,
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
variant: 'write',
|
|
93
93
|
disabled: true,
|
|
94
94
|
class: `
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
cursor-not-allowed bg-white-600
|
|
96
|
+
dark:border-hurricane-500 dark:bg-hurricane-600
|
|
97
|
+
`,
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
disabled: false,
|
|
@@ -106,24 +106,24 @@ const field = cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relati
|
|
|
106
106
|
focused: true,
|
|
107
107
|
error: true,
|
|
108
108
|
class: `
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
ring ring-negative-red-50
|
|
110
|
+
selection:bg-negative-red-50
|
|
111
|
+
dark:ring-0
|
|
112
|
+
`,
|
|
113
113
|
},
|
|
114
114
|
],
|
|
115
115
|
});
|
|
116
116
|
const input = cva([
|
|
117
117
|
`
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
text-sm
|
|
119
|
+
placeholder:text-sm placeholder:text-storm-500/40
|
|
120
|
+
dark:placeholder:text-hurricane-200
|
|
121
|
+
`,
|
|
122
122
|
'min-w-0 flex-1 border-none bg-transparent p-0',
|
|
123
123
|
`
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
outline-none
|
|
125
|
+
focus:outline-none
|
|
126
|
+
`,
|
|
127
127
|
'font-geist',
|
|
128
128
|
], {
|
|
129
129
|
variants: {
|
|
@@ -137,9 +137,9 @@ const input = cva([
|
|
|
137
137
|
},
|
|
138
138
|
error: {
|
|
139
139
|
false: `
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
text-storm-500
|
|
141
|
+
dark:text-white
|
|
142
|
+
`,
|
|
143
143
|
true: 'text-negative-red-500',
|
|
144
144
|
},
|
|
145
145
|
},
|
|
@@ -153,9 +153,9 @@ const prefixAndSuffix = cva(['flex flex-shrink-0 items-center justify-center tex
|
|
|
153
153
|
disabled: {
|
|
154
154
|
false: null,
|
|
155
155
|
true: `
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
text-storm-100
|
|
157
|
+
dark:text-hurricane-400
|
|
158
|
+
`,
|
|
159
159
|
},
|
|
160
160
|
focused: {
|
|
161
161
|
false: null,
|
|
@@ -180,18 +180,18 @@ const prefixAndSuffix = cva(['flex flex-shrink-0 items-center justify-center tex
|
|
|
180
180
|
focused: false,
|
|
181
181
|
error: false,
|
|
182
182
|
class: `
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
text-storm-300
|
|
184
|
+
dark:text-hurricane-200
|
|
185
|
+
`,
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
disabled: false,
|
|
189
189
|
focused: true,
|
|
190
190
|
error: false,
|
|
191
191
|
class: `
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
text-storm-500
|
|
193
|
+
dark:text-white
|
|
194
|
+
`,
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
disabled: false,
|
|
@@ -382,8 +382,8 @@ const Field = class {
|
|
|
382
382
|
}
|
|
383
383
|
render() {
|
|
384
384
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
385
|
-
return (h(ThemedHost, { key: '
|
|
386
|
-
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '
|
|
385
|
+
return (h(ThemedHost, { key: 'd957c15ac5c4fd277a79716e8f7644be5b7e413e' }, h("p-field-container", { key: '4ec3f19bf0e3336b652add8730974d890deaf1bc', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
386
|
+
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '74c5bf652fa519804b802cb930b764a62a7991aa', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: 'f63069722b80fab8c262646787de0cfda2479def', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '3045c36ea36e2d9b81b1fe31955237162ba50c62', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'a9fe88d52f8f71ad09d1e2dbd3d0d42818ae64e9', name: 'error', slot: 'error' })), h("div", { key: '805fc95477292dcf8404eb5f206bbfd576431dd2', class: field({
|
|
387
387
|
error: !!this.error?.length,
|
|
388
388
|
disabled: asBoolean(this.disabled),
|
|
389
389
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -394,7 +394,7 @@ const Field = class {
|
|
|
394
394
|
? `${this.value}`
|
|
395
395
|
: undefined }, (this.error?.length ||
|
|
396
396
|
prefix ||
|
|
397
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
397
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '41d8592d1683e02c23742e3fcae5f198e5dac18e', class: prefixAndSuffix({
|
|
398
398
|
variant: this.variant,
|
|
399
399
|
error: !!this.error?.length,
|
|
400
400
|
disabled: asBoolean(this.disabled),
|
|
@@ -404,7 +404,7 @@ const Field = class {
|
|
|
404
404
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
405
405
|
this.error?.length ? (h("p-icon", { class: cn('flex', {
|
|
406
406
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
407
|
-
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
407
|
+
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '696e95bfe4ee145a02e4de13f697a01b62bb2678', class: prefixAndSuffix({
|
|
408
408
|
variant: this.variant,
|
|
409
409
|
error: !!this.error?.length,
|
|
410
410
|
disabled: asBoolean(this.disabled),
|
|
@@ -560,7 +560,7 @@ const Field = class {
|
|
|
560
560
|
};
|
|
561
561
|
Field.style = fieldComponentCss();
|
|
562
562
|
|
|
563
|
-
const fieldContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.ml-auto{margin-left:auto}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.w-full{width:100%}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-auto{cursor:auto}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/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))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.empty\\:hidden:empty{display:none}.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:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
563
|
+
const fieldContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.ml-auto{margin-left:auto}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.w-full{width:100%}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-auto{cursor:auto}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.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))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.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-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\\: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-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))}`;
|
|
564
564
|
|
|
565
565
|
const loader = cva(['w-full rounded-lg'], {
|
|
566
566
|
variants: {
|
|
@@ -671,21 +671,21 @@ const FieldContainer = class {
|
|
|
671
671
|
}
|
|
672
672
|
return (h(ThemedHost, { key: '9b4ab7a1d59cead07a2065b0d6bc72be41d24287' }, h("label", { key: 'ac31d16bdd75b4b236479638efd367f4771627d1', class: cn('flex w-inherit flex-col gap-1', {
|
|
673
673
|
'cursor-auto': this.variant === 'read',
|
|
674
|
-
}), htmlFor: this.id }, h("div", { key: '
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
674
|
+
}), htmlFor: this.id }, h("div", { key: '512c7c3162d9a40483f5d43d7fbea5635c40b45d', class: cn(`
|
|
675
|
+
flex items-end justify-between gap-1
|
|
676
|
+
empty:hidden
|
|
677
|
+
`, {
|
|
678
678
|
'flex-row-reverse': this.align === 'end',
|
|
679
|
-
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '
|
|
680
|
-
hasHeaderSlot) && (h("div", { key: '
|
|
679
|
+
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '77b5887681e6537714b0352a02873a56ab22e304', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: '786e241b3537a05c4bf12f58333d5c10065879c3', class: '\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n ' }, label), helper && (h("p-helper", { key: 'd14700f7a78349ffb1de0a39bcb92ca9833e7f3b', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
|
|
680
|
+
hasHeaderSlot) && (h("div", { key: 'a3f63057ac68b62a68cf4d0b31b09039817ea87f', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
|
|
681
681
|
asBoolean(this.showOptional) &&
|
|
682
|
-
this.variant === 'write' && (h("span", { key: '
|
|
682
|
+
this.variant === 'write' && (h("span", { key: '6e98ac54bcabfe7b4481b1745b7c25fbc0c1e717', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: 'e4b5a07a66a036c619d0a788c959a3d80af2f58c', name: 'header' })))), h("p-tooltip", { key: 'd482091d838534d3f3e3f177c9f5ccd605e8e519', class: cn({
|
|
683
683
|
'w-full': this.variant === 'write' || this.loading,
|
|
684
684
|
'ml-auto': this.align === 'end',
|
|
685
685
|
'font-normal': this.variant === 'read',
|
|
686
686
|
'text-storm-500 dark:text-white': this.variant === 'read',
|
|
687
687
|
}), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
|
|
688
|
-
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '
|
|
688
|
+
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '45fc720b8771ffca3ce381fcc98c162947aa1e71', name: 'error', slot: 'content' })), contentSlot))));
|
|
689
689
|
}
|
|
690
690
|
async _setLocales() {
|
|
691
691
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -712,7 +712,7 @@ const FieldContainer = class {
|
|
|
712
712
|
};
|
|
713
713
|
FieldContainer.style = fieldContainerComponentCss();
|
|
714
714
|
|
|
715
|
-
const helperComponentCss = () => `.inline-flex{display:inline-flex}.h-\\[0\\.875rem\\]{height:.875rem}.w-\\[0\\.875rem\\]{width:.875rem}*{box-sizing:border-box}:host{display:inline-flex;height:.875rem;width:.875rem}.static{position:static}.absolute{position:absolute}.flex{display:flex}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}`;
|
|
715
|
+
const helperComponentCss = () => `.inline-flex{display:inline-flex}.h-\\[0\\.875rem\\]{height:.875rem}.w-\\[0\\.875rem\\]{width:.875rem}*{box-sizing:border-box}:host{display:inline-flex;height:.875rem;width:.875rem}.static{position:static}.absolute{position:absolute}.flex{display:flex}.cursor-pointer{cursor:pointer}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.hover\\:text-storm-500:hover{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.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\\:hover\\:text-hurricane-200:hover: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-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:hover\\:text-hurricane-200:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}`;
|
|
716
716
|
|
|
717
717
|
const Helper = class {
|
|
718
718
|
constructor(hostRef) {
|
|
@@ -727,7 +727,7 @@ const Helper = class {
|
|
|
727
727
|
*/
|
|
728
728
|
placement = 'top';
|
|
729
729
|
render() {
|
|
730
|
-
return (h(ThemedHost, { key: 'd7f07b4f232bb43ce0988ea8533353a8d193e7bf' }, h("p-tooltip", { key: 'df76c8696c9621a6ea5431c5d256eded55de0b57', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: '
|
|
730
|
+
return (h(ThemedHost, { key: 'd7f07b4f232bb43ce0988ea8533353a8d193e7bf' }, h("p-tooltip", { key: 'df76c8696c9621a6ea5431c5d256eded55de0b57', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: 'f582de019e9a60ebe2296405354cb48ebfc4ca1f', class: '\n cursor-pointer text-storm-300\n hover:text-storm-500\n dark:text-hurricane-300\n dark:hover:text-hurricane-200\n ', size: 'sm', slot: 'trigger', variant: 'question-circle' }), h("div", { key: '1863361d1ec8867f5f403d823290273b77571516', slot: 'content' }, h("slot", { key: 'd876213ee32eb63e77c9074391f8f31fd42ddd69' })))));
|
|
731
731
|
}
|
|
732
732
|
};
|
|
733
733
|
Helper.style = helperComponentCss();
|
|
@@ -5,7 +5,7 @@ import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
|
5
5
|
import './clsx-ChV9xqsO.js';
|
|
6
6
|
import './state-BJbOyUuL.js';
|
|
7
7
|
|
|
8
|
-
const floatingMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-lg{border-radius:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-50{--tw-text-opacity:1;color:rgb(232 232 234/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.hover\\:bg-storm-800:hover{--tw-bg-opacity:1;background-color:rgb(2 8 21/var(--tw-bg-opacity,1))}.active\\:bg-storm-700:active{--tw-bg-opacity:1;background-color:rgb(8 15 28/var(--tw-bg-opacity,1))}.active\\:text-storm-100\\/60:active{color:hsla(220,3%,83%,.6)}.group:hover .group-hover\\:text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.group:active .group-active\\:text-storm-100\\/60{color:hsla(220,3%,83%,.6)}.dark\\:hover\\:bg-hurricane-500:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(46,52,62,.5)}.dark\\:hover\\:bg-hurricane-500:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(46,52,62,.5)}`;
|
|
8
|
+
const floatingMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.min-w-0{min-width:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-lg{border-radius:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-50{--tw-text-opacity:1;color:rgb(232 232 234/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.empty\\:hidden:empty{display:none}.hover\\:bg-storm-800:hover{--tw-bg-opacity:1;background-color:rgb(2 8 21/var(--tw-bg-opacity,1))}.active\\:bg-storm-700:active{--tw-bg-opacity:1;background-color:rgb(8 15 28/var(--tw-bg-opacity,1))}.active\\:text-storm-100\\/60:active{color:hsla(220,3%,83%,.6)}.group:hover .group-hover\\:text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.group:active .group-active\\:text-storm-100\\/60{color:hsla(220,3%,83%,.6)}.dark\\:hover\\:bg-hurricane-500:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(46,52,62,.5)}.dark\\:hover\\:bg-hurricane-500:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(46,52,62,.5)}`;
|
|
9
9
|
|
|
10
10
|
const item = cva(['group', 'flex h-8 items-center gap-2 px-2', 'text-sm', 'rounded-lg'], {
|
|
11
11
|
variants: {
|
|
@@ -32,14 +32,14 @@ const item = cva(['group', 'flex h-8 items-center gap-2 px-2', 'text-sm', 'round
|
|
|
32
32
|
hover: true,
|
|
33
33
|
class: [
|
|
34
34
|
`
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
cursor-pointer
|
|
36
|
+
hover:bg-storm-800
|
|
37
|
+
active:bg-storm-700 active:text-storm-100/60
|
|
38
|
+
`,
|
|
39
39
|
`
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
dark:hover:bg-hurricane-500
|
|
41
|
+
dark:active:bg-hurricane-600/50
|
|
42
|
+
`,
|
|
43
43
|
],
|
|
44
44
|
},
|
|
45
45
|
],
|
|
@@ -60,9 +60,9 @@ const icon = cva([], {
|
|
|
60
60
|
disabled: false,
|
|
61
61
|
hover: true,
|
|
62
62
|
class: `
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
group-hover:text-storm-100
|
|
64
|
+
group-active:text-storm-100/60
|
|
65
|
+
`,
|
|
66
66
|
},
|
|
67
67
|
],
|
|
68
68
|
});
|
|
@@ -99,10 +99,10 @@ const FloatingMenuItem = class {
|
|
|
99
99
|
*/
|
|
100
100
|
iconRotate;
|
|
101
101
|
render() {
|
|
102
|
-
return (h(ThemedHost, { key: '
|
|
102
|
+
return (h(ThemedHost, { key: '9ea48ae1034fdfac03dda8cc37f418b70e84d110', class: item({
|
|
103
103
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
104
104
|
disabled: asBoolean(this.disabled),
|
|
105
|
-
}) }, this._getIcon(), h("p", { key: '
|
|
105
|
+
}) }, this._getIcon(), h("p", { key: 'd95a7f2ccf5e11fb5048bf9ae651e341a62a75ec', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, h("slot", { key: '0af451107a9e94f6b63aa90d0683e4b50b43ba40' }))));
|
|
106
106
|
}
|
|
107
107
|
_getIcon() {
|
|
108
108
|
if (!this.icon && !this.loading) {
|