@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
|
@@ -9,14 +9,20 @@ import './state-BJbOyUuL.js';
|
|
|
9
9
|
const dropdownMenuItemComponentCss = () => `*{box-sizing:border-box}.static{position:static}.block{display:block}.flex{display:flex}.h-6{height:1.5rem}.h-8{height:2rem}.min-h-8{min-height:2rem}.w-full{width:100%}.max-w-full{max-width:100%}.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}.whitespace-nowrap{white-space:nowrap}.rounded-lg{border-radius:.5rem}.bg-indigo-100{--tw-bg-opacity:1;background-color:rgb(227 236 254/var(--tw-bg-opacity,1))}.bg-indigo-50{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.bg-negative-red-100{--tw-bg-opacity:1;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))}.bg-negative-red-50{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.bg-storm-600{--tw-bg-opacity:1;background-color:rgb(15 22 34/var(--tw-bg-opacity,1))}.px-2{padding-left:.5rem;padding-right:.5rem}.py-1{padding-bottom:.25rem;padding-top:.25rem}.text-start{text-align:start}.text-base{font-size:1rem;line-height:1.5rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.text-negative-red-100{--tw-text-opacity:1;color:rgb(255 221 221/var(--tw-text-opacity,1))}.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-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))}.opacity-40{opacity:.4}.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}}.hover\\:bg-indigo-50:hover{--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}.hover\\:bg-negative-red-50:hover{--tw-bg-opacity:1;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))}.hover\\:bg-storm-500:hover{--tw-bg-opacity:1;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))}@keyframes wave{0%{transform:rotate(0deg)}to{transform:rotate(-15deg)}}.group:hover .group-hover\\:animate-wave{animation:wave .5s ease-in-out -.5s infinite alternate forwards}.group:hover .group-hover\\:text-negative-red-800{--tw-text-opacity:1;color:rgb(141 16 16/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .group-hover\\:text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-indigo-600\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:hsla(0,0%,100%,.05)}.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-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-storm-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/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\\:hover\\:bg-indigo-600\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where(:host([data-theme=dark]),:host([data-theme=dark]) *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:bg-indigo-600\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.2)}.dark\\:bg-negative-red-500\\/15:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.15)}.dark\\:bg-storm-500\\/20:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.2)}.dark\\:bg-white\\/5:where([data-theme=dark],[data-theme=dark] *){background-color:hsla(0,0%,100%,.05)}.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-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.dark\\:text-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 92 92/var(--tw-text-opacity,1))}.dark\\:text-storm-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.dark\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/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\\:hover\\:bg-indigo-600\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(82,138,250,.1)}.dark\\:hover\\:bg-negative-red-500\\/10:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(230,30,30,.1)}.dark\\:hover\\:bg-storm-500\\/15:hover:where([data-theme=dark],[data-theme=dark] *){background-color:rgba(24,30,41,.15)}.group:hover .dark\\:group-hover\\:text-negative-red-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(230 30 30/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\:text-storm-500:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.group:hover .dark\\:group-hover\\: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
11
|
const dropdownMenuItem = cva([
|
|
12
|
-
|
|
12
|
+
`
|
|
13
|
+
p-dropdown-menu-item group flex max-w-full items-center gap-2 rounded-lg
|
|
14
|
+
text-sm
|
|
15
|
+
`,
|
|
13
16
|
], {
|
|
14
17
|
variants: {
|
|
15
18
|
variant: {
|
|
16
19
|
default: null,
|
|
17
20
|
storm: null,
|
|
18
21
|
negative: null,
|
|
19
|
-
pagination:
|
|
22
|
+
pagination: `
|
|
23
|
+
h-6 px-2 text-xs text-storm-300
|
|
24
|
+
dark:text-hurricane-200
|
|
25
|
+
`,
|
|
20
26
|
},
|
|
21
27
|
active: {
|
|
22
28
|
false: null,
|
|
@@ -59,47 +65,71 @@ const dropdownMenuItem = cva([
|
|
|
59
65
|
active: false,
|
|
60
66
|
enableHover: true,
|
|
61
67
|
disabled: false,
|
|
62
|
-
class:
|
|
68
|
+
class: `
|
|
69
|
+
hover:bg-indigo-50
|
|
70
|
+
dark:hover:bg-indigo-600/10
|
|
71
|
+
`,
|
|
63
72
|
},
|
|
64
73
|
{
|
|
65
74
|
variant: 'default',
|
|
66
75
|
active: true,
|
|
67
76
|
disabled: false,
|
|
68
|
-
class:
|
|
77
|
+
class: `
|
|
78
|
+
bg-indigo-100
|
|
79
|
+
dark:bg-indigo-600/20
|
|
80
|
+
`,
|
|
69
81
|
},
|
|
70
82
|
{
|
|
71
83
|
variant: 'default',
|
|
72
84
|
disabled: false,
|
|
73
|
-
class:
|
|
85
|
+
class: `
|
|
86
|
+
text-storm-500
|
|
87
|
+
dark:text-white
|
|
88
|
+
`,
|
|
74
89
|
},
|
|
75
90
|
{
|
|
76
91
|
variant: 'default',
|
|
77
92
|
disabled: true,
|
|
78
|
-
class:
|
|
93
|
+
class: `
|
|
94
|
+
text-storm-200
|
|
95
|
+
dark:text-hurricane-300
|
|
96
|
+
`,
|
|
79
97
|
},
|
|
80
98
|
{
|
|
81
99
|
variant: 'default',
|
|
82
100
|
disabled: true,
|
|
83
101
|
active: true,
|
|
84
|
-
class:
|
|
102
|
+
class: `
|
|
103
|
+
bg-indigo-50
|
|
104
|
+
dark:bg-white/5
|
|
105
|
+
`,
|
|
85
106
|
},
|
|
86
107
|
{
|
|
87
108
|
variant: 'storm',
|
|
88
109
|
active: false,
|
|
89
110
|
enableHover: true,
|
|
90
|
-
class:
|
|
111
|
+
class: `
|
|
112
|
+
text-white
|
|
113
|
+
dark:text-storm-500
|
|
114
|
+
`,
|
|
91
115
|
},
|
|
92
116
|
{
|
|
93
117
|
variant: 'storm',
|
|
94
118
|
active: false,
|
|
95
119
|
enableHover: true,
|
|
96
120
|
disabled: false,
|
|
97
|
-
class:
|
|
121
|
+
class: `
|
|
122
|
+
hover:bg-storm-500
|
|
123
|
+
dark:hover:bg-storm-500/15
|
|
124
|
+
`,
|
|
98
125
|
},
|
|
99
126
|
{
|
|
100
127
|
variant: 'storm',
|
|
101
128
|
active: true,
|
|
102
|
-
class:
|
|
129
|
+
class: `
|
|
130
|
+
bg-storm-600 text-white
|
|
131
|
+
dark:bg-storm-500/20 dark:text-storm-500
|
|
132
|
+
`,
|
|
103
133
|
},
|
|
104
134
|
{
|
|
105
135
|
variant: 'storm',
|
|
@@ -111,13 +141,20 @@ const dropdownMenuItem = cva([
|
|
|
111
141
|
active: false,
|
|
112
142
|
enableHover: true,
|
|
113
143
|
disabled: false,
|
|
114
|
-
class:
|
|
144
|
+
class: `
|
|
145
|
+
text-negative-red-500
|
|
146
|
+
hover:bg-negative-red-50
|
|
147
|
+
dark:hover:bg-negative-red-500/10
|
|
148
|
+
`,
|
|
115
149
|
},
|
|
116
150
|
{
|
|
117
151
|
variant: 'negative',
|
|
118
152
|
active: true,
|
|
119
153
|
disabled: false,
|
|
120
|
-
class:
|
|
154
|
+
class: `
|
|
155
|
+
bg-negative-red-100 text-negative-red-500
|
|
156
|
+
dark:bg-negative-red-500/15
|
|
157
|
+
`,
|
|
121
158
|
},
|
|
122
159
|
{
|
|
123
160
|
variant: 'negative',
|
|
@@ -164,8 +201,14 @@ const dropdownMenuItemIcon = cva(['text-base'], {
|
|
|
164
201
|
active: false,
|
|
165
202
|
disabled: false,
|
|
166
203
|
class: [
|
|
167
|
-
|
|
168
|
-
|
|
204
|
+
`
|
|
205
|
+
text-storm-300
|
|
206
|
+
group-hover:text-storm-500
|
|
207
|
+
`,
|
|
208
|
+
`
|
|
209
|
+
dark:text-hurricane-200
|
|
210
|
+
dark:group-hover:text-white
|
|
211
|
+
`,
|
|
169
212
|
],
|
|
170
213
|
},
|
|
171
214
|
{
|
|
@@ -173,21 +216,35 @@ const dropdownMenuItemIcon = cva(['text-base'], {
|
|
|
173
216
|
active: false,
|
|
174
217
|
disabled: false,
|
|
175
218
|
class: [
|
|
176
|
-
|
|
177
|
-
|
|
219
|
+
`
|
|
220
|
+
text-storm-100
|
|
221
|
+
group-hover:text-white
|
|
222
|
+
`,
|
|
223
|
+
`
|
|
224
|
+
dark:text-storm-300
|
|
225
|
+
dark:group-hover:text-storm-500
|
|
226
|
+
`,
|
|
178
227
|
],
|
|
179
228
|
},
|
|
180
229
|
{
|
|
181
230
|
variant: 'negative',
|
|
182
231
|
active: false,
|
|
183
232
|
disabled: false,
|
|
184
|
-
class:
|
|
233
|
+
class: `
|
|
234
|
+
text-negative-red-500
|
|
235
|
+
group-hover:text-negative-red-800
|
|
236
|
+
dark:text-negative-red-alternative
|
|
237
|
+
dark:group-hover:text-negative-red-500
|
|
238
|
+
`,
|
|
185
239
|
},
|
|
186
240
|
{
|
|
187
241
|
variant: 'negative',
|
|
188
242
|
active: true,
|
|
189
243
|
disabled: false,
|
|
190
|
-
class:
|
|
244
|
+
class: `
|
|
245
|
+
text-negative-red-800
|
|
246
|
+
dark:text-negative-red-500
|
|
247
|
+
`,
|
|
191
248
|
},
|
|
192
249
|
],
|
|
193
250
|
});
|
|
@@ -236,19 +293,19 @@ const DropdownMenuItem = class {
|
|
|
236
293
|
*/
|
|
237
294
|
autoHeight = false;
|
|
238
295
|
render() {
|
|
239
|
-
return (h(ThemedHost, { key: '
|
|
296
|
+
return (h(ThemedHost, { key: '9db5400644abc5f1cd2b61bddbf2e17ff7b819a1' }, h("div", { key: '35a64c76b96041fc565c19845aca3f0330c96b49', class: cn(dropdownMenuItem({
|
|
240
297
|
variant: this.variant,
|
|
241
298
|
active: asBoolean(this.active),
|
|
242
299
|
enableHover: asBoolean(this.enableHover ?? true),
|
|
243
300
|
autoHeight: asBoolean(this.autoHeight ?? false),
|
|
244
301
|
enableTextWrap: this.enableTextWrap,
|
|
245
302
|
disabled: asBoolean(this.disabled),
|
|
246
|
-
})) }, this.icon && (h("p-icon", { key: '
|
|
303
|
+
})) }, this.icon && (h("p-icon", { key: 'a7a7a2d9c28cf63aeb66043eb7c8e28fe375437c', class: dropdownMenuItemIcon({
|
|
247
304
|
variant: this.variant,
|
|
248
305
|
active: asBoolean(this.active),
|
|
249
306
|
disabled: asBoolean(this.disabled),
|
|
250
307
|
wave: asBoolean(this.iconWave),
|
|
251
|
-
}), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '
|
|
308
|
+
}), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: 'e57a547ced7bd228f920d5c5197d6c17dc1aeaee', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: cn('block w-full overflow-hidden text-start', {
|
|
252
309
|
'text-ellipsis whitespace-nowrap': !this.enableTextWrap,
|
|
253
310
|
}) }, h("slot", null))) : (h("slot", null)))));
|
|
254
311
|
}
|
|
@@ -259,7 +316,7 @@ const paginationPagesItemComponentCss = () => `*{box-sizing:border-box}.static{p
|
|
|
259
316
|
|
|
260
317
|
const item = cva([
|
|
261
318
|
'p-pagination-item',
|
|
262
|
-
'text-sm
|
|
319
|
+
'text-sm',
|
|
263
320
|
'h-6 w-6',
|
|
264
321
|
'flex items-center justify-center text-center',
|
|
265
322
|
], {
|
|
@@ -285,25 +342,35 @@ const item = cva([
|
|
|
285
342
|
{
|
|
286
343
|
variant: 'default',
|
|
287
344
|
active: false,
|
|
288
|
-
class:
|
|
345
|
+
class: `
|
|
346
|
+
bg-off-white-300 text-storm-400
|
|
347
|
+
dark:bg-hurricane-500 dark:text-hurricane-200
|
|
348
|
+
`,
|
|
289
349
|
},
|
|
290
350
|
{
|
|
291
351
|
variant: 'default',
|
|
292
352
|
active: false,
|
|
293
353
|
hover: true,
|
|
294
|
-
class:
|
|
354
|
+
class: `
|
|
355
|
+
cursor-pointer
|
|
356
|
+
hover:bg-off-white-500 hover:text-storm-500
|
|
357
|
+
dark:hover:bg-white/15 dark:hover:text-hurricane-100
|
|
358
|
+
`,
|
|
295
359
|
},
|
|
296
360
|
{
|
|
297
361
|
variant: 'default',
|
|
298
362
|
active: true,
|
|
299
|
-
class:
|
|
363
|
+
class: `
|
|
364
|
+
bg-off-white-700 font-semibold text-storm-500
|
|
365
|
+
dark:bg-hurricane-300 dark:text-white
|
|
366
|
+
`,
|
|
300
367
|
},
|
|
301
368
|
{
|
|
302
369
|
variant: 'carousel',
|
|
303
370
|
disabled: false,
|
|
304
371
|
class: [
|
|
305
|
-
'bg-white text-storm-300
|
|
306
|
-
'dark:
|
|
372
|
+
'border-storm-100 bg-white text-storm-300',
|
|
373
|
+
'dark:border-white/15 dark:bg-white/15 dark:text-hurricane-200',
|
|
307
374
|
],
|
|
308
375
|
},
|
|
309
376
|
{
|
|
@@ -311,16 +378,21 @@ const item = cva([
|
|
|
311
378
|
disabled: false,
|
|
312
379
|
hover: true,
|
|
313
380
|
class: [
|
|
314
|
-
|
|
315
|
-
|
|
381
|
+
`
|
|
382
|
+
cursor-pointer
|
|
383
|
+
hover:bg-white-600 hover:text-storm-500
|
|
384
|
+
active:border-indigo-600 active:bg-white-600 active:ring active:ring-2
|
|
385
|
+
active:ring-indigo-100
|
|
386
|
+
`,
|
|
387
|
+
'dark:hover:bg-white/25 dark:hover:text-white dark:hover:ring-0',
|
|
316
388
|
],
|
|
317
389
|
},
|
|
318
390
|
{
|
|
319
391
|
variant: 'carousel',
|
|
320
392
|
disabled: true,
|
|
321
393
|
class: [
|
|
322
|
-
'bg-white-600 text-storm-100
|
|
323
|
-
'dark:bg-hurricane-500 dark:
|
|
394
|
+
'border-storm-500/20 bg-white-600 text-storm-100',
|
|
395
|
+
'dark:border-white/5 dark:bg-hurricane-500 dark:text-hurricane-300',
|
|
324
396
|
],
|
|
325
397
|
},
|
|
326
398
|
],
|
|
@@ -346,12 +418,12 @@ const PaginationPagesItem = class {
|
|
|
346
418
|
*/
|
|
347
419
|
disabled = false;
|
|
348
420
|
render() {
|
|
349
|
-
return (h(ThemedHost, { key: '
|
|
421
|
+
return (h(ThemedHost, { key: 'fdbf0f1aec5ae8ab321271a9bdd4fefdeb593e82' }, h("div", { key: '5423125b36ec6cc43e765cf3ae6a521173b400db', class: item({
|
|
350
422
|
variant: this.variant ?? 'default',
|
|
351
423
|
active: asBoolean(this.active),
|
|
352
424
|
hover: asBoolean(this.hover, true),
|
|
353
425
|
disabled: asBoolean(this.disabled),
|
|
354
|
-
}) }, h("slot", { key: '
|
|
426
|
+
}) }, h("slot", { key: 'eb0c56fada9cef2fa607b7225bad86afbca7f760' }))));
|
|
355
427
|
}
|
|
356
428
|
};
|
|
357
429
|
PaginationPagesItem.style = paginationPagesItemComponentCss();
|
|
@@ -3,7 +3,7 @@ import { c as cva } from './index-CO0T2jO4.js';
|
|
|
3
3
|
import { T as ThemedHost } from './themed-host.component-CUNsbvgN.js';
|
|
4
4
|
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
5
5
|
import { f as formatTranslation, g as getLocaleComponentStrings } from './localization-CwQG70_4.js';
|
|
6
|
-
import { g as getTableCellColumnClasses } from './table-helpers-
|
|
6
|
+
import { g as getTableCellColumnClasses } from './table-helpers-Bvtfm-ta.js';
|
|
7
7
|
import { o as objectGetByPath } from './object-get-by-path-CLLU0oUD.js';
|
|
8
8
|
import { c as cn } from './cn-CsNqHcjL.js';
|
|
9
9
|
import { P as PAGINATION_DEFAULT_PAGE_SIZE, a as PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS } from './constants-CEaB2BT0.js';
|
|
@@ -12,7 +12,7 @@ import './state-BJbOyUuL.js';
|
|
|
12
12
|
|
|
13
13
|
const emptyStateComponentCss = () => `*{box-sizing:border-box}p-divider{--tw-content:""}.static{position:static}.my-0{margin-bottom:0;margin-top:0}.mb-8{margin-bottom:2rem}.mt-4{margin-top:1rem}.flex{display:flex}.w-full{width:100%}.max-w-\\[20rem\\]{max-width:20rem}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-start{justify-content:flex-start}.text-center{text-align:center}.font-ambit{font-family:Ambit,sans-serif}.text-5xl{font-size:3rem;line-height:1}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.text-indigo-600{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}.text-storm-300{--tw-text-opacity:1;color:rgb(116 120 127/var(--tw-text-opacity,1))}.text-storm-500{--tw-text-opacity:1;color:rgb(24 30 41/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(163 165 169/var(--tw-text-opacity,1))}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity,1))}`;
|
|
14
14
|
|
|
15
|
-
const emptyState = cva(['flex
|
|
15
|
+
const emptyState = cva(['flex w-full max-w-[20rem] flex-col items-center justify-start'], {
|
|
16
16
|
variants: {
|
|
17
17
|
enableAction: {
|
|
18
18
|
true: 'cursor-pointer',
|
|
@@ -74,7 +74,7 @@ const EmptyState = class {
|
|
|
74
74
|
enableAction: asBoolean(this.enableAction, true),
|
|
75
75
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
76
76
|
? this.action.emit(ev)
|
|
77
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '3434e243bb9a41e7f56982fff2450cc92013b25f', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-storm-500
|
|
77
|
+
: undefined }, this.illustration && (h("p-illustration", { key: '3434e243bb9a41e7f56982fff2450cc92013b25f', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: '\n my-0 text-center font-ambit text-sm font-bold text-storm-500\n dark:text-white\n ' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: '\n my-0 text-center text-sm font-normal text-storm-300\n dark:text-hurricane-200\n ' }, this.content))), this.enableAction &&
|
|
78
78
|
(hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -87,7 +87,7 @@ const container$1 = cva([
|
|
|
87
87
|
'shadow-3',
|
|
88
88
|
'bg-storm-500',
|
|
89
89
|
'dark:bg-hurricane-400',
|
|
90
|
-
'h-10 py-1
|
|
90
|
+
'h-10 w-auto py-1',
|
|
91
91
|
'rounded-lg',
|
|
92
92
|
'text-sm',
|
|
93
93
|
'flex items-center gap-2',
|
|
@@ -239,7 +239,7 @@ TableCell.style = tableCellComponentCss();
|
|
|
239
239
|
|
|
240
240
|
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}}`;
|
|
241
241
|
|
|
242
|
-
const container = cva('flex flex-col
|
|
242
|
+
const container = cva('relative flex flex-col');
|
|
243
243
|
const TableContainer = class {
|
|
244
244
|
constructor(hostRef) {
|
|
245
245
|
registerInstance(this, hostRef);
|
|
@@ -253,11 +253,15 @@ TableContainer.style = tableContainerComponentCss();
|
|
|
253
253
|
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)}`;
|
|
254
254
|
|
|
255
255
|
const footer = cva([
|
|
256
|
-
'justify-center
|
|
256
|
+
'relative justify-center',
|
|
257
257
|
'w-full px-6',
|
|
258
|
-
'after:absolute after:
|
|
259
|
-
'after:
|
|
260
|
-
|
|
258
|
+
'after:absolute after:left-0 after:top-0 after:z-[0]',
|
|
259
|
+
'after:h-full after:w-full after:transition-opacity',
|
|
260
|
+
`
|
|
261
|
+
after:bg-gradient-to-t after:from-white after:via-white/80
|
|
262
|
+
after:to-transparent
|
|
263
|
+
dark:after:from-hurricane-700 dark:after:via-hurricane-700/80
|
|
264
|
+
`,
|
|
261
265
|
], {
|
|
262
266
|
variants: {
|
|
263
267
|
pinned: {
|
|
@@ -269,7 +273,10 @@ const footer = cva([
|
|
|
269
273
|
true: 'hidden',
|
|
270
274
|
},
|
|
271
275
|
tableHeaderHasAction: {
|
|
272
|
-
true:
|
|
276
|
+
true: `
|
|
277
|
+
pb-20 pt-8
|
|
278
|
+
desktop-xs:py-8
|
|
279
|
+
`,
|
|
273
280
|
false: 'py-8',
|
|
274
281
|
},
|
|
275
282
|
},
|
|
@@ -353,12 +360,12 @@ const TableFooter = class {
|
|
|
353
360
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
354
361
|
}
|
|
355
362
|
render() {
|
|
356
|
-
return (h(ThemedHost, { key: '
|
|
363
|
+
return (h(ThemedHost, { key: 'b0ae6e77e5b14d5ac5a736790004b3b15c3dbe2e' }, h("div", { key: '7115b353fb53075cef7330b0fdcb7cce1e3fc3f6', class: footer({
|
|
357
364
|
pinned: this._isPinned,
|
|
358
365
|
hidden: this._hidden,
|
|
359
366
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
360
367
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
361
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
368
|
+
this.total > 0 && (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) })))));
|
|
362
369
|
}
|
|
363
370
|
_changePageSize(s) {
|
|
364
371
|
if (!s) {
|
|
@@ -9849,9 +9856,12 @@ var cjsExports = /*@__PURE__*/ requireCjs();
|
|
|
9849
9856
|
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)}`;
|
|
9850
9857
|
|
|
9851
9858
|
const header = cva([
|
|
9852
|
-
'flex flex-col gap-2
|
|
9859
|
+
'z-[1] flex flex-col gap-2',
|
|
9853
9860
|
'w-full',
|
|
9854
|
-
|
|
9861
|
+
`
|
|
9862
|
+
px-4
|
|
9863
|
+
tablet:px-0
|
|
9864
|
+
`,
|
|
9855
9865
|
'desktop-xs:flex-row',
|
|
9856
9866
|
]);
|
|
9857
9867
|
const TableHeader = class {
|
|
@@ -9980,28 +9990,45 @@ const TableHeader = class {
|
|
|
9980
9990
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
9981
9991
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
9982
9992
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
9983
|
-
return (h(ThemedHost, { key: '
|
|
9984
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
9993
|
+
return (h(ThemedHost, { key: '046a82c93f16849095adf724acfd621369af3593' }, h("div", { key: 'e46eb857f7945716243299ce4c999673ec453d5a', class: header() }, this.loading && (h("p-loader", { key: 'c8a4898ede8aa744b72c6d11afceba5079eeb32a', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
9994
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '877290a2e98724bc17e95d3d447ea37e6a005dc4', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && h("slot", { key: 'c1a71c7715dfd42975529c08f7d784f7fc463309', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: 'a78f5ca023cd8106c610d1535e6e8b262dc15632', class: '\n hidden\n desktop-xs:flex\n ' }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
9985
9995
|
? item.text
|
|
9986
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
9996
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '17e05645a060b6674211930c340f039e690b2b83', class: '\n flex flex-col justify-end gap-2\n desktop-xs:ml-auto desktop-xs:flex-row desktop-xs:items-center\n ' }, this.enableSearch && (h("p-field", { key: 'e8cc9ab173b7864f5adee53fcb7a6b124e392722', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: '593628e94f3766ad21562a8133cc76e0a8e7c612', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: '863ea9caf0d1d34e5c45a22db523f54075b861c9', class: `
|
|
9997
|
+
w-full
|
|
9998
|
+
${this.enableFilterDesktop
|
|
9987
9999
|
? 'desktop-xs:w-auto'
|
|
9988
|
-
: 'desktop-xs:hidden'}
|
|
10000
|
+
: 'desktop-xs:hidden'}
|
|
10001
|
+
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
9989
10002
|
? this.filterButtonTemplate()
|
|
9990
10003
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
9991
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
10004
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: 'f82cc292316723b26ed2f163a8a4e5bd6b321f33', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (h("p-button", { key: '68b77661274b6e9c6e8764bbe16519539966e0f9', class: '\n desktop-xs:auto\n w-full\n ', icon: 'upload', variant: 'secondary', onOnClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && h("slot", { key: '5156a9e3cdcef6ce1aa15efa4909d88abed010da', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: 'a8125d245e8a194734b50c2ead689a9bfb7d686e', class: '\n fixed bottom-0 left-0 z-[2] block w-full border border-solid\n border-transparent bg-white p-4\n desktop-xs:hidden\n dark:border-t-hurricane-400 dark:bg-hurricane-500\n ' }, this._buttonTemplate(true))))));
|
|
9992
10005
|
}
|
|
9993
10006
|
async _setLocales() {
|
|
9994
10007
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
9995
10008
|
}
|
|
9996
10009
|
_buttonTemplate(mobile = false) {
|
|
9997
|
-
return (h("p-button", { class: mobile
|
|
10010
|
+
return (h("p-button", { class: mobile
|
|
10011
|
+
? 'w-full'
|
|
10012
|
+
: `
|
|
10013
|
+
hidden
|
|
10014
|
+
desktop-xs:flex
|
|
10015
|
+
`, disabled: !this.canUseAction, icon: this.actionIcon, loading: this.actionLoading, onOnClick: () => this.action.emit() }, this.actionButtonTemplate
|
|
9998
10016
|
? this.actionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)
|
|
9999
10017
|
: this._defaultActionButtonTemplate(mobile ? this.itemsSelectedAmount : 0)));
|
|
10000
10018
|
}
|
|
10001
10019
|
_getLabel(amount, variant = 'default') {
|
|
10002
|
-
return (h("p-badge", { class: `
|
|
10003
|
-
|
|
10004
|
-
|
|
10020
|
+
return (h("p-badge", { class: `
|
|
10021
|
+
ml-1
|
|
10022
|
+
${variant === 'default'
|
|
10023
|
+
? `
|
|
10024
|
+
hidden
|
|
10025
|
+
desktop-xs:flex
|
|
10026
|
+
`
|
|
10027
|
+
: `
|
|
10028
|
+
flex
|
|
10029
|
+
desktop-xs:hidden
|
|
10030
|
+
`}
|
|
10031
|
+
` }, amount));
|
|
10005
10032
|
}
|
|
10006
10033
|
};
|
|
10007
10034
|
TableHeader.style = tableHeaderComponentCss();
|
|
@@ -10011,7 +10038,7 @@ const tableRowComponentCss = () => `.relative{position:relative}*{box-sizing:bor
|
|
|
10011
10038
|
const row = cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative'], {
|
|
10012
10039
|
variants: {
|
|
10013
10040
|
variant: {
|
|
10014
|
-
default: ['px-3
|
|
10041
|
+
default: ['m-1 px-3', 'text-sm text-storm-500', 'dark:text-white'],
|
|
10015
10042
|
header: null,
|
|
10016
10043
|
'header-secondary': 'mb-4',
|
|
10017
10044
|
secondary: ['px-4', 'font-ambit text-lg font-bold'],
|
|
@@ -10042,12 +10069,16 @@ const row = cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative']
|
|
|
10042
10069
|
checked: true,
|
|
10043
10070
|
class: [
|
|
10044
10071
|
'rounded-lg transition-colors',
|
|
10045
|
-
|
|
10072
|
+
`
|
|
10073
|
+
bg-off-white-300
|
|
10074
|
+
dark:bg-hurricane-400
|
|
10075
|
+
dark:hover:bg-hurricane-400
|
|
10076
|
+
`,
|
|
10046
10077
|
],
|
|
10047
10078
|
},
|
|
10048
10079
|
{
|
|
10049
10080
|
variant: ['secondary', 'header-secondary'],
|
|
10050
|
-
class: ['bg-off-white-300
|
|
10081
|
+
class: ['rounded-lg bg-off-white-300', 'dark:bg-hurricane-400'],
|
|
10051
10082
|
},
|
|
10052
10083
|
{
|
|
10053
10084
|
variant: ['header', 'header-secondary'],
|
|
@@ -10071,7 +10102,10 @@ const content = cva('relative flex min-w-full flex-nowrap items-stretch justify-
|
|
|
10071
10102
|
compoundVariants: [
|
|
10072
10103
|
{
|
|
10073
10104
|
variant: ['default', 'secondary'],
|
|
10074
|
-
class:
|
|
10105
|
+
class: `
|
|
10106
|
+
min-h-14 py-2
|
|
10107
|
+
tablet:py-4
|
|
10108
|
+
`,
|
|
10075
10109
|
},
|
|
10076
10110
|
{
|
|
10077
10111
|
variant: ['header', 'header-secondary'],
|
|
@@ -10082,7 +10116,10 @@ const content = cva('relative flex min-w-full flex-nowrap items-stretch justify-
|
|
|
10082
10116
|
const actions = cva([
|
|
10083
10117
|
'absolute -right-4 top-1 z-[2]',
|
|
10084
10118
|
'h-[calc(100%-0.5rem)]',
|
|
10085
|
-
|
|
10119
|
+
`
|
|
10120
|
+
opacity-0 transition-opacity
|
|
10121
|
+
group-hover:opacity-100
|
|
10122
|
+
`,
|
|
10086
10123
|
'empty:hidden',
|
|
10087
10124
|
]);
|
|
10088
10125
|
const TableRow = class {
|
|
@@ -10106,13 +10143,13 @@ const TableRow = class {
|
|
|
10106
10143
|
*/
|
|
10107
10144
|
isLast = false;
|
|
10108
10145
|
render() {
|
|
10109
|
-
return (h(ThemedHost, { key: '
|
|
10146
|
+
return (h(ThemedHost, { key: '2a879fbd1ebc7e0ba74ccee2af2cd6c1a50ca1e9' }, h("div", { key: 'c8669184f758a8a2d43e64106e61528685868aba', class: 'flex flex-col' }, h("div", { key: '7ac443b2dc90f0933685cc3f2acc3d4a35294913', class: row({
|
|
10110
10147
|
variant: this.variant,
|
|
10111
10148
|
enableHover: this.enableHover,
|
|
10112
10149
|
checked: this.checked,
|
|
10113
|
-
}) }, h("div", { key: '
|
|
10150
|
+
}) }, h("div", { key: 'f7e60bd5f786101d8a6e621c3c267d1b0d8be51f', class: content({
|
|
10114
10151
|
variant: this.variant,
|
|
10115
|
-
}) }, h("slot", { key: '
|
|
10152
|
+
}) }, h("slot", { key: '8c2c29d4fc47bf0bac08e13974cf75cca9a547d2' }), h("div", { key: '86aae5f9bfaefadb6230bd56fe8a98a0e43bca9b', class: actions() }, h("slot", { key: '18ac2963f072a01ab5489feb1f8cc29a0e070c82', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: 'a997fce0cef95cedd38154a512aff948d46cb465' })))));
|
|
10116
10153
|
}
|
|
10117
10154
|
};
|
|
10118
10155
|
TableRow.style = tableRowComponentCss();
|
|
@@ -10128,13 +10165,16 @@ const TableRowActionsContainer = class {
|
|
|
10128
10165
|
*/
|
|
10129
10166
|
checked = false;
|
|
10130
10167
|
render() {
|
|
10131
|
-
return (h(ThemedHost, { key: '05b47280bc380ad0960a69c27fa641ea735a94f4' }, h("div", { key: '
|
|
10168
|
+
return (h(ThemedHost, { key: '05b47280bc380ad0960a69c27fa641ea735a94f4' }, h("div", { key: '5a0480d4df301d4aa395f87fc93b2e068b9f79f4', class: cn(`
|
|
10169
|
+
flex
|
|
10170
|
+
before:w-4 before:bg-gradient-to-l before:from-off-white-200
|
|
10171
|
+
`, {
|
|
10132
10172
|
'dark:before:from-hurricane-600': !this.checked,
|
|
10133
10173
|
'dark:before:from-hurricane-400': !!this.checked,
|
|
10134
|
-
}) }, h("div", { key: '
|
|
10174
|
+
}) }, h("div", { key: '6772a16f95a60938d7d8a019dcbd7c6e8f0d00c7', class: cn('flex h-full items-center gap-2 rounded-r-lg bg-off-white-200 pr-3', {
|
|
10135
10175
|
'dark:bg-hurricane-600': !this.checked,
|
|
10136
10176
|
'dark:bg-hurricane-400': !!this.checked,
|
|
10137
|
-
}) }, h("slot", { key: '
|
|
10177
|
+
}) }, h("slot", { key: '27f6a9bf20a79fc58b63412aa0943278408e6f90' })))));
|
|
10138
10178
|
}
|
|
10139
10179
|
};
|
|
10140
10180
|
TableRowActionsContainer.style = tableRowActionsContainerComponentCss();
|