@paperless/core 2.0.1-beta.150 → 2.0.1-beta.152
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/CHANGELOG.md +23 -0
- package/dist/{paperless/p-c879f50c.entry.js → build/p-0103e9ac.entry.js} +2 -2
- package/dist/build/{p-0740b690.entry.js → p-133e9259.entry.js} +2 -2
- package/dist/build/{p-c4724fb7.entry.js → p-213bc400.entry.js} +2 -2
- package/dist/build/p-213bc400.entry.js.map +1 -0
- package/dist/build/{p-e33a56c8.entry.js → p-219db898.entry.js} +2 -2
- package/dist/build/{p-cc3307b8.entry.js → p-2da67519.entry.js} +2 -2
- package/dist/build/{p-8981247d.entry.js → p-302eedc6.entry.js} +2 -2
- package/dist/build/p-32f997e7.entry.js +2 -0
- package/dist/build/p-3322c57a.js +2 -0
- package/dist/build/p-3f02cbe4.entry.js +2 -0
- package/dist/build/p-3f02cbe4.entry.js.map +1 -0
- package/dist/build/{p-add932d6.entry.js → p-4fb1f39b.entry.js} +2 -2
- package/dist/{paperless/p-5048c4c2.entry.js → build/p-50a816b0.entry.js} +2 -2
- package/dist/build/{p-8fcf3bb8.entry.js → p-7b7c60de.entry.js} +2 -2
- package/dist/build/{p-e2054751.entry.js → p-9e4cbacf.entry.js} +2 -2
- package/dist/build/p-ad3595e3.entry.js +3 -0
- package/dist/build/p-ad3595e3.entry.js.map +1 -0
- package/dist/build/p-b137cbd4.entry.js +2 -0
- package/dist/build/{p-d6828011.entry.js → p-bb7a5be7.entry.js} +2 -2
- package/dist/build/{p-2edd87f3.entry.js → p-c3558fb4.entry.js} +2 -2
- package/dist/build/{p-6230b6da.entry.js → p-c74c4740.entry.js} +2 -2
- package/dist/build/p-c74c4740.entry.js.map +1 -0
- package/dist/build/{p-26a3990a.entry.js → p-c892b87a.entry.js} +2 -2
- package/dist/build/p-cropper.entry.esm.js.map +1 -1
- package/dist/build/{p-fa0234e9.entry.js → p-dc5fab19.entry.js} +2 -2
- package/dist/{paperless/p-0875bbbb.entry.js → build/p-e596d429.entry.js} +2 -2
- package/dist/build/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/build/{p-d4152f66.entry.js → p-fa78c45a.entry.js} +2 -2
- package/dist/build/p-range.entry.esm.js.map +1 -0
- package/dist/build/p-table.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-BDuPp9vl.js +4 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-attachment.cjs.entry.js +6 -6
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js +3 -3
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +6 -19
- package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-cropper.entry.cjs.js.map +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-empty-state_9.cjs.entry.js +23 -9
- package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
- package/dist/cjs/p-field_2.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
- package/dist/cjs/p-portal.cjs.entry.js +1 -1
- package/dist/cjs/p-range.cjs.entry.js +44 -0
- package/dist/cjs/p-range.cjs.entry.js.map +1 -0
- package/dist/cjs/p-range.entry.cjs.js.map +1 -0
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table.entry.cjs.js.map +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/helpers/portal/portal.component.js +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +6 -6
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.css +1 -0
- package/dist/collection/components/{deprecated/molecules → molecules}/cropper/cropper.component.js +8 -41
- package/dist/collection/components/molecules/cropper/cropper.component.js.map +1 -0
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/field/field.component.js +3 -3
- package/dist/collection/components/molecules/label/label.component.js +3 -3
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
- package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
- 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/range/range.component.css +1 -0
- package/dist/collection/components/molecules/range/range.component.js +144 -0
- package/dist/collection/components/molecules/range/range.component.js.map +1 -0
- package/dist/collection/components/molecules/select/select.component.js +1 -1
- package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
- package/dist/collection/components/molecules/table/row/table-row.component.css +1 -1
- package/dist/collection/components/molecules/table/row/table-row.component.js +37 -3
- package/dist/collection/components/molecules/table/row/table-row.component.js.map +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/listing/listing.component.js +2 -2
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js +1 -1
- package/dist/collection/components/organisms/table/table.component.js.map +1 -1
- package/dist/components/p--NCbtXAT.js +69 -0
- package/dist/components/p--NCbtXAT.js.map +1 -0
- package/dist/components/{p-D07Uh9cR.js → p-6G9LqZu0.js} +3 -3
- package/dist/components/{p-D07Uh9cR.js.map → p-6G9LqZu0.js.map} +1 -1
- package/dist/components/{p-CU2NvmYF.js → p-B60b7s3F.js} +9 -9
- package/dist/components/{p-CU2NvmYF.js.map → p-B60b7s3F.js.map} +1 -1
- package/dist/components/{p-DQE2U_Lj.js → p-BPFWBp7T.js} +9 -9
- package/dist/components/{p-DQE2U_Lj.js.map → p-BPFWBp7T.js.map} +1 -1
- package/dist/components/{p-DfRQHBer.js → p-BuB74H5T.js} +3 -3
- package/dist/components/{p-DfRQHBer.js.map → p-BuB74H5T.js.map} +1 -1
- package/dist/components/{p-Du_Am2CT.js → p-C0ZWBE1t.js} +6 -6
- package/dist/components/{p-Du_Am2CT.js.map → p-C0ZWBE1t.js.map} +1 -1
- package/dist/components/{p-FA9hEJhK.js → p-C4qAvszO.js} +4 -4
- package/dist/components/{p-FA9hEJhK.js.map → p-C4qAvszO.js.map} +1 -1
- package/dist/components/{p-Dh_4gXYW.js → p-C6mKH4oI.js} +3 -3
- package/dist/components/{p-Dh_4gXYW.js.map → p-C6mKH4oI.js.map} +1 -1
- package/dist/components/{p-jSbWZMTW.js → p-CJPrTM14.js} +3 -3
- package/dist/components/{p-jSbWZMTW.js.map → p-CJPrTM14.js.map} +1 -1
- package/dist/components/{p-C7SA9Zu6.js → p-COcP6KwP.js} +5 -5
- package/dist/components/{p-C7SA9Zu6.js.map → p-COcP6KwP.js.map} +1 -1
- package/dist/components/{p-DnE_NWa3.js → p-CSK_X0tW.js} +9 -9
- package/dist/components/{p-DnE_NWa3.js.map → p-CSK_X0tW.js.map} +1 -1
- package/dist/components/{p-CzDfB4le.js → p-CdJmhxHE.js} +22 -7
- package/dist/components/p-CdJmhxHE.js.map +1 -0
- package/dist/components/{p-Bs_oUMiX.js → p-QH6YwDKn.js} +4 -4
- package/dist/components/{p-Bs_oUMiX.js.map → p-QH6YwDKn.js.map} +1 -1
- package/dist/components/{p-v8w9H3NB.js → p-S7p7V6sq.js} +4 -4
- package/dist/components/{p-v8w9H3NB.js.map → p-S7p7V6sq.js.map} +1 -1
- package/dist/components/p-accordion.js +2 -2
- package/dist/components/p-attachment.js +10 -10
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/{p-DqpPnj1P.js → p-c2_LHyBE.js} +3 -3
- package/dist/components/{p-DqpPnj1P.js.map → p-c2_LHyBE.js.map} +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-cropper.js +15 -23
- package/dist/components/p-cropper.js.map +1 -1
- package/dist/components/p-datepicker.js +9 -9
- 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-helper.js +1 -1
- package/dist/components/p-label.js +3 -3
- package/dist/components/p-listing.js +2 -2
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-section.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-portal.js +1 -1
- package/dist/components/p-profile.js +2 -2
- package/dist/components/p-range.d.ts +11 -0
- package/dist/components/p-range.js +9 -0
- package/dist/components/p-range.js.map +1 -0
- package/dist/components/p-select.js +7 -7
- package/dist/components/p-table-cell.js +1 -1
- package/dist/components/p-table-footer.js +1 -1
- package/dist/components/p-table-header.js +1 -1
- package/dist/components/p-table-row.js +1 -1
- package/dist/components/p-table.js +15 -15
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-B1sC2mve.js → p-z7y5Yxgj.js} +7 -7
- package/dist/components/{p-B1sC2mve.js.map → p-z7y5Yxgj.js.map} +1 -1
- package/dist/esm/index-DhGo7hbh.js +4 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +6 -6
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_4.entry.js +3 -3
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +6 -19
- package/dist/esm/p-cropper.entry.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
- package/dist/esm/p-empty-state_9.entry.js +23 -9
- package/dist/esm/p-empty-state_9.entry.js.map +1 -1
- package/dist/esm/p-field_2.entry.js +3 -3
- package/dist/esm/p-label.entry.js +3 -3
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +4 -4
- package/dist/esm/p-portal.entry.js +1 -1
- package/dist/esm/p-range.entry.js +42 -0
- package/dist/esm/p-range.entry.js.map +1 -0
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-table.entry.js +1 -1
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/{build/p-c879f50c.entry.js → paperless/p-0103e9ac.entry.js} +2 -2
- package/dist/paperless/{p-0740b690.entry.js → p-133e9259.entry.js} +2 -2
- package/dist/paperless/{p-c4724fb7.entry.js → p-213bc400.entry.js} +2 -2
- package/dist/paperless/p-213bc400.entry.js.map +1 -0
- package/dist/paperless/{p-e33a56c8.entry.js → p-219db898.entry.js} +2 -2
- package/dist/paperless/{p-cc3307b8.entry.js → p-2da67519.entry.js} +2 -2
- package/dist/paperless/{p-8981247d.entry.js → p-302eedc6.entry.js} +2 -2
- package/dist/paperless/p-32f997e7.entry.js +2 -0
- package/dist/paperless/p-3f02cbe4.entry.js +2 -0
- package/dist/paperless/p-3f02cbe4.entry.js.map +1 -0
- package/dist/paperless/{p-add932d6.entry.js → p-4fb1f39b.entry.js} +2 -2
- package/dist/{build/p-5048c4c2.entry.js → paperless/p-50a816b0.entry.js} +2 -2
- package/dist/paperless/{p-8fcf3bb8.entry.js → p-7b7c60de.entry.js} +2 -2
- package/dist/paperless/{p-e2054751.entry.js → p-9e4cbacf.entry.js} +2 -2
- package/dist/paperless/p-ad3595e3.entry.js +3 -0
- package/dist/paperless/p-ad3595e3.entry.js.map +1 -0
- package/dist/paperless/p-b137cbd4.entry.js +2 -0
- package/dist/paperless/{p-d6828011.entry.js → p-bb7a5be7.entry.js} +2 -2
- package/dist/paperless/{p-2edd87f3.entry.js → p-c3558fb4.entry.js} +2 -2
- package/dist/paperless/{p-6230b6da.entry.js → p-c74c4740.entry.js} +2 -2
- package/dist/paperless/p-c74c4740.entry.js.map +1 -0
- package/dist/paperless/{p-26a3990a.entry.js → p-c892b87a.entry.js} +2 -2
- package/dist/paperless/p-cropper.entry.esm.js.map +1 -1
- package/dist/paperless/{p-fa0234e9.entry.js → p-dc5fab19.entry.js} +2 -2
- package/dist/{build/p-0875bbbb.entry.js → paperless/p-e596d429.entry.js} +2 -2
- package/dist/paperless/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/paperless/{p-d4152f66.entry.js → p-fa78c45a.entry.js} +2 -2
- package/dist/paperless/p-range.entry.esm.js.map +1 -0
- package/dist/paperless/p-table.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/{deprecated/molecules → molecules}/cropper/cropper.component.d.ts +2 -6
- package/dist/types/components/molecules/range/range.component.d.ts +24 -0
- package/dist/types/components/molecules/table/row/table-row.component.d.ts +4 -0
- package/dist/types/components.d.ts +74 -10
- package/package.json +2 -2
- package/dist/build/p-30f6e463.entry.js +0 -3
- package/dist/build/p-30f6e463.entry.js.map +0 -1
- package/dist/build/p-474a16ab.entry.js +0 -2
- package/dist/build/p-6230b6da.entry.js.map +0 -1
- package/dist/build/p-c4724fb7.entry.js.map +0 -1
- package/dist/build/p-d3554d9b.js +0 -2
- package/dist/build/p-eef52967.entry.js +0 -2
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js.map +0 -1
- package/dist/components/p-CzDfB4le.js.map +0 -1
- package/dist/paperless/p-30f6e463.entry.js +0 -3
- package/dist/paperless/p-30f6e463.entry.js.map +0 -1
- package/dist/paperless/p-474a16ab.entry.js +0 -2
- package/dist/paperless/p-6230b6da.entry.js.map +0 -1
- package/dist/paperless/p-c4724fb7.entry.js.map +0 -1
- package/dist/paperless/p-eef52967.entry.js +0 -2
- /package/dist/build/{p-c879f50c.entry.js.map → p-0103e9ac.entry.js.map} +0 -0
- /package/dist/build/{p-0740b690.entry.js.map → p-133e9259.entry.js.map} +0 -0
- /package/dist/build/{p-e33a56c8.entry.js.map → p-219db898.entry.js.map} +0 -0
- /package/dist/build/{p-cc3307b8.entry.js.map → p-2da67519.entry.js.map} +0 -0
- /package/dist/build/{p-8981247d.entry.js.map → p-302eedc6.entry.js.map} +0 -0
- /package/dist/build/{p-474a16ab.entry.js.map → p-32f997e7.entry.js.map} +0 -0
- /package/dist/build/{p-add932d6.entry.js.map → p-4fb1f39b.entry.js.map} +0 -0
- /package/dist/build/{p-5048c4c2.entry.js.map → p-50a816b0.entry.js.map} +0 -0
- /package/dist/build/{p-8fcf3bb8.entry.js.map → p-7b7c60de.entry.js.map} +0 -0
- /package/dist/build/{p-e2054751.entry.js.map → p-9e4cbacf.entry.js.map} +0 -0
- /package/dist/build/{p-eef52967.entry.js.map → p-b137cbd4.entry.js.map} +0 -0
- /package/dist/build/{p-d6828011.entry.js.map → p-bb7a5be7.entry.js.map} +0 -0
- /package/dist/build/{p-2edd87f3.entry.js.map → p-c3558fb4.entry.js.map} +0 -0
- /package/dist/build/{p-26a3990a.entry.js.map → p-c892b87a.entry.js.map} +0 -0
- /package/dist/build/{p-fa0234e9.entry.js.map → p-dc5fab19.entry.js.map} +0 -0
- /package/dist/build/{p-0875bbbb.entry.js.map → p-e596d429.entry.js.map} +0 -0
- /package/dist/build/{p-d4152f66.entry.js.map → p-fa78c45a.entry.js.map} +0 -0
- /package/dist/paperless/{p-c879f50c.entry.js.map → p-0103e9ac.entry.js.map} +0 -0
- /package/dist/paperless/{p-0740b690.entry.js.map → p-133e9259.entry.js.map} +0 -0
- /package/dist/paperless/{p-e33a56c8.entry.js.map → p-219db898.entry.js.map} +0 -0
- /package/dist/paperless/{p-cc3307b8.entry.js.map → p-2da67519.entry.js.map} +0 -0
- /package/dist/paperless/{p-8981247d.entry.js.map → p-302eedc6.entry.js.map} +0 -0
- /package/dist/paperless/{p-474a16ab.entry.js.map → p-32f997e7.entry.js.map} +0 -0
- /package/dist/paperless/{p-add932d6.entry.js.map → p-4fb1f39b.entry.js.map} +0 -0
- /package/dist/paperless/{p-5048c4c2.entry.js.map → p-50a816b0.entry.js.map} +0 -0
- /package/dist/paperless/{p-8fcf3bb8.entry.js.map → p-7b7c60de.entry.js.map} +0 -0
- /package/dist/paperless/{p-e2054751.entry.js.map → p-9e4cbacf.entry.js.map} +0 -0
- /package/dist/paperless/{p-eef52967.entry.js.map → p-b137cbd4.entry.js.map} +0 -0
- /package/dist/paperless/{p-d6828011.entry.js.map → p-bb7a5be7.entry.js.map} +0 -0
- /package/dist/paperless/{p-2edd87f3.entry.js.map → p-c3558fb4.entry.js.map} +0 -0
- /package/dist/paperless/{p-26a3990a.entry.js.map → p-c892b87a.entry.js.map} +0 -0
- /package/dist/paperless/{p-fa0234e9.entry.js.map → p-dc5fab19.entry.js.map} +0 -0
- /package/dist/paperless/{p-0875bbbb.entry.js.map → p-e596d429.entry.js.map} +0 -0
- /package/dist/paperless/{p-d4152f66.entry.js.map → p-fa78c45a.entry.js.map} +0 -0
|
@@ -66,11 +66,11 @@ const EmptyState = class {
|
|
|
66
66
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
67
67
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
68
68
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
69
|
-
return (index.h("div", { key: '
|
|
69
|
+
return (index.h("div", { key: 'e2a66ad20d23b285eac53fda30038b7a751c7c41', class: emptyState({
|
|
70
70
|
enableAction: asBoolean.asBoolean(this.enableAction, true),
|
|
71
71
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
72
72
|
? this.action.emit(ev)
|
|
73
|
-
: undefined }, this.illustration && (index.h("p-illustration", { key: '
|
|
73
|
+
: undefined }, this.illustration && (index.h("p-illustration", { key: '377339f8f758565a43aa5cfa6fa377b6241d530d', class: 'mb-8 text-teal', variant: this.illustration })), hasHeaderSlot ? (index.h("slot", { name: 'header' })) : (this.header?.length && (index.h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-black-teal' }, this.header))), hasContentSlot ? (index.h("slot", { name: 'content' })) : (this.content?.length && (index.h("p", { class: 'my-0 text-center text-sm text-black-teal-300' }, this.content))), this.enableAction &&
|
|
74
74
|
(hasActionSlot ? (index.h("slot", { name: 'action' })) : (index.h("p-button", { class: 'mt-4', icon: this.actionIcon, loading: this.actionLoading, variant: this.actionVariant }, this.actionText)))));
|
|
75
75
|
}
|
|
76
76
|
};
|
|
@@ -297,7 +297,7 @@ const TableCell = class {
|
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
299
|
render() {
|
|
300
|
-
return (index.h(index.Host, { key: '
|
|
300
|
+
return (index.h(index.Host, { key: '0217a10104c88747703b825b455b97af90fcf78b', class: this._getColumnClasses() }, this.checkbox, this._getContent()));
|
|
301
301
|
}
|
|
302
302
|
_getContent() {
|
|
303
303
|
if (this.variant === 'loading') {
|
|
@@ -418,11 +418,11 @@ const TableFooter = class {
|
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
420
|
render() {
|
|
421
|
-
return (index.h("div", { key: '
|
|
421
|
+
return (index.h("div", { key: 'fe3bc6fd43aeddcfcfa721747288bcd6e7db5637', class: footer({
|
|
422
422
|
pinned: this._isPinned,
|
|
423
423
|
hidden: this._hidden,
|
|
424
424
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
425
|
-
this.total > 0 && (index.h("p-pagination", { key: '
|
|
425
|
+
this.total > 0 && (index.h("p-pagination", { key: '829a88dd314745e7fe3c802ce7abed35227888ca', class: 'z-[2]', enablePaginationSize: this.enablePaginationSize, enablePaginationPages: this.enablePaginationPages, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, onPageSizeChange: ({ detail }) => this._changePageSize(detail), page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), total: this.total, onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) }))));
|
|
426
426
|
}
|
|
427
427
|
_changePageSize(s) {
|
|
428
428
|
if (!s) {
|
|
@@ -10062,7 +10062,7 @@ const TableHeader = class {
|
|
|
10062
10062
|
};
|
|
10063
10063
|
TableHeader.style = tableHeaderComponentCss;
|
|
10064
10064
|
|
|
10065
|
-
const tableRowComponentCss = ".relative{position:relative!important}*{box-sizing:border-box}:host{--tw-content:\"\";position:relative}.static{position:static!important}.absolute{position:absolute!important}.-right-4{right:-1rem!important}.top-1{top:.25rem!important}.z-\\[2\\]{z-index:2!important}.m-1{margin:.25rem!important}.flex{display:flex!important}.table-row{display:table-row!important}.h-\\[calc\\(100\\%-0\\.5rem\\)\\]{height:calc(100% - .5rem)!important}.min-h-0{min-height:0!important}.min-h-14{min-height:3.5rem!important}.min-w-\\[calc\\(100\\%-0\\.5rem\\)\\]{min-width:calc(100% - .5rem)!important}.min-w-full{min-width:100%!important}.flex-col{flex-direction:column!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.rounded-lg{border-radius:.5rem!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.pb-4{padding-bottom:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-normal{font-weight:400!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!important}.transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.empty\\:hidden:empty{display:none!important}.hover\\:cursor-pointer:hover{cursor:pointer!important}.hover\\:bg-off-white-300:hover{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.group:hover .group-hover\\:opacity-100{opacity:1!important}@media (min-width:40rem){.tablet\\:py-4{padding-bottom:1rem!important;padding-top:1rem!important}}";
|
|
10065
|
+
const tableRowComponentCss = ".relative{position:relative!important}*{box-sizing:border-box}:host{--tw-content:\"\";position:relative}.static{position:static!important}.absolute{position:absolute!important}.-right-4{right:-1rem!important}.top-1{top:.25rem!important}.z-\\[2\\]{z-index:2!important}.m-1{margin:.25rem!important}.flex{display:flex!important}.table-row{display:table-row!important}.h-\\[calc\\(100\\%-0\\.5rem\\)\\]{height:calc(100% - .5rem)!important}.min-h-0{min-height:0!important}.min-h-14{min-height:3.5rem!important}.min-w-\\[calc\\(100\\%-0\\.5rem\\)\\]{min-width:calc(100% - .5rem)!important}.min-w-full{min-width:100%!important}.flex-col{flex-direction:column!important}.flex-nowrap{flex-wrap:nowrap!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.rounded-lg{border-radius:.5rem!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.px-3{padding-left:.75rem!important;padding-right:.75rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.pb-4{padding-bottom:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-normal{font-weight:400!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!important}.transition-colors{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.empty\\:hidden:empty{display:none!important}.hover\\:cursor-pointer:hover{cursor:pointer!important}.hover\\:bg-off-white-300:hover{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.group:hover .group-hover\\:opacity-100{opacity:1!important}@media (min-width:40rem){.tablet\\:py-4{padding-bottom:1rem!important;padding-top:1rem!important}}";
|
|
10066
10066
|
|
|
10067
10067
|
const row = index$1.cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 'relative'], {
|
|
10068
10068
|
variants: {
|
|
@@ -10074,6 +10074,10 @@ const row = index$1.cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 're
|
|
|
10074
10074
|
true: null,
|
|
10075
10075
|
false: null,
|
|
10076
10076
|
},
|
|
10077
|
+
checked: {
|
|
10078
|
+
true: null,
|
|
10079
|
+
false: null,
|
|
10080
|
+
},
|
|
10077
10081
|
},
|
|
10078
10082
|
compoundVariants: [
|
|
10079
10083
|
{
|
|
@@ -10084,6 +10088,11 @@ const row = index$1.cva(['flex min-w-[calc(100%-0.5rem)] flex-col', 'group', 're
|
|
|
10084
10088
|
'hover:cursor-pointer hover:bg-off-white-300',
|
|
10085
10089
|
],
|
|
10086
10090
|
},
|
|
10091
|
+
{
|
|
10092
|
+
variant: 'default',
|
|
10093
|
+
checked: true,
|
|
10094
|
+
class: ['rounded-lg transition-colors', 'bg-off-white-300'],
|
|
10095
|
+
},
|
|
10087
10096
|
],
|
|
10088
10097
|
});
|
|
10089
10098
|
const content = index$1.cva('relative flex min-w-full flex-nowrap items-center justify-between', {
|
|
@@ -10112,13 +10121,18 @@ const TableRow = class {
|
|
|
10112
10121
|
* Enable hover
|
|
10113
10122
|
*/
|
|
10114
10123
|
enableHover = true;
|
|
10124
|
+
/**
|
|
10125
|
+
* Wether the row is checked
|
|
10126
|
+
*/
|
|
10127
|
+
checked = false;
|
|
10115
10128
|
render() {
|
|
10116
|
-
return (index.h("div", { key: '
|
|
10129
|
+
return (index.h("div", { key: '08e5121a90482847a48d048d5b801995470dfda0', class: 'flex flex-col' }, index.h("div", { key: 'c8c2d9b555b2755d8fbb1d22fba22670de0c15f9', class: row({
|
|
10117
10130
|
variant: this.variant,
|
|
10118
10131
|
enableHover: this.enableHover,
|
|
10119
|
-
|
|
10132
|
+
checked: this.checked,
|
|
10133
|
+
}) }, index.h("div", { key: '97095433074e6ea7b1656fa8c3b2f4627174f331', class: content({
|
|
10120
10134
|
variant: this.variant,
|
|
10121
|
-
}) }, index.h("slot", { key: '
|
|
10135
|
+
}) }, index.h("slot", { key: '0f4279928e6f82712dac7620d929c67c44c2bb9a' }), index.h("div", { key: '9cbfe5613e096964b111f9cbb3c2056f44a1a7d8', class: actions() }, index.h("slot", { key: '61c442caef745415ec3e71cb08a8962dda5d22b5', name: 'actions' })))), index.h("p-divider", { key: 'ce9cf9fd6d1e057877ed9d20451ee6461dbd6581' })));
|
|
10122
10136
|
}
|
|
10123
10137
|
};
|
|
10124
10138
|
TableRow.style = tableRowComponentCss;
|