@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
|
@@ -4,10 +4,10 @@ import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
|
4
4
|
import { asBoolean } from "../../../../utils/as-boolean";
|
|
5
5
|
import { cn } from "../../../../utils/cn";
|
|
6
6
|
import { nonce } from "../../../../utils/nonce";
|
|
7
|
-
const field = cva(['flex gap-2', 'w-inherit', 'border-solid
|
|
7
|
+
const field = cva(['flex gap-2', 'w-inherit', 'rounded-lg border-solid', 'relative'], {
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
10
|
-
read: '
|
|
10
|
+
read: 'flex-wrap items-start hyphens-auto break-normal border-0 leading-6',
|
|
11
11
|
write: 'border px-2',
|
|
12
12
|
},
|
|
13
13
|
size: {
|
|
@@ -58,24 +58,37 @@ const field = cva(['flex gap-2', 'w-inherit', 'border-solid rounded-lg', 'relati
|
|
|
58
58
|
variant: 'write',
|
|
59
59
|
focused: false,
|
|
60
60
|
error: false,
|
|
61
|
-
class:
|
|
61
|
+
class: `
|
|
62
|
+
border-storm-100
|
|
63
|
+
dark:border-hurricane-400
|
|
64
|
+
`,
|
|
62
65
|
},
|
|
63
66
|
{
|
|
64
67
|
variant: 'write',
|
|
65
68
|
disabled: false,
|
|
66
69
|
focused: true,
|
|
67
70
|
error: false,
|
|
68
|
-
class:
|
|
71
|
+
class: `
|
|
72
|
+
border-indigo-600 ring ring-indigo-100
|
|
73
|
+
selection:bg-indigo-500
|
|
74
|
+
dark:ring-0
|
|
75
|
+
`,
|
|
69
76
|
},
|
|
70
77
|
{
|
|
71
78
|
variant: 'write',
|
|
72
79
|
disabled: false,
|
|
73
|
-
class:
|
|
80
|
+
class: `
|
|
81
|
+
bg-white
|
|
82
|
+
dark:bg-hurricane-500
|
|
83
|
+
`,
|
|
74
84
|
},
|
|
75
85
|
{
|
|
76
86
|
variant: 'write',
|
|
77
87
|
disabled: true,
|
|
78
|
-
class:
|
|
88
|
+
class: `
|
|
89
|
+
cursor-not-allowed bg-white-600
|
|
90
|
+
dark:border-hurricane-500 dark:bg-hurricane-600
|
|
91
|
+
`,
|
|
79
92
|
},
|
|
80
93
|
{
|
|
81
94
|
disabled: false,
|
|
@@ -86,14 +99,25 @@ const field = cva(['flex gap-2', 'w-inherit', 'border-solid rounded-lg', 'relati
|
|
|
86
99
|
disabled: false,
|
|
87
100
|
focused: true,
|
|
88
101
|
error: true,
|
|
89
|
-
class:
|
|
102
|
+
class: `
|
|
103
|
+
ring ring-negative-red-50
|
|
104
|
+
selection:bg-negative-red-50
|
|
105
|
+
dark:ring-0
|
|
106
|
+
`,
|
|
90
107
|
},
|
|
91
108
|
],
|
|
92
109
|
});
|
|
93
110
|
const input = cva([
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
111
|
+
`
|
|
112
|
+
text-sm
|
|
113
|
+
placeholder:text-sm placeholder:text-storm-500/40
|
|
114
|
+
dark:placeholder:text-hurricane-200
|
|
115
|
+
`,
|
|
116
|
+
'min-w-0 flex-1 border-none bg-transparent p-0',
|
|
117
|
+
`
|
|
118
|
+
outline-none
|
|
119
|
+
focus:outline-none
|
|
120
|
+
`,
|
|
97
121
|
'font-geist',
|
|
98
122
|
], {
|
|
99
123
|
variants: {
|
|
@@ -106,12 +130,15 @@ const input = cva([
|
|
|
106
130
|
true: 'cursor-not-allowed',
|
|
107
131
|
},
|
|
108
132
|
error: {
|
|
109
|
-
false:
|
|
133
|
+
false: `
|
|
134
|
+
text-storm-500
|
|
135
|
+
dark:text-white
|
|
136
|
+
`,
|
|
110
137
|
true: 'text-negative-red-500',
|
|
111
138
|
},
|
|
112
139
|
},
|
|
113
140
|
});
|
|
114
|
-
const prefixAndSuffix = cva(['flex flex-shrink-0
|
|
141
|
+
const prefixAndSuffix = cva(['flex flex-shrink-0 items-center justify-center text-center'], {
|
|
115
142
|
variants: {
|
|
116
143
|
variant: {
|
|
117
144
|
read: 'leading-6',
|
|
@@ -119,7 +146,10 @@ const prefixAndSuffix = cva(['flex flex-shrink-0 justify-center items-center tex
|
|
|
119
146
|
},
|
|
120
147
|
disabled: {
|
|
121
148
|
false: null,
|
|
122
|
-
true:
|
|
149
|
+
true: `
|
|
150
|
+
text-storm-100
|
|
151
|
+
dark:text-hurricane-400
|
|
152
|
+
`,
|
|
123
153
|
},
|
|
124
154
|
focused: {
|
|
125
155
|
false: null,
|
|
@@ -143,13 +173,19 @@ const prefixAndSuffix = cva(['flex flex-shrink-0 justify-center items-center tex
|
|
|
143
173
|
disabled: false,
|
|
144
174
|
focused: false,
|
|
145
175
|
error: false,
|
|
146
|
-
class:
|
|
176
|
+
class: `
|
|
177
|
+
text-storm-300
|
|
178
|
+
dark:text-hurricane-200
|
|
179
|
+
`,
|
|
147
180
|
},
|
|
148
181
|
{
|
|
149
182
|
disabled: false,
|
|
150
183
|
focused: true,
|
|
151
184
|
error: false,
|
|
152
|
-
class:
|
|
185
|
+
class: `
|
|
186
|
+
text-storm-500
|
|
187
|
+
dark:text-white
|
|
188
|
+
`,
|
|
153
189
|
},
|
|
154
190
|
{
|
|
155
191
|
disabled: false,
|
|
@@ -329,8 +365,8 @@ export class Field {
|
|
|
329
365
|
}
|
|
330
366
|
render() {
|
|
331
367
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
332
|
-
return (h(ThemedHost, { key: '
|
|
333
|
-
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '
|
|
368
|
+
return (h(ThemedHost, { key: 'd309322e4a2a9e73d7e20cb5e585eba64d3af95f' }, h("p-field-container", { key: '85327bdb7a5aa7e071c4024e3d490a6b9759b184', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
369
|
+
(!!this.error?.length && this.forceShowTooltip), helper: this.helper, id: id, label: this.label, loading: this.loading, loadingSize: this.size, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '4cbdc7b148e94564fc0b986a7780180bd8813d58', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '61a1b3cb45df2792fbf51aa6e91d11b10e1b72e6', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'd208829c7f4629f7390236d3a8c990d47d91f66b', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'e4bd3ef86143630c0ebe9fe006aea4b7be2ca10f', name: 'error', slot: 'error' })), h("div", { key: 'ea260caef724543db24f04bb5861ea2a138c1574', class: field({
|
|
334
370
|
error: !!this.error?.length,
|
|
335
371
|
disabled: asBoolean(this.disabled),
|
|
336
372
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -341,7 +377,7 @@ export class Field {
|
|
|
341
377
|
? `${this.value}`
|
|
342
378
|
: undefined }, (this.error?.length ||
|
|
343
379
|
prefix ||
|
|
344
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
380
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: 'd0e3d37f5fc3e7676cc3bc7f622733504169ddcf', class: prefixAndSuffix({
|
|
345
381
|
variant: this.variant,
|
|
346
382
|
error: !!this.error?.length,
|
|
347
383
|
disabled: asBoolean(this.disabled),
|
|
@@ -351,7 +387,7 @@ export class Field {
|
|
|
351
387
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
352
388
|
this.error?.length ? (h("p-icon", { class: cn('flex', {
|
|
353
389
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
354
|
-
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
390
|
+
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: 'f479afb28bbd5ba74b78deaa7b9daf1ef543fa27', class: prefixAndSuffix({
|
|
355
391
|
variant: this.variant,
|
|
356
392
|
error: !!this.error?.length,
|
|
357
393
|
disabled: asBoolean(this.disabled),
|
|
@@ -7,10 +7,13 @@ const label = cva(['flex items-center justify-center gap-2', 'h-6 rounded-full']
|
|
|
7
7
|
variant: {
|
|
8
8
|
positive: [
|
|
9
9
|
'bg-positive-green-100 text-positive-green-800',
|
|
10
|
-
|
|
10
|
+
`
|
|
11
|
+
dark:bg-positive-green-alternative/15
|
|
12
|
+
dark:text-positive-green-alternative
|
|
13
|
+
`,
|
|
11
14
|
],
|
|
12
15
|
biased: [
|
|
13
|
-
'bg-amber-100
|
|
16
|
+
'bg-amber-100 text-amber-800',
|
|
14
17
|
'dark:bg-amber-alternative/15 dark:text-amber-alternative',
|
|
15
18
|
],
|
|
16
19
|
negative: [
|
|
@@ -28,7 +31,7 @@ const label = cva(['flex items-center justify-center gap-2', 'h-6 rounded-full']
|
|
|
28
31
|
},
|
|
29
32
|
iconOnly: {
|
|
30
33
|
false: 'px-2',
|
|
31
|
-
true: 'p-2
|
|
34
|
+
true: 'w-6 p-2',
|
|
32
35
|
},
|
|
33
36
|
keepMobileContent: {
|
|
34
37
|
false: null,
|
|
@@ -39,7 +42,10 @@ const label = cva(['flex items-center justify-center gap-2', 'h-6 rounded-full']
|
|
|
39
42
|
{
|
|
40
43
|
keepMobileContent: false,
|
|
41
44
|
iconOnly: false,
|
|
42
|
-
class:
|
|
45
|
+
class: `
|
|
46
|
+
w-6 p-2
|
|
47
|
+
desktop-xs:w-auto desktop-xs:py-0
|
|
48
|
+
`,
|
|
43
49
|
},
|
|
44
50
|
],
|
|
45
51
|
});
|
|
@@ -69,14 +75,17 @@ export class Label {
|
|
|
69
75
|
*/
|
|
70
76
|
keepMobileContent = false;
|
|
71
77
|
render() {
|
|
72
|
-
return (h(ThemedHost, { key: '
|
|
78
|
+
return (h(ThemedHost, { key: '50279029679d4106c05894266a5d5289cb32ebfa' }, h("div", { key: '4fbae53bce0120c530b26b6b962b219262a93356', class: label({
|
|
73
79
|
variant: this.variant,
|
|
74
80
|
iconOnly: this.iconOnly,
|
|
75
81
|
keepMobileContent: this.keepMobileContent,
|
|
76
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
82
|
+
}) }, this.icon && (h("p-icon", { key: '20f67e7082c6cffa555b7411a2b81ced7263c9f2', class: 'flex-shrink-0', flip: this.iconFlip, rotate: this.iconRotate, variant: this.icon })), !this.iconOnly && (h("div", { key: 'ff2f20fc5eaeb3bb8eb5aa3956819c52aeaf03df', class: cn(`
|
|
83
|
+
flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm
|
|
84
|
+
font-medium
|
|
85
|
+
`, {
|
|
77
86
|
hidden: !this.keepMobileContent,
|
|
78
87
|
'desktop-xs:block': !this.keepMobileContent,
|
|
79
|
-
}) }, h("slot", { key: '
|
|
88
|
+
}) }, h("slot", { key: '3e11788ad3fb910d573d6f63ac7d57a7671687b2' }))))));
|
|
80
89
|
}
|
|
81
90
|
static get is() { return "p-label"; }
|
|
82
91
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,20 +6,32 @@ import { cn } from "../../../../utils/cn";
|
|
|
6
6
|
const navigationItem = cva([
|
|
7
7
|
'h-8 w-[inherit]',
|
|
8
8
|
'flex items-center gap-2',
|
|
9
|
-
|
|
9
|
+
`
|
|
10
|
+
hover:text-storm-500
|
|
11
|
+
dark:hover:text-white
|
|
12
|
+
`,
|
|
10
13
|
'rounded-lg',
|
|
11
|
-
'py-1
|
|
14
|
+
'px-2 py-1',
|
|
12
15
|
'text-sm font-medium',
|
|
13
16
|
'cursor-pointer',
|
|
14
17
|
], {
|
|
15
18
|
variants: {
|
|
16
19
|
active: {
|
|
17
20
|
false: [
|
|
18
|
-
|
|
19
|
-
|
|
21
|
+
`
|
|
22
|
+
text-storm-400
|
|
23
|
+
dark:text-hurricane-200
|
|
24
|
+
`,
|
|
25
|
+
`
|
|
26
|
+
hover:bg-off-white-500
|
|
27
|
+
dark:hover:bg-white/10
|
|
28
|
+
`,
|
|
20
29
|
],
|
|
21
30
|
true: [
|
|
22
|
-
|
|
31
|
+
`
|
|
32
|
+
bg-off-white-600 font-semibold text-storm-500
|
|
33
|
+
dark:bg-white/10 dark:text-white
|
|
34
|
+
`,
|
|
23
35
|
],
|
|
24
36
|
},
|
|
25
37
|
icon: {
|
|
@@ -28,7 +40,7 @@ const navigationItem = cva([
|
|
|
28
40
|
},
|
|
29
41
|
},
|
|
30
42
|
});
|
|
31
|
-
const navigationItemIconContainer = cva(['flex h-6
|
|
43
|
+
const navigationItemIconContainer = cva(['flex aspect-branding h-6 items-center justify-center rounded-full'], {
|
|
32
44
|
variants: {
|
|
33
45
|
active: {
|
|
34
46
|
false: false,
|
|
@@ -76,13 +88,13 @@ export class NavigationItem {
|
|
|
76
88
|
render() {
|
|
77
89
|
const TagType = this.as;
|
|
78
90
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
79
|
-
return (h(ThemedHost, { key: '
|
|
91
|
+
return (h(ThemedHost, { key: '9618d8427117bdcc2809e8f1a81174d0d99366c9', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '3db385fe49b1eba6b032494d8f303aa5e1e60c01', class: navigationItem({
|
|
80
92
|
icon: !!this.icon,
|
|
81
93
|
active,
|
|
82
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
94
|
+
}), href: this.href, target: this.target }, h("div", { key: '7c97ebc4d504b06bb795b4885be0250f0c839882', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '881b8afabc70357e31783903c5c8956cae6b34a6', variant: this.icon })), h("span", { key: '509205092f325b8037a8abaf51ce314136c15621', class: cn({
|
|
83
95
|
'has-counter': !!this.counter,
|
|
84
96
|
'w-full': this.applyFullWidth,
|
|
85
|
-
}) }, h("slot", { key: '
|
|
97
|
+
}) }, h("slot", { key: '0573c0d5ea35d1b72de532cd46c4b53bf97d956e' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'cac8304e8a0f23e3fe1f81279f916d6e83a3a652' }, this.counter)), !!this.loading && h("p-loader", { key: '949b2eed1d715a0a98a831ad649ffbeba5787577', class: 'ml-auto' }))));
|
|
86
98
|
}
|
|
87
99
|
static get is() { return "p-navigation-item"; }
|
|
88
100
|
static get encapsulation() { return "scoped"; }
|
|
@@ -4,7 +4,7 @@ import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
|
4
4
|
import { childOfComposed } from "../../../../utils/child-of";
|
|
5
5
|
import { PAGINATION_DEFAULT_PAGE_SIZE } from "../../../../utils/constants";
|
|
6
6
|
import { formatTranslation, getLocaleComponentStrings, } from "../../../../utils/localization";
|
|
7
|
-
const pagination = cva(['p-pagination', 'flex gap-2
|
|
7
|
+
const pagination = cva(['p-pagination', 'flex items-center gap-2'], {
|
|
8
8
|
variants: {
|
|
9
9
|
hidden: {
|
|
10
10
|
false: 'flex',
|
|
@@ -6,8 +6,8 @@ const pagination = cva([
|
|
|
6
6
|
'p-pagination',
|
|
7
7
|
'items-center gap-2',
|
|
8
8
|
'rounded-full',
|
|
9
|
-
'
|
|
10
|
-
'dark:
|
|
9
|
+
'border border-solid border-off-white-700 bg-off-white-300',
|
|
10
|
+
'dark:border-hurricane-400 dark:bg-hurricane-500',
|
|
11
11
|
'p-1',
|
|
12
12
|
], {
|
|
13
13
|
variants: {
|
|
@@ -66,7 +66,7 @@ export class Pagination {
|
|
|
66
66
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
67
67
|
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '5812bfaaee47936e0f1d910c4da0421589e5cf9b' }, h("p-pagination-size", { key: '2fe1f8e733d96ef2843d184f17c02b2db44b3fb5', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
68
68
|
this.hideOnSinglePage &&
|
|
69
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
69
|
+
this._hasPaginationPages && (h("p-divider", { key: 'c8062527297b143b8aaf4c11cf7038a8a99c7df5', class: '\n mx-0 h-4 text-off-white-700\n dark:text-hurricane-400\n ', variant: 'vertical' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'd52f747c7a82ff3d7ef285a2430fad635f34475c', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
70
70
|
this._hasPaginationPages = detail > 1;
|
|
71
71
|
this.pagesChange.emit(detail);
|
|
72
72
|
} })))));
|
|
@@ -16,20 +16,26 @@ const paginationSize = cva('p-pagination-size', {
|
|
|
16
16
|
const trigger = cva([
|
|
17
17
|
'group/pagination-size-trigger',
|
|
18
18
|
'flex items-center gap-2',
|
|
19
|
-
'px-2
|
|
20
|
-
'text-sm text-storm-500
|
|
19
|
+
'h-6 px-2',
|
|
20
|
+
'text-sm font-medium text-storm-500',
|
|
21
21
|
'dark:text-white',
|
|
22
22
|
'cursor-pointer rounded-full',
|
|
23
|
-
'
|
|
23
|
+
'border border-solid shadow-1',
|
|
24
24
|
], {
|
|
25
25
|
variants: {
|
|
26
26
|
active: {
|
|
27
27
|
false: [
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
`
|
|
29
|
+
border-transparent bg-white
|
|
30
|
+
hover:bg-white-600
|
|
31
|
+
`,
|
|
32
|
+
`
|
|
33
|
+
dark:bg-white/15
|
|
34
|
+
dark:hover:bg-white/25
|
|
35
|
+
`,
|
|
30
36
|
],
|
|
31
37
|
true: [
|
|
32
|
-
'
|
|
38
|
+
'border-indigo-600 bg-white-600 ring ring-2 ring-indigo-100',
|
|
33
39
|
'dark:bg-white/25 dark:ring-0',
|
|
34
40
|
],
|
|
35
41
|
},
|
|
@@ -73,18 +79,18 @@ export class PaginationSize {
|
|
|
73
79
|
this._setLocales();
|
|
74
80
|
}
|
|
75
81
|
render() {
|
|
76
|
-
return (h(ThemedHost, { key: '
|
|
82
|
+
return (h(ThemedHost, { key: 'bd468fb3b2889b8cd35ea4cbe39423e47c804e20', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, h("p-dropdown", { key: 'd8e97c2c1f86d393d7c2c2bb6e8fbf6a0f44567e', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, h("div", { key: 'ff75dd123c0a3543ef2118d0a14f15aae96f49f8', class: trigger({
|
|
77
83
|
active: this.dropdownIsOpen,
|
|
78
|
-
}), slot: 'trigger' }, h("p", { key: '
|
|
84
|
+
}), slot: 'trigger' }, h("p", { key: '986ddcf2e5c81ff4dc132aa3612764508e6287d4', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
|
|
79
85
|
? this.itemTemplate(this.size)
|
|
80
|
-
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '
|
|
86
|
+
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '4b335f1178302bcbd7682be7c442eab43e8950d5', class: cn([
|
|
81
87
|
'flex-shrink-0',
|
|
82
88
|
'group-hover/pagination-size-trigger:text-storm-500',
|
|
83
89
|
'dark:group-hover/pagination-size-trigger:text-white',
|
|
84
90
|
], {
|
|
85
91
|
'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
|
|
86
92
|
'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
|
|
87
|
-
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: '
|
|
93
|
+
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: 'b26417bae87adfb4d18452c8d953fe4faa4bd868', slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
88
94
|
? this.itemTemplate(option)
|
|
89
95
|
: this._defaultItemTemplate(option))))))));
|
|
90
96
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { cva } from "class-variance-authority";
|
|
3
3
|
import { ThemedHost } from "../../../internal/themed-host.component";
|
|
4
|
-
const profileContent = cva(['flex
|
|
4
|
+
const profileContent = cva(['flex min-w-0 flex-1 items-center gap-2'], {
|
|
5
5
|
variants: {
|
|
6
6
|
dropdown: {
|
|
7
7
|
false: 'h-10 py-1',
|
|
@@ -42,7 +42,7 @@ export class Profile {
|
|
|
42
42
|
_getContent() {
|
|
43
43
|
return (h("div", { class: profileContent({
|
|
44
44
|
dropdown: this._hasDropdownSlot,
|
|
45
|
-
}) }, h("slot", { name: 'avatar' }), h("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, h("p", { class: 'my-0 w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap
|
|
45
|
+
}) }, h("slot", { name: 'avatar' }), h("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, h("p", { class: '\n my-0 w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap\n text-sm font-semibold text-storm-500\n dark:text-white\n ' }, h("slot", { name: 'title' })), h("p", { class: '\n my-0 w-auto max-w-full overflow-hidden text-ellipsis whitespace-nowrap\n text-xs font-medium text-storm-400\n dark:text-hurricane-200\n ' }, h("slot", { name: 'subtitle' }))), h("slot", { name: 'post-title' })));
|
|
46
46
|
}
|
|
47
47
|
_updateAvatar() {
|
|
48
48
|
const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
|
|
@@ -23,13 +23,13 @@ export class Range {
|
|
|
23
23
|
valueChange;
|
|
24
24
|
render() {
|
|
25
25
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
26
|
-
return (h(ThemedHost, { key: 'cb6a6b717940ba17aa7a6df5cc36577a991d3831' }, h("div", { key: '
|
|
26
|
+
return (h(ThemedHost, { key: 'cb6a6b717940ba17aa7a6df5cc36577a991d3831' }, h("div", { key: '82e000061159418bb6dc5ba3c72dc9c36315777f', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: 'f3825df8da36fd3e28988753db4216e613336749', variant: 'minus' }), h("div", { key: '1020caacf9987bfa348181c6a90b430805f1888f', class: 'relative h-6 flex-1' }, h("input", { key: '05fb1b7ed4af1392f107bf27977aab3a80f45c98', max: this.max, min: this.min, step: this.step, type: 'range', value: this.value, onInput: ev => {
|
|
27
27
|
const value = ev.target.value;
|
|
28
28
|
this.value = Number.parseFloat(value);
|
|
29
29
|
this.valueChange.emit(value);
|
|
30
|
-
} }), h("div", { key: '
|
|
30
|
+
} }), h("div", { key: '90cdf9d7a326ec8764722cda4167a2260eff1e93', class: '\n z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform\n bg-indigo-600\n ', style: {
|
|
31
31
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
32
|
-
} })), h("p-icon", { key: '
|
|
32
|
+
} })), h("p-icon", { key: 'b80ba4a88335c01383d94bbb661f7c1300c88e3b', variant: 'plus' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "p-range"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { childOfComposed, cn } from "../../../utils";
|
|
|
5
5
|
import { SELECT_DEFAULT_MAX_DISPLAYED_ITEMS } from "../../../utils/constants";
|
|
6
6
|
const multiContainer = cva([
|
|
7
7
|
'flex items-center gap-2',
|
|
8
|
-
'
|
|
8
|
+
'h-full min-w-0 flex-1',
|
|
9
9
|
'pointer-events-none overflow-hidden',
|
|
10
10
|
]);
|
|
11
11
|
const multiItem = cva([
|
|
@@ -13,7 +13,7 @@ const multiItem = cva([
|
|
|
13
13
|
'pointer-events-auto cursor-pointer',
|
|
14
14
|
'flex h-[1.625rem] items-center gap-2',
|
|
15
15
|
'h-[1.625rem] px-2',
|
|
16
|
-
'text-sm font-semibold
|
|
16
|
+
'whitespace-nowrap text-sm font-semibold',
|
|
17
17
|
'rounded-lg',
|
|
18
18
|
'bg-indigo-100',
|
|
19
19
|
'dark:bg-white/15',
|
|
@@ -21,7 +21,10 @@ const multiItem = cva([
|
|
|
21
21
|
const textContainer = cva('block w-full overflow-hidden text-start', {
|
|
22
22
|
variants: {
|
|
23
23
|
variant: {
|
|
24
|
-
placeholder:
|
|
24
|
+
placeholder: `
|
|
25
|
+
text-storm-400
|
|
26
|
+
dark:text-white
|
|
27
|
+
`,
|
|
25
28
|
default: null,
|
|
26
29
|
},
|
|
27
30
|
enableTextWrap: {
|
|
@@ -29,7 +32,11 @@ const textContainer = cva('block w-full overflow-hidden text-start', {
|
|
|
29
32
|
false: 'text-ellipsis whitespace-nowrap',
|
|
30
33
|
},
|
|
31
34
|
error: {
|
|
32
|
-
true:
|
|
35
|
+
true: `
|
|
36
|
+
text-negative-red-700
|
|
37
|
+
group-hover/button:text-negative-red-800
|
|
38
|
+
dark:text-negative-red-alternative
|
|
39
|
+
`,
|
|
33
40
|
false: null,
|
|
34
41
|
},
|
|
35
42
|
},
|
|
@@ -254,7 +261,7 @@ export class Select {
|
|
|
254
261
|
if (this._selectedItem?.length === 0) {
|
|
255
262
|
return placeholder;
|
|
256
263
|
}
|
|
257
|
-
return (h("div", { class: multiContainer(), ref: ref => (this._multiContainerRef = ref) }, this._selectedItem.map(item => (h("div", { class: multiItem(), onClick: () => this._selectValue(item) }, item[this.selectionDisplayKey ?? this.displayKey], h("p-icon", { class: 'text-xs text-indigo-500
|
|
264
|
+
return (h("div", { class: multiContainer(), ref: ref => (this._multiContainerRef = ref) }, this._selectedItem.map(item => (h("div", { class: multiItem(), onClick: () => this._selectValue(item) }, item[this.selectionDisplayKey ?? this.displayKey], h("p-icon", { class: '\n text-xs text-indigo-500\n group-hover/item:text-indigo-800\n dark:text-white/15\n dark:group-hover/item:text-white\n ', variant: 'negative' })))), h("div", { class: 'extra pointer-events-none hidden text-sm text-storm-100' }, "+", this._amountHidden)));
|
|
258
265
|
}
|
|
259
266
|
return this._getDisplay(this._selectedItem, true);
|
|
260
267
|
}
|
|
@@ -322,8 +329,8 @@ export class Select {
|
|
|
322
329
|
if (this.error?.length) {
|
|
323
330
|
buttonIcon = 'warning';
|
|
324
331
|
}
|
|
325
|
-
return (h(ThemedHost, { key: '
|
|
326
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
332
|
+
return (h(ThemedHost, { key: '76b10df3dbbf0a1758ea13c7205ea4c11ea05056' }, h("p-field-container", { key: 'e17bca429b8a24a4c5e4399911c9efcebd8a6b24', error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, label: this.label, prefix: this.prefix, required: this.required, showOptional: this.showOptional, variant: 'write' }, h("p-dropdown", { key: '1bcd1b15692330794bed8b34fbe203b8015681d9', applyChevron: false, applyFullWidth: true, applyMaxWidth: false, "disable-trigger-click": this.disabled, insideClick: true, manual: true, manualChevron: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, slot: 'content', strategy: this.strategy, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-button", { key: '383466f2cec3fa3e7aa65aa3db077445cb2917ef', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
333
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '8d5b4d842f4d49f029f1a61f98a8d768c61cf3ef', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
327
334
|
}
|
|
328
335
|
documentClickHandler(event) {
|
|
329
336
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -484,7 +491,7 @@ export class Select {
|
|
|
484
491
|
});
|
|
485
492
|
if (this._items.length === 0) {
|
|
486
493
|
items = [
|
|
487
|
-
h("p", { class: 'w-full p-2 text-center text-sm text-storm-400
|
|
494
|
+
h("p", { class: '\n w-full p-2 text-center text-sm text-storm-400\n dark:text-hurricane-200\n ', slot: 'items' }, this.emptyStateText),
|
|
488
495
|
];
|
|
489
496
|
}
|
|
490
497
|
if (this.enableSelectAll && this._items.length > 0) {
|
|
@@ -577,7 +584,10 @@ export class Select {
|
|
|
577
584
|
}) }, item[this.dropdownDisplayKey ?? this.displayKey])));
|
|
578
585
|
}
|
|
579
586
|
if (this.iconKey && (!isSelection || this.showIconOnSelectedItem)) {
|
|
580
|
-
content = (h("span", { class: 'flex items-center gap-2' }, item[this.iconKey] && (h("p-icon", { class: cn(
|
|
587
|
+
content = (h("span", { class: 'flex items-center gap-2' }, item[this.iconKey] && (h("p-icon", { class: cn(`
|
|
588
|
+
text-storm-300
|
|
589
|
+
dark:text-hurricane-200
|
|
590
|
+
`, (!isSelection || !!this.applyClassOnSelectedItem) &&
|
|
581
591
|
(!isSelectedInMenu || !!this.applyClassOnSelectedItemInMenu)
|
|
582
592
|
? (item?.[this.iconClassKey] ?? '')
|
|
583
593
|
: ''), variant: item[this.iconKey] })), h("div", { class: textContainer({
|
|
@@ -87,7 +87,7 @@ export class TableCell {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(ThemedHost, { key: 'f3fb25607a21580f978f979b6ed0c64c908c597e', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: '52e2728554816fd8251bf81fdd6f4cac251e5dc0' }, h("div", { key: '5c09e0c5618a47a1ca76183d33d9576f051ea8fd', class: 'pl-8' }), h("div", { key: '
|
|
90
|
+
return (h(ThemedHost, { key: 'f3fb25607a21580f978f979b6ed0c64c908c597e', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: '52e2728554816fd8251bf81fdd6f4cac251e5dc0' }, h("div", { key: '5c09e0c5618a47a1ca76183d33d9576f051ea8fd', class: 'pl-8' }), h("div", { key: '9561b5f94ad79ea0c52a48559f90619e9fed5f5e', class: '\n text-storm-300 text-storm-400 text-storm-500\n dark:text-hurricane-200 dark:text-white\n ' }), h("div", { key: '11a4a42374f36dd5fb47f322a7f0dabe544a436b', class: 'justify-start justify-end justify-center' }), h("div", { key: '864d0fed0499a6d4a1280bf241640e5cba2fe711', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: '8e26f78f800d6d723f3ba800c6dff6fb63ef1344', class: '\n w-12/12 w-1/12 w-10/12 w-11/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12\n w-7/12 w-8/12 w-9/12\n ' }), h("div", { key: 'ff0a6c13bde4c69c3465d98aefa720e95d5ebd37', class: '\n tablet:w-12/12 tablet:w-1/12 tablet:w-10/12 tablet:w-11/12\n tablet:w-2/12 tablet:w-3/12 tablet:w-4/12 tablet:w-5/12 tablet:w-6/12\n tablet:w-7/12 tablet:w-8/12 tablet:w-9/12\n ' }), h("div", { key: 'd77b7269078bd582db7bb69bfb1b8cb920160df1', class: '\n desktop-xs:w-12/12 desktop-xs:w-1/12 desktop-xs:w-10/12\n desktop-xs:w-11/12 desktop-xs:w-2/12 desktop-xs:w-3/12\n desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12\n desktop-xs:w-8/12 desktop-xs:w-9/12\n ' }), h("div", { key: 'ff249106f65d0afb3ff230110ef125c3855ef32b', class: '\n desktop-xs:w-12/12 desktop-xs:w-1/12 desktop-xs:w-10/12\n desktop-xs:w-11/12 desktop-xs:w-2/12 desktop-xs:w-3/12\n desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12\n desktop-xs:w-8/12 desktop-xs:w-9/12\n ' }), h("div", { key: '087df7562b253f6113c33ff5c0e6a128ae0caea4', class: '\n desktop-sm:w-12/12 desktop-sm:w-1/12 desktop-sm:w-10/12\n desktop-sm:w-11/12 desktop-sm:w-2/12 desktop-sm:w-3/12\n desktop-sm:w-4/12 desktop-sm:w-5/12 desktop-sm:w-6/12 desktop-sm:w-7/12\n desktop-sm:w-8/12 desktop-sm:w-9/12\n ' }), h("div", { key: 'c278fdd1fb803d3fbc7a9b59cbd2cee7cdd3514a', class: '\n desktop:w-12/12 desktop:w-1/12 desktop:w-10/12 desktop:w-11/12\n desktop:w-2/12 desktop:w-3/12 desktop:w-4/12 desktop:w-5/12\n desktop:w-6/12 desktop:w-7/12 desktop:w-8/12 desktop:w-9/12\n ' }), h("div", { key: '4d2253d467b0ed70c75d08fc58bf28f6cf589751', class: '\n desktop-lg:w-12/12 desktop-lg:w-1/12 desktop-lg:w-10/12\n desktop-lg:w-11/12 desktop-lg:w-2/12 desktop-lg:w-3/12\n desktop-lg:w-4/12 desktop-lg:w-5/12 desktop-lg:w-6/12 desktop-lg:w-7/12\n desktop-lg:w-8/12 desktop-lg:w-9/12\n ' }), h("div", { key: '7aff2e5016f86074b757f25a7d6878d1ae0dad7c', class: '\n desktop-xl:w-12/12 desktop-xl:w-1/12 desktop-xl:w-10/12\n desktop-xl:w-11/12 desktop-xl:w-2/12 desktop-xl:w-3/12\n desktop-xl:w-4/12 desktop-xl:w-5/12 desktop-xl:w-6/12 desktop-xl:w-7/12\n desktop-xl:w-8/12 desktop-xl:w-9/12\n ' }), h("div", { key: '4f3dd991837b2a0945df0d9393a350397b4af4d7', class: '\n flex hidden\n group-hover:flex group-hover:hidden\n ' }), h("div", { key: '31d63cf20498d832ade4954d318a7286eadc3e82', class: '\n tablet:flex tablet:hidden\n tablet:group-hover:flex tablet:group-hover:hidden\n ' }), h("div", { key: '10d392794958efaf165df8d9f1a43bc2a0584f87', class: '\n desktop-xs:flex desktop-xs:hidden\n desktop-xs:group-hover:flex desktop-xs:group-hover:hidden\n ' }), h("div", { key: '6054c269168d38ab8e10e7296a6a3df7f3e4fadd', class: '\n desktop-sm:flex desktop-sm:hidden\n desktop-sm:group-hover:flex desktop-sm:group-hover:hidden\n ' }), h("div", { key: 'c8fb78e7758d43c6152624423264d6c90fb9b2b8', class: '\n desktop:flex desktop:hidden\n desktop:group-hover:flex desktop:group-hover:hidden\n ' }), h("div", { key: 'f48350e8301f605a67fbebaab22222eec7d55bea', class: '\n desktop-lg:flex desktop-lg:hidden\n desktop-lg:group-hover:flex desktop-lg:group-hover:hidden\n ' }), h("div", { key: '7abb1b0a45b8f64ea950e727b5031e3fca1a704b', class: '\n desktop-xl:flex desktop-xl:hidden\n desktop-xl:group-hover:flex desktop-xl:group-hover:hidden\n ' }), h("div", { key: '7a20a38d43dc2b69204e180c2a883006fa4ef4df', class: '\n pr-0 pr-4\n last-of-type:pr-0\n ' }), h("div", { key: '5ea438ffa250318c9e4a3ab0c5986dc6eb688e64', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: 'db9ba48d4eb3e425fbd15ebfd7b6c0596e8a8145', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: '614510d13f43abcd32adb8d05e9632df10259869', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: '0814a8fa30f04426f4555f5d4fd745c27f062a4e', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: '561ca8b5a7840916857420bf5554feb2efd847aa', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: 'e0e707a1e9d763adcfcd21072f983bb56950386e', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
|
|
91
91
|
}
|
|
92
92
|
_getContent() {
|
|
93
93
|
if (this.variant === 'loading') {
|
|
@@ -3,11 +3,15 @@ import { cva } from "class-variance-authority";
|
|
|
3
3
|
import { ThemedHost } from "../../../../internal/themed-host.component";
|
|
4
4
|
import { PAGINATION_DEFAULT_PAGE_SIZE, PAGINATION_DEFAULT_PAGE_SIZE_OPTIONS, } from "../../../../utils/constants";
|
|
5
5
|
const footer = cva([
|
|
6
|
-
'justify-center
|
|
6
|
+
'relative justify-center',
|
|
7
7
|
'w-full px-6',
|
|
8
|
-
'after:absolute after:
|
|
9
|
-
'after:
|
|
10
|
-
|
|
8
|
+
'after:absolute after:left-0 after:top-0 after:z-[0]',
|
|
9
|
+
'after:h-full after:w-full after:transition-opacity',
|
|
10
|
+
`
|
|
11
|
+
after:bg-gradient-to-t after:from-white after:via-white/80
|
|
12
|
+
after:to-transparent
|
|
13
|
+
dark:after:from-hurricane-700 dark:after:via-hurricane-700/80
|
|
14
|
+
`,
|
|
11
15
|
], {
|
|
12
16
|
variants: {
|
|
13
17
|
pinned: {
|
|
@@ -19,7 +23,10 @@ const footer = cva([
|
|
|
19
23
|
true: 'hidden',
|
|
20
24
|
},
|
|
21
25
|
tableHeaderHasAction: {
|
|
22
|
-
true:
|
|
26
|
+
true: `
|
|
27
|
+
pb-20 pt-8
|
|
28
|
+
desktop-xs:py-8
|
|
29
|
+
`,
|
|
23
30
|
false: 'py-8',
|
|
24
31
|
},
|
|
25
32
|
},
|
|
@@ -100,12 +107,12 @@ export class TableFooter {
|
|
|
100
107
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
101
108
|
}
|
|
102
109
|
render() {
|
|
103
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: 'b0ae6e77e5b14d5ac5a736790004b3b15c3dbe2e' }, h("div", { key: '7115b353fb53075cef7330b0fdcb7cce1e3fc3f6', class: footer({
|
|
104
111
|
pinned: this._isPinned,
|
|
105
112
|
hidden: this._hidden,
|
|
106
113
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
107
114
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
108
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
115
|
+
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) })))));
|
|
109
116
|
}
|
|
110
117
|
_changePageSize(s) {
|
|
111
118
|
if (!s) {
|