@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
|
@@ -81,11 +81,11 @@ const InputGroup = class {
|
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
83
|
const { hasHeaderSlot, helper, label, prefix, suffix, errorAndErrorIsNotBoolean, errorVariant, } = this._getSlotInfo();
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '1e6172aea80f3b50b35ab6a44c43a0588639957b', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, h("div", { key: '434782c7d338859193881e4555a3d4db5139dc29', class: 'flex items-end justify-between' }, label && (h("div", { key: '8dbab2712677dc2b14c203e0e8aa717da6781bee', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && h("span", { key: 'bcd81584ec51a142e8650fedaa2081a9b511bece', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (h("div", { key: '31792e3bb6c2cd45f13862e62028f9d7a3acedae', class: 'input-header' }, hasHeaderSlot && h("slot", { key: '2acacc9ade52864fee85e8a3587c60ab55c86a90', name: 'header' }), helper && (h("p-helper", { key: 'b5a787e02d10225cebc85e711a387497e576f7af', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), h("p-tooltip", { key: '826d4a16a18684c34ed2b13dfc8fe2ff09847188', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
|
|
85
85
|
errorVariant === 'element' &&
|
|
86
|
-
(this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, h("div", { key: '
|
|
86
|
+
(this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, h("div", { key: '8d389977935532489673dab6c64b4958e7b59bb0', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'f23e4cd54ab5f65665a72b1237e573c356f6f8d5', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
|
|
87
87
|
(errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
|
|
88
|
-
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
88
|
+
(this.icon && this.iconPosition === 'end')) && (h("div", { key: '5ad3b4aa11943de4d0540c628116ed5a915b0e3b', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), h("slot", { key: 'f983667b9fbaecf5a1364486a2cbae901eceb1f0', name: 'input' })))));
|
|
89
89
|
}
|
|
90
90
|
handleFocusIn() {
|
|
91
91
|
this._forceShowTooltip = true;
|
|
@@ -60,14 +60,14 @@ const Label = class {
|
|
|
60
60
|
*/
|
|
61
61
|
keepMobileContent = false;
|
|
62
62
|
render() {
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '32dd2d8461fc35a3a96fc8c12b019a91bacf07af', class: 'p-label' }, h("div", { key: '4e099bbd5bca5d3389e79b0b1d41190bbc45605c', class: label({
|
|
64
64
|
variant: this.variant,
|
|
65
65
|
iconOnly: this.iconOnly,
|
|
66
66
|
keepMobileContent: this.keepMobileContent,
|
|
67
|
-
}) }, this.icon && (h("p-icon", { key: '
|
|
67
|
+
}) }, this.icon && (h("p-icon", { key: '62928bfc6402ebc35c5cd153057ab19d26d45aa8', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '959f977c40b2e2eb620e92f4ab2004a3ed93b5b5', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
|
|
68
68
|
hidden: !this.keepMobileContent,
|
|
69
69
|
'desktop-xs:block': !this.keepMobileContent,
|
|
70
|
-
}) }, h("slot", { key: '
|
|
70
|
+
}) }, h("slot", { key: 'a3790bb2feb43a4b87d1923b7c9fd589a40b56fb' }))))));
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
Label.style = labelComponentCss;
|
|
@@ -16,7 +16,7 @@ const Layout = class {
|
|
|
16
16
|
*/
|
|
17
17
|
scroll;
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: 'b02332724f69e0cba31c5e238ea10af5c8291780', class: `p-layout variant-${this.variant}` }, h("div", { key: 'd474276efb743c6eabd6d950ce090d709728b598', class: 'content', onScroll: ev => this.scroll.emit(ev) }, h("div", { key: '7cbd2356bb00ea69eae650ce4d0e2cb556f58072', class: 'inner-content' }, h("slot", { key: '9ae03a651cdcbcb24d0543a44486d1667aa642df', name: 'content' }))), h("div", { key: '59265b9e456670924eed7e11fd0ac4e2e98b1b61', class: 'sidebar' }, h("slot", { key: '21cb7a40d7756745e923d4506804c19ac6837643', name: 'sidebar' })), h("div", { key: '096edbe4897ffd6cd2e21fae26edf8574d53fc59', class: 'topbar' }, h("slot", { key: '562931a693868f23de0b50177842d396dda22c93', name: 'topbar' }))));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
Layout.style = layoutComponentCss;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-DhGo7hbh.js';
|
|
2
|
+
|
|
3
|
+
const listingItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}";
|
|
4
|
+
|
|
5
|
+
const ListingItem = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The icon of the step
|
|
11
|
+
*/
|
|
12
|
+
icon = 'placeholder';
|
|
13
|
+
render() {
|
|
14
|
+
return (h("div", { key: 'b8b7ad17778df4ee85ee319f031f229cb1a212cc', class: "flex gap-2 items-center text-black-teal" }, h("p-icon", { key: '69e69be4d6c89e6d8724f0bf274d62c53d343c81', variant: this.icon }), h("div", { key: 'de5a64733d1ecdbb227e7d76bd89d65b0815d0fb', class: "flex flex-col font-medium text-sm" }, h("slot", { key: '51b01a8425fae6aa01e171eeec9ebe4e093f93fb' }))));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
ListingItem.style = listingItemComponentCss;
|
|
18
|
+
|
|
19
|
+
export { ListingItem as p_listing_item };
|
|
20
|
+
//# sourceMappingURL=p-listing-item.entry.js.map
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=p-listing-item.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-listing-item.entry.js","sources":["src/components/atoms/listing/item/listing-item.component.css?tag=p-listing-item&encapsulation=shadow","src/components/atoms/listing/item/listing-item.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { IconVariant } from '../../icon/icon.component';\n\n\n@Component({\n\ttag: 'p-listing-item',\n\tstyleUrl: 'listing-item.component.css',\n\tshadow: true,\n})\nexport class ListingItem {\n\t/**\n\t * The icon of the step\n\t */\n\t@Prop() icon: IconVariant = 'placeholder';\n\n\n\trender() {\n\t\treturn (\n\t\t\t<div class=\"flex gap-2 items-center text-black-teal\">\n\t\t\t\t<p-icon variant={this.icon} />\n\t\t\t\t<div class=\"flex flex-col font-medium text-sm\"\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,uBAAuB,GAAG,wZAAwZ;;MCS3a,WAAW,GAAA,MAAA;;;;AACvB;;AAEG;IACK,IAAI,GAAgB,aAAa;IAGzC,MAAM,GAAA;QACL,QACC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,0CAA0C,EAAA,EACpD,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,OAAO,EAAE,IAAI,CAAC,IAAI,EAAI,CAAA,EAC9B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,mCAAmC,EAAA,EAE7C,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH,CACD;;;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-DhGo7hbh.js';
|
|
2
|
+
|
|
3
|
+
const listingLineComponentCss = ".mx-\\[calc\\(0\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px)!important;margin-right:calc(.5rem - 1px)!important}.block{display:block!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[1px\\]{width:1px!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(222 219 213/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:1px}.static{position:static!important}";
|
|
4
|
+
|
|
5
|
+
const ListingLine = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
render() {
|
|
10
|
+
return h(Host, { key: '60c7ba505055895c09263bf1b8e45b582ac348d9' });
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
ListingLine.style = listingLineComponentCss;
|
|
14
|
+
|
|
15
|
+
export { ListingLine as p_listing_line };
|
|
16
|
+
//# sourceMappingURL=p-listing-line.entry.js.map
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=p-listing-line.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-listing-line.entry.js","sources":["src/components/atoms/listing/line/listing-line.component.css?tag=p-listing-line&encapsulation=shadow","src/components/atoms/listing/line/listing-line.component.tsx"],"sourcesContent":[":host {\n\t@apply block flex-auto;\n\t@apply bg-off-white-700;\n\t@apply min-h-[1rem] w-[1px] mx-[calc(0.5rem-1px)];\n}\n","import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-listing-line',\n\tstyleUrl: 'listing-line.component.css',\n\tshadow: true,\n})\nexport class ListingLine {\n\trender() {\n\t\treturn <Host />;\n\t}\n}\n"],"names":[],"mappings":";;AAAA,MAAM,uBAAuB,GAAG,8dAA8d;;MCOjf,WAAW,GAAA,MAAA;;;;IACvB,MAAM,GAAA;QACL,OAAO,CAAA,CAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAG;;;;;;;"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { r as registerInstance, g as getElement, h } from './index-DhGo7hbh.js';
|
|
2
|
+
|
|
3
|
+
const listingComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.gap-1{gap:.25rem!important}";
|
|
4
|
+
|
|
5
|
+
const Listing = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
get _el() { return getElement(this); }
|
|
10
|
+
_generateTimeout;
|
|
11
|
+
_resizeObserver;
|
|
12
|
+
_generateStepsOnce = () => {
|
|
13
|
+
if (this._generateTimeout) {
|
|
14
|
+
clearTimeout(this._generateTimeout);
|
|
15
|
+
this._generateTimeout = null;
|
|
16
|
+
}
|
|
17
|
+
this._generateTimeout = setTimeout(() => this._generateSteps(), 50);
|
|
18
|
+
};
|
|
19
|
+
_generateSteps = async () => {
|
|
20
|
+
if (!this._el) {
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const items = this._el.querySelectorAll('p-listing-item');
|
|
24
|
+
for (let i = 0; i < items?.length; i++) {
|
|
25
|
+
const item = items.item(i);
|
|
26
|
+
if (i < items.length - 1) {
|
|
27
|
+
let nextItem = item.nextElementSibling;
|
|
28
|
+
if (nextItem && nextItem.tagName.toLowerCase() === 'p-listing-item') {
|
|
29
|
+
const listingLine = document.createElement('p-listing-line');
|
|
30
|
+
this._el.insertBefore(listingLine, nextItem);
|
|
31
|
+
this._setListingLineData(listingLine, item, nextItem);
|
|
32
|
+
const previous = listingLine.previousElementSibling;
|
|
33
|
+
if (previous && previous.tagName.toLowerCase() === 'p-listing-line') {
|
|
34
|
+
previous.remove();
|
|
35
|
+
}
|
|
36
|
+
continue;
|
|
37
|
+
}
|
|
38
|
+
if (nextItem && nextItem.tagName.toLowerCase() === 'p-listing-line') {
|
|
39
|
+
const listingLine = nextItem;
|
|
40
|
+
nextItem = nextItem.nextElementSibling;
|
|
41
|
+
if (nextItem && nextItem.tagName.toLowerCase() === 'p-listing-item') {
|
|
42
|
+
this._setListingLineData(listingLine, item, nextItem);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
const lines = this._el.querySelectorAll('p-listing-line:not(:has(+ p-listing-item)), p-listing-line:first-child');
|
|
48
|
+
for (let j = lines.length - 1; j >= 0; j--) {
|
|
49
|
+
const line = lines.item(j);
|
|
50
|
+
line.remove();
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
_setListingLineData = (listingLine, item, nextItem) => {
|
|
54
|
+
let heightDiff = (item.clientHeight - 16) / 2;
|
|
55
|
+
let heightDiffNext = (nextItem.clientHeight - 16) / 2;
|
|
56
|
+
if (heightDiff > 0) {
|
|
57
|
+
let totalHeight = heightDiff + heightDiffNext;
|
|
58
|
+
listingLine.style.marginTop = `-${heightDiff / 16}rem`;
|
|
59
|
+
listingLine.style.marginBottom = `-${heightDiffNext / 16}rem`;
|
|
60
|
+
listingLine.style.minHeight = `calc(1.5rem + ${((totalHeight - 16) / 16)}rem)`;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
componentDidLoad() {
|
|
64
|
+
this._resizeObserver = new ResizeObserver(() => this._generateStepsOnce());
|
|
65
|
+
this._resizeObserver.observe(this._el);
|
|
66
|
+
}
|
|
67
|
+
disconnectCallback() {
|
|
68
|
+
if (this._resizeObserver) {
|
|
69
|
+
this._resizeObserver.disconnect();
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
render() {
|
|
73
|
+
return (h("div", { key: '3f051852b090886192e41453cd2b7cec83620b3a', class: "flex gap-1 w-full flex-col flex-wrap items-start" }, h("slot", { key: '3e2ee065a037edb5dd007a53ca9d0e4964afcf88', onSlotchange: () => this._generateStepsOnce() })));
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
Listing.style = listingComponentCss;
|
|
77
|
+
|
|
78
|
+
export { Listing as p_listing };
|
|
79
|
+
//# sourceMappingURL=p-listing.entry.js.map
|
|
80
|
+
|
|
81
|
+
//# sourceMappingURL=p-listing.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p-listing.entry.js","sources":["src/components/organisms/listing/listing.component.css?tag=p-listing&encapsulation=shadow","src/components/organisms/listing/listing.component.tsx"],"sourcesContent":["","import { Component, Element, h } from '@stencil/core';\n\n@Component({\n\ttag: 'p-listing',\n\tstyleUrl: 'listing.component.css',\n\tshadow: true,\n})\nexport class Listing {\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\tconst items = this._el.querySelectorAll('p-listing-item');\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-listing-item') {\n\t\t\t\t\tconst listingLine = document.createElement('p-listing-line');\n\t\t\t\t\tthis._el.insertBefore(listingLine, nextItem);\n\t\t\t\t\tthis._setListingLineData(listingLine, item, nextItem);\n\n\t\t\t\t\tconst previous = listingLine.previousElementSibling;\n\t\t\t\t\tif (previous && previous.tagName.toLowerCase() === 'p-listing-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-listing-line') {\n\t\t\t\t\tconst listingLine = nextItem;\n\t\t\t\t\tnextItem = nextItem.nextElementSibling;\n\n\t\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-listing-item') {\n\t\t\t\t\t\tthis._setListingLineData(\n\t\t\t\t\t\t\tlistingLine,\n\t\t\t\t\t\t\titem,\n\t\t\t\t\t\t\tnextItem,\n\t\t\t\t\t\t);\n\t\t\t\t\t}\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-listing-line:not(:has(+ p-listing-item)), p-listing-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 _setListingLineData = (\n\t\tlistingLine: HTMLPListingLineElement,\n\t\titem: HTMLPListingItemElement,\n\t\tnextItem: HTMLPListingItemElement,\n\t) => {\n\t\tlet heightDiff = (item.clientHeight - 16) / 2;\n\t\tlet heightDiffNext = (nextItem.clientHeight - 16) / 2;\n\n\t\tif (heightDiff > 0) {\n\t\t\tlet totalHeight = heightDiff + heightDiffNext;\n\n\t\t\tlistingLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\tlistingLine.style.marginBottom = `-${heightDiffNext / 16}rem`;\n\n\t\t\tlistingLine.style.minHeight = `calc(1.5rem + ${\n\t\t\t\t((totalHeight - 16) / 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<div class=\"flex gap-1 w-full flex-col flex-wrap items-start\">\n\t\t\t\t<slot onSlotchange={() => this._generateStepsOnce()} />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":"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"}
|
|
@@ -30,10 +30,10 @@ const ModalBody = class {
|
|
|
30
30
|
*/
|
|
31
31
|
roundedTop = false;
|
|
32
32
|
render() {
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: '9b8307262b3b5199e484e1829ea0fed083d58edf', class: body({
|
|
34
34
|
roundedBottom: this.roundedBottom,
|
|
35
35
|
roundedTop: this.roundedTop,
|
|
36
|
-
}) }, h("slot", { key: '
|
|
36
|
+
}) }, h("slot", { key: 'da6b7ce608f7fa86d587ff9a8e562a315f88ee6b' })));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
ModalBody.style = modalBodyComponentCss;
|
|
@@ -73,10 +73,10 @@ const ModalContainer = class {
|
|
|
73
73
|
*/
|
|
74
74
|
closing = false;
|
|
75
75
|
render() {
|
|
76
|
-
return (h("div", { key: '
|
|
76
|
+
return (h("div", { key: '5c8f050a08d8179a9d3f3b9d00c3b5a83ff02455', class: container({
|
|
77
77
|
size: this.size,
|
|
78
78
|
closing: asBoolean(this.closing),
|
|
79
|
-
}) }, h("slot", { key: '
|
|
79
|
+
}) }, h("slot", { key: 'df7373e0af791d69327a18af285d3a6442c5ce74' })));
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
ModalContainer.style = modalContainerComponentCss;
|
|
@@ -88,7 +88,7 @@ const ModalFooter = class {
|
|
|
88
88
|
registerInstance(this, hostRef);
|
|
89
89
|
}
|
|
90
90
|
render() {
|
|
91
|
-
return (h("div", { key: '
|
|
91
|
+
return (h("div", { key: 'ac0db271211f2d3ac2ae7d34622419c64f09c527', class: 'flex flex-col rounded-b-none bg-white pb-4 desktop-xs:rounded-b-2xl' }, h("p-divider", { key: '8313e9f68e559fd85ca7aab0190bd5b5b65c182e', class: 'mb-4 hidden desktop-xs:inline-block' }), h("div", { key: 'dff28c38df5c44ad55348a198a1b1faf1d051952', class: 'flex flex-col gap-4 px-4 tablet:flex-row' }, h("slot", { key: 'bcc07a68370556e1ac18f264da68169c2458cfe4' }))));
|
|
92
92
|
}
|
|
93
93
|
};
|
|
94
94
|
ModalFooter.style = modalFooterComponentCss;
|
|
@@ -119,7 +119,7 @@ const ModalHeader = class {
|
|
|
119
119
|
*/
|
|
120
120
|
close;
|
|
121
121
|
render() {
|
|
122
|
-
return (h("div", { key: '
|
|
122
|
+
return (h("div", { key: 'e7823cd56e32a897843f300b5d21818d91ce70f3', class: header() }, h("div", { key: '7f024198ab671c45f037810d102bad8f8bfd3c93', class: content() }, h("div", { key: '7c0ecce31a88ae161f65764c76bcfdb8297c2dd9', class: title() }, h("slot", { key: '10a1e997e01aff1a89eece5fbff195bd24c7bed9' })), this.showClose && (h("p-button", { key: '07b0c921b1a584d39e1d606cc1b663bc71e057f5', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: 'fa197839056c23056d965a7a21198b983c50ee66' })));
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
ModalHeader.style = modalHeaderComponentCss;
|
|
@@ -49,7 +49,7 @@ const Navbar = class {
|
|
|
49
49
|
}
|
|
50
50
|
_show = false;
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { key: '
|
|
52
|
+
return (h(Host, { key: '791a884717f9cce8cba66ec8a60703b3f78d7abd' }, h("p-backdrop", { key: '9e4b8a12fab692e061a95fbf9b3963eefa5109fd', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '4e6af6f651ff9dc0e54c2240edff069a08f02843', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '810c69b841ee864973f24c0be180bc90fbed31ec', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: 'abb54e2600b4a9086f23baf6b54cb31a0ec1c609', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: '39f060cab2b9a62cd4f6c0ac7bf39be118be687b', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: 'a73fa3ae25ee9f4032dd2d004b75f1df6d4f97f2', name: 'company' })), h("div", { key: 'e21cec9f0dc9045a8c07d543908549897ac3aea8', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: '7da0858f334402c354c833c90a7827fb8cd4e3f2', name: 'content' })), h("div", { key: '8f2085c78cf3e4e5308406ff0f1d0f098001b2a0', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: '2af50ce2333dc4012c50f381913a4499da3c267a', name: 'user' }))), h("div", { key: '486623c3b302439bd98271587603db2c9c27dcd4', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '1380834689d98975ddb095aab3305532d37db16c', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: '847ec37eaf8aa104f0b27dc1e6ae53b54cae4deb', name: 'topbar' }))));
|
|
53
53
|
}
|
|
54
54
|
handleCloseNavbar() {
|
|
55
55
|
this._show = false;
|
|
@@ -73,10 +73,10 @@ const NavigationItem = class {
|
|
|
73
73
|
render() {
|
|
74
74
|
const TagType = this.as;
|
|
75
75
|
const active = asBoolean(this.active) || this.class?.includes('active');
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '79994e86292f09cfc75ff2f3975030ee9e9dce06', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: 'bed91b063af5892b731a872fbb0949b539f4591c', class: navigationItem({
|
|
77
77
|
icon: !!this.icon,
|
|
78
78
|
active,
|
|
79
|
-
}), href: this.href, target: this.target }, h("div", { key: '
|
|
79
|
+
}), href: this.href, target: this.target }, h("div", { key: '207d64b0404e1bbd61c01ebbe48011e3c5bb4f92', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'babf7766bd3e6c4abe920e080c36d2bf940ea480', variant: this.icon })), h("span", { key: '64bcff00187439b6d894682f3b3b77d4f34e5865', class: this.counter && 'has-counter' }, h("slot", { key: '7810eb410817292b67cb540bc406aca91c07c5b3' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: 'b1da55a598b0e7ee9af2d8f8b5814af7ee7fc1a9' }, this.counter)), !!this.loading && h("p-loader", { key: '0617f2cbd8a40642ec4fd992ca0daed95c44d0bf', class: 'ml-auto' }))));
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
NavigationItem.style = navigationItemComponentCss;
|
|
@@ -11,7 +11,7 @@ const NavigationSection = class {
|
|
|
11
11
|
*/
|
|
12
12
|
header;
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'f4f2bcc2770ff5c35006c726fa8eaa766c0576c1', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '54a51bf17ffcc7ab14f254e22ab912d479ecf47e' }, this.header)), h("div", { key: '3f0d55eda9f0f0dcf6a5d12be309d9310a29d67d', class: 'flex flex-col' }, h("slot", { key: '47119d190320bf6e916ee65b53db59f0b7308e25' }))));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
NavigationSection.style = navigationSectionComponentCss;
|
|
@@ -7,7 +7,7 @@ const NavigationTitle = class {
|
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '677084de2fb9af41886fae8c566b44e90987ad0c', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, h("slot", { key: 'df6ff2eaf7d781f15d3291d430526e84e87cf0c4' })));
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
NavigationTitle.style = navigationTitleComponentCss;
|
|
@@ -84,12 +84,12 @@ const PaginationPagesItem = class {
|
|
|
84
84
|
*/
|
|
85
85
|
disabled = false;
|
|
86
86
|
render() {
|
|
87
|
-
return (h(Host, { key: '
|
|
87
|
+
return (h(Host, { key: '370f6de694de331a35e2c773fd77dffd4a433449', class: item({
|
|
88
88
|
variant: this.variant,
|
|
89
89
|
active: this.active,
|
|
90
90
|
hover: this.hover,
|
|
91
91
|
disabled: this.disabled,
|
|
92
|
-
}) }, h("slot", { key: '
|
|
92
|
+
}) }, h("slot", { key: 'ba79922cdad66e08de077e59607abc05d4a6c262' })));
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
95
|
PaginationPagesItem.style = paginationPagesItemComponentCss;
|
|
@@ -71,12 +71,12 @@ const Pagination = class {
|
|
|
71
71
|
_hasPaginationPages = true;
|
|
72
72
|
render() {
|
|
73
73
|
const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
|
|
74
|
-
return (h(Host, { key: '
|
|
74
|
+
return (h(Host, { key: 'dad75f3cb1a1bb3ceb52371f3f9b336c55bd0968', class: pagination$1({
|
|
75
75
|
hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
|
|
76
76
|
(!this.enablePaginationSize && !this.enablePaginationPages),
|
|
77
|
-
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '
|
|
77
|
+
}) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '84c04d7410f17ee51584a2a99c97269111f10925' }, h("p-pagination-size", { key: 'c6db1b39dca87fb29c03898bd9e0edde9a562566', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
|
|
78
78
|
this.hideOnSinglePage &&
|
|
79
|
-
this._hasPaginationPages && (h("p-divider", { key: '
|
|
79
|
+
this._hasPaginationPages && (h("p-divider", { key: '1c4c340bcf7cae54f823ef9ac0a47e217adfb5e4', variant: 'vertical', class: 'mx-0 h-4 text-human-beige-700' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'd484f11908581d0b0ed8cd1415766b37de97a886', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
|
|
80
80
|
this._hasPaginationPages = detail > 1;
|
|
81
81
|
this.pagesChange.emit(detail);
|
|
82
82
|
} }))));
|
|
@@ -137,7 +137,7 @@ const PaginationPages = class {
|
|
|
137
137
|
this._generate();
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '00be81f328b6fc3b6c26e8071fc1c30e588a9c58', class: pagination({
|
|
141
141
|
hidden: this.hideOnSinglePage && this._set?.length === 3,
|
|
142
142
|
}) }, this._set?.map(p => {
|
|
143
143
|
if (p.type === 'previous' || p.type === 'next') {
|
|
@@ -16,7 +16,7 @@ const Portal = class {
|
|
|
16
16
|
this._moved ? this._el.remove() : (this._moved = true);
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '7bb00af33aa3d9f2ce92c74b3ba8733b5aa207ca' }, h("slot", { key: '4ca5ee281205812eed199bb1dbeff4f4b9374f16' })));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
|
|
@@ -102,11 +102,11 @@ const Radio = class {
|
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
104
|
const id = this.id?.length ? this.id : this._nonce;
|
|
105
|
-
return (h(Host, { key: '
|
|
105
|
+
return (h(Host, { key: 'cf7536ffc4b7ddf8d0e67571be7c062660c6dc36', class: 'p-radio' }, h("label", { key: 'f8c4a5cf6258f020eeac15c5ce14048579495c2c', htmlFor: id, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'c497684d3c4aff17a62a17682c39501c77b28c11', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '4dca4f8cc1d7fbb1e3d4b2b09c7e326bf087d40e', class: radio({
|
|
106
106
|
disabled: asBoolean(this.disabled),
|
|
107
|
-
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
107
|
+
}), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: 'c33272fac792dfb69ddd315f1c423f8bfd429b33', class: circle({
|
|
108
108
|
disabled: asBoolean(this.disabled),
|
|
109
|
-
}) })), h("slot", { key: '
|
|
109
|
+
}) })), h("slot", { key: 'fec5314d43c8bde9fd367c004f5e417a26cfe3ab' }))));
|
|
110
110
|
}
|
|
111
111
|
_onChange(ev) {
|
|
112
112
|
if (asBoolean(this.disabled)) {
|
|
@@ -298,7 +298,7 @@ const Select = class {
|
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
300
|
render() {
|
|
301
|
-
return (h("p-dropdown", { key: '
|
|
301
|
+
return (h("p-dropdown", { key: '08a2cd3461d8d9e7acaa6572ea27246766c01185', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), usePortal: this.usePortal, strategy: this.strategy }, h("p-field-container", { key: '759513ea56860f6a309a3eecb789716fb235018b', slot: 'trigger', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: '4c9879f4f95b9c8e44cd433bd23d3130c28149f6', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: 'd5e7bdf3db55e67da2ff9756d5a2118d6b3c8f70', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()));
|
|
302
302
|
}
|
|
303
303
|
documentClickHandler(event) {
|
|
304
304
|
if (!this._showDropdown || childOfComposed(event, this._el)) {
|
|
@@ -11,7 +11,7 @@ const SliderIndicator = class {
|
|
|
11
11
|
*/
|
|
12
12
|
active = false;
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'd9cc5d71cf33a58c8d43f6dab9a909c2d06f2d2f', class: `p-slider-indicator ${this.active && 'active'}` }));
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
SliderIndicator.style = sliderIndicatorComponentCss;
|
|
@@ -27,7 +27,7 @@ const Smile = class {
|
|
|
27
27
|
*/
|
|
28
28
|
variant = 'modal';
|
|
29
29
|
render() {
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'ce399fe0541567baa86813a2d87815900c4e0ecf', class: smile({ variant: this.variant }) }, h("div", { key: '8779b1bcb694671d615164712511ce4e721b84ae', class: 'absolute bottom-0 left-0 h-full w-full text-off-white-500', innerHTML: smileSvg })));
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
Smile.style = smileComponentCss;
|
|
@@ -23,8 +23,8 @@ const Status = class {
|
|
|
23
23
|
*/
|
|
24
24
|
iconRotate;
|
|
25
25
|
render() {
|
|
26
|
-
return (h(Host, { key: '
|
|
27
|
-
}` }, this._getIcon(), h("slot", { key: '
|
|
26
|
+
return (h(Host, { key: 'be9bde36193a5cb33ef365ce5cf78637f9a9ad98', class: `p-status variant-${this.variant}
|
|
27
|
+
}` }, this._getIcon(), h("slot", { key: '847a22130404a065832c703aec9bcc171f20050b' })));
|
|
28
28
|
}
|
|
29
29
|
_getIcon() {
|
|
30
30
|
const icon = this.icon || this._getVariantIcon();
|
|
@@ -1,19 +1,93 @@
|
|
|
1
|
-
import { r as registerInstance, h
|
|
1
|
+
import { r as registerInstance, h } from './index-DhGo7hbh.js';
|
|
2
|
+
import { c as cva } from './index-CO0T2jO4.js';
|
|
3
|
+
import { a as asBoolean } from './as-boolean-C5CTp9IA.js';
|
|
4
|
+
import './clsx-ChV9xqsO.js';
|
|
2
5
|
|
|
3
|
-
const stepperItemComponentCss = "
|
|
6
|
+
const stepperItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-row-reverse{flex-direction:row-reverse!important}.items-start{align-items:flex-start!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-dark-teal-400{--tw-border-opacity:1!important;border-color:rgb(51 116 109/var(--tw-border-opacity,1))!important}.bg-dark-teal-400{--tw-bg-opacity:1!important;background-color:rgb(51 116 109/var(--tw-bg-opacity,1))!important}.bg-dark-teal-50{--tw-bg-opacity:1!important;background-color:rgb(229 238 237/var(--tw-bg-opacity,1))!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-dark-teal-400{--tw-text-opacity:1!important;color:rgb(51 116 109/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";
|
|
4
7
|
|
|
8
|
+
const item = cva('flex gap-2', {
|
|
9
|
+
variants: {
|
|
10
|
+
align: {
|
|
11
|
+
start: 'items-start',
|
|
12
|
+
center: 'items-center',
|
|
13
|
+
end: 'items-end',
|
|
14
|
+
},
|
|
15
|
+
contentPosition: {
|
|
16
|
+
start: 'flex-row-reverse',
|
|
17
|
+
end: null
|
|
18
|
+
},
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const circle = cva(['h-6 w-6 flex items-center justify-center', 'text-sm text-center font-medium', 'border border-solid border-dark-teal-400', 'rounded-full'], {
|
|
22
|
+
variants: {
|
|
23
|
+
finished: {
|
|
24
|
+
true: null,
|
|
25
|
+
false: null
|
|
26
|
+
},
|
|
27
|
+
active: {
|
|
28
|
+
true: null,
|
|
29
|
+
false: null
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
compoundVariants: [
|
|
33
|
+
{
|
|
34
|
+
finished: false,
|
|
35
|
+
active: false,
|
|
36
|
+
class: 'text-dark-teal-400 bg-dark-teal-50'
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
active: true,
|
|
40
|
+
finished: false,
|
|
41
|
+
class: 'text-white bg-dark-teal-400',
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
active: false,
|
|
45
|
+
finished: true,
|
|
46
|
+
class: 'text-white bg-dark-teal-400',
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
});
|
|
50
|
+
const content = cva('text-sm font-medium', {
|
|
51
|
+
variants: {
|
|
52
|
+
finished: {
|
|
53
|
+
true: null,
|
|
54
|
+
false: null
|
|
55
|
+
},
|
|
56
|
+
active: {
|
|
57
|
+
true: null,
|
|
58
|
+
false: null
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
compoundVariants: [
|
|
62
|
+
{
|
|
63
|
+
finished: false,
|
|
64
|
+
active: false,
|
|
65
|
+
class: 'text-black-teal-400'
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
active: true,
|
|
69
|
+
finished: false,
|
|
70
|
+
class: 'text-black-teal-500',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
active: false,
|
|
74
|
+
finished: true,
|
|
75
|
+
class: 'text-black-teal-500',
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
});
|
|
5
79
|
const StepperItem = class {
|
|
6
80
|
constructor(hostRef) {
|
|
7
81
|
registerInstance(this, hostRef);
|
|
8
82
|
}
|
|
9
83
|
/**
|
|
10
|
-
* The
|
|
84
|
+
* The number of the step
|
|
11
85
|
*/
|
|
12
|
-
|
|
86
|
+
number = 1;
|
|
13
87
|
/**
|
|
14
|
-
* The
|
|
88
|
+
* The alignment of the content in case of vertical direction
|
|
15
89
|
*/
|
|
16
|
-
|
|
90
|
+
align = 'center';
|
|
17
91
|
/**
|
|
18
92
|
* The position of the content in case of vertical direction
|
|
19
93
|
*/
|
|
@@ -27,7 +101,16 @@ const StepperItem = class {
|
|
|
27
101
|
*/
|
|
28
102
|
active = false;
|
|
29
103
|
render() {
|
|
30
|
-
return (h(
|
|
104
|
+
return (h("div", { key: '31bdc65cb996e82942a2669150516d52c612a6de', class: item({
|
|
105
|
+
align: this.align,
|
|
106
|
+
contentPosition: this.contentPosition
|
|
107
|
+
}) }, h("div", { key: 'c8a00a2c7345508a154116f8a11fb1514b819328', class: circle({
|
|
108
|
+
active: asBoolean(this.active),
|
|
109
|
+
finished: asBoolean(this.finished)
|
|
110
|
+
}) }, this.number), h("div", { key: '30206086d8f9b97695071865897326bfd73cdf55', class: content({
|
|
111
|
+
active: asBoolean(this.active),
|
|
112
|
+
finished: asBoolean(this.finished)
|
|
113
|
+
}) }, h("slot", { key: '9235d3ad7efe5c8264177b653c713233e193eef1' }))));
|
|
31
114
|
}
|
|
32
115
|
};
|
|
33
116
|
StepperItem.style = stepperItemComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p-stepper-item.entry.js","sources":["src/components/
|
|
1
|
+
{"version":3,"file":"p-stepper-item.entry.js","sources":["src/components/atoms/stepper/item/stepper-item.component.css?tag=p-stepper-item&encapsulation=shadow","src/components/atoms/stepper/item/stepper-item.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst item = cva(\n\t'flex gap-2',\n\t{\n\t\tvariants: {\n\t\t\talign: {\n\t\t\t\tstart: 'items-start',\n\t\t\t\tcenter: 'items-center',\n\t\t\t\tend: 'items-end',\n\t\t\t},\n\t\t\tcontentPosition: {\n\t\t\t\tstart: 'flex-row-reverse',\n\t\t\t\tend: null\n\t\t\t},\n\t\t}\n\t}\n);\n\nconst circle = cva(['h-6 w-6 flex items-center justify-center', 'text-sm text-center font-medium', 'border border-solid border-dark-teal-400', 'rounded-full'], {\n\tvariants: {\n\t\tfinished: {\n\t\t\ttrue: null,\n\t\t\tfalse: null\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null\n\t\t}\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tfinished: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-dark-teal-400 bg-dark-teal-50'\n\t\t},\n\t\t{\n\t\t\tactive: true,\n\t\t\tfinished: false,\n\t\t\tclass: 'text-white bg-dark-teal-400',\n\t\t},\n\t\t{\n\t\t\tactive: false,\n\t\t\tfinished: true,\n\t\t\tclass: 'text-white bg-dark-teal-400',\n\n\t\t}\n\t]\n})\n\nconst content = cva('text-sm font-medium', {\n\tvariants: {\n\t\tfinished: {\n\t\t\ttrue: null,\n\t\t\tfalse: null\n\t\t},\n\t\tactive: {\n\t\t\ttrue: null,\n\t\t\tfalse: null\n\t\t}\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tfinished: false,\n\t\t\tactive: false,\n\t\t\tclass: 'text-black-teal-400'\n\t\t},\n\t\t{\n\t\t\tactive: true,\n\t\t\tfinished: false,\n\t\t\tclass: 'text-black-teal-500',\n\t\t},\n\t\t{\n\t\t\tactive: false,\n\t\t\tfinished: true,\n\t\t\tclass: 'text-black-teal-500',\n\n\t\t}\n\t]\n})\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.css',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The number of the step\n\t */\n\t@Prop() number: number = 1;\n\n\t/**\n\t * The alignment of the content in case of vertical direction\n\t */\n\t@Prop() align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop() contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the step is finished\n\t */\n\t@Prop() finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div class={item({\n\t\t\t\talign: this.align,\n\t\t\t\tcontentPosition: this.contentPosition\n\t\t\t})}>\n\t\t\t\t<div class={circle({\n\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\tfinished: asBoolean(this.finished)\n\t\t\t\t})}>\n\t\t\t\t\t{this.number}\n\t\t\t\t</div>\n\t\t\t\t<div class={content({\n\t\t\t\t\tactive: asBoolean(this.active),\n\t\t\t\t\tfinished: asBoolean(this.finished)\n\t\t\t\t})}>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":"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"}
|