@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
|
@@ -22,9 +22,9 @@ const textContainer = cva('block w-full overflow-hidden text-start', {
|
|
|
22
22
|
variants: {
|
|
23
23
|
variant: {
|
|
24
24
|
placeholder: `
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
text-storm-400
|
|
26
|
+
dark:text-white
|
|
27
|
+
`,
|
|
28
28
|
default: null,
|
|
29
29
|
},
|
|
30
30
|
enableTextWrap: {
|
|
@@ -33,10 +33,10 @@ const textContainer = cva('block w-full overflow-hidden text-start', {
|
|
|
33
33
|
},
|
|
34
34
|
error: {
|
|
35
35
|
true: `
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
text-negative-red-700
|
|
37
|
+
group-hover/button:text-negative-red-800
|
|
38
|
+
dark:text-negative-red-alternative
|
|
39
|
+
`,
|
|
40
40
|
false: null,
|
|
41
41
|
},
|
|
42
42
|
},
|
|
@@ -261,7 +261,7 @@ export class Select {
|
|
|
261
261
|
if (this._selectedItem?.length === 0) {
|
|
262
262
|
return placeholder;
|
|
263
263
|
}
|
|
264
|
-
return (h("div", { class: multiContainer(), ref: ref => (this._multiContainerRef = ref) }, this._selectedItem.map(item => (h("div", { class: multiItem(), onClick: () => this._selectValue(item) }, item[this.selectionDisplayKey ?? this.displayKey], h("p-icon", { class: '\n
|
|
264
|
+
return (h("div", { class: multiContainer(), ref: ref => (this._multiContainerRef = ref) }, this._selectedItem.map(item => (h("div", { class: multiItem(), onClick: () => this._selectValue(item) }, item[this.selectionDisplayKey ?? this.displayKey], h("p-icon", { class: '\n text-xs text-indigo-500\n group-hover/item:text-indigo-800\n dark:text-white/15\n dark:group-hover/item:text-white\n ', variant: 'negative' })))), h("div", { class: 'extra pointer-events-none hidden text-sm text-storm-100' }, "+", this._amountHidden)));
|
|
265
265
|
}
|
|
266
266
|
return this._getDisplay(this._selectedItem, true);
|
|
267
267
|
}
|
|
@@ -329,8 +329,8 @@ export class Select {
|
|
|
329
329
|
if (this.error?.length) {
|
|
330
330
|
buttonIcon = 'warning';
|
|
331
331
|
}
|
|
332
|
-
return (h(ThemedHost, { key: '
|
|
333
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
332
|
+
return (h(ThemedHost, { key: 'b7c7d91e9c103eb283a19e6d61bd8a1ccdfcb1ae' }, h("p-field-container", { key: 'ce39c71781d71950eb8f0ec439e70508a801d4bd', error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, label: this.label, prefix: this.prefix, required: this.required, showOptional: this.showOptional, variant: 'write' }, h("p-dropdown", { key: '172741cbe636fa4b59cbac4445fdff1c8ade7ca7', applyChevron: false, applyFullWidth: true, applyMaxWidth: false, "disable-trigger-click": this.disabled, insideClick: true, manual: true, manualChevron: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, slot: 'content', strategy: this.strategy, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-button", { key: '9fda8191122e870eda211c58b30a6de022b629eb', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
333
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '1d08bb324241e1db8698678be35a1fd57f00603f', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
334
334
|
}
|
|
335
335
|
documentClickHandler(event) {
|
|
336
336
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -491,7 +491,7 @@ export class Select {
|
|
|
491
491
|
});
|
|
492
492
|
if (this._items.length === 0 && !this.showAddItem) {
|
|
493
493
|
items = [
|
|
494
|
-
h("p", { class: '\n
|
|
494
|
+
h("p", { class: '\n w-full p-2 text-center text-sm text-storm-400\n dark:text-hurricane-200\n ', slot: 'items' }, this.emptyStateText),
|
|
495
495
|
];
|
|
496
496
|
}
|
|
497
497
|
if (this.enableSelectAll && this._items.length > 0) {
|
|
@@ -585,9 +585,9 @@ export class Select {
|
|
|
585
585
|
}
|
|
586
586
|
if (this.iconKey && (!isSelection || this.showIconOnSelectedItem)) {
|
|
587
587
|
content = (h("span", { class: 'flex items-center gap-2' }, item[this.iconKey] && (h("p-icon", { class: cn(`
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
588
|
+
text-storm-300
|
|
589
|
+
dark:text-hurricane-200
|
|
590
|
+
`, (!isSelection || !!this.applyClassOnSelectedItem) &&
|
|
591
591
|
(!isSelectedInMenu || !!this.applyClassOnSelectedItemInMenu)
|
|
592
592
|
? (item?.[this.iconClassKey] ?? '')
|
|
593
593
|
: ''), variant: item[this.iconKey] })), h("div", { class: textContainer({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*{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))}
|
|
1
|
+
*{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))}
|
|
@@ -87,7 +87,7 @@ export class TableCell {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(ThemedHost, { key: 'f6abd4c007ae672b8d3bba899ee69ceaf5c258a3', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: 'd159248e3497fb96ce1c32cfd4a6a4844cbebf8d' }, h("div", { key: '4d3e542141053c22602cad4c90d4dba92623119c', class: 'pl-8' }), h("div", { key: '
|
|
90
|
+
return (h(ThemedHost, { key: 'f6abd4c007ae672b8d3bba899ee69ceaf5c258a3', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: 'd159248e3497fb96ce1c32cfd4a6a4844cbebf8d' }, h("div", { key: '4d3e542141053c22602cad4c90d4dba92623119c', class: 'pl-8' }), h("div", { key: '3949cd37f6ef5780d07edd596b5277328f3fbf49', class: '\n text-storm-300 text-storm-400 text-storm-500\n dark:text-hurricane-200 dark:text-white\n ' }), h("div", { key: '052667e85e826a81165ed89ccc868b5a27d033e5', class: 'justify-start justify-end justify-center' }), h("div", { key: 'a5daeef9545ed0621440bed0d0ccfc4da823ccc6', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: '1b5a1acc5a10eea9aa71f2168dc84d99b9475982', class: '\n w-12/12 w-1/12 w-10/12 w-11/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12\n w-7/12 w-8/12 w-9/12\n ' }), h("div", { key: '0ec29e97cb7d7691d41de1bc9f037a3e944bd65c', class: '\n tablet:w-12/12 tablet:w-1/12 tablet:w-10/12 tablet:w-11/12\n tablet:w-2/12 tablet:w-3/12 tablet:w-4/12 tablet:w-5/12 tablet:w-6/12\n tablet:w-7/12 tablet:w-8/12 tablet:w-9/12\n ' }), h("div", { key: 'b651ae024c6637455019d674c62e81967bfbce06', class: '\n desktop-xs:w-12/12 desktop-xs:w-1/12 desktop-xs:w-10/12\n desktop-xs:w-11/12 desktop-xs:w-2/12 desktop-xs:w-3/12\n desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12\n desktop-xs:w-8/12 desktop-xs:w-9/12\n ' }), h("div", { key: '6f907538695a22fd769df111253bb6bec3bb9725', class: '\n desktop-xs:w-12/12 desktop-xs:w-1/12 desktop-xs:w-10/12\n desktop-xs:w-11/12 desktop-xs:w-2/12 desktop-xs:w-3/12\n desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12\n desktop-xs:w-8/12 desktop-xs:w-9/12\n ' }), h("div", { key: 'd8090ea7e8ff56758169d61633a1826dd3b26a53', class: '\n desktop-sm:w-12/12 desktop-sm:w-1/12 desktop-sm:w-10/12\n desktop-sm:w-11/12 desktop-sm:w-2/12 desktop-sm:w-3/12\n desktop-sm:w-4/12 desktop-sm:w-5/12 desktop-sm:w-6/12 desktop-sm:w-7/12\n desktop-sm:w-8/12 desktop-sm:w-9/12\n ' }), h("div", { key: 'b91d878f9123e6b92d11572277e9562d1fbb250c', class: '\n desktop:w-12/12 desktop:w-1/12 desktop:w-10/12 desktop:w-11/12\n desktop:w-2/12 desktop:w-3/12 desktop:w-4/12 desktop:w-5/12\n desktop:w-6/12 desktop:w-7/12 desktop:w-8/12 desktop:w-9/12\n ' }), h("div", { key: 'f026ea577772db721c4471a0883eb0347684fe62', class: '\n desktop-lg:w-12/12 desktop-lg:w-1/12 desktop-lg:w-10/12\n desktop-lg:w-11/12 desktop-lg:w-2/12 desktop-lg:w-3/12\n desktop-lg:w-4/12 desktop-lg:w-5/12 desktop-lg:w-6/12 desktop-lg:w-7/12\n desktop-lg:w-8/12 desktop-lg:w-9/12\n ' }), h("div", { key: 'ffd7250140092e5c783b322c1df9187994f4aa82', class: '\n desktop-xl:w-12/12 desktop-xl:w-1/12 desktop-xl:w-10/12\n desktop-xl:w-11/12 desktop-xl:w-2/12 desktop-xl:w-3/12\n desktop-xl:w-4/12 desktop-xl:w-5/12 desktop-xl:w-6/12 desktop-xl:w-7/12\n desktop-xl:w-8/12 desktop-xl:w-9/12\n ' }), h("div", { key: '82fb0211042f848c2d3532e65074353055af8f33', class: '\n flex hidden\n group-hover:flex group-hover:hidden\n ' }), h("div", { key: 'a1b33113aaccdfc6b7f82e6b65bfc5a1bb759817', class: '\n tablet:flex tablet:hidden\n tablet:group-hover:flex tablet:group-hover:hidden\n ' }), h("div", { key: '988ea10da46c0f793a0800f8a292187e52a79898', class: '\n desktop-xs:flex desktop-xs:hidden\n desktop-xs:group-hover:flex desktop-xs:group-hover:hidden\n ' }), h("div", { key: '2aa7fd3ea97e9f885b08da52658bb88c350f7c6d', class: '\n desktop-sm:flex desktop-sm:hidden\n desktop-sm:group-hover:flex desktop-sm:group-hover:hidden\n ' }), h("div", { key: '9c2be7307dd42c431cf7c561552c600fba2b4005', class: '\n desktop:flex desktop:hidden\n desktop:group-hover:flex desktop:group-hover:hidden\n ' }), h("div", { key: 'b255dce7a16f9495a53057791091c2b98f871a4b', class: '\n desktop-lg:flex desktop-lg:hidden\n desktop-lg:group-hover:flex desktop-lg:group-hover:hidden\n ' }), h("div", { key: '8e67e5aeafb17101640b608792ed7ec12d85dfc1', class: '\n desktop-xl:flex desktop-xl:hidden\n desktop-xl:group-hover:flex desktop-xl:group-hover:hidden\n ' }), h("div", { key: '94662519983b5cf10e80b179e6d2b728301fea35', class: '\n pr-0 pr-4\n last-of-type:pr-0\n ' }), h("div", { key: '68ed717de03180b7f3626df29d33c834bf51ccba', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: '12ade478db0b2ec5eb7512db86ac1a3339ca6f77', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: '1866441bd649bb98a586b5a2b682e575e677174a', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: '18b758c62ebd22df1878b0031a5694ca4b50e596', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: '957ffd7a68d85b538a8467e213ef642bc3a3f903', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: '8df0f6b939349d97692884b3b9ef334be1930766', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
|
|
91
91
|
}
|
|
92
92
|
_getContent() {
|
|
93
93
|
if (this.variant === 'loading') {
|
|
@@ -8,10 +8,10 @@ const footer = cva([
|
|
|
8
8
|
'after:absolute after:left-0 after:top-0 after:z-[0]',
|
|
9
9
|
'after:h-full after:w-full after:transition-opacity',
|
|
10
10
|
`
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
after:bg-gradient-to-t after:from-white after:via-white/80
|
|
12
|
+
after:to-transparent
|
|
13
|
+
dark:after:from-hurricane-700 dark:after:via-hurricane-700/80
|
|
14
|
+
`,
|
|
15
15
|
], {
|
|
16
16
|
variants: {
|
|
17
17
|
pinned: {
|
|
@@ -24,9 +24,9 @@ const footer = cva([
|
|
|
24
24
|
},
|
|
25
25
|
tableHeaderHasAction: {
|
|
26
26
|
true: `
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
pb-20 pt-8
|
|
28
|
+
desktop-xs:py-8
|
|
29
|
+
`,
|
|
30
30
|
false: 'py-8',
|
|
31
31
|
},
|
|
32
32
|
},
|
|
@@ -107,12 +107,12 @@ export class TableFooter {
|
|
|
107
107
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: '2a9d106d8fcda59dbe0615b936dec5c5a6c06ac3' }, h("div", { key: '92904418a7130a5b5b03c60c4ef9a5297fa67900', class: footer({
|
|
111
111
|
pinned: this._isPinned,
|
|
112
112
|
hidden: this._hidden,
|
|
113
113
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
114
114
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
115
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
115
|
+
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) })))));
|
|
116
116
|
}
|
|
117
117
|
_changePageSize(s) {
|
|
118
118
|
if (!s) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*{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))}
|
|
1
|
+
*{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)}
|
|
@@ -7,9 +7,9 @@ const header = cva([
|
|
|
7
7
|
'z-[1] flex flex-col gap-2',
|
|
8
8
|
'w-full',
|
|
9
9
|
`
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
px-4
|
|
11
|
+
tablet:px-0
|
|
12
|
+
`,
|
|
13
13
|
'desktop-xs:flex-row',
|
|
14
14
|
]);
|
|
15
15
|
export class TableHeader {
|
|
@@ -133,16 +133,18 @@ export class TableHeader {
|
|
|
133
133
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
134
134
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
135
135
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
136
|
-
return (h(ThemedHost, { key: '
|
|
137
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
136
|
+
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 &&
|
|
137
|
+
(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'
|
|
138
138
|
? item.text
|
|
139
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
: 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: `
|
|
140
|
+
w-full
|
|
141
|
+
${this.enableFilterDesktop
|
|
142
|
+
? 'desktop-xs:w-auto'
|
|
143
|
+
: 'desktop-xs:hidden'}
|
|
144
|
+
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
143
145
|
? this.filterButtonTemplate()
|
|
144
146
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
145
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
147
|
+
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))))));
|
|
146
148
|
}
|
|
147
149
|
async _setLocales() {
|
|
148
150
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -151,25 +153,25 @@ export class TableHeader {
|
|
|
151
153
|
return (h("p-button", { class: mobile
|
|
152
154
|
? 'w-full'
|
|
153
155
|
: `
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
156
|
+
hidden
|
|
157
|
+
desktop-xs:flex
|
|
158
|
+
`, disabled: !this.canUseAction, icon: this.actionIcon, loading: this.actionLoading, onOnClick: () => this.action.emit() }, this.actionButtonTemplate
|
|
157
159
|
? this.actionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)
|
|
158
160
|
: this._defaultActionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)));
|
|
159
161
|
}
|
|
160
162
|
_getLabel(amount, variant = 'default') {
|
|
161
163
|
return (h("p-badge", { class: `
|
|
162
|
-
|
|
163
|
-
|
|
164
|
+
ml-1
|
|
165
|
+
${variant === 'default'
|
|
164
166
|
? `
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
167
|
+
hidden
|
|
168
|
+
desktop-xs:flex
|
|
169
|
+
`
|
|
168
170
|
: `
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
flex
|
|
172
|
+
desktop-xs:hidden
|
|
173
|
+
`}
|
|
174
|
+
` }, amount));
|
|
173
175
|
}
|
|
174
176
|
static get is() { return "p-table-header"; }
|
|
175
177
|
static get encapsulation() { return "shadow"; }
|
|
@@ -37,10 +37,10 @@ const row = cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative']
|
|
|
37
37
|
class: [
|
|
38
38
|
'rounded-lg transition-colors',
|
|
39
39
|
`
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
bg-off-white-300
|
|
41
|
+
dark:bg-hurricane-400
|
|
42
|
+
dark:hover:bg-hurricane-400
|
|
43
|
+
`,
|
|
44
44
|
],
|
|
45
45
|
},
|
|
46
46
|
{
|
|
@@ -70,9 +70,9 @@ const content = cva('relative flex min-w-full flex-nowrap items-stretch justify-
|
|
|
70
70
|
{
|
|
71
71
|
variant: ['default', 'secondary'],
|
|
72
72
|
class: `
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
min-h-14 py-2
|
|
74
|
+
tablet:py-4
|
|
75
|
+
`,
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
variant: ['header', 'header-secondary'],
|
|
@@ -84,9 +84,9 @@ const actions = cva([
|
|
|
84
84
|
'absolute -right-4 top-1 z-[2]',
|
|
85
85
|
'h-[calc(100%-0.5rem)]',
|
|
86
86
|
`
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
opacity-0 transition-opacity
|
|
88
|
+
group-hover:opacity-100
|
|
89
|
+
`,
|
|
90
90
|
'empty:hidden',
|
|
91
91
|
]);
|
|
92
92
|
export class TableRow {
|
|
@@ -107,13 +107,13 @@ export class TableRow {
|
|
|
107
107
|
*/
|
|
108
108
|
isLast = false;
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: '0d120affd1a9979fee9871f4185e5be8128235e8' }, h("div", { key: '5686db4396a01a88c3962bc6a821c0e1552c13f1', class: 'flex flex-col' }, h("div", { key: '71e6470049acc4b3acebbb478ebd8fba5f36d688', class: row({
|
|
111
111
|
variant: this.variant,
|
|
112
112
|
enableHover: this.enableHover,
|
|
113
113
|
checked: this.checked,
|
|
114
|
-
}) }, h("div", { key: '
|
|
114
|
+
}) }, h("div", { key: 'e2d1a4259be84eca424d30d53a88a7a8cdb2336c', class: content({
|
|
115
115
|
variant: this.variant,
|
|
116
|
-
}) }, h("slot", { key: '
|
|
116
|
+
}) }, 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' })))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "p-table-row"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-9{height:2.25rem}.w-\[2px\]{width:2px}.w-\[calc\(100\%-2px-0\.5rem\)\]{width:calc(100% - 2px - .5rem)}.w-full{width:100%}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.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))}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))}.bg-indigo-800{--tw-bg-opacity:1;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-positive-green-500{--tw-bg-opacity:1;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.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-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:bg-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))}.dark\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\:bg-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))}.dark\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\:bg-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))}.dark\:bg-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))}.dark\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\:bg-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))}.dark\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\:bg-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))}
|
|
1
|
+
*{box-sizing:border-box}.static{position:static}.m-0{margin:0}.flex{display:flex}.h-9{height:2.25rem}.w-\[2px\]{width:2px}.w-\[calc\(100\%-2px-0\.5rem\)\]{width:calc(100% - 2px - .5rem)}.w-full{width:100%}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.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))}.bg-amber-500{--tw-bg-opacity:1;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))}.bg-indigo-800{--tw-bg-opacity:1;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-positive-green-500{--tw-bg-opacity:1;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-2{padding:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-semibold{font-weight:600}.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))}.shadow-2{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.hover\:text-storm-500:hover{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.hover\:text-white:hover{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\:border-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(24 30 41/var(--tw-border-opacity,1))}.dark\:bg-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))}.dark\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\:bg-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))}.dark\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\:bg-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(98 255 92/var(--tw-bg-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\:border-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(24 30 41/var(--tw-border-opacity,1))}.dark\:bg-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))}.dark\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\:bg-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))}.dark\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\:bg-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(98 255 92/var(--tw-bg-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))}
|
|
@@ -5,21 +5,21 @@ const indicator = cva('h-9 w-[2px] flex-shrink-0 rounded-full', {
|
|
|
5
5
|
variants: {
|
|
6
6
|
variant: {
|
|
7
7
|
neutral: `
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
bg-indigo-800
|
|
9
|
+
dark:bg-indigo-400
|
|
10
|
+
`,
|
|
11
11
|
positive: `
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
bg-positive-green-500
|
|
13
|
+
dark:bg-positive-green-alternative
|
|
14
|
+
`,
|
|
15
15
|
biased: `
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
bg-amber-500
|
|
17
|
+
dark:bg-amber-alternative
|
|
18
|
+
`,
|
|
19
19
|
negative: `
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
bg-negative-red-500
|
|
21
|
+
dark:bg-negative-red-alternative
|
|
22
|
+
`,
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
});
|
|
@@ -61,7 +61,7 @@ export class Toast {
|
|
|
61
61
|
*/
|
|
62
62
|
action;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: '8d36846b85c4e661ccd81533ac05eb6a651bedb6' }, h("div", { key: '5a60824f6868fa38893b7e451850f6e181caa95c', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, h("div", { key: 'c3ebd2eecb1f3378176653bfe7ae96bd9b7b4b13', class: indicator({ variant: this.variant }) }), h("div", { key: '89ce39565adb3958a12551d5021f7ab86c9babb5', class: content() }, h("div", { key: '9c833a877f81b34c53ff73378b799fad436e76fd', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '7ec87f298e4dda01ff689f877d436c726abef8a5', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '08c6c263d6ce9915b055fc24e4b0aca7d2b7bfc2', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: '111084df846674e17f00ec8c7902a099f05a1e58', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '660342af8a7f33cdd2495cf03fd54fe8923babc8', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
65
65
|
}
|
|
66
66
|
_onClick() {
|
|
67
67
|
if (this.enableAction) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.w-full{width:100%}.max-h-screen-safe{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}*{box-sizing:border-box}:host{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:100%;.safe-sidebar{padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important;&.show{--tw-translate-x:env(safe-area-inset-left,0)!important}}.safe-topbar{height:calc(env(safe-area-inset-top, 0) + 4rem);padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important}}@media (min-width:80rem){:host{width:15rem}}@media (min-width:105rem){:host{width:18rem}}@media (min-width:80rem){.layout-1280\:w-60{width:15rem}}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-navbar{z-index:300}.z-navbar-backdrop{z-index:290}.z-navbar-topbar{z-index:280}.flex{display:flex}.hidden{display:none}.h-screen{height:100vh}.w-60{width:15rem}.max-w-\[16\.5rem\]{max-width:16.5rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x:-100%;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))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-6{gap:1.5rem}.overflow-y-auto{overflow-y:auto}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.will-change-transform{will-change:transform}@media (min-width:80rem){.layout-1280\:relative{position:relative}.layout-1280\:z-0{z-index:0}.layout-1280\:hidden{display:none}.layout-1280\:h-full{height:100%}.layout-1280\:max-w-none{max-width:none}.layout-1280\:translate-x-0{--tw-translate-x:0px;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))}}.dark\:border-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\:border-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}
|
|
1
|
+
.w-full{width:100%}.max-h-screen-safe{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom))}*{box-sizing:border-box}:host{max-height:calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));width:100%;.safe-sidebar{padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important;&.show{--tw-translate-x:env(safe-area-inset-left,0)!important}}.safe-topbar{height:calc(env(safe-area-inset-top, 0) + 4rem);padding-top:calc(env(safe-area-inset-top, 0) + 1rem)!important}}@media (min-width:80rem){:host{width:15rem}}@media (min-width:105rem){:host{width:18rem}}@media (min-width:80rem){.layout-1280\:w-60{width:15rem}}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.relative{position:relative}.left-0{left:0}.top-0{top:0}.z-navbar{z-index:300}.z-navbar-backdrop{z-index:290}.z-navbar-topbar{z-index:280}.mt-auto{margin-top:auto}.flex{display:flex}.hidden{display:none}.h-screen{height:100vh}.w-60{width:15rem}.max-w-\[16\.5rem\]{max-width:16.5rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-x-full{--tw-translate-x:-100%;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))}.transform-gpu{transform:translate3d(var(--tw-translate-x),var(--tw-translate-y),0) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.gap-6{gap:1.5rem}.overflow-y-auto{overflow-y:auto}.border-0{border-width:0}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-solid{border-style:solid}.border-off-white-700{--tw-border-opacity:1;border-color:rgb(222 219 213/var(--tw-border-opacity,1))}.bg-off-white-300{--tw-bg-opacity:1;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.opacity-0{opacity:0}.opacity-100{opacity:1}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.will-change-transform{will-change:transform}@media (min-width:80rem){.layout-1280\:relative{position:relative}.layout-1280\:z-0{z-index:0}.layout-1280\:flex{display:flex}.layout-1280\:hidden{display:none}.layout-1280\:h-full{height:100%}.layout-1280\:max-w-none{max-width:none}.layout-1280\:translate-x-0{--tw-translate-x:0px;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))}}.dark\:border-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\:border-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}
|
|
@@ -4,13 +4,13 @@ import { ThemedHost } from "../../../internal/themed-host.component";
|
|
|
4
4
|
const sidebarAndTopbar = cva([
|
|
5
5
|
'transition',
|
|
6
6
|
`
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
bg-off-white-300
|
|
8
|
+
dark:bg-hurricane-800
|
|
9
|
+
`,
|
|
10
10
|
`
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
border-0 border-solid border-off-white-700
|
|
12
|
+
dark:border-hurricane-500
|
|
13
|
+
`,
|
|
14
14
|
'p-4',
|
|
15
15
|
]);
|
|
16
16
|
const sidebar = cva([
|
|
@@ -18,16 +18,16 @@ const sidebar = cva([
|
|
|
18
18
|
'fixed left-0 top-0 z-navbar h-screen w-60',
|
|
19
19
|
'w-full max-w-[16.5rem]',
|
|
20
20
|
`
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
layout-1280:relative layout-1280:z-0 layout-1280:h-full
|
|
22
|
+
layout-1280:max-w-none
|
|
23
|
+
`,
|
|
24
24
|
'gap-6',
|
|
25
25
|
'transition-all',
|
|
26
26
|
'will-change-transform',
|
|
27
27
|
`
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
-translate-x-full transform-gpu
|
|
29
|
+
layout-1280:translate-x-0
|
|
30
|
+
`,
|
|
31
31
|
'border-r',
|
|
32
32
|
'safe-sidebar',
|
|
33
33
|
], {
|
|
@@ -47,9 +47,9 @@ const topbar = cva([
|
|
|
47
47
|
]);
|
|
48
48
|
const backdrop = cva([
|
|
49
49
|
`
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
relative z-navbar-backdrop transition-opacity
|
|
51
|
+
layout-1280:hidden
|
|
52
|
+
`,
|
|
53
53
|
], {
|
|
54
54
|
variants: {
|
|
55
55
|
show: {
|
|
@@ -61,7 +61,7 @@ const backdrop = cva([
|
|
|
61
61
|
export class Navbar {
|
|
62
62
|
_show = false;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: '814b399715eba8a9f4c81ed550431b8b3cc29d39' }, h("p-backdrop", { key: '59c99e5c8ce0dbacae386da8ceb4a7a23b4778bd', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '815fcb1b40cfdbe3a4bd47676b374254073254df', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'a078f18dcc8885db9bd3661cc227adccaf30b8c1', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: 'be1fbb0ee3d1455f4af3b5399a52c38a760ddb1f', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: 'c4b1d03bb1c5fd109b99e3d587873b3f47ab1350', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: 'a981dbc4d887d420cb8b5c7c69fee4795cb07272', name: 'company' })), h("div", { key: '035880f4bb9d321c3d4f9d5fb6df34191ba1be13', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '0d75492d278db82db0a62a4717c94df59a02349c', name: 'content' })), h("div", { key: '66e0a56030477a2e3c8b1706f698114e85b88fe6', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '7ad2e2db299e914b8977f8c300d636d317c06741', name: 'user' }))), h("div", { key: '70be960e812e2b4904a3045193ca16fc2391e4a6', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '19b70f87d40558f633d5d9d8b42b60ba4c999826', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: 'c980989054dc51e2e54bf5d032895e297742fe61', name: 'topbar' }))));
|
|
65
65
|
}
|
|
66
66
|
handleCloseNavbar() {
|
|
67
67
|
this._show = false;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,p as e,H as r,c as a,h as i}from"./p-CySg37XO.js";import{c as o}from"./p-CBWjHURv.js";import{T as s}from"./p-Au2WuEGF.js";import{a as n}from"./p-C5CTp9IA.js";import{c as d}from"./p-xs4N_Y-0.js";import{n as h}from"./p-D9kEjsvZ.js";import{d as l}from"./p-AkD55vN_.js";import{d as c}from"./p-Cr_WB0kg.js";import{d as p}from"./p-SYK2C-7G.js";import{d as w}from"./p-aZcUXH1b.js";import{d as m}from"./p-D8faiybE.js";import{d as b}from"./p-2yaxaWU2.js";const u=o(["flex gap-2","w-inherit","rounded-lg border-solid","relative"],{variants:{variant:{read:"flex-wrap items-start hyphens-auto break-normal border-0 leading-6",write:"border px-2"},size:{sm:null,base:null},disabled:{false:null,true:null},focused:{false:null,true:null},error:{false:null,true:null},isTextarea:{false:null,true:"items-start"}},compoundVariants:[{size:"sm",variant:"write",isTextarea:!1,class:"h-6"},{size:"base",variant:"write",isTextarea:!1,class:"h-8"},{size:"sm",variant:"read",class:"min-h-4 text-xs"},{size:"base",variant:"read",class:"min-h-5 text-sm"},{variant:"write",focused:!1,error:!1,class:"\n border-storm-100\n dark:border-hurricane-400\n "},{variant:"write",disabled:!1,focused:!0,error:!1,class:"\n border-indigo-600 ring ring-indigo-100\n selection:bg-indigo-500\n dark:ring-0\n "},{variant:"write",disabled:!1,class:"\n bg-white\n dark:bg-hurricane-500\n "},{variant:"write",disabled:!0,class:"\n cursor-not-allowed bg-white-600\n dark:border-hurricane-500 dark:bg-hurricane-600\n "},{disabled:!1,error:!0,class:"border-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"\n ring ring-negative-red-50\n selection:bg-negative-red-50\n dark:ring-0\n "}]}),g=o(["\n text-sm\n placeholder:text-sm placeholder:text-storm-500/40\n dark:placeholder:text-hurricane-200\n ","min-w-0 flex-1 border-none bg-transparent p-0","\n outline-none\n focus:outline-none\n ","font-geist"],{variants:{isTextarea:{false:"h-full",true:"mt-1"},disabled:{false:null,true:"cursor-not-allowed"},error:{false:"\n text-storm-500\n dark:text-white\n ",true:"text-negative-red-500"}}}),f=o(["flex flex-shrink-0 items-center justify-center text-center"],{variants:{variant:{read:"leading-6",write:null},disabled:{false:null,true:"\n text-storm-100\n dark:text-hurricane-400\n "},focused:{false:null,true:null},error:{false:null,true:null},isText:{false:null,true:"text-sm"},isTextarea:{false:null,true:"mt-2"}},compoundVariants:[{disabled:!1,focused:!1,error:!1,class:"\n text-storm-300\n dark:text-hurricane-200\n "},{disabled:!1,focused:!0,error:!1,class:"\n text-storm-500\n dark:text-white\n "},{disabled:!1,focused:!1,error:!0,class:"text-negative-red-500"},{disabled:!1,focused:!0,error:!0,class:"text-negative-red-800"}]}),x=e(class extends r{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.valueChange=a(this,"valueChange",3),this.inputRefChange=a(this,"inputRefChange",7),this.add=a(this,"add",3),this.enter=a(this,"enter",3),this._internals=this.attachInternals()}align="start";variant="write";id;size="base";type="text";properties={};prefix;suffix;icon;iconFlip;iconRotate;iconPosition="start";value;label;loading=!1;placeholder;helper;required=!0;showOptional=!0;showAddOnEmpty=!1;addText="Add";autofocus=!1;error;autoShowError=!0;errorPlacement;disabled=!1;focused=!1;forceShowTooltip=!1;selectAllOnFocus=!0;focusMethod="focus";optionalTemplate;valueChange;inputRefChange;add;enter;get _el(){return this}_focused=!1;_nonce=h(5);_internals;_inputRef;_lastValue;componentDidLoad(){this._checkAutoFocus()}formResetCallback(){this.value=null,this.valueChange.emit(null)}formDisabledCallback(t){this._internals.form&&(this.disabled=t)}render(){const{id:t,prefix:e,suffix:r,hasHeaderSlot:a,hasLabelSlot:o,hasHelperSlot:h,hasErrorSlot:l,hasValueSlot:c}=this._getSlotInfo();return i(s,{key:"d957c15ac5c4fd277a79716e8f7644be5b7e413e"},i("p-field-container",{key:"4ec3f19bf0e3336b652add8730974d890deaf1bc",align:this.align,error:this.error,forceShowTooltip:!!this.error?.length&&!this._focused&&this.autoShowError||!!this.error?.length&&this.forceShowTooltip,helper:this.helper,id:t,label:this.label,loading:this.loading,loadingSize:this.size,required:this.required,showOptional:this.showOptional,variant:this.variant},o&&i("slot",{key:"74c5bf652fa519804b802cb930b764a62a7991aa",name:"label",slot:"label"}),a&&i("slot",{key:"f63069722b80fab8c262646787de0cfda2479def",name:"header",slot:"header"}),h&&i("slot",{key:"3045c36ea36e2d9b81b1fe31955237162ba50c62",name:"helper",slot:"helper"}),l&&i("slot",{key:"a9fe88d52f8f71ad09d1e2dbd3d0d42818ae64e9",name:"error",slot:"error"}),i("div",{key:"805fc95477292dcf8404eb5f206bbfd576431dd2",class:u({error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,size:this.size,variant:this.variant,isTextarea:"textarea"===this.type}),slot:"content",title:"read"!==this.variant||c?void 0:`${this.value}`},(this.error?.length||e||this.icon&&"start"===this.iconPosition)&&i("div",{key:"41d8592d1683e02c23742e3fcae5f198e5dac18e",class:f({variant:this.variant,error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,isText:"string"==typeof r,isTextarea:"textarea"===this.type}),onClick:()=>this._focusInput()},this.icon&&"start"===this.iconPosition||this.error?.length?i("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.error?.length?"warning":this.icon}):e),this._getContent(c,t),(r||this.icon&&"end"===this.iconPosition)&&i("div",{key:"696e95bfe4ee145a02e4de13f697a01b62bb2678",class:f({variant:this.variant,error:!!this.error?.length,disabled:n(this.disabled),focused:n(this.focused)||this._focused,isText:"string"==typeof r,isTextarea:"textarea"===this.type}),onClick:()=>this._focusInput()},this.icon&&"end"===this.iconPosition?i("p-icon",{class:d("flex",{"mt-1":"read"===this.variant&&"base"===this.size}),flip:this.iconFlip,rotate:this.iconRotate,variant:this.icon}):r))))}watchvalue(t){this._inputRef&&t!==this._lastValue&&(this._lastValue=t,this._inputRef.value=t)}handleFocusIn(){this.disabled||(this._focused=!0,this._selectAll())}handleFocusOut(){this.disabled||(this._focused=!1)}handleKeyup(t){this.disabled?t.preventDefault():this._internals?.form&&"textarea"!==this.type&&"Enter"===t.key&&this._internals.form.requestSubmit()}handleKeydown(t){this.disabled||"Enter"===t.key&&this.enter.emit(this.value)}_getSlotInfo(){const t=!!this._el.querySelector(':scope > [slot="helper"]'),e=!!this._el.querySelector(':scope > [slot="label"]'),r=!!this._el.querySelector(':scope > [slot="prefix"]'),a=!!this._el.querySelector(':scope > [slot="suffix"]'),o=!!this._el.querySelector(':scope > [slot="header"]'),s=!!this._el.querySelector(':scope > [slot="error"]'),n=!!this._el.querySelector(':scope > [slot="value"]'),d=r?i("slot",{name:"prefix"}):this.prefix,h=a?i("slot",{name:"suffix"}):this.suffix,l=this.error&&"string"==typeof this.error&&"true"!==this.error;return{id:this.id?.length?this.id:this._nonce,hasHelperSlot:t,hasLabelSlot:e,hasPrefixSlot:r,hasSuffixSlot:a,hasHeaderSlot:o,hasErrorSlot:s,hasValueSlot:n,prefix:d,suffix:h,errorAndErrorIsNotBoolean:l}}_getContent(t=!1,e){if("read"===this.variant)return t?i("slot",{name:"value"}):this.value&&`${this.value}`.length>0?this.value:this.showAddOnEmpty?i("p-button",{icon:"plus",size:"sm",variant:"text",onClick:()=>this.add.emit()},this.addText):"—";if("slot"===this.type)return i("slot",{name:"input"});const r={id:e,class:g({disabled:n(this.disabled),isTextarea:"textarea"===this.type,error:!!this.error?.length}),value:this.value,placeholder:this.placeholder,disabled:this.disabled,onInput:t=>this._valueChange(t)};let a=this.properties??{};return"string"==typeof a&&(a=JSON.parse(this.properties)),"textarea"===this.type?i("textarea",{ref:t=>this._setInputRef(t),...r,...a}):i("input",{ref:t=>this._setInputRef(t),type:this.type,...r,...a})}_setInputRef(t){this._inputRef=t,this.inputRefChange.emit(t)}_focusInput(){this._inputRef?this._inputRef.focus():this._el.querySelector(':scope > [slot="input"]')[this.focusMethod]()}_selectAll(){this._inputRef&&this.selectAllOnFocus&&this._inputRef.select()}_valueChange(t){t.stopPropagation();const e=t.originalTarget??t.target,r=e.value;this._lastValue=r,this.value=r,this.valueChange.emit(r),this._internals.setFormValue(e.value)}_checkAutoFocus(){this.autofocus&&(this._inputRef?this._focusInput():setTimeout((()=>this._checkAutoFocus()),100))}static get formAssociated(){return!0}static get watchers(){return{value:[{watchvalue:0}]}}static get style(){return"*{box-sizing:border-box}:host{input[type=number]{-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;display:none}}.static{position:static}.relative{position:relative}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-4{min-height:1rem}.min-h-5{min-height:1.25rem}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.hyphens-auto{hyphens:auto}.break-normal{overflow-wrap:normal;word-break:normal}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-solid{border-style:solid}.border-none{border-style:none}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.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))}.p-0{padding:0}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.font-geist{font-family:Geist,serif}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.leading-6{line-height:1.5rem}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/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))}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--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(3px + 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)}.ring-indigo-100{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.ring-negative-red-50{--tw-ring-opacity:1;--tw-ring-color:rgb(253 237 237/var(--tw-ring-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}}.selection\\:bg-indigo-500 ::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50 ::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.selection\\:bg-indigo-500::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.placeholder\\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\\:text-storm-500\\/40::placeholder{color:rgba(24,30,41,.4)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(54 60 70/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\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0: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\\:placeholder\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(54 60 70/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\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0: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\\:placeholder\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}"}},[833,"p-field",{align:[1],variant:[1],id:[1],size:[1],type:[1],properties:[8],prefix:[1],suffix:[1],icon:[1],iconFlip:[1,"icon-flip"],iconRotate:[2,"icon-rotate"],iconPosition:[1,"icon-position"],value:[8],label:[1],loading:[4],placeholder:[1],helper:[1],required:[516],showOptional:[516,"show-optional"],showAddOnEmpty:[516,"show-add-on-empty"],addText:[513,"add-text"],autofocus:[516],error:[513],autoShowError:[516,"auto-show-error"],errorPlacement:[1,"error-placement"],disabled:[516],focused:[516],forceShowTooltip:[516,"force-show-tooltip"],selectAllOnFocus:[516,"select-all-on-focus"],focusMethod:[1,"focus-method"],optionalTemplate:[16],_focused:[32],_nonce:[32]},[[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"],[2,"keyup","handleKeyup"],[2,"keydown","handleKeydown"]],{value:[{watchvalue:0}]}]);function v(){"undefined"!=typeof customElements&&["p-field","p-button","p-field-container","p-helper","p-icon","p-loader","p-tooltip"].forEach((e=>{switch(e){case"p-field":customElements.get(t(e))||customElements.define(t(e),x);break;case"p-button":customElements.get(t(e))||l();break;case"p-field-container":customElements.get(t(e))||c();break;case"p-helper":customElements.get(t(e))||p();break;case"p-icon":customElements.get(t(e))||w();break;case"p-loader":customElements.get(t(e))||m();break;case"p-tooltip":customElements.get(t(e))||b()}}))}v();export{x as F,v as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,p as e,H as a,c as r,h as o}from"./p-CySg37XO.js";import{a as i,c as s,o as n,f as h,s as d}from"./p-CeBIrPPx.js";import{c}from"./p-CBWjHURv.js";import{T as p}from"./p-Au2WuEGF.js";const l=c(["inline-block px-2","text-xs","opacity-0 drop-shadow-3 transition-opacity","rounded-lg","z-tooltip","pointer-events-none"],{variants:{variant:{hover:"\n max-w-[14.5rem] bg-storm-500 py-1 text-white\n dark:bg-white dark:text-storm-300\n ",click:"max-w-[18rem]",error:"w-full max-w-full"},strategy:{fixed:"fixed",absolute:"absolute"}},compoundVariants:[{variant:["hover","click"],class:"w-max"},{variant:["click","error"],class:"\n bg-white py-2 text-storm-300\n dark:bg-hurricane-800 dark:text-hurricane-200\n "}]}),b=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.isOpen=r(this,"isOpen",3)}variant="hover";content;placement;offset=8;strategy="absolute";enableUserInput=!0;show=!1;canManuallyClose=!0;isOpen;get _el(){return this}_hasContentSlot=!1;_loaded=!1;_popover;_cleanup;componentWillLoad(){this._hasContentSlot=!!this._el.querySelector(':scope > [slot="content"]')}componentShouldUpdate(){this._update()}disconnectedCallback(){this._cleanup&&(this._cleanup(),this._cleanup=null)}render(){return o(p,{key:"d6eed2d0ae314f5bc0c956df0360c7c3affe5349","data-filled":this.content?.length>0||this._hasContentSlot},o("slot",{key:"68a50b13f23fbb9ff40b83d6a1f1cbad56a12add",name:"trigger"}),o("div",{key:"6d4726e4663fe88a8758485c55ee003fca9e9c59",class:l({variant:this.variant,strategy:this.strategy}),"data-placement":this.placement,ref:t=>this._load(t),role:"popover"},o("div",{key:"9ded5ee86411c2d35b3ef4b75894740b5a9db814",class:"flex gap-2 whitespace-normal"},"error"===this.variant&&o("div",{key:"fe330950d9662c415e99d1594581c096b5210cd7",class:"\n w-[2px] bg-negative-red-500\n dark:bg-negative-red-alternative\n "}),this.content??o("slot",{key:"9ec941819d62d3fcca4edf9262d704644fb0f294",name:"content"}))))}clickHandler(){"hover"!==this.variant&&this.enableUserInput&&this._popover&&(Object.hasOwn(this._popover.dataset,"show")||this._show())}documentClickHandler(){"hover"!==this.variant&&this.canManuallyClose&&!this.show&&this._popover&&Object.hasOwn(this._popover.dataset,"show")&&this._hide()}mouseEnterHandler(){"hover"===this.variant&&this.enableUserInput&&this._show()}mouseLeaveHandler(){!this.show&&"hover"===this.variant&&this.enableUserInput&&this._hide()}onShowChange(t){if(this._popover)return t&&!Object.hasOwn(this._popover.dataset,"show")?this._show():this._hide()}onContentChange(t){!t||t.length>0||this._hide()}_show(){this._loaded&&(this.content?.length||this._hasContentSlot?(this._cleanup=i(this._el,this._popover,(()=>this._update())),this._popover.dataset.show="",this._popover.classList.remove("opacity-0","pointer-events-none"),this._popover.classList.add("opacity-100","pointer-events-auto"),this.isOpen.emit(!0)):Object.hasOwn(this._popover.dataset,"show")&&this._hide())}_hide(){this._loaded&&(this._cleanup&&(this._cleanup(),this._cleanup=null),delete this._popover.dataset.show,this._popover.classList.remove("opacity-100","pointer-events-auto"),this._popover.classList.add("opacity-0","pointer-events-none"),this.isOpen.emit(!1))}_load(t){this._popover=t,t&&(this._update(),this._loaded=!0,this.show&&setTimeout((()=>this._show()),100))}_update(){this._popover&&s(this._el,this._popover,{placement:"error"!==this.variant||this.placement?this.placement??"top":"bottom-start",strategy:this.strategy,middleware:[n(this.offset),h(),d()]}).then((({x:t,y:e,placement:a})=>{this._popover.dataset.placement=a,Object.assign(this._popover.style,{top:`${e}px`,left:`${t}px`})}))}static get watchers(){return{show:[{onShowChange:0}],content:[{onContentChange:0}]}}static get style(){return".relative{position:relative}.h-inherit{height:inherit}.w-inherit{width:inherit}*{box-sizing:border-box}:host{height:inherit;max-width:100%;position:relative;width:inherit}:host([data-filled]){cursor:pointer}:host(:not([data-filled])){cursor:auto}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.z-tooltip{z-index:400}.inline-block{display:inline-block}.flex{display:flex}.w-\\[2px\\]{width:2px}.w-full{width:100%}.w-max{width:max-content}.max-w-\\[14\\.5rem\\]{max-width:14.5rem}.max-w-\\[18rem\\]{max-width:18rem}.max-w-full{max-width:100%}.gap-2{gap:.5rem}.whitespace-normal{white-space:normal}.rounded-lg{border-radius:.5rem}.bg-negative-red-500{--tw-bg-opacity:1;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))}.bg-storm-500{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.blur{--tw-blur:blur(8px)}.blur,.drop-shadow-3{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)}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-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-storm-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\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))}.dark\\:bg-white:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-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-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}"}},[769,"p-tooltip",{variant:[1],content:[1],placement:[1],offset:[2],strategy:[1],enableUserInput:[4,"enable-user-input"],show:[4],canManuallyClose:[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]],{show:[{onShowChange:0}],content:[{onContentChange:0}]}]);function w(){"undefined"!=typeof customElements&&["p-tooltip"].forEach((e=>{"p-tooltip"===e&&(customElements.get(t(e))||customElements.define(t(e),b))}))}w();export{b as T,w as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t,p as e,H as a,c as r,h as o}from"./p-CySg37XO.js";import{c as s}from"./p-CBWjHURv.js";import{T as c}from"./p-Au2WuEGF.js";import{d as i}from"./p-AkD55vN_.js";import{d as l}from"./p-aZcUXH1b.js";import{d}from"./p-D8faiybE.js";import{d as n}from"./p-CHER4MCx.js";const b=s(["\n relative z-[1] w-full flex-col overflow-hidden rounded-t-2xl bg-white\n dark:bg-hurricane-600\n ","inline-flex aspect-[7/1] max-h-28"]),p=s(["flex justify-end","h-12 w-full p-4 pb-0"]),h=s(["flex-1 text-center","w-[calc(100%-7rem)]","absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2","\n text-ambit text-2xl font-bold text-storm-500\n dark:text-white\n "]),m=e(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.close=r(this,"close",3)}showClose=!0;close;render(){return o(c,{key:"dbb51f33774127b65d699fba9053651fd98509bb"},o("div",{key:"b3d864bbf0b006ce7247c282f889c4500bb6c379",class:b()},o("div",{key:"d8b71c2d987b85e946b4c49372561290ff1ae54d",class:p()},o("div",{key:"acb36bfe313501f90a9f034de27cbcc2909d1256",class:h()},o("slot",{key:"4a7b12ebae3fbe321a47a9e0e00572b3e2bc01bc"})),this.showClose&&o("p-button",{key:"069df47301c8ce0790ca61d8141f21fcc3191258",icon:"negative",iconOnly:!0,variant:"secondary",onClick:t=>this.close.emit(t)})),o("p-smile",{key:"ab9cdfc56527962b7414b574fde67dbb4c046f29",class:"dark:text-hurricane-400"})))}static get style(){return"*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.z-\\[1\\]{z-index:1}.flex{display:flex}.inline-flex{display:inline-flex}.aspect-\\[7\\/1\\]{aspect-ratio:7/1}.h-12{height:3rem}.max-h-28{max-height:7rem}.w-\\[calc\\(100\\%-7rem\\)\\]{width:calc(100% - 7rem)}.w-full{width:100%}.flex-1{flex:1 1 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%}.flex-col{flex-direction:column}.justify-end{justify-content:flex-end}.overflow-hidden{overflow:hidden}.rounded-t-2xl{border-top-left-radius:1rem;border-top-right-radius:1rem}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.pb-0{padding-bottom:0}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.font-bold{font-weight:700}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}"}},[769,"p-modal-header",{showClose:[4,"show-close"]}]);function f(){"undefined"!=typeof customElements&&["p-modal-header","p-button","p-icon","p-loader","p-smile"].forEach((e=>{switch(e){case"p-modal-header":customElements.get(t(e))||customElements.define(t(e),m);break;case"p-button":customElements.get(t(e))||i();break;case"p-icon":customElements.get(t(e))||l();break;case"p-loader":customElements.get(t(e))||d();break;case"p-smile":customElements.get(t(e))||n()}}))}f();export{m as M,f as d}
|