@paperless/core 3.19.5 → 3.20.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/{p-369e2594.entry.js → p-020124fe.entry.js} +1 -1
- package/dist/build/p-061144c3.entry.js +1 -0
- package/dist/build/p-0cf2c5f5.entry.js +1 -0
- package/dist/{paperless/p-c6056657.entry.js → build/p-1b50f01d.entry.js} +1 -1
- package/dist/{paperless/p-344ab157.entry.js → build/p-25842006.entry.js} +1 -1
- package/dist/build/{p-a68a2ee8.entry.js → p-280c1727.entry.js} +1 -1
- package/dist/build/{p-5e4343f3.entry.js → p-2ce0c175.entry.js} +1 -1
- package/dist/build/{p-5ad24b03.entry.js → p-2e53d921.entry.js} +1 -1
- package/dist/build/{p-743b47cb.entry.js → p-2ebc600b.entry.js} +1 -1
- package/dist/build/{p-cfb68485.entry.js → p-2f4efe8a.entry.js} +1 -1
- package/dist/{paperless/p-be576419.entry.js → build/p-34ec6b9b.entry.js} +1 -1
- package/dist/build/{p-bdda2ffc.entry.js → p-38056598.entry.js} +1 -1
- package/dist/build/{p-3fb95d2b.entry.js → p-3b34c822.entry.js} +1 -1
- package/dist/{paperless/p-0cea7ced.entry.js → build/p-3efce878.entry.js} +1 -1
- package/dist/build/{p-3286b52f.entry.js → p-44d6468b.entry.js} +1 -1
- package/dist/{paperless/p-a00541cc.entry.js → build/p-45b9a446.entry.js} +1 -1
- package/dist/{paperless/p-11d65b3d.entry.js → build/p-477801df.entry.js} +1 -1
- package/dist/build/{p-2907111a.entry.js → p-4851ac96.entry.js} +1 -1
- package/dist/build/{p-a1a4a39e.entry.js → p-48be5f53.entry.js} +1 -1
- package/dist/build/p-4b7ac676.entry.js +1 -0
- package/dist/{paperless/p-9a9f0cd0.entry.js → build/p-4cd8035a.entry.js} +1 -1
- package/dist/build/{p-3376af98.entry.js → p-501f2f7c.entry.js} +1 -1
- package/dist/build/{p-e3e43848.entry.js → p-561a4d56.entry.js} +1 -1
- package/dist/build/{p-e1a16ec5.entry.js → p-56ceed87.entry.js} +1 -1
- package/dist/build/{p-791d33e5.entry.js → p-5c08054f.entry.js} +1 -1
- package/dist/build/{p-e04a3cb9.entry.js → p-5d58a880.entry.js} +1 -1
- package/dist/build/{p-963e456e.entry.js → p-688afaf3.entry.js} +1 -1
- package/dist/build/p-70071176.entry.js +1 -0
- package/dist/build/p-73075704.js +1 -0
- package/dist/build/{p-043b91f5.entry.js → p-749752fa.entry.js} +1 -1
- package/dist/{paperless/p-47bdfa0d.entry.js → build/p-78244c70.entry.js} +1 -1
- package/dist/{paperless/p-fae76adf.entry.js → build/p-8ae7f9fd.entry.js} +1 -1
- package/dist/build/{p-9c440af8.entry.js → p-9079dcb7.entry.js} +1 -1
- package/dist/{paperless/p-cb9baef3.entry.js → build/p-91686988.entry.js} +1 -1
- package/dist/build/p-92259edb.entry.js +1 -0
- package/dist/{paperless/p-2e61871a.entry.js → build/p-9ac5f80b.entry.js} +1 -1
- package/dist/{paperless/p-bec66e8f.entry.js → build/p-a4957083.entry.js} +1 -1
- package/dist/build/{p-d60067bc.entry.js → p-af9fc40a.entry.js} +1 -1
- package/dist/{paperless/p-9232a310.entry.js → build/p-b005f182.entry.js} +1 -1
- package/dist/{paperless/p-fca492f6.entry.js → build/p-b1a372fc.entry.js} +1 -1
- package/dist/build/{p-7fa2bbee.entry.js → p-b1e6c746.entry.js} +1 -1
- package/dist/{paperless/p-88fd696b.entry.js → build/p-b316ecff.entry.js} +1 -1
- package/dist/build/{p-2e850d9d.entry.js → p-b8caedf6.entry.js} +1 -1
- package/dist/{paperless/p-7afccf96.entry.js → build/p-bdfaa7bc.entry.js} +1 -1
- package/dist/{paperless/p-a001874d.entry.js → build/p-c9b79bd8.entry.js} +1 -1
- package/dist/build/{p-41326183.entry.js → p-ce15940f.entry.js} +1 -1
- package/dist/{paperless/p-34b81a42.entry.js → build/p-d2ff359e.entry.js} +1 -1
- package/dist/{paperless/p-66eaca48.entry.js → build/p-d5365ce3.entry.js} +1 -1
- package/dist/{paperless/p-0aa7e5d2.entry.js → build/p-e20e6aa3.entry.js} +1 -1
- package/dist/build/{p-8edbbfd4.entry.js → p-e922cb1f.entry.js} +1 -1
- package/dist/build/{p-186454b1.entry.js → p-f18a511c.entry.js} +1 -1
- package/dist/build/paperless.esm.js +1 -1
- 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 +8 -8
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +34 -7
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox_3.cjs.entry.js +9 -9
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -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 +2 -2
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-dropdown-menu-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-dropzone.cjs.entry.js +5 -5
- package/dist/cjs/p-empty-state_8.cjs.entry.js +18 -18
- package/dist/cjs/p-field_3.cjs.entry.js +13 -13
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-item.cjs.entry.js +1 -1
- package/dist/cjs/p-listing-line.cjs.entry.js +1 -1
- package/dist/cjs/p-listing.cjs.entry.js +2 -2
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-pagination_3.cjs.entry.js +8 -8
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-range.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +2 -2
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
- package/dist/cjs/p-submenu-item.cjs.entry.js +3 -3
- package/dist/cjs/p-submenu.cjs.entry.js +9 -9
- package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +2 -2
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
- package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +3 -3
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +2 -2
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +1 -1
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +1 -1
- package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
- package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
- package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
- 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 +2 -2
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/smile/smile.component.js +1 -1
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
- package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
- 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 +3 -3
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/attachment/attachment.component.js +8 -8
- package/dist/collection/components/molecules/button/button.component.css +1 -1
- package/dist/collection/components/molecules/button/button.component.js +63 -5
- package/dist/collection/components/molecules/button/button.stories.js +2 -1
- 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.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
- package/dist/collection/components/molecules/dropzone/dropzone.component.js +5 -5
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js +8 -8
- package/dist/collection/components/molecules/field/field/field.component.js +4 -4
- package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
- 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/pagination/size/pagination-size.component.js +4 -4
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/range/range.component.js +3 -3
- package/dist/collection/components/molecules/select/select.component.js +2 -2
- package/dist/collection/components/molecules/submenu/item/submenu-item.component.js +3 -3
- package/dist/collection/components/molecules/submenu/menu/submenu.component.js +9 -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 +2 -2
- package/dist/collection/components/molecules/table/header/table-header.component.js +4 -4
- package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
- 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 +2 -2
- package/dist/components/{p-p7QZcgoc.js → p--IPayxyw.js} +1 -1
- package/dist/components/{p-C-ljhNrW.js → p--_gjJpd8.js} +1 -1
- package/dist/components/{p-CEcyKdij.js → p-1qs8jjR4.js} +1 -1
- package/dist/components/{p-C3fzR817.js → p-2ZtgmKa1.js} +1 -1
- package/dist/components/{p-DU-stXqd.js → p-4-EYCe-6.js} +1 -1
- package/dist/components/{p-D_ZHRLtg.js → p-6MuaM5f1.js} +1 -1
- package/dist/components/{p-BFvoC7BA.js → p-9NBHs3fe.js} +1 -1
- package/dist/components/{p-BZNy3k2j.js → p-As_JDdDb.js} +1 -1
- package/dist/components/{p-C9B5DTYx.js → p-B-yfQWzc.js} +1 -1
- package/dist/components/{p-DOjiMWKc.js → p-B0rWZB_x.js} +1 -1
- package/dist/components/{p-Da9Ao_Ve.js → p-B3Q_nqZE.js} +1 -1
- package/dist/components/{p-1HCkK9Pf.js → p-B6PqwbBc.js} +1 -1
- package/dist/components/{p-DHzp47zt.js → p-B8W33zQW.js} +1 -1
- package/dist/components/{p-Dz2_k8-X.js → p-BBlYsP5p.js} +1 -1
- package/dist/components/{p-BH6HgTxH.js → p-BJFfno38.js} +1 -1
- package/dist/components/p-BNuBGtLL.js +1 -0
- package/dist/components/{p-wQxTl8yW.js → p-BkI69RMv.js} +1 -1
- package/dist/components/{p-Hk7avBWN.js → p-BksolHpY.js} +1 -1
- package/dist/components/{p-mLlgASil.js → p-CB2IGEg2.js} +1 -1
- package/dist/components/{p-BANLejQ8.js → p-CJ7I5BCS.js} +1 -1
- package/dist/components/{p-C1Z78Vu0.js → p-CQo1Di0o.js} +1 -1
- package/dist/components/{p-DHJ6_2xS.js → p-CTC-N56p.js} +1 -1
- package/dist/components/{p-Bg73A-l5.js → p-CUO3Roaw.js} +1 -1
- package/dist/components/{p-BNMkjAgS.js → p-CUQydYt5.js} +1 -1
- package/dist/components/{p-D5P9pJhK.js → p-Cm3IhOw8.js} +1 -1
- package/dist/components/{p-BdzBKuLb.js → p-CwJ2_mhc.js} +1 -1
- package/dist/components/{p-BD5jS81-.js → p-Cxd2EXVU.js} +1 -1
- package/dist/components/{p-BwA3E_K4.js → p-D0469rhA.js} +1 -1
- package/dist/components/p-D0uXSAIf.js +1 -0
- package/dist/components/{p-BAQuP-An.js → p-D99OtFbo.js} +1 -1
- package/dist/components/{p-D34oUQRc.js → p-D9RDiEIE.js} +1 -1
- package/dist/components/p-DAXn_sK3.js +1 -0
- package/dist/components/{p-B-hJzwTL.js → p-DZjtEarb.js} +1 -1
- package/dist/components/{p-a_De3Rd1.js → p-DfVHhJmL.js} +1 -1
- package/dist/components/{p-CtnPrlBW.js → p-DixhvrFt.js} +1 -1
- package/dist/components/{p-POJeD79-.js → p-Dn13oSNs.js} +1 -1
- package/dist/components/{p-DY2oKnxw.js → p-Dym6aWEt.js} +1 -1
- package/dist/components/{p-BRDvNH4S.js → p-QS4cO7vO.js} +1 -1
- package/dist/components/{p-D3wJam1N.js → p-ZSDx-Rn0.js} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +1 -1
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/{p-C7rLlb8m.js → p-bTOCGgU2.js} +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.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-body.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-dropzone.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/{p-b-xaFyhe.js → p-er0Tp7eS.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-icon.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- 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-listing-line.js +1 -1
- package/dist/components/p-listing.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-CYJ2s8gf.js → p-o_2YefIV.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-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-line.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-submenu-item.js +1 -1
- package/dist/components/p-submenu.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/components/{p-DlYs-VL_.js → p-uv3MMCr1.js} +1 -1
- package/dist/components/{p-Sl3w6Zuw.js → p-wffF3kVy.js} +1 -1
- package/dist/components/{p-B-YBFRbB.js → p-yYRVYWXO.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +8 -8
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +34 -7
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox_3.entry.js +9 -9
- package/dist/esm/p-content-slider.entry.js +2 -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 +2 -2
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-dropdown-menu-item_2.entry.js +5 -5
- package/dist/esm/p-dropzone.entry.js +5 -5
- package/dist/esm/p-empty-state_8.entry.js +18 -18
- package/dist/esm/p-field_3.entry.js +13 -13
- package/dist/esm/p-floating-menu-item.entry.js +2 -2
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-listing-item.entry.js +1 -1
- package/dist/esm/p-listing-line.entry.js +1 -1
- package/dist/esm/p-listing.entry.js +2 -2
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +3 -3
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-pagination_3.entry.js +8 -8
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-range.entry.js +3 -3
- package/dist/esm/p-select.entry.js +2 -2
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +5 -5
- package/dist/esm/p-submenu-item.entry.js +3 -3
- package/dist/esm/p-submenu.entry.js +9 -9
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-table.entry.js +2 -2
- package/dist/esm/p-toast-container.entry.js +2 -2
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/{p-369e2594.entry.js → p-020124fe.entry.js} +1 -1
- package/dist/paperless/p-061144c3.entry.js +1 -0
- package/dist/paperless/p-0cf2c5f5.entry.js +1 -0
- package/dist/{build/p-c6056657.entry.js → paperless/p-1b50f01d.entry.js} +1 -1
- package/dist/{build/p-344ab157.entry.js → paperless/p-25842006.entry.js} +1 -1
- package/dist/paperless/{p-a68a2ee8.entry.js → p-280c1727.entry.js} +1 -1
- package/dist/paperless/{p-5e4343f3.entry.js → p-2ce0c175.entry.js} +1 -1
- package/dist/paperless/{p-5ad24b03.entry.js → p-2e53d921.entry.js} +1 -1
- package/dist/paperless/{p-743b47cb.entry.js → p-2ebc600b.entry.js} +1 -1
- package/dist/paperless/{p-cfb68485.entry.js → p-2f4efe8a.entry.js} +1 -1
- package/dist/{build/p-be576419.entry.js → paperless/p-34ec6b9b.entry.js} +1 -1
- package/dist/paperless/{p-bdda2ffc.entry.js → p-38056598.entry.js} +1 -1
- package/dist/paperless/{p-3fb95d2b.entry.js → p-3b34c822.entry.js} +1 -1
- package/dist/{build/p-0cea7ced.entry.js → paperless/p-3efce878.entry.js} +1 -1
- package/dist/paperless/{p-3286b52f.entry.js → p-44d6468b.entry.js} +1 -1
- package/dist/{build/p-a00541cc.entry.js → paperless/p-45b9a446.entry.js} +1 -1
- package/dist/{build/p-11d65b3d.entry.js → paperless/p-477801df.entry.js} +1 -1
- package/dist/paperless/{p-2907111a.entry.js → p-4851ac96.entry.js} +1 -1
- package/dist/paperless/{p-a1a4a39e.entry.js → p-48be5f53.entry.js} +1 -1
- package/dist/paperless/p-4b7ac676.entry.js +1 -0
- package/dist/{build/p-9a9f0cd0.entry.js → paperless/p-4cd8035a.entry.js} +1 -1
- package/dist/paperless/{p-3376af98.entry.js → p-501f2f7c.entry.js} +1 -1
- package/dist/paperless/{p-e3e43848.entry.js → p-561a4d56.entry.js} +1 -1
- package/dist/paperless/{p-e1a16ec5.entry.js → p-56ceed87.entry.js} +1 -1
- package/dist/paperless/{p-791d33e5.entry.js → p-5c08054f.entry.js} +1 -1
- package/dist/paperless/{p-e04a3cb9.entry.js → p-5d58a880.entry.js} +1 -1
- package/dist/paperless/{p-963e456e.entry.js → p-688afaf3.entry.js} +1 -1
- package/dist/paperless/p-70071176.entry.js +1 -0
- package/dist/paperless/{p-043b91f5.entry.js → p-749752fa.entry.js} +1 -1
- package/dist/{build/p-47bdfa0d.entry.js → paperless/p-78244c70.entry.js} +1 -1
- package/dist/{build/p-fae76adf.entry.js → paperless/p-8ae7f9fd.entry.js} +1 -1
- package/dist/paperless/{p-9c440af8.entry.js → p-9079dcb7.entry.js} +1 -1
- package/dist/{build/p-cb9baef3.entry.js → paperless/p-91686988.entry.js} +1 -1
- package/dist/paperless/p-92259edb.entry.js +1 -0
- package/dist/{build/p-2e61871a.entry.js → paperless/p-9ac5f80b.entry.js} +1 -1
- package/dist/{build/p-bec66e8f.entry.js → paperless/p-a4957083.entry.js} +1 -1
- package/dist/paperless/{p-d60067bc.entry.js → p-af9fc40a.entry.js} +1 -1
- package/dist/{build/p-9232a310.entry.js → paperless/p-b005f182.entry.js} +1 -1
- package/dist/{build/p-fca492f6.entry.js → paperless/p-b1a372fc.entry.js} +1 -1
- package/dist/paperless/{p-7fa2bbee.entry.js → p-b1e6c746.entry.js} +1 -1
- package/dist/{build/p-88fd696b.entry.js → paperless/p-b316ecff.entry.js} +1 -1
- package/dist/paperless/{p-2e850d9d.entry.js → p-b8caedf6.entry.js} +1 -1
- package/dist/{build/p-7afccf96.entry.js → paperless/p-bdfaa7bc.entry.js} +1 -1
- package/dist/{build/p-a001874d.entry.js → paperless/p-c9b79bd8.entry.js} +1 -1
- package/dist/paperless/{p-41326183.entry.js → p-ce15940f.entry.js} +1 -1
- package/dist/{build/p-34b81a42.entry.js → paperless/p-d2ff359e.entry.js} +1 -1
- package/dist/{build/p-66eaca48.entry.js → paperless/p-d5365ce3.entry.js} +1 -1
- package/dist/{build/p-0aa7e5d2.entry.js → paperless/p-e20e6aa3.entry.js} +1 -1
- package/dist/paperless/{p-8edbbfd4.entry.js → p-e922cb1f.entry.js} +1 -1
- package/dist/paperless/{p-186454b1.entry.js → p-f18a511c.entry.js} +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/molecules/button/button.component.d.ts +7 -0
- package/dist/types/components/molecules/button/button.stories.d.ts +2 -1
- package/dist/types/components.d.ts +10 -0
- package/hydrate/index.js +194 -166
- package/hydrate/index.mjs +194 -166
- package/package.json +1 -1
- package/dist/build/p-7fb843e7.entry.js +0 -1
- package/dist/build/p-99cbf79e.js +0 -1
- package/dist/build/p-9c4c942e.entry.js +0 -1
- package/dist/build/p-c0599b0e.entry.js +0 -1
- package/dist/build/p-e13fb7aa.entry.js +0 -1
- package/dist/build/p-faad66c1.entry.js +0 -1
- package/dist/components/p-B4-tGTJs.js +0 -1
- package/dist/components/p-CdX4ibSM.js +0 -1
- package/dist/components/p-GYxEYTaZ.js +0 -1
- package/dist/paperless/p-7fb843e7.entry.js +0 -1
- package/dist/paperless/p-9c4c942e.entry.js +0 -1
- package/dist/paperless/p-c0599b0e.entry.js +0 -1
- package/dist/paperless/p-e13fb7aa.entry.js +0 -1
- package/dist/paperless/p-faad66c1.entry.js +0 -1
|
@@ -213,7 +213,7 @@ export class Datepicker {
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
render() {
|
|
216
|
-
return (h("p-dropdown", { key: '
|
|
216
|
+
return (h("p-dropdown", { key: '41ebf8ceb52a6eab7005df2c8d03718ac71ad5c0', allowOverflow: true, applyFullWidth: false, applyMaxWidth: false, disableTriggerClick: true, insideClick: true, isDatepicker: true, placement: this.placement, show: this._showDropdown, strategy: this.strategy }, h("p-field", { key: 'dd5e53303c5e4ba9e13a04d2b661e9da77deda0b', autoShowError: false, disabled: asBoolean(this.disabled), error: this.error, focused: this._showDropdown, forceShowTooltip: !!this.error?.length && !this._showDropdown, helper: this.helper, icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', label: this.label, loading: this.loading, placeholder: this.placeholder, prefix: this.prefix, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), size: this.size, slot: 'trigger', value: this._getFormattedDate(), onBlur: (ev) => this._onBlur(ev), onFocus: () => this._onFocus(), onInputRefChange: ev => (this._inputRef = ev.detail), onValueChange: ev => this._onValueChange(ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: 'db6172b1cbd2d80842a127c1a14b821460ecce12', class: '\n pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden\n opacity-0\n ', max: this.maxDate &&
|
|
217
217
|
format(new Date(this.maxDate), 'yyyy-MM-dd', {
|
|
218
218
|
locale: state.locale === 'nl' ? nl : enUS,
|
|
219
219
|
}), min: this._minDate &&
|
|
@@ -222,7 +222,7 @@ export class Datepicker {
|
|
|
222
222
|
}), ref: ref => (this._dateInputRef = ref), slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', value: this._value &&
|
|
223
223
|
format(this._value, 'yyyy-MM-dd', {
|
|
224
224
|
locale: state.locale === 'nl' ? nl : enUS,
|
|
225
|
-
}), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '
|
|
225
|
+
}), onInput: ev => this._onNativeInput(ev) })), h("div", { key: '31ca023225ae50db2c07ca4325a746e13ee6f4a5', slot: 'items', tabIndex: -1 }, h("p-calendar", { key: '705efb5369a1d86ac8261ad6ad794732e77110c9', disableWeekends: this.disableWeekends, disabledDates: this.disabledDates, enableToday: this.enableToday, maxDate: this.maxDate, minDate: this.minDate, mode: this.mode, preselectToday: this.preselectToday, todayText: this.todayText, value: this._value, variant: 'embedded', onValueChange: ({ detail }) => (this.value = detail) }))));
|
|
226
226
|
}
|
|
227
227
|
documentClickHandler({ target }) {
|
|
228
228
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -133,12 +133,12 @@ export class Dropdown {
|
|
|
133
133
|
this._checkItems();
|
|
134
134
|
}
|
|
135
135
|
render() {
|
|
136
|
-
return (h(Host, { key: '
|
|
136
|
+
return (h(Host, { key: 'daa5ca812dc1ec72b95737a02bbff9e492ad7fe3', class: 'relative' }, h("div", { key: '9842f327983cfdc6666eaa9dd7b6010f0d13efe6', class: 'trigger', ref: el => (this._trigger = el), onClick: () => this._triggerClickHandler() }, h("slot", { key: '4195411e9dff36f800f91149544e7135d22cb44b', name: 'trigger' })), h("div", { key: '48f8874c60a8c69fa6ade61325415d5e70761748', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: 'ad92d728bbb379c6cc926b9b747da4cc3fc17665', allowOverflow: this.allowOverflow, class: cn(dropdownContainerClass({
|
|
137
137
|
strategy: this.strategy,
|
|
138
138
|
maxWidth: this.applyMaxWidth,
|
|
139
139
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
140
140
|
isDatepicker: this.isDatepicker,
|
|
141
|
-
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, h("slot", { key: '
|
|
141
|
+
}), this.containerClass), "data-placement": this.placement, "data-strategy": this.strategy, fullWidth: this.applyFullWidth && !this.applyMaxWidth, maxWidth: this.applyMaxWidth, ref: el => this._load(el), role: 'popover', scrollable: this.scrollable, variant: this.variant, onClick: () => this._containerClickHandler() }, h("slot", { key: '8d131c1ee5ca981f8d5ea9931922cf5061e7d816', name: 'items' })))));
|
|
142
142
|
}
|
|
143
143
|
_checkButtons(active = false) {
|
|
144
144
|
const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
|
|
@@ -115,20 +115,20 @@ export class Dropzone {
|
|
|
115
115
|
}
|
|
116
116
|
render() {
|
|
117
117
|
const hasContent = this._el.innerHTML?.length > 0;
|
|
118
|
-
return (h(ThemedHost, { key: '
|
|
118
|
+
return (h(ThemedHost, { key: '7c1db4cb49b8699a6aa11ffb0b6fe4d496dabee2' }, h("div", { key: 'a059feda628b54161629ea0e05dbbfb0fa8e4aba', class: dropzone({
|
|
119
119
|
isOver: this._isOver,
|
|
120
120
|
uploaded: this.uploaded,
|
|
121
|
-
}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (h("p-icon", { key: '
|
|
121
|
+
}), onClick: () => this._uploadClick() }, !this.loading && this.showIcon && (h("p-icon", { key: '79d280c89d5274171ba689463491ab9386712353', class: cn(`
|
|
122
122
|
group-hover/dropzone:text-indigo-900
|
|
123
123
|
dark:group-hover/dropzone:text-indigo-700
|
|
124
124
|
`, {
|
|
125
125
|
'text-positive-green-800': this.uploaded,
|
|
126
126
|
'text-storm-300 dark:text-hurricane-200': !this._isOver && !this.uploaded,
|
|
127
127
|
'text-indigo-900 dark:text-indigo-700': this._isOver,
|
|
128
|
-
}), variant: this.icon })), this.loading && h("p-loader", { key: '
|
|
128
|
+
}), variant: this.icon })), this.loading && h("p-loader", { key: '7c28c02bada55efe9d2045b3a42a7c3c2139ee76' }), hasContent && (h("p", { key: '78208423e2b95c23a5303f8fca3300e06b5b4d86', class: cn('m-0 p-0 text-lg font-bold', {
|
|
129
129
|
'dark:text-white': !this.uploaded || this._isOver,
|
|
130
130
|
'text-storm-500': this.uploaded && !this._isOver,
|
|
131
|
-
}) }, h("slot", { key: '
|
|
131
|
+
}) }, h("slot", { key: 'c0656e295223d620af579278f1c763eb7f368acf' }))), this.uploaded && !this._isOver && (h("div", { key: 'e5ebd90b568883a025118f3df155188b21f1f67e', class: 'flex items-center gap-2 text-positive-green-800' }, h("p-icon", { key: '782fc223bd7de1a5d2e7e78bce753e32160fb477', variant: 'check-circle' }), h("span", { key: '063369d8309f4d992b53d8db3165d4f9ed663992', class: 'font-medium' }, this.addedString))), (!this.uploaded || this._isOver) && (h("div", { key: 'c05af902cc62cfdbb7feea9de5aabf567c6d22f5', class: cn([
|
|
132
132
|
'flex flex-col text-center',
|
|
133
133
|
'group-hover/dropzone:opacity-50',
|
|
134
134
|
`
|
|
@@ -137,7 +137,7 @@ export class Dropzone {
|
|
|
137
137
|
`,
|
|
138
138
|
], {
|
|
139
139
|
'opacity-50': this._isOver,
|
|
140
|
-
}) }, h("span", { key: '
|
|
140
|
+
}) }, h("span", { key: 'c9ec4e45968281ce5c2033264ff7c972b25bd799', class: 'font-medium' }, this.dragFileString), h("span", { key: 'bc2aac22c381cdb7d5cbfaa42627f57d08cab115', class: 'font-normal' }, this.orClickString)))), h("input", { key: 'd7569817461cc246b0d17e9f8cf238ea169ad436', accept: this.acceptGroup == 'any' ? '' : 'image/*', class: 'hidden', multiple: this.allowMultiple === true ? true : undefined, ref: el => (this._fileRef = el), type: 'file', onChange: ev => this._onFileChange(ev) })));
|
|
141
141
|
}
|
|
142
142
|
onDrop(ev) {
|
|
143
143
|
const files = this._getFiles(ev);
|
|
@@ -59,11 +59,11 @@ export class EmptyState {
|
|
|
59
59
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
60
60
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
61
61
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
62
|
-
return (h(ThemedHost, { key: '
|
|
62
|
+
return (h(ThemedHost, { key: '1ee5241659e6ee9a39f0d3f641374b3fa9d7d713' }, h("div", { key: '2a170cfa8265e140da60465554908925a9a7b30c', class: emptyState({
|
|
63
63
|
enableAction: asBoolean(this.enableAction, true),
|
|
64
64
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
65
65
|
? this.action.emit(ev)
|
|
66
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '
|
|
66
|
+
: undefined }, this.illustration && (h("p-illustration", { key: 'd843ed25df3ad3aee82b568419b553272df82155', 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 &&
|
|
67
67
|
(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))))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "p-empty-state"; }
|
|
@@ -105,27 +105,27 @@ export class FieldContainer {
|
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
107
|
const { hasHeaderSlot, hasErrorSlot, helper, label, errorAndErrorIsNotBoolean, } = this._getSlotInfo();
|
|
108
|
-
let contentSlot = (h("slot", { key: '
|
|
108
|
+
let contentSlot = (h("slot", { key: '5291beab9a04f71a20dc147266a4517aefc7026b', name: 'content', slot: 'trigger' }));
|
|
109
109
|
if (this.loading) {
|
|
110
|
-
contentSlot = (h("p-loader", { key: '
|
|
110
|
+
contentSlot = (h("p-loader", { key: '7af3ba90aeecec528b526c5257f9fb53e601c795', class: loader({ variant: this.variant, size: this.loadingSize }), slot: 'trigger', variant: 'ghost' }));
|
|
111
111
|
}
|
|
112
|
-
return (h(ThemedHost, { key: '
|
|
112
|
+
return (h(ThemedHost, { key: '2aade5cc2ec5c8302d475aefc62b8a178027fbd0' }, h("label", { key: '5a0920e414f7f5f0333d2b5f805e016b98b19baf', class: cn('flex h-inherit w-inherit flex-col gap-1', {
|
|
113
113
|
'cursor-auto': this.variant === 'read',
|
|
114
|
-
}), htmlFor: this.id }, h("div", { key: '
|
|
114
|
+
}), htmlFor: this.id }, h("div", { key: '52f9924430ca76dd5492c8c5e78a5a640e132e29', class: cn(`
|
|
115
115
|
flex items-end justify-between gap-1
|
|
116
116
|
empty:hidden
|
|
117
117
|
`, {
|
|
118
118
|
'flex-row-reverse': this.align === 'end',
|
|
119
|
-
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '
|
|
120
|
-
hasHeaderSlot) && (h("div", { key: '
|
|
119
|
+
}) }, (!!label?.length || !!helper?.length) && (h("div", { key: '4af64a1df141b112f28138a1f6a01ab6016bb642', class: 'flex min-w-0 gap-2', onClick: () => this.focus.emit() }, h("span", { key: '6aae524554e4bd91eb9e316b7b69210be1e24b32', class: '\n min-w-0 overflow-hidden text-ellipsis text-xs font-medium\n text-storm-300\n dark:text-hurricane-200\n ' }, label), helper && (h("p-helper", { key: '148aa5b036d4b2cd74cb8d55f653082d9fb25a35', class: 'flex flex-shrink-0', placement: 'top' }, helper)))), ((!asBoolean(this.required) && asBoolean(this.showOptional)) ||
|
|
120
|
+
hasHeaderSlot) && (h("div", { key: '5c7df3260b6add948909d13001a8f5f1a62a296b', class: 'flex items-center gap-1' }, !asBoolean(this.required) &&
|
|
121
121
|
asBoolean(this.showOptional) &&
|
|
122
|
-
this.variant === 'write' && (h("span", { key: '
|
|
122
|
+
this.variant === 'write' && (h("span", { key: '259e21450bdd3458cba03edf5106f2e31ffb1ac1', class: '\n text-xs font-medium text-storm-200\n dark:text-hurricane-300\n ' }, this.optionalTemplate())), hasHeaderSlot && h("slot", { key: 'dfc59d9d34107403e05a4106b76f48eaf33efe0c', name: 'header' })))), h("p-tooltip", { key: 'b92186277a5c86017167ebfe66f360c2c569ea09', class: cn({
|
|
123
123
|
'w-full': this.variant === 'write' || this.loading,
|
|
124
124
|
'ml-auto': this.align === 'end',
|
|
125
125
|
'font-normal': this.variant === 'read',
|
|
126
126
|
'text-storm-500 dark:text-white': this.variant === 'read',
|
|
127
127
|
}), content: this.error, enableUserInput: false, placement: this.errorPlacement, show: errorAndErrorIsNotBoolean &&
|
|
128
|
-
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '
|
|
128
|
+
asBoolean(this.forceShowTooltip, false), variant: 'error' }, hasErrorSlot && (h("slot", { key: '40046f1ba8136dcaf7a37c11edeb8ba75b115415', name: 'error', slot: 'content' })), contentSlot))));
|
|
129
129
|
}
|
|
130
130
|
async _setLocales() {
|
|
131
131
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -371,8 +371,8 @@ export class Field {
|
|
|
371
371
|
}
|
|
372
372
|
render() {
|
|
373
373
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
374
|
-
return (h(ThemedHost, { key: '
|
|
375
|
-
(!!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: '
|
|
374
|
+
return (h(ThemedHost, { key: '537b14741e48d7aa20121d9d4e0cb4f04fcf7eab' }, h("p-field-container", { key: 'ddb458b4fda84393779f1c2668541b09baf008a3', align: this.align, error: this.error, forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
|
|
375
|
+
(!!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: '22e0fad26aa04bc18833eeb6b86822ad22a10586', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '2c451ce3554067b83effa28e7fb3afc350c07838', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '5a7b1748f39fa6716d6ea84dc822f8a91a38a255', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'b02b47a5fa9768792a1de132beccfcb94637194d', name: 'error', slot: 'error' })), h("div", { key: '1beb78cff29f30c5adad7e3cec93961caaf34b08', class: field({
|
|
376
376
|
error: !!this.error?.length,
|
|
377
377
|
disabled: asBoolean(this.disabled),
|
|
378
378
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -383,7 +383,7 @@ export class Field {
|
|
|
383
383
|
? `${this.value}`
|
|
384
384
|
: undefined }, (this.error?.length ||
|
|
385
385
|
prefix ||
|
|
386
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
386
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '5c157f96f660ae83468219a63f08abc279dfc5cc', class: prefixAndSuffix({
|
|
387
387
|
variant: this.variant,
|
|
388
388
|
error: !!this.error?.length,
|
|
389
389
|
disabled: asBoolean(this.disabled),
|
|
@@ -395,7 +395,7 @@ export class Field {
|
|
|
395
395
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
396
396
|
}), flip: this.iconFlip, rotate: this.iconRotate, variant: this.error?.length ? 'warning' : this.icon })) : (prefix))), this._getContent(hasValueSlot, id), (suffix ||
|
|
397
397
|
(this.type === 'password' && this.enablePasswordEye) ||
|
|
398
|
-
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
398
|
+
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '470f92267fb2a7a44a52b58259539b2940943221', class: cn(prefixAndSuffix({
|
|
399
399
|
variant: this.variant,
|
|
400
400
|
error: !!this.error?.length,
|
|
401
401
|
disabled: asBoolean(this.disabled),
|
|
@@ -88,13 +88,13 @@ export class NavigationItem {
|
|
|
88
88
|
render() {
|
|
89
89
|
const TagType = this.as;
|
|
90
90
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
91
|
-
return (h(ThemedHost, { key: '
|
|
91
|
+
return (h(ThemedHost, { key: 'ae16c9de7454fc81eabe1007ddacadc0910c30df', class: cn('inline-block', this.class) }, h(TagType, { key: '5762e034f8994b2b545254e74bda83648051f7b4', class: navigationItem({
|
|
92
92
|
icon: !!this.icon,
|
|
93
93
|
active,
|
|
94
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
94
|
+
}), href: this.href, target: this.target }, h("div", { key: '3f8f23069bc9bb4e74f21bdaf84a5799c94c1923', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '35a783b85c8ecd4817c2d956f2146af0023ab103', variant: this.icon })), h("span", { key: '850af9f755f29426abbc6c9aec0049b2c60bc6ae', class: cn({
|
|
95
95
|
'has-counter': !!this.counter,
|
|
96
96
|
'w-full': this.applyFullWidth,
|
|
97
|
-
}) }, h("slot", { key: '
|
|
97
|
+
}) }, h("slot", { key: '9ad7ed612cba22fd9e9586b2f7abb982edb7b472' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'd5a732b8445a36b876835863bb5a3e01d42ad0f8' }, this.counter)), !!this.loading && h("p-loader", { key: 'd3590283a8e0bb1ed5247146fff810c841577588', class: 'ml-auto' }))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "p-navigation-item"; }
|
|
100
100
|
static get encapsulation() { return "scoped"; }
|
package/dist/collection/components/molecules/navigation/section/navigation-section.component.js
CHANGED
|
@@ -6,7 +6,7 @@ export class NavigationSection {
|
|
|
6
6
|
*/
|
|
7
7
|
header;
|
|
8
8
|
render() {
|
|
9
|
-
return (h(ThemedHost, { key: '
|
|
9
|
+
return (h(ThemedHost, { key: 'aabfc291e288f02dcd4968f03899077fb318abf0', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '507af087c66bdb236bb54af09819fbda57180bf7' }, this.header)), h("div", { key: 'a6206f28cc39183855440bc575404817c9de5e3e', class: 'flex flex-col' }, h("slot", { key: '56bbabeb6a8884aaa667055ffb082753733d0c6f' }))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "p-navigation-section"; }
|
|
12
12
|
static get originalStyleUrls() {
|
|
@@ -61,7 +61,7 @@ export class PaginationPages {
|
|
|
61
61
|
this._generate();
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: 'db0857b24ba35b034ba1dc8143a29cbb9de2c549' }, h("div", { key: '80bb1005d3c1694d4f7e8aa0ef9914ecee7caaac', class: pagination({
|
|
65
65
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
66
66
|
}) }, this._set?.map(p => {
|
|
67
67
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -60,12 +60,12 @@ export class Pagination {
|
|
|
60
60
|
_hasPaginationPages = true;
|
|
61
61
|
render() {
|
|
62
62
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
63
|
-
return (h(ThemedHost, { key: '
|
|
63
|
+
return (h(ThemedHost, { key: '9a30d6c7d566a90f8ac44f77fab07d2a2446c72f' }, h("div", { key: '85f2dcfc61804d63b84ad255652d446543c5c839', class: pagination({
|
|
64
64
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
65
65
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
66
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '
|
|
66
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '1c51b9320c6a18d1acbb540f0728ea3ce79e02d6' }, h("p-pagination-size", { key: '08c020039f055c1205adac0ba4f9f32922781ebf', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
67
67
|
this.hideOnSinglePage &&
|
|
68
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
68
|
+
this._hasPaginationPages && (h("p-divider", { key: '0587d352bea9161f7b708221a35cc9ccec2d81ff', 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: 'c0642155df14ece17ac84ea8a285a01b62f2bc28', hideOnSinglePage: this.hideOnSinglePage, page: this.page, pageSize: this.pageSize, total: this.total, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
69
69
|
this._hasPaginationPages = detail > 1;
|
|
70
70
|
this.pagesChange.emit(detail);
|
|
71
71
|
} })))));
|
|
@@ -79,18 +79,18 @@ export class PaginationSize {
|
|
|
79
79
|
this._setLocales();
|
|
80
80
|
}
|
|
81
81
|
render() {
|
|
82
|
-
return (h(ThemedHost, { key: '
|
|
82
|
+
return (h(ThemedHost, { key: '5e1b33344ed17b9091f9f77de65ae085832d689e', class: paginationSize({ hidden: asBoolean(this.hidden) }) }, h("p-dropdown", { key: '8084c18cb9241748daf3d4199e823083941c2624', applyFullWidth: true, applyMaxWidth: false, chevronDirection: 'down', placement: 'top-start', onIsOpen: ({ detail }) => (this.dropdownIsOpen = detail) }, h("div", { key: '43da06218c720985f7a7ab2496aa58c5250de3bf', class: trigger({
|
|
83
83
|
active: this.dropdownIsOpen,
|
|
84
|
-
}), slot: 'trigger' }, h("p", { key: '
|
|
84
|
+
}), slot: 'trigger' }, h("p", { key: '6bce5c88289ba40dd11d25a9ef3bfb7268a8ccb1', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis text-nowrap' }, this.itemTemplate
|
|
85
85
|
? this.itemTemplate(this.size)
|
|
86
|
-
: this._defaultItemTemplate(this.size)), h("p-icon", { key: '
|
|
86
|
+
: this._defaultItemTemplate(this.size)), h("p-icon", { key: 'ca9506f126086f9a4ac7ecd43654cdf41fcc3cf6', class: cn([
|
|
87
87
|
'flex-shrink-0',
|
|
88
88
|
'group-hover/pagination-size-trigger:text-storm-500',
|
|
89
89
|
'dark:group-hover/pagination-size-trigger:text-white',
|
|
90
90
|
], {
|
|
91
91
|
'text-storm-300 dark:text-hurricane-200': !this.dropdownIsOpen,
|
|
92
92
|
'text-storm-500 dark:text-white': !!this.dropdownIsOpen,
|
|
93
|
-
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: '
|
|
93
|
+
}), size: 'sm', variant: 'double-caret' })), h("slot", { key: '0c03ec3e9b917857a9f3b76f56c6bb7133ec988c', slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
94
94
|
? this.itemTemplate(option)
|
|
95
95
|
: this._defaultItemTemplate(option))))))));
|
|
96
96
|
}
|
|
@@ -28,7 +28,7 @@ export class Profile {
|
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
30
|
const content = this._getContent();
|
|
31
|
-
return (h(ThemedHost, { key: '
|
|
31
|
+
return (h(ThemedHost, { key: '6d75fe9ed4ac33cfc764d9fab67484d6a9f07721' }, this._hasDropdownSlot ? (h("p-dropdown", { applyChevron: false, applyFullWidth: true, applyMaxWidth: false, manualChevron: true, placement: this.dropdownLocation, strategy: 'absolute', onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { active: this._dropdownOpen, chevron: this._dropdownOpen ? 'up' : 'down', class: 'w-full', size: 'lg', slot: 'trigger', variant: 'dropdown' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
|
|
32
32
|
}
|
|
33
33
|
slotchange() {
|
|
34
34
|
this._checkDropdownSlot();
|
|
@@ -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: '
|
|
26
|
+
return (h(ThemedHost, { key: '2d2460d0c69169794ca7f22f80bfe29eee2c6e72' }, h("div", { key: '7441a9994ebd42f91d0b592ab1d4345ff0da9817', class: '\n flex w-inherit items-center gap-2 text-storm-300\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '2dfd00d0e7042aa63223fbdb2f537f55ec5d624c', variant: 'minus' }), h("div", { key: '77dc1faecfdccf7692af8276043fa851e3febfdf', class: 'relative h-6 flex-1' }, h("input", { key: 'da4efbb82a44ee8f7924b9447abfbdb1cbebf10f', 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: '19677761561399e485961a92cdf6167d8334f439', class: '\n absolute left-0 top-1/2 z-[1] 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: '96ecdaa05a4a710a980fab7f77a3d845f837ce5c', variant: 'plus' }))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "p-range"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -341,8 +341,8 @@ export class Select {
|
|
|
341
341
|
if (this.error?.length) {
|
|
342
342
|
buttonIcon = 'warning';
|
|
343
343
|
}
|
|
344
|
-
return (h(ThemedHost, { key: '
|
|
345
|
-
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '
|
|
344
|
+
return (h(ThemedHost, { key: 'e558118df2ca323c56ce1af9ca940f9ab3064bf5' }, h("p-field-container", { key: '8c59c91d1962edee3ee06ca33f93e670aaf471d2', 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: '81ce03dc69685e18a92090628818e0ea902b9f3b', 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: '71a818c2ee268b8c169cc65bcd405ab8153bacb9', active: this._showDropdown, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, class: 'w-full', error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
|
|
345
|
+
this._selectedItem?.[this.iconClassKey], size: this.size, slot: 'trigger', variant: 'secondary', onClick: ev => this._onClick(ev) }, h("div", { key: '53f5fc2d15c94e96f629c6bd53e2456078f47dd3', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
|
|
346
346
|
}
|
|
347
347
|
documentClickHandler(event) {
|
|
348
348
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -23,15 +23,15 @@ export class SubmenuItem {
|
|
|
23
23
|
this.activeChange.emit(this.active);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h(ThemedHost, { key: '
|
|
26
|
+
return (h(ThemedHost, { key: '90bce86bc100210f8491a1a2301813046fd7de1b' }, h("div", { key: '51e0542d7e19c609fec475cbbbb0115be419fbf1', class: cn([
|
|
27
27
|
'flex items-center',
|
|
28
28
|
'h-8 w-full pl-[calc(3rem+2px)]',
|
|
29
29
|
'cursor-pointer',
|
|
30
30
|
'group/submenu-item',
|
|
31
|
-
]) }, h("div", { key: '
|
|
31
|
+
]) }, h("div", { key: 'a0d12ac8717ed69491bcdf4dd08b650f39aee67c', class: cn('flex items-center gap-2 transition-colors', {
|
|
32
32
|
'text-storm-400 dark:text-hurricane-100': !this.active,
|
|
33
33
|
'text-indigo-600': this.active,
|
|
34
|
-
}) }, h("p-icon", { key: '
|
|
34
|
+
}) }, h("p-icon", { key: '45354d39e6b24c0202bcc476c02b7b1d017f91ac', variant: this.icon }), h("slot", { key: '762d3933cb5b6145aea1c07d2c3187e5401f5a50' })))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "p-submenu-item"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -145,34 +145,34 @@ export class Submenu {
|
|
|
145
145
|
const maxHeight = submenuItems.length *
|
|
146
146
|
Number.parseInt(firstItem.height.replace('px', '')) +
|
|
147
147
|
16; // the margin of the content
|
|
148
|
-
return (h(ThemedHost, { key: '
|
|
148
|
+
return (h(ThemedHost, { key: 'c3a6ed7e5cba465d7e338e2a99bdec41f45c736e' }, h("div", { key: 'd77a6a78c054a1f955e4f1c154a3e3a1b5d7f378', class: 'flex w-full flex-col' }, h("div", { key: 'a0067a2ed9695507201f7deaa38dcb9170a483ea', class: cn(header({
|
|
149
149
|
active: this.active,
|
|
150
150
|
open: this.open,
|
|
151
|
-
})), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: '
|
|
151
|
+
})), onClick: () => (this.open = !this.open) }, this.showIndex && (h("div", { key: '2a963f6d3a2db3bb32cb9b84a46646dec2a97934', class: indexContainer({
|
|
152
152
|
active: this.active,
|
|
153
153
|
open: this.open,
|
|
154
|
-
}) }, this.index)), h("div", { key: '
|
|
154
|
+
}) }, this.index)), h("div", { key: '9a42e0938ffbae07a7b1674eca31551f11eb3c6b', class: 'flex flex-1 flex-col' }, h("p", { key: '7bc3f1d8a62e8358d40a86e48e50a240ca90e861', class: cn('m-0 text-sm', {
|
|
155
155
|
'text-storm-400 dark:text-hurricane-100 dark:group-hover/submenu-header:text-white': !this.active,
|
|
156
156
|
'text-storm-500 dark:text-white': this.active,
|
|
157
|
-
}) }, this.title), h("p", { key: '
|
|
157
|
+
}) }, this.title), h("p", { key: '06412fdc6a1bf7a5f78f4a6fb2c7589d9188dc32', class: cn('m-0 text-xs', {
|
|
158
158
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
159
159
|
'text-storm-300 dark:text-indigo-200': this.active,
|
|
160
|
-
}) }, this.subtitle)), h("p-icon", { key: '
|
|
160
|
+
}) }, this.subtitle)), h("p-icon", { key: '2762789b5f442e836521cd4b89f5e23d48c17634', class: cn({
|
|
161
161
|
'text-storm-500 dark:text-white': this.active,
|
|
162
162
|
'text-storm-300 dark:text-hurricane-300': !this.active,
|
|
163
|
-
}), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: '
|
|
163
|
+
}), rotate: this.open ? 180 : 0, variant: 'caret' })), h("div", { key: 'b050ce61b92e1185797035f7977a60c0b258e6fa', class: cn('relative flex flex-col overflow-hidden transition-[max-height]'), style: {
|
|
164
164
|
maxHeight: `${this.open ? maxHeight : 0}px`,
|
|
165
|
-
} }, h("div", { key: '
|
|
165
|
+
} }, h("div", { key: '5211381342902807ced13d616fb9ac6f396f20f5', class: cn('absolute left-6 top-0 z-0 w-px', {
|
|
166
166
|
'bg-off-white-400 dark:bg-storm-500/30': !this.active,
|
|
167
167
|
'bg-indigo-100 dark:bg-hurricane-400': this.active,
|
|
168
168
|
}), style: {
|
|
169
169
|
height: `${maxHeight}px`,
|
|
170
|
-
} }), h("div", { key: '
|
|
170
|
+
} }), h("div", { key: '81eb625408a052fec4e005c3774e99b5bed26035', class: cn(`absolute left-6 top-0 z-[1] h-8 w-[2px] transform transition-all`, {
|
|
171
171
|
'bg-indigo-600': this._showItemIndicator,
|
|
172
172
|
'bg-transparent': !this._showItemIndicator,
|
|
173
173
|
}), style: {
|
|
174
174
|
transform: `translateY(${this._activeItemPosition}px)`,
|
|
175
|
-
} }), h("div", { key: '
|
|
175
|
+
} }), h("div", { key: '68eb6a12f619fefd296a71e3573f49f7f582fa18', class: 'z-10 my-2 flex flex-col' }, h("slot", { key: 'b60634f606158986b86df75c4fc637eef7c48410', onSlotchange: () => this._slotChanged() }))))));
|
|
176
176
|
}
|
|
177
177
|
onWindowResize() {
|
|
178
178
|
this._calculateHeaderOffset();
|
|
@@ -87,7 +87,7 @@ export class TableCell {
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
render() {
|
|
90
|
-
return (h(ThemedHost, { key: '
|
|
90
|
+
return (h(ThemedHost, { key: '561af3131d5290ab9738cb4f1920424ef6727f13', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: '104069f79985342e481a7dccfbb2e3495e108551' }, h("div", { key: '73887f40f8ece9056b258a4c2ebf7c8a3ed58f8a', class: 'pl-8' }), h("div", { key: 'f53f9cdc8f0a8b761a81ef8c29d715099f8fa696', class: '\n text-storm-300 text-storm-400 text-storm-500\n dark:text-hurricane-200 dark:text-white\n ' }), h("div", { key: '261eda9ea4ba01fa01d761db72ca03e63b798c26', class: 'justify-start justify-end justify-center' }), h("div", { key: '0856a61f3e64f72d3e21345356879c128c81a826', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: 'e8022b920092a63d5f620837dcd14c2e7c788db0', class: '\n w-1/12 w-10/12 w-11/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12\n w-9/12 w-full\n ' }), h("div", { key: '4d594f3b04f928c9fd9a44e9674980bf6b2c5756', class: '\n tablet:w-1/12 tablet:w-10/12 tablet:w-11/12 tablet:w-2/12 tablet:w-3/12\n tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12\n tablet:w-9/12 tablet:w-full\n ' }), h("div", { key: '3506f3846929bc11b1c77af9fc1871d3c2596ba4', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '3e87563b4cb8b2bcb21514ade9fc0b81067d3fa5', class: '\n desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/12\n desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12\n desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12\n desktop-xs:w-full\n ' }), h("div", { key: '89f9bc9321c2e30080a38a481f61b4a37e01fcce', class: '\n desktop-sm:w-1/12 desktop-sm:w-10/12 desktop-sm:w-11/12\n desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12\n desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12\n desktop-sm:w-full\n ' }), h("div", { key: 'f2948f7665cd228561a32866475b5bdb12370857', class: '\n desktop:w-1/12 desktop:w-10/12 desktop:w-11/12 desktop:w-2/12\n desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12\n desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-full\n ' }), h("div", { key: '59eccb77454956fd957bd18a269ac242c3c708a6', class: '\n desktop-lg:w-1/12 desktop-lg:w-10/12 desktop-lg:w-11/12\n desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12\n desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12\n desktop-lg:w-full\n ' }), h("div", { key: '74a94a1740e86adc25256c215adf2c15f874065e', class: '\n desktop-xl:w-1/12 desktop-xl:w-10/12 desktop-xl:w-11/12\n desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12\n desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12\n desktop-xl:w-full\n ' }), h("div", { key: '8abe40c986a3a50a9ac06828646cd63adae6704e', class: '\n flex hidden\n group-hover:flex group-hover:hidden\n ' }), h("div", { key: 'b58fcd734d68aa04570d7f6e20d3988193f00beb', class: '\n tablet:flex tablet:hidden\n tablet:group-hover:flex tablet:group-hover:hidden\n ' }), h("div", { key: '9cc0717d6d19dc6504abbdd559c1643b81e90943', class: '\n desktop-xs:flex desktop-xs:hidden\n desktop-xs:group-hover:flex desktop-xs:group-hover:hidden\n ' }), h("div", { key: 'fade29bb0f55551ec0b4427b09884749bd9be073', class: '\n desktop-sm:flex desktop-sm:hidden\n desktop-sm:group-hover:flex desktop-sm:group-hover:hidden\n ' }), h("div", { key: '4905ddf0a3c20bfd6ba73e135fc3d72feedd270a', class: '\n desktop:flex desktop:hidden\n desktop:group-hover:flex desktop:group-hover:hidden\n ' }), h("div", { key: 'deb383fe4ef0577fb43cb38ebf77cb2c5edaa014', class: '\n desktop-lg:flex desktop-lg:hidden\n desktop-lg:group-hover:flex desktop-lg:group-hover:hidden\n ' }), h("div", { key: '5a77299d60f2350ccb89b3210dcf3304b3057c36', class: '\n desktop-xl:flex desktop-xl:hidden\n desktop-xl:group-hover:flex desktop-xl:group-hover:hidden\n ' }), h("div", { key: '32a6b9593aa4e440d0501b1448c38b6e51a5ad54', class: '\n pr-0 pr-4\n last-of-type:pr-0\n ' }), h("div", { key: 'b5f11af94a34404a55ab910c7a7cf97c34149bb0', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: '2fa5935fe932c81e903d6ab11ac11700640aab37', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: 'c1d94401811f713dc80754cafd4471a1e163393b', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: '515fecdd8ece6313018d7b45edcdf9954fe9f3fd', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: 'e244aaac0c8816803021e606c35dff9c84097054', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: 'b23539fedaa450390ed00eec711e71e017a09239', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
|
|
91
91
|
}
|
|
92
92
|
_getContent() {
|
|
93
93
|
if (this.variant === 'loading') {
|
|
@@ -107,12 +107,12 @@ export class TableFooter {
|
|
|
107
107
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 200);
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: '838cc36822e7cc8ae27663a24a3bfdc43b972e16' }, h("div", { key: '827e9b3207527766e1307962b7021e14b137173a', class: footer({
|
|
111
111
|
pinned: this._isPinned,
|
|
112
112
|
hidden: this._hidden,
|
|
113
113
|
tableHeaderHasAction: this.tableHeaderHasAction,
|
|
114
114
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
115
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
115
|
+
this.total > 0 && (h("p-pagination", { key: 'f03d3de3c10237dd966435c67b66a968b6b4a87b', 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) })))));
|
|
116
116
|
}
|
|
117
117
|
_changePageSize(s) {
|
|
118
118
|
if (!s) {
|
|
@@ -138,13 +138,13 @@ export class TableHeader {
|
|
|
138
138
|
const mobileTotal = (this.selectedFiltersAmount || 0) + (activeQuickFilter?.default ? 0 : 1);
|
|
139
139
|
const hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
140
140
|
const hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
141
|
-
return (h(ThemedHost, { key: '
|
|
142
|
-
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '
|
|
141
|
+
return (h(ThemedHost, { key: '919f2d6962e03484eebc67c1212d7b79281a869d' }, h("div", { key: '34903f732f855e8762525313a48690933920065a', class: header() }, this.loading && (h("p-loader", { key: '0bf68e8fa2ebaf85095a0ac8eadfe49553085890', class: '\n hidden h-8 w-3/4 rounded\n desktop-xs:flex\n ', variant: 'ghost' })), !this.loading &&
|
|
142
|
+
(hasCustomFilterSlot || quickFilters.length > 0) && (h("div", { key: '3aea08d692a98401fb5d2460678f12203f7fd9f4', class: '\n flex flex-col justify-start gap-4 justify-self-start\n desktop-xs:flex-row\n ' }, hasCustomFilterSlot && h("slot", { key: '3135fb1229c2bc761d369c61883c162ca3b9c7a3', name: 'custom-filter' }), quickFilters.length > 0 && (h("p-segment-container", { key: '64bb908d67d4c476ef03823cf80708142662a5a3', class: cn({
|
|
143
143
|
'hidden desktop-xs:flex': this.hideQuickFiltersOnMobile,
|
|
144
144
|
flex: !this.hideQuickFiltersOnMobile,
|
|
145
145
|
}) }, quickFilters.map(item => (h("p-segment-item", { active: item.identifier === this.activeQuickFilterIdentifier, onClick: () => this.quickFilter.emit(item) }, typeof item.text === 'string'
|
|
146
146
|
? item.text
|
|
147
|
-
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: '
|
|
147
|
+
: item.text(), ' ', item?.count >= 0 ? `(${item.count})` : ''))))))), h("div", { key: 'e3633eb69ed3f3ddb0442209918f26797f093405', 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: '15fe7cbc8b837be49b44091a44feff333c0d58cb', class: 'desktop-xs:max-w-60', icon: 'search', placeholder: 'Zoeken...', value: this.query, onValueChange: ev => this._queryObserver.next(ev.detail) })), h("div", { key: 'e9cbe54fe98be68ee685724becab9c84ab08f30c', class: 'flex items-center gap-2' }, this.enableFilter && (h("p-button", { key: '0d896bb251a90f28c78544e9cd1c4f05e92d0ddd', class: `
|
|
148
148
|
w-full
|
|
149
149
|
${this.enableFilterDesktop
|
|
150
150
|
? 'desktop-xs:w-auto'
|
|
@@ -152,7 +152,7 @@ export class TableHeader {
|
|
|
152
152
|
`, icon: 'filter', variant: 'secondary', onOnClick: () => this.filter.emit() }, this.filterButtonTemplate
|
|
153
153
|
? this.filterButtonTemplate()
|
|
154
154
|
: this._defaultFilterButtonTemplate(), this.selectedFiltersAmount &&
|
|
155
|
-
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '
|
|
155
|
+
this._getLabel(this.selectedFiltersAmount), mobileTotal > 0 && this._getLabel(mobileTotal, 'mobile'))), !this.loading && this.enableExport && this.enableFilter && (h("p-divider", { key: '21491e18e3c1b9815b7f90762e04287dedc33c7d', class: '\n hidden h-4\n tablet:flex\n dark:text-white/15\n ', variant: 'vertical' })), !this.loading && this.enableExport && (h("p-button", { key: 'ec8f8fb78379982d84f07518fb932cb0e1aabd50', class: '\n w-full\n desktop-xs:w-auto\n ', icon: 'upload', variant: 'secondary', onOnClick: () => this.export.emit() }, formatTranslation(this._locales.export)))), this.enableAction && this._buttonTemplate(), hasCustomActionsSlot && h("slot", { key: '6418703af4de32e78bbfb0bfc1c2714db1c235d7', name: 'custom-actions' })), this.enableAction && this.canUseAction && (h("div", { key: 'c8018e5ac7ce13b11f9e83af0b0de60ce5057def', 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))))));
|
|
156
156
|
}
|
|
157
157
|
async _setLocales() {
|
|
158
158
|
this._locales = await getLocaleComponentStrings(this._el);
|
|
@@ -107,13 +107,13 @@ export class TableRow {
|
|
|
107
107
|
*/
|
|
108
108
|
isLast = false;
|
|
109
109
|
render() {
|
|
110
|
-
return (h(ThemedHost, { key: '
|
|
110
|
+
return (h(ThemedHost, { key: '6afacd153aa236826889a81561d8a4cfaab68584' }, h("div", { key: '83aa5f82cdd91b6e64921493fc194305da11ef0d', class: 'flex flex-col' }, h("div", { key: '442151adebd3431c8810efc2cd4041c4b43cc0ec', class: row({
|
|
111
111
|
variant: this.variant,
|
|
112
112
|
enableHover: this.enableHover,
|
|
113
113
|
checked: this.checked,
|
|
114
|
-
}) }, h("div", { key: '
|
|
114
|
+
}) }, h("div", { key: 'e994c3629806ca1f82808fdfce127e1f17569788', class: content({
|
|
115
115
|
variant: this.variant,
|
|
116
|
-
}) }, h("slot", { key: '
|
|
116
|
+
}) }, h("slot", { key: '42d02bf96ef9a8a55ab8ff861600161cf21b229f' }), h("div", { key: '750734513d1ebe567e089d4f2b7bb1a1b83d911e', class: actions() }, h("slot", { key: '6424f39c79ad42ec8f0b05c23f42f9b105aed2e3', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: '65df59b62d5de884e4b1fe4ee772aef7314fe513' })))));
|
|
117
117
|
}
|
|
118
118
|
static get is() { return "p-table-row"; }
|
|
119
119
|
static get encapsulation() { return "shadow"; }
|
|
@@ -61,7 +61,7 @@ export class Toast {
|
|
|
61
61
|
*/
|
|
62
62
|
action;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: '008becccf14ae165e05fd1e7b8fe9e04c1f204a1' }, h("div", { key: 'e783c3d97e1c1e434a042be33c99d34b8d11ede0', class: '\n flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2\n shadow-2\n dark:border-hurricane-800 dark:bg-hurricane-800\n ', onClick: () => this._onClick() }, h("div", { key: 'ef643aeffdc0fc7db4ab9f6c51668afd84723b04', class: indicator({ variant: this.variant }) }), h("div", { key: '14c15d046eb741e39e952983f66f41af92cd239a', class: content() }, h("div", { key: 'f3b5ccd2ad643751f79f7be558c7b090a552e073', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '23407aac7d8311913796c8147901a4fd97b85a03', class: '\n m-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm\n font-semibold text-storm-500\n dark:text-white\n ' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '74f6229b2bbd5175937e5982f474fdf3fbf98984', class: '\n m-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs\n text-storm-300\n dark:text-hurricane-200\n ' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: 'd3bf57747e399938018001613d5f052550640ce8', class: '\n flex-shrink-0 cursor-pointer p-2 text-storm-200\n hover:text-storm-500 hover:text-white\n dark:text-hurricane-200\n ' }, h("p-icon", { key: '52c6b8446c8a21b3d710339342773bacfdddcaa1', flip: this.actionIconFlip, rotate: this.actionIconRotate, variant: this.actionIcon })))))));
|
|
65
65
|
}
|
|
66
66
|
_onClick() {
|
|
67
67
|
if (this.enableAction) {
|
|
@@ -18,10 +18,10 @@ export class Listing {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: 'f1a202de4615b4d854fa78e27cdc77b71aa09b64', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
|
|
22
22
|
'opacity-100': this._generatedOnce,
|
|
23
23
|
'opacity-0': !this._generatedOnce,
|
|
24
|
-
}) }, h("slot", { key: '
|
|
24
|
+
}) }, h("slot", { key: '52d133d71700c7a08cbba824844cd88a9a20adb2', onSlotchange: () => this._generateLinesOnce() })));
|
|
25
25
|
}
|
|
26
26
|
_generateLinesOnce() {
|
|
27
27
|
if (this._generateTimeout) {
|
|
@@ -61,7 +61,7 @@ const backdrop = cva([
|
|
|
61
61
|
export class Navbar {
|
|
62
62
|
_show = false;
|
|
63
63
|
render() {
|
|
64
|
-
return (h(ThemedHost, { key: '
|
|
64
|
+
return (h(ThemedHost, { key: 'fe2de332dfdc64399f90e88e1595bcb7ca95a901' }, h("p-backdrop", { key: 'c2f8a860ee2026cc0430fe2b3557119010e02f9b', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: 'c01fe9cc8d2a3342e7358b298a1e7807e7612019', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '78535c4470591c2ae2fe9464902bd4f54baa12bd', class: '\n flex w-full items-center justify-end\n layout-1280:hidden\n ' }, h("p-button", { key: '6d50a2f05639094b429c616820272e7ce744ab72', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, variant: 'secondary', onClick: () => (this._show = false) })), h("div", { key: '93a332c6fa4046dab5a3bf8d4dd2de5f8d909d3a', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '49e41e442a8b33f826fb210578c9169981b4062d', name: 'company' })), h("div", { key: '2def55a3be3a2220058f1cf61a61cae73ef793b2', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '9eca0f94e4eb271ea1c3ac625213f6a2271e0ca2', name: 'content' })), h("div", { key: 'c5b9d2be190f64059f03dcfba0f094d797bad910', class: '\n mt-auto hidden w-full flex-shrink-0 flex-col\n layout-1280:flex\n ' }, h("slot", { key: '521d4b932bbb0bfcc5512e2b79f620c2db659e29', name: 'user' }))), h("div", { key: '657811cf4dfe72bd0d2935e773ea1d7fbbd45373', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '81357f0eef70cce8f73e7c96eb7a7fe68fc4ae7d', icon: 'menu-arrow', iconOnly: true, variant: 'secondary', onClick: () => (this._show = true) }), h("slot", { key: 'db2742453f251f54f8fb94f1ea3c18e628b883ca', name: 'topbar' }))));
|
|
65
65
|
}
|
|
66
66
|
handleCloseNavbar() {
|
|
67
67
|
this._show = false;
|