@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
|
@@ -5,7 +5,7 @@ var index$1 = require('./index-mudu9vpz.js');
|
|
|
5
5
|
var themedHost_component = require('./themed-host.component-BeeT9Ite.js');
|
|
6
6
|
var asBoolean = require('./as-boolean-C1PzA22I.js');
|
|
7
7
|
var localization = require('./localization-CTvpcGDo.js');
|
|
8
|
-
var tableHelpers = require('./table-helpers-
|
|
8
|
+
var tableHelpers = require('./table-helpers-CskH_8AL.js');
|
|
9
9
|
var objectGetByPath = require('./object-get-by-path-CxU4WbZu.js');
|
|
10
10
|
var cn = require('./cn-Cd68UVBT.js');
|
|
11
11
|
var constants = require('./constants-BuWBrjuU.js');
|
|
@@ -14,7 +14,7 @@ require('./state-DM8SZBNO.js');
|
|
|
14
14
|
|
|
15
15
|
const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
16
16
|
|
|
17
|
-
const emptyState = index$1.cva(['flex
|
|
17
|
+
const emptyState = index$1.cva(['flex w-full max-w-[20rem] flex-col items-center justify-start'], {
|
|
18
18
|
variants: {
|
|
19
19
|
enableAction: {
|
|
20
20
|
true: 'cursor-pointer',
|
|
@@ -76,7 +76,7 @@ const EmptyState = class {
|
|
|
76
76
|
enableAction: asBoolean.asBoolean(this.enableAction, true),
|
|
77
77
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
78
78
|
? this.action.emit(ev)
|
|
79
|
-
: undefined }, this.illustration && (index.h("p-illustration", { key: '3434e243bb9a41e7f56982fff2450cc92013b25f', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (index.h("slot", { name: 'header' })) : (this.header?.length && (index.h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-storm-500
|
|
79
|
+
: undefined }, this.illustration && (index.h("p-illustration", { key: '3434e243bb9a41e7f56982fff2450cc92013b25f', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (index.h("slot", { name: 'header' })) : (this.header?.length && (index.h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (index.h("slot", { name: 'content' })) : (this.content?.length && (index.h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
|
|
80
80
|
(hasActionSlot ? (index.h("slot", { name: 'action' })) : (index.h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
81
81
|
}
|
|
82
82
|
};
|
|
@@ -89,7 +89,7 @@ const container$1 = index$1.cva([
|
|
|
89
89
|
'shadow-3',
|
|
90
90
|
'bg-storm-500',
|
|
91
91
|
'dark:bg-hurricane-400',
|
|
92
|
-
'h-10 py-1
|
|
92
|
+
'h-10 w-auto py-1',
|
|
93
93
|
'rounded-lg',
|
|
94
94
|
'text-sm',
|
|
95
95
|
'flex items-center gap-2',
|
|
@@ -241,7 +241,7 @@ TableCell.style = tableCellComponentCss();
|
|
|
241
241
|
|
|
242
242
|
const tableContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.relative{position:relative}.flex{display:flex}.flex-col{flex-direction:column}.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}}`;
|
|
243
243
|
|
|
244
|
-
const container = index$1.cva('flex flex-col
|
|
244
|
+
const container = index$1.cva('relative flex flex-col');
|
|
245
245
|
const TableContainer = class {
|
|
246
246
|
constructor(hostRef) {
|
|
247
247
|
index.registerInstance(this, hostRef);
|
|
@@ -255,11 +255,15 @@ TableContainer.style = tableContainerComponentCss();
|
|
|
255
255
|
const tableFooterComponentCss = () => `.pointer-events-none{pointer-events:none}.sticky{position:sticky}.z-\\[1\\]{z-index:1}*{box-sizing:border-box}:host{--tw-content:"";pointer-events:none;position:sticky;z-index:1}.pointer-events-auto{pointer-events:auto}.static{position:static}.relative{position:relative}.z-\\[2\\]{z-index:2}.flex{display:flex}.table{display:table}.hidden{display:none}.w-full{width:100%}.justify-center{justify-content:center}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-8{padding-bottom:2rem;padding-top:2rem}.pb-20{padding-bottom:5rem}.pt-8{padding-top:2rem}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:left-0:after{content:var(--tw-content);left:0}.after\\:top-0:after{content:var(--tw-content);top:0}.after\\:z-\\[0\\]:after{content:var(--tw-content);z-index:0}.after\\:h-full:after{content:var(--tw-content);height:100%}.after\\:w-full:after{content:var(--tw-content);width:100%}.after\\:bg-gradient-to-t:after{background-image:linear-gradient(to top,var(--tw-gradient-stops));content:var(--tw-content)}.after\\:from-white:after{--tw-gradient-from:#fff var(--tw-gradient-from-position);--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.after\\:via-white\\/80:after{--tw-gradient-to:hsla(0,0%,100%,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),hsla(0,0%,100%,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.after\\:to-transparent:after{--tw-gradient-to:transparent var(--tw-gradient-to-position);content:var(--tw-content)}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-opacity:after{content:var(--tw-content);transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}@media (min-width:64rem){.desktop-xs\\:py-8{padding-bottom:2rem;padding-top:2rem}}.dark\\:after\\:from-hurricane-700:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where(:host([data-theme=dark]),:host([data-theme=dark]) *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:from-hurricane-700:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-from:#232934 var(--tw-gradient-from-position);--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to);content:var(--tw-content)}.dark\\:after\\:via-hurricane-700\\/80:where([data-theme=dark],[data-theme=dark] *):after{--tw-gradient-to:rgba(35,41,52,0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),rgba(35,41,52,.8) var(--tw-gradient-via-position),var(--tw-gradient-to);content:var(--tw-content)}`;
|
|
256
256
|
|
|
257
257
|
const footer = index$1.cva([
|
|
258
|
-
'justify-center
|
|
258
|
+
'relative justify-center',
|
|
259
259
|
'w-full px-6',
|
|
260
|
-
'after:absolute after:
|
|
261
|
-
'after:
|
|
262
|
-
|
|
260
|
+
'after:absolute after:left-0 after:top-0 after:z-[0]',
|
|
261
|
+
'after:h-full after:w-full after:transition-opacity',
|
|
262
|
+
`
|
|
263
|
+
after:bg-gradient-to-t after:from-white after:via-white/80
|
|
264
|
+
after:to-transparent
|
|
265
|
+
dark:after:from-hurricane-700 dark:after:via-hurricane-700/80
|
|
266
|
+
`,
|
|
263
267
|
], {
|
|
264
268
|
variants: {
|
|
265
269
|
pinned: {
|
|
@@ -271,7 +275,10 @@ const footer = index$1.cva([
|
|
|
271
275
|
true: 'hidden',
|
|
272
276
|
},
|
|
273
277
|
tableHeaderHasAction: {
|
|
274
|
-
true:
|
|
278
|
+
true: `
|
|
279
|
+
pb-20 pt-8
|
|
280
|
+
desktop-xs:py-8
|
|
281
|
+
`,
|
|
275
282
|
false: 'py-8',
|
|
276
283
|
},
|
|
277
284
|
},
|
|
@@ -355,12 +362,12 @@ const TableFooter = class {
|
|
|
355
362
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
356
363
|
}
|
|
357
364
|
render() {
|
|
358
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
365
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'b0ae6e77e5b14d5ac5a736790004b3b15c3dbe2e' }, index.h("div", { key: '7115b353fb53075cef7330b0fdcb7cce1e3fc3f6', class: footer({
|
|
359
366
|
pinned: this._isPinned,
|
|
360
367
|
hidden: this._hidden,
|
|
361
368
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
362
369
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
363
|
-
this.total > 0 && (index.h("p-pagination", { key: '
|
|
370
|
+
this.total > 0 && (index.h("p-pagination", { key: 'cce7d85d9465d6e65d92e5e4b687a80f4f715173', class: 'pointer-events-auto z-[2]', enablePaginationPages: this.enablePaginationPages, enablePaginationSize: this.enablePaginationSize, hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPageSizeChange: ({ detail }) => this._changePageSize(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
|
|
364
371
|
}
|
|
365
372
|
_changePageSize(s) {
|
|
366
373
|
if (!s) {
|
|
@@ -9851,9 +9858,12 @@ var cjsExports = /*@__PURE__*/ requireCjs();
|
|
|
9851
9858
|
const tableHeaderComponentCss = () => `*{box-sizing:border-box}.static{position:static}.fixed{position:fixed}.bottom-0{bottom:0}.left-0{left:0}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.ml-1{margin-left:.25rem}.block{display:block}.flex{display:flex}.hidden{display:none}.h-4{height:1rem}.h-8{height:2rem}.w-3\\/4{width:75%}.w-full{width:100%}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-2{gap:.5rem}.gap-4{gap:1rem}.justify-self-start{justify-self:start}.rounded{border-radius:.25rem}.border{border-width:1px}.border-solid{border-style:solid}.border-transparent{border-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.p-4{padding:1rem}.px-4{padding-left:1rem;padding-right:1rem}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width:40rem){.tablet\\:flex{display:flex}.tablet\\:px-0{padding-left:0;padding-right:0}}@media (min-width:64rem){.desktop-xs\\:ml-auto{margin-left:auto}.desktop-xs\\:flex{display:flex}.desktop-xs\\:hidden{display:none}.desktop-xs\\:w-auto{width:auto}.desktop-xs\\:max-w-60{max-width:15rem}.desktop-xs\\:flex-row{flex-direction:row}.desktop-xs\\:items-center{align-items:center}}.dark\\:border-t-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-top-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:text-white\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.15)}.dark\\:border-t-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-top-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:text-white\\/15:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.15)}`;
|
|
9852
9859
|
|
|
9853
9860
|
const header = index$1.cva([
|
|
9854
|
-
'flex flex-col gap-2
|
|
9861
|
+
'z-[1] flex flex-col gap-2',
|
|
9855
9862
|
'w-full',
|
|
9856
|
-
|
|
9863
|
+
`
|
|
9864
|
+
px-4
|
|
9865
|
+
tablet:px-0
|
|
9866
|
+
`,
|
|
9857
9867
|
'desktop-xs:flex-row',
|
|
9858
9868
|
]);
|
|
9859
9869
|
const TableHeader = class {
|
|
@@ -9982,28 +9992,45 @@ const TableHeader = class {
|
|
|
9982
9992
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
9983
9993
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
9984
9994
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
9985
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
9986
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (index.h("div", { key: '
|
|
9995
|
+
return (index.h(themedHost_component.ThemedHost, { key: '046a82c93f16849095adf724acfd621369af3593' }, index.h("div", { key: 'e46eb857f7945716243299ce4c999673ec453d5a', class: header() }, this.loading && (index.h("p-loader", { key: 'c8a4898ede8aa744b72c6d11afceba5079eeb32a', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
9996
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (index.h("div", { key: '877290a2e98724bc17e95d3d447ea37e6a005dc4', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && index.h("slot", { key: 'c1a71c7715dfd42975529c08f7d784f7fc463309', name: 'custom-filter' }), quickFilters.length > 0 && (index.h("p-segment-container", { key: 'a78f5ca023cd8106c610d1535e6e8b262dc15632', class: '\n hidden\n desktop-xs:flex\n ' }, quickFilters.map(item => (index.h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
9987
9997
|
? item.text
|
|
9988
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), index.h("div", { key: '
|
|
9998
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), index.h("div", { key: '17e05645a060b6674211930c340f039e690b2b83', class: '\n flex flex-col justify-end gap-2\n desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center\n ' }, this.enableSearch && (index.h("p-field", { key: 'e8cc9ab173b7864f5adee53fcb7a6b124e392722', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), index.h("div", { key: '593628e94f3766ad21562a8133cc76e0a8e7c612', class: 'flex items-center gap-2' }, this.enableFilter && (index.h("p-button", { key: '863ea9caf0d1d34e5c45a22db523f54075b861c9', class: `
|
|
9999
|
+
w-full
|
|
10000
|
+
${this.enableFilterDesktop
|
|
9989
10001
|
? 'desktop-xs:w-auto'
|
|
9990
|
-
: 'desktop-xs:hidden'}
|
|
10002
|
+
: 'desktop-xs:hidden'}
|
|
10003
|
+
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
9991
10004
|
? this.filterButtonTemplate()
|
|
9992
10005
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
9993
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (index.h("p-divider", { key: '
|
|
10006
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (index.h("p-divider", { key: 'f82cc292316723b26ed2f163a8a4e5bd6b321f33', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (index.h("p-button", { key: '68b77661274b6e9c6e8764bbe16519539966e0f9', class: '\n desktop-xs:auto\n w-full\n ', icon: 'upload', variant: 'secondary', onOnClick: () => this.export.emit() }, localization.formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && index.h("slot", { key: '5156a9e3cdcef6ce1aa15efa4909d88abed010da', name: 'custom-actions' })), this.enableAction && this.canUseAction && (index.h("div", { key: 'a8125d245e8a194734b50c2ead689a9bfb7d686e', class: '\n fixed bottom-0 left-0 z-[2] block w-full border border-solid\n border-transparent bg-white p-4\n desktop-xs:hidden\n dark:border-t-hurricane-400 dark:bg-hurricane-500\n ' }, this._buttonTemplate(true))))));
|
|
9994
10007
|
}
|
|
9995
10008
|
async _setLocales() {
|
|
9996
10009
|
this._locales = await localization.getLocaleComponentStrings(this._el);
|
|
9997
10010
|
}
|
|
9998
10011
|
_buttonTemplate(mobile = false) {
|
|
9999
|
-
return (index.h("p-button", { class: mobile
|
|
10012
|
+
return (index.h("p-button", { class: mobile
|
|
10013
|
+
? 'w-full'
|
|
10014
|
+
: `
|
|
10015
|
+
hidden
|
|
10016
|
+
desktop-xs:flex
|
|
10017
|
+
`, disabled: !this.canUseAction, icon: this.actionIcon, loading: this.actionLoading, onOnClick: () => this.action.emit() }, this.actionButtonTemplate
|
|
10000
10018
|
? this.actionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)
|
|
10001
10019
|
: this._defaultActionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)));
|
|
10002
10020
|
}
|
|
10003
10021
|
_getLabel(amount, variant = 'default') {
|
|
10004
|
-
return (index.h("p-badge", { class: `
|
|
10005
|
-
|
|
10006
|
-
|
|
10022
|
+
return (index.h("p-badge", { class: `
|
|
10023
|
+
ml-1
|
|
10024
|
+
${variant === 'default'
|
|
10025
|
+
? `
|
|
10026
|
+
hidden
|
|
10027
|
+
desktop-xs:flex
|
|
10028
|
+
`
|
|
10029
|
+
: `
|
|
10030
|
+
flex
|
|
10031
|
+
desktop-xs:hidden
|
|
10032
|
+
`}
|
|
10033
|
+
` }, amount));
|
|
10007
10034
|
}
|
|
10008
10035
|
};
|
|
10009
10036
|
TableHeader.style = tableHeaderComponentCss();
|
|
@@ -10013,7 +10040,7 @@ const tableRowComponentCss = () => `.relative{position:relative}*{box-sizing:bor
|
|
|
10013
10040
|
const row = index$1.cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative'], {
|
|
10014
10041
|
variants: {
|
|
10015
10042
|
variant: {
|
|
10016
|
-
default: ['px-3
|
|
10043
|
+
default: ['m-1 px-3', 'text-sm text-storm-500', 'dark:text-white'],
|
|
10017
10044
|
header: null,
|
|
10018
10045
|
'header-secondary': 'mb-4',
|
|
10019
10046
|
secondary: ['px-4', 'font-ambit text-lg font-bold'],
|
|
@@ -10044,12 +10071,16 @@ const row = index$1.cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 're
|
|
|
10044
10071
|
checked: true,
|
|
10045
10072
|
class: [
|
|
10046
10073
|
'rounded-lg transition-colors',
|
|
10047
|
-
|
|
10074
|
+
`
|
|
10075
|
+
bg-off-white-300
|
|
10076
|
+
dark:bg-hurricane-400
|
|
10077
|
+
dark:hover:bg-hurricane-400
|
|
10078
|
+
`,
|
|
10048
10079
|
],
|
|
10049
10080
|
},
|
|
10050
10081
|
{
|
|
10051
10082
|
variant: ['secondary', 'header-secondary'],
|
|
10052
|
-
class: ['bg-off-white-300
|
|
10083
|
+
class: ['rounded-lg bg-off-white-300', 'dark:bg-hurricane-400'],
|
|
10053
10084
|
},
|
|
10054
10085
|
{
|
|
10055
10086
|
variant: ['header', 'header-secondary'],
|
|
@@ -10073,7 +10104,10 @@ const content = index$1.cva('relative flex min-w-full flex-nowrap items-stretch
|
|
|
10073
10104
|
compoundVariants: [
|
|
10074
10105
|
{
|
|
10075
10106
|
variant: ['default', 'secondary'],
|
|
10076
|
-
class:
|
|
10107
|
+
class: `
|
|
10108
|
+
min-h-14 py-2
|
|
10109
|
+
tablet:py-4
|
|
10110
|
+
`,
|
|
10077
10111
|
},
|
|
10078
10112
|
{
|
|
10079
10113
|
variant: ['header', 'header-secondary'],
|
|
@@ -10084,7 +10118,10 @@ const content = index$1.cva('relative flex min-w-full flex-nowrap items-stretch
|
|
|
10084
10118
|
const actions = index$1.cva([
|
|
10085
10119
|
'absolute -right-4 top-1 z-[2]',
|
|
10086
10120
|
'h-[calc(100%-0.5rem)]',
|
|
10087
|
-
|
|
10121
|
+
`
|
|
10122
|
+
opacity-0 transition-opacity
|
|
10123
|
+
group-hover:opacity-100
|
|
10124
|
+
`,
|
|
10088
10125
|
'empty:hidden',
|
|
10089
10126
|
]);
|
|
10090
10127
|
const TableRow = class {
|
|
@@ -10108,13 +10145,13 @@ const TableRow = class {
|
|
|
10108
10145
|
*/
|
|
10109
10146
|
isLast = false;
|
|
10110
10147
|
render() {
|
|
10111
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
10148
|
+
return (index.h(themedHost_component.ThemedHost, { key: '2a879fbd1ebc7e0ba74ccee2af2cd6c1a50ca1e9' }, index.h("div", { key: 'c8669184f758a8a2d43e64106e61528685868aba', class: 'flex flex-col' }, index.h("div", { key: '7ac443b2dc90f0933685cc3f2acc3d4a35294913', class: row({
|
|
10112
10149
|
variant: this.variant,
|
|
10113
10150
|
enableHover: this.enableHover,
|
|
10114
10151
|
checked: this.checked,
|
|
10115
|
-
}) }, index.h("div", { key: '
|
|
10152
|
+
}) }, index.h("div", { key: 'f7e60bd5f786101d8a6e621c3c267d1b0d8be51f', class: content({
|
|
10116
10153
|
variant: this.variant,
|
|
10117
|
-
}) }, index.h("slot", { key: '
|
|
10154
|
+
}) }, index.h("slot", { key: '8c2c29d4fc47bf0bac08e13974cf75cca9a547d2' }), index.h("div", { key: '86aae5f9bfaefadb6230bd56fe8a98a0e43bca9b', class: actions() }, index.h("slot", { key: '18ac2963f072a01ab5489feb1f8cc29a0e070c82', name: 'actions' })))), !asBoolean.asBoolean(this.isLast) && this.variant !== 'secondary' && (index.h("p-divider", { key: 'a997fce0cef95cedd38154a512aff948d46cb465' })))));
|
|
10118
10155
|
}
|
|
10119
10156
|
};
|
|
10120
10157
|
TableRow.style = tableRowComponentCss();
|
|
@@ -10130,13 +10167,16 @@ const TableRowActionsContainer = class {
|
|
|
10130
10167
|
*/
|
|
10131
10168
|
checked = false;
|
|
10132
10169
|
render() {
|
|
10133
|
-
return (index.h(themedHost_component.ThemedHost, { key: '05b47280bc380ad0960a69c27fa641ea735a94f4' }, index.h("div", { key: '
|
|
10170
|
+
return (index.h(themedHost_component.ThemedHost, { key: '05b47280bc380ad0960a69c27fa641ea735a94f4' }, index.h("div", { key: '5a0480d4df301d4aa395f87fc93b2e068b9f79f4', class: cn.cn(`
|
|
10171
|
+
flex
|
|
10172
|
+
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
10173
|
+
`, {
|
|
10134
10174
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10135
10175
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10136
|
-
}) }, index.h("div", { key: '
|
|
10176
|
+
}) }, index.h("div", { key: '6772a16f95a60938d7d8a019dcbd7c6e8f0d00c7', class: cn.cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10137
10177
|
'dark:bg-hurricane-600': !this.checked,
|
|
10138
10178
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10139
|
-
}) }, index.h("slot", { key: '
|
|
10179
|
+
}) }, index.h("slot", { key: '27f6a9bf20a79fc58b63412aa0943278408e6f90' })))));
|
|
10140
10180
|
}
|
|
10141
10181
|
};
|
|
10142
10182
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|
|
@@ -12,10 +12,10 @@ require('./state-DM8SZBNO.js');
|
|
|
12
12
|
|
|
13
13
|
const fieldComponentCss = () => `*{box-sizing:border-box}:host{input[type=number]{-moz-appearance:textfield}input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;display:none}}.static{position:static}.relative{position:relative}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.h-full{height:100%}.min-h-4{min-height:1rem}.min-h-5{min-height:1.25rem}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.cursor-not-allowed{cursor:not-allowed}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.hyphens-auto{hyphens:auto}.break-normal{overflow-wrap:normal;word-break:normal}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-0{border-width:0}.border-solid{border-style:solid}.border-none{border-style:none}.border-indigo-600{--tw-border-opacity:1;border-color:rgb(82 138 250/var(--tw-border-opacity,1))}.border-negative-red-500{--tw-border-opacity:1;border-color:rgb(230 30 30/var(--tw-border-opacity,1))}.border-storm-100{--tw-border-opacity:1;border-color:rgb(209 210 212/var(--tw-border-opacity,1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.bg-white-600{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))}.p-0{padding:0}.px-2{padding-left:.5rem;padding-right:.5rem}.text-center{text-align:center}.font-geist{font-family:Geist,serif}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.leading-6{line-height:1.5rem}.text-negative-red-500{--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.outline-none{outline:2px solid transparent;outline-offset:2px}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-indigo-100{--tw-ring-opacity:1;--tw-ring-color:rgb(227 236 254/var(--tw-ring-opacity,1))}.ring-negative-red-50{--tw-ring-opacity:1;--tw-ring-color:rgb(253 237 237/var(--tw-ring-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.selection\\:bg-indigo-500 ::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50 ::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.selection\\:bg-indigo-500::selection{--tw-bg-opacity:1;background-color:rgb(142 179 251/var(--tw-bg-opacity,1))}.selection\\:bg-negative-red-50::selection{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.placeholder\\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\\:text-storm-500\\/40::placeholder{color:rgba(24,30,41,.4)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(70 75 84/var(--tw-border-opacity,1))}.dark\\:border-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1;border-color:rgb(54 60 70/var(--tw-border-opacity,1))}.dark\\:bg-hurricane-500:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(70 75 84/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:ring-0:where([data-theme=dark],[data-theme=dark] *){--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.dark\\:placeholder\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *)::placeholder{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}`;
|
|
14
14
|
|
|
15
|
-
const field = index$1.cva(['flex gap-2', 'w-inherit', 'border-solid
|
|
15
|
+
const field = index$1.cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relative'], {
|
|
16
16
|
variants: {
|
|
17
17
|
variant: {
|
|
18
|
-
read: '
|
|
18
|
+
read: 'flex-wrap items-start hyphens-auto break-normal border-0 leading-6',
|
|
19
19
|
write: 'border px-2',
|
|
20
20
|
},
|
|
21
21
|
size: {
|
|
@@ -66,24 +66,37 @@ const field = index$1.cva(['flex gap-2', 'w-inherit', 'border-solid rounded-lg',
|
|
|
66
66
|
variant: 'write',
|
|
67
67
|
focused: false,
|
|
68
68
|
error: false,
|
|
69
|
-
class:
|
|
69
|
+
class: `
|
|
70
|
+
border-storm-100
|
|
71
|
+
dark:border-hurricane-400
|
|
72
|
+
`,
|
|
70
73
|
},
|
|
71
74
|
{
|
|
72
75
|
variant: 'write',
|
|
73
76
|
disabled: false,
|
|
74
77
|
focused: true,
|
|
75
78
|
error: false,
|
|
76
|
-
class:
|
|
79
|
+
class: `
|
|
80
|
+
border-indigo-600 ring ring-indigo-100
|
|
81
|
+
selection:bg-indigo-500
|
|
82
|
+
dark:ring-0
|
|
83
|
+
`,
|
|
77
84
|
},
|
|
78
85
|
{
|
|
79
86
|
variant: 'write',
|
|
80
87
|
disabled: false,
|
|
81
|
-
class:
|
|
88
|
+
class: `
|
|
89
|
+
bg-white
|
|
90
|
+
dark:bg-hurricane-500
|
|
91
|
+
`,
|
|
82
92
|
},
|
|
83
93
|
{
|
|
84
94
|
variant: 'write',
|
|
85
95
|
disabled: true,
|
|
86
|
-
class:
|
|
96
|
+
class: `
|
|
97
|
+
cursor-not-allowed bg-white-600
|
|
98
|
+
dark:border-hurricane-500 dark:bg-hurricane-600
|
|
99
|
+
`,
|
|
87
100
|
},
|
|
88
101
|
{
|
|
89
102
|
disabled: false,
|
|
@@ -94,14 +107,25 @@ const field = index$1.cva(['flex gap-2', 'w-inherit', 'border-solid rounded-lg',
|
|
|
94
107
|
disabled: false,
|
|
95
108
|
focused: true,
|
|
96
109
|
error: true,
|
|
97
|
-
class:
|
|
110
|
+
class: `
|
|
111
|
+
ring ring-negative-red-50
|
|
112
|
+
selection:bg-negative-red-50
|
|
113
|
+
dark:ring-0
|
|
114
|
+
`,
|
|
98
115
|
},
|
|
99
116
|
],
|
|
100
117
|
});
|
|
101
118
|
const input = index$1.cva([
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
119
|
+
`
|
|
120
|
+
text-sm
|
|
121
|
+
placeholder:text-sm placeholder:text-storm-500/40
|
|
122
|
+
dark:placeholder:text-hurricane-200
|
|
123
|
+
`,
|
|
124
|
+
'min-w-0 flex-1 border-none bg-transparent p-0',
|
|
125
|
+
`
|
|
126
|
+
outline-none
|
|
127
|
+
focus:outline-none
|
|
128
|
+
`,
|
|
105
129
|
'font-geist',
|
|
106
130
|
], {
|
|
107
131
|
variants: {
|
|
@@ -114,12 +138,15 @@ const input = index$1.cva([
|
|
|
114
138
|
true: 'cursor-not-allowed',
|
|
115
139
|
},
|
|
116
140
|
error: {
|
|
117
|
-
false:
|
|
141
|
+
false: `
|
|
142
|
+
text-storm-500
|
|
143
|
+
dark:text-white
|
|
144
|
+
`,
|
|
118
145
|
true: 'text-negative-red-500',
|
|
119
146
|
},
|
|
120
147
|
},
|
|
121
148
|
});
|
|
122
|
-
const prefixAndSuffix = index$1.cva(['flex flex-shrink-0
|
|
149
|
+
const prefixAndSuffix = index$1.cva(['flex flex-shrink-0 items-center justify-center text-center'], {
|
|
123
150
|
variants: {
|
|
124
151
|
variant: {
|
|
125
152
|
read: 'leading-6',
|
|
@@ -127,7 +154,10 @@ const prefixAndSuffix = index$1.cva(['flex flex-shrink-0 justify-center items-ce
|
|
|
127
154
|
},
|
|
128
155
|
disabled: {
|
|
129
156
|
false: null,
|
|
130
|
-
true:
|
|
157
|
+
true: `
|
|
158
|
+
text-storm-100
|
|
159
|
+
dark:text-hurricane-400
|
|
160
|
+
`,
|
|
131
161
|
},
|
|
132
162
|
focused: {
|
|
133
163
|
false: null,
|
|
@@ -151,13 +181,19 @@ const prefixAndSuffix = index$1.cva(['flex flex-shrink-0 justify-center items-ce
|
|
|
151
181
|
disabled: false,
|
|
152
182
|
focused: false,
|
|
153
183
|
error: false,
|
|
154
|
-
class:
|
|
184
|
+
class: `
|
|
185
|
+
text-storm-300
|
|
186
|
+
dark:text-hurricane-200
|
|
187
|
+
`,
|
|
155
188
|
},
|
|
156
189
|
{
|
|
157
190
|
disabled: false,
|
|
158
191
|
focused: true,
|
|
159
192
|
error: false,
|
|
160
|
-
class:
|
|
193
|
+
class: `
|
|
194
|
+
text-storm-500
|
|
195
|
+
dark:text-white
|
|
196
|
+
`,
|
|
161
197
|
},
|
|
162
198
|
{
|
|
163
199
|
disabled: false,
|
|
@@ -348,8 +384,8 @@ const Field = class {
|
|
|
348
384
|
}
|
|
349
385
|
render() {
|
|
350
386
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
351
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
352
|
-
(!!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 && (index.h("slot", { key: '
|
|
387
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'd309322e4a2a9e73d7e20cb5e585eba64d3af95f' }, index.h("p-field-container", { key: '85327bdb7a5aa7e071c4024e3d490a6b9759b184', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
388
|
+
(!!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 && (index.h("slot", { key: '4cbdc7b148e94564fc0b986a7780180bd8813d58', name: 'label', slot: 'label' })), hasHeaderSlot && (index.h("slot", { key: '61a1b3cb45df2792fbf51aa6e91d11b10e1b72e6', name: 'header', slot: 'header' })), hasHelperSlot && (index.h("slot", { key: 'd208829c7f4629f7390236d3a8c990d47d91f66b', name: 'helper', slot: 'helper' })), hasErrorSlot && (index.h("slot", { key: 'e4bd3ef86143630c0ebe9fe006aea4b7be2ca10f', name: 'error', slot: 'error' })), index.h("div", { key: 'ea260caef724543db24f04bb5861ea2a138c1574', class: field({
|
|
353
389
|
error: !!this.error?.length,
|
|
354
390
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
355
391
|
focused: asBoolean.asBoolean(this.focused) || this._focused,
|
|
@@ -360,7 +396,7 @@ const Field = class {
|
|
|
360
396
|
? `${this.value}`
|
|
361
397
|
: undefined }, (this.error?.length ||
|
|
362
398
|
prefix ||
|
|
363
|
-
(this.icon && this.iconPosition === 'start')) && (index.h("div", { key: '
|
|
399
|
+
(this.icon && this.iconPosition === 'start')) && (index.h("div", { key: 'd0e3d37f5fc3e7676cc3bc7f622733504169ddcf', class: prefixAndSuffix({
|
|
364
400
|
variant: this.variant,
|
|
365
401
|
error: !!this.error?.length,
|
|
366
402
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
@@ -370,7 +406,7 @@ const Field = class {
|
|
|
370
406
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
371
407
|
this.error?.length ? (index.h("p-icon", { class: cn.cn('flex', {
|
|
372
408
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
373
|
-
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '
|
|
409
|
+
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: 'f479afb28bbd5ba74b78deaa7b9daf1ef543fa27', class: prefixAndSuffix({
|
|
374
410
|
variant: this.variant,
|
|
375
411
|
error: !!this.error?.length,
|
|
376
412
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
@@ -528,7 +564,7 @@ Field.style = fieldComponentCss();
|
|
|
528
564
|
|
|
529
565
|
const fieldContainerComponentCss = () => `*{box-sizing:border-box}.static{position:static}.ml-auto{margin-left:auto}.flex{display:flex}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.w-full{width:100%}.w-inherit{width:inherit}.min-w-0{min-width:0}.flex-shrink-0{flex-shrink:0}.cursor-auto{cursor:auto}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.rounded-lg{border-radius:.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.text-storm-200{--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.empty\\:hidden:empty{display:none}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
530
566
|
|
|
531
|
-
const loader = index$1.cva(['rounded-lg
|
|
567
|
+
const loader = index$1.cva(['w-full rounded-lg'], {
|
|
532
568
|
variants: {
|
|
533
569
|
variant: {
|
|
534
570
|
read: null,
|
|
@@ -637,18 +673,21 @@ const FieldContainer = class {
|
|
|
637
673
|
}
|
|
638
674
|
return (index.h(themedHost_component.ThemedHost, { key: '9b4ab7a1d59cead07a2065b0d6bc72be41d24287' }, index.h("label", { key: 'ac31d16bdd75b4b236479638efd367f4771627d1', class: cn.cn('flex w-inherit flex-col gap-1', {
|
|
639
675
|
'cursor-auto': this.variant === 'read',
|
|
640
|
-
}), htmlFor: this.id }, index.h("div", { key: '
|
|
676
|
+
}), htmlFor: this.id }, index.h("div", { key: '512c7c3162d9a40483f5d43d7fbea5635c40b45d', class: cn.cn(`
|
|
677
|
+
flex items-end justify-between gap-1
|
|
678
|
+
empty:hidden
|
|
679
|
+
`, {
|
|
641
680
|
'flex-row-reverse': this.align === 'end',
|
|
642
|
-
}) }, (!!label?.length || !!helper?.length) && (index.h("div", { key: '
|
|
643
|
-
hasHeaderSlot) && (index.h("div", { key: '
|
|
681
|
+
}) }, (!!label?.length || !!helper?.length) && (index.h("div", { key: '77b5887681e6537714b0352a02873a56ab22e304', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, index.h("span", { key: '786e241b3537a05c4bf12f58333d5c10065879c3', class: '\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n ' }, label), helper && (index.h("p-helper", { key: 'd14700f7a78349ffb1de0a39bcb92ca9833e7f3b', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean.asBoolean(this.required) && asBoolean.asBoolean(this.showOptional)) ||
|
|
682
|
+
hasHeaderSlot) && (index.h("div", { key: 'a3f63057ac68b62a68cf4d0b31b09039817ea87f', class: 'flex items-center gap-1' }, !asBoolean.asBoolean(this.required) &&
|
|
644
683
|
asBoolean.asBoolean(this.showOptional) &&
|
|
645
|
-
this.variant === 'write' && (index.h("span", { key: '
|
|
684
|
+
this.variant === 'write' && (index.h("span", { key: '6e98ac54bcabfe7b4481b1745b7c25fbc0c1e717', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && index.h("slot", { key: 'e4b5a07a66a036c619d0a788c959a3d80af2f58c', name: 'header' })))), index.h("p-tooltip", { key: 'd482091d838534d3f3e3f177c9f5ccd605e8e519', class: cn.cn({
|
|
646
685
|
'w-full': this.variant === 'write' || this.loading,
|
|
647
686
|
'ml-auto': this.align === 'end',
|
|
648
687
|
'font-normal': this.variant === 'read',
|
|
649
688
|
'text-storm-500 dark:text-white': this.variant === 'read',
|
|
650
689
|
}), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
|
|
651
|
-
asBoolean.asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (index.h("slot", { key: '
|
|
690
|
+
asBoolean.asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (index.h("slot", { key: '45fc720b8771ffca3ce381fcc98c162947aa1e71', name: 'error', slot: 'content' })), contentSlot))));
|
|
652
691
|
}
|
|
653
692
|
async _setLocales() {
|
|
654
693
|
this._locales = await localization.getLocaleComponentStrings(this._el);
|
|
@@ -690,7 +729,7 @@ const Helper = class {
|
|
|
690
729
|
*/
|
|
691
730
|
placement = 'top';
|
|
692
731
|
render() {
|
|
693
|
-
return (index.h(themedHost_component.ThemedHost, { key: 'd7f07b4f232bb43ce0988ea8533353a8d193e7bf' }, index.h("p-tooltip", { key: 'df76c8696c9621a6ea5431c5d256eded55de0b57', class: 'flex', placement: this.placement, strategy: this.strategy }, index.h("p-icon", { key: '
|
|
732
|
+
return (index.h(themedHost_component.ThemedHost, { key: 'd7f07b4f232bb43ce0988ea8533353a8d193e7bf' }, index.h("p-tooltip", { key: 'df76c8696c9621a6ea5431c5d256eded55de0b57', class: 'flex', placement: this.placement, strategy: this.strategy }, index.h("p-icon", { key: 'f582de019e9a60ebe2296405354cb48ebfc4ca1f', class: '\n cursor-pointer text-storm-300\n hover:text-storm-500\n dark:text-hurricane-300\n dark:hover:text-hurricane-200\n ', size: 'sm', slot: 'trigger', variant: 'question-circle' }), index.h("div", { key: '1863361d1ec8867f5f403d823290273b77571516', slot: 'content' }, index.h("slot", { key: 'd876213ee32eb63e77c9074391f8f31fd42ddd69' })))));
|
|
694
733
|
}
|
|
695
734
|
};
|
|
696
735
|
Helper.style = helperComponentCss();
|
|
@@ -9,7 +9,7 @@ require('./state-DM8SZBNO.js');
|
|
|
9
9
|
|
|
10
10
|
const floatingMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.flex{display:flex}.h-8{height:2rem}.min-w-0{min-width:0}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.text-nowrap{text-wrap:nowrap}.rounded-lg{border-radius:.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-semibold{font-weight:600}.text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.text-storm-50{--tw-text-opacity:1;color:rgb(232 232 234/var(--tw-text-opacity,1))}.opacity-60{opacity:.6}.empty\\:hidden:empty{display:none}.hover\\:bg-storm-800:hover{--tw-bg-opacity:1;background-color:rgb(2 8 21/var(--tw-bg-opacity,1))}.active\\:bg-storm-700:active{--tw-bg-opacity:1;background-color:rgb(8 15 28/var(--tw-bg-opacity,1))}.active\\:text-storm-100\\/60:active{color:hsla(220,3%,83%,.6)}.group:hover .group-hover\\:text-storm-100{--tw-text-opacity:1;color:rgb(209 210 212/var(--tw-text-opacity,1))}.group:active .group-active\\:text-storm-100\\/60{color:hsla(220,3%,83%,.6)}.dark\\:hover\\:bg-hurricane-500:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(46,52,62,.5)}.dark\\:hover\\:bg-hurricane-500:hover:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1;background-color:rgb(54 60 70/var(--tw-bg-opacity,1))}.dark\\:active\\:bg-hurricane-600\\/50:active:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(46,52,62,.5)}`;
|
|
11
11
|
|
|
12
|
-
const item = index$1.cva(['group', 'flex
|
|
12
|
+
const item = index$1.cva(['group', 'flex h-8 items-center gap-2 px-2', 'text-sm', 'rounded-lg'], {
|
|
13
13
|
variants: {
|
|
14
14
|
hover: {
|
|
15
15
|
false: null,
|
|
@@ -17,7 +17,7 @@ const item = index$1.cva(['group', 'flex gap-2 items-center h-8 px-2', 'text-sm'
|
|
|
17
17
|
},
|
|
18
18
|
disabled: {
|
|
19
19
|
false: null,
|
|
20
|
-
true: '
|
|
20
|
+
true: 'cursor-not-allowed opacity-60',
|
|
21
21
|
},
|
|
22
22
|
},
|
|
23
23
|
compoundVariants: [
|
|
@@ -33,8 +33,15 @@ const item = index$1.cva(['group', 'flex gap-2 items-center h-8 px-2', 'text-sm'
|
|
|
33
33
|
disabled: false,
|
|
34
34
|
hover: true,
|
|
35
35
|
class: [
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
`
|
|
37
|
+
cursor-pointer
|
|
38
|
+
hover:bg-storm-800
|
|
39
|
+
active:bg-storm-700 active:text-storm-100/60
|
|
40
|
+
`,
|
|
41
|
+
`
|
|
42
|
+
dark:hover:bg-hurricane-500
|
|
43
|
+
dark:active:bg-hurricane-600/50
|
|
44
|
+
`,
|
|
38
45
|
],
|
|
39
46
|
},
|
|
40
47
|
],
|
|
@@ -54,7 +61,10 @@ const icon = index$1.cva([], {
|
|
|
54
61
|
{
|
|
55
62
|
disabled: false,
|
|
56
63
|
hover: true,
|
|
57
|
-
class:
|
|
64
|
+
class: `
|
|
65
|
+
group-hover:text-storm-100
|
|
66
|
+
group-active:text-storm-100/60
|
|
67
|
+
`,
|
|
58
68
|
},
|
|
59
69
|
],
|
|
60
70
|
});
|
|
@@ -91,10 +101,10 @@ const FloatingMenuItem = class {
|
|
|
91
101
|
*/
|
|
92
102
|
iconRotate;
|
|
93
103
|
render() {
|
|
94
|
-
return (index.h(themedHost_component.ThemedHost, { key: '
|
|
104
|
+
return (index.h(themedHost_component.ThemedHost, { key: '9ea48ae1034fdfac03dda8cc37f418b70e84d110', class: item({
|
|
95
105
|
hover: asBoolean.asBoolean(this.hover) && !asBoolean.asBoolean(this.loading),
|
|
96
106
|
disabled: asBoolean.asBoolean(this.disabled),
|
|
97
|
-
}) }, this._getIcon(), index.h("p", { key: '
|
|
107
|
+
}) }, this._getIcon(), index.h("p", { key: 'd95a7f2ccf5e11fb5048bf9ae651e341a62a75ec', class: '\n min-w-0 overflow-hidden text-ellipsis text-nowrap font-semibold\n empty:hidden\n ' }, index.h("slot", { key: '0af451107a9e94f6b63aa90d0683e4b50b43ba40' }))));
|
|
98
108
|
}
|
|
99
109
|
_getIcon() {
|
|
100
110
|
if (!this.icon && !this.loading) {
|