@paperless/core 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/p-0686342c.entry.js +1 -0
- package/dist/build/p-0fe16faa.entry.js +1 -0
- package/dist/build/p-17c4c0c5.entry.js +1 -0
- package/dist/build/{p-392c5c95.js → p-2416d737.js} +1 -1
- package/dist/build/p-3d756173.entry.js +1 -0
- package/dist/build/p-4cff56e8.entry.js +1 -0
- package/dist/build/p-4d137a6e.entry.js +1 -0
- package/dist/build/p-5770dbc8.entry.js +1 -0
- package/dist/build/p-5831f1c7.entry.js +1 -0
- package/dist/build/p-58b45104.entry.js +1 -0
- package/dist/build/p-5d0011d0.entry.js +1 -0
- package/dist/build/p-5eba855f.entry.js +1 -0
- package/dist/build/p-6ba2d6db.entry.js +1 -0
- package/dist/build/p-6e4149f4.entry.js +1 -0
- package/dist/build/p-725b81df.entry.js +1 -0
- package/dist/build/p-79648998.entry.js +1 -0
- package/dist/build/p-7c4a912a.entry.js +1 -0
- package/dist/build/p-7d972093.entry.js +1 -0
- package/dist/build/p-7dbbee4d.entry.js +1 -0
- package/dist/build/p-8b383bce.entry.js +1 -0
- package/dist/build/p-8b7970c3.entry.js +1 -0
- package/dist/build/p-8c62ce07.entry.js +1 -0
- package/dist/build/p-90837322.entry.js +1 -0
- package/dist/build/p-90ae5ad7.entry.js +1 -0
- package/dist/build/p-93dcdeda.entry.js +1 -0
- package/dist/build/p-a2826b34.entry.js +1 -0
- package/dist/build/p-a7d84ee9.entry.js +1 -0
- package/dist/build/p-ad4bf0a8.entry.js +1 -0
- package/dist/build/p-aebdd434.entry.js +1 -0
- package/dist/build/p-aed1fd15.entry.js +1 -0
- package/dist/build/p-baa9f32b.entry.js +1 -0
- package/dist/build/p-c465f763.entry.js +1 -0
- package/dist/build/p-c5120c4d.entry.js +1 -0
- package/dist/build/p-c6d53712.entry.js +1 -0
- package/dist/build/p-c795bde9.entry.js +1 -0
- package/dist/{paperless/p-2f9a3144.entry.js → build/p-c96befa1.entry.js} +2 -2
- package/dist/build/p-ce369eb2.entry.js +1 -0
- package/dist/build/p-ce822727.entry.js +1 -0
- package/dist/build/p-e17c452a.entry.js +1 -0
- package/dist/build/p-eb201a9b.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +20 -20
- package/dist/cjs/p-avatar.cjs.entry.js +4 -4
- package/dist/cjs/p-backdrop.cjs.entry.js +13 -13
- package/dist/cjs/p-badge_3.cjs.entry.js +23 -23
- package/dist/cjs/p-button_3.cjs.entry.js +74 -74
- package/dist/cjs/p-calendar.cjs.entry.js +8 -8
- package/dist/cjs/p-card-container.cjs.entry.js +12 -12
- package/dist/cjs/p-card-header.cjs.entry.js +7 -7
- package/dist/cjs/p-checkbox_3.cjs.entry.js +39 -39
- package/dist/cjs/p-content-slider.cjs.entry.js +12 -12
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +3 -3
- package/dist/cjs/p-divider.cjs.entry.js +18 -18
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +15 -16
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +77 -77
- package/dist/cjs/p-empty-state_8.cjs.entry.js +54 -56
- package/dist/cjs/p-field_3.cjs.entry.js +51 -51
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +13 -13
- package/dist/cjs/p-info-panel.cjs.entry.js +39 -39
- package/dist/cjs/p-label.cjs.entry.js +11 -12
- package/dist/cjs/p-layout.cjs.entry.js +4 -4
- package/dist/cjs/p-listing-item.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +31 -31
- package/dist/cjs/p-navbar.cjs.entry.js +17 -17
- package/dist/cjs/p-navigation-item.cjs.entry.js +15 -15
- package/dist/cjs/p-navigation-title.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +12 -12
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +31 -31
- package/dist/cjs/p-range.cjs.entry.js +4 -4
- package/dist/cjs/p-select.cjs.entry.js +17 -17
- package/dist/cjs/p-smile.cjs.entry.js +4 -4
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +16 -16
- package/dist/cjs/p-tab-container.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js +17 -17
- package/dist/cjs/p-toast-container.cjs.entry.js +7 -7
- package/dist/cjs/p-toast.cjs.entry.js +14 -14
- package/dist/cjs/p-toggle.cjs.entry.js +48 -48
- package/dist/cjs/p-tooltip.cjs.entry.js +9 -9
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +4 -4
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +13 -13
- package/dist/collection/components/atoms/badge/badge.component.js +7 -7
- package/dist/collection/components/atoms/card/container/card-container.component.js +12 -12
- package/dist/collection/components/atoms/card/header/card-header.component.css +1 -1
- package/dist/collection/components/atoms/card/header/card-header.component.js +6 -6
- package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +38 -38
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +17 -17
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +8 -9
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +7 -7
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +60 -60
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +12 -12
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +38 -38
- package/dist/collection/components/atoms/layout/layout.component.js +4 -4
- package/dist/collection/components/atoms/listing/item/listing-item.component.css +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/loader/loader.component.js +6 -6
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +11 -11
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +11 -11
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.css +1 -1
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +7 -7
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.css +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +17 -17
- package/dist/collection/components/atoms/radio/radio.component.css +1 -1
- package/dist/collection/components/atoms/radio/radio.component.js +30 -30
- package/dist/collection/components/atoms/segment/container/segment-container.component.css +1 -1
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +14 -14
- package/dist/collection/components/atoms/smile/smile.component.js +4 -4
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +16 -16
- package/dist/collection/components/atoms/tab/container/tab-container.component.css +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +17 -17
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +6 -6
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +7 -7
- package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.js +47 -47
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +8 -8
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +19 -19
- package/dist/collection/components/molecules/button/button.component.js +68 -68
- package/dist/collection/components/molecules/calendar/calendar.component.js +8 -8
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +12 -12
- package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/empty-state/empty-state.component.css +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +1 -1
- package/dist/collection/components/molecules/field/container/field-container.component.css +1 -1
- package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
- package/dist/collection/components/molecules/field/field/field.component.js +40 -40
- package/dist/collection/components/molecules/label/label.component.js +11 -12
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +15 -15
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.css +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +1 -1
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +10 -10
- package/dist/collection/components/molecules/profile/profile.component.css +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.css +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.css +1 -1
- package/dist/collection/components/molecules/select/select.component.js +16 -16
- package/dist/collection/components/molecules/table/cell/table-cell.component.css +1 -1
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +9 -9
- package/dist/collection/components/molecules/table/header/table-header.component.css +1 -1
- package/dist/collection/components/molecules/table/header/table-header.component.js +22 -24
- package/dist/collection/components/molecules/table/row/table-row.component.js +13 -13
- package/dist/collection/components/molecules/toast/toast.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +13 -13
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +16 -16
- package/dist/components/p-5uHCPmGk.js +1 -0
- package/dist/components/{p-BEhC6raw.js → p-B4eE9yEE.js} +1 -1
- package/dist/components/p-BHiyb8ip.js +1 -0
- package/dist/components/p-BNP0EWBh.js +1 -0
- package/dist/components/p-Bda4K1Yk.js +1 -0
- package/dist/components/p-BeSy-okV.js +1 -0
- package/dist/components/{p-B-BsxOeK.js → p-BfGdPBSg.js} +1 -1
- package/dist/components/p-Bs0UbjiW.js +1 -0
- package/dist/components/p-C31KuY0d.js +1 -0
- package/dist/components/p-C7N1zgx3.js +1 -0
- package/dist/components/{p-DT72kk3I.js → p-CDu0amfB.js} +1 -1
- package/dist/components/p-CE8E8FBm.js +1 -0
- package/dist/components/p-CJJ1D4_g.js +1 -0
- package/dist/components/p-CQvBODGb.js +1 -0
- package/dist/components/p-CTO6yoKa.js +1 -0
- package/dist/components/p-Cb4CJncP.js +1 -0
- package/dist/components/p-CeTgyWQk.js +1 -0
- package/dist/components/p-Cfo-JRkk.js +1 -0
- package/dist/components/p-Chn3zUDI.js +1 -0
- package/dist/components/p-Cjm1FJmm.js +1 -0
- package/dist/components/p-Cs7yJK6D.js +1 -0
- package/dist/components/p-Cu6GBVmu.js +1 -0
- package/dist/components/p-CunBMmUT.js +1 -0
- package/dist/components/p-CxCtRzMh.js +1 -0
- package/dist/components/p-CyNjpuPx.js +1 -0
- package/dist/components/p-DIyH3jA1.js +1 -0
- package/dist/components/p-DeBYujHG.js +1 -0
- package/dist/components/p-DetQXQMw.js +1 -0
- package/dist/components/p-Dgla_G75.js +1 -0
- package/dist/components/p-DozUOKTG.js +1 -0
- package/dist/components/p-Fr1e2Ydf.js +1 -0
- package/dist/components/p-TRbYWjl9.js +1 -0
- package/dist/components/p-Tct8krSb.js +1 -0
- package/dist/components/p-UHCQc1G8.js +1 -0
- package/dist/components/p-YSzGS0Cj.js +1 -0
- package/dist/components/p-_KqQOKJS.js +1 -0
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-ezohBi3D.js +1 -0
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-loader.js +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-radio.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/p-attachment.entry.js +20 -20
- package/dist/esm/p-avatar.entry.js +4 -4
- package/dist/esm/p-backdrop.entry.js +13 -13
- package/dist/esm/p-badge_3.entry.js +23 -23
- package/dist/esm/p-button_3.entry.js +74 -74
- package/dist/esm/p-calendar.entry.js +8 -8
- package/dist/esm/p-card-container.entry.js +12 -12
- package/dist/esm/p-card-header.entry.js +7 -7
- package/dist/esm/p-checkbox_3.entry.js +39 -39
- package/dist/esm/p-content-slider.entry.js +12 -12
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +3 -3
- package/dist/esm/p-divider.entry.js +18 -18
- package/dist/esm/p-drawer-body_3.entry.js +15 -16
- package/dist/esm/p-dropdown-menu-item_2.entry.js +77 -77
- package/dist/esm/p-empty-state_8.entry.js +54 -56
- package/dist/esm/p-field_3.entry.js +51 -51
- package/dist/esm/p-floating-menu-item.entry.js +13 -13
- package/dist/esm/p-info-panel.entry.js +39 -39
- package/dist/esm/p-label.entry.js +11 -12
- package/dist/esm/p-layout.entry.js +4 -4
- package/dist/esm/p-listing-item.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +31 -31
- package/dist/esm/p-navbar.entry.js +17 -17
- package/dist/esm/p-navigation-item.entry.js +15 -15
- package/dist/esm/p-navigation-title.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +12 -12
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +31 -31
- package/dist/esm/p-range.entry.js +4 -4
- package/dist/esm/p-select.entry.js +17 -17
- package/dist/esm/p-smile.entry.js +4 -4
- package/dist/esm/p-stepper-item_2.entry.js +16 -16
- package/dist/esm/p-tab-container.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js +17 -17
- package/dist/esm/p-toast-container.entry.js +7 -7
- package/dist/esm/p-toast.entry.js +14 -14
- package/dist/esm/p-toggle.entry.js +48 -48
- package/dist/esm/p-tooltip.entry.js +9 -9
- package/dist/index.html +1 -1
- package/dist/paperless/p-0686342c.entry.js +1 -0
- package/dist/paperless/p-0fe16faa.entry.js +1 -0
- package/dist/paperless/p-17c4c0c5.entry.js +1 -0
- package/dist/paperless/p-3d756173.entry.js +1 -0
- package/dist/paperless/p-4cff56e8.entry.js +1 -0
- package/dist/paperless/p-4d137a6e.entry.js +1 -0
- package/dist/paperless/p-5770dbc8.entry.js +1 -0
- package/dist/paperless/p-5831f1c7.entry.js +1 -0
- package/dist/paperless/p-58b45104.entry.js +1 -0
- package/dist/paperless/p-5d0011d0.entry.js +1 -0
- package/dist/paperless/p-5eba855f.entry.js +1 -0
- package/dist/paperless/p-6ba2d6db.entry.js +1 -0
- package/dist/paperless/p-6e4149f4.entry.js +1 -0
- package/dist/paperless/p-725b81df.entry.js +1 -0
- package/dist/paperless/p-79648998.entry.js +1 -0
- package/dist/paperless/p-7c4a912a.entry.js +1 -0
- package/dist/paperless/p-7d972093.entry.js +1 -0
- package/dist/paperless/p-7dbbee4d.entry.js +1 -0
- package/dist/paperless/p-8b383bce.entry.js +1 -0
- package/dist/paperless/p-8b7970c3.entry.js +1 -0
- package/dist/paperless/p-8c62ce07.entry.js +1 -0
- package/dist/paperless/p-90837322.entry.js +1 -0
- package/dist/paperless/p-90ae5ad7.entry.js +1 -0
- package/dist/paperless/p-93dcdeda.entry.js +1 -0
- package/dist/paperless/p-a2826b34.entry.js +1 -0
- package/dist/paperless/p-a7d84ee9.entry.js +1 -0
- package/dist/paperless/p-ad4bf0a8.entry.js +1 -0
- package/dist/paperless/p-aebdd434.entry.js +1 -0
- package/dist/paperless/p-aed1fd15.entry.js +1 -0
- package/dist/paperless/p-baa9f32b.entry.js +1 -0
- package/dist/paperless/p-c465f763.entry.js +1 -0
- package/dist/paperless/p-c5120c4d.entry.js +1 -0
- package/dist/paperless/p-c6d53712.entry.js +1 -0
- package/dist/paperless/p-c795bde9.entry.js +1 -0
- package/dist/{build/p-2f9a3144.entry.js → paperless/p-c96befa1.entry.js} +2 -2
- package/dist/paperless/p-ce369eb2.entry.js +1 -0
- package/dist/paperless/p-ce822727.entry.js +1 -0
- package/dist/paperless/p-e17c452a.entry.js +1 -0
- package/dist/paperless/p-eb201a9b.entry.js +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/hydrate/index.js +749 -753
- package/hydrate/index.mjs +749 -753
- package/package.json +1 -1
- package/dist/build/p-099fed2a.entry.js +0 -1
- package/dist/build/p-0b4b4cf7.entry.js +0 -1
- package/dist/build/p-102da1de.entry.js +0 -1
- package/dist/build/p-16c98151.entry.js +0 -1
- package/dist/build/p-187a4dda.entry.js +0 -1
- package/dist/build/p-1b85b4f5.entry.js +0 -1
- package/dist/build/p-1be02ecd.entry.js +0 -1
- package/dist/build/p-1c6555d0.entry.js +0 -1
- package/dist/build/p-2a9e2f97.entry.js +0 -1
- package/dist/build/p-2c0ca302.entry.js +0 -1
- package/dist/build/p-2eb0963d.entry.js +0 -1
- package/dist/build/p-31869c91.entry.js +0 -1
- package/dist/build/p-33c965ed.entry.js +0 -1
- package/dist/build/p-33fc3203.entry.js +0 -1
- package/dist/build/p-3fec9b25.entry.js +0 -1
- package/dist/build/p-413e2751.entry.js +0 -1
- package/dist/build/p-4baa94c0.entry.js +0 -1
- package/dist/build/p-4cd9344a.entry.js +0 -1
- package/dist/build/p-5f2b2731.entry.js +0 -1
- package/dist/build/p-62f87c18.entry.js +0 -1
- package/dist/build/p-63ef1d8d.entry.js +0 -1
- package/dist/build/p-6412710a.entry.js +0 -1
- package/dist/build/p-6b1c18a6.entry.js +0 -1
- package/dist/build/p-748c6ed3.entry.js +0 -1
- package/dist/build/p-7be1c70d.entry.js +0 -1
- package/dist/build/p-7c4f3d89.entry.js +0 -1
- package/dist/build/p-8c1a3795.entry.js +0 -1
- package/dist/build/p-99522e10.entry.js +0 -1
- package/dist/build/p-aca48431.entry.js +0 -1
- package/dist/build/p-bcfbb856.entry.js +0 -1
- package/dist/build/p-d6958e7a.entry.js +0 -1
- package/dist/build/p-dbac42ad.entry.js +0 -1
- package/dist/build/p-df709c40.entry.js +0 -1
- package/dist/build/p-e00be7e7.entry.js +0 -1
- package/dist/build/p-e021a548.entry.js +0 -1
- package/dist/build/p-e2219fa7.entry.js +0 -1
- package/dist/build/p-ecc80c01.entry.js +0 -1
- package/dist/build/p-f13f7779.entry.js +0 -1
- package/dist/components/p-06SzeIsG.js +0 -1
- package/dist/components/p-2yaxaWU2.js +0 -1
- package/dist/components/p-48UlhVtz.js +0 -1
- package/dist/components/p-AkD55vN_.js +0 -1
- package/dist/components/p-B0rHem3C.js +0 -1
- package/dist/components/p-B9s4_6Vm.js +0 -1
- package/dist/components/p-BBAR0LE7.js +0 -1
- package/dist/components/p-BCddfleq.js +0 -1
- package/dist/components/p-BEu_Xlbv.js +0 -1
- package/dist/components/p-BaiRAcrb.js +0 -1
- package/dist/components/p-BmU3MAfH.js +0 -1
- package/dist/components/p-C16aqi4P.js +0 -1
- package/dist/components/p-CHER4MCx.js +0 -1
- package/dist/components/p-CcNA1hkp.js +0 -1
- package/dist/components/p-CpYDgn2m.js +0 -1
- package/dist/components/p-CrAZWi4n.js +0 -1
- package/dist/components/p-Cr_WB0kg.js +0 -1
- package/dist/components/p-Crasy6LB.js +0 -1
- package/dist/components/p-CxOhqNqH.js +0 -1
- package/dist/components/p-D5t-6wkl.js +0 -1
- package/dist/components/p-D8faiybE.js +0 -1
- package/dist/components/p-DDV-lx3_.js +0 -1
- package/dist/components/p-DP6H82uQ.js +0 -1
- package/dist/components/p-DR1auS78.js +0 -1
- package/dist/components/p-DWHcD5b-.js +0 -1
- package/dist/components/p-DlQumf-0.js +0 -1
- package/dist/components/p-DmzyuekN.js +0 -1
- package/dist/components/p-QJoR_dmN.js +0 -1
- package/dist/components/p-SYK2C-7G.js +0 -1
- package/dist/components/p-ShAy0ruV.js +0 -1
- package/dist/components/p-TfYQFmRD.js +0 -1
- package/dist/components/p-iLGr9rDU.js +0 -1
- package/dist/components/p-nGuULFe2.js +0 -1
- package/dist/components/p-qeQ4j6y4.js +0 -1
- package/dist/paperless/p-099fed2a.entry.js +0 -1
- package/dist/paperless/p-0b4b4cf7.entry.js +0 -1
- package/dist/paperless/p-102da1de.entry.js +0 -1
- package/dist/paperless/p-16c98151.entry.js +0 -1
- package/dist/paperless/p-187a4dda.entry.js +0 -1
- package/dist/paperless/p-1b85b4f5.entry.js +0 -1
- package/dist/paperless/p-1be02ecd.entry.js +0 -1
- package/dist/paperless/p-1c6555d0.entry.js +0 -1
- package/dist/paperless/p-2a9e2f97.entry.js +0 -1
- package/dist/paperless/p-2c0ca302.entry.js +0 -1
- package/dist/paperless/p-2eb0963d.entry.js +0 -1
- package/dist/paperless/p-31869c91.entry.js +0 -1
- package/dist/paperless/p-33c965ed.entry.js +0 -1
- package/dist/paperless/p-33fc3203.entry.js +0 -1
- package/dist/paperless/p-3fec9b25.entry.js +0 -1
- package/dist/paperless/p-413e2751.entry.js +0 -1
- package/dist/paperless/p-4baa94c0.entry.js +0 -1
- package/dist/paperless/p-4cd9344a.entry.js +0 -1
- package/dist/paperless/p-5f2b2731.entry.js +0 -1
- package/dist/paperless/p-62f87c18.entry.js +0 -1
- package/dist/paperless/p-63ef1d8d.entry.js +0 -1
- package/dist/paperless/p-6412710a.entry.js +0 -1
- package/dist/paperless/p-6b1c18a6.entry.js +0 -1
- package/dist/paperless/p-748c6ed3.entry.js +0 -1
- package/dist/paperless/p-7be1c70d.entry.js +0 -1
- package/dist/paperless/p-7c4f3d89.entry.js +0 -1
- package/dist/paperless/p-8c1a3795.entry.js +0 -1
- package/dist/paperless/p-99522e10.entry.js +0 -1
- package/dist/paperless/p-aca48431.entry.js +0 -1
- package/dist/paperless/p-bcfbb856.entry.js +0 -1
- package/dist/paperless/p-d6958e7a.entry.js +0 -1
- package/dist/paperless/p-dbac42ad.entry.js +0 -1
- package/dist/paperless/p-df709c40.entry.js +0 -1
- package/dist/paperless/p-e00be7e7.entry.js +0 -1
- package/dist/paperless/p-e021a548.entry.js +0 -1
- package/dist/paperless/p-e2219fa7.entry.js +0 -1
- package/dist/paperless/p-ecc80c01.entry.js +0 -1
- package/dist/paperless/p-f13f7779.entry.js +0 -1
|
@@ -65,9 +65,9 @@ const field = cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relati
|
|
|
65
65
|
focused: false,
|
|
66
66
|
error: false,
|
|
67
67
|
class: `
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
border-storm-100
|
|
69
|
+
dark:border-hurricane-400
|
|
70
|
+
`,
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
73
|
variant: 'write',
|
|
@@ -75,26 +75,26 @@ const field = cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relati
|
|
|
75
75
|
focused: true,
|
|
76
76
|
error: false,
|
|
77
77
|
class: `
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
78
|
+
border-indigo-600 ring ring-indigo-100
|
|
79
|
+
selection:bg-indigo-500
|
|
80
|
+
dark:ring-0
|
|
81
|
+
`,
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
variant: 'write',
|
|
85
85
|
disabled: false,
|
|
86
86
|
class: `
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
bg-white
|
|
88
|
+
dark:bg-hurricane-500
|
|
89
|
+
`,
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
variant: 'write',
|
|
93
93
|
disabled: true,
|
|
94
94
|
class: `
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
cursor-not-allowed bg-white-600
|
|
96
|
+
dark:border-hurricane-500 dark:bg-hurricane-600
|
|
97
|
+
`,
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
disabled: false,
|
|
@@ -106,24 +106,24 @@ const field = cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relati
|
|
|
106
106
|
focused: true,
|
|
107
107
|
error: true,
|
|
108
108
|
class: `
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
ring ring-negative-red-50
|
|
110
|
+
selection:bg-negative-red-50
|
|
111
|
+
dark:ring-0
|
|
112
|
+
`,
|
|
113
113
|
},
|
|
114
114
|
],
|
|
115
115
|
});
|
|
116
116
|
const input = cva([
|
|
117
117
|
`
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
text-sm
|
|
119
|
+
placeholder:text-sm placeholder:text-storm-500/40
|
|
120
|
+
dark:placeholder:text-hurricane-200
|
|
121
|
+
`,
|
|
122
122
|
'min-w-0 flex-1 border-none bg-transparent p-0',
|
|
123
123
|
`
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
outline-none
|
|
125
|
+
focus:outline-none
|
|
126
|
+
`,
|
|
127
127
|
'font-geist',
|
|
128
128
|
], {
|
|
129
129
|
variants: {
|
|
@@ -137,9 +137,9 @@ const input = cva([
|
|
|
137
137
|
},
|
|
138
138
|
error: {
|
|
139
139
|
false: `
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
140
|
+
text-storm-500
|
|
141
|
+
dark:text-white
|
|
142
|
+
`,
|
|
143
143
|
true: 'text-negative-red-500',
|
|
144
144
|
},
|
|
145
145
|
},
|
|
@@ -153,9 +153,9 @@ const prefixAndSuffix = cva(['flex flex-shrink-0 items-center justify-center tex
|
|
|
153
153
|
disabled: {
|
|
154
154
|
false: null,
|
|
155
155
|
true: `
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
text-storm-100
|
|
157
|
+
dark:text-hurricane-400
|
|
158
|
+
`,
|
|
159
159
|
},
|
|
160
160
|
focused: {
|
|
161
161
|
false: null,
|
|
@@ -180,18 +180,18 @@ const prefixAndSuffix = cva(['flex flex-shrink-0 items-center justify-center tex
|
|
|
180
180
|
focused: false,
|
|
181
181
|
error: false,
|
|
182
182
|
class: `
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
text-storm-300
|
|
184
|
+
dark:text-hurricane-200
|
|
185
|
+
`,
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
disabled: false,
|
|
189
189
|
focused: true,
|
|
190
190
|
error: false,
|
|
191
191
|
class: `
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
text-storm-500
|
|
193
|
+
dark:text-white
|
|
194
|
+
`,
|
|
195
195
|
},
|
|
196
196
|
{
|
|
197
197
|
disabled: false,
|
|
@@ -382,8 +382,8 @@ const Field = class {
|
|
|
382
382
|
}
|
|
383
383
|
render() {
|
|
384
384
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
385
|
-
return (h(ThemedHost, { key: '
|
|
386
|
-
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '
|
|
385
|
+
return (h(ThemedHost, { key: '2d3efe62a6b9463bba1e39d2794fabda20c6f038' }, h("p-field-container", { key: 'a55a299950823dba5cbb8ec33946426430a54a2b', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
386
|
+
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: 'ae63afe892c4abfe02e57f2e40d135b394786d21', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '0325dfdefaee16f52fc34f34251fffbce423ea39', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'fa2afa7090e5021b669e5b57cd749aad558fc6b7', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'a45dbb5e6505221f441feb3f1adb03bbd8326ba4', name: 'error', slot: 'error' })), h("div", { key: '75dc9396f2c2a63206f4df5e238327b90caaf7d9', class: field({
|
|
387
387
|
error: !!this.error?.length,
|
|
388
388
|
disabled: asBoolean(this.disabled),
|
|
389
389
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -394,7 +394,7 @@ const Field = class {
|
|
|
394
394
|
? `${this.value}`
|
|
395
395
|
: undefined }, (this.error?.length ||
|
|
396
396
|
prefix ||
|
|
397
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
397
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '42da31abb85a0a59b4257392f240abb8412a08eb', class: prefixAndSuffix({
|
|
398
398
|
variant: this.variant,
|
|
399
399
|
error: !!this.error?.length,
|
|
400
400
|
disabled: asBoolean(this.disabled),
|
|
@@ -404,7 +404,7 @@ const Field = class {
|
|
|
404
404
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
405
405
|
this.error?.length ? (h("p-icon", { class: cn('flex', {
|
|
406
406
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
407
|
-
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
407
|
+
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: 'c6c9ae5a876c6845ae1ade9386db42c746ee928e', class: prefixAndSuffix({
|
|
408
408
|
variant: this.variant,
|
|
409
409
|
error: !!this.error?.length,
|
|
410
410
|
disabled: asBoolean(this.disabled),
|
|
@@ -560,7 +560,7 @@ const Field = class {
|
|
|
560
560
|
};
|
|
561
561
|
Field.style = fieldComponentCss();
|
|
562
562
|
|
|
563
|
-
const fieldContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.ml-auto{margin-left:auto}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.w-full{width:100%}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-auto{cursor:auto}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-
|
|
563
|
+
const fieldContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.ml-auto{margin-left:auto}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.w-full{width:100%}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-auto{cursor:auto}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.empty\\:hidden:empty{display:none}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
564
564
|
|
|
565
565
|
const loader = cva(['w-full rounded-lg'], {
|
|
566
566
|
variants: {
|
|
@@ -671,21 +671,21 @@ const FieldContainer = class {
|
|
|
671
671
|
}
|
|
672
672
|
return (h(ThemedHost, { key: '9b4ab7a1d59cead07a2065b0d6bc72be41d24287' }, h("label", { key: 'ac31d16bdd75b4b236479638efd367f4771627d1', class: cn('flex w-inherit flex-col gap-1', {
|
|
673
673
|
'cursor-auto': this.variant === 'read',
|
|
674
|
-
}), htmlFor: this.id }, h("div", { key: '
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
674
|
+
}), htmlFor: this.id }, h("div", { key: '460ad5c8a40a699cf07a7647d94982bbc19a050e', class: cn(`
|
|
675
|
+
flex items-end justify-between gap-1
|
|
676
|
+
empty:hidden
|
|
677
|
+
`, {
|
|
678
678
|
'flex-row-reverse': this.align === 'end',
|
|
679
|
-
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '
|
|
680
|
-
hasHeaderSlot) && (h("div", { key: '
|
|
679
|
+
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '0db937fbb83c462b3fe6b0804312ea3be1bb7397', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: 'b2306fe3788e40f9e0485d361dd96657db109167', class: '\n\t\t\t\t\t\t\t\t\t\tmin-w-0 overflow-hidden text-ellipsis text-xs font-medium\n\t\t\t\t\t\t\t\t\t\ttext-storm-300\n\t\t\t\t\t\t\t\t\t\tdark:text-hurricane-200\n\t\t\t\t\t\t\t\t\t' }, label), helper && (h("p-helper", { key: '676d385ef6ce89323ae8fa5dd8fbc00785ee9c83', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
|
|
680
|
+
hasHeaderSlot) && (h("div", { key: 'af4a8faeb4c3fca4554b306ab252378d8a39ab95', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
|
|
681
681
|
asBoolean(this.showOptional) &&
|
|
682
|
-
this.variant === 'write' && (h("span", { key: '
|
|
682
|
+
this.variant === 'write' && (h("span", { key: '55bc53b5cdbaccf21d088ad061c0da7f5270bf8e', class: '\n\t\t\t\t\t\t\t\t\t\t\t\ttext-xs font-medium text-storm-200\n\t\t\t\t\t\t\t\t\t\t\t\tdark:text-hurricane-300\n\t\t\t\t\t\t\t\t\t\t\t' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: '9105c1857ad70a42363be7695b698a499467fe9b', name: 'header' })))), h("p-tooltip", { key: 'cac4a2b20a6876bab0b53c9d03f514f31bd1d38c', class: cn({
|
|
683
683
|
'w-full': this.variant === 'write' || this.loading,
|
|
684
684
|
'ml-auto': this.align === 'end',
|
|
685
685
|
'font-normal': this.variant === 'read',
|
|
686
686
|
'text-storm-500 dark:text-white': this.variant === 'read',
|
|
687
687
|
}), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
|
|
688
|
-
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '
|
|
688
|
+
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '5b396d454ec6d1a17f69327a88d4998765621102', name: 'error', slot: 'content' })), contentSlot))));
|
|
689
689
|
}
|
|
690
690
|
async _setLocales() {
|
|
691
691
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -712,7 +712,7 @@ const FieldContainer = class {
|
|
|
712
712
|
};
|
|
713
713
|
FieldContainer.style = fieldContainerComponentCss();
|
|
714
714
|
|
|
715
|
-
const helperComponentCss = () => `.inline-flex{display:inline-flex}.h-\\[0\\.875rem\\]{height:.875rem}.w-\\[0\\.875rem\\]{width:.875rem}*{box-sizing:border-box}:host{display:inline-flex;height:.875rem;width:.875rem}.static{position:static}.absolute{position:absolute}.flex{display:flex}.
|
|
715
|
+
const helperComponentCss = () => `.inline-flex{display:inline-flex}.h-\\[0\\.875rem\\]{height:.875rem}.w-\\[0\\.875rem\\]{width:.875rem}*{box-sizing:border-box}:host{display:inline-flex;height:.875rem;width:.875rem}.static{position:static}.absolute{position:absolute}.flex{display:flex}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}`;
|
|
716
716
|
|
|
717
717
|
const Helper = class {
|
|
718
718
|
constructor(hostRef) {
|
|
@@ -727,7 +727,7 @@ const Helper = class {
|
|
|
727
727
|
*/
|
|
728
728
|
placement = 'top';
|
|
729
729
|
render() {
|
|
730
|
-
return (h(ThemedHost, { key: 'd7f07b4f232bb43ce0988ea8533353a8d193e7bf' }, h("p-tooltip", { key: 'df76c8696c9621a6ea5431c5d256eded55de0b57', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: '
|
|
730
|
+
return (h(ThemedHost, { key: 'd7f07b4f232bb43ce0988ea8533353a8d193e7bf' }, h("p-tooltip", { key: 'df76c8696c9621a6ea5431c5d256eded55de0b57', class: 'flex', placement: this.placement, strategy: this.strategy }, h("p-icon", { key: '3b76a2970773f36bd83618b3c0c0c7072fd7873c', class: '\n\t\t\t\t\t\t\tcursor-pointer text-storm-300\n\t\t\t\t\t\t\thover:text-storm-500\n\t\t\t\t\t\t\tdark:text-hurricane-300\n\t\t\t\t\t\t\tdark:hover:text-hurricane-200\n\t\t\t\t\t\t', size: 'sm', slot: 'trigger', variant: 'question-circle' }), h("div", { key: 'f7e26695ff25c129f2c75ad1641ed97c7ed255c8', slot: 'content' }, h("slot", { key: 'eb6cfbb1f1d5d005864d5385a3f60ff08e6b1347' })))));
|
|
731
731
|
}
|
|
732
732
|
};
|
|
733
733
|
Helper.style = helperComponentCss();
|
|
@@ -5,7 +5,7 @@ import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
|
5
5
|
import './clsx-ChV9xqsO.js';
|
|
6
6
|
import './state-BJbOyUuL.js';
|
|
7
7
|
|
|
8
|
-
const floatingMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.
|
|
8
|
+
const floatingMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-lg{border-radius:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-50{--tw-text-opacity:1;color:rgb(232 232 234/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.hover\\:bg-storm-800:hover{--tw-bg-opacity:1;background-color:rgb(2 8 21/var(--tw-bg-opacity,1))}.active\\:bg-storm-700:active{--tw-bg-opacity:1;background-color:rgb(8 15 28/var(--tw-bg-opacity,1))}.active\\:text-storm-100\\/60:active{color:hsla(220,3%,83%,.6)}.group:hover .group-hover\\:text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.group:active .group-active\\:text-storm-100\\/60{color:hsla(220,3%,83%,.6)}.dark\\:hover\\:bg-hurricane-500:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(46,52,62,.5)}.dark\\:hover\\:bg-hurricane-500:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(46,52,62,.5)}`;
|
|
9
9
|
|
|
10
10
|
const item = cva(['group', 'flex h-8 items-center gap-2 px-2', 'text-sm', 'rounded-lg'], {
|
|
11
11
|
variants: {
|
|
@@ -32,14 +32,14 @@ const item = cva(['group', 'flex h-8 items-center gap-2 px-2', 'text-sm', 'round
|
|
|
32
32
|
hover: true,
|
|
33
33
|
class: [
|
|
34
34
|
`
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
cursor-pointer
|
|
36
|
+
hover:bg-storm-800
|
|
37
|
+
active:bg-storm-700 active:text-storm-100/60
|
|
38
|
+
`,
|
|
39
39
|
`
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
dark:hover:bg-hurricane-500
|
|
41
|
+
dark:active:bg-hurricane-600/50
|
|
42
|
+
`,
|
|
43
43
|
],
|
|
44
44
|
},
|
|
45
45
|
],
|
|
@@ -60,9 +60,9 @@ const icon = cva([], {
|
|
|
60
60
|
disabled: false,
|
|
61
61
|
hover: true,
|
|
62
62
|
class: `
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
group-hover:text-storm-100
|
|
64
|
+
group-active:text-storm-100/60
|
|
65
|
+
`,
|
|
66
66
|
},
|
|
67
67
|
],
|
|
68
68
|
});
|
|
@@ -99,10 +99,10 @@ const FloatingMenuItem = class {
|
|
|
99
99
|
*/
|
|
100
100
|
iconRotate;
|
|
101
101
|
render() {
|
|
102
|
-
return (h(ThemedHost, { key: '
|
|
102
|
+
return (h(ThemedHost, { key: '1ae80676a1ac8148c4561e85e43852d10be0f627', class: item({
|
|
103
103
|
hover: asBoolean(this.hover) && !asBoolean(this.loading),
|
|
104
104
|
disabled: asBoolean(this.disabled),
|
|
105
|
-
}) }, this._getIcon(), h("p", { key: '
|
|
105
|
+
}) }, this._getIcon(), h("p", { key: '9b13d1ee99c16eadfecb9ccf56e9523667b6f1c1', class: '\n\t\t\t\t\t\tmin-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n\t\t\t\t\t\tempty:hidden\n\t\t\t\t\t' }, h("slot", { key: '6680dd0852ef84905fa93e58c9b9dd59606b50fa' }))));
|
|
106
106
|
}
|
|
107
107
|
_getIcon() {
|
|
108
108
|
if (!this.icon && !this.loading) {
|
|
@@ -4,7 +4,7 @@ import { T as ThemedHost } from './themed-host.component-CUNsbvgN.js';
|
|
|
4
4
|
import './clsx-ChV9xqsO.js';
|
|
5
5
|
import './state-BJbOyUuL.js';
|
|
6
6
|
|
|
7
|
-
const infoPanelComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.right-2{right:.5rem}.top-2{top:.5rem}.my-0{margin-bottom:0;margin-top:0}.flex{display:flex}.h-6{height:1.5rem}.h-inherit{height:inherit}.w-6{width:1.5rem}.w-full{width:100%}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.rounded-lg{border-radius:.5rem}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 250 224/var(--tw-bg-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-negative-red-100{--tw-bg-opacity:1;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))}.bg-positive-green-100{--tw-bg-opacity:1;background-color:rgb(213 251 199/var(--tw-bg-opacity,1))}.bg-white-700{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.pr-10{padding-right:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-amber-800{--tw-text-opacity:1;color:rgb(148 77 11/var(--tw-text-opacity,1))}.text-indigo-900{--tw-text-opacity:1;color:rgb(19 73 182/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-positive-green-800{--tw-text-opacity:1;color:rgb(47 100 7/var(--tw-text-opacity,1))}.text-storm-800{--tw-text-opacity:1;color:rgb(2 8 21/var(--tw-text-opacity,1))}.text-storm-800\\/60{color:rgba(2,8,21,.6)}.hover\\:bg-white-500\\/40:hover{background-color:hsla(0,0%,100%,.4)}.hover\\:text-storm-800\\/60:hover{color:rgba(2,8,21,.6)}.dark\\:bg-amber-alternative\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(255,231,92,.15)}.dark\\:bg-hurricane-100\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(220,3%,83%,.15)}.dark\\:bg-indigo-300\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(187,209,253,.15)}.dark\\:bg-negative-red-alternative\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(255,92,92,.15)}.dark\\:bg-positive-green-alternative\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(98,255,92,.15)}.dark\\:text-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 231 92/var(--tw-text-opacity,1))}.dark\\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\\:text-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(165 194 252/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(98 255 92/var(--tw-text-opacity,1))}.dark\\:text-white\\/60:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.6)}.dark\\:
|
|
7
|
+
const infoPanelComponentCss = () => `*{box-sizing:border-box}.static{position:static}.absolute{position:absolute}.relative{position:relative}.right-2{right:.5rem}.top-2{top:.5rem}.my-0{margin-bottom:0;margin-top:0}.flex{display:flex}.h-6{height:1.5rem}.h-inherit{height:inherit}.w-6{width:1.5rem}.w-full{width:100%}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.rounded-lg{border-radius:.5rem}.bg-amber-50{--tw-bg-opacity:1;background-color:rgb(255 250 224/var(--tw-bg-opacity,1))}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-negative-red-100{--tw-bg-opacity:1;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))}.bg-positive-green-100{--tw-bg-opacity:1;background-color:rgb(213 251 199/var(--tw-bg-opacity,1))}.bg-white-700{--tw-bg-opacity:1;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))}.px-4{padding-left:1rem;padding-right:1rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.pr-10{padding-right:2.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-amber-800{--tw-text-opacity:1;color:rgb(148 77 11/var(--tw-text-opacity,1))}.text-indigo-900{--tw-text-opacity:1;color:rgb(19 73 182/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-positive-green-800{--tw-text-opacity:1;color:rgb(47 100 7/var(--tw-text-opacity,1))}.text-storm-800{--tw-text-opacity:1;color:rgb(2 8 21/var(--tw-text-opacity,1))}.text-storm-800\\/60{color:rgba(2,8,21,.6)}.hover\\:bg-white-500\\/40:hover{background-color:hsla(0,0%,100%,.4)}.hover\\:text-storm-800\\/60:hover{color:rgba(2,8,21,.6)}.dark\\:bg-amber-alternative\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(255,231,92,.15)}.dark\\:bg-hurricane-100\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(220,3%,83%,.15)}.dark\\:bg-indigo-300\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(187,209,253,.15)}.dark\\:bg-negative-red-alternative\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(255,92,92,.15)}.dark\\:bg-positive-green-alternative\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(98,255,92,.15)}.dark\\:text-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 231 92/var(--tw-text-opacity,1))}.dark\\:text-hurricane-100:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\\:text-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(165 194 252/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(98 255 92/var(--tw-text-opacity,1))}.dark\\:text-white\\/60:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.6)}.dark\\:hover\\:bg-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:text-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-amber-alternative\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(255,231,92,.15)}.dark\\:bg-hurricane-100\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(220,3%,83%,.15)}.dark\\:bg-indigo-300\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(187,209,253,.15)}.dark\\:bg-negative-red-alternative\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(255,92,92,.15)}.dark\\:bg-positive-green-alternative\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(98,255,92,.15)}.dark\\:text-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 231 92/var(--tw-text-opacity,1))}.dark\\:text-hurricane-100:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.dark\\:text-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(165 194 252/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(98 255 92/var(--tw-text-opacity,1))}.dark\\:text-white\\/60:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.6)}.dark\\:hover\\:bg-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:text-white:hover:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
8
8
|
|
|
9
9
|
const infopanel = cva(['flex flex-col gap-1', 'h-inherit w-full px-4 py-3', 'relative rounded-lg'], {
|
|
10
10
|
variants: {
|
|
@@ -13,25 +13,25 @@ const infopanel = cva(['flex flex-col gap-1', 'h-inherit w-full px-4 py-3', 'rel
|
|
|
13
13
|
},
|
|
14
14
|
variant: {
|
|
15
15
|
neutral: `
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
bg-indigo-100
|
|
17
|
+
dark:bg-indigo-300/15
|
|
18
|
+
`,
|
|
19
19
|
positive: `
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
bg-positive-green-100
|
|
21
|
+
dark:bg-positive-green-alternative/15
|
|
22
|
+
`,
|
|
23
23
|
biased: `
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
bg-amber-50
|
|
25
|
+
dark:bg-amber-alternative/15
|
|
26
|
+
`,
|
|
27
27
|
negative: `
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
bg-negative-red-100
|
|
29
|
+
dark:bg-negative-red-alternative/15
|
|
30
|
+
`,
|
|
31
31
|
feedback: `
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
bg-white-700
|
|
33
|
+
dark:bg-hurricane-100/15
|
|
34
|
+
`,
|
|
35
35
|
},
|
|
36
36
|
},
|
|
37
37
|
});
|
|
@@ -39,25 +39,25 @@ const header = cva('text-sm font-medium', {
|
|
|
39
39
|
variants: {
|
|
40
40
|
variant: {
|
|
41
41
|
neutral: `
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
text-indigo-900
|
|
43
|
+
dark:text-indigo-400
|
|
44
|
+
`,
|
|
45
45
|
positive: `
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
text-positive-green-800
|
|
47
|
+
dark:text-positive-green-alternative
|
|
48
|
+
`,
|
|
49
49
|
biased: `
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
text-amber-800
|
|
51
|
+
dark:text-amber-alternative
|
|
52
|
+
`,
|
|
53
53
|
negative: `
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
text-negative-red-800
|
|
55
|
+
dark:text-negative-red-alternative
|
|
56
|
+
`,
|
|
57
57
|
feedback: `
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
58
|
+
text-storm-800
|
|
59
|
+
dark:text-hurricane-100
|
|
60
|
+
`,
|
|
61
61
|
},
|
|
62
62
|
},
|
|
63
63
|
});
|
|
@@ -66,13 +66,13 @@ const close = cva([
|
|
|
66
66
|
'flex items-center justify-center',
|
|
67
67
|
'cursor-pointer rounded-lg',
|
|
68
68
|
`
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
text-storm-800/60
|
|
70
|
+
hover:bg-white-500/40 hover:text-storm-800/60
|
|
71
|
+
`,
|
|
72
72
|
`
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
dark:text-white/60
|
|
74
|
+
dark:hover:bg-white/15 dark:hover:text-white
|
|
75
|
+
`,
|
|
76
76
|
'h-6 w-6',
|
|
77
77
|
]);
|
|
78
78
|
const InfoPanel = class {
|
|
@@ -104,10 +104,10 @@ const InfoPanel = class {
|
|
|
104
104
|
render() {
|
|
105
105
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
106
106
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
107
|
-
return (h(ThemedHost, { key: '
|
|
107
|
+
return (h(ThemedHost, { key: '3d563790830faede9e0bfdeaaeadd5f5528c7feb' }, h("div", { key: '120670453f538a83c28215e989b5a148bcf289a6', class: infopanel({
|
|
108
108
|
variant: this.variant,
|
|
109
109
|
closeAble: this.closeable,
|
|
110
|
-
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: '
|
|
110
|
+
}) }, (this.header?.length || hasHeaderSlot) && (h("div", { key: 'c3f38df39d52e287eece6661669f40a11331bc59', class: header({ variant: this.variant }) }, this.header?.length ? (h("p", { class: 'my-0' }, this.header)) : (h("slot", { name: 'header' })))), (this.content?.length || hasContentSlot) && (h("div", { key: '5230a05ac5013a5a9bab08d54176477b5f0b41d7', class: '\n\t\t\t\t\t\t\t\th-inherit text-sm font-normal text-storm-800/60\n\t\t\t\t\t\t\t\tdark:text-white/70\n\t\t\t\t\t\t\t' }, this.content?.length ? (h("p", { class: 'my-0' }, this.content)) : (h("slot", { name: 'content' })))), this.closeable && (h("div", { key: '0a718054f9c6c708f1b4dd512cc65b5d719ccc54', class: close(), onClick: () => this._close() }, h("p-icon", { key: '0587fff889b6161de9b5db05e53a69267e2ba4d3', variant: 'negative' }))))));
|
|
111
111
|
}
|
|
112
112
|
_close() {
|
|
113
113
|
this.closed.emit();
|
|
@@ -13,9 +13,8 @@ const label = cva(['flex items-center justify-center gap-2', 'h-6 rounded-full']
|
|
|
13
13
|
positive: [
|
|
14
14
|
'bg-positive-green-100 text-positive-green-800',
|
|
15
15
|
`
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
`,
|
|
16
|
+
dark:bg-positive-green-alternative/15 dark:text-positive-green-alternative
|
|
17
|
+
`,
|
|
19
18
|
],
|
|
20
19
|
biased: [
|
|
21
20
|
'bg-amber-100 text-amber-800',
|
|
@@ -48,9 +47,9 @@ const label = cva(['flex items-center justify-center gap-2', 'h-6 rounded-full']
|
|
|
48
47
|
keepMobileContent: false,
|
|
49
48
|
iconOnly: false,
|
|
50
49
|
class: `
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
w-6 p-2
|
|
51
|
+
desktop-xs:w-auto desktop-xs:py-0
|
|
52
|
+
`,
|
|
54
53
|
},
|
|
55
54
|
],
|
|
56
55
|
});
|
|
@@ -83,17 +82,17 @@ const Label = class {
|
|
|
83
82
|
*/
|
|
84
83
|
keepMobileContent = false;
|
|
85
84
|
render() {
|
|
86
|
-
return (h(ThemedHost, { key: '
|
|
85
|
+
return (h(ThemedHost, { key: '009d258fa4ce7e33a83e62d6bce8acd25d8ea6fe' }, h("div", { key: 'c5b00cdbe8abbd6ea6416c4369eb0aba19cf6c8f', class: label({
|
|
87
86
|
variant: this.variant,
|
|
88
87
|
iconOnly: this.iconOnly,
|
|
89
88
|
keepMobileContent: this.keepMobileContent,
|
|
90
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
89
|
+
}) }, this.icon && (h("p-icon", { key: '7a24ea37145d4fe0a8b0fc3ab168beb89348d7ba', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (h("div", { key: 'eb27da1ebf6563a36c155625202abdeef3b31a7d', class: cn(`
|
|
90
|
+
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
91
|
+
font-medium
|
|
92
|
+
`, {
|
|
94
93
|
hidden: !this.keepMobileContent,
|
|
95
94
|
'desktop-xs:block': !this.keepMobileContent,
|
|
96
|
-
}) }, h("slot", { key: '
|
|
95
|
+
}) }, h("slot", { key: 'ae9d74fecc3264b953e9cd04273c7deaf5b34ca3' }))))));
|
|
97
96
|
}
|
|
98
97
|
};
|
|
99
98
|
Label.style = labelComponentCss();
|
|
@@ -16,10 +16,10 @@ const Layout = class {
|
|
|
16
16
|
*/
|
|
17
17
|
scroll;
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
return (h(Host, { key: 'd27ca848bd2431c19931bd9dc27a62d08ac8fa43', class: `
|
|
20
|
+
p-layout
|
|
21
|
+
variant-${this.variant}
|
|
22
|
+
` }, h("div", { key: 'fc1ef846e02cf4faf454212b6208badcd8f56f00', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: 'b1dcfcdcbba577e41297945ce58ea4ae3782a919', class: 'inner-content' }, h("slot", { key: 'd2401aba889e195b3739cb4432eac8d1859cfb2b', name: 'content' }))), h("div", { key: '829337bc00746e768b539822ca312f8f8e4c93bf', class: 'sidebar' }, h("slot", { key: '6f00fcce2b90317ffb25f5a94b7d8beea4d6c369', name: 'sidebar' })), h("div", { key: '54ff82f666d2ce2fb90d2655f8da6e3a7fba7896', class: 'topbar' }, h("slot", { key: '6b1b5b25660336159a7715b2853c0f5c3aa3baca', name: 'topbar' }))));
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
Layout.style = layoutComponentCss();
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h } from './index-yFtRjnrU.js';
|
|
|
2
2
|
import { T as ThemedHost } from './themed-host.component-CUNsbvgN.js';
|
|
3
3
|
import './state-BJbOyUuL.js';
|
|
4
4
|
|
|
5
|
-
const listingItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-2{gap:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}
|
|
5
|
+
const listingItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-col{flex-direction:column}.items-center{align-items:center}.gap-2{gap:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-medium{font-weight:500}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}`;
|
|
6
6
|
|
|
7
7
|
const ListingItem = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -13,7 +13,7 @@ const ListingItem = class {
|
|
|
13
13
|
*/
|
|
14
14
|
icon = 'placeholder';
|
|
15
15
|
render() {
|
|
16
|
-
return (h(ThemedHost, { key: 'e2b07cadde155cc5f8e89c305001f60d6f59ae30' }, h("div", { key: '
|
|
16
|
+
return (h(ThemedHost, { key: 'e2b07cadde155cc5f8e89c305001f60d6f59ae30' }, h("div", { key: 'd7acce056d0b666b6941bd976f8d3ed9819e0374', class: '\n\t\t\t\t\t\tflex items-center gap-2 text-storm-500\n\t\t\t\t\t\tdark:text-white\n\t\t\t\t\t' }, h("p-icon", { key: '54ddfbe2ebf1d72412bf7651eccdbe8c0b468ee2', variant: this.icon }), h("div", { key: '61ded8cfbc9ade6ba72d334f3778ac5511a6098b', class: 'flex min-w-0 flex-1 flex-col text-sm font-medium' }, h("slot", { key: '4e079504bee9bdd829f6d31d68a6839533ef39dd' })))));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
ListingItem.style = listingItemComponentCss();
|