@paperless/core 2.2.15 → 2.2.16
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 +13 -0
- package/dist/{paperless/p-b334b27d.entry.js → build/p-0ea3c0be.entry.js} +2 -2
- package/dist/{paperless/p-e74def55.entry.js → build/p-0fd02345.entry.js} +2 -2
- package/dist/build/p-13746ec7.entry.js +2 -0
- package/dist/build/{p-bf3a11a3.entry.js → p-1a551082.entry.js} +2 -2
- package/dist/build/{p-f866e7de.entry.js → p-1c9b0700.entry.js} +2 -2
- package/dist/{paperless/p-e3250b88.entry.js → build/p-1f45e45a.entry.js} +2 -2
- package/dist/build/p-20f5071b.entry.js +2 -0
- package/dist/{paperless/p-6527b461.entry.js → build/p-230365ba.entry.js} +2 -2
- package/dist/build/{p-586ca05c.entry.js → p-2366e61d.entry.js} +2 -2
- package/dist/build/{p-9686ab8f.entry.js → p-3e2d2587.entry.js} +2 -2
- package/dist/build/{p-9bb90aaf.entry.js → p-419077c3.entry.js} +2 -2
- package/dist/build/{p-ab9ad2c2.entry.js → p-4e7c1803.entry.js} +2 -2
- package/dist/build/p-50b3268f.entry.js +2 -0
- package/dist/{paperless/p-2b203c64.entry.js → build/p-542a718b.entry.js} +2 -2
- package/dist/build/p-60a19708.entry.js +2 -0
- package/dist/{paperless/p-0d80f713.entry.js.map → build/p-60a19708.entry.js.map} +1 -1
- package/dist/build/{p-a8d11806.entry.js → p-6581ce9c.entry.js} +2 -2
- package/dist/build/{p-5ac2fea4.entry.js → p-78403aa3.entry.js} +2 -2
- package/dist/build/{p-60fc666c.entry.js → p-7f1f62c2.entry.js} +2 -2
- package/dist/build/{p-e7e7bc25.entry.js → p-805bad94.entry.js} +2 -2
- package/dist/build/{p-d4f556ea.entry.js → p-8325525f.entry.js} +2 -2
- package/dist/build/p-84979460.entry.js +2 -0
- package/dist/{paperless/p-ce7c429d.entry.js → build/p-8817fc5d.entry.js} +2 -2
- package/dist/build/p-8a634916.entry.js +2 -0
- package/dist/build/p-8a634916.entry.js.map +1 -0
- package/dist/build/{p-60d4f5b8.entry.js → p-982c05d5.entry.js} +2 -2
- package/dist/{paperless/p-80c3e999.entry.js → build/p-9ab2cb8d.entry.js} +2 -2
- package/dist/build/{p-05e44db5.entry.js → p-a3273e15.entry.js} +2 -2
- package/dist/build/p-a7bc0cf9.entry.js +2 -0
- package/dist/build/{p-78ecefd7.entry.js.map → p-a7bc0cf9.entry.js.map} +1 -1
- package/dist/build/p-a9ba2e62.entry.js +2 -0
- package/dist/{paperless/p-90981f81.entry.js.map → build/p-a9ba2e62.entry.js.map} +1 -1
- package/dist/build/{p-396a5eb9.entry.js → p-b176abc5.entry.js} +2 -2
- package/dist/build/{p-6e791181.entry.js → p-b8b570c4.entry.js} +2 -2
- package/dist/build/{p-4ab7f5c2.entry.js → p-b96f8d26.entry.js} +2 -2
- package/dist/build/{p-1032c052.entry.js → p-bea5329b.entry.js} +2 -2
- package/dist/build/{p-1671db20.entry.js → p-cbd7870f.entry.js} +2 -2
- package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/build/{p-f98d44ff.js → p-d499bb0c.js} +1 -1
- package/dist/build/p-d8c60f3c.entry.js +2 -0
- package/dist/{paperless/p-85402959.entry.js → build/p-ec9a178a.entry.js} +2 -2
- package/dist/build/{p-f0851d2d.entry.js → p-f13b147d.entry.js} +2 -2
- package/dist/{paperless/p-d4152f66.entry.js → build/p-fa78c45a.entry.js} +2 -2
- package/dist/build/p-fdb85aef.entry.js +2 -0
- package/dist/{paperless/p-991d0b21.entry.js.map → build/p-fdb85aef.entry.js.map} +1 -1
- package/dist/build/p-radio.entry.esm.js.map +1 -1
- package/dist/build/p-toggle.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.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-badge_3.cjs.entry.js +3 -3
- 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.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js +13 -13
- package/dist/cjs/p-checkbox_4.cjs.entry.js.map +1 -1
- 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 +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +3 -3
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
- package/dist/cjs/p-empty-state_8.cjs.entry.js +10 -10
- package/dist/cjs/p-field_2.cjs.entry.js +3 -3
- package/dist/cjs/p-floating-menu-item.cjs.entry.js +2 -2
- package/dist/cjs/p-helper_2.cjs.entry.js +3 -3
- package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- 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 +2 -2
- 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-pages-item.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
- package/dist/cjs/p-radio.cjs.entry.js +4 -4
- package/dist/cjs/p-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/p-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/p-range.cjs.entry.js +2 -2
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- 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-tab-container.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- 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 +4 -4
- package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toggle.entry.cjs.js.map +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +4 -4
- package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +3 -3
- 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/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
- 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.css +1 -1
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/radio/radio.component.js.map +1 -1
- 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 +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
- package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -1
- 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 +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.js +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
- 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.js +2 -2
- 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.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/components/{p-BcKK57hn.js → p-3TP-UX-Y.js} +13 -13
- package/dist/components/{p-BcKK57hn.js.map → p-3TP-UX-Y.js.map} +1 -1
- package/dist/components/{p-BWBwhUzi.js → p-B4inyr87.js} +6 -6
- package/dist/components/{p-BWBwhUzi.js.map → p-B4inyr87.js.map} +1 -1
- package/dist/components/{p-XuPLq1zd.js → p-B4qiEiNB.js} +4 -4
- package/dist/components/{p-XuPLq1zd.js.map → p-B4qiEiNB.js.map} +1 -1
- package/dist/components/{p-DMriM32U.js → p-B8Ai2EJn.js} +5 -5
- package/dist/components/{p-DMriM32U.js.map → p-B8Ai2EJn.js.map} +1 -1
- package/dist/components/{p-C_Uug2bi.js → p-Be4WHASj.js} +4 -4
- package/dist/components/{p-C_Uug2bi.js.map → p-Be4WHASj.js.map} +1 -1
- package/dist/components/{p-B45E7xnR.js → p-BfSo1qPy.js} +6 -6
- package/dist/components/{p-B45E7xnR.js.map → p-BfSo1qPy.js.map} +1 -1
- package/dist/components/{p-B4CTQ-9e.js → p-Bh008RYx.js} +4 -4
- package/dist/components/{p-B4CTQ-9e.js.map → p-Bh008RYx.js.map} +1 -1
- package/dist/components/{p-BBho7Zjn.js → p-BlwTel9F.js} +4 -4
- package/dist/components/{p-BBho7Zjn.js.map → p-BlwTel9F.js.map} +1 -1
- package/dist/components/{p-CoLZHANv.js → p-Bn6Arg73.js} +4 -4
- package/dist/components/{p-CoLZHANv.js.map → p-Bn6Arg73.js.map} +1 -1
- package/dist/components/{p-CP2h1oCK.js → p-Bs_mDdx4.js} +4 -4
- package/dist/components/{p-CP2h1oCK.js.map → p-Bs_mDdx4.js.map} +1 -1
- package/dist/components/{p-BFghMvAR.js → p-C3sIHSTA.js} +3 -3
- package/dist/components/{p-BFghMvAR.js.map → p-C3sIHSTA.js.map} +1 -1
- package/dist/components/{p-CK9srR2x.js → p-C4WDKcUV.js} +3 -3
- package/dist/components/{p-CK9srR2x.js.map → p-C4WDKcUV.js.map} +1 -1
- package/dist/components/{p-ByonmKJV.js → p-CCJc8g8_.js} +4 -4
- package/dist/components/{p-ByonmKJV.js.map → p-CCJc8g8_.js.map} +1 -1
- package/dist/components/{p-Dk8TzngH.js → p-CH64wrKS.js} +4 -4
- package/dist/components/{p-Dk8TzngH.js.map → p-CH64wrKS.js.map} +1 -1
- package/dist/components/{p-05D7qOIg.js → p-CK0zv8Hv.js} +4 -4
- package/dist/components/{p-05D7qOIg.js.map → p-CK0zv8Hv.js.map} +1 -1
- package/dist/components/{p-CrCyoKEh.js → p-CKy64zac.js} +9 -9
- package/dist/components/{p-CrCyoKEh.js.map → p-CKy64zac.js.map} +1 -1
- package/dist/components/{p-DTd14qQm.js → p-CSIFLNsS.js} +3 -3
- package/dist/components/{p-DTd14qQm.js.map → p-CSIFLNsS.js.map} +1 -1
- package/dist/components/{p-B28rxSbn.js → p-CY_6PTTc.js} +8 -8
- package/dist/components/{p-B28rxSbn.js.map → p-CY_6PTTc.js.map} +1 -1
- package/dist/components/{p-DQWXRiS6.js → p-CYnAmhHh.js} +4 -4
- package/dist/components/{p-DQWXRiS6.js.map → p-CYnAmhHh.js.map} +1 -1
- package/dist/components/{p-B40DmfaL.js → p-Cb7zGv2a.js} +4 -4
- package/dist/components/{p-B40DmfaL.js.map → p-Cb7zGv2a.js.map} +1 -1
- package/dist/components/p-CuGtA-02.js +166 -0
- package/dist/components/p-CuGtA-02.js.map +1 -0
- package/dist/components/{p-CQ1Po2qn.js → p-D30EqV3s.js} +3 -3
- package/dist/components/{p-CQ1Po2qn.js.map → p-D30EqV3s.js.map} +1 -1
- package/dist/components/{p-DDViK5Zv.js → p-D3_BwnG6.js} +4 -4
- package/dist/components/{p-DDViK5Zv.js.map → p-D3_BwnG6.js.map} +1 -1
- package/dist/components/{p-B4p3pMj1.js → p-D4vqPHEP.js} +3 -3
- package/dist/components/{p-B4p3pMj1.js.map → p-D4vqPHEP.js.map} +1 -1
- package/dist/components/{p-CymX517i.js → p-DBwmAZb5.js} +4 -4
- package/dist/components/{p-CymX517i.js.map → p-DBwmAZb5.js.map} +1 -1
- package/dist/components/{p-D9xXC35J.js → p-DD3i504O.js} +4 -4
- package/dist/components/{p-D9xXC35J.js.map → p-DD3i504O.js.map} +1 -1
- package/dist/components/{p-C3H31pam.js → p-DI407tdD.js} +4 -4
- package/dist/components/{p-C3H31pam.js.map → p-DI407tdD.js.map} +1 -1
- package/dist/components/{p-hwn7HhkK.js → p-DLARy46p.js} +13 -13
- package/dist/components/{p-hwn7HhkK.js.map → p-DLARy46p.js.map} +1 -1
- package/dist/components/{p-sl5N8aUX.js → p-DTmjAeM2.js} +6 -6
- package/dist/components/{p-sl5N8aUX.js.map → p-DTmjAeM2.js.map} +1 -1
- package/dist/components/{p-Dc8e00Zd.js → p-DUJkO2n3.js} +5 -5
- package/dist/components/{p-Dc8e00Zd.js.map → p-DUJkO2n3.js.map} +1 -1
- package/dist/components/{p-Divq0BdF.js → p-D_goLzIz.js} +3 -3
- package/dist/components/{p-Divq0BdF.js.map → p-D_goLzIz.js.map} +1 -1
- package/dist/components/{p-D8Mf5M6D.js → p-DcB4vo69.js} +3 -3
- package/dist/components/{p-D8Mf5M6D.js.map → p-DcB4vo69.js.map} +1 -1
- package/dist/components/{p-D3bGda3N.js → p-Ds64b3s1.js} +4 -4
- package/dist/components/{p-D3bGda3N.js.map → p-Ds64b3s1.js.map} +1 -1
- package/dist/components/{p-D9t79La9.js → p-DzLUScwc.js} +6 -6
- package/dist/components/{p-D9t79La9.js.map → p-DzLUScwc.js.map} +1 -1
- package/dist/components/{p-Dl2d_IWC.js → p-Fa6eP7ZQ.js} +5 -5
- package/dist/components/{p-Dl2d_IWC.js.map → p-Fa6eP7ZQ.js.map} +1 -1
- package/dist/components/p-accordion.js +3 -3
- package/dist/components/p-attachment.js +9 -9
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-header.js +2 -2
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +8 -8
- 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 +4 -4
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/{p-8qhZghDQ.js → p-giTrVMAJ.js} +4 -4
- package/dist/components/{p-8qhZghDQ.js.map → p-giTrVMAJ.js.map} +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-label.js +3 -3
- 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 +3 -3
- 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 +6 -6
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-section.js +2 -2
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-pagination-pages-item.js +1 -1
- package/dist/components/p-pagination-pages.js +1 -1
- package/dist/components/p-pagination-size.js +1 -1
- package/dist/components/p-pagination.js +1 -1
- package/dist/components/p-profile.js +2 -2
- package/dist/components/p-radio.js +4 -4
- package/dist/components/p-radio.js.map +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 +9 -9
- 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 +2 -2
- package/dist/components/p-tab-container.js +2 -2
- 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 +24 -24
- package/dist/components/p-toast-container.js +2 -2
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +4 -4
- package/dist/components/p-toggle.js.map +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-DvfnrKnT.js → p-v_qRLJr8.js} +3 -3
- package/dist/components/{p-DvfnrKnT.js.map → p-v_qRLJr8.js.map} +1 -1
- package/dist/components/{p-BI9KWwWc.js → p-wXp3GFHo.js} +3 -3
- package/dist/components/{p-BI9KWwWc.js.map → p-wXp3GFHo.js.map} +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-attachment.entry.js +6 -6
- package/dist/esm/p-badge_3.entry.js +3 -3
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.js.map +1 -1
- package/dist/esm/p-checkbox_4.entry.js +13 -13
- package/dist/esm/p-checkbox_4.entry.js.map +1 -1
- 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 +1 -1
- package/dist/esm/p-divider.entry.js +3 -3
- package/dist/esm/p-drawer-body_3.entry.js +4 -4
- package/dist/esm/p-empty-state_8.entry.js +10 -10
- package/dist/esm/p-field_2.entry.js +3 -3
- package/dist/esm/p-floating-menu-item.entry.js +2 -2
- package/dist/esm/p-helper_2.entry.js +3 -3
- package/dist/esm/p-info-panel.entry.js +1 -1
- package/dist/esm/p-label.entry.js +3 -3
- 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 +2 -2
- 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-pages-item.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +4 -4
- package/dist/esm/p-radio.entry.js +4 -4
- package/dist/esm/p-radio.entry.js.map +1 -1
- package/dist/esm/p-range.entry.js +2 -2
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-stepper-item_2.entry.js +5 -5
- package/dist/esm/p-tab-container.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- 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 +4 -4
- package/dist/esm/p-toggle.entry.js.map +1 -1
- package/dist/index.html +1 -1
- package/dist/{build/p-b334b27d.entry.js → paperless/p-0ea3c0be.entry.js} +2 -2
- package/dist/{build/p-e74def55.entry.js → paperless/p-0fd02345.entry.js} +2 -2
- package/dist/paperless/p-13746ec7.entry.js +2 -0
- package/dist/paperless/{p-bf3a11a3.entry.js → p-1a551082.entry.js} +2 -2
- package/dist/paperless/{p-f866e7de.entry.js → p-1c9b0700.entry.js} +2 -2
- package/dist/{build/p-e3250b88.entry.js → paperless/p-1f45e45a.entry.js} +2 -2
- package/dist/paperless/p-20f5071b.entry.js +2 -0
- package/dist/{build/p-6527b461.entry.js → paperless/p-230365ba.entry.js} +2 -2
- package/dist/paperless/{p-586ca05c.entry.js → p-2366e61d.entry.js} +2 -2
- package/dist/paperless/{p-9686ab8f.entry.js → p-3e2d2587.entry.js} +2 -2
- package/dist/paperless/{p-9bb90aaf.entry.js → p-419077c3.entry.js} +2 -2
- package/dist/paperless/{p-ab9ad2c2.entry.js → p-4e7c1803.entry.js} +2 -2
- package/dist/paperless/p-50b3268f.entry.js +2 -0
- package/dist/{build/p-2b203c64.entry.js → paperless/p-542a718b.entry.js} +2 -2
- package/dist/paperless/p-60a19708.entry.js +2 -0
- package/dist/{build/p-0d80f713.entry.js.map → paperless/p-60a19708.entry.js.map} +1 -1
- package/dist/paperless/{p-a8d11806.entry.js → p-6581ce9c.entry.js} +2 -2
- package/dist/paperless/{p-5ac2fea4.entry.js → p-78403aa3.entry.js} +2 -2
- package/dist/paperless/{p-60fc666c.entry.js → p-7f1f62c2.entry.js} +2 -2
- package/dist/paperless/{p-e7e7bc25.entry.js → p-805bad94.entry.js} +2 -2
- package/dist/paperless/{p-d4f556ea.entry.js → p-8325525f.entry.js} +2 -2
- package/dist/paperless/p-84979460.entry.js +2 -0
- package/dist/{build/p-ce7c429d.entry.js → paperless/p-8817fc5d.entry.js} +2 -2
- package/dist/paperless/p-8a634916.entry.js +2 -0
- package/dist/paperless/p-8a634916.entry.js.map +1 -0
- package/dist/paperless/{p-60d4f5b8.entry.js → p-982c05d5.entry.js} +2 -2
- package/dist/{build/p-80c3e999.entry.js → paperless/p-9ab2cb8d.entry.js} +2 -2
- package/dist/paperless/{p-05e44db5.entry.js → p-a3273e15.entry.js} +2 -2
- package/dist/paperless/p-a7bc0cf9.entry.js +2 -0
- package/dist/paperless/{p-78ecefd7.entry.js.map → p-a7bc0cf9.entry.js.map} +1 -1
- package/dist/paperless/p-a9ba2e62.entry.js +2 -0
- package/dist/{build/p-90981f81.entry.js.map → paperless/p-a9ba2e62.entry.js.map} +1 -1
- package/dist/paperless/{p-396a5eb9.entry.js → p-b176abc5.entry.js} +2 -2
- package/dist/paperless/{p-6e791181.entry.js → p-b8b570c4.entry.js} +2 -2
- package/dist/paperless/{p-4ab7f5c2.entry.js → p-b96f8d26.entry.js} +2 -2
- package/dist/paperless/{p-1032c052.entry.js → p-bea5329b.entry.js} +2 -2
- package/dist/paperless/{p-1671db20.entry.js → p-cbd7870f.entry.js} +2 -2
- package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-d8c60f3c.entry.js +2 -0
- package/dist/{build/p-85402959.entry.js → paperless/p-ec9a178a.entry.js} +2 -2
- package/dist/paperless/{p-f0851d2d.entry.js → p-f13b147d.entry.js} +2 -2
- package/dist/{build/p-d4152f66.entry.js → paperless/p-fa78c45a.entry.js} +2 -2
- package/dist/paperless/p-fdb85aef.entry.js +2 -0
- package/dist/{build/p-991d0b21.entry.js.map → paperless/p-fdb85aef.entry.js.map} +1 -1
- package/dist/paperless/p-radio.entry.esm.js.map +1 -1
- package/dist/paperless/p-toggle.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/package.json +1 -1
- package/dist/build/p-0d80f713.entry.js +0 -2
- package/dist/build/p-30b71d45.entry.js +0 -2
- package/dist/build/p-4a420a81.entry.js +0 -2
- package/dist/build/p-78ecefd7.entry.js +0 -2
- package/dist/build/p-90981f81.entry.js +0 -2
- package/dist/build/p-955d3465.entry.js +0 -2
- package/dist/build/p-991d0b21.entry.js +0 -2
- package/dist/build/p-acdfcf17.entry.js +0 -2
- package/dist/build/p-d35b820d.entry.js +0 -2
- package/dist/build/p-d35b820d.entry.js.map +0 -1
- package/dist/build/p-da9bcf65.entry.js +0 -2
- package/dist/components/p-BppwDNy5.js +0 -166
- package/dist/components/p-BppwDNy5.js.map +0 -1
- package/dist/paperless/p-0d80f713.entry.js +0 -2
- package/dist/paperless/p-30b71d45.entry.js +0 -2
- package/dist/paperless/p-4a420a81.entry.js +0 -2
- package/dist/paperless/p-78ecefd7.entry.js +0 -2
- package/dist/paperless/p-90981f81.entry.js +0 -2
- package/dist/paperless/p-955d3465.entry.js +0 -2
- package/dist/paperless/p-991d0b21.entry.js +0 -2
- package/dist/paperless/p-acdfcf17.entry.js +0 -2
- package/dist/paperless/p-d35b820d.entry.js +0 -2
- package/dist/paperless/p-d35b820d.entry.js.map +0 -1
- package/dist/paperless/p-da9bcf65.entry.js +0 -2
- /package/dist/build/{p-b334b27d.entry.js.map → p-0ea3c0be.entry.js.map} +0 -0
- /package/dist/build/{p-e74def55.entry.js.map → p-0fd02345.entry.js.map} +0 -0
- /package/dist/build/{p-da9bcf65.entry.js.map → p-13746ec7.entry.js.map} +0 -0
- /package/dist/build/{p-bf3a11a3.entry.js.map → p-1a551082.entry.js.map} +0 -0
- /package/dist/build/{p-f866e7de.entry.js.map → p-1c9b0700.entry.js.map} +0 -0
- /package/dist/build/{p-e3250b88.entry.js.map → p-1f45e45a.entry.js.map} +0 -0
- /package/dist/build/{p-4a420a81.entry.js.map → p-20f5071b.entry.js.map} +0 -0
- /package/dist/build/{p-6527b461.entry.js.map → p-230365ba.entry.js.map} +0 -0
- /package/dist/build/{p-586ca05c.entry.js.map → p-2366e61d.entry.js.map} +0 -0
- /package/dist/build/{p-9686ab8f.entry.js.map → p-3e2d2587.entry.js.map} +0 -0
- /package/dist/build/{p-9bb90aaf.entry.js.map → p-419077c3.entry.js.map} +0 -0
- /package/dist/build/{p-ab9ad2c2.entry.js.map → p-4e7c1803.entry.js.map} +0 -0
- /package/dist/build/{p-955d3465.entry.js.map → p-50b3268f.entry.js.map} +0 -0
- /package/dist/build/{p-2b203c64.entry.js.map → p-542a718b.entry.js.map} +0 -0
- /package/dist/build/{p-a8d11806.entry.js.map → p-6581ce9c.entry.js.map} +0 -0
- /package/dist/build/{p-5ac2fea4.entry.js.map → p-78403aa3.entry.js.map} +0 -0
- /package/dist/build/{p-60fc666c.entry.js.map → p-7f1f62c2.entry.js.map} +0 -0
- /package/dist/build/{p-e7e7bc25.entry.js.map → p-805bad94.entry.js.map} +0 -0
- /package/dist/build/{p-d4f556ea.entry.js.map → p-8325525f.entry.js.map} +0 -0
- /package/dist/build/{p-acdfcf17.entry.js.map → p-84979460.entry.js.map} +0 -0
- /package/dist/build/{p-ce7c429d.entry.js.map → p-8817fc5d.entry.js.map} +0 -0
- /package/dist/build/{p-60d4f5b8.entry.js.map → p-982c05d5.entry.js.map} +0 -0
- /package/dist/build/{p-80c3e999.entry.js.map → p-9ab2cb8d.entry.js.map} +0 -0
- /package/dist/build/{p-05e44db5.entry.js.map → p-a3273e15.entry.js.map} +0 -0
- /package/dist/build/{p-396a5eb9.entry.js.map → p-b176abc5.entry.js.map} +0 -0
- /package/dist/build/{p-6e791181.entry.js.map → p-b8b570c4.entry.js.map} +0 -0
- /package/dist/build/{p-4ab7f5c2.entry.js.map → p-b96f8d26.entry.js.map} +0 -0
- /package/dist/build/{p-1032c052.entry.js.map → p-bea5329b.entry.js.map} +0 -0
- /package/dist/build/{p-1671db20.entry.js.map → p-cbd7870f.entry.js.map} +0 -0
- /package/dist/build/{p-30b71d45.entry.js.map → p-d8c60f3c.entry.js.map} +0 -0
- /package/dist/build/{p-85402959.entry.js.map → p-ec9a178a.entry.js.map} +0 -0
- /package/dist/build/{p-f0851d2d.entry.js.map → p-f13b147d.entry.js.map} +0 -0
- /package/dist/build/{p-d4152f66.entry.js.map → p-fa78c45a.entry.js.map} +0 -0
- /package/dist/paperless/{p-b334b27d.entry.js.map → p-0ea3c0be.entry.js.map} +0 -0
- /package/dist/paperless/{p-e74def55.entry.js.map → p-0fd02345.entry.js.map} +0 -0
- /package/dist/paperless/{p-da9bcf65.entry.js.map → p-13746ec7.entry.js.map} +0 -0
- /package/dist/paperless/{p-bf3a11a3.entry.js.map → p-1a551082.entry.js.map} +0 -0
- /package/dist/paperless/{p-f866e7de.entry.js.map → p-1c9b0700.entry.js.map} +0 -0
- /package/dist/paperless/{p-e3250b88.entry.js.map → p-1f45e45a.entry.js.map} +0 -0
- /package/dist/paperless/{p-4a420a81.entry.js.map → p-20f5071b.entry.js.map} +0 -0
- /package/dist/paperless/{p-6527b461.entry.js.map → p-230365ba.entry.js.map} +0 -0
- /package/dist/paperless/{p-586ca05c.entry.js.map → p-2366e61d.entry.js.map} +0 -0
- /package/dist/paperless/{p-9686ab8f.entry.js.map → p-3e2d2587.entry.js.map} +0 -0
- /package/dist/paperless/{p-9bb90aaf.entry.js.map → p-419077c3.entry.js.map} +0 -0
- /package/dist/paperless/{p-ab9ad2c2.entry.js.map → p-4e7c1803.entry.js.map} +0 -0
- /package/dist/paperless/{p-955d3465.entry.js.map → p-50b3268f.entry.js.map} +0 -0
- /package/dist/paperless/{p-2b203c64.entry.js.map → p-542a718b.entry.js.map} +0 -0
- /package/dist/paperless/{p-a8d11806.entry.js.map → p-6581ce9c.entry.js.map} +0 -0
- /package/dist/paperless/{p-5ac2fea4.entry.js.map → p-78403aa3.entry.js.map} +0 -0
- /package/dist/paperless/{p-60fc666c.entry.js.map → p-7f1f62c2.entry.js.map} +0 -0
- /package/dist/paperless/{p-e7e7bc25.entry.js.map → p-805bad94.entry.js.map} +0 -0
- /package/dist/paperless/{p-d4f556ea.entry.js.map → p-8325525f.entry.js.map} +0 -0
- /package/dist/paperless/{p-acdfcf17.entry.js.map → p-84979460.entry.js.map} +0 -0
- /package/dist/paperless/{p-ce7c429d.entry.js.map → p-8817fc5d.entry.js.map} +0 -0
- /package/dist/paperless/{p-60d4f5b8.entry.js.map → p-982c05d5.entry.js.map} +0 -0
- /package/dist/paperless/{p-80c3e999.entry.js.map → p-9ab2cb8d.entry.js.map} +0 -0
- /package/dist/paperless/{p-05e44db5.entry.js.map → p-a3273e15.entry.js.map} +0 -0
- /package/dist/paperless/{p-396a5eb9.entry.js.map → p-b176abc5.entry.js.map} +0 -0
- /package/dist/paperless/{p-6e791181.entry.js.map → p-b8b570c4.entry.js.map} +0 -0
- /package/dist/paperless/{p-4ab7f5c2.entry.js.map → p-b96f8d26.entry.js.map} +0 -0
- /package/dist/paperless/{p-1032c052.entry.js.map → p-bea5329b.entry.js.map} +0 -0
- /package/dist/paperless/{p-1671db20.entry.js.map → p-cbd7870f.entry.js.map} +0 -0
- /package/dist/paperless/{p-30b71d45.entry.js.map → p-d8c60f3c.entry.js.map} +0 -0
- /package/dist/paperless/{p-85402959.entry.js.map → p-ec9a178a.entry.js.map} +0 -0
- /package/dist/paperless/{p-f0851d2d.entry.js.map → p-f13b147d.entry.js.map} +0 -0
- /package/dist/paperless/{p-d4152f66.entry.js.map → p-fa78c45a.entry.js.map} +0 -0
|
@@ -26,10 +26,10 @@ export class Accordion {
|
|
|
26
26
|
*/
|
|
27
27
|
isOpen;
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'd2e37d05f1613dd53e323417a4a73d398ac82c27' }, h("div", { key: '4fea985a4506c4c48f2986c4c22c7278e7e843fd', class: cn('flex cursor-pointer items-center gap-2', {
|
|
30
30
|
'text-storm-500': this.variant === 'primary',
|
|
31
31
|
'text-storm-300': this.variant === 'secondary',
|
|
32
|
-
}), onClick: () => this._onClick() }, h("p-icon", { key: '
|
|
32
|
+
}), onClick: () => this._onClick() }, h("p-icon", { key: '77eb66daf9468d06c536bd9868e434d447a0d21e', class: 'flex shrink-0', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: '585cc245deef9fb7f0f91a5cacf3d7f638a2293e', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), h("p-divider", { key: 'cee11872f03df816c7124358c2ca6a3942c3c3dd', class: 'flex-1' })), this.open && (h("div", { key: '4d7b6fa6bbccfa8f5bb1772855c7addecd7be97f', class: 'mt-4' }, h("slot", { key: 'c9b7d4855de13d7afffd67743db971f7a80213c7' })))));
|
|
33
33
|
}
|
|
34
34
|
_onClick() {
|
|
35
35
|
if (!this.closeable && this.open) {
|
|
@@ -93,21 +93,21 @@ export class Attachment {
|
|
|
93
93
|
_fileRef;
|
|
94
94
|
_cameraFileRef;
|
|
95
95
|
render() {
|
|
96
|
-
let prefix = (h("p-icon", { key: '
|
|
96
|
+
let prefix = (h("p-icon", { key: 'ef9f92c1b9421cdaee48b464685814be3d0991b1', class: 'text-storm-300', variant: 'attachment' }));
|
|
97
97
|
if (this.error) {
|
|
98
|
-
prefix = (h("p-icon", { key: '
|
|
98
|
+
prefix = (h("p-icon", { key: 'bb274a448f58d535b0bc6219e642b8cfadc40990', variant: 'warning', class: 'text-negative-red-500' }));
|
|
99
99
|
}
|
|
100
100
|
// const isMobileDevice = isMobile();
|
|
101
101
|
const isMobileDevice = isTablet();
|
|
102
102
|
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
103
|
-
return (h(Fragment, { key: '
|
|
103
|
+
return (h(Fragment, { key: '0dae99f1c48de12fdfba2968983799af9e0b754c' }, h("p-field-container", { key: '3e99a6b8a9866f3c60a116d2d642ee43af8335e3', variant: 'write', label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: 'c61ae992d03dbf6d6daee456f98f0f6bfc9890f8', slot: 'content', class: 'flex w-full items-start gap-2' }, h("div", { key: '52cdb4acf0017bced4b438fffe3027a1087fb314', class: attachment({
|
|
104
104
|
click: this.mode === 'write' && !this.value?.length,
|
|
105
105
|
error: !!this.error?.length,
|
|
106
|
-
}), onClick: () => this._uploadClick() }, prefix, h("span", { key: '
|
|
106
|
+
}), onClick: () => this._uploadClick() }, prefix, h("span", { key: '4f1319740bb48888869a3f38b18d03a1eebfea2c', class: cn(baseText, 'peer empty:hidden') }, this.value), h("span", { key: '5bcf5788dfae682a5453e80c3f8a9d74815072cb', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: 'dc7f63beebb5972335d07daf641b0ce7f930986f', class: 'w-8', content: this.mode === 'read'
|
|
107
107
|
? this.downloadTooltip
|
|
108
108
|
: this.value?.length
|
|
109
109
|
? this.deleteTooltip
|
|
110
|
-
: this.uploadTooltip }, h("p-button", { key: '
|
|
110
|
+
: this.uploadTooltip }, h("p-button", { key: '5587300b92305a2d1e2f98da0d18cef2a8263b1f', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: this.mode === 'read'
|
|
111
111
|
? 'download'
|
|
112
112
|
: this.value?.length
|
|
113
113
|
? 'trash'
|
|
@@ -118,7 +118,7 @@ export class Attachment {
|
|
|
118
118
|
: this.delete).emit() })), this.enableCameraOnMobile &&
|
|
119
119
|
this.mode === 'write' &&
|
|
120
120
|
isMobileDevice &&
|
|
121
|
-
!this.value?.length && (h("p-tooltip", { key: '
|
|
121
|
+
!this.value?.length && (h("p-tooltip", { key: '1e3e3839c88e13e200d05a780e1d26acc6619025', content: this.cameraTooltip, class: 'w-8 desktop-xs:hidden' }, h("p-button", { key: '61e030a7e9e8168bf24dd1da25be13d34185c6f5', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: 'camera', onOnClick: () => this._cameraClick() }))))), h("input", { key: '3f6b962fc1c31ff37fdf7c73e632499c06a5b59a', class: 'hidden', type: 'file', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, ref: el => (this._fileRef = el), onChange: ev => this._onFileChange(ev) }), h("input", { key: '96d7b8fa5c9f50d071291a6fa3d8185c85574dae', class: 'hidden', type: 'file', accept: 'image/*', capture: 'true', ref: el => (this._cameraFileRef = el), onChange: ev => this._onFileChange(ev) })));
|
|
122
122
|
}
|
|
123
123
|
_uploadClick() {
|
|
124
124
|
if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
|
|
@@ -12,7 +12,7 @@ export class ButtonGroup {
|
|
|
12
12
|
this._checkButtons();
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '6849011685d17748cd4bf89366951a9849f64522', class: 'flex items-center' }, h("slot", { key: '8c2125dbcd5acdcfc50219ea973adb7ba34fc413' })));
|
|
16
16
|
}
|
|
17
17
|
slotchange() {
|
|
18
18
|
this._checkButtons();
|
|
@@ -175,7 +175,7 @@ export class Calendar {
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
render() {
|
|
178
|
-
return (h("div", { key: '
|
|
178
|
+
return (h("div", { key: '12ce0e7112f58b941d4ac2a07bab2b789a9937a9', class: calendar({ variant: this.variant }) }, this._getView()));
|
|
179
179
|
}
|
|
180
180
|
_checkTodayButton() {
|
|
181
181
|
if (this._maxDate && isAfter(this._today, this._maxDate)) {
|
|
@@ -47,9 +47,9 @@ export class ContentSlider {
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: 'b9e349c61110dedeaa3e94a8c1683808b071c8ae', class: 'p-content-slider' }, h("div", { key: '77818e653b59c0167c062479eb17f4aa1b45f23c', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
|
|
51
51
|
height: `${this._outerHeight}px`,
|
|
52
|
-
}, ref: el => (this._sliderRef = el), onMouseDown: e => this._mouseDownHandler(e), onTouchStart: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e) }, h("div", { key: '
|
|
52
|
+
}, ref: el => (this._sliderRef = el), onMouseDown: e => this._mouseDownHandler(e), onTouchStart: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e) }, h("div", { key: 'a8fa7d20d93d3bbec00e630549d942b5bc8fbd36', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '67599e1078d4f63e31271a27feb31895cc34c441', onSlotchange: () => this._slotChange() }))), h("div", { key: '4d0d9c52dbcc4bc5139e447b7f625ac204b4fba8', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._filteredItems.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("div", { class: cn('block h-2 w-2 rounded-full', {
|
|
53
53
|
'bg-indigo-600': i === this._visibleIndex,
|
|
54
54
|
'bg-indigo-300': i !== this._visibleIndex,
|
|
55
55
|
}) })))))));
|
|
@@ -36,7 +36,7 @@ export class Cropper {
|
|
|
36
36
|
}, 200);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: '73891600139dada5b090e2ce5ec0cd58a6304313', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: '9145012f667644418f424ce5b26fac90b811ce12', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700 bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: 'c34f7487ec31ef8d687cc533b332ddb900ccd277', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, translatable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: 'c7a376a8b8d39735dd2fb1bf9253d442f9c25cd2', class: 'aspect-branding rounded-full', "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '0425f0a5bffc8c154a2e73891ca990b3835f7217', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '53c33637e98e98c05cceb4b1c796b5bcfacba2ad', action: 'move', plain: true }))), h("p-range", { key: '35bbdec7f1b54c49691c086cec05a0c6608365f5', class: 'w-full px-14 tablet:max-w-xs tablet:px-1', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
|
|
40
40
|
}
|
|
41
41
|
_setImageRef(ref) {
|
|
42
42
|
if (this._imageRef) {
|
|
@@ -202,7 +202,7 @@ export class Datepicker {
|
|
|
202
202
|
this.parseValue(this.value);
|
|
203
203
|
}
|
|
204
204
|
render() {
|
|
205
|
-
return (h("p-dropdown", { key: '
|
|
205
|
+
return (h("p-dropdown", { key: '54a35d8bda73faf87404ee0b87f83300b5f305d8', allowOverflow: true, strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '021f621ef81f909333c98f267547fa71a2e87454', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, loading: this.loading, helper: this.helper, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: 'e7ee09df2d76b1d9655976d5d1aa263a2196f2e9', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden opacity-0', onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), h("div", { key: '337118c7bacf3ecf92e52c312d607be2a4d83886', slot: 'items' }, h("p-calendar", { key: 'a6bbf68d3527d303eebfd71145310c7009cceb8f', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, enableToday: this.enableToday, todayText: this.todayText, mode: this.mode }))));
|
|
206
206
|
}
|
|
207
207
|
documentClickHandler({ target }) {
|
|
208
208
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -115,11 +115,11 @@ export class Dropdown {
|
|
|
115
115
|
this._checkItems();
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
|
-
return (h(Host, { key: '
|
|
118
|
+
return (h(Host, { key: '6da309650d75bc405bf08bff879ae2a99bc49118', class: 'relative' }, h("div", { key: 'dbc9d10a612d8af79516006c404d32a1d950ebea', class: 'trigger', onClick: () => this._triggerClickHandler() }, h("slot", { key: '2185a9119d34299ec4766126f97b12744c4cefda', name: 'trigger' })), h("div", { key: '90a256c8b8432d2154e0bdb818b0740a4fb0a641', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: 'de4317aca95820d31801c29694e1c39510385439', variant: this.variant, maxWidth: this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, class: dropdownContainerClass({
|
|
119
119
|
strategy: this.strategy,
|
|
120
120
|
maxWidth: this.applyMaxWidth,
|
|
121
121
|
fullWidth: this.applyFullWidth && !this.applyMaxWidth,
|
|
122
|
-
}), ref: el => this._load(el), onClick: () => this._containerClickHandler(), role: 'popover', "data-placement": this.placement, "data-strategy": this.strategy }, h("slot", { key: '
|
|
122
|
+
}), ref: el => this._load(el), onClick: () => this._containerClickHandler(), role: 'popover', "data-placement": this.placement, "data-strategy": this.strategy }, h("slot", { key: 'e210733f18c7794bbe012996a4402a24b5fd1735', name: 'items' })))));
|
|
123
123
|
}
|
|
124
124
|
_checkButtons(active = false) {
|
|
125
125
|
if (!this.applyChevron) {
|
|
@@ -58,11 +58,11 @@ export class EmptyState {
|
|
|
58
58
|
const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
|
|
59
59
|
const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
|
|
60
60
|
const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
|
|
61
|
-
return (h("div", { key: '
|
|
61
|
+
return (h("div", { key: 'e253ccbae25a9827540b7a507226f6457fc392a0', class: emptyState({
|
|
62
62
|
enableAction: asBoolean(this.enableAction, true),
|
|
63
63
|
}), onClick: ev => this.enableAction && !this.actionLoading
|
|
64
64
|
? this.action.emit(ev)
|
|
65
|
-
: undefined }, this.illustration && (h("p-illustration", { key: '
|
|
65
|
+
: undefined }, this.illustration && (h("p-illustration", { key: '1719b632c75c7f33f0b9818691a2d45c9fd8de39', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-storm-500' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm font-normal text-storm-300' }, this.content))), this.enableAction &&
|
|
66
66
|
(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)))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "p-empty-state"; }
|
|
@@ -316,7 +316,7 @@ export class Field {
|
|
|
316
316
|
}
|
|
317
317
|
render() {
|
|
318
318
|
const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
|
|
319
|
-
return (h("p-field-container", { key: '
|
|
319
|
+
return (h("p-field-container", { key: 'edf29e9fd23f168988fceb00accec076f90a3166', forceShowTooltip: this.forceShowTooltip || this._focused || !!this.error?.length, id: id, label: this.label, align: this.align, loading: this.loading, loadingSize: this.size, helper: this.helper, error: this.error, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '952ba2a1dfd9bb57e65f3b992e54a521bb634048', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '345e234c0a3b8a08ecfb8ec968495fe573ce0ea4', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '3edf0e8d7a6f2a5d6fa23bea4779f7791eb394f6', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'f57448223003723d34f31834992d7e57ea1fa651', name: 'error', slot: 'error' })), h("div", { key: 'a83f383b6d9d3785899fad499399fc6517fc7fb5', class: field({
|
|
320
320
|
error: !!this.error?.length,
|
|
321
321
|
disabled: asBoolean(this.disabled),
|
|
322
322
|
focused: asBoolean(this.focused) || this._focused,
|
|
@@ -327,7 +327,7 @@ export class Field {
|
|
|
327
327
|
? `${this.value}`
|
|
328
328
|
: undefined, slot: 'content' }, (this.error?.length ||
|
|
329
329
|
prefix ||
|
|
330
|
-
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
330
|
+
(this.icon && this.iconPosition === 'start')) && (h("div", { key: '4162ebc0e667a4a4995ae8171cda44a268c67b18', class: prefixAndSuffix({
|
|
331
331
|
variant: this.variant,
|
|
332
332
|
error: !!this.error?.length,
|
|
333
333
|
disabled: asBoolean(this.disabled),
|
|
@@ -337,7 +337,7 @@ export class Field {
|
|
|
337
337
|
}), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
|
|
338
338
|
this.error?.length ? (h("p-icon", { class: cn('flex', {
|
|
339
339
|
'mt-1': this.variant === 'read' && this.size === 'base',
|
|
340
|
-
}), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
340
|
+
}), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '8e74b26866c95479e7aefa2cf19a15166514e335', class: prefixAndSuffix({
|
|
341
341
|
variant: this.variant,
|
|
342
342
|
error: !!this.error?.length,
|
|
343
343
|
disabled: asBoolean(this.disabled),
|
|
@@ -53,14 +53,14 @@ export class Label {
|
|
|
53
53
|
*/
|
|
54
54
|
keepMobileContent = false;
|
|
55
55
|
render() {
|
|
56
|
-
return (h("div", { key: '
|
|
56
|
+
return (h("div", { key: 'd2e807018525657070d427e0abcd37fecadca6d1', class: label({
|
|
57
57
|
variant: this.variant,
|
|
58
58
|
iconOnly: this.iconOnly,
|
|
59
59
|
keepMobileContent: this.keepMobileContent,
|
|
60
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
60
|
+
}) }, this.icon && (h("p-icon", { key: '1f4fae69fcf5af6ee6e1b43b7dae6a2d75018744', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '1afaf699ff7a08cc3373fd6fa7edcb62f5522cff', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium', {
|
|
61
61
|
hidden: !this.keepMobileContent,
|
|
62
62
|
'desktop-xs:block': !this.keepMobileContent,
|
|
63
|
-
}) }, h("slot", { key: '
|
|
63
|
+
}) }, h("slot", { key: 'a07a3e60802525a6bd2ff80b769a7156f51990f1' })))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "p-label"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -66,10 +66,10 @@ export class NavigationItem {
|
|
|
66
66
|
render() {
|
|
67
67
|
const TagType = this.as;
|
|
68
68
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'eb6b10ba66dba8fac446fe04d32508364e88f48f', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: 'e3bddc31268778ff0047606b0d5a041344eacfcf', class: navigationItem({
|
|
70
70
|
icon: !!this.icon,
|
|
71
71
|
active,
|
|
72
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
72
|
+
}), href: this.href, target: this.target }, h("div", { key: '7a4847681f1b1891caa3516a7300bb67f86573f8', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'd15ad1cdffa02057a0f54ffa294bcd464ff9ce59', variant: this.icon })), h("span", { key: '3f85e45d6a1de30cd9eb2a9d78ef07a55735e437', class: this.counter && 'has-counter' }, h("slot", { key: 'fd5979b6f1a79e972b26b59bd2cb09ff325a4bfa' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '942167259e3775c65702bf3caf3540632e6366d6' }, this.counter)), !!this.loading && h("p-loader", { key: '34e5a62bef8b27bd9796096749b63836f5fb802a', class: 'ml-auto' }))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "p-navigation-item"; }
|
|
75
75
|
static get originalStyleUrls() {
|
package/dist/collection/components/molecules/navigation/section/navigation-section.component.js
CHANGED
|
@@ -5,7 +5,7 @@ export class NavigationSection {
|
|
|
5
5
|
*/
|
|
6
6
|
header;
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: 'b5fd5eb8c323213f8f4e8a35356e3f02dc5274bb', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '8ef7d0eae599dcedc193888175226be9776cf5f6' }, this.header)), h("div", { key: '08fcb13e77b81da664133a11fa92833095e2c4ff', class: 'flex flex-col' }, h("slot", { key: 'f23a88ffd3b1a9c7c9811433f211b3f74c98baa2' }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "p-navigation-section"; }
|
|
11
11
|
static get originalStyleUrls() {
|
|
@@ -39,7 +39,7 @@ export class PaginationPages {
|
|
|
39
39
|
this._generate();
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'd57a07032260d58bac44e4107a29d9e1935925c8', class: pagination({
|
|
43
43
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
44
44
|
}) }, this._set?.map(p => {
|
|
45
45
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -59,12 +59,12 @@ export class Pagination {
|
|
|
59
59
|
_hasPaginationPages = true;
|
|
60
60
|
render() {
|
|
61
61
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
62
|
-
return (h("div", { key: '
|
|
62
|
+
return (h("div", { key: '1d6fa4eee108d6fb429fbd222880278e504fe5bd', class: pagination({
|
|
63
63
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
64
64
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
65
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '
|
|
65
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '6e6bcd8f70f0ab34b8373c4b7664061bd6b04e59' }, h("p-pagination-size", { key: '5c56ec9b539bde62cdaac2524713f2c7c1eb1254', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
66
66
|
this.hideOnSinglePage &&
|
|
67
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
67
|
+
this._hasPaginationPages && (h("p-divider", { key: '5d088202768ee9b0c14cedd97c75d06aa75b9f60', variant: 'vertical', class: 'mx-0 h-4 text-off-white-700' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: '6c6a67c1f6e46d1cd2c56efad2ba6e5cab36cefd', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
68
68
|
this._hasPaginationPages = detail > 1;
|
|
69
69
|
this.pagesChange.emit(detail);
|
|
70
70
|
} }))));
|
|
@@ -22,9 +22,9 @@ export class Range {
|
|
|
22
22
|
valueChange;
|
|
23
23
|
render() {
|
|
24
24
|
const percentage = Math.round((this.value / (this.max - this.min)) * 100);
|
|
25
|
-
return (h("div", { key: '
|
|
25
|
+
return (h("div", { key: 'd752a36ccbbd0f58e037efd7930f1383e990fdf1', class: 'flex w-inherit items-center gap-2 text-storm-300' }, h("p-icon", { key: '073a9283d49be1186521f2523ef34951d661e639', variant: 'minus' }), h("div", { key: 'ad06185fd986cbd65e12158ffba7be707a5f1dcb', class: 'relative h-6 flex-1' }, h("input", { key: '4077fb3587f98508dea3d0447d2ac965c7bcdcf8', type: 'range', min: this.min, max: this.max, step: this.step, value: this.value, onInput: ev => this.valueChange.emit(ev.target.value) }), h("div", { key: '6c7e786746ba2feec543d2aa53bdc67afd2cfc6e', class: 'z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform bg-indigo-600', style: {
|
|
26
26
|
width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
|
|
27
|
-
} })), h("p-icon", { key: '
|
|
27
|
+
} })), h("p-icon", { key: '74abe8e6c7bd8c75fa6813d0b02df8a589b3f0e3', variant: 'plus' })));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "p-range"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -305,7 +305,7 @@ export class Select {
|
|
|
305
305
|
if (this.error?.length) {
|
|
306
306
|
buttonIcon = 'warning';
|
|
307
307
|
}
|
|
308
|
-
return (h("p-field-container", { key: '
|
|
308
|
+
return (h("p-field-container", { key: 'ade8bf1d8ba4064793820482327dff8906a35eb3', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, showOptional: this.showOptional, error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown }, h("p-dropdown", { key: '015b145c15f659b318af58f193ffea092f4557ce', applyFullWidth: true, applyMaxWidth: false, slot: 'content', insideClick: true, manual: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), strategy: this.strategy }, h("p-button", { key: 'c07fe8d349a7bbbc8b33dcdd14b2231b5d4595d9', slot: 'trigger', class: 'w-full', variant: 'secondary', size: this.size, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, disabled: this.disabled, active: this._showDropdown, error: !!this.error?.length, icon: buttonIcon, onClick: ev => this._onClick(ev) }, h("div", { key: '83f16d864b540b3ae9cf59c17b2159a3d965b777', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
|
|
309
309
|
}
|
|
310
310
|
documentClickHandler(event) {
|
|
311
311
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -107,7 +107,7 @@ export class TableCell {
|
|
|
107
107
|
};
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
|
-
return (h(Host, { key: '
|
|
110
|
+
return (h(Host, { key: '437ab7bb8fcf49589162f78716e35b8cc4e9db7c', class: this._getColumnClasses() }, this.checkbox, this._getContent()));
|
|
111
111
|
}
|
|
112
112
|
_getContent() {
|
|
113
113
|
if (this.variant === 'loading') {
|
|
@@ -91,11 +91,11 @@ export class TableFooter {
|
|
|
91
91
|
this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 100);
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h("div", { key: '
|
|
94
|
+
return (h("div", { key: 'fb6580374d0dcdc950a169e0ceba8273e831cbe5', class: footer({
|
|
95
95
|
pinned: this._isPinned,
|
|
96
96
|
hidden: this._hidden,
|
|
97
97
|
}) }, (this.enablePaginationPages || this.enablePaginationSize) &&
|
|
98
|
-
this.total > 0 && (h("p-pagination", { key: '
|
|
98
|
+
this.total > 0 && (h("p-pagination", { key: '4f03e1e1a784bc6e20cf26c9403331ea28f80583', 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) }))));
|
|
99
99
|
}
|
|
100
100
|
_changePageSize(s) {
|
|
101
101
|
if (!s) {
|
|
@@ -76,13 +76,13 @@ export class TableRow {
|
|
|
76
76
|
*/
|
|
77
77
|
isLast = false;
|
|
78
78
|
render() {
|
|
79
|
-
return (h("div", { key: '
|
|
79
|
+
return (h("div", { key: '75fbf56b747248064a8e26c033519e1d69262bb9', class: 'flex flex-col' }, h("div", { key: '75570ddee613e585cb01e0c2c1b4038a54bbc6a7', class: row({
|
|
80
80
|
variant: this.variant,
|
|
81
81
|
enableHover: this.enableHover,
|
|
82
82
|
checked: this.checked,
|
|
83
|
-
}) }, h("div", { key: '
|
|
83
|
+
}) }, h("div", { key: '8c91b99838270bda5e51b646a78c40617715507a', class: content({
|
|
84
84
|
variant: this.variant,
|
|
85
|
-
}) }, h("slot", { key: '
|
|
85
|
+
}) }, h("slot", { key: '9c0cbe5be28dd17f95e39aad48ab98fc3439bd87' }), h("div", { key: '28f1a34812f4aa406a317f7fc24b8e52219fceb4', class: actions() }, h("slot", { key: 'd8dc24127cca3f4684294648c628bf33b1405821', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: 'b916221d7a8f65b8fb940051f8ee206dda562919' }))));
|
|
86
86
|
}
|
|
87
87
|
static get is() { return "p-table-row"; }
|
|
88
88
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,7 +48,7 @@ export class Toast {
|
|
|
48
48
|
*/
|
|
49
49
|
action;
|
|
50
50
|
render() {
|
|
51
|
-
return (h("div", { key: '
|
|
51
|
+
return (h("div", { key: '85632e290cceb8e44c1d846a542b4be4ae710b52', class: 'flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2 shadow-2', onClick: () => this._onClick() }, h("div", { key: '976492254a92d129114b39cc715a7ba4d284fb90', class: indicator({ variant: this.variant }) }), h("div", { key: '9eb4d859239ea6adead3ab1afdec23653643211c', class: content() }, h("div", { key: 'baae5161ccc1bd0f455b23dbf1388787cc32e4b0', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '3dc2c0e3c03ab3c037031dae236cdbeaa754eb6b', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-storm-500' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '8f54e9d6f8c8cc59278e943676cc2396e3ea79ca', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-storm-300' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: '27583758fc5639866d3195d9d2b1eacaa7111401', class: 'flex-shrink-0 cursor-pointer p-2 text-storm-200 hover:text-storm-500' }, h("p-icon", { key: '0916610b404ea9ce90d61ec203bcbbff43e01761', variant: this.actionIcon, flip: this.actionIconFlip, rotate: this.actionIconRotate }))))));
|
|
52
52
|
}
|
|
53
53
|
_onClick() {
|
|
54
54
|
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: '756a9669e83dcea5fd61cbfa8cead90e6c13d030', 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: '24ebcbc78316d665ee8b93d66eed96c810cc2e82', onSlotchange: () => this._generateLinesOnce() })));
|
|
25
25
|
}
|
|
26
26
|
_generateLinesOnce() {
|
|
27
27
|
if (this._generateTimeout) {
|
|
@@ -42,7 +42,7 @@ const backdrop = cva(['z-navbar-backdrop layout-1280:hidden transition-opacity r
|
|
|
42
42
|
export class Navbar {
|
|
43
43
|
_show = false;
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '18b587d46cf90a64839a92b384c0c846956ab719' }, h("p-backdrop", { key: '8fa1fc15cd2a3d73e184be1d8b05b00a2250a817', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: 'a86a6d8cb844535089dc0cfdd9e61be37f7a8aeb', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'c62d1a5e5b384ece436f73b5095bfcc32d2aa9a9', class: 'flex w-full items-center justify-end layout-1280:hidden' }, h("p-button", { key: '5d4344ea9d35b208e00a0a7c1d57653ab49ae869', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, onClick: () => (this._show = false) })), h("div", { key: '1884206f5a1a5252b13134c6bed820ff754c8e94', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: '3083671a2ce65ad3996d564852e605ccb3c8f3fd', name: 'company' })), h("div", { key: 'e1108ffe12ff5c29583133687ad4a03de9fdd422', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: '671825c57316a77c44bcfb7c9cf4cf0c3e139471', name: 'content' })), h("div", { key: 'c9b380a6bebe537ee52ef72f0575d9e0629a07ef', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: '863e5eca2a9e9dff830eece5f3e5a5d665767200', name: 'user' }))), h("div", { key: 'b505928cfbb0cbacf0821882b69d9bb28eff2d71', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'b01c8a60d3d5877ba959254093b252c5d7e0ad7b', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', onClick: () => (this._show = true) }), h("slot", { key: '4bccc7e1aa006b962fc13b117ec3a2657f2c81ca', name: 'topbar' }))));
|
|
46
46
|
}
|
|
47
47
|
handleCloseNavbar() {
|
|
48
48
|
this._show = false;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment } from './p-tdjn65Lz.js';
|
|
2
2
|
import { c as cva } from './p-CBWjHURv.js';
|
|
3
|
-
import { d as defineCustomElement$1, a as defaultSize, b as defaultSizeOptions } from './p-
|
|
4
|
-
import { d as defineCustomElement$9 } from './p-
|
|
5
|
-
import { d as defineCustomElement$8 } from './p-
|
|
6
|
-
import { d as defineCustomElement$7 } from './p-
|
|
7
|
-
import { d as defineCustomElement$6 } from './p-
|
|
8
|
-
import { d as defineCustomElement$5 } from './p-
|
|
3
|
+
import { d as defineCustomElement$1, a as defaultSize, b as defaultSizeOptions } from './p-DzLUScwc.js';
|
|
4
|
+
import { d as defineCustomElement$9 } from './p-CuGtA-02.js';
|
|
5
|
+
import { d as defineCustomElement$8 } from './p-Fa6eP7ZQ.js';
|
|
6
|
+
import { d as defineCustomElement$7 } from './p-B8Ai2EJn.js';
|
|
7
|
+
import { d as defineCustomElement$6 } from './p-DUJkO2n3.js';
|
|
8
|
+
import { d as defineCustomElement$5 } from './p-BfSo1qPy.js';
|
|
9
9
|
import { d as defineCustomElement$4 } from './p-BNz_LoMA.js';
|
|
10
|
-
import { d as defineCustomElement$3 } from './p-
|
|
11
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
+
import { d as defineCustomElement$3 } from './p-CCJc8g8_.js';
|
|
11
|
+
import { d as defineCustomElement$2 } from './p-BlwTel9F.js';
|
|
12
12
|
|
|
13
13
|
const paginationComponentCss = "*{box-sizing:border-box}.static{position:static!important}.mx-0{margin-left:0!important;margin-right:0!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.text-off-white-700{--tw-text-opacity:1!important;color:rgb(222 219 213/var(--tw-text-opacity,1))!important}";
|
|
14
14
|
|
|
@@ -78,12 +78,12 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends H {
|
|
|
78
78
|
_hasPaginationPages = true;
|
|
79
79
|
render() {
|
|
80
80
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
81
|
-
return (h("div", { key: '
|
|
81
|
+
return (h("div", { key: '1d6fa4eee108d6fb429fbd222880278e504fe5bd', class: pagination({
|
|
82
82
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
83
83
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
84
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '
|
|
84
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '6e6bcd8f70f0ab34b8373c4b7664061bd6b04e59' }, h("p-pagination-size", { key: '5c56ec9b539bde62cdaac2524713f2c7c1eb1254', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
85
85
|
this.hideOnSinglePage &&
|
|
86
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
86
|
+
this._hasPaginationPages && (h("p-divider", { key: '5d088202768ee9b0c14cedd97c75d06aa75b9f60', variant: 'vertical', class: 'mx-0 h-4 text-off-white-700' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: '6c6a67c1f6e46d1cd2c56efad2ba6e5cab36cefd', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
87
87
|
this._hasPaginationPages = detail > 1;
|
|
88
88
|
this.pagesChange.emit(detail);
|
|
89
89
|
} }))));
|
|
@@ -167,6 +167,6 @@ function defineCustomElement() {
|
|
|
167
167
|
defineCustomElement();
|
|
168
168
|
|
|
169
169
|
export { Pagination as P, defineCustomElement as d };
|
|
170
|
-
//# sourceMappingURL=p-
|
|
170
|
+
//# sourceMappingURL=p-3TP-UX-Y.js.map
|
|
171
171
|
|
|
172
|
-
//# sourceMappingURL=p-
|
|
172
|
+
//# sourceMappingURL=p-3TP-UX-Y.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-3TP-UX-Y.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/pagination/pagination/pagination.component.css?tag=p-pagination&encapsulation=shadow","src/components/molecules/pagination/pagination/pagination.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tFragment,\n\th,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { defaultSize, defaultSizeOptions } from '../size/constants';\n\nconst pagination = cva(\n\t[\n\t\t'p-pagination',\n\t\t'items-center gap-2',\n\t\t'rounded-full',\n\t\t'bg-off-white-300 border border-solid border-off-white-700',\n\t\t'p-1',\n\t],\n\t{\n\t\tvariants: {\n\t\t\thidden: {\n\t\t\t\tfalse: 'flex',\n\t\t\t\ttrue: 'hidden',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-pagination',\n\tstyleUrl: 'pagination.component.css',\n\tshadow: true,\n})\nexport class Pagination {\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = true;\n\n\t/**\n\t * Wether to enable pagination size select\n\t */\n\t@Prop() enablePaginationSize: boolean = true;\n\n\t/**\n\t * Wether to enable pagination pages\n\t */\n\t@Prop() enablePaginationPages: boolean = true;\n\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = defaultSize;\n\n\t/**\n\t * The options for the page size\n\t */\n\t@Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageSizeChange: EventEmitter<number>;\n\n\t/**\n\t * The pages that were generated\n\t */\n\t@Event({ bubbles: false }) pagesChange: EventEmitter<number>;\n\n\t@State() private _hasPaginationPages = true;\n\n\trender() {\n\t\tconst hidePageSizeSelect =\n\t\t\tthis.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={pagination({\n\t\t\t\t\thidden:\n\t\t\t\t\t\t(hidePageSizeSelect && !this._hasPaginationPages) ||\n\t\t\t\t\t\t(!this.enablePaginationSize && !this.enablePaginationPages),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.enablePaginationPages && this.enablePaginationSize && (\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<p-pagination-size\n\t\t\t\t\t\t\thidden={hidePageSizeSelect}\n\t\t\t\t\t\t\tsize={this.pageSize}\n\t\t\t\t\t\t\tsizeOptions={this.pageSizeOptions}\n\t\t\t\t\t\t\tonSizeChange={({ detail }) => this._changePageSize(detail)}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t{!hidePageSizeSelect &&\n\t\t\t\t\t\t\tthis.hideOnSinglePage &&\n\t\t\t\t\t\t\tthis._hasPaginationPages && (\n\t\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\t\tclass='mx-0 h-4 text-off-white-700'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t</Fragment>\n\t\t\t\t)}\n\n\t\t\t\t{this.enablePaginationPages && (\n\t\t\t\t\t<p-pagination-pages\n\t\t\t\t\t\tpageSize={this.pageSize}\n\t\t\t\t\t\ttotal={this.total}\n\t\t\t\t\t\tpage={this.page}\n\t\t\t\t\t\thideOnSinglePage={this.hideOnSinglePage}\n\t\t\t\t\t\tonPageChange={({ detail }) => this.pageChange.emit(detail)}\n\t\t\t\t\t\tonPagesChange={({ detail }) => {\n\t\t\t\t\t\t\tthis._hasPaginationPages = detail > 1;\n\t\t\t\t\t\t\tthis.pagesChange.emit(detail);\n\t\t\t\t\t\t}}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _changePageSize(s?: number) {\n\t\tif (!s) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.pageSize = s;\n\t\tthis.pageSizeChange.emit(this.pageSize);\n\t}\n}\n"],"version":3}
|
|
@@ -120,17 +120,17 @@ const StepperItem = /*@__PURE__*/ proxyCustomElement(class StepperItem extends H
|
|
|
120
120
|
*/
|
|
121
121
|
active = false;
|
|
122
122
|
render() {
|
|
123
|
-
return (h("div", { key: '
|
|
123
|
+
return (h("div", { key: '3fd869f7506b7254d517134e89d9daa35001cf46', class: item({
|
|
124
124
|
align: this.align,
|
|
125
125
|
contentPosition: this.contentPosition,
|
|
126
|
-
}) }, h("div", { key: '
|
|
126
|
+
}) }, h("div", { key: '9609e9a660acdbfd6db973373266372f39bb8223', class: circle({
|
|
127
127
|
active: asBoolean(this.active),
|
|
128
128
|
finished: asBoolean(this.finished),
|
|
129
|
-
}) }, this.number), h("div", { key: '
|
|
129
|
+
}) }, this.number), h("div", { key: 'b273741186d17faa16687a1a433a8733c4d0d079', class: content({
|
|
130
130
|
active: asBoolean(this.active),
|
|
131
131
|
finished: asBoolean(this.finished),
|
|
132
132
|
direction: this.direction,
|
|
133
|
-
}) }, h("slot", { key: '
|
|
133
|
+
}) }, h("slot", { key: '34a911fa51007c340916f46894cddce7cde05ec2' }))));
|
|
134
134
|
}
|
|
135
135
|
static get style() { return stepperItemComponentCss; }
|
|
136
136
|
}, [1, "p-stepper-item", {
|
|
@@ -157,6 +157,6 @@ function defineCustomElement() {
|
|
|
157
157
|
defineCustomElement();
|
|
158
158
|
|
|
159
159
|
export { StepperItem as S, defineCustomElement as d };
|
|
160
|
-
//# sourceMappingURL=p-
|
|
160
|
+
//# sourceMappingURL=p-B4inyr87.js.map
|
|
161
161
|
|
|
162
|
-
//# sourceMappingURL=p-
|
|
162
|
+
//# sourceMappingURL=p-B4inyr87.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-B4inyr87.js","mappings":"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","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/atoms/stepper/item/stepper-item.component.css?tag=p-stepper-item&encapsulation=shadow","src/components/atoms/stepper/item/stepper-item.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst item = cva('flex gap-2', {\n\tvariants: {\n\t\talign: {\n\t\t\tstart: 'items-start',\n\t\t\tcenter: 'items-center',\n\t\t\tend: 'items-end',\n\t\t},\n\t\tcontentPosition: {\n\t\t\tstart: 'flex-row-reverse',\n\t\t\tend: null,\n\t\t},\n\t},\n});\n\nconst circle = cva(\n\t[\n\t\t'h-6 w-6 flex items-center justify-center',\n\t\t'text-sm text-center font-medium',\n\t\t'border border-solid border-indigo-600',\n\t\t'rounded-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tfinished: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tfinished: false,\n\t\t\t\tactive: false,\n\t\t\t\tclass: 'text-indigo-600 bg-indigo-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tactive: true,\n\t\t\t\tfinished: false,\n\t\t\t\tclass: 'text-white bg-indigo-600',\n\t\t\t},\n\t\t\t{\n\t\t\t\tactive: false,\n\t\t\t\tfinished: true,\n\t\t\t\tclass: 'text-white bg-indigo-600',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst content = cva('text-sm font-medium flex-1 mt-[1px]', {\n\tvariants: {\n\t\tfinished: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null,\n\t\t},\n\t\tdirection: {\n\t\t\thorizontal: null,\n\t\t\tvertical: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tfinished: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-storm-400',\n\t\t},\n\t\t{\n\t\t\tactive: true,\n\t\t\tfinished: false,\n\t\t\tclass: 'text-storm-500',\n\t\t},\n\t\t{\n\t\t\tactive: false,\n\t\t\tfinished: true,\n\t\t\tclass: 'text-storm-500',\n\t\t},\n\t\t{\n\t\t\tdirection: 'horizontal',\n\t\t\tactive: false,\n\t\t\tclass: 'hidden desktop-xs:inline-block',\n\t\t},\n\t],\n});\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.css',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The number of the step\n\t */\n\t@Prop() number: number = 1;\n\n\t/**\n\t * The direction of the item\n\t */\n\t@Prop() direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The alignment of the content in case of vertical direction\n\t */\n\t@Prop() align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop() contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop() finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={item({\n\t\t\t\t\talign: this.align,\n\t\t\t\t\tcontentPosition: this.contentPosition,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div\n\t\t\t\t\tclass={circle({\n\t\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\t\tfinished: asBoolean(this.finished),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.number}\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\tclass={content({\n\t\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\t\tfinished: asBoolean(this.finished),\n\t\t\t\t\t\tdirection: this.direction,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"version":3}
|