@paperless/core 3.0.2 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/index.esm.js +1 -1
- package/dist/build/p-047da5c9.entry.js +1 -0
- package/dist/build/p-099fed2a.entry.js +1 -0
- package/dist/build/p-0b4b4cf7.entry.js +1 -0
- package/dist/build/p-16c98151.entry.js +1 -0
- package/dist/build/p-18245eb9.entry.js +1 -0
- package/dist/build/p-1ac00601.entry.js +1 -0
- package/dist/build/p-1be02ecd.entry.js +1 -0
- package/dist/build/p-1c6555d0.entry.js +1 -0
- package/dist/build/p-1fa99d63.entry.js +1 -0
- package/dist/build/p-2a9e2f97.entry.js +1 -0
- package/dist/build/p-2eb0963d.entry.js +1 -0
- package/dist/build/p-33c965ed.entry.js +1 -0
- package/dist/build/p-33fc3203.entry.js +1 -0
- package/dist/build/p-34448061.entry.js +1 -0
- package/dist/build/{p-57abbf5d.js → p-3a5ebbd7.js} +1 -1
- package/dist/build/p-459f7a0b.entry.js +1 -0
- package/dist/build/p-4baa94c0.entry.js +1 -0
- package/dist/build/p-5f2b2731.entry.js +1 -0
- package/dist/build/p-6412710a.entry.js +1 -0
- package/dist/build/p-673c243e.entry.js +1 -0
- package/dist/build/p-6ac04b16.entry.js +1 -0
- package/dist/build/p-7158dacd.entry.js +1 -0
- package/dist/build/p-7be1c70d.entry.js +1 -0
- package/dist/build/p-7c4f3d89.entry.js +1 -0
- package/dist/{paperless/p-2ab9ae7b.entry.js → build/p-8a2690df.entry.js} +1 -1
- package/dist/{paperless/p-9d7732b8.entry.js → build/p-8a8adc4d.entry.js} +1 -1
- package/dist/build/p-9889be94.entry.js +1 -0
- package/dist/build/p-99522e10.entry.js +1 -0
- package/dist/build/p-9e1977a6.entry.js +1 -0
- package/dist/build/{p-CHZgJJeM.js → p-DeWIZIsV.js} +1 -1
- package/dist/build/p-aca48431.entry.js +1 -0
- package/dist/build/p-afa4d38a.entry.js +1 -0
- package/dist/build/p-b70ee063.entry.js +1 -0
- package/dist/build/p-b745b141.entry.js +1 -0
- package/dist/build/p-bcfbb856.entry.js +1 -0
- package/dist/build/p-cdcc28c2.entry.js +1 -0
- package/dist/build/p-dbac42ad.entry.js +1 -0
- package/dist/build/p-e00be7e7.entry.js +1 -0
- package/dist/build/p-e2219fa7.entry.js +1 -0
- package/dist/build/p-e30ef289.entry.js +1 -0
- package/dist/build/p-ecc80c01.entry.js +1 -0
- package/dist/build/p-fbd4c0ed.entry.js +1 -0
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +22 -9
- package/dist/cjs/p-avatar.cjs.entry.js +5 -2
- package/dist/cjs/p-backdrop.cjs.entry.js +19 -7
- package/dist/cjs/p-badge_3.cjs.entry.js +29 -11
- package/dist/cjs/p-button_3.cjs.entry.js +103 -31
- package/dist/cjs/p-calendar.cjs.entry.js +14 -7
- package/dist/cjs/p-card-container.cjs.entry.js +16 -6
- package/dist/cjs/p-card-header.cjs.entry.js +6 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +63 -29
- package/dist/cjs/p-content-slider.cjs.entry.js +12 -2
- package/dist/cjs/p-cropper.cjs.entry.js +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-divider.cjs.entry.js +29 -7
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +23 -10
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +105 -33
- package/dist/cjs/p-empty-state_8.cjs.entry.js +74 -34
- package/dist/cjs/p-field_3.cjs.entry.js +65 -26
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +17 -7
- package/dist/cjs/p-info-panel.cjs.entry.js +52 -16
- package/dist/cjs/p-label.cjs.entry.js +16 -7
- package/dist/cjs/p-layout.cjs.entry.js +4 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +42 -18
- package/dist/cjs/p-navbar.cjs.entry.js +25 -8
- package/dist/cjs/p-navigation-item.cjs.entry.js +21 -9
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +20 -14
- package/dist/cjs/p-profile.cjs.entry.js +2 -2
- package/dist/cjs/p-radio.cjs.entry.js +47 -20
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +19 -9
- package/dist/cjs/p-smile.cjs.entry.js +5 -2
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +27 -15
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +22 -6
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +10 -5
- package/dist/cjs/p-toast.cjs.entry.js +19 -7
- package/dist/cjs/p-toggle.cjs.entry.js +67 -23
- package/dist/cjs/p-tooltip.cjs.entry.js +11 -5
- package/dist/cjs/{table-helpers-D7cRsAPO.js → table-helpers-CskH_8AL.js} +2 -2
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +5 -2
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +19 -7
- package/dist/collection/components/atoms/badge/badge.component.js +9 -3
- package/dist/collection/components/atoms/card/container/card-container.component.js +16 -6
- package/dist/collection/components/atoms/card/header/card-header.component.js +6 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +57 -23
- package/dist/collection/components/atoms/divider/divider.component.js +29 -7
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +12 -5
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +11 -5
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +6 -6
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +78 -21
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +17 -7
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +52 -16
- package/dist/collection/components/atoms/layout/layout.component.js +4 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/loader/loader.component.js +8 -2
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +14 -5
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +16 -7
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +11 -5
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +27 -12
- package/dist/collection/components/atoms/radio/radio.component.js +47 -20
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +19 -7
- package/dist/collection/components/atoms/smile/smile.component.js +5 -2
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +27 -15
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +22 -6
- package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +6 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +10 -5
- package/dist/collection/components/atoms/toggle/toggle.component.js +67 -23
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +11 -5
- package/dist/collection/components/molecules/attachment/attachment.component.js +22 -9
- package/dist/collection/components/molecules/button/button.component.js +95 -29
- package/dist/collection/components/molecules/calendar/calendar.component.js +14 -7
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +12 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js +9 -6
- package/dist/collection/components/molecules/field/field/field.component.js +55 -19
- package/dist/collection/components/molecules/label/label.component.js +16 -7
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +21 -9
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +16 -10
- package/dist/collection/components/molecules/profile/profile.component.js +2 -2
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +19 -9
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +14 -7
- package/dist/collection/components/molecules/table/header/table-header.component.js +31 -11
- package/dist/collection/components/molecules/table/row/table-row.component.js +18 -8
- package/dist/collection/components/molecules/toast/toast.component.js +19 -7
- package/dist/collection/components/organisms/navbar/navbar.component.js +25 -8
- package/dist/collection/utils/table-helpers.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/p--52gTdZ4.js +1 -0
- package/dist/components/p-0EHH7Dl0.js +1 -0
- package/dist/components/p-2yaxaWU2.js +1 -0
- package/dist/components/p-4DN7zVtS.js +1 -0
- package/dist/components/p-B0rHem3C.js +1 -0
- package/dist/components/p-BBAR0LE7.js +1 -0
- package/dist/components/{p-Duu0fwUk.js → p-BBwQm_OH.js} +1 -1
- package/dist/components/{p-CsM6uU5j.js → p-BCZqknrJ.js} +1 -1
- package/dist/components/p-BCddfleq.js +1 -0
- package/dist/components/p-BKXDGrK7.js +1 -0
- package/dist/components/{p-DMxy9lYo.js → p-BSsW37JK.js} +1 -1
- package/dist/components/p-B_7CTN-Q.js +1 -0
- package/dist/components/p-BaiRAcrb.js +1 -0
- package/dist/components/p-BfH-C6uv.js +1 -0
- package/dist/components/p-BrLLMmZa.js +1 -0
- package/dist/components/p-Bru1muWj.js +1 -0
- package/dist/components/{p-Bl7NThUo.js → p-BtH8h7p9.js} +1 -1
- package/dist/components/p-BtI7diO6.js +1 -0
- package/dist/components/{p-CFSNSi-H.js → p-BtliZ0U_.js} +1 -1
- package/dist/components/p-C1HzSmDf.js +1 -0
- package/dist/components/p-C4dZ9NAe.js +1 -0
- package/dist/components/p-CHER4MCx.js +1 -0
- package/dist/components/{p-CGKUYLex.js → p-CTQuFuDk.js} +1 -1
- package/dist/components/p-CoBFv4r3.js +1 -0
- package/dist/components/p-Crasy6LB.js +1 -0
- package/dist/components/{p-BcD4BpWF.js → p-CtAGaRd5.js} +1 -1
- package/dist/components/p-D5t-6wkl.js +1 -0
- package/dist/components/p-D6iTsl8U.js +1 -0
- package/dist/components/p-D8faiybE.js +1 -0
- package/dist/components/p-DDV-lx3_.js +1 -0
- package/dist/components/p-DP6H82uQ.js +1 -0
- package/dist/components/{p-Bv-ByGSf.js → p-DSv8ajJ4.js} +1 -1
- package/dist/components/p-DXsoAHFt.js +1 -0
- package/dist/components/p-DmzyuekN.js +1 -0
- package/dist/components/p-DncIsq-f.js +1 -0
- package/dist/components/p-G57Mci8u.js +1 -0
- package/dist/components/p-MeQ48Q-1.js +1 -0
- package/dist/components/p-QJoR_dmN.js +1 -0
- package/dist/components/{p-3RT3BYex.js → p-WEZng7dj.js} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +1 -1
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-iLGr9rDU.js +1 -0
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-label.js +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.js +1 -1
- package/dist/components/p-loader.js +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +1 -1
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-qeQ4j6y4.js +1 -0
- package/dist/components/p-radio.js +1 -1
- package/dist/components/p-range.js +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-container.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-container.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row-actions-container.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +1 -1
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/p-attachment.entry.js +22 -9
- package/dist/esm/p-avatar.entry.js +5 -2
- package/dist/esm/p-backdrop.entry.js +19 -7
- package/dist/esm/p-badge_3.entry.js +29 -11
- package/dist/esm/p-button_3.entry.js +103 -31
- package/dist/esm/p-calendar.entry.js +14 -7
- package/dist/esm/p-card-container.entry.js +16 -6
- package/dist/esm/p-card-header.entry.js +6 -3
- package/dist/esm/p-checkbox_3.entry.js +63 -29
- package/dist/esm/p-content-slider.entry.js +12 -2
- package/dist/esm/p-cropper.entry.js +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-divider.entry.js +29 -7
- package/dist/esm/p-drawer-body_3.entry.js +23 -10
- package/dist/esm/p-dropdown-menu-item_2.entry.js +105 -33
- package/dist/esm/p-empty-state_8.entry.js +74 -34
- package/dist/esm/p-field_3.entry.js +65 -26
- package/dist/esm/p-floating-menu-item.entry.js +17 -7
- package/dist/esm/p-info-panel.entry.js +52 -16
- package/dist/esm/p-label.entry.js +16 -7
- package/dist/esm/p-layout.entry.js +4 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +42 -18
- package/dist/esm/p-navbar.entry.js +25 -8
- package/dist/esm/p-navigation-item.entry.js +21 -9
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +20 -14
- package/dist/esm/p-profile.entry.js +2 -2
- package/dist/esm/p-radio.entry.js +47 -20
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +19 -9
- package/dist/esm/p-smile.entry.js +5 -2
- package/dist/esm/p-stepper-item_2.entry.js +27 -15
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +22 -6
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +10 -5
- package/dist/esm/p-toast.entry.js +19 -7
- package/dist/esm/p-toggle.entry.js +67 -23
- package/dist/esm/p-tooltip.entry.js +11 -5
- package/dist/esm/{table-helpers-DA1PfY6l.js → table-helpers-Bvtfm-ta.js} +2 -2
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/p-047da5c9.entry.js +1 -0
- package/dist/paperless/p-099fed2a.entry.js +1 -0
- package/dist/paperless/p-0b4b4cf7.entry.js +1 -0
- package/dist/paperless/p-16c98151.entry.js +1 -0
- package/dist/paperless/p-18245eb9.entry.js +1 -0
- package/dist/paperless/p-1ac00601.entry.js +1 -0
- package/dist/paperless/p-1be02ecd.entry.js +1 -0
- package/dist/paperless/p-1c6555d0.entry.js +1 -0
- package/dist/paperless/p-1fa99d63.entry.js +1 -0
- package/dist/paperless/p-2a9e2f97.entry.js +1 -0
- package/dist/paperless/p-2eb0963d.entry.js +1 -0
- package/dist/paperless/p-33c965ed.entry.js +1 -0
- package/dist/paperless/p-33fc3203.entry.js +1 -0
- package/dist/paperless/p-34448061.entry.js +1 -0
- package/dist/paperless/p-459f7a0b.entry.js +1 -0
- package/dist/paperless/p-4baa94c0.entry.js +1 -0
- package/dist/paperless/p-5f2b2731.entry.js +1 -0
- package/dist/paperless/p-6412710a.entry.js +1 -0
- package/dist/paperless/p-673c243e.entry.js +1 -0
- package/dist/paperless/p-6ac04b16.entry.js +1 -0
- package/dist/paperless/p-7158dacd.entry.js +1 -0
- package/dist/paperless/p-7be1c70d.entry.js +1 -0
- package/dist/paperless/p-7c4f3d89.entry.js +1 -0
- package/dist/{build/p-2ab9ae7b.entry.js → paperless/p-8a2690df.entry.js} +1 -1
- package/dist/{build/p-9d7732b8.entry.js → paperless/p-8a8adc4d.entry.js} +1 -1
- package/dist/paperless/p-9889be94.entry.js +1 -0
- package/dist/paperless/p-99522e10.entry.js +1 -0
- package/dist/paperless/p-9e1977a6.entry.js +1 -0
- package/dist/paperless/{p-CHZgJJeM.js → p-DeWIZIsV.js} +1 -1
- package/dist/paperless/p-aca48431.entry.js +1 -0
- package/dist/paperless/p-afa4d38a.entry.js +1 -0
- package/dist/paperless/p-b70ee063.entry.js +1 -0
- package/dist/paperless/p-b745b141.entry.js +1 -0
- package/dist/paperless/p-bcfbb856.entry.js +1 -0
- package/dist/paperless/p-cdcc28c2.entry.js +1 -0
- package/dist/paperless/p-dbac42ad.entry.js +1 -0
- package/dist/paperless/p-e00be7e7.entry.js +1 -0
- package/dist/paperless/p-e2219fa7.entry.js +1 -0
- package/dist/paperless/p-e30ef289.entry.js +1 -0
- package/dist/paperless/p-ecc80c01.entry.js +1 -0
- package/dist/paperless/p-fbd4c0ed.entry.js +1 -0
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/hydrate/index.js +1021 -401
- package/hydrate/index.mjs +1021 -401
- package/package.json +1 -1
- package/dist/build/p-03121981.entry.js +0 -1
- package/dist/build/p-073cbaa7.entry.js +0 -1
- package/dist/build/p-1537db63.entry.js +0 -1
- package/dist/build/p-196bfb8a.entry.js +0 -1
- package/dist/build/p-19acdd22.entry.js +0 -1
- package/dist/build/p-1c1eddff.entry.js +0 -1
- package/dist/build/p-1d99809d.entry.js +0 -1
- package/dist/build/p-2937ea4e.entry.js +0 -1
- package/dist/build/p-34b384b9.entry.js +0 -1
- package/dist/build/p-44c1c053.entry.js +0 -1
- package/dist/build/p-45cf64a3.entry.js +0 -1
- package/dist/build/p-46616392.entry.js +0 -1
- package/dist/build/p-53db6756.entry.js +0 -1
- package/dist/build/p-5619c169.entry.js +0 -1
- package/dist/build/p-5e0796a9.entry.js +0 -1
- package/dist/build/p-5f64a97e.entry.js +0 -1
- package/dist/build/p-601999d8.entry.js +0 -1
- package/dist/build/p-63d43818.entry.js +0 -1
- package/dist/build/p-69658698.entry.js +0 -1
- package/dist/build/p-785b43a9.entry.js +0 -1
- package/dist/build/p-811807fb.entry.js +0 -1
- package/dist/build/p-81670b3a.entry.js +0 -1
- package/dist/build/p-86a3cc52.entry.js +0 -1
- package/dist/build/p-87b38346.entry.js +0 -1
- package/dist/build/p-91486f55.entry.js +0 -1
- package/dist/build/p-92cbcd5c.entry.js +0 -1
- package/dist/build/p-94640ec1.entry.js +0 -1
- package/dist/build/p-a6156cbc.entry.js +0 -1
- package/dist/build/p-a74f30c8.entry.js +0 -1
- package/dist/build/p-abf997fa.entry.js +0 -1
- package/dist/build/p-bad88af1.entry.js +0 -1
- package/dist/build/p-bdc3f1b8.entry.js +0 -1
- package/dist/build/p-c076dfe7.entry.js +0 -1
- package/dist/build/p-c410fdca.entry.js +0 -1
- package/dist/build/p-e10ac105.entry.js +0 -1
- package/dist/build/p-f043914d.entry.js +0 -1
- package/dist/build/p-f43b03da.entry.js +0 -1
- package/dist/build/p-fa1774a4.entry.js +0 -1
- package/dist/components/p--y4GWpzd.js +0 -1
- package/dist/components/p-B1rVjCs6.js +0 -1
- package/dist/components/p-B4ldecyo.js +0 -1
- package/dist/components/p-B5p7dHkY.js +0 -1
- package/dist/components/p-BDDbB69D.js +0 -1
- package/dist/components/p-BKMmVFyv.js +0 -1
- package/dist/components/p-BSZKPMsM.js +0 -1
- package/dist/components/p-BWLjNSWO.js +0 -1
- package/dist/components/p-B_-9JoqJ.js +0 -1
- package/dist/components/p-Bqj-EqkF.js +0 -1
- package/dist/components/p-Br5JzRPb.js +0 -1
- package/dist/components/p-ByjIFdR7.js +0 -1
- package/dist/components/p-CKY-2A7w.js +0 -1
- package/dist/components/p-CXxGdOem.js +0 -1
- package/dist/components/p-Ch0_FdYv.js +0 -1
- package/dist/components/p-Cpwq0YdW.js +0 -1
- package/dist/components/p-D46WCsOs.js +0 -1
- package/dist/components/p-DEW7r6Qi.js +0 -1
- package/dist/components/p-DSA1b84Z.js +0 -1
- package/dist/components/p-Ddm-XKZe.js +0 -1
- package/dist/components/p-DexJ62g_.js +0 -1
- package/dist/components/p-DgL1D6Aj.js +0 -1
- package/dist/components/p-Dq0MN0E1.js +0 -1
- package/dist/components/p-Pg_XF2ti.js +0 -1
- package/dist/components/p-QG8NWGU3.js +0 -1
- package/dist/components/p-S831PmxS.js +0 -1
- package/dist/components/p-XWWy0siW.js +0 -1
- package/dist/components/p-a6F6aMNs.js +0 -1
- package/dist/components/p-eLkNCIS4.js +0 -1
- package/dist/components/p-g9hO5RJl.js +0 -1
- package/dist/components/p-hg2iAXCC.js +0 -1
- package/dist/components/p-yYBe3oal.js +0 -1
- package/dist/paperless/p-03121981.entry.js +0 -1
- package/dist/paperless/p-073cbaa7.entry.js +0 -1
- package/dist/paperless/p-1537db63.entry.js +0 -1
- package/dist/paperless/p-196bfb8a.entry.js +0 -1
- package/dist/paperless/p-19acdd22.entry.js +0 -1
- package/dist/paperless/p-1c1eddff.entry.js +0 -1
- package/dist/paperless/p-1d99809d.entry.js +0 -1
- package/dist/paperless/p-2937ea4e.entry.js +0 -1
- package/dist/paperless/p-34b384b9.entry.js +0 -1
- package/dist/paperless/p-44c1c053.entry.js +0 -1
- package/dist/paperless/p-45cf64a3.entry.js +0 -1
- package/dist/paperless/p-46616392.entry.js +0 -1
- package/dist/paperless/p-53db6756.entry.js +0 -1
- package/dist/paperless/p-5619c169.entry.js +0 -1
- package/dist/paperless/p-5e0796a9.entry.js +0 -1
- package/dist/paperless/p-5f64a97e.entry.js +0 -1
- package/dist/paperless/p-601999d8.entry.js +0 -1
- package/dist/paperless/p-63d43818.entry.js +0 -1
- package/dist/paperless/p-69658698.entry.js +0 -1
- package/dist/paperless/p-785b43a9.entry.js +0 -1
- package/dist/paperless/p-811807fb.entry.js +0 -1
- package/dist/paperless/p-81670b3a.entry.js +0 -1
- package/dist/paperless/p-86a3cc52.entry.js +0 -1
- package/dist/paperless/p-87b38346.entry.js +0 -1
- package/dist/paperless/p-91486f55.entry.js +0 -1
- package/dist/paperless/p-92cbcd5c.entry.js +0 -1
- package/dist/paperless/p-94640ec1.entry.js +0 -1
- package/dist/paperless/p-a6156cbc.entry.js +0 -1
- package/dist/paperless/p-a74f30c8.entry.js +0 -1
- package/dist/paperless/p-abf997fa.entry.js +0 -1
- package/dist/paperless/p-bad88af1.entry.js +0 -1
- package/dist/paperless/p-bdc3f1b8.entry.js +0 -1
- package/dist/paperless/p-c076dfe7.entry.js +0 -1
- package/dist/paperless/p-c410fdca.entry.js +0 -1
- package/dist/paperless/p-e10ac105.entry.js +0 -1
- package/dist/paperless/p-f043914d.entry.js +0 -1
- package/dist/paperless/p-f43b03da.entry.js +0 -1
- package/dist/paperless/p-fa1774a4.entry.js +0 -1
|
@@ -11,24 +11,42 @@ require('./state-DM8SZBNO.js');
|
|
|
11
11
|
const radioComponentCss = () => `*{box-sizing:border-box}.pointer-events-none{pointer-events:none}.static{position:static}.absolute{position:absolute}.relative{position:relative}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.m-0{margin:0}.block{display:block}.flex{display:flex}.h-2{height:.5rem}.h-4{height:1rem}.w-2{width:.5rem}.w-4{width:1rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.appearance-none{appearance:none}.items-center{align-items:center}.justify-start{justify-content:flex-start}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-full{border-radius:9999px}.border{border-width:1px}.border-solid{border-style:solid}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.border-storm-50{--tw-border-opacity:1;border-color:rgb(232 232 234/var(--tw-border-opacity,1))}.bg-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))}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.checked\\:cursor-auto:checked{cursor:auto}.checked\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.checked\\:bg-indigo-600:checked{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.checked\\:ring-indigo-100:checked{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.empty\\:hidden:empty{display:none}.hover\\:border-storm-500\\/20:hover{border-color:rgba(24,30,41,.2)}.hover\\:bg-indigo-100:hover{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.checked\\:hover\\:border-storm-500\\/20:hover:checked{border-color:rgba(24,30,41,.2)}.checked\\:hover\\:bg-indigo-700:hover:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.group\\/radio-label:hover .group-hover\\/radio-label\\:border-storm-500\\/20{border-color:rgba(24,30,41,.2)}.group\\/radio-label:hover .group-hover\\/radio-label\\:bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:border-storm-500\\/20:checked{border-color:rgba(24,30,41,.2)}.group\\/radio-label:hover .checked\\:group-hover\\/radio-label\\:bg-indigo-700:checked{--tw-bg-opacity:1;background-color:rgb(47 111 240/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:bg-storm-200{--tw-bg-opacity:1;background-color:rgb(163 165 169/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.peer:checked~.peer-checked\\:ring-1{--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(1px + 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)}.peer:checked~.peer-checked\\:ring-storm-500\\/10{--tw-ring-color:rgba(24,30,41,.1)}.dark\\:border-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:checked\\:ring-0:checked:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}.dark\\:border-white\\/10:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.1)}.dark\\:border-white\\/15:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:bg-white\\/10:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.1)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:checked\\:ring-0:checked:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:hover\\:border-white\\/15:hover:where([data-theme=dark],[data-theme=dark] *){border-color:hsla(0,0%,100%,.15)}.dark\\:hover\\:bg-white\\/20:hover:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.2)}.peer:checked~.dark\\:peer-checked\\:bg-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(116 120 127/var(--tw-bg-opacity,1))}`;
|
|
12
12
|
|
|
13
13
|
const radio = index$1.cva([
|
|
14
|
-
'peer
|
|
15
|
-
'rounded-full border border-
|
|
16
|
-
'
|
|
14
|
+
'peer m-0 flex-shrink-0 appearance-none outline-none',
|
|
15
|
+
'border-inset rounded-full border border-solid',
|
|
16
|
+
'h-4 w-4',
|
|
17
17
|
], {
|
|
18
18
|
variants: {
|
|
19
19
|
disabled: {
|
|
20
20
|
false: [
|
|
21
21
|
'cursor-pointer shadow-1',
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
`
|
|
23
|
+
border-storm-100 bg-white
|
|
24
|
+
dark:border-white/15 dark:bg-white/10
|
|
25
|
+
`,
|
|
26
|
+
`
|
|
27
|
+
hover:border-storm-500/20 hover:bg-indigo-100
|
|
28
|
+
dark:hover:border-white/15 dark:hover:bg-white/20
|
|
29
|
+
`,
|
|
30
|
+
`
|
|
31
|
+
group-hover/radio-label:border-storm-500/20
|
|
32
|
+
group-hover/radio-label:bg-indigo-100
|
|
33
|
+
`,
|
|
25
34
|
'checked:cursor-auto',
|
|
26
|
-
'checked:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
35
|
+
'checked:border-storm-500/20 checked:bg-indigo-600',
|
|
36
|
+
`
|
|
37
|
+
checked:ring-2 checked:ring-indigo-100
|
|
38
|
+
dark:checked:ring-0
|
|
39
|
+
`,
|
|
40
|
+
'checked:hover:border-storm-500/20 checked:hover:bg-indigo-700',
|
|
41
|
+
`
|
|
42
|
+
checked:group-hover/radio-label:border-storm-500/20
|
|
43
|
+
checked:group-hover/radio-label:bg-indigo-700
|
|
44
|
+
`,
|
|
30
45
|
],
|
|
31
|
-
true:
|
|
46
|
+
true: `
|
|
47
|
+
cursor-not-allowed border-storm-50 bg-white-600
|
|
48
|
+
dark:border-white/10 dark:bg-white/5
|
|
49
|
+
`,
|
|
32
50
|
},
|
|
33
51
|
},
|
|
34
52
|
compoundVariants: [
|
|
@@ -36,9 +54,12 @@ const radio = index$1.cva([
|
|
|
36
54
|
disabled: false,
|
|
37
55
|
class: [
|
|
38
56
|
'cursor-pointer shadow-1',
|
|
39
|
-
'
|
|
40
|
-
'hover:
|
|
41
|
-
|
|
57
|
+
'border-storm-100 bg-white',
|
|
58
|
+
'hover:border-storm-500/20 hover:bg-indigo-100',
|
|
59
|
+
`
|
|
60
|
+
group-hover/radio-label:border-storm-500/20
|
|
61
|
+
group-hover/radio-label:bg-indigo-100
|
|
62
|
+
`,
|
|
42
63
|
],
|
|
43
64
|
},
|
|
44
65
|
],
|
|
@@ -46,13 +67,19 @@ const radio = index$1.cva([
|
|
|
46
67
|
const circle = index$1.cva([
|
|
47
68
|
'block',
|
|
48
69
|
'rounded-full bg-transparent',
|
|
49
|
-
|
|
50
|
-
|
|
70
|
+
`
|
|
71
|
+
pointer-events-none absolute left-1/2 top-1/2 -translate-x-1/2
|
|
72
|
+
-translate-y-1/2 transform
|
|
73
|
+
`,
|
|
74
|
+
'h-2 w-2',
|
|
51
75
|
], {
|
|
52
76
|
variants: {
|
|
53
77
|
disabled: {
|
|
54
78
|
false: 'peer-checked:bg-white peer-checked:ring-1 peer-checked:ring-storm-500/10',
|
|
55
|
-
true:
|
|
79
|
+
true: `
|
|
80
|
+
peer-checked:bg-storm-200
|
|
81
|
+
dark:peer-checked:bg-hurricane-300
|
|
82
|
+
`,
|
|
56
83
|
},
|
|
57
84
|
},
|
|
58
85
|
});
|
|
@@ -109,11 +136,11 @@ const Radio = class {
|
|
|
109
136
|
}
|
|
110
137
|
render() {
|
|
111
138
|
const id = this.id?.length ? this.id : this._nonce;
|
|
112
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
139
|
+
return (index.h(themedHost_component.ThemedHost, { key: '6d6c70b28586db5068f33308fff1c3a35bce641c' }, index.h("label", { key: 'd6741f15e337174a3576163e6b27b65dd54773f4', class: 'flex items-center justify-start gap-2', htmlFor: id }, index.h("div", { key: 'c82520956d1f16cc1a7b6740ab4e03299d5f2039', class: 'relative flex flex-shrink-0 items-center' }, index.h("input", { key: '80a7c6b02ff323e646a739cfcfee1652f2ec4df2', checked: this.checked, class: radio({
|
|
113
140
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
114
|
-
}), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), index.h("div", { key: '
|
|
141
|
+
}), disabled: asBoolean.asBoolean(this.disabled), id: id, name: this.name, required: this.required, type: 'radio', value: this.value, onChange: ev => this._onChange(ev) }), index.h("div", { key: 'a46921d80daadde9058060754c65b11d17b47b71', class: circle({
|
|
115
142
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
116
|
-
}) })), index.h("div", { key: '
|
|
143
|
+
}) })), index.h("div", { key: 'cd295853a620d74ece3521b96daac11a871cad1d', class: '\n flex-1 overflow-hidden text-ellipsis\n empty:hidden\n dark:text-white\n ' }, index.h("slot", { key: '7775f245e2652c7b010c34d52376908f2b4a2f99' })))));
|
|
117
144
|
}
|
|
118
145
|
_onChange(ev) {
|
|
119
146
|
if (asBoolean.asBoolean(this.disabled)) {
|
|
@@ -33,13 +33,13 @@ const Range = class {
|
|
|
33
33
|
valueChange;
|
|
34
34
|
render() {
|
|
35
35
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
36
|
-
return (index.h(themedHost_component.ThemedHost, { key: 'cb6a6b717940ba17aa7a6df5cc36577a991d3831' }, index.h("div", { key: '
|
|
36
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'cb6a6b717940ba17aa7a6df5cc36577a991d3831' }, index.h("div", { key: '82e000061159418bb6dc5ba3c72dc9c36315777f', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, index.h("p-icon", { key: 'f3825df8da36fd3e28988753db4216e613336749', variant: 'minus' }), index.h("div", { key: '1020caacf9987bfa348181c6a90b430805f1888f', class: 'relative h-6 flex-1' }, index.h("input", { key: '05fb1b7ed4af1392f107bf27977aab3a80f45c98', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
37
37
|
const value = ev.target.value;
|
|
38
38
|
this.value = Number.parseFloat(value);
|
|
39
39
|
this.valueChange.emit(value);
|
|
40
|
-
} }), index.h("div", { key: '
|
|
40
|
+
} }), index.h("div", { key: '90cdf9d7a326ec8764722cda4167a2260eff1e93', class: '\n z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
41
41
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
42
|
-
} })), index.h("p-icon", { key: '
|
|
42
|
+
} })), index.h("p-icon", { key: 'b80ba4a88335c01383d94bbb661f7c1300c88e3b', variant: 'plus' }))));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
Range.style = rangeComponentCss();
|
|
@@ -13,7 +13,7 @@ const selectComponentCss = () => `*{box-sizing:border-box}:host{--tw-translate-y
|
|
|
13
13
|
|
|
14
14
|
const multiContainer = index$1.cva([
|
|
15
15
|
'flex items-center gap-2',
|
|
16
|
-
'
|
|
16
|
+
'h-full min-w-0 flex-1',
|
|
17
17
|
'pointer-events-none overflow-hidden',
|
|
18
18
|
]);
|
|
19
19
|
const multiItem = index$1.cva([
|
|
@@ -21,7 +21,7 @@ const multiItem = index$1.cva([
|
|
|
21
21
|
'pointer-events-auto cursor-pointer',
|
|
22
22
|
'flex h-[1.625rem] items-center gap-2',
|
|
23
23
|
'h-[1.625rem] px-2',
|
|
24
|
-
'text-sm font-semibold
|
|
24
|
+
'whitespace-nowrap text-sm font-semibold',
|
|
25
25
|
'rounded-lg',
|
|
26
26
|
'bg-indigo-100',
|
|
27
27
|
'dark:bg-white/15',
|
|
@@ -29,7 +29,10 @@ const multiItem = index$1.cva([
|
|
|
29
29
|
const textContainer = index$1.cva('block w-full overflow-hidden text-start', {
|
|
30
30
|
variants: {
|
|
31
31
|
variant: {
|
|
32
|
-
placeholder:
|
|
32
|
+
placeholder: `
|
|
33
|
+
text-storm-400
|
|
34
|
+
dark:text-white
|
|
35
|
+
`,
|
|
33
36
|
default: null,
|
|
34
37
|
},
|
|
35
38
|
enableTextWrap: {
|
|
@@ -37,7 +40,11 @@ const textContainer = index$1.cva('block w-full overflow-hidden text-start', {
|
|
|
37
40
|
false: 'text-ellipsis whitespace-nowrap',
|
|
38
41
|
},
|
|
39
42
|
error: {
|
|
40
|
-
true:
|
|
43
|
+
true: `
|
|
44
|
+
text-negative-red-700
|
|
45
|
+
group-hover/button:text-negative-red-800
|
|
46
|
+
dark:text-negative-red-alternative
|
|
47
|
+
`,
|
|
41
48
|
false: null,
|
|
42
49
|
},
|
|
43
50
|
},
|
|
@@ -274,7 +281,7 @@ const Select = class {
|
|
|
274
281
|
if (this._selectedItem?.length === 0) {
|
|
275
282
|
return placeholder;
|
|
276
283
|
}
|
|
277
|
-
return (index.h("div", { class: multiContainer(), ref: ref => (this._multiContainerRef = ref) }, this._selectedItem.map(item => (index.h("div", { class: multiItem(), onClick: () => this._selectValue(item) }, item[this.selectionDisplayKey ?? this.displayKey], index.h("p-icon", { class: 'text-xs text-indigo-500
|
|
284
|
+
return (index.h("div", { class: multiContainer(), ref: ref => (this._multiContainerRef = ref) }, this._selectedItem.map(item => (index.h("div", { class: multiItem(), onClick: () => this._selectValue(item) }, item[this.selectionDisplayKey ?? this.displayKey], index.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' })))), index.h("div", { class: 'extra pointer-events-none hidden text-sm text-storm-100' }, "+", this._amountHidden)));
|
|
278
285
|
}
|
|
279
286
|
return this._getDisplay(this._selectedItem, true);
|
|
280
287
|
}
|
|
@@ -342,8 +349,8 @@ const Select = class {
|
|
|
342
349
|
if (this.error?.length) {
|
|
343
350
|
buttonIcon = 'warning';
|
|
344
351
|
}
|
|
345
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
346
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, index.h("div", { key: '
|
|
352
|
+
return (index.h(themedHost_component.ThemedHost, { key: '76b10df3dbbf0a1758ea13c7205ea4c11ea05056' }, index.h("p-field-container", { key: 'e17bca429b8a24a4c5e4399911c9efcebd8a6b24', 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' }, index.h("p-dropdown", { key: '1bcd1b15692330794bed8b34fbe203b8015681d9', 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) }, index.h("p-button", { key: '383466f2cec3fa3e7aa65aa3db077445cb2917ef', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
353
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, index.h("div", { key: '8d5b4d842f4d49f029f1a61f98a8d768c61cf3ef', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
347
354
|
}
|
|
348
355
|
documentClickHandler(event) {
|
|
349
356
|
if (!this._showDropdown || childOf.childOfComposed(event, this._el)) {
|
|
@@ -504,7 +511,7 @@ const Select = class {
|
|
|
504
511
|
});
|
|
505
512
|
if (this._items.length === 0) {
|
|
506
513
|
items = [
|
|
507
|
-
index.h("p", { class: 'w-full p-2 text-center text-sm text-storm-400
|
|
514
|
+
index.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),
|
|
508
515
|
];
|
|
509
516
|
}
|
|
510
517
|
if (this.enableSelectAll && this._items.length > 0) {
|
|
@@ -597,7 +604,10 @@ const Select = class {
|
|
|
597
604
|
}) }, item[this.dropdownDisplayKey ?? this.displayKey])));
|
|
598
605
|
}
|
|
599
606
|
if (this.iconKey && (!isSelection || this.showIconOnSelectedItem)) {
|
|
600
|
-
content = (index.h("span", { class: 'flex items-center gap-2' }, item[this.iconKey] && (index.h("p-icon", { class: cn.cn(
|
|
607
|
+
content = (index.h("span", { class: 'flex items-center gap-2' }, item[this.iconKey] && (index.h("p-icon", { class: cn.cn(`
|
|
608
|
+
text-storm-300
|
|
609
|
+
dark:text-hurricane-200
|
|
610
|
+
`, (!isSelection || !!this.applyClassOnSelectedItem) &&
|
|
601
611
|
(!isSelectedInMenu || !!this.applyClassOnSelectedItemInMenu)
|
|
602
612
|
? (item?.[this.iconClassKey] ?? '')
|
|
603
613
|
: ''), variant: item[this.iconKey] })), index.h("div", { class: textContainer({
|
|
@@ -23,7 +23,10 @@ const smile = index$1.cva(null, {
|
|
|
23
23
|
compoundVariants: [
|
|
24
24
|
{
|
|
25
25
|
variant: ['modal', 'card'],
|
|
26
|
-
class:
|
|
26
|
+
class: `
|
|
27
|
+
absolute bottom-0 left-1/2 z-[-1] aspect-[8/3] -translate-x-1/2
|
|
28
|
+
text-off-white-500
|
|
29
|
+
`,
|
|
27
30
|
},
|
|
28
31
|
],
|
|
29
32
|
});
|
|
@@ -51,7 +54,7 @@ const Smile = class {
|
|
|
51
54
|
*/
|
|
52
55
|
variant = 'modal';
|
|
53
56
|
render() {
|
|
54
|
-
return (index.h(index.Host, { key: '
|
|
57
|
+
return (index.h(index.Host, { key: '6c99a0206e831d9122665ca9f17c1f533a9c8bc2', class: smile({ variant: this.variant }) }, index.h("div", { key: 'f157da0f0fae32f1355533d6a9fafe69c73a3309', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
|
|
55
58
|
}
|
|
56
59
|
};
|
|
57
60
|
Smile.style = smileComponentCss();
|
|
@@ -23,8 +23,8 @@ const item = index$1.cva('flex gap-2', {
|
|
|
23
23
|
},
|
|
24
24
|
});
|
|
25
25
|
const circle = index$1.cva([
|
|
26
|
-
'h-6 w-6
|
|
27
|
-
'text-
|
|
26
|
+
'flex h-6 w-6 items-center justify-center',
|
|
27
|
+
'text-center text-sm font-medium',
|
|
28
28
|
'border border-solid',
|
|
29
29
|
'rounded-full',
|
|
30
30
|
], {
|
|
@@ -52,19 +52,19 @@ const circle = index$1.cva([
|
|
|
52
52
|
finished: false,
|
|
53
53
|
active: false,
|
|
54
54
|
class: [
|
|
55
|
-
'
|
|
56
|
-
'dark:
|
|
55
|
+
'border-indigo-600 bg-indigo-50 text-indigo-600',
|
|
56
|
+
'dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200',
|
|
57
57
|
],
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
active: true,
|
|
61
61
|
finished: false,
|
|
62
|
-
class: '
|
|
62
|
+
class: 'border-indigo-600 bg-indigo-600 text-white',
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
active: false,
|
|
66
66
|
finished: true,
|
|
67
|
-
class: '
|
|
67
|
+
class: 'border-indigo-600 bg-indigo-600 text-white',
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
direction: 'vertical',
|
|
@@ -78,7 +78,7 @@ const circle = index$1.cva([
|
|
|
78
78
|
},
|
|
79
79
|
],
|
|
80
80
|
});
|
|
81
|
-
const content = index$1.cva('text-sm font-medium
|
|
81
|
+
const content = index$1.cva('mt-[1px] flex-1 text-sm font-medium', {
|
|
82
82
|
variants: {
|
|
83
83
|
finished: {
|
|
84
84
|
true: null,
|
|
@@ -97,22 +97,34 @@ const content = index$1.cva('text-sm font-medium flex-1 mt-[1px]', {
|
|
|
97
97
|
{
|
|
98
98
|
finished: false,
|
|
99
99
|
active: false,
|
|
100
|
-
class:
|
|
100
|
+
class: `
|
|
101
|
+
text-storm-400
|
|
102
|
+
dark:text-hurricane-200
|
|
103
|
+
`,
|
|
101
104
|
},
|
|
102
105
|
{
|
|
103
106
|
active: true,
|
|
104
107
|
finished: false,
|
|
105
|
-
class:
|
|
108
|
+
class: `
|
|
109
|
+
text-storm-500
|
|
110
|
+
dark:text-white
|
|
111
|
+
`,
|
|
106
112
|
},
|
|
107
113
|
{
|
|
108
114
|
active: false,
|
|
109
115
|
finished: true,
|
|
110
|
-
class:
|
|
116
|
+
class: `
|
|
117
|
+
text-storm-500
|
|
118
|
+
dark:text-white
|
|
119
|
+
`,
|
|
111
120
|
},
|
|
112
121
|
{
|
|
113
122
|
direction: 'horizontal',
|
|
114
123
|
active: false,
|
|
115
|
-
class:
|
|
124
|
+
class: `
|
|
125
|
+
hidden
|
|
126
|
+
desktop-xs:inline-block
|
|
127
|
+
`,
|
|
116
128
|
},
|
|
117
129
|
],
|
|
118
130
|
});
|
|
@@ -145,19 +157,19 @@ const StepperItem = class {
|
|
|
145
157
|
*/
|
|
146
158
|
active = false;
|
|
147
159
|
render() {
|
|
148
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
160
|
+
return (index.h(themedHost_component.ThemedHost, { key: '59225e7cf6387dc74870532f93d41f017ac2b917' }, index.h("div", { key: '3405b371edfc473077228b13dfb6642af24ca7b3', class: item({
|
|
149
161
|
align: this.align,
|
|
150
162
|
contentPosition: this.contentPosition,
|
|
151
|
-
}) }, index.h("div", { key: '
|
|
163
|
+
}) }, index.h("div", { key: 'd4c559d9f794406bd0c967a0b8d02437b1fa5770', class: circle({
|
|
152
164
|
align: this.align,
|
|
153
165
|
direction: this.direction,
|
|
154
166
|
active: asBoolean.asBoolean(this.active),
|
|
155
167
|
finished: asBoolean.asBoolean(this.finished),
|
|
156
|
-
}) }, this.number), index.h("div", { key: '
|
|
168
|
+
}) }, this.number), index.h("div", { key: 'e62cac677b32c265bafaa4f7e0844dae1fdee71b', class: content({
|
|
157
169
|
active: asBoolean.asBoolean(this.active),
|
|
158
170
|
finished: asBoolean.asBoolean(this.finished),
|
|
159
171
|
direction: this.direction,
|
|
160
|
-
}) }, index.h("slot", { key: '
|
|
172
|
+
}) }, index.h("slot", { key: '853a7664d61bd16d5e0da555bf779a250ba9c15f' })))));
|
|
161
173
|
}
|
|
162
174
|
};
|
|
163
175
|
StepperItem.style = stepperItemComponentCss();
|
|
@@ -9,7 +9,7 @@ const TabContainer = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h("div", { key: '52a5885561b5e33d4f3add2bf07615ad98b17977', class: 'relative flex h-8 w-full flex-col' }, index.h("div", { key: '19fda7b08f566510d4b7a565b5e6686daa42fe28', class: '
|
|
12
|
+
return (index.h("div", { key: '52a5885561b5e33d4f3add2bf07615ad98b17977', class: 'relative flex h-8 w-full flex-col' }, index.h("div", { key: '19fda7b08f566510d4b7a565b5e6686daa42fe28', class: 'flex w-full gap-5 overflow-x-auto scrollbar-hide' }, index.h("slot", { key: '8ee560a0e3125fddaf38beac8ac80662b193fda4' })), index.h("p-divider", { key: '153374f8cc24d554a8beeef4fdaa30a93173d3fc', class: '\n absolute bottom-0 left-0 m-0 w-full text-off-white-700\n dark:text-hurricane-400\n ' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
TabContainer.style = tabContainerComponentCss();
|
|
@@ -9,16 +9,32 @@ require('./state-DM8SZBNO.js');
|
|
|
9
9
|
const tabItemComponentCss = () => `*{box-sizing:border-box}:host{--tw-content:" "}.static{position:static}.flex{display:flex}.h-8{height:2rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.justify-between{justify-content:space-between}.text-sm{font-size:.875rem;line-height:1.25rem}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.after\\:h-\\[2px\\]:after{content:var(--tw-content);height:2px}.after\\:bg-indigo-600:after{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));content:var(--tw-content)}.after\\:bg-transparent:after{background-color:transparent;content:var(--tw-content)}.hover\\:text-storm-400:hover{--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.hover\\:after\\:bg-storm-400:hover:after{--tw-bg-opacity:1;background-color:rgb(70 75 84/var(--tw-bg-opacity,1));content:var(--tw-content)}.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\\: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\\:hover\\:after\\:bg-white:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}.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\\: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))}.dark\\:hover\\:after\\:bg-white:hover:where([data-theme=dark],[data-theme=dark] *):after{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));content:var(--tw-content)}`;
|
|
10
10
|
|
|
11
11
|
const item = index$1.cva([
|
|
12
|
-
'h-8 flex
|
|
12
|
+
'flex h-8 flex-col justify-between text-sm',
|
|
13
13
|
'cursor-pointer',
|
|
14
|
-
|
|
14
|
+
`
|
|
15
|
+
after:content-['
|
|
16
|
+
']
|
|
17
|
+
after:h-[2px]
|
|
18
|
+
`,
|
|
15
19
|
], {
|
|
16
20
|
variants: {
|
|
17
21
|
active: {
|
|
18
|
-
true:
|
|
22
|
+
true: `
|
|
23
|
+
text-indigo-600
|
|
24
|
+
after:bg-indigo-600
|
|
25
|
+
`,
|
|
19
26
|
false: [
|
|
20
|
-
|
|
21
|
-
|
|
27
|
+
`
|
|
28
|
+
text-storm-300
|
|
29
|
+
after:bg-transparent
|
|
30
|
+
hover:text-storm-400
|
|
31
|
+
hover:after:bg-storm-400
|
|
32
|
+
`,
|
|
33
|
+
`
|
|
34
|
+
dark:text-hurricane-200
|
|
35
|
+
dark:hover:text-white
|
|
36
|
+
dark:hover:after:bg-white
|
|
37
|
+
`,
|
|
22
38
|
],
|
|
23
39
|
},
|
|
24
40
|
},
|
|
@@ -32,7 +48,7 @@ const TabItem = class {
|
|
|
32
48
|
*/
|
|
33
49
|
active = false;
|
|
34
50
|
render() {
|
|
35
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
51
|
+
return (index.h(themedHost_component.ThemedHost, { key: '68381d5e607b93bd36eaac21b4548f1a8cbe1169' }, index.h("div", { key: 'fe0d645f2421de9d8f0c3c2b008125b9c70244d4', class: item({ active: this.active }) }, index.h("slot", { key: 'bba769a606b49e9f5eab7f47a3bdd263bbc34f3f' }))));
|
|
36
52
|
}
|
|
37
53
|
};
|
|
38
54
|
TabItem.style = tabItemComponentCss();
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var index = require('./index-BGtpSJv_.js');
|
|
4
4
|
var localization = require('./localization-CTvpcGDo.js');
|
|
5
|
-
var tableHelpers = require('./table-helpers-
|
|
5
|
+
var tableHelpers = require('./table-helpers-CskH_8AL.js');
|
|
6
6
|
var screens = require('./screens-AithmFZ8.js');
|
|
7
7
|
var cn = require('./cn-Cd68UVBT.js');
|
|
8
8
|
var constants = require('./constants-BuWBrjuU.js');
|
|
@@ -7,11 +7,16 @@ require('./clsx-BtxeOLZW.js');
|
|
|
7
7
|
const toastContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.fixed{position:fixed}.bottom-\\[calc\\(env\\(safe-area-inset-bottom\\2c 0\\)\\+1rem\\)\\]{bottom:calc(env(safe-area-inset-bottom,0) + 1rem)}.left-\\[calc\\(env\\(safe-area-inset-left\\2c 0\\)\\+1rem\\)\\]{left:calc(env(safe-area-inset-left,0) + 1rem)}.right-\\[calc\\(env\\(safe-area-inset-right\\2c 0\\)\\+1rem\\)\\]{right:calc(env(safe-area-inset-right,0) + 1rem)}.top-\\[calc\\(env\\(safe-area-inset-top\\2c 0\\)\\+1rem\\)\\]{top:calc(env(safe-area-inset-top,0) + 1rem)}.z-\\[600\\]{z-index:600}.z-toast{z-index:700}.flex{display:flex}.max-w-\\[calc\\(100\\%-\\(env\\(safe-area-inset-left\\2c 0\\)\\+env\\(safe-area-inset-right\\2c 0\\)\\+2rem\\)\\)\\]{max-width:calc(100% - env(safe-area-inset-left,0) - env(safe-area-inset-right,0) - 2rem)}.flex-col{flex-direction:column}.gap-4{gap:1rem}.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}}@media (min-width:40rem){.tablet\\:max-w-\\[26\\.5rem\\]{max-width:26.5rem}}`;
|
|
8
8
|
|
|
9
9
|
const container = index$1.cva([
|
|
10
|
-
'fixed flex flex-col gap-4
|
|
10
|
+
'fixed z-toast flex flex-col gap-4',
|
|
11
11
|
'tablet:max-w-[26.5rem]',
|
|
12
12
|
'z-[600]',
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
`
|
|
14
|
+
w-[calc(100%-(env(safe-area-inset-left,0)+env(safe-area-inset-right,
|
|
15
|
+
0)+2rem))]
|
|
16
|
+
`,
|
|
17
|
+
`
|
|
18
|
+
max-w-[calc(100%-(env(safe-area-inset-left,0)+env(safe-area-inset-right,0)+2rem))]
|
|
19
|
+
`,
|
|
15
20
|
], {
|
|
16
21
|
variants: {
|
|
17
22
|
placement: {
|
|
@@ -43,9 +48,9 @@ const ToastContainer = class {
|
|
|
43
48
|
*/
|
|
44
49
|
placement = 'top-end';
|
|
45
50
|
render() {
|
|
46
|
-
return (index.h("div", { key: '
|
|
51
|
+
return (index.h("div", { key: 'bd21d7bd4c72892795945f527a55d244c74a3e8a', class: container({
|
|
47
52
|
placement: this.placement,
|
|
48
|
-
}) }, index.h("slot", { key: '
|
|
53
|
+
}) }, index.h("slot", { key: 'c822ef2a7a7269a926b0e6d416d3f584e133e668' })));
|
|
49
54
|
}
|
|
50
55
|
};
|
|
51
56
|
ToastContainer.style = toastContainerComponentCss();
|
|
@@ -8,18 +8,30 @@ require('./state-DM8SZBNO.js');
|
|
|
8
8
|
|
|
9
9
|
const toastComponentCss = () => `*{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))}`;
|
|
10
10
|
|
|
11
|
-
const indicator = index$1.cva('w-[2px]
|
|
11
|
+
const indicator = index$1.cva('h-9 w-[2px] flex-shrink-0 rounded-full', {
|
|
12
12
|
variants: {
|
|
13
13
|
variant: {
|
|
14
|
-
neutral:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
neutral: `
|
|
15
|
+
bg-indigo-800
|
|
16
|
+
dark:bg-indigo-400
|
|
17
|
+
`,
|
|
18
|
+
positive: `
|
|
19
|
+
bg-positive-green-500
|
|
20
|
+
dark:bg-positive-green-alternative
|
|
21
|
+
`,
|
|
22
|
+
biased: `
|
|
23
|
+
bg-amber-500
|
|
24
|
+
dark:bg-amber-alternative
|
|
25
|
+
`,
|
|
26
|
+
negative: `
|
|
27
|
+
bg-negative-red-500
|
|
28
|
+
dark:bg-negative-red-alternative
|
|
29
|
+
`,
|
|
18
30
|
},
|
|
19
31
|
},
|
|
20
32
|
});
|
|
21
33
|
const content = index$1.cva([
|
|
22
|
-
'flex justify-between
|
|
34
|
+
'flex items-center justify-between gap-2',
|
|
23
35
|
'w-[calc(100%-2px-0.5rem)]',
|
|
24
36
|
]);
|
|
25
37
|
const Toast = class {
|
|
@@ -60,7 +72,7 @@ const Toast = class {
|
|
|
60
72
|
*/
|
|
61
73
|
action;
|
|
62
74
|
render() {
|
|
63
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
75
|
+
return (index.h(themedHost_component.ThemedHost, { key: '691f56d7bd82c2c908b4773e39bf327174af3784' }, index.h("div", { key: 'd7ea2273b9ac2685b2a6583d25f7e7236061eeda', 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() }, index.h("div", { key: 'e7dba6bb34063d4c20df2c16bd87be7dbbe53815', class: indicator({ variant: this.variant }) }), index.h("div", { key: '1fc1320c89627a6da22f3010abcb7c6b7af25109', class: content() }, index.h("div", { key: '1122c87ff8fa6f3410d416ee223fc7532c723652', class: 'flex w-full min-w-0 flex-col' }, index.h("p", { key: '78ea333ecd424872e1a1e99b14e6427ec1b3a68d', 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 : index.h("slot", { name: 'header' })), index.h("p", { key: '899613703dc181f980c2e45ef54d6aeb24d7f3ab', 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 : index.h("slot", { name: 'content' }))), this.enableAction && (index.h("div", { key: '2fcede21976b5f039715905c282c0990f7b7b7cf', 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 ' }, index.h("p-icon", { key: '12a6725ddedad306f9af430fb0e61f6ad3d4f9ef', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
64
76
|
}
|
|
65
77
|
_onClick() {
|
|
66
78
|
if (this.enableAction) {
|