@paperless/core 2.0.1-beta.112 → 2.0.1-beta.113
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 +12 -0
- package/dist/build/{p-456a3099.entry.js → p-05791ffa.entry.js} +2 -2
- package/dist/build/{p-899f7d36.entry.js → p-0a0ef10d.entry.js} +2 -2
- package/dist/{paperless/p-9ef541e4.entry.js → build/p-0ffe0165.entry.js} +2 -2
- package/dist/build/p-11b1e718.entry.js +2 -0
- package/dist/{paperless/p-57acc6a7.entry.js.map → build/p-11b1e718.entry.js.map} +1 -1
- package/dist/build/{p-7b7366dc.entry.js → p-1bde15ae.entry.js} +2 -2
- package/dist/build/{p-4b6b1355.entry.js → p-1c9405d8.entry.js} +2 -2
- package/dist/build/{p-f82506c3.entry.js → p-21fb542a.entry.js} +2 -2
- package/dist/build/{p-0dc168c5.entry.js → p-26b75731.entry.js} +2 -2
- package/dist/build/p-3b14bbef.entry.js +2 -0
- package/dist/build/p-3cf73b2c.js +2 -0
- package/dist/{paperless/p-5dcdb2d0.entry.js → build/p-41949138.entry.js} +2 -2
- package/dist/build/{p-dae4a24d.entry.js → p-4205f7e2.entry.js} +2 -2
- package/dist/{paperless/p-26491670.entry.js → build/p-476985ba.entry.js} +2 -2
- package/dist/build/p-4c6e5337.entry.js +2 -0
- package/dist/build/p-505650b6.entry.js +2 -0
- package/dist/build/p-53e0b8a1.entry.js +2 -0
- package/dist/build/p-53e0b8a1.entry.js.map +1 -0
- package/dist/build/{p-4fb83e8d.entry.js → p-6620dc05.entry.js} +2 -2
- package/dist/{paperless/p-f4c0923b.entry.js → build/p-697c465d.entry.js} +2 -2
- package/dist/build/{p-58efc94c.entry.js → p-6cddddb7.entry.js} +2 -2
- package/dist/build/{p-74dba9db.entry.js → p-72eb70f4.entry.js} +2 -2
- package/dist/{paperless/p-a8f60c0c.entry.js → build/p-7c7e6f26.entry.js} +2 -2
- package/dist/build/{p-17ae0ec7.entry.js → p-7f4d26c4.entry.js} +2 -2
- package/dist/build/{p-4ac9e128.entry.js → p-8cc3f69f.entry.js} +2 -2
- package/dist/build/p-922fba03.entry.js +2 -0
- package/dist/{paperless/p-73bfb4b5.entry.js.map → build/p-922fba03.entry.js.map} +1 -1
- package/dist/build/p-929b47c9.entry.js +2 -0
- package/dist/build/{p-f932bde5.entry.js → p-96cb3e48.entry.js} +2 -2
- package/dist/build/p-96cd5cff.entry.js +2 -0
- package/dist/build/p-96cd5cff.entry.js.map +1 -0
- package/dist/{paperless/p-c7c3d389.entry.js → build/p-9da1d488.entry.js} +2 -2
- package/dist/{paperless/p-d5cba5af.entry.js → build/p-a3da31c4.entry.js} +2 -2
- package/dist/build/{p-d3102227.entry.js → p-adfddeb6.entry.js} +2 -2
- package/dist/build/p-b08f490b.entry.js +2 -0
- package/dist/build/p-b08f490b.entry.js.map +1 -0
- package/dist/build/p-b1b12e88.entry.js +2 -0
- package/dist/build/p-b1b12e88.entry.js.map +1 -0
- package/dist/build/{p-c62477c2.entry.js → p-bc366236.entry.js} +2 -2
- package/dist/build/p-bce08b0e.entry.js +2 -0
- package/dist/build/{p-c585d909.entry.js → p-c9c0ae8d.entry.js} +2 -2
- package/dist/build/{p-0a6e3e6f.entry.js → p-d37e0e66.entry.js} +2 -2
- package/dist/build/p-d4f4fe62.entry.js +2 -0
- package/dist/build/p-d4f4fe62.entry.js.map +1 -0
- package/dist/build/{p-f9efc1e5.entry.js → p-d894e0b1.entry.js} +2 -2
- package/dist/build/{p-222abd40.entry.js → p-df7f9328.entry.js} +2 -2
- package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/build/{p-7435c88e.entry.js → p-e526cd42.entry.js} +2 -2
- package/dist/{paperless/p-b8797794.entry.js → build/p-e63adc0d.entry.js} +2 -2
- package/dist/build/p-ed2e7409.entry.js +2 -0
- package/dist/build/p-fd4a25eb.entry.js +2 -0
- package/dist/build/p-fd4a25eb.entry.js.map +1 -0
- package/dist/build/p-listing-item.entry.esm.js.map +1 -0
- package/dist/build/p-listing-line.entry.esm.js.map +1 -0
- package/dist/build/p-listing.entry.esm.js.map +1 -0
- package/dist/build/p-stepper-item.entry.esm.js.map +1 -1
- package/dist/build/p-stepper-line.entry.esm.js.map +1 -1
- package/dist/build/p-stepper.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-BDuPp9vl.js +12 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +4 -4
- 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_4.cjs.entry.js +4 -4
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-counter.cjs.entry.js +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
- package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
- package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-empty-state_9.cjs.entry.js +10 -10
- package/dist/cjs/p-field_2.cjs.entry.js +3 -3
- package/dist/cjs/p-helper_2.cjs.entry.js +4 -4
- package/dist/cjs/p-input-error.cjs.entry.js +1 -1
- package/dist/cjs/p-input-group.cjs.entry.js +3 -3
- 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 +24 -0
- package/dist/cjs/p-listing-item.cjs.entry.js.map +1 -0
- package/dist/cjs/p-listing-item.entry.cjs.js.map +1 -0
- package/dist/cjs/p-listing-line.cjs.entry.js +20 -0
- package/dist/cjs/p-listing-line.cjs.entry.js.map +1 -0
- package/dist/cjs/p-listing-line.entry.cjs.js.map +1 -0
- package/dist/cjs/p-listing.cjs.entry.js +83 -0
- package/dist/cjs/p-listing.cjs.entry.js.map +1 -0
- package/dist/cjs/p-listing.entry.cjs.js.map +1 -0
- 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-portal.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- package/dist/cjs/p-status.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.js +89 -6
- package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-line.entry.cjs.js.map +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +53 -15
- package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper.entry.cjs.js.map +1 -1
- 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 +3 -3
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +7 -4
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.css +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -1
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.css +1 -1
- package/dist/collection/components/atoms/listing/item/listing-item.component.css +1 -0
- package/dist/collection/components/atoms/listing/item/listing-item.component.js +53 -0
- package/dist/collection/components/atoms/listing/item/listing-item.component.js.map +1 -0
- package/dist/collection/components/atoms/listing/line/listing-line.component.css +1 -0
- package/dist/collection/components/atoms/listing/line/listing-line.component.js +19 -0
- package/dist/collection/components/atoms/listing/line/listing-line.component.js.map +1 -0
- 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.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/stepper/item/stepper-item.component.js +107 -25
- package/dist/collection/components/atoms/stepper/item/stepper-item.component.js.map +1 -0
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/stepper/line/stepper-line.component.js +2 -2
- package/dist/collection/components/atoms/stepper/line/stepper-line.component.js.map +1 -0
- 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.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/deprecated/atoms/counter/counter.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +1 -1
- package/dist/collection/components/deprecated/atoms/status/status.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +4 -4
- package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +3 -3
- package/dist/collection/components/helpers/portal/portal.component.js +1 -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/datepicker/datepicker.component.js +2 -2
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
- 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/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.css +1 -0
- package/dist/collection/components/organisms/listing/listing.component.js +86 -0
- package/dist/collection/components/organisms/listing/listing.component.js.map +1 -0
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/components/organisms/stepper/stepper.component.css +1 -0
- package/dist/collection/components/{deprecated/molecules → organisms}/stepper/stepper.component.js +79 -18
- package/dist/collection/components/organisms/stepper/stepper.component.js.map +1 -0
- package/dist/components/{p-CzS_7d0-.js → p-BELUs4d5.js} +10 -10
- package/dist/components/{p-CzS_7d0-.js.map → p-BELUs4d5.js.map} +1 -1
- package/dist/components/{p-DAKWnFmC.js → p-BIf14u2D.js} +4 -4
- package/dist/components/{p-DAKWnFmC.js.map → p-BIf14u2D.js.map} +1 -1
- package/dist/components/{p-DPhqMOrK.js → p-BPkSg0bc.js} +3 -3
- package/dist/components/{p-DPhqMOrK.js.map → p-BPkSg0bc.js.map} +1 -1
- package/dist/components/{p-BudlHU1j.js → p-BYnq9fQl.js} +3 -3
- package/dist/components/{p-BudlHU1j.js.map → p-BYnq9fQl.js.map} +1 -1
- package/dist/components/{p-BDTPyUsH.js → p-BmuXuYR6.js} +4 -4
- package/dist/components/{p-BDTPyUsH.js.map → p-BmuXuYR6.js.map} +1 -1
- package/dist/components/{p-D82K4OiU.js → p-C0yOzPit.js} +3 -3
- package/dist/components/{p-D82K4OiU.js.map → p-C0yOzPit.js.map} +1 -1
- package/dist/components/p-C1FkmkFJ.js +45 -0
- package/dist/components/p-C1FkmkFJ.js.map +1 -0
- package/dist/components/{p-Dk6UwJSA.js → p-C7OuWaSr.js} +3 -3
- package/dist/components/{p-Dk6UwJSA.js.map → p-C7OuWaSr.js.map} +1 -1
- package/dist/components/{p-CFdbv-t4.js → p-CKc3SL1J.js} +4 -4
- package/dist/components/{p-CFdbv-t4.js.map → p-CKc3SL1J.js.map} +1 -1
- package/dist/components/{p-BFBgml7D.js → p-CSIFLNsS.js} +3 -3
- package/dist/components/{p-BFBgml7D.js.map → p-CSIFLNsS.js.map} +1 -1
- package/dist/components/{p-Y_DTiNRB.js → p-CSMO4KRK.js} +9 -9
- package/dist/components/{p-Y_DTiNRB.js.map → p-CSMO4KRK.js.map} +1 -1
- package/dist/components/{p-BUxcWSGM.js → p-CUgIFdxM.js} +3 -3
- package/dist/components/{p-BUxcWSGM.js.map → p-CUgIFdxM.js.map} +1 -1
- package/dist/components/{p-Be33-vpq.js → p-CXH4yAMZ.js} +4 -4
- package/dist/components/{p-Be33-vpq.js.map → p-CXH4yAMZ.js.map} +1 -1
- package/dist/components/{p-BbqAQmy1.js → p-CYGYOpps.js} +5 -5
- package/dist/components/{p-BbqAQmy1.js.map → p-CYGYOpps.js.map} +1 -1
- package/dist/components/{p-kF4ExBgt.js → p-C_t2sBf3.js} +3 -3
- package/dist/components/{p-kF4ExBgt.js.map → p-C_t2sBf3.js.map} +1 -1
- package/dist/components/{p-DdhFjzWp.js → p-CxHSXAkq.js} +4 -4
- package/dist/components/{p-DdhFjzWp.js.map → p-CxHSXAkq.js.map} +1 -1
- package/dist/components/{p-DzrmryZi.js → p-CzmLJq-j.js} +9 -9
- package/dist/components/{p-DzrmryZi.js.map → p-CzmLJq-j.js.map} +1 -1
- package/dist/components/{p-DW90RovU.js → p-D2Em0Yy7.js} +7 -7
- package/dist/components/{p-DW90RovU.js.map → p-D2Em0Yy7.js.map} +1 -1
- package/dist/components/{p-BMeOy477.js → p-DH9lFbRX.js} +4 -4
- package/dist/components/{p-BMeOy477.js.map → p-DH9lFbRX.js.map} +1 -1
- package/dist/components/{p-CmfFRlg6.js → p-DNuBtBUG.js} +7 -7
- package/dist/components/{p-CmfFRlg6.js.map → p-DNuBtBUG.js.map} +1 -1
- package/dist/components/{p-CScTNJWS.js → p-DQsUJhL8.js} +4 -4
- package/dist/components/{p-CScTNJWS.js.map → p-DQsUJhL8.js.map} +1 -1
- package/dist/components/{p-CgZvkWTt.js → p-DdK27Obl.js} +3 -3
- package/dist/components/{p-CgZvkWTt.js.map → p-DdK27Obl.js.map} +1 -1
- package/dist/components/{p-RaBHKmcm.js → p-DeKgadpt.js} +5 -5
- package/dist/components/{p-RaBHKmcm.js.map → p-DeKgadpt.js.map} +1 -1
- package/dist/components/{p--HfTtLkP.js → p-DoBSOpu3.js} +3 -3
- package/dist/components/{p--HfTtLkP.js.map → p-DoBSOpu3.js.map} +1 -1
- package/dist/components/p-ElOvIDKN.js +34 -0
- package/dist/components/p-ElOvIDKN.js.map +1 -0
- package/dist/components/{p-BwFkgAPO.js → p-Ma26TfrN.js} +4 -4
- package/dist/components/{p-BwFkgAPO.js.map → p-Ma26TfrN.js.map} +1 -1
- package/dist/components/{p-8rB2Q4yP.js → p-ZBndlSp5.js} +4 -4
- package/dist/components/{p-8rB2Q4yP.js.map → p-ZBndlSp5.js.map} +1 -1
- package/dist/components/{p-OpZXFNRZ.js → p-abTHpIy3.js} +3 -3
- package/dist/components/{p-OpZXFNRZ.js.map → p-abTHpIy3.js.map} +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +7 -7
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-content-slider.js +3 -3
- package/dist/components/p-counter.js +1 -1
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/{p-Dhj0ynsI.js → p-dHqdW8fy.js} +4 -4
- package/dist/components/{p-Dhj0ynsI.js.map → p-dHqdW8fy.js.map} +1 -1
- package/dist/components/p-datepicker.js +9 -9
- 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.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/p-input-error.js +1 -1
- package/dist/components/p-input-group.js +7 -7
- package/dist/components/p-label.js +3 -3
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-listing-item.d.ts +11 -0
- package/dist/components/p-listing-item.js +49 -0
- package/dist/components/p-listing-item.js.map +1 -0
- package/dist/components/p-listing-line.d.ts +11 -0
- package/dist/components/p-listing-line.js +9 -0
- package/dist/components/p-listing-line.js.map +1 -0
- package/dist/components/p-listing.d.ts +11 -0
- package/dist/components/p-listing.js +106 -0
- package/dist/components/p-listing.js.map +1 -0
- 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 +5 -5
- 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-DPJZQYRZ.js → p-oN2NV1VP.js} +3 -3
- package/dist/components/{p-DPJZQYRZ.js.map → p-oN2NV1VP.js.map} +1 -1
- package/dist/components/{p-wcD-x4l2.js → p-olyt1_RK.js} +3 -3
- package/dist/components/{p-wcD-x4l2.js.map → p-olyt1_RK.js.map} +1 -1
- package/dist/components/{p-C1YLcCva.js → p-p2WG_YKz.js} +5 -5
- package/dist/components/{p-C1YLcCva.js.map → p-p2WG_YKz.js.map} +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-portal.js +1 -1
- package/dist/components/p-profile.js +2 -2
- package/dist/components/p-radio.js +3 -3
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +7 -7
- package/dist/components/p-slider-indicator.js +1 -1
- package/dist/components/p-smile.js +1 -1
- package/dist/components/p-status.js +2 -2
- package/dist/components/p-stepper-item.js +95 -19
- package/dist/components/p-stepper-item.js.map +1 -1
- package/dist/components/p-stepper-line.js +1 -1
- package/dist/components/p-stepper.js +59 -19
- package/dist/components/p-stepper.js.map +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 +19 -19
- package/dist/components/{p-DRQQENvx.js → p-tf3ZTq-9.js} +10 -10
- package/dist/components/{p-DRQQENvx.js.map → p-tf3ZTq-9.js.map} +1 -1
- package/dist/components/p-toast-container.js +2 -2
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +3 -3
- package/dist/components/p-tooltip.js +1 -1
- package/dist/esm/index-DhGo7hbh.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +1 -1
- package/dist/esm/p-attachment.entry.js +4 -4
- 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_4.entry.js +4 -4
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-counter.entry.js +1 -1
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +2 -2
- package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +3 -3
- package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
- package/dist/esm/p-empty-state_9.entry.js +10 -10
- package/dist/esm/p-field_2.entry.js +3 -3
- package/dist/esm/p-helper_2.entry.js +4 -4
- package/dist/esm/p-input-error.entry.js +1 -1
- package/dist/esm/p-input-group.entry.js +3 -3
- 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 +22 -0
- package/dist/esm/p-listing-item.entry.js.map +1 -0
- package/dist/esm/p-listing-line.entry.js +18 -0
- package/dist/esm/p-listing-line.entry.js.map +1 -0
- package/dist/esm/p-listing.entry.js +81 -0
- package/dist/esm/p-listing.entry.js.map +1 -0
- 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-portal.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-slider-indicator.entry.js +1 -1
- package/dist/esm/p-smile.entry.js +1 -1
- package/dist/esm/p-status.entry.js +2 -2
- package/dist/esm/p-stepper-item.entry.js +90 -7
- package/dist/esm/p-stepper-item.entry.js.map +1 -1
- package/dist/esm/p-stepper-line.entry.js +2 -2
- package/dist/esm/p-stepper-line.entry.js.map +1 -1
- package/dist/esm/p-stepper.entry.js +54 -16
- package/dist/esm/p-stepper.entry.js.map +1 -1
- 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 +3 -3
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/{p-456a3099.entry.js → p-05791ffa.entry.js} +2 -2
- package/dist/paperless/{p-899f7d36.entry.js → p-0a0ef10d.entry.js} +2 -2
- package/dist/{build/p-9ef541e4.entry.js → paperless/p-0ffe0165.entry.js} +2 -2
- package/dist/paperless/p-11b1e718.entry.js +2 -0
- package/dist/{build/p-57acc6a7.entry.js.map → paperless/p-11b1e718.entry.js.map} +1 -1
- package/dist/paperless/{p-7b7366dc.entry.js → p-1bde15ae.entry.js} +2 -2
- package/dist/paperless/{p-4b6b1355.entry.js → p-1c9405d8.entry.js} +2 -2
- package/dist/paperless/{p-f82506c3.entry.js → p-21fb542a.entry.js} +2 -2
- package/dist/paperless/{p-0dc168c5.entry.js → p-26b75731.entry.js} +2 -2
- package/dist/paperless/p-3b14bbef.entry.js +2 -0
- package/dist/{build/p-5dcdb2d0.entry.js → paperless/p-41949138.entry.js} +2 -2
- package/dist/paperless/{p-dae4a24d.entry.js → p-4205f7e2.entry.js} +2 -2
- package/dist/{build/p-26491670.entry.js → paperless/p-476985ba.entry.js} +2 -2
- package/dist/paperless/p-4c6e5337.entry.js +2 -0
- package/dist/paperless/p-505650b6.entry.js +2 -0
- package/dist/paperless/p-53e0b8a1.entry.js +2 -0
- package/dist/paperless/p-53e0b8a1.entry.js.map +1 -0
- package/dist/paperless/{p-4fb83e8d.entry.js → p-6620dc05.entry.js} +2 -2
- package/dist/{build/p-f4c0923b.entry.js → paperless/p-697c465d.entry.js} +2 -2
- package/dist/paperless/{p-58efc94c.entry.js → p-6cddddb7.entry.js} +2 -2
- package/dist/paperless/{p-74dba9db.entry.js → p-72eb70f4.entry.js} +2 -2
- package/dist/{build/p-a8f60c0c.entry.js → paperless/p-7c7e6f26.entry.js} +2 -2
- package/dist/paperless/{p-17ae0ec7.entry.js → p-7f4d26c4.entry.js} +2 -2
- package/dist/paperless/{p-4ac9e128.entry.js → p-8cc3f69f.entry.js} +2 -2
- package/dist/paperless/p-922fba03.entry.js +2 -0
- package/dist/{build/p-73bfb4b5.entry.js.map → paperless/p-922fba03.entry.js.map} +1 -1
- package/dist/paperless/p-929b47c9.entry.js +2 -0
- package/dist/paperless/{p-f932bde5.entry.js → p-96cb3e48.entry.js} +2 -2
- package/dist/paperless/p-96cd5cff.entry.js +2 -0
- package/dist/paperless/p-96cd5cff.entry.js.map +1 -0
- package/dist/{build/p-c7c3d389.entry.js → paperless/p-9da1d488.entry.js} +2 -2
- package/dist/{build/p-d5cba5af.entry.js → paperless/p-a3da31c4.entry.js} +2 -2
- package/dist/paperless/{p-d3102227.entry.js → p-adfddeb6.entry.js} +2 -2
- package/dist/paperless/p-b08f490b.entry.js +2 -0
- package/dist/paperless/p-b08f490b.entry.js.map +1 -0
- package/dist/paperless/p-b1b12e88.entry.js +2 -0
- package/dist/paperless/p-b1b12e88.entry.js.map +1 -0
- package/dist/paperless/{p-c62477c2.entry.js → p-bc366236.entry.js} +2 -2
- package/dist/paperless/p-bce08b0e.entry.js +2 -0
- package/dist/paperless/{p-c585d909.entry.js → p-c9c0ae8d.entry.js} +2 -2
- package/dist/paperless/{p-0a6e3e6f.entry.js → p-d37e0e66.entry.js} +2 -2
- package/dist/paperless/p-d4f4fe62.entry.js +2 -0
- package/dist/paperless/p-d4f4fe62.entry.js.map +1 -0
- package/dist/paperless/{p-f9efc1e5.entry.js → p-d894e0b1.entry.js} +2 -2
- package/dist/paperless/{p-222abd40.entry.js → p-df7f9328.entry.js} +2 -2
- package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/paperless/{p-7435c88e.entry.js → p-e526cd42.entry.js} +2 -2
- package/dist/{build/p-b8797794.entry.js → paperless/p-e63adc0d.entry.js} +2 -2
- package/dist/paperless/p-ed2e7409.entry.js +2 -0
- package/dist/paperless/p-fd4a25eb.entry.js +2 -0
- package/dist/paperless/p-fd4a25eb.entry.js.map +1 -0
- package/dist/paperless/p-listing-item.entry.esm.js.map +1 -0
- package/dist/paperless/p-listing-line.entry.esm.js.map +1 -0
- package/dist/paperless/p-listing.entry.esm.js.map +1 -0
- package/dist/paperless/p-stepper-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-stepper-line.entry.esm.js.map +1 -1
- package/dist/paperless/p-stepper.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/listing/item/listing-item.component.d.ts +8 -0
- package/dist/types/components/atoms/listing/line/listing-line.component.d.ts +3 -0
- package/dist/types/components/{deprecated/atoms → atoms}/stepper/item/stepper-item.component.d.ts +4 -4
- package/dist/types/components/organisms/listing/listing.component.d.ts +14 -0
- package/dist/types/components/{deprecated/molecules → organisms}/stepper/stepper.component.d.ts +6 -0
- package/dist/types/components.d.ts +65 -10
- package/package.json +1 -1
- package/dist/build/p-0859bb42.entry.js +0 -2
- package/dist/build/p-0859bb42.entry.js.map +0 -1
- package/dist/build/p-0a6b03d0.entry.js +0 -2
- package/dist/build/p-0b6db18f.entry.js +0 -2
- package/dist/build/p-13b16981.entry.js +0 -2
- package/dist/build/p-13b16981.entry.js.map +0 -1
- package/dist/build/p-41f2eec6.entry.js +0 -2
- package/dist/build/p-41f2eec6.entry.js.map +0 -1
- package/dist/build/p-449cde91.js +0 -2
- package/dist/build/p-57acc6a7.entry.js +0 -2
- package/dist/build/p-70de0ecc.entry.js +0 -2
- package/dist/build/p-73bfb4b5.entry.js +0 -2
- package/dist/build/p-82751d58.entry.js +0 -2
- package/dist/build/p-d6e8bf36.entry.js +0 -2
- package/dist/build/p-e2ee74a9.entry.js +0 -2
- package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/stepper/stepper.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/stepper/stepper.component.js.map +0 -1
- package/dist/components/p-RLs2w_87.js +0 -45
- package/dist/components/p-RLs2w_87.js.map +0 -1
- package/dist/paperless/p-0859bb42.entry.js +0 -2
- package/dist/paperless/p-0859bb42.entry.js.map +0 -1
- package/dist/paperless/p-0a6b03d0.entry.js +0 -2
- package/dist/paperless/p-0b6db18f.entry.js +0 -2
- package/dist/paperless/p-13b16981.entry.js +0 -2
- package/dist/paperless/p-13b16981.entry.js.map +0 -1
- package/dist/paperless/p-41f2eec6.entry.js +0 -2
- package/dist/paperless/p-41f2eec6.entry.js.map +0 -1
- package/dist/paperless/p-57acc6a7.entry.js +0 -2
- package/dist/paperless/p-70de0ecc.entry.js +0 -2
- package/dist/paperless/p-73bfb4b5.entry.js +0 -2
- package/dist/paperless/p-82751d58.entry.js +0 -2
- package/dist/paperless/p-d6e8bf36.entry.js +0 -2
- package/dist/paperless/p-e2ee74a9.entry.js +0 -2
- /package/dist/build/{p-456a3099.entry.js.map → p-05791ffa.entry.js.map} +0 -0
- /package/dist/build/{p-899f7d36.entry.js.map → p-0a0ef10d.entry.js.map} +0 -0
- /package/dist/build/{p-9ef541e4.entry.js.map → p-0ffe0165.entry.js.map} +0 -0
- /package/dist/build/{p-7b7366dc.entry.js.map → p-1bde15ae.entry.js.map} +0 -0
- /package/dist/build/{p-4b6b1355.entry.js.map → p-1c9405d8.entry.js.map} +0 -0
- /package/dist/build/{p-f82506c3.entry.js.map → p-21fb542a.entry.js.map} +0 -0
- /package/dist/build/{p-0dc168c5.entry.js.map → p-26b75731.entry.js.map} +0 -0
- /package/dist/build/{p-82751d58.entry.js.map → p-3b14bbef.entry.js.map} +0 -0
- /package/dist/build/{p-5dcdb2d0.entry.js.map → p-41949138.entry.js.map} +0 -0
- /package/dist/build/{p-dae4a24d.entry.js.map → p-4205f7e2.entry.js.map} +0 -0
- /package/dist/build/{p-26491670.entry.js.map → p-476985ba.entry.js.map} +0 -0
- /package/dist/build/{p-70de0ecc.entry.js.map → p-4c6e5337.entry.js.map} +0 -0
- /package/dist/build/{p-0a6b03d0.entry.js.map → p-505650b6.entry.js.map} +0 -0
- /package/dist/build/{p-4fb83e8d.entry.js.map → p-6620dc05.entry.js.map} +0 -0
- /package/dist/build/{p-f4c0923b.entry.js.map → p-697c465d.entry.js.map} +0 -0
- /package/dist/build/{p-58efc94c.entry.js.map → p-6cddddb7.entry.js.map} +0 -0
- /package/dist/build/{p-74dba9db.entry.js.map → p-72eb70f4.entry.js.map} +0 -0
- /package/dist/build/{p-a8f60c0c.entry.js.map → p-7c7e6f26.entry.js.map} +0 -0
- /package/dist/build/{p-17ae0ec7.entry.js.map → p-7f4d26c4.entry.js.map} +0 -0
- /package/dist/build/{p-4ac9e128.entry.js.map → p-8cc3f69f.entry.js.map} +0 -0
- /package/dist/build/{p-0b6db18f.entry.js.map → p-929b47c9.entry.js.map} +0 -0
- /package/dist/build/{p-f932bde5.entry.js.map → p-96cb3e48.entry.js.map} +0 -0
- /package/dist/build/{p-c7c3d389.entry.js.map → p-9da1d488.entry.js.map} +0 -0
- /package/dist/build/{p-d5cba5af.entry.js.map → p-a3da31c4.entry.js.map} +0 -0
- /package/dist/build/{p-d3102227.entry.js.map → p-adfddeb6.entry.js.map} +0 -0
- /package/dist/build/{p-c62477c2.entry.js.map → p-bc366236.entry.js.map} +0 -0
- /package/dist/build/{p-e2ee74a9.entry.js.map → p-bce08b0e.entry.js.map} +0 -0
- /package/dist/build/{p-c585d909.entry.js.map → p-c9c0ae8d.entry.js.map} +0 -0
- /package/dist/build/{p-0a6e3e6f.entry.js.map → p-d37e0e66.entry.js.map} +0 -0
- /package/dist/build/{p-f9efc1e5.entry.js.map → p-d894e0b1.entry.js.map} +0 -0
- /package/dist/build/{p-222abd40.entry.js.map → p-df7f9328.entry.js.map} +0 -0
- /package/dist/build/{p-7435c88e.entry.js.map → p-e526cd42.entry.js.map} +0 -0
- /package/dist/build/{p-b8797794.entry.js.map → p-e63adc0d.entry.js.map} +0 -0
- /package/dist/build/{p-d6e8bf36.entry.js.map → p-ed2e7409.entry.js.map} +0 -0
- /package/dist/paperless/{p-456a3099.entry.js.map → p-05791ffa.entry.js.map} +0 -0
- /package/dist/paperless/{p-899f7d36.entry.js.map → p-0a0ef10d.entry.js.map} +0 -0
- /package/dist/paperless/{p-9ef541e4.entry.js.map → p-0ffe0165.entry.js.map} +0 -0
- /package/dist/paperless/{p-7b7366dc.entry.js.map → p-1bde15ae.entry.js.map} +0 -0
- /package/dist/paperless/{p-4b6b1355.entry.js.map → p-1c9405d8.entry.js.map} +0 -0
- /package/dist/paperless/{p-f82506c3.entry.js.map → p-21fb542a.entry.js.map} +0 -0
- /package/dist/paperless/{p-0dc168c5.entry.js.map → p-26b75731.entry.js.map} +0 -0
- /package/dist/paperless/{p-82751d58.entry.js.map → p-3b14bbef.entry.js.map} +0 -0
- /package/dist/paperless/{p-5dcdb2d0.entry.js.map → p-41949138.entry.js.map} +0 -0
- /package/dist/paperless/{p-dae4a24d.entry.js.map → p-4205f7e2.entry.js.map} +0 -0
- /package/dist/paperless/{p-26491670.entry.js.map → p-476985ba.entry.js.map} +0 -0
- /package/dist/paperless/{p-70de0ecc.entry.js.map → p-4c6e5337.entry.js.map} +0 -0
- /package/dist/paperless/{p-0a6b03d0.entry.js.map → p-505650b6.entry.js.map} +0 -0
- /package/dist/paperless/{p-4fb83e8d.entry.js.map → p-6620dc05.entry.js.map} +0 -0
- /package/dist/paperless/{p-f4c0923b.entry.js.map → p-697c465d.entry.js.map} +0 -0
- /package/dist/paperless/{p-58efc94c.entry.js.map → p-6cddddb7.entry.js.map} +0 -0
- /package/dist/paperless/{p-74dba9db.entry.js.map → p-72eb70f4.entry.js.map} +0 -0
- /package/dist/paperless/{p-a8f60c0c.entry.js.map → p-7c7e6f26.entry.js.map} +0 -0
- /package/dist/paperless/{p-17ae0ec7.entry.js.map → p-7f4d26c4.entry.js.map} +0 -0
- /package/dist/paperless/{p-4ac9e128.entry.js.map → p-8cc3f69f.entry.js.map} +0 -0
- /package/dist/paperless/{p-0b6db18f.entry.js.map → p-929b47c9.entry.js.map} +0 -0
- /package/dist/paperless/{p-f932bde5.entry.js.map → p-96cb3e48.entry.js.map} +0 -0
- /package/dist/paperless/{p-c7c3d389.entry.js.map → p-9da1d488.entry.js.map} +0 -0
- /package/dist/paperless/{p-d5cba5af.entry.js.map → p-a3da31c4.entry.js.map} +0 -0
- /package/dist/paperless/{p-d3102227.entry.js.map → p-adfddeb6.entry.js.map} +0 -0
- /package/dist/paperless/{p-c62477c2.entry.js.map → p-bc366236.entry.js.map} +0 -0
- /package/dist/paperless/{p-e2ee74a9.entry.js.map → p-bce08b0e.entry.js.map} +0 -0
- /package/dist/paperless/{p-c585d909.entry.js.map → p-c9c0ae8d.entry.js.map} +0 -0
- /package/dist/paperless/{p-0a6e3e6f.entry.js.map → p-d37e0e66.entry.js.map} +0 -0
- /package/dist/paperless/{p-f9efc1e5.entry.js.map → p-d894e0b1.entry.js.map} +0 -0
- /package/dist/paperless/{p-222abd40.entry.js.map → p-df7f9328.entry.js.map} +0 -0
- /package/dist/paperless/{p-7435c88e.entry.js.map → p-e526cd42.entry.js.map} +0 -0
- /package/dist/paperless/{p-b8797794.entry.js.map → p-e63adc0d.entry.js.map} +0 -0
- /package/dist/paperless/{p-d6e8bf36.entry.js.map → p-ed2e7409.entry.js.map} +0 -0
- /package/dist/types/components/{deprecated/atoms → atoms}/stepper/line/stepper-line.component.d.ts +0 -0
package/dist/types/components/{deprecated/atoms → atoms}/stepper/item/stepper-item.component.d.ts
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export declare class StepperItem {
|
|
2
2
|
/**
|
|
3
|
-
* The
|
|
3
|
+
* The number of the step
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
number: number;
|
|
6
6
|
/**
|
|
7
|
-
* The
|
|
7
|
+
* The alignment of the content in case of vertical direction
|
|
8
8
|
*/
|
|
9
|
-
|
|
9
|
+
align: 'start' | 'center' | 'end';
|
|
10
10
|
/**
|
|
11
11
|
* The position of the content in case of vertical direction
|
|
12
12
|
*/
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class Listing {
|
|
2
|
+
/**
|
|
3
|
+
* The host element
|
|
4
|
+
*/
|
|
5
|
+
private _el;
|
|
6
|
+
private _generateTimeout;
|
|
7
|
+
private _resizeObserver;
|
|
8
|
+
private _generateStepsOnce;
|
|
9
|
+
private _generateSteps;
|
|
10
|
+
private _setListingLineData;
|
|
11
|
+
componentDidLoad(): void;
|
|
12
|
+
disconnectCallback(): void;
|
|
13
|
+
render(): any;
|
|
14
|
+
}
|
package/dist/types/components/{deprecated/molecules → organisms}/stepper/stepper.component.d.ts
RENAMED
|
@@ -11,6 +11,10 @@ export declare class Stepper {
|
|
|
11
11
|
* The direction of the stepper
|
|
12
12
|
*/
|
|
13
13
|
direction: 'horizontal' | 'vertical';
|
|
14
|
+
/**
|
|
15
|
+
* The alignment of the content in case of vertical direction
|
|
16
|
+
*/
|
|
17
|
+
align: 'start' | 'center' | 'end';
|
|
14
18
|
/**
|
|
15
19
|
* The position of the content in case of vertical direction
|
|
16
20
|
*/
|
|
@@ -27,5 +31,7 @@ export declare class Stepper {
|
|
|
27
31
|
componentDidLoad(): void;
|
|
28
32
|
disconnectCallback(): void;
|
|
29
33
|
render(): any;
|
|
34
|
+
protected _onAlignChange(): void;
|
|
35
|
+
protected _onDirectionChange(): void;
|
|
30
36
|
protected _onActiveStepChange(): void;
|
|
31
37
|
}
|
|
@@ -1055,6 +1055,16 @@ export namespace Components {
|
|
|
1055
1055
|
*/
|
|
1056
1056
|
"variant": 'default' | 'login' | 'office';
|
|
1057
1057
|
}
|
|
1058
|
+
interface PListing {
|
|
1059
|
+
}
|
|
1060
|
+
interface PListingItem {
|
|
1061
|
+
/**
|
|
1062
|
+
* The icon of the step
|
|
1063
|
+
*/
|
|
1064
|
+
"icon": IconVariant;
|
|
1065
|
+
}
|
|
1066
|
+
interface PListingLine {
|
|
1067
|
+
}
|
|
1058
1068
|
interface PLoader {
|
|
1059
1069
|
/**
|
|
1060
1070
|
* Color of the loader
|
|
@@ -1526,6 +1536,10 @@ export namespace Components {
|
|
|
1526
1536
|
* The currently active step
|
|
1527
1537
|
*/
|
|
1528
1538
|
"activeStep": number;
|
|
1539
|
+
/**
|
|
1540
|
+
* The alignment of the content in case of vertical direction
|
|
1541
|
+
*/
|
|
1542
|
+
"align": 'start' | 'center' | 'end';
|
|
1529
1543
|
/**
|
|
1530
1544
|
* The position of the content in case of vertical direction
|
|
1531
1545
|
*/
|
|
@@ -1545,21 +1559,21 @@ export namespace Components {
|
|
|
1545
1559
|
*/
|
|
1546
1560
|
"active": boolean;
|
|
1547
1561
|
/**
|
|
1548
|
-
* The alignment of the
|
|
1562
|
+
* The alignment of the content in case of vertical direction
|
|
1549
1563
|
*/
|
|
1550
1564
|
"align": 'start' | 'center' | 'end';
|
|
1551
1565
|
/**
|
|
1552
1566
|
* The position of the content in case of vertical direction
|
|
1553
1567
|
*/
|
|
1554
1568
|
"contentPosition": 'start' | 'end';
|
|
1555
|
-
/**
|
|
1556
|
-
* The direction of the stepper step
|
|
1557
|
-
*/
|
|
1558
|
-
"direction": 'horizontal' | 'vertical';
|
|
1559
1569
|
/**
|
|
1560
1570
|
* Wether the step is finished
|
|
1561
1571
|
*/
|
|
1562
1572
|
"finished": boolean;
|
|
1573
|
+
/**
|
|
1574
|
+
* The number of the step
|
|
1575
|
+
*/
|
|
1576
|
+
"number": number;
|
|
1563
1577
|
}
|
|
1564
1578
|
interface PStepperLine {
|
|
1565
1579
|
/**
|
|
@@ -2629,6 +2643,24 @@ declare global {
|
|
|
2629
2643
|
prototype: HTMLPLayoutElement;
|
|
2630
2644
|
new (): HTMLPLayoutElement;
|
|
2631
2645
|
};
|
|
2646
|
+
interface HTMLPListingElement extends Components.PListing, HTMLStencilElement {
|
|
2647
|
+
}
|
|
2648
|
+
var HTMLPListingElement: {
|
|
2649
|
+
prototype: HTMLPListingElement;
|
|
2650
|
+
new (): HTMLPListingElement;
|
|
2651
|
+
};
|
|
2652
|
+
interface HTMLPListingItemElement extends Components.PListingItem, HTMLStencilElement {
|
|
2653
|
+
}
|
|
2654
|
+
var HTMLPListingItemElement: {
|
|
2655
|
+
prototype: HTMLPListingItemElement;
|
|
2656
|
+
new (): HTMLPListingItemElement;
|
|
2657
|
+
};
|
|
2658
|
+
interface HTMLPListingLineElement extends Components.PListingLine, HTMLStencilElement {
|
|
2659
|
+
}
|
|
2660
|
+
var HTMLPListingLineElement: {
|
|
2661
|
+
prototype: HTMLPListingLineElement;
|
|
2662
|
+
new (): HTMLPListingLineElement;
|
|
2663
|
+
};
|
|
2632
2664
|
interface HTMLPLoaderElement extends Components.PLoader, HTMLStencilElement {
|
|
2633
2665
|
}
|
|
2634
2666
|
var HTMLPLoaderElement: {
|
|
@@ -3097,6 +3129,9 @@ declare global {
|
|
|
3097
3129
|
"p-input-group": HTMLPInputGroupElement;
|
|
3098
3130
|
"p-label": HTMLPLabelElement;
|
|
3099
3131
|
"p-layout": HTMLPLayoutElement;
|
|
3132
|
+
"p-listing": HTMLPListingElement;
|
|
3133
|
+
"p-listing-item": HTMLPListingItemElement;
|
|
3134
|
+
"p-listing-line": HTMLPListingLineElement;
|
|
3100
3135
|
"p-loader": HTMLPLoaderElement;
|
|
3101
3136
|
"p-modal": HTMLPModalElement;
|
|
3102
3137
|
"p-modal-body": HTMLPModalBodyElement;
|
|
@@ -4233,6 +4268,16 @@ declare namespace LocalJSX {
|
|
|
4233
4268
|
*/
|
|
4234
4269
|
"variant"?: 'default' | 'login' | 'office';
|
|
4235
4270
|
}
|
|
4271
|
+
interface PListing {
|
|
4272
|
+
}
|
|
4273
|
+
interface PListingItem {
|
|
4274
|
+
/**
|
|
4275
|
+
* The icon of the step
|
|
4276
|
+
*/
|
|
4277
|
+
"icon"?: IconVariant;
|
|
4278
|
+
}
|
|
4279
|
+
interface PListingLine {
|
|
4280
|
+
}
|
|
4236
4281
|
interface PLoader {
|
|
4237
4282
|
/**
|
|
4238
4283
|
* Color of the loader
|
|
@@ -4764,6 +4809,10 @@ declare namespace LocalJSX {
|
|
|
4764
4809
|
* The currently active step
|
|
4765
4810
|
*/
|
|
4766
4811
|
"activeStep"?: number;
|
|
4812
|
+
/**
|
|
4813
|
+
* The alignment of the content in case of vertical direction
|
|
4814
|
+
*/
|
|
4815
|
+
"align"?: 'start' | 'center' | 'end';
|
|
4767
4816
|
/**
|
|
4768
4817
|
* The position of the content in case of vertical direction
|
|
4769
4818
|
*/
|
|
@@ -4783,21 +4832,21 @@ declare namespace LocalJSX {
|
|
|
4783
4832
|
*/
|
|
4784
4833
|
"active"?: boolean;
|
|
4785
4834
|
/**
|
|
4786
|
-
* The alignment of the
|
|
4835
|
+
* The alignment of the content in case of vertical direction
|
|
4787
4836
|
*/
|
|
4788
4837
|
"align"?: 'start' | 'center' | 'end';
|
|
4789
4838
|
/**
|
|
4790
4839
|
* The position of the content in case of vertical direction
|
|
4791
4840
|
*/
|
|
4792
4841
|
"contentPosition"?: 'start' | 'end';
|
|
4793
|
-
/**
|
|
4794
|
-
* The direction of the stepper step
|
|
4795
|
-
*/
|
|
4796
|
-
"direction"?: 'horizontal' | 'vertical';
|
|
4797
4842
|
/**
|
|
4798
4843
|
* Wether the step is finished
|
|
4799
4844
|
*/
|
|
4800
4845
|
"finished"?: boolean;
|
|
4846
|
+
/**
|
|
4847
|
+
* The number of the step
|
|
4848
|
+
*/
|
|
4849
|
+
"number"?: number;
|
|
4801
4850
|
}
|
|
4802
4851
|
interface PStepperLine {
|
|
4803
4852
|
/**
|
|
@@ -5451,6 +5500,9 @@ declare namespace LocalJSX {
|
|
|
5451
5500
|
"p-input-group": PInputGroup;
|
|
5452
5501
|
"p-label": PLabel;
|
|
5453
5502
|
"p-layout": PLayout;
|
|
5503
|
+
"p-listing": PListing;
|
|
5504
|
+
"p-listing-item": PListingItem;
|
|
5505
|
+
"p-listing-line": PListingLine;
|
|
5454
5506
|
"p-loader": PLoader;
|
|
5455
5507
|
"p-modal": PModal;
|
|
5456
5508
|
"p-modal-body": PModalBody;
|
|
@@ -5538,6 +5590,9 @@ declare module "@stencil/core" {
|
|
|
5538
5590
|
"p-input-group": LocalJSX.PInputGroup & JSXBase.HTMLAttributes<HTMLPInputGroupElement>;
|
|
5539
5591
|
"p-label": LocalJSX.PLabel & JSXBase.HTMLAttributes<HTMLPLabelElement>;
|
|
5540
5592
|
"p-layout": LocalJSX.PLayout & JSXBase.HTMLAttributes<HTMLPLayoutElement>;
|
|
5593
|
+
"p-listing": LocalJSX.PListing & JSXBase.HTMLAttributes<HTMLPListingElement>;
|
|
5594
|
+
"p-listing-item": LocalJSX.PListingItem & JSXBase.HTMLAttributes<HTMLPListingItemElement>;
|
|
5595
|
+
"p-listing-line": LocalJSX.PListingLine & JSXBase.HTMLAttributes<HTMLPListingLineElement>;
|
|
5541
5596
|
"p-loader": LocalJSX.PLoader & JSXBase.HTMLAttributes<HTMLPLoaderElement>;
|
|
5542
5597
|
"p-modal": LocalJSX.PModal & JSXBase.HTMLAttributes<HTMLPModalElement>;
|
|
5543
5598
|
"p-modal-body": LocalJSX.PModalBody & JSXBase.HTMLAttributes<HTMLPModalBodyElement>;
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as r}from"./p-DhGo7hbh.js";const i=".absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-0{top:0!important}.order-2{order:2!important}.ml-0{margin-left:0!important}.mr-4{margin-right:1rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-4{width:1rem!important}.w-full{width:100%!important}.min-w-\\[calc\\(100\\%-2rem\\)\\]{min-width:calc(100% - 2rem)!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(0 255 0/var(--tw-bg-opacity,1))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{align-items:flex-end;display:flex;justify-content:center;position:relative;width:100%}:host .content{--tw-text-opacity:1;color:rgb(0 255 255/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;min-width:calc(100% - 2rem);white-space:nowrap}:host .circle{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(0 255 0/var(--tw-bg-opacity,1));border-radius:9999px;color:rgb(255 255 255/var(--tw-text-opacity,1));display:flex;flex-shrink:0;height:1rem;justify-content:center;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host .circle p-icon{display:flex!important;font-size:.625rem}:host([direction=horizontal]){flex:0;height:2.5rem}:host([direction=horizontal]) .content{min-width:0;order:1;position:absolute;top:0}:host([direction=horizontal]) .circle{order:2}:host([direction=vertical]){align-items:center;min-height:1rem}:host([direction=vertical]) .content{margin-left:1rem;order:2}:host([direction=vertical]) .circle{order:1}:host([active]) .content,:host([finished]) .content{--tw-text-opacity:1;color:rgb(255 192 203/var(--tw-text-opacity,1))}:host([active]) .circle,:host([finished]) .circle{--tw-bg-opacity:1;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))}:host([direction=horizontal][align=start]) .content{left:0}:host([direction=horizontal][align=end]) .content{right:0}:host([direction=horizontal][align=center]) .content{--tw-translate-x:-50%;left:50%;text-align:center;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host([direction=vertical][content-position=start]){flex-direction:row-reverse}:host([direction=vertical][content-position=start]) .content{display:flex;justify-content:flex-end;margin-left:0;margin-right:1rem}.static{position:static!important}";const o=class{constructor(e){t(this,e)}align="center";direction="horizontal";contentPosition="end";finished=false;active=false;render(){return e(r,{key:"00b12417594b4549a7cf81325c4cc96d8f0210c2",class:"p-stepper-item"},e("div",{key:"d0e45b771c701974859771fa1e785bd3ee70d4ea",class:"circle"},this.finished&&e("p-icon",{key:"7b911928983e885ad0cb8b589b50491f2c9bb917",variant:"checkmark"})),e("div",{key:"e3be25a34e07e51c39d2a45e13a8678d32327c7c",class:"content"},e("slot",{key:"684ab813c54847a46de04d0413af98b1c438b7ab",name:"content"})))}};o.style=i;export{o as p_stepper_item};
|
|
2
|
-
//# sourceMappingURL=p-0859bb42.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stepperItemComponentCss","StepperItem","align","direction","contentPosition","finished","active","render","h","Host","key","class","this","variant","name"],"sources":["src/components/deprecated/atoms/stepper/item/stepper-item.component.scss?tag=p-stepper-item&encapsulation=shadow","src/components/deprecated/atoms/stepper/item/stepper-item.component.tsx"],"sourcesContent":[":host {\n\t@apply relative flex w-full items-end justify-center;\n\n\t.content {\n\t\t@apply min-w-[calc(100%-2rem)] whitespace-nowrap;\n\t\t@apply text-sm text-storm-light;\n\t}\n\n\t.circle {\n\t\t@apply transition duration-500 ease-in-out;\n\t\t@apply flex items-center justify-center flex-shrink-0;\n\t\t@apply h-4 w-4 rounded-full;\n\t\t@apply bg-mystic-dark text-white;\n\n\t\tp-icon {\n\t\t\t@apply flex #{!important};\n\t\t\tfont-size: 0.625rem;\n\t\t}\n\t}\n}\n\n:host([direction='horizontal']) {\n\tflex: 0;\n\t@apply h-10;\n\n\t.content {\n\t\t@apply absolute top-0 min-w-0;\n\t\t@apply order-1;\n\t}\n\n\t.circle {\n\t\t@apply order-2;\n\t}\n}\n\n:host([direction='vertical']) {\n\t@apply min-h-[1rem] items-center;\n\n\t.content {\n\t\t@apply order-2 ml-4;\n\t}\n\n\t.circle {\n\t\t@apply order-1;\n\t}\n}\n\n:host([active]),\n:host([finished]) {\n\t.content {\n\t\t@apply text-indigo;\n\t}\n\n\t.circle {\n\t\t@apply bg-indigo;\n\t}\n}\n\n:host([direction='horizontal'][align='start']) {\n\t.content {\n\t\t@apply left-0;\n\t}\n}\n\n:host([direction='horizontal'][align='end']) {\n\t.content {\n\t\t@apply right-0;\n\t}\n}\n\n:host([direction='horizontal'][align='center']) {\n\t.content {\n\t\t@apply left-1/2 -translate-x-1/2 transform text-center;\n\t}\n}\n\n:host([direction='vertical'][content-position='start']) {\n\t@apply flex-row-reverse;\n\n\t.content {\n\t\t@apply ml-0 mr-4 flex justify-end;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.scss',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The alignment of the step content\n\t */\n\t@Prop({ reflect: true }) align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The direction of the stepper step\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop({ reflect: true }) finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-stepper-item\">\n\t\t\t\t<div class=\"circle\">\n\t\t\t\t\t{this.finished && <p-icon variant=\"checkmark\" />}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAA0B,i2G,MCOnBC,EAAW,M,yBAIEC,MAAoC,SAKpCC,UACxB,aAKwBC,gBAAmC,MAKnCC,SAAoB,MAKpBC,OAAkB,MAE3C,MAAAC,GACC,OACCC,EAACC,EAAK,CAAAC,IAAA,2CAAAC,MAAM,kBACXH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,UACTC,KAAKP,UAAYG,EAAQ,UAAAE,IAAA,2CAAAG,QAAQ,eAEnCL,EAAK,OAAAE,IAAA,2CAAAC,MAAM,WACVH,EAAA,QAAAE,IAAA,2CAAMI,KAAK,a","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as a}from"./p-DhGo7hbh.js";const o="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.gap-2{gap:.5rem!important}";const i=class{constructor(t){e(this,t)}header;render(){return t(a,{key:"2d6be2c8ff3ded760dfa38814d41798e34e668bd",class:"p-navigation-section flex flex-col gap-2"},this.header?.length>0&&t("p-navigation-title",{key:"811de7004feeb785fb30bdff062e150c1733bc0f"},this.header),t("div",{key:"97c9e1701288c4a4e56205800eafc0638ef5252c",class:"flex flex-col"},t("slot",{key:"5a11e97a2c4c38393c625e626665572aea79d106"})))}};i.style=o;export{i as p_navigation_section};
|
|
2
|
-
//# sourceMappingURL=p-0a6b03d0.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as a,H as e}from"./p-DhGo7hbh.js";const o="*{box-sizing:border-box}.static{position:static!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";const i=class{constructor(a){t(this,a)}render(){return a(e,{key:"eb18e6b6cb338e7a1492a2f1730760f065a497a9",class:"p-navigation-title text-xs font-medium text-black-teal-300"},a("slot",{key:"e98dd025038ddf4c893eaca629c3cc5c5b20dfdc"}))}};i.style=o;export{i as p_navigation_title};
|
|
2
|
-
//# sourceMappingURL=p-0b6db18f.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,g as e,h as i,H as s}from"./p-DhGo7hbh.js";const n=".flex{display:flex!important}.h-auto{height:auto!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}*{box-sizing:border-box}:host{display:flex}:host([direction=horizontal]){align-items:flex-end;height:auto}:host([direction=vertical]){align-items:flex-start;flex-direction:column;flex-wrap:wrap;width:100%}:host([direction=vertical][content-position=start]){align-items:flex-end}.static{position:static!important}";const r=class{constructor(e){t(this,e)}activeStep=1;enableAutoStatus=true;direction="horizontal";contentPosition="end";get _el(){return e(this)}_generateTimeout;_resizeObserver;_generateStepsOnce=()=>{if(this._generateTimeout){clearTimeout(this._generateTimeout);this._generateTimeout=null}this._generateTimeout=setTimeout((()=>this._generateSteps()),50)};_generateSteps=async()=>{if(!this._el){return}let t=this.activeStep-1||0;const e=this._el.querySelectorAll("p-stepper-item");let i=false;for(let s=0;s<e?.length;s++){const n=e.item(s);if(this.enableAutoStatus){n.active=s===t;n.finished=s<t}if(!this.activeStep||t<0){if(n.active){t=s}if(t<0&&n.finished){t=s+1}}if(n.direction!==this.direction&&!i){i=true}n.direction=this.direction;n.align=this.direction==="vertical"?"start":s===0?"start":s===e?.length-1?"end":"center";n.contentPosition=this.contentPosition}if(i){await new Promise((t=>setTimeout(t,200)))}for(let i=0;i<e?.length;i++){const s=e.item(i);if(i<e.length-1){let e=s.nextElementSibling;if(e&&e.tagName.toLowerCase()==="p-stepper-item"){const n=document.createElement("p-stepper-line");this._el.insertBefore(n,e);this._setStepperLineData(n,s,e,i,t);const r=n.previousElementSibling;if(r&&r.tagName.toLowerCase()==="p-stepper-line"){r.remove()}continue}if(e&&e.tagName.toLowerCase()==="p-stepper-line"){const n=e;e=e.nextElementSibling;if(e&&e.tagName.toLowerCase()==="p-stepper-item"){this._setStepperLineData(n,s,e,i,t)}}}if(i>0){const t=s.previousElementSibling;if(t&&t.tagName.toLowerCase()==="p-stepper-line"){t.direction=this.direction;t.active=s.active||s.finished}}}const s=this._el.querySelectorAll("p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child");for(let t=s.length-1;t>=0;t--){const e=s.item(t);e.remove()}};_setStepperLineData=(t,e,i,s,n)=>{const r=e.clientHeight/2;const o=i.clientHeight/2;t.direction=this.direction;t.active=s<n;if(r>0&&this.direction==="vertical"){t.style.marginTop=`-${r/16}rem`;t.style.marginBottom=`-${o/16}rem`;t.style.minHeight=`calc(1rem + ${(r+o)/16}rem)`}};componentDidLoad(){this._resizeObserver=new ResizeObserver((()=>this._generateStepsOnce()));this._resizeObserver.observe(this._el)}disconnectCallback(){if(this._resizeObserver){this._resizeObserver.disconnect()}}render(){return i(s,{key:"b28e2468eadad29e85e2201f95c83a57e545821f",class:"p-stepper"},i("slot",{key:"c6b310552a73de9351ea74ac406f876a91f3cf46",onSlotchange:()=>this._generateStepsOnce()}))}_onActiveStepChange(){this._generateStepsOnce()}static get watchers(){return{activeStep:["_onActiveStepChange"]}}};r.style=n;export{r as p_stepper};
|
|
2
|
-
//# sourceMappingURL=p-13b16981.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stepperComponentCss","Stepper","activeStep","enableAutoStatus","direction","contentPosition","_generateTimeout","_resizeObserver","_generateStepsOnce","this","clearTimeout","setTimeout","_generateSteps","async","_el","items","querySelectorAll","directionChanged","i","length","item","active","finished","align","Promise","resolve","nextItem","nextElementSibling","tagName","toLowerCase","stepperLine","document","createElement","insertBefore","_setStepperLineData","previous","previousElementSibling","remove","previousItem","lines","j","line","heightDiff","clientHeight","heightDiffNext","style","marginTop","marginBottom","minHeight","componentDidLoad","ResizeObserver","observe","disconnectCallback","disconnect","render","h","Host","key","class","onSlotchange","_onActiveStepChange"],"sources":["src/components/deprecated/molecules/stepper/stepper.component.scss?tag=p-stepper&encapsulation=shadow","src/components/deprecated/molecules/stepper/stepper.component.tsx"],"sourcesContent":[":host {\n\t@apply flex;\n}\n\n:host([direction='horizontal']) {\n\t@apply h-auto items-end;\n}\n\n:host([direction='vertical']) {\n\t@apply flex-col flex-wrap items-start;\n\t@apply w-full;\n}\n\n:host([direction='vertical'][content-position='start']) {\n\t@apply items-end;\n}\n","import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper',\n\tstyleUrl: 'stepper.component.scss',\n\tshadow: true,\n})\nexport class Stepper {\n\t/**\n\t * The currently active step\n\t */\n\t@Prop() activeStep: number = 1;\n\n\t/**\n\t * Wether to automatically apply active & finished to items\n\t */\n\t@Prop() enableAutoStatus: boolean = true;\n\n\t/**\n\t * The direction of the stepper\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _generateTimeout: NodeJS.Timeout | undefined;\n\tprivate _resizeObserver: ResizeObserver;\n\n\tprivate _generateStepsOnce = () => {\n\t\tif (this._generateTimeout) {\n\t\t\tclearTimeout(this._generateTimeout);\n\t\t\tthis._generateTimeout = null;\n\t\t}\n\n\t\tthis._generateTimeout = setTimeout(() => this._generateSteps(), 50);\n\t};\n\n\tprivate _generateSteps = async () => {\n\t\tif (!this._el) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet activeStep = this.activeStep - 1 || 0;\n\t\tconst items = this._el.querySelectorAll('p-stepper-item');\n\n\t\tlet directionChanged = false;\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\tif (this.enableAutoStatus) {\n\t\t\t\titem.active = i === activeStep;\n\t\t\t\titem.finished = i < activeStep;\n\t\t\t}\n\n\t\t\tif (!this.activeStep || activeStep < 0) {\n\t\t\t\tif (item.active) {\n\t\t\t\t\tactiveStep = i;\n\t\t\t\t}\n\n\t\t\t\tif (activeStep < 0 && item.finished) {\n\t\t\t\t\tactiveStep = i + 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (item.direction !== this.direction && !directionChanged) {\n\t\t\t\tdirectionChanged = true;\n\t\t\t}\n\n\t\t\titem.direction = this.direction;\n\t\t\titem.align =\n\t\t\t\tthis.direction === 'vertical'\n\t\t\t\t\t? 'start'\n\t\t\t\t\t: i === 0\n\t\t\t\t\t? 'start'\n\t\t\t\t\t: i === items?.length - 1\n\t\t\t\t\t? 'end'\n\t\t\t\t\t: 'center';\n\t\t\titem.contentPosition = this.contentPosition;\n\t\t}\n\n\t\tif (directionChanged) {\n\t\t\t// super hacky way to ensure all elements that have a direction changed are re-rendered\n\t\t\tawait new Promise(resolve => setTimeout(resolve, 200));\n\t\t}\n\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\tif (i < items.length - 1) {\n\t\t\t\tlet nextItem = item.nextElementSibling;\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\tconst stepperLine = document.createElement('p-stepper-line');\n\t\t\t\t\tthis._el.insertBefore(stepperLine, nextItem);\n\t\t\t\t\tthis._setStepperLineData(stepperLine, item, nextItem, i, activeStep);\n\n\t\t\t\t\tconst previous = stepperLine.previousElementSibling;\n\t\t\t\t\tif (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\t\tprevious.remove();\n\t\t\t\t\t}\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\tconst stepperLine = nextItem;\n\t\t\t\t\tnextItem = nextItem.nextElementSibling;\n\n\t\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\t\tthis._setStepperLineData(\n\t\t\t\t\t\t\tstepperLine,\n\t\t\t\t\t\t\titem,\n\t\t\t\t\t\t\tnextItem,\n\t\t\t\t\t\t\ti,\n\t\t\t\t\t\t\tactiveStep\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (i > 0) {\n\t\t\t\tconst previousItem = item.previousElementSibling;\n\t\t\t\tif (\n\t\t\t\t\tpreviousItem &&\n\t\t\t\t\tpreviousItem.tagName.toLowerCase() === 'p-stepper-line'\n\t\t\t\t) {\n\t\t\t\t\tpreviousItem.direction = this.direction;\n\t\t\t\t\tpreviousItem.active = item.active || item.finished;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst lines = this._el.querySelectorAll(\n\t\t\t'p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child'\n\t\t);\n\t\tfor (let j = lines.length - 1; j >= 0; j--) {\n\t\t\tconst line = lines.item(j);\n\t\t\tline.remove();\n\t\t}\n\t};\n\n\tprivate _setStepperLineData = (\n\t\tstepperLine: HTMLPStepperLineElement,\n\t\titem: HTMLPStepperItemElement,\n\t\tnextItem: HTMLPStepperItemElement,\n\t\ti: number,\n\t\tactiveStep: number\n\t) => {\n\t\tconst heightDiff = item.clientHeight / 2;\n\t\tconst heightDiffNext = nextItem.clientHeight / 2;\n\n\t\tstepperLine.direction = this.direction;\n\t\tstepperLine.active = i < activeStep;\n\n\t\tif (heightDiff > 0 && this.direction === 'vertical') {\n\t\t\tstepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\tstepperLine.style.marginBottom = `-${heightDiffNext / 16}rem`;\n\t\t\tstepperLine.style.minHeight = `calc(1rem + ${\n\t\t\t\t(heightDiff + heightDiffNext) / 16\n\t\t\t}rem)`;\n\t\t}\n\t};\n\n\tcomponentDidLoad() {\n\t\tthis._resizeObserver = new ResizeObserver(() => this._generateStepsOnce());\n\t\tthis._resizeObserver.observe(this._el);\n\t}\n\n\tdisconnectCallback() {\n\t\tif (this._resizeObserver) {\n\t\t\tthis._resizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-stepper'>\n\t\t\t\t<slot onSlotchange={() => this._generateStepsOnce()} />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('activeStep')\n\tprotected _onActiveStepChange() {\n\t\tthis._generateStepsOnce();\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as r,H as o}from"./p-DhGo7hbh.js";const i=".mb-\\[calc\\(\\.5rem-1px\\)\\]{margin-bottom:calc(.5rem - 1px)!important}.ml-\\[calc\\(\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px)!important}.mr-\\[calc\\(\\.5rem-1px\\)\\]{margin-right:calc(.5rem - 1px)!important}.block{display:block!important}.h-\\[2px\\]{height:2px!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[2px\\]{width:2px!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(0 255 0/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:2px;margin-bottom:calc(.5rem - 1px)}:host([direction=vertical]){margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:2px}:host([active]){--tw-bg-opacity:1;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))}.static{position:static!important}";const a=class{constructor(r){t(this,r)}active=false;direction="horizontal";render(){return r(o,{key:"a74b22d5041bfeb398976db6279fab8418adf406",class:"p-stepper-line"})}};a.style=i;export{a as p_stepper_line};
|
|
2
|
-
//# sourceMappingURL=p-41f2eec6.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stepperLineComponentCss","StepperLine","active","direction","render","h","Host","key","class"],"sources":["src/components/deprecated/atoms/stepper/line/stepper-line.component.scss?tag=p-stepper-line&encapsulation=shadow","src/components/deprecated/atoms/stepper/line/stepper-line.component.tsx"],"sourcesContent":[":host {\n\t@apply flex-auto;\n\t@apply transition duration-500 ease-in-out;\n\n\t@apply block;\n\n\t@apply bg-mystic-dark;\n}\n\n:host([direction='horizontal']) {\n\t@apply mb-[calc(.5rem-1px)] h-[2px];\n}\n\n:host([direction='vertical']) {\n\t@apply ml-[calc(.5rem-1px)] mr-[calc(.5rem-1px)] min-h-[1rem] w-[2px];\n}\n\n:host([active]) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-line',\n\tstyleUrl: 'stepper-line.component.scss',\n\tshadow: true,\n})\nexport class StepperLine {\n\t/**\n\t * Wether the line is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\t/**\n\t * The direction of the stepper line\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\trender() {\n\t\treturn <Host class=\"p-stepper-line\"></Host>;\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAA0B,mzC,MCOnBC,EAAW,M,yBAIEC,OAAkB,MAKlBC,UACxB,aAED,MAAAC,GACC,OAAOC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,kB","ignoreList":[]}
|
package/dist/build/p-449cde91.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-DhGo7hbh.js";export{s as setNonce}from"./p-DhGo7hbh.js";import{g as o}from"./p-DQuL1Twl.js";var t=()=>{const a=import.meta.url;const o={};if(a!==""){o.resourcesUrl=new URL(".",a).href}return e(o)};t().then((async e=>{await o();return a(JSON.parse('[["p-dc4121c6",[[4,"p-button",{"label":[1],"as":[1],"variant":[1],"active":[4],"underline":[4],"href":[1],"target":[1],"size":[1],"type":[1],"loading":[4],"chevron":[8],"chevronPosition":[1,"chevron-position"],"disabled":[4],"icon":[1],"iconOnly":[4,"icon-only"],"iconPosition":[1,"icon-position"],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"],"inheritText":[4,"inherit-text"],"buttonGroupPosition":[1,"button-group-position"],"class":[1]},[[2,"click","handleClick"]]],[1,"p-loader",{"show":[4],"variant":[1],"color":[1],"modalTitle":[1,"modal-title"],"modalDescription":[1,"modal-description"]}],[1,"p-icon",{"variant":[1],"size":[1],"rotate":[2],"flip":[1]}]]],["p-7a05c8ca",[[4,"p-table",{"items":[1],"loading":[4],"headerLoading":[4,"header-loading"],"footerLoading":[4,"footer-loading"],"amountOfLoadingRows":[2,"amount-of-loading-rows"],"enableRowSelection":[4,"enable-row-selection"],"rowSelectionLimit":[2,"row-selection-limit"],"enableRowClick":[4,"enable-row-click"],"selectedRows":[16,"selected-rows"],"enableFloatingMenu":[4,"enable-floating-menu"],"floatingMenuAmountSelectedTemplate":[16,"floating-menu-amount-selected-template"],"selectionKey":[1,"selection-key"],"canSelectKey":[1,"can-select-key"],"enableHeader":[4,"enable-header"],"quickFilters":[16,"quick-filters"],"activeQuickFilterIdentifier":[1,"active-quick-filter-identifier"],"enableSearch":[4,"enable-search"],"query":[1025],"enableFilter":[4,"enable-filter"],"enableFilterDesktop":[4,"enable-filter-desktop"],"selectedFiltersAmount":[2,"selected-filters-amount"],"filterButtonTemplate":[16,"filter-button-template"],"enableAction":[4,"enable-action"],"actionButtonLoading":[4,"action-button-loading"],"actionButtonEnabled":[4,"action-button-enabled"],"actionButtonIcon":[1,"action-button-icon"],"actionButtonText":[1,"action-button-text"],"actionButtonTemplate":[16,"action-button-template"],"enableFooter":[4,"enable-footer"],"enablePaginationSize":[4,"enable-pagination-size"],"enablePaginationPages":[4,"enable-pagination-pages"],"enableExport":[4,"enable-export"],"page":[1538],"total":[2],"pageSize":[2,"page-size"],"pageSizeOptions":[16,"page-size-options"],"hideOnSinglePage":[4,"hide-on-single-page"],"emptyStateHeader":[16,"empty-state-header"],"emptyStateContent":[16,"empty-state-content"],"emptyStateAction":[16,"empty-state-action"],"enableEmptyStateAction":[4,"enable-empty-state-action"],"emptyStateFilteredHeader":[16,"empty-state-filtered-header"],"emptyStateFilteredContent":[16,"empty-state-filtered-content"],"shadow":[4],"_locales":[32],"_columns":[32],"_items":[32],"_enableRowSelection":[32],"_rowSelectionLimit":[32],"_rowActionsFloating":[32],"_rowActionsRow":[32],"_footerHidden":[32]},[[16,"localeChanged","_setLocales"],[16,"tableDefinitionChanged","onTableDefinitionUpdated"],[4,"keydown","keyDown"],[4,"keyup","keyUp"],[4,"visibilitychange","visibilityChange"],[9,"resize","_setRowSelectionData"]],{"items":["_parseItems"],"enableRowSelection":["_setRowSelectionData"],"rowSelectionLimit":["_setRowSelectionData"],"selectedRows":["_setRowSelectionData"]}]]],["p-5dcdb2d0",[[65,"p-select",{"items":[1],"multi":[516],"usePortal":[4,"use-portal"],"strategy":[1],"icon":[1],"query":[1],"placeholder":[1],"autocompletePlaceholder":[1,"autocomplete-placeholder"],"value":[8],"displayKey":[1,"display-key"],"dropdownDisplayKey":[1,"dropdown-display-key"],"selectionDisplayKey":[1,"selection-display-key"],"valueKey":[1,"value-key"],"avatarKey":[1,"avatar-key"],"iconKey":[1,"icon-key"],"showIconInSelectedItem":[1,"show-icon-in-selected-item"],"classKey":[1,"class-key"],"applyClassOnSelectedItem":[1,"apply-class-on-selected-item"],"avatarLettersKey":[1,"avatar-letters-key"],"identifierKey":[1,"identifier-key"],"queryKey":[1,"query-key"],"autoSelectFirst":[4,"auto-select-first"],"showChevron":[4,"show-chevron"],"maxDisplayedItems":[2,"max-displayed-items"],"enableAutocomplete":[4,"enable-autocomplete"],"asyncFilter":[4,"async-filter"],"loading":[4],"enableSelectAll":[4,"enable-select-all"],"selectAllText":[1,"select-all-text"],"selectAllIcon":[1,"select-all-icon"],"size":[1],"prefix":[1],"label":[1],"helper":[1],"required":[516],"error":[513],"disabled":[516],"showAddItem":[4,"show-add-item"],"addItemText":[1,"add-item-text"],"emptyStateText":[1,"empty-state-text"],"_showDropdown":[32],"_selectedItem":[32],"_allSelected":[32],"_amountHidden":[32]},[[6,"click","documentClickHandler"]],{"value":["_valueChange"],"items":["itemChanges"],"_showDropdown":["_showDropdownChanges"],"multi":["multiChanges"]}]]],["p-26491670",[[64,"p-datepicker",{"placeholder":[1],"value":[1],"preselectToday":[4,"preselect-today"],"enableNativePicker":[4,"enable-native-picker"],"disabledDates":[1,"disabled-dates"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disableWeekends":[4,"disable-weekends"],"mode":[1],"format":[1],"hideIconWhenFilled":[4,"hide-icon-when-filled"],"size":[1],"prefix":[1],"label":[1],"loading":[4],"helper":[1],"required":[516],"error":[513],"disabled":[516],"strategy":[1],"placement":[513],"_showDropdown":[32],"_value":[32],"_minDate":[32],"_maxDate":[32],"_disabledDates":[32],"_isMobileBrowser":[32]},[[6,"click","documentClickHandler"]],{"value":["parseValue"],"minDate":["parseMinDate"],"maxDate":["parseMaxDate"],"disabledDates":["parseDisabledDates"]}]]],["p-00e39694",[[1,"p-modal",{"size":[1],"header":[1],"show":[4],"applyBlur":[4,"apply-blur"],"showClose":[4,"show-close"],"showMobileFooter":[4,"show-mobile-footer"],"backdropClickClose":[4,"backdrop-click-close"],"scrollLock":[4,"scroll-lock"],"_closing":[32]},[[8,"closeModal","handleCloseModal"]]]]],["p-9c277029",[[1,"p-drawer",{"header":[1],"show":[4],"applyBlur":[4,"apply-blur"],"showClose":[4,"show-close"],"backdropClickClose":[4,"backdrop-click-close"],"canClose":[4,"can-close"],"scrollLock":[4,"scroll-lock"],"_closing":[32]},[[8,"closeDrawer","handleCloseDrawer"],[8,"forceCloseDrawer","handleForceCloseDrawer"]]]]],["p-4ac9e128",[[1,"p-attachment",{"mode":[1],"loading":[4],"error":[1],"downloading":[4]}]]],["p-856f3266",[[1,"p-profile",{"dropdownLocation":[1,"dropdown-location"],"_dropdownOpen":[32],"_hasDropdownSlot":[32]},[[0,"slotchange","slotchange"]]]]],["p-f82506c3",[[1,"p-input-group",{"size":[1],"prefix":[1],"suffix":[1],"icon":[1],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"],"iconPosition":[1,"icon-position"],"label":[1],"helper":[1],"required":[516],"error":[513],"disabled":[516],"focused":[516],"forceShowTooltip":[516,"force-show-tooltip"],"focusMethod":[1,"focus-method"],"errorVariant":[1,"error-variant"],"_forceShowTooltip":[32]},[[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"]]]]],["p-d5cba5af",[[1,"p-navbar",{"_show":[32]},[[8,"closeNavbar","handleCloseNavbar"],[8,"openNavbar","handleOpenNavbar"]]]]],["p-5cd98f23",[[1,"p-card-header",{"variant":[1],"header":[1],"icon":[1],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"]}]]],["p-f4c0923b",[[4,"p-navigation-item",{"icon":[1],"active":[4],"loading":[4],"as":[1],"counter":[8],"href":[1],"target":[1],"class":[1]}]]],["p-f932bde5",[[1,"p-toast",{"variant":[1],"header":[1],"content":[1],"enableAction":[4,"enable-action"],"actionIcon":[1,"action-icon"],"actionIconFlip":[1,"action-icon-flip"],"actionIconRotate":[2,"action-icon-rotate"]}]]],["p-82751d58",[[1,"p-accordion",{"header":[1],"open":[4],"closeable":[4],"openable":[4]}]]],["p-c7c3d389",[[1,"p-content-slider",{"hideMobileIndicator":[4,"hide-mobile-indicator"],"disableDrag":[4,"disable-drag"],"disableAutoCenter":[4,"disable-auto-center"],"disableIndicatorClick":[4,"disable-indicator-click"],"_visibleIndex":[32],"_outerHeight":[32],"_totalWidth":[32],"_dragging":[32]},[[9,"mouseup","mouseUpHandler"],[9,"touchend","mouseUpHandler"],[9,"resize","resizeHandler"]]]]],["p-4b6b1355",[[1,"p-cropper",{"variant":[513],"value":[8],"returnType":[1,"return-type"],"_loaded":[32],"_currentScale":[32]},[[9,"resize","onResize"]]]]],["p-5667f8bf",[[1,"p-info-panel",{"variant":[1],"header":[1],"content":[1],"closeable":[4]}]]],["p-0a6e3e6f",[[1,"p-label",{"variant":[513],"iconOnly":[516,"icon-only"],"icon":[513],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"],"keepMobileContent":[516,"keep-mobile-content"]}]]],["p-0a6b03d0",[[4,"p-navigation-section",{"header":[1]}]]],["p-7435c88e",[[4,"p-status",{"variant":[1],"icon":[1],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"]}]]],["p-13b16981",[[1,"p-stepper",{"activeStep":[2,"active-step"],"enableAutoStatus":[4,"enable-auto-status"],"direction":[513],"contentPosition":[513,"content-position"]},null,{"activeStep":["_onActiveStepChange"]}]]],["p-0859bb42",[[1,"p-stepper-item",{"align":[513],"direction":[513],"contentPosition":[513,"content-position"],"finished":[516],"active":[516]}]]],["p-e2ee74a9",[[1,"p-tab-container"]]],["p-6d54b0a5",[[4,"p-avatar-group",{"extra":[2]}]]],["p-456a3099",[[1,"p-button-group",{"size":[1]},[[0,"slotchange","slotchange"]]]]],["p-ff2b5ed0",[[1,"p-card-body"]]],["p-35c50504",[[1,"p-card-container",{"active":[4],"hoverable":[4],"shadow":[4]}]]],["p-17ae0ec7",[[1,"p-counter",{"variant":[1],"size":[1]}]]],["p-a6c618fb",[[1,"p-iban-icon",{"iban":[513],"variant":[513]}]]],["p-8d4c7827",[[0,"p-illustration-deprecated",{"variant":[1]}]]],["p-7b7366dc",[[1,"p-layout",{"variant":[1]}]]],["p-4fb83e8d",[[68,"p-radio",{"value":[1],"disabled":[516],"required":[516],"id":[513],"name":[513],"checked":[516],"_nonce":[32]}]]],["p-c62477c2",[[1,"p-tab-item",{"active":[4]}]]],["p-4c81bb03",[[0,"p-table-column",{"path":[1537],"type":[1537],"name":[1537],"useSlot":[1540,"use-slot"],"hasCheckbox":[1540,"has-checkbox"],"align":[1537],"parsedSizes":[1040,"parsed-sizes"],"sizes":[1032]}]]],["p-37bdbb19",[[0,"p-table-row-action",{"type":[1537],"icon":[1],"iconOnly":[4,"icon-only"],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"],"label":[1],"action":[16],"disabled":[4],"loading":[4],"showFunction":[16,"show-function"]}]]],["p-f9efc1e5",[[1,"p-toast-container",{"placement":[1]}]]],["p-c585d909",[[68,"p-toggle",{"checked":[4],"disabled":[516],"required":[516],"id":[513],"name":[513],"_nonce":[32]}]]],["p-0dc168c5",[[0,"p-calendar",{"variant":[1],"value":[1],"preselectToday":[4,"preselect-today"],"disabledDates":[1,"disabled-dates"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disableWeekends":[4,"disable-weekends"],"mode":[1],"_view":[32],"_viewDate":[32],"_value":[32],"_minDate":[32],"_maxDate":[32],"_disabledDates":[32]},null,{"value":["_parseValue"],"minDate":["_parseMinDate"],"maxDate":["_parseMaxDate"],"disabledDates":["_parseDisabledDates"]}]]],["p-7a878e24",[[0,"p-avatar",{"size":[513],"defaultImage":[1,"default-image"],"src":[1],"letters":[1],"_src":[32],"_failed":[32]},null,{"src":["onSrchChange"]}]]],["p-0b6db18f",[[1,"p-navigation-title"]]],["p-74dba9db",[[1,"p-slider-indicator",{"active":[4]}]]],["p-41f2eec6",[[1,"p-stepper-line",{"active":[516],"direction":[513]}]]],["p-70de0ecc",[[4,"p-portal"]]],["p-d6e8bf36",[[1,"p-input-error",{"error":[1],"forceShowTooltip":[4,"force-show-tooltip"],"_showTooltip":[32]}]]],["p-8a63e1d9",[[0,"p-illustration",{"variant":[1]}]]],["p-73bfb4b5",[[1,"p-drawer-header",{"showClose":[4,"show-close"]}],[1,"p-drawer-body"],[1,"p-drawer-container",{"closing":[4]}]]],["p-4906fd4d",[[1,"p-backdrop",{"variant":[1],"applyBlur":[4,"apply-blur"],"closing":[4],"scrollLock":[4,"scroll-lock"],"class":[1]},[[2,"click","handleClick"]]]]],["p-222abd40",[[1,"p-modal-header",{"showClose":[4,"show-close"]}],[1,"p-modal-footer"],[1,"p-modal-body",{"roundedBottom":[4,"rounded-bottom"],"roundedTop":[4,"rounded-top"]}],[1,"p-modal-container",{"size":[1],"closing":[4]}]]],["p-58efc94c",[[4,"p-pagination-pages-item",{"variant":[1],"active":[4],"hover":[4],"disabled":[4]}]]],["p-899f7d36",[[0,"p-smile",{"variant":[1]}]]],["p-b8797794",[[4,"p-segment-item",{"variant":[1],"active":[4],"iconOnly":[4,"icon-only"],"icon":[1],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"]}],[4,"p-segment-container"],[4,"p-badge"]]],["p-b029529c",[[4,"p-divider",{"variant":[513]}]]],["p-d3102227",[[1,"p-dropdown-menu-item",{"active":[4],"checkbox":[4],"variant":[1],"enableHover":[4,"enable-hover"],"disabled":[4],"icon":[1],"iconWave":[4,"icon-wave"],"useContainer":[4,"use-container"]}],[68,"p-checkbox",{"checked":[4],"indeterminate":[4],"disabled":[516],"required":[516],"id":[513],"name":[513],"_nonce":[32]}],[1,"p-dropdown",{"variant":[1],"placement":[513],"offset":[2],"strategy":[1],"show":[4],"usePortal":[4,"use-portal"],"calculateWidth":[4,"calculate-width"],"applyMaxWidth":[4,"apply-max-width"],"applyFullWidth":[4,"apply-full-width"],"allowOverflow":[4,"allow-overflow"],"scrollable":[8],"insideClick":[4,"inside-click"],"disableTriggerClick":[4,"disable-trigger-click"],"applyChevron":[4,"apply-chevron"],"chevronPosition":[1,"chevron-position"],"chevronDirection":[1,"chevron-direction"]},[[6,"click","documentClickHandler"]],{"show":["onShowChange"]}],[1,"p-dropdown-menu-container",{"variant":[1],"maxWidth":[4,"max-width"],"class":[1],"fullWidth":[4,"full-width"],"allowOverflow":[4,"allow-overflow"],"scrollable":[8]}]]],["p-9ef541e4",[[0,"p-pagination",{"hideOnSinglePage":[4,"hide-on-single-page"],"enablePaginationSize":[4,"enable-pagination-size"],"enablePaginationPages":[4,"enable-pagination-pages"],"page":[1538],"total":[2],"pageSize":[2,"page-size"],"pageSizeOptions":[16,"page-size-options"],"_hasPaginationPages":[32]}],[1,"p-pagination-size",{"size":[1538],"sizeOptions":[16,"size-options"],"itemTemplate":[16,"item-template"],"hidden":[4],"dropdownIsOpen":[32],"_locales":[32]},[[16,"localeChanged","_setLocales"]]],[0,"p-pagination-pages",{"page":[1538],"pageSize":[2,"page-size"],"hideOnSinglePage":[4,"hide-on-single-page"],"total":[2]},null,{"page":["pageChangeHandler"],"pageSize":["pageChangeHandler"],"total":["pageChangeHandler"]}]]],["p-57acc6a7",[[1,"p-helper",{"strategy":[1],"placement":[1]}],[1,"p-tooltip",{"variant":[1],"content":[8],"placement":[1],"offset":[2],"strategy":[1],"enableUserInput":[4,"enable-user-input"],"show":[4],"usePortal":[4,"use-portal"],"canManuallyClose":[4,"can-manually-close"]},[[2,"click","clickHandler"],[6,"click","documentClickHandler"],[1,"mouseenter","mouseEnterHandler"],[0,"focus","mouseEnterHandler"],[1,"mouseleave","mouseLeaveHandler"],[0,"blur","mouseLeaveHandler"]],{"show":["onShowChange"]}]]],["p-a8f60c0c",[[65,"p-field",{"variant":[1],"id":[1],"size":[1],"type":[1],"properties":[8],"prefix":[1],"suffix":[1],"icon":[1],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"],"iconPosition":[1,"icon-position"],"value":[1],"label":[1],"loading":[4],"placeholder":[1],"helper":[1],"required":[516],"autofocus":[516],"error":[513],"errorPlacement":[1,"error-placement"],"disabled":[516],"focused":[516],"forceShowTooltip":[516,"force-show-tooltip"],"selectAllOnFocus":[516,"select-all-on-focus"],"focusMethod":[1,"focus-method"],"optionalTemplate":[16,"optional-template"],"_focused":[32],"_nonce":[32]},[[0,"focusin","handleFocusIn"],[0,"focusout","handleFocusOut"],[2,"keyup","handleKeyup"]]],[1,"p-field-container",{"id":[1],"label":[1],"loading":[4],"loadingSize":[1,"loading-size"],"variant":[1],"helper":[1],"required":[516],"error":[513],"errorPlacement":[1,"error-placement"],"forceShowTooltip":[516,"force-show-tooltip"],"optionalTemplate":[16,"optional-template"],"_locales":[32]},[[16,"localeChanged","_setLocales"]]]]],["p-dae4a24d",[[1,"p-table-header",{"quickFilters":[16,"quick-filters"],"activeQuickFilterIdentifier":[1,"active-quick-filter-identifier"],"loading":[4],"enableSearch":[4,"enable-search"],"itemsSelectedAmount":[2,"items-selected-amount"],"query":[1025],"enableFilter":[4,"enable-filter"],"enableExport":[4,"enable-export"],"enableFilterDesktop":[4,"enable-filter-desktop"],"selectedFiltersAmount":[2,"selected-filters-amount"],"filterButtonTemplate":[16,"filter-button-template"],"enableAction":[4,"enable-action"],"actionLoading":[4,"action-loading"],"actionIcon":[1,"action-icon"],"actionText":[1,"action-text"],"canUseAction":[1028,"can-use-action"],"actionButtonTemplate":[16,"action-button-template"],"_locales":[32]},[[16,"localeChanged","_setLocales"]]],[1,"p-table-footer",{"enablePaginationSize":[4,"enable-pagination-size"],"enablePaginationPages":[4,"enable-pagination-pages"],"loading":[4],"page":[1538],"total":[2],"pageSize":[2,"page-size"],"pageSizeOptions":[16,"page-size-options"],"hideOnSinglePage":[4,"hide-on-single-page"],"_isPinned":[32],"_hasPaginationPages":[32]},[[9,"scroll","onScroll"]]],[1,"p-empty-state",{"illustration":[8],"header":[1],"content":[1],"enableAction":[4,"enable-action"],"actionText":[1,"action-text"],"actionVariant":[1,"action-variant"],"actionIcon":[1,"action-icon"],"actionLoading":[4,"action-loading"]}],[1,"p-floating-menu-container",{"usedInTable":[4,"used-in-table"],"enableAmountSelected":[4,"enable-amount-selected"],"amount":[2],"enableClose":[4,"enable-close"],"amountSelectedTemplate":[16,"amount-selected-template"],"_locales":[32]},[[16,"localeChanged","_setLocales"]]],[4,"p-floating-menu-item",{"hover":[4],"disabled":[4],"loading":[4],"icon":[1],"iconPosition":[1,"icon-position"],"iconFlip":[1,"icon-flip"],"iconRotate":[2,"icon-rotate"]}],[4,"p-table-cell",{"variant":[1],"index":[2],"rowIndex":[2,"row-index"],"definition":[16],"item":[8],"value":[8],"checkbox":[8],"template":[16]}],[1,"p-table-row",{"variant":[1],"enableHover":[4,"enable-hover"]}],[4,"p-table-container"],[1,"p-table-row-actions-container"]]]]'),e)}));
|
|
2
|
-
//# sourceMappingURL=paperless.esm.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as e,c as a,g as o}from"./p-DhGo7hbh.js";import{a as r,c as s,o as n,f as p,s as c}from"./p-DGLCmOXW.js";import{c as l}from"./p-CBWjHURv.js";import"./p-ChV9xqsO.js";const h="*{box-sizing:border-box}.absolute{position:absolute!important}.cursor-pointer{cursor:pointer!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.hover\\:text-black-teal:hover{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}";const d=class{constructor(i){t(this,i)}strategy="absolute";placement="top";render(){return i(e,{key:"f41fca806a7d1916dc45723de3a42b2213002423",class:"p-helper"},i("p-tooltip",{key:"fb89672442dfe2dddc2606c36b0ef4dfdb31fddb",placement:this.placement,strategy:this.strategy},i("div",{key:"595b4aa1facfbf4b12031d09b31eb0e2c706ceb3",slot:"content"},i("slot",{key:"7fd883a6819a9a4d625e0f9334746cff3b25f6bb"})),i("p-icon",{key:"94108377e460b52525fe3b61f55aa147173ddc7b",size:"sm",class:"cursor-pointer text-black-teal-300 hover:text-black-teal",variant:"question-circle",slot:"trigger"})))}};d.style=h;const b="*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-tooltip{z-index:601!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-inherit{height:inherit!important}.w-\\[2px\\]{width:2px!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.w-max{width:max-content!important}.max-w-\\[14\\.5rem\\]{max-width:14.5rem!important}.max-w-full{max-width:100%!important}.cursor-pointer{cursor:pointer!important}.gap-2{gap:.5rem!important}.rounded-lg{border-radius:.5rem!important}.bg-black-teal{--tw-bg-opacity:1!important;background-color:rgb(3 42 36/var(--tw-bg-opacity,1))!important}.bg-negative-red{background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-negative-red,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}.blur{--tw-blur:blur(8px)!important}.blur,.drop-shadow-3{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))!important}.transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}";const m=l(["inline-block px-2","text-xs","opacity-0 drop-shadow-3 transition-opacity","rounded-lg","z-tooltip","pointer-events-none"],{variants:{variant:{hover:"bg-black-teal text-white py-1",click:null,error:"max-w-full w-full"},strategy:{none:null,fixed:"fixed",absolute:"absolute"}},compoundVariants:[{variant:["hover","click"],class:"max-w-[14.5rem] w-max"},{variant:["click","error"],class:"bg-white text-black-teal-300 py-2"}]});const u=l("",{variants:{strategy:{fixed:"fixed",absolute:"absolute"}}});const f=class{constructor(i){t(this,i);this.isOpen=a(this,"isOpen",3)}variant="hover";content=null;placement;offset=8;strategy="absolute";enableUserInput=true;show=false;usePortal=false;canManuallyClose=true;isOpen;get _el(){return o(this)}_hasContentSlot=false;_loaded=false;_popover;_cleanup;componentWillLoad(){this._hasContentSlot=!!this._el.querySelector(':scope > [slot="content"]')}componentShouldUpdate(){this._update()}disconnectedCallback(){if(this._cleanup){this._cleanup();this._cleanup=null}}render(){const t={role:"popover","data-placement":this.placement,ref:t=>this._load(t)};let a;const o=i("div",{key:"d6a2de919e13298a797eb701f39e618baca05447",class:m({variant:this.variant,strategy:this.usePortal?"none":this.strategy}),...this.usePortal?{}:t},i("div",{key:"a8c03830c6c69bfcdad24407dba9ce437392f5e1",class:"flex gap-2"},this.variant==="error"&&i("div",{key:"741157aaefffc3454bae556b218238d856d1534c",class:"w-[2px] bg-negative-red"}),this.content?this.content:i("slot",{name:"content"})));if(this.usePortal){a=i("p-portal",{key:"cb6df13f055eb4645b5d047f7863a52b2d59e504",class:u({strategy:this.strategy}),...t},o)}else{a=o}return i(e,{key:"944859d801f06035897ae3aa870d7116b929dc13",class:"p-popover flex cursor-pointer"},i("div",{key:"710b90fa9f7ee2bcedbcc6c542495aa6ccd8ceac",class:"relative h-inherit w-inherit max-w-full"},i("slot",{key:"8c85a1172350cb6039b3424ea369a97577aa433b",name:"trigger"}),a))}clickHandler(){if(this.variant==="hover"||!this.enableUserInput){return}if(this._popover.hasAttribute("data-show")){return}this._show()}documentClickHandler(){if(this.variant==="hover"||!this.canManuallyClose||this.show){return}if(!this._popover.hasAttribute("data-show")){return}this._hide()}mouseEnterHandler(){if(this.variant!=="hover"||!this.enableUserInput){return}this._show()}mouseLeaveHandler(){if(this.show||this.variant!=="hover"||!this.enableUserInput){return}this._hide()}onShowChange(t){if(t&&!this._popover.hasAttribute("data-show")){return this._show()}return this._hide()}_show(){if(!this._loaded){return}if(!this.content?.length&&!this._hasContentSlot){if(this._popover.hasAttribute("data-show")){this._hide()}return}this._cleanup=r(this._el,this._popover,(()=>this._update()));this._popover.setAttribute("data-show","");this._popover.classList.remove("opacity-0","pointer-events-none");this._popover.classList.add("opacity-100","pointer-events-auto");this.isOpen.emit(true)}_hide(){if(!this._loaded){return}if(this._cleanup){this._cleanup();this._cleanup=null}this._popover.removeAttribute("data-show");this._popover.classList.remove("opacity-100","pointer-events-auto");this._popover.classList.add("opacity-0","pointer-events-none");this.isOpen.emit(false)}_load(t){this._popover=t;if(t){this._update();this._loaded=true;if(this.show){setTimeout((()=>this._show()),100)}}}_update(){if(!this._popover){return}s(this._el,this._popover,{placement:this.variant==="error"&&!this.placement?"bottom-start":this.placement??"top",strategy:this.strategy,middleware:[n(this.offset),p(),c()]}).then((({x:t,y:i,placement:e})=>{this._popover.dataset.placement=e;Object.assign(this._popover.style,{top:`${i}px`,left:`${t}px`})}))}static get watchers(){return{show:["onShowChange"]}}};f.style=b;export{d as p_helper,f as p_tooltip};
|
|
2
|
-
//# sourceMappingURL=p-57acc6a7.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,g as e,h as a,H as s}from"./p-DhGo7hbh.js";const c=class{constructor(e){t(this,e)}get _el(){return e(this)}_moved=false;createPortal(){document.body.append(this._el)}componentDidLoad(){this.createPortal()}disconnectedCallback(){this._moved?this._el.remove():this._moved=true}render(){return a(s,{key:"4dc8c030ff629d3b44072c6abd4767cc8cbe33af"},a("slot",{key:"adc1b43bc7454423ed39af107d87a5fda7501a11"}))}};export{c as p_portal};
|
|
2
|
-
//# sourceMappingURL=p-70de0ecc.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,c as e}from"./p-DhGo7hbh.js";import{c as a}from"./p-CBWjHURv.js";import{a as r}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";const o=".flex{display:flex!important}.h-full{height:100%!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}*{box-sizing:border-box}:host{display:flex;flex:1 1 0%;flex-direction:column;gap:1rem;height:100%;padding:1rem 1rem calc(env(safe-area-inset-bottom, 0) + 1rem);width:100%}.static{position:static!important}";const n=class{constructor(i){t(this,i)}render(){return i("slot",{key:"78b8055b04b8b75d8e6cda74d346b3798ce6adb9"})}};n.style=o;const m=".flex{display:flex!important}.h-full{height:100%!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.p-2{padding:.5rem!important}*{box-sizing:border-box}:host{align-items:flex-end;display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:.5rem;width:100%}@media (min-width:40rem){:host{margin-left:auto;width:auto}}@media (min-width:40rem){.tablet\\:w-auto{width:auto!important}}.static{position:static!important}.z-drawer{z-index:500!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}@keyframes slideInRight{0%{transform:translateX(100%)}to{transform:translateX(0)}}.animate-slide-in-right{animation:slideInRight .5s ease forwards!important}@keyframes slideOutRight{0%{transform:translateX(0)}to{transform:translateX(100%)}}.animate-slide-out-right{animation:slideOutRight .2s ease forwards!important}.rounded-2xl{border-radius:1rem!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08)!important;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}@media (min-width:40rem){.tablet\\:w-\\[22\\.5rem\\]{width:22.5rem!important}}";const d=a(["flex-1 min-w-0","z-drawer flex flex-col","rounded-2xl bg-white","w-full tablet:w-[22.5rem]","shadow-modal"],{variants:{closing:{false:"animate-slide-in-right",true:"animate-slide-out-right"}}});const l=class{constructor(i){t(this,i)}closing=false;render(){return i("div",{key:"613371db50e24a5a0edd65e5f93bd244b2790a79",class:d({closing:r(this.closing)})},i("slot",{key:"221587c2062c8378a822f328739776667c9808a9"}))}};l.style=m;const s="*{box-sizing:border-box}.static{position:static!important}.relative{position:relative!important}.z-\\[1\\]{z-index:1!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.size-8{height:2rem!important;width:2rem!important}.min-h-12{min-height:3rem!important}.min-h-18{min-height:4.5rem!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.justify-between{justify-content:space-between!important}.overflow-hidden{overflow:hidden!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.pb-0{padding-bottom:0!important}.text-center{text-align:center!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.font-bold{font-weight:700!important}";const p=a(["w-full min-h-18 flex-col bg-white relative rounded-t-2xl overflow-hidden z-[1]","inline-flex"]);const c=a(["flex justify-between","w-full p-4 pb-0 min-h-12"]);const h=a(["flex-1 text-center","black-teal-500 text-2xl text-ambit font-bold"]);const w=class{constructor(i){t(this,i);this.close=e(this,"close",3)}showClose=true;close;render(){return i("div",{key:"80435acb354fdd4814843c8b0ef1eb297c8a9678",class:p()},i("div",{key:"7800396905ed9ce69e0c365ec45f5aa93eebb4df",class:c()},this.showClose&&i("p-button",{key:"e85ecaf4e44d4f702408886b1c6ea09e92fea9c7",variant:"secondary",icon:"negative",iconOnly:true,onClick:t=>this.close.emit(t)}),i("div",{key:"767c1723defac78365da2043d0e04a9d71fb245b",class:h()},i("slot",{key:"2a4940fda5935fc207061bf075e9a8bb808eb4ea"})),this.showClose&&i("div",{key:"a1ccf517e2d3222539aa53180101112e6b652d79",class:"size-8"})),i("p-smile",{key:"741819b175e05405bd1f1d3578d5a8cb724f3bc3"}))}};w.style=s;export{n as p_drawer_body,l as p_drawer_container,w as p_drawer_header};
|
|
2
|
-
//# sourceMappingURL=p-73bfb4b5.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as a,H as i}from"./p-DhGo7hbh.js";const r=".block{display:block!important}*{box-sizing:border-box}:host{display:block;margin-bottom:1.5rem}.static{position:static!important}.m-0{margin:0!important}.mt-6{margin-top:1.5rem!important}.flex{display:flex!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-3{gap:.75rem!important}.whitespace-nowrap{white-space:nowrap!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.font-medium{font-weight:500!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(0 255 255/var(--tw-text-opacity,1))!important}";const o=class{constructor(a){t(this,a);this.isOpen=e(this,"isOpen",3)}header;open=false;closeable=true;openable=true;isOpen;render(){return a(i,{key:"e662bfe977c60b47ec2e624aadf227b73cfe2b1d",class:"p-accordion"},a("div",{key:"90f37f6be6b2a272c349340ea5e88d01cd91806f",class:"flex cursor-pointer items-center gap-3 text-storm-vague",onClick:()=>this._onClick()},a("p-icon",{key:"6746eaaf82e912c09376c47b5a92c9553fc9a181",class:"flex",variant:"caret",rotate:this.open?0:-90}),a("p",{key:"ec4a89e5613b989a408ad5f7d30be198e6175437",class:"m-0 whitespace-nowrap text-lg font-medium"},this.header),a("p-divider",{key:"87ece009aff99e1cee79887d3951abd5860da883"})),this.open&&a("div",{key:"a4ee83b19640ace3cd642c28cce4ceb49fe8cf84",class:"mt-6"},a("slot",{key:"517d40fffa8d15ff3acdcf7d732ac6b4cc8236ec"})))}_onClick(){if(!this.closeable&&this.open){return}if(!this.openable&&!this.open){return}this.open=!this.open;this.isOpen.emit(this.open)}};o.style=r;export{o as p_accordion};
|
|
2
|
-
//# sourceMappingURL=p-82751d58.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as r}from"./p-DhGo7hbh.js";const o=class{constructor(t){e(this,t)}error;forceShowTooltip=false;_showTooltip=false;render(){return t(r,{key:"6a5c9d0abcf7ef186aefbe71cb16f00198d5951b",class:"p-input-error"},t("p-tooltip",{key:"11f0175c810e2be9a479eca8f290bc2a507b152f",variant:"error",content:this.error,show:this.forceShowTooltip,onIsOpen:e=>this._showTooltip=e.detail},t("p-icon",{key:"9866eba022348ebc6157af194afae56102388271",class:`${this._showTooltip?"text-negative":"text-negative-light"} hover:text-negative`,slot:"trigger",variant:"question-circle"})))}};export{o as p_input_error};
|
|
2
|
-
//# sourceMappingURL=p-d6e8bf36.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o}from"./p-DhGo7hbh.js";const e="*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.z-10{z-index:10!important}.m-0{margin:0!important}.flex{display:flex!important}.h-8{height:2rem!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.gap-5{gap:1.25rem!important}.overflow-x-auto{overflow-x:auto!important}.scrollbar-hide{-ms-overflow-style:none!important;scrollbar-width:none!important}.scrollbar-hide::-webkit-scrollbar{display:none!important}";const a=class{constructor(o){t(this,o)}render(){return o("div",{key:"4a2e2570b95ab186cdfc9455214da22f0d8e8586",class:"relative flex h-8 w-full flex-col"},o("div",{key:"aede988de21568e57f2da16f525dae6e01682bcb",class:"z-10 flex w-full gap-5 overflow-x-auto scrollbar-hide"},o("slot",{key:"939368f3230c1b3c18e391277b3a99c27a2a6854"})),o("p-divider",{key:"413e9cd32408d6b93c9822c696467e88850d45ab",class:"absolute bottom-0 left-0 m-0 w-full"}))}};a.style=e;export{a as p_tab_container};
|
|
2
|
-
//# sourceMappingURL=p-e2ee74a9.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.absolute{position:absolute!important}.relative{position:relative!important}.left-1\/2{left:50%!important}.top-0{top:0!important}.order-2{order:2!important}.ml-0{margin-left:0!important}.mr-4{margin-right:1rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.min-h-\[1rem\]{min-height:1rem!important}.w-4{width:1rem!important}.w-full{width:100%!important}.min-w-\[calc\(100\%-2rem\)\]{min-width:calc(100% - 2rem)!important}.-translate-x-1\/2{--tw-translate-x:-50%!important}.-translate-x-1\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(0 255 0/var(--tw-bg-opacity,1))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{align-items:flex-end;display:flex;justify-content:center;position:relative;width:100%}:host .content{--tw-text-opacity:1;color:rgb(0 255 255/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;min-width:calc(100% - 2rem);white-space:nowrap}:host .circle{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(0 255 0/var(--tw-bg-opacity,1));border-radius:9999px;color:rgb(255 255 255/var(--tw-text-opacity,1));display:flex;flex-shrink:0;height:1rem;justify-content:center;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host .circle p-icon{display:flex!important;font-size:.625rem}:host([direction=horizontal]){flex:0;height:2.5rem}:host([direction=horizontal]) .content{min-width:0;order:1;position:absolute;top:0}:host([direction=horizontal]) .circle{order:2}:host([direction=vertical]){align-items:center;min-height:1rem}:host([direction=vertical]) .content{margin-left:1rem;order:2}:host([direction=vertical]) .circle{order:1}:host([active]) .content,:host([finished]) .content{--tw-text-opacity:1;color:rgb(255 192 203/var(--tw-text-opacity,1))}:host([active]) .circle,:host([finished]) .circle{--tw-bg-opacity:1;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))}:host([direction=horizontal][align=start]) .content{left:0}:host([direction=horizontal][align=end]) .content{right:0}:host([direction=horizontal][align=center]) .content{--tw-translate-x:-50%;left:50%;text-align:center;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host([direction=vertical][content-position=start]){flex-direction:row-reverse}:host([direction=vertical][content-position=start]) .content{display:flex;justify-content:flex-end;margin-left:0;margin-right:1rem}.static{position:static!important}
|
package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stepper-item.component.js","sourceRoot":"","sources":["../../../../../../src/components/deprecated/atoms/stepper/item/stepper-item.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,WAAW;IACvB;;OAEG;IACsB,KAAK,GAA+B,QAAQ,CAAC;IAEtE;;OAEG;IACsB,SAAS,GACjC,YAAY,CAAC;IAEd;;OAEG;IACsB,eAAe,GAAoB,KAAK,CAAC;IAElE;;OAEG;IACsB,QAAQ,GAAY,KAAK,CAAC;IAEnD;;OAEG;IACsB,MAAM,GAAY,KAAK,CAAC;IAEjD,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAC,gBAAgB;YAC3B,4DAAK,KAAK,EAAC,QAAQ,IACjB,IAAI,CAAC,QAAQ,IAAI,+DAAQ,OAAO,EAAC,WAAW,GAAG,CAC3C;YACN,4DAAK,KAAK,EAAC,SAAS;gBACnB,6DAAM,IAAI,EAAC,SAAS,GAAG,CAClB,CACA,CACP,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.scss',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The alignment of the step content\n\t */\n\t@Prop({ reflect: true }) align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The direction of the stepper step\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop({ reflect: true }) finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-stepper-item\">\n\t\t\t\t<div class=\"circle\">\n\t\t\t\t\t{this.finished && <p-icon variant=\"checkmark\" />}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.mb-\[calc\(\.5rem-1px\)\]{margin-bottom:calc(.5rem - 1px)!important}.ml-\[calc\(\.5rem-1px\)\]{margin-left:calc(.5rem - 1px)!important}.mr-\[calc\(\.5rem-1px\)\]{margin-right:calc(.5rem - 1px)!important}.block{display:block!important}.h-\[2px\]{height:2px!important}.min-h-\[1rem\]{min-height:1rem!important}.w-\[2px\]{width:2px!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(0 255 0/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:2px;margin-bottom:calc(.5rem - 1px)}:host([direction=vertical]){margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:2px}:host([active]){--tw-bg-opacity:1;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))}.static{position:static!important}
|
package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stepper-line.component.js","sourceRoot":"","sources":["../../../../../../src/components/deprecated/atoms/stepper/line/stepper-line.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,WAAW;IACvB;;OAEG;IACsB,MAAM,GAAY,KAAK,CAAC;IAEjD;;OAEG;IACsB,SAAS,GACjC,YAAY,CAAC;IAEd,MAAM;QACL,OAAO,EAAC,IAAI,qDAAC,KAAK,EAAC,gBAAgB,GAAQ,CAAC;IAC7C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-line',\n\tstyleUrl: 'stepper-line.component.scss',\n\tshadow: true,\n})\nexport class StepperLine {\n\t/**\n\t * Wether the line is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\t/**\n\t * The direction of the stepper line\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\trender() {\n\t\treturn <Host class=\"p-stepper-line\"></Host>;\n\t}\n}\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.flex{display:flex!important}.h-auto{height:auto!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}*{box-sizing:border-box}:host{display:flex}:host([direction=horizontal]){align-items:flex-end;height:auto}:host([direction=vertical]){align-items:flex-start;flex-direction:column;flex-wrap:wrap;width:100%}:host([direction=vertical][content-position=start]){align-items:flex-end}.static{position:static!important}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.component.js","sourceRoot":"","sources":["../../../../../src/components/deprecated/molecules/stepper/stepper.component.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, h, Host, Prop, Watch } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper',\n\tstyleUrl: 'stepper.component.scss',\n\tshadow: true,\n})\nexport class Stepper {\n\t/**\n\t * The currently active step\n\t */\n\t@Prop() activeStep: number = 1;\n\n\t/**\n\t * Wether to automatically apply active & finished to items\n\t */\n\t@Prop() enableAutoStatus: boolean = true;\n\n\t/**\n\t * The direction of the stepper\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _generateTimeout: NodeJS.Timeout | undefined;\n\tprivate _resizeObserver: ResizeObserver;\n\n\tprivate _generateStepsOnce = () => {\n\t\tif (this._generateTimeout) {\n\t\t\tclearTimeout(this._generateTimeout);\n\t\t\tthis._generateTimeout = null;\n\t\t}\n\n\t\tthis._generateTimeout = setTimeout(() => this._generateSteps(), 50);\n\t};\n\n\tprivate _generateSteps = async () => {\n\t\tif (!this._el) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet activeStep = this.activeStep - 1 || 0;\n\t\tconst items = this._el.querySelectorAll('p-stepper-item');\n\n\t\tlet directionChanged = false;\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\tif (this.enableAutoStatus) {\n\t\t\t\titem.active = i === activeStep;\n\t\t\t\titem.finished = i < activeStep;\n\t\t\t}\n\n\t\t\tif (!this.activeStep || activeStep < 0) {\n\t\t\t\tif (item.active) {\n\t\t\t\t\tactiveStep = i;\n\t\t\t\t}\n\n\t\t\t\tif (activeStep < 0 && item.finished) {\n\t\t\t\t\tactiveStep = i + 1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (item.direction !== this.direction && !directionChanged) {\n\t\t\t\tdirectionChanged = true;\n\t\t\t}\n\n\t\t\titem.direction = this.direction;\n\t\t\titem.align =\n\t\t\t\tthis.direction === 'vertical'\n\t\t\t\t\t? 'start'\n\t\t\t\t\t: i === 0\n\t\t\t\t\t? 'start'\n\t\t\t\t\t: i === items?.length - 1\n\t\t\t\t\t? 'end'\n\t\t\t\t\t: 'center';\n\t\t\titem.contentPosition = this.contentPosition;\n\t\t}\n\n\t\tif (directionChanged) {\n\t\t\t// super hacky way to ensure all elements that have a direction changed are re-rendered\n\t\t\tawait new Promise(resolve => setTimeout(resolve, 200));\n\t\t}\n\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\tif (i < items.length - 1) {\n\t\t\t\tlet nextItem = item.nextElementSibling;\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\tconst stepperLine = document.createElement('p-stepper-line');\n\t\t\t\t\tthis._el.insertBefore(stepperLine, nextItem);\n\t\t\t\t\tthis._setStepperLineData(stepperLine, item, nextItem, i, activeStep);\n\n\t\t\t\t\tconst previous = stepperLine.previousElementSibling;\n\t\t\t\t\tif (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\t\tprevious.remove();\n\t\t\t\t\t}\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\tconst stepperLine = nextItem;\n\t\t\t\t\tnextItem = nextItem.nextElementSibling;\n\n\t\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\t\tthis._setStepperLineData(\n\t\t\t\t\t\t\tstepperLine,\n\t\t\t\t\t\t\titem,\n\t\t\t\t\t\t\tnextItem,\n\t\t\t\t\t\t\ti,\n\t\t\t\t\t\t\tactiveStep\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (i > 0) {\n\t\t\t\tconst previousItem = item.previousElementSibling;\n\t\t\t\tif (\n\t\t\t\t\tpreviousItem &&\n\t\t\t\t\tpreviousItem.tagName.toLowerCase() === 'p-stepper-line'\n\t\t\t\t) {\n\t\t\t\t\tpreviousItem.direction = this.direction;\n\t\t\t\t\tpreviousItem.active = item.active || item.finished;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst lines = this._el.querySelectorAll(\n\t\t\t'p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child'\n\t\t);\n\t\tfor (let j = lines.length - 1; j >= 0; j--) {\n\t\t\tconst line = lines.item(j);\n\t\t\tline.remove();\n\t\t}\n\t};\n\n\tprivate _setStepperLineData = (\n\t\tstepperLine: HTMLPStepperLineElement,\n\t\titem: HTMLPStepperItemElement,\n\t\tnextItem: HTMLPStepperItemElement,\n\t\ti: number,\n\t\tactiveStep: number\n\t) => {\n\t\tconst heightDiff = item.clientHeight / 2;\n\t\tconst heightDiffNext = nextItem.clientHeight / 2;\n\n\t\tstepperLine.direction = this.direction;\n\t\tstepperLine.active = i < activeStep;\n\n\t\tif (heightDiff > 0 && this.direction === 'vertical') {\n\t\t\tstepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\tstepperLine.style.marginBottom = `-${heightDiffNext / 16}rem`;\n\t\t\tstepperLine.style.minHeight = `calc(1rem + ${\n\t\t\t\t(heightDiff + heightDiffNext) / 16\n\t\t\t}rem)`;\n\t\t}\n\t};\n\n\tcomponentDidLoad() {\n\t\tthis._resizeObserver = new ResizeObserver(() => this._generateStepsOnce());\n\t\tthis._resizeObserver.observe(this._el);\n\t}\n\n\tdisconnectCallback() {\n\t\tif (this._resizeObserver) {\n\t\t\tthis._resizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-stepper'>\n\t\t\t\t<slot onSlotchange={() => this._generateStepsOnce()} />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('activeStep')\n\tprotected _onActiveStepChange() {\n\t\tthis._generateStepsOnce();\n\t}\n}\n"]}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, d as Host } from './p-tdjn65Lz.js';
|
|
2
|
-
|
|
3
|
-
const stepperLineComponentCss = ".mb-\\[calc\\(\\.5rem-1px\\)\\]{margin-bottom:calc(.5rem - 1px)!important}.ml-\\[calc\\(\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px)!important}.mr-\\[calc\\(\\.5rem-1px\\)\\]{margin-right:calc(.5rem - 1px)!important}.block{display:block!important}.h-\\[2px\\]{height:2px!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[2px\\]{width:2px!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(0 255 0/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:2px;margin-bottom:calc(.5rem - 1px)}:host([direction=vertical]){margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:2px}:host([active]){--tw-bg-opacity:1;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))}.static{position:static!important}";
|
|
4
|
-
|
|
5
|
-
const StepperLine = /*@__PURE__*/ proxyCustomElement(class StepperLine extends H {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
this.__attachShadow();
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Wether the line is active
|
|
13
|
-
*/
|
|
14
|
-
active = false;
|
|
15
|
-
/**
|
|
16
|
-
* The direction of the stepper line
|
|
17
|
-
*/
|
|
18
|
-
direction = 'horizontal';
|
|
19
|
-
render() {
|
|
20
|
-
return h(Host, { key: 'a74b22d5041bfeb398976db6279fab8418adf406', class: "p-stepper-line" });
|
|
21
|
-
}
|
|
22
|
-
static get style() { return stepperLineComponentCss; }
|
|
23
|
-
}, [1, "p-stepper-line", {
|
|
24
|
-
"active": [516],
|
|
25
|
-
"direction": [513]
|
|
26
|
-
}]);
|
|
27
|
-
function defineCustomElement() {
|
|
28
|
-
if (typeof customElements === "undefined") {
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
const components = ["p-stepper-line"];
|
|
32
|
-
components.forEach(tagName => { switch (tagName) {
|
|
33
|
-
case "p-stepper-line":
|
|
34
|
-
if (!customElements.get(tagName)) {
|
|
35
|
-
customElements.define(tagName, StepperLine);
|
|
36
|
-
}
|
|
37
|
-
break;
|
|
38
|
-
} });
|
|
39
|
-
}
|
|
40
|
-
defineCustomElement();
|
|
41
|
-
|
|
42
|
-
export { StepperLine as S, defineCustomElement as d };
|
|
43
|
-
//# sourceMappingURL=p-RLs2w_87.js.map
|
|
44
|
-
|
|
45
|
-
//# sourceMappingURL=p-RLs2w_87.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-RLs2w_87.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,kzCAAkzC;;MCOr0C,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;;;;;;AACvB;;AAEG;IACsB,MAAM,GAAY,KAAK;AAEhD;;AAEG;IACsB,SAAS,GACjC,YAAY;IAEb,MAAM,GAAA;AACL,QAAA,OAAO,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAC,KAAK,EAAC,gBAAgB,GAAQ;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/deprecated/atoms/stepper/line/stepper-line.component.scss?tag=p-stepper-line&encapsulation=shadow","src/components/deprecated/atoms/stepper/line/stepper-line.component.tsx"],"sourcesContent":[":host {\n\t@apply flex-auto;\n\t@apply transition duration-500 ease-in-out;\n\n\t@apply block;\n\n\t@apply bg-mystic-dark;\n}\n\n:host([direction='horizontal']) {\n\t@apply mb-[calc(.5rem-1px)] h-[2px];\n}\n\n:host([direction='vertical']) {\n\t@apply ml-[calc(.5rem-1px)] mr-[calc(.5rem-1px)] min-h-[1rem] w-[2px];\n}\n\n:host([active]) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-line',\n\tstyleUrl: 'stepper-line.component.scss',\n\tshadow: true,\n})\nexport class StepperLine {\n\t/**\n\t * Wether the line is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\t/**\n\t * The direction of the stepper line\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\trender() {\n\t\treturn <Host class=\"p-stepper-line\"></Host>;\n\t}\n}\n"],"version":3}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as e,H as r}from"./p-DhGo7hbh.js";const i=".absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-0{top:0!important}.order-2{order:2!important}.ml-0{margin-left:0!important}.mr-4{margin-right:1rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-4{width:1rem!important}.w-full{width:100%!important}.min-w-\\[calc\\(100\\%-2rem\\)\\]{min-width:calc(100% - 2rem)!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(0 255 0/var(--tw-bg-opacity,1))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{align-items:flex-end;display:flex;justify-content:center;position:relative;width:100%}:host .content{--tw-text-opacity:1;color:rgb(0 255 255/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;min-width:calc(100% - 2rem);white-space:nowrap}:host .circle{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(0 255 0/var(--tw-bg-opacity,1));border-radius:9999px;color:rgb(255 255 255/var(--tw-text-opacity,1));display:flex;flex-shrink:0;height:1rem;justify-content:center;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host .circle p-icon{display:flex!important;font-size:.625rem}:host([direction=horizontal]){flex:0;height:2.5rem}:host([direction=horizontal]) .content{min-width:0;order:1;position:absolute;top:0}:host([direction=horizontal]) .circle{order:2}:host([direction=vertical]){align-items:center;min-height:1rem}:host([direction=vertical]) .content{margin-left:1rem;order:2}:host([direction=vertical]) .circle{order:1}:host([active]) .content,:host([finished]) .content{--tw-text-opacity:1;color:rgb(255 192 203/var(--tw-text-opacity,1))}:host([active]) .circle,:host([finished]) .circle{--tw-bg-opacity:1;background-color:rgb(255 192 203/var(--tw-bg-opacity,1))}:host([direction=horizontal][align=start]) .content{left:0}:host([direction=horizontal][align=end]) .content{right:0}:host([direction=horizontal][align=center]) .content{--tw-translate-x:-50%;left:50%;text-align:center;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host([direction=vertical][content-position=start]){flex-direction:row-reverse}:host([direction=vertical][content-position=start]) .content{display:flex;justify-content:flex-end;margin-left:0;margin-right:1rem}.static{position:static!important}";const o=class{constructor(e){t(this,e)}align="center";direction="horizontal";contentPosition="end";finished=false;active=false;render(){return e(r,{key:"00b12417594b4549a7cf81325c4cc96d8f0210c2",class:"p-stepper-item"},e("div",{key:"d0e45b771c701974859771fa1e785bd3ee70d4ea",class:"circle"},this.finished&&e("p-icon",{key:"7b911928983e885ad0cb8b589b50491f2c9bb917",variant:"checkmark"})),e("div",{key:"e3be25a34e07e51c39d2a45e13a8678d32327c7c",class:"content"},e("slot",{key:"684ab813c54847a46de04d0413af98b1c438b7ab",name:"content"})))}};o.style=i;export{o as p_stepper_item};
|
|
2
|
-
//# sourceMappingURL=p-0859bb42.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stepperItemComponentCss","StepperItem","align","direction","contentPosition","finished","active","render","h","Host","key","class","this","variant","name"],"sources":["src/components/deprecated/atoms/stepper/item/stepper-item.component.scss?tag=p-stepper-item&encapsulation=shadow","src/components/deprecated/atoms/stepper/item/stepper-item.component.tsx"],"sourcesContent":[":host {\n\t@apply relative flex w-full items-end justify-center;\n\n\t.content {\n\t\t@apply min-w-[calc(100%-2rem)] whitespace-nowrap;\n\t\t@apply text-sm text-storm-light;\n\t}\n\n\t.circle {\n\t\t@apply transition duration-500 ease-in-out;\n\t\t@apply flex items-center justify-center flex-shrink-0;\n\t\t@apply h-4 w-4 rounded-full;\n\t\t@apply bg-mystic-dark text-white;\n\n\t\tp-icon {\n\t\t\t@apply flex #{!important};\n\t\t\tfont-size: 0.625rem;\n\t\t}\n\t}\n}\n\n:host([direction='horizontal']) {\n\tflex: 0;\n\t@apply h-10;\n\n\t.content {\n\t\t@apply absolute top-0 min-w-0;\n\t\t@apply order-1;\n\t}\n\n\t.circle {\n\t\t@apply order-2;\n\t}\n}\n\n:host([direction='vertical']) {\n\t@apply min-h-[1rem] items-center;\n\n\t.content {\n\t\t@apply order-2 ml-4;\n\t}\n\n\t.circle {\n\t\t@apply order-1;\n\t}\n}\n\n:host([active]),\n:host([finished]) {\n\t.content {\n\t\t@apply text-indigo;\n\t}\n\n\t.circle {\n\t\t@apply bg-indigo;\n\t}\n}\n\n:host([direction='horizontal'][align='start']) {\n\t.content {\n\t\t@apply left-0;\n\t}\n}\n\n:host([direction='horizontal'][align='end']) {\n\t.content {\n\t\t@apply right-0;\n\t}\n}\n\n:host([direction='horizontal'][align='center']) {\n\t.content {\n\t\t@apply left-1/2 -translate-x-1/2 transform text-center;\n\t}\n}\n\n:host([direction='vertical'][content-position='start']) {\n\t@apply flex-row-reverse;\n\n\t.content {\n\t\t@apply ml-0 mr-4 flex justify-end;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.scss',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The alignment of the step content\n\t */\n\t@Prop({ reflect: true }) align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The direction of the stepper step\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop({ reflect: true }) finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-stepper-item\">\n\t\t\t\t<div class=\"circle\">\n\t\t\t\t\t{this.finished && <p-icon variant=\"checkmark\" />}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAA0B,i2G,MCOnBC,EAAW,M,yBAIEC,MAAoC,SAKpCC,UACxB,aAKwBC,gBAAmC,MAKnCC,SAAoB,MAKpBC,OAAkB,MAE3C,MAAAC,GACC,OACCC,EAACC,EAAK,CAAAC,IAAA,2CAAAC,MAAM,kBACXH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,UACTC,KAAKP,UAAYG,EAAQ,UAAAE,IAAA,2CAAAG,QAAQ,eAEnCL,EAAK,OAAAE,IAAA,2CAAAC,MAAM,WACVH,EAAA,QAAAE,IAAA,2CAAMI,KAAK,a","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as a}from"./p-DhGo7hbh.js";const o="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.gap-2{gap:.5rem!important}";const i=class{constructor(t){e(this,t)}header;render(){return t(a,{key:"2d6be2c8ff3ded760dfa38814d41798e34e668bd",class:"p-navigation-section flex flex-col gap-2"},this.header?.length>0&&t("p-navigation-title",{key:"811de7004feeb785fb30bdff062e150c1733bc0f"},this.header),t("div",{key:"97c9e1701288c4a4e56205800eafc0638ef5252c",class:"flex flex-col"},t("slot",{key:"5a11e97a2c4c38393c625e626665572aea79d106"})))}};i.style=o;export{i as p_navigation_section};
|
|
2
|
-
//# sourceMappingURL=p-0a6b03d0.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as a,H as e}from"./p-DhGo7hbh.js";const o="*{box-sizing:border-box}.static{position:static!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";const i=class{constructor(a){t(this,a)}render(){return a(e,{key:"eb18e6b6cb338e7a1492a2f1730760f065a497a9",class:"p-navigation-title text-xs font-medium text-black-teal-300"},a("slot",{key:"e98dd025038ddf4c893eaca629c3cc5c5b20dfdc"}))}};i.style=o;export{i as p_navigation_title};
|
|
2
|
-
//# sourceMappingURL=p-0b6db18f.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,g as e,h as i,H as s}from"./p-DhGo7hbh.js";const n=".flex{display:flex!important}.h-auto{height:auto!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}*{box-sizing:border-box}:host{display:flex}:host([direction=horizontal]){align-items:flex-end;height:auto}:host([direction=vertical]){align-items:flex-start;flex-direction:column;flex-wrap:wrap;width:100%}:host([direction=vertical][content-position=start]){align-items:flex-end}.static{position:static!important}";const r=class{constructor(e){t(this,e)}activeStep=1;enableAutoStatus=true;direction="horizontal";contentPosition="end";get _el(){return e(this)}_generateTimeout;_resizeObserver;_generateStepsOnce=()=>{if(this._generateTimeout){clearTimeout(this._generateTimeout);this._generateTimeout=null}this._generateTimeout=setTimeout((()=>this._generateSteps()),50)};_generateSteps=async()=>{if(!this._el){return}let t=this.activeStep-1||0;const e=this._el.querySelectorAll("p-stepper-item");let i=false;for(let s=0;s<e?.length;s++){const n=e.item(s);if(this.enableAutoStatus){n.active=s===t;n.finished=s<t}if(!this.activeStep||t<0){if(n.active){t=s}if(t<0&&n.finished){t=s+1}}if(n.direction!==this.direction&&!i){i=true}n.direction=this.direction;n.align=this.direction==="vertical"?"start":s===0?"start":s===e?.length-1?"end":"center";n.contentPosition=this.contentPosition}if(i){await new Promise((t=>setTimeout(t,200)))}for(let i=0;i<e?.length;i++){const s=e.item(i);if(i<e.length-1){let e=s.nextElementSibling;if(e&&e.tagName.toLowerCase()==="p-stepper-item"){const n=document.createElement("p-stepper-line");this._el.insertBefore(n,e);this._setStepperLineData(n,s,e,i,t);const r=n.previousElementSibling;if(r&&r.tagName.toLowerCase()==="p-stepper-line"){r.remove()}continue}if(e&&e.tagName.toLowerCase()==="p-stepper-line"){const n=e;e=e.nextElementSibling;if(e&&e.tagName.toLowerCase()==="p-stepper-item"){this._setStepperLineData(n,s,e,i,t)}}}if(i>0){const t=s.previousElementSibling;if(t&&t.tagName.toLowerCase()==="p-stepper-line"){t.direction=this.direction;t.active=s.active||s.finished}}}const s=this._el.querySelectorAll("p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child");for(let t=s.length-1;t>=0;t--){const e=s.item(t);e.remove()}};_setStepperLineData=(t,e,i,s,n)=>{const r=e.clientHeight/2;const o=i.clientHeight/2;t.direction=this.direction;t.active=s<n;if(r>0&&this.direction==="vertical"){t.style.marginTop=`-${r/16}rem`;t.style.marginBottom=`-${o/16}rem`;t.style.minHeight=`calc(1rem + ${(r+o)/16}rem)`}};componentDidLoad(){this._resizeObserver=new ResizeObserver((()=>this._generateStepsOnce()));this._resizeObserver.observe(this._el)}disconnectCallback(){if(this._resizeObserver){this._resizeObserver.disconnect()}}render(){return i(s,{key:"b28e2468eadad29e85e2201f95c83a57e545821f",class:"p-stepper"},i("slot",{key:"c6b310552a73de9351ea74ac406f876a91f3cf46",onSlotchange:()=>this._generateStepsOnce()}))}_onActiveStepChange(){this._generateStepsOnce()}static get watchers(){return{activeStep:["_onActiveStepChange"]}}};r.style=n;export{r as p_stepper};
|
|
2
|
-
//# sourceMappingURL=p-13b16981.entry.js.map
|