@paperless/core 2.0.1-beta.112 → 2.0.1-beta.114
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 +30 -0
- package/dist/build/p-01a2b5af.entry.js +2 -0
- package/dist/build/p-01a2b5af.entry.js.map +1 -0
- package/dist/build/{p-e2ee74a9.entry.js → p-08cff47b.entry.js} +2 -2
- package/dist/build/p-0c0ebb15.entry.js +2 -0
- package/dist/build/p-0c0ebb15.entry.js.map +1 -0
- package/dist/{paperless/p-f932bde5.entry.js → build/p-0c257fa2.entry.js} +2 -2
- package/dist/build/p-0cf505a8.entry.js +2 -0
- package/dist/{paperless/p-0a6b03d0.entry.js.map → build/p-0cf505a8.entry.js.map} +1 -1
- package/dist/build/p-0da54170.entry.js +2 -0
- package/dist/build/p-0da54170.entry.js.map +1 -0
- package/dist/{paperless/p-8d4c7827.entry.js → build/p-0fe51ad0.entry.js} +2 -2
- package/dist/build/{p-35c50504.entry.js → p-128f3811.entry.js} +2 -2
- package/dist/build/{p-899f7d36.entry.js → p-1778732a.entry.js} +2 -2
- package/dist/build/p-1a544806.entry.js +2 -0
- package/dist/build/p-22e7fde5.entry.js +2 -0
- package/dist/build/p-22e7fde5.entry.js.map +1 -0
- package/dist/{paperless/p-5dcdb2d0.entry.js → build/p-29d452d0.entry.js} +2 -2
- package/dist/build/{p-4b6b1355.entry.js → p-30f6e463.entry.js} +2 -2
- package/dist/build/p-3d341a83.entry.js +2 -0
- package/dist/build/p-3d341a83.entry.js.map +1 -0
- package/dist/{paperless/p-dc4121c6.entry.js → build/p-4e95f16d.entry.js} +2 -2
- package/dist/build/p-4e95f16d.entry.js.map +1 -0
- package/dist/build/{p-58efc94c.entry.js → p-52149e0e.entry.js} +2 -2
- package/dist/build/p-5451207c.entry.js +2 -0
- package/dist/build/{p-6d54b0a5.entry.js.map → p-5451207c.entry.js.map} +1 -1
- package/dist/build/p-58f9ac89.entry.js +2 -0
- package/dist/build/p-58f9ac89.entry.js.map +1 -0
- package/dist/build/p-5c3167c8.entry.js +2 -0
- package/dist/build/p-5c3167c8.entry.js.map +1 -0
- package/dist/build/{p-c62477c2.entry.js → p-5ee4e9c7.entry.js} +2 -2
- package/dist/build/{p-4906fd4d.entry.js → p-5fa74e2e.entry.js} +2 -2
- package/dist/build/{p-0dc168c5.entry.js → p-66adc33a.entry.js} +2 -2
- package/dist/build/p-6c5f6d8a.entry.js +2 -0
- package/dist/build/p-6c5f6d8a.entry.js.map +1 -0
- package/dist/build/p-7046dc66.entry.js +2 -0
- package/dist/build/p-7046dc66.entry.js.map +1 -0
- package/dist/build/p-730bcacd.entry.js +2 -0
- package/dist/build/p-730bcacd.entry.js.map +1 -0
- package/dist/build/{p-d5cba5af.entry.js → p-7658fd89.entry.js} +2 -2
- package/dist/build/{p-f4c0923b.entry.js → p-76a4f70e.entry.js} +2 -2
- package/dist/build/p-79b42a23.entry.js +2 -0
- package/dist/build/p-79b42a23.entry.js.map +1 -0
- package/dist/build/p-7ddf5875.entry.js +2 -0
- package/dist/build/{p-0b6db18f.entry.js.map → p-7ddf5875.entry.js.map} +1 -1
- package/dist/{paperless/p-7a878e24.entry.js → build/p-8249382f.entry.js} +2 -2
- package/dist/build/p-8577755d.entry.js +2 -0
- package/dist/build/p-8577755d.entry.js.map +1 -0
- package/dist/build/p-868f9ee9.entry.js +2 -0
- package/dist/build/p-868f9ee9.entry.js.map +1 -0
- package/dist/build/p-912ce588.entry.js +2 -0
- package/dist/build/p-912ce588.entry.js.map +1 -0
- package/dist/build/p-91ea22cd.entry.js +2 -0
- package/dist/build/p-91ea22cd.entry.js.map +1 -0
- package/dist/{paperless/p-7b7366dc.entry.js → build/p-9409dfd7.entry.js} +2 -2
- package/dist/build/p-9409dfd7.entry.js.map +1 -0
- package/dist/build/p-a48262c6.entry.js +2 -0
- package/dist/{paperless/p-73bfb4b5.entry.js.map → build/p-a48262c6.entry.js.map} +1 -1
- package/dist/build/{p-8a63e1d9.entry.js → p-a5bc8b63.entry.js} +2 -2
- package/dist/build/{p-8a63e1d9.entry.js.map → p-a5bc8b63.entry.js.map} +1 -1
- package/dist/build/{p-f9efc1e5.entry.js → p-a5f29193.entry.js} +2 -2
- package/dist/build/p-ab23f388.js +2 -0
- package/dist/build/p-abd13a2a.entry.js +2 -0
- package/dist/build/p-abd13a2a.entry.js.map +1 -0
- package/dist/build/p-accordion.entry.esm.js.map +1 -1
- package/dist/{paperless/p-b029529c.entry.js → build/p-ae64bdf2.entry.js} +2 -2
- package/dist/build/p-attachment.entry.esm.js.map +1 -1
- package/dist/build/p-avatar-group.entry.esm.js.map +1 -1
- package/dist/build/p-badge.p-segment-container.p-segment-item.entry.esm.js.map +1 -1
- package/dist/build/p-bfda8061.entry.js +2 -0
- package/dist/build/{p-dae4a24d.entry.js.map → p-bfda8061.entry.js.map} +1 -1
- package/dist/build/p-button-group.entry.esm.js.map +1 -1
- package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/build/p-c1041af9.entry.js +2 -0
- package/dist/build/p-c1041af9.entry.js.map +1 -0
- package/dist/build/p-c7139e78.entry.js +2 -0
- package/dist/build/p-c7139e78.entry.js.map +1 -0
- package/dist/{paperless/p-9ef541e4.entry.js → build/p-cac630d2.entry.js} +2 -2
- package/dist/build/p-cc379751.entry.js +2 -0
- package/dist/build/p-cc379751.entry.js.map +1 -0
- package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/build/p-content-slider.entry.esm.js.map +1 -1
- package/dist/build/{p-5667f8bf.entry.js → p-d0968c28.entry.js} +2 -2
- package/dist/build/p-d0968c28.entry.js.map +1 -0
- package/dist/build/{p-222abd40.entry.js → p-d18ee52f.entry.js} +2 -2
- package/dist/{paperless/p-222abd40.entry.js.map → build/p-d18ee52f.entry.js.map} +1 -1
- package/dist/build/p-datepicker.entry.esm.js.map +1 -1
- package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/{paperless/p-7a05c8ca.entry.js → build/p-e9db1b2d.entry.js} +2 -2
- package/dist/build/p-eef52967.entry.js +2 -0
- package/dist/build/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/build/{p-5cd98f23.entry.js → p-f1f14a3f.entry.js} +2 -2
- package/dist/build/p-field.p-field-container.entry.esm.js.map +1 -1
- package/dist/build/p-helper.p-tooltip.entry.esm.js.map +1 -1
- package/dist/build/p-iban-icon.entry.esm.js.map +1 -1
- package/dist/build/p-illustration.entry.esm.js.map +1 -1
- package/dist/build/p-info-panel.entry.esm.js.map +1 -1
- package/dist/build/p-label.entry.esm.js.map +1 -1
- package/dist/build/p-layout.entry.esm.js.map +1 -1
- 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-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
- package/dist/build/p-navigation-section.entry.esm.js.map +1 -1
- package/dist/build/p-navigation-title.entry.esm.js.map +1 -1
- package/dist/build/p-radio.entry.esm.js.map +1 -1
- 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/p-toggle.entry.esm.js.map +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/cjs/index-BDuPp9vl.js +12 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +2 -2
- package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/p-accordion.entry.cjs.js.map +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +62 -11
- package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
- package/dist/cjs/p-attachment.entry.cjs.js.map +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar-group.entry.cjs.js.map +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/p-badge.p-segment-container.p-segment-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
- package/dist/cjs/p-badge_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button-group.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button.p-icon.p-loader.entry.cjs.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +16 -14
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js +3 -3
- package/dist/cjs/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.cjs.js.map +1 -1
- package/dist/cjs/p-checkbox_4.cjs.entry.js +14 -14
- package/dist/cjs/p-checkbox_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-content-slider.cjs.entry.js +8 -3
- package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/p-content-slider.entry.cjs.js.map +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-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.entry.cjs.js.map +1 -1
- package/dist/cjs/p-divider.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 +5 -5
- package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-empty-state_9.cjs.entry.js +20 -20
- package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
- package/dist/cjs/p-field.p-field-container.entry.cjs.js.map +1 -1
- package/dist/cjs/p-field_2.cjs.entry.js +37 -16
- package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-helper.p-tooltip.entry.cjs.js.map +1 -1
- package/dist/cjs/p-helper_2.cjs.entry.js +5 -5
- package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/p-illustration-deprecated.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js +1 -1
- package/dist/cjs/p-illustration.cjs.entry.js.map +1 -1
- package/dist/cjs/p-illustration.entry.cjs.js.map +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +4 -4
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/p-info-panel.entry.cjs.js.map +1 -1
- package/dist/cjs/p-label.cjs.entry.js +3 -3
- package/dist/cjs/p-label.cjs.entry.js.map +1 -1
- package/dist/cjs/p-label.entry.cjs.js.map +1 -1
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/p-layout.entry.cjs.js.map +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.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +8 -7
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- 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-section.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-section.entry.cjs.js.map +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-title.entry.cjs.js.map +1 -1
- package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
- package/dist/cjs/p-pagination_3.cjs.entry.js +7 -7
- package/dist/cjs/p-portal.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +4 -4
- package/dist/cjs/p-radio.cjs.entry.js.map +1 -1
- package/dist/cjs/p-radio.entry.cjs.js.map +1 -1
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-smile.cjs.entry.js +1 -1
- 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-table.cjs.entry.js +3 -3
- package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +4 -4
- package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toggle.entry.cjs.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +12 -14
- package/dist/collection/components/atoms/avatar/avatar/avatar.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar-group/avatar-group.component.js.map +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +3 -3
- package/dist/collection/components/atoms/badge/badge.component.js +1 -1
- package/dist/collection/components/atoms/card/body/card-body.component.js +1 -1
- package/dist/collection/components/atoms/card/container/card-container.component.js +2 -2
- package/dist/collection/components/atoms/card/header/card-header.component.js +3 -3
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +6 -6
- package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +2 -2
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.css +1 -1
- package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +1 -1
- package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +2 -2
- package/dist/collection/components/atoms/drawer/header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu/container/floating-menu-container.component.js +2 -2
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js +2 -2
- package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +2 -2
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js.map +1 -1
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +3 -3
- package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js.map +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +7 -7
- package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -1
- package/dist/collection/components/{deprecated/atoms → atoms}/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/layout/layout.component.js.map +1 -0
- 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/loader/loader.component.css +1 -0
- package/dist/collection/components/{deprecated/atoms → atoms}/loader/loader.component.js +7 -7
- package/dist/collection/components/atoms/loader/loader.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.css +1 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js +2 -1
- package/dist/collection/components/atoms/modal/header/modal-header.component.js.map +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +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 +5 -5
- package/dist/collection/components/atoms/radio/radio.component.js.map +1 -1
- package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
- package/dist/collection/components/atoms/segment/container/segment-container.component.js.map +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 +5 -5
- package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
- package/dist/collection/components/deprecated/atoms/illustration-deprecated/illustration-deprecated.component.js +1 -1
- package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/helpers/portal/portal.component.js +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -0
- package/dist/collection/components/{deprecated/molecules → molecules}/accordion/accordion.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -0
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -0
- package/dist/collection/components/molecules/attachment/attachment.component.js +377 -0
- package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -0
- package/dist/collection/components/molecules/button/button.component.js +7 -5
- package/dist/collection/components/molecules/button/button.component.js.map +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js.map +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/{deprecated/molecules → molecules}/content-slider/content-slider.component.css +1 -1
- package/dist/collection/components/{deprecated/molecules → molecules}/content-slider/content-slider.component.js +6 -2
- package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -0
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +3 -3
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.css +1 -1
- package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
- package/dist/collection/components/molecules/field/container/field-container.component.js +5 -5
- package/dist/collection/components/molecules/field/container/field-container.component.js.map +1 -1
- package/dist/collection/components/molecules/field/field/field.component.css +1 -1
- package/dist/collection/components/molecules/field/field/field.component.js +34 -13
- package/dist/collection/components/molecules/field/field/field.component.js.map +1 -1
- package/dist/collection/components/molecules/label/label.component.js +4 -4
- package/dist/collection/components/molecules/label/label.component.js.map +1 -1
- 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/navigation/section/navigation-section.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
- package/dist/collection/components/molecules/pagination/size/pagination-size.component.js +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/header/table-header.component.js +3 -3
- 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/collection/components/organisms/table/table.component.js +3 -3
- package/dist/components/index.js +2 -2
- package/dist/components/{p-B-dtByez.js → p-192xXCKV.js} +10 -10
- package/dist/components/p-192xXCKV.js.map +1 -0
- package/dist/components/{p-CgZvkWTt.js → p-2DRqcElr.js} +3 -3
- package/dist/components/{p-CgZvkWTt.js.map → p-2DRqcElr.js.map} +1 -1
- package/dist/components/{p-MQ5NAuIf.js → p-A5puW8KH.js} +13 -11
- package/dist/components/p-A5puW8KH.js.map +1 -0
- package/dist/components/p-B4MNLDXF.js +45 -0
- package/dist/components/p-B4MNLDXF.js.map +1 -0
- package/dist/components/{p-BFBgml7D.js → p-BBKYP-Cm.js} +4 -4
- package/dist/components/{p-BFBgml7D.js.map → p-BBKYP-Cm.js.map} +1 -1
- package/dist/components/{p-BEuvmIBQ.js → p-BE9wqNth.js} +4 -4
- package/dist/components/{p-BEuvmIBQ.js.map → p-BE9wqNth.js.map} +1 -1
- package/dist/components/{p-DXsCtVm-.js → p-BFKshVEl.js} +3 -3
- package/dist/components/{p-DXsCtVm-.js.map → p-BFKshVEl.js.map} +1 -1
- package/dist/components/{p-DW90RovU.js → p-BP1aeBcW.js} +9 -9
- package/dist/components/p-BP1aeBcW.js.map +1 -0
- package/dist/components/{p-DPhqMOrK.js → p-BPXS3EM8.js} +6 -6
- package/dist/components/{p-DPhqMOrK.js.map → p-BPXS3EM8.js.map} +1 -1
- package/dist/components/{p-C1YLcCva.js → p-BSAVV_6x.js} +7 -7
- package/dist/components/{p-C1YLcCva.js.map → p-BSAVV_6x.js.map} +1 -1
- package/dist/components/{p-Be33-vpq.js → p-Bev8J8ks.js} +10 -9
- package/dist/components/p-Bev8J8ks.js.map +1 -0
- package/dist/components/{p-Y_DTiNRB.js → p-BnyZAlkn.js} +44 -23
- package/dist/components/p-BnyZAlkn.js.map +1 -0
- package/dist/components/{p-DlFumKvb.js → p-Bxt_h1P2.js} +8 -8
- package/dist/components/{p-DlFumKvb.js.map → p-Bxt_h1P2.js.map} +1 -1
- package/dist/components/p-C-1aZ7t0.js +92 -0
- package/dist/components/p-C-1aZ7t0.js.map +1 -0
- package/dist/components/p-C2CsD_zr.js +115 -0
- package/dist/components/{p-DJzH_A-R.js.map → p-C2CsD_zr.js.map} +1 -1
- package/dist/components/{p-D82K4OiU.js → p-CA3joyV6.js} +3 -3
- package/dist/components/{p-D82K4OiU.js.map → p-CA3joyV6.js.map} +1 -1
- package/dist/components/{p-D09jozUL.js → p-CA6-0EkK.js} +5 -5
- package/dist/components/{p-D09jozUL.js.map → p-CA6-0EkK.js.map} +1 -1
- package/dist/components/{p-4hDfHOnN.js → p-CBWjHURv.js} +4 -4
- package/dist/components/p-CBWjHURv.js.map +1 -0
- package/dist/components/{p-BpWSyLrS.js → p-CKTvcFFn.js} +3 -3
- package/dist/components/{p-BpWSyLrS.js.map → p-CKTvcFFn.js.map} +1 -1
- package/dist/components/{p-BwFkgAPO.js → p-CMY9PhJV.js} +5 -5
- package/dist/components/{p-BwFkgAPO.js.map → p-CMY9PhJV.js.map} +1 -1
- package/dist/components/{p-wcD-x4l2.js → p-CS8aLBBd.js} +3 -3
- package/dist/components/{p-wcD-x4l2.js.map → p-CS8aLBBd.js.map} +1 -1
- package/dist/components/{p-Cb5QxFb_.js → p-CT54OXR2.js} +3 -3
- package/dist/components/{p-Cb5QxFb_.js.map → p-CT54OXR2.js.map} +1 -1
- package/dist/components/{p-DRQQENvx.js → p-CgHBpaJ2.js} +16 -16
- package/dist/components/{p-DRQQENvx.js.map → p-CgHBpaJ2.js.map} +1 -1
- package/dist/components/p-ChV9xqsO.js +6 -0
- package/dist/components/p-ChV9xqsO.js.map +1 -0
- package/dist/components/{p-CScTNJWS.js → p-Cp8IEnaB.js} +12 -12
- package/dist/components/{p-CScTNJWS.js.map → p-Cp8IEnaB.js.map} +1 -1
- package/dist/components/{p-BDTPyUsH.js → p-Cr5nmZn3.js} +6 -6
- package/dist/components/{p-BDTPyUsH.js.map → p-Cr5nmZn3.js.map} +1 -1
- package/dist/components/{p-CmzpquGH.js → p-Cs06wZSM.js} +8 -8
- package/dist/components/{p-CmzpquGH.js.map → p-Cs06wZSM.js.map} +1 -1
- package/dist/components/{p-DAKWnFmC.js → p-Ct_1clhY.js} +8 -8
- package/dist/components/{p-DAKWnFmC.js.map → p-Ct_1clhY.js.map} +1 -1
- package/dist/components/{p-CEoo55FK.js → p-Cv1xoKQ6.js} +5 -5
- package/dist/components/{p-CEoo55FK.js.map → p-Cv1xoKQ6.js.map} +1 -1
- package/dist/components/{p-Dk6UwJSA.js → p-CyPGXubm.js} +4 -4
- package/dist/components/{p-Dk6UwJSA.js.map → p-CyPGXubm.js.map} +1 -1
- package/dist/components/{p-BlzjYdn5.js → p-D4wHNR58.js} +6 -6
- package/dist/components/{p-BlzjYdn5.js.map → p-D4wHNR58.js.map} +1 -1
- package/dist/components/{p-BMeOy477.js → p-D7OHNXA8.js} +5 -5
- package/dist/components/{p-BMeOy477.js.map → p-D7OHNXA8.js.map} +1 -1
- package/dist/components/{p-DPJZQYRZ.js → p-DB4h1B2U.js} +4 -4
- package/dist/components/{p-DPJZQYRZ.js.map → p-DB4h1B2U.js.map} +1 -1
- package/dist/components/{p-8rB2Q4yP.js → p-DNHN-J6Y.js} +7 -7
- package/dist/components/p-DNHN-J6Y.js.map +1 -0
- package/dist/components/{p-CmfFRlg6.js → p-DO22qLlU.js} +8 -8
- package/dist/components/{p-CmfFRlg6.js.map → p-DO22qLlU.js.map} +1 -1
- package/dist/components/{p-BUxcWSGM.js → p-DfRQHBer.js} +3 -3
- package/dist/components/{p-BUxcWSGM.js.map → p-DfRQHBer.js.map} +1 -1
- package/dist/components/{p-BbqAQmy1.js → p-DlGX7eAs.js} +12 -12
- package/dist/components/p-DlGX7eAs.js.map +1 -0
- package/dist/components/{p-BudlHU1j.js → p-Dlmv9Uk2.js} +5 -5
- package/dist/components/{p-BudlHU1j.js.map → p-Dlmv9Uk2.js.map} +1 -1
- package/dist/components/{p-DzrmryZi.js → p-DwUkFgs3.js} +18 -18
- package/dist/components/{p-DzrmryZi.js.map → p-DwUkFgs3.js.map} +1 -1
- package/dist/components/{p-CErvgq5z.js → p-FJZcncHr.js} +4 -4
- package/dist/components/{p-CErvgq5z.js.map → p-FJZcncHr.js.map} +1 -1
- package/dist/components/{p-kF4ExBgt.js → p-HLwIOGJt.js} +8 -8
- package/dist/components/{p-kF4ExBgt.js.map → p-HLwIOGJt.js.map} +1 -1
- package/dist/components/{p-DdhFjzWp.js → p-Hj0dtQOu.js} +10 -10
- package/dist/components/{p-DdhFjzWp.js.map → p-Hj0dtQOu.js.map} +1 -1
- package/dist/components/{p-CFdbv-t4.js → p-OY7iMMA5.js} +6 -6
- package/dist/components/{p-CFdbv-t4.js.map → p-OY7iMMA5.js.map} +1 -1
- package/dist/components/p-accordion.js +4 -4
- package/dist/components/p-accordion.js.map +1 -1
- package/dist/components/p-attachment.js +86 -23
- package/dist/components/p-attachment.js.map +1 -1
- package/dist/components/p-avatar-group.js +1 -1
- package/dist/components/p-avatar-group.js.map +1 -1
- package/dist/components/p-avatar.js +1 -1
- package/dist/components/{p-CzS_7d0-.js → p-b3Miuuib.js} +16 -16
- package/dist/components/{p-CzS_7d0-.js.map → p-b3Miuuib.js.map} +1 -1
- package/dist/components/p-backdrop.js +1 -1
- package/dist/components/p-badge.js +1 -1
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-button-group.js.map +1 -1
- package/dist/components/p-button.js +1 -1
- package/dist/components/{p-CQcp92mr.js → p-cCxwgzDB.js} +7 -7
- package/dist/components/p-cCxwgzDB.js.map +1 -0
- package/dist/components/p-calendar.js +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-container.js +3 -3
- package/dist/components/p-card-header.js +7 -7
- package/dist/components/p-checkbox.js +1 -1
- package/dist/components/p-content-slider.js +8 -10
- package/dist/components/p-content-slider.js.map +1 -1
- package/dist/components/p-cropper.js +4 -4
- package/dist/components/p-datepicker.js +14 -14
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-divider.js +1 -1
- package/dist/components/p-drawer-body.js +1 -1
- package/dist/components/p-drawer-container.js +1 -1
- package/dist/components/p-drawer-header.js +1 -1
- package/dist/components/p-drawer.js +8 -8
- package/dist/components/p-dropdown-menu-container.js +1 -1
- package/dist/components/p-dropdown-menu-item.js +1 -1
- package/dist/components/p-dropdown.js +1 -1
- package/dist/components/p-empty-state.js +1 -1
- package/dist/components/p-field-container.js +1 -1
- package/dist/components/p-field.js +1 -1
- package/dist/components/p-floating-menu-container.js +1 -1
- package/dist/components/p-floating-menu-item.js +1 -1
- package/dist/components/p-helper.js +1 -1
- package/dist/components/{p-OpZXFNRZ.js → p-i-upzqfe.js} +4 -4
- package/dist/components/{p-OpZXFNRZ.js.map → p-i-upzqfe.js.map} +1 -1
- package/dist/components/p-iban-icon.js +2 -2
- package/dist/components/p-iban-icon.js.map +1 -1
- package/dist/components/p-icon.js +1 -1
- package/dist/components/p-illustration-deprecated.js +1 -1
- package/dist/components/p-illustration.js +1 -1
- package/dist/components/p-info-panel.js +6 -6
- package/dist/components/p-info-panel.js.map +1 -1
- package/dist/components/p-label.js +7 -7
- package/dist/components/p-label.js.map +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-layout.js.map +1 -1
- package/dist/components/{p-input-error.d.ts → p-listing-item.d.ts} +4 -4
- package/dist/components/p-listing-item.js +49 -0
- package/dist/components/p-listing-item.js.map +1 -0
- package/dist/components/{p-status.d.ts → p-listing-line.d.ts} +4 -4
- package/dist/components/p-listing-line.js +9 -0
- package/dist/components/p-listing-line.js.map +1 -0
- package/dist/components/{p-counter.d.ts → p-listing.d.ts} +4 -4
- package/dist/components/p-listing.js +106 -0
- package/dist/components/p-listing.js.map +1 -0
- package/dist/components/p-loader.js +1 -1
- package/dist/components/p-modal-body.js +1 -1
- package/dist/components/p-modal-container.js +1 -1
- package/dist/components/p-modal-footer.js +1 -1
- package/dist/components/p-modal-header.js +1 -1
- package/dist/components/p-modal.js +10 -10
- package/dist/components/p-navbar.js +6 -6
- package/dist/components/p-navigation-item.js +7 -7
- package/dist/components/p-navigation-section.js +2 -2
- package/dist/components/p-navigation-section.js.map +1 -1
- package/dist/components/p-navigation-title.js +1 -1
- package/dist/components/p-oan6Th3h.js +34 -0
- package/dist/components/p-oan6Th3h.js.map +1 -0
- 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 +7 -7
- package/dist/components/p-radio.js +6 -6
- package/dist/components/p-radio.js.map +1 -1
- package/dist/components/p-segment-container.js +1 -1
- package/dist/components/p-segment-item.js +1 -1
- package/dist/components/p-select.js +15 -15
- package/dist/components/p-smile.js +1 -1
- 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 +2 -2
- package/dist/components/p-tab-item.js +2 -2
- 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 +35 -35
- package/dist/components/p-toast-container.js +3 -3
- package/dist/components/p-toast.js +5 -5
- package/dist/components/p-toggle.js +6 -6
- package/dist/components/p-toggle.js.map +1 -1
- package/dist/components/p-tooltip.js +1 -1
- package/dist/components/{p-Dhj0ynsI.js → p-vxD7JU3i.js} +5 -5
- package/dist/components/{p-Dhj0ynsI.js.map → p-vxD7JU3i.js.map} +1 -1
- package/dist/esm/index-DhGo7hbh.js +12 -20
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +2 -2
- package/dist/esm/p-accordion.entry.js.map +1 -1
- package/dist/esm/p-attachment.entry.js +63 -12
- package/dist/esm/p-attachment.entry.js.map +1 -1
- package/dist/esm/p-avatar-group.entry.js +1 -1
- package/dist/esm/p-avatar-group.entry.js.map +1 -1
- package/dist/esm/p-avatar.entry.js +1 -1
- package/dist/esm/p-backdrop.entry.js +3 -3
- package/dist/esm/p-badge.p-segment-container.p-segment-item.entry.js.map +1 -1
- package/dist/esm/p-badge_3.entry.js +4 -4
- package/dist/esm/p-badge_3.entry.js.map +1 -1
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button-group.entry.js.map +1 -1
- package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +16 -14
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-card-body.entry.js +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js +3 -3
- package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.js.map +1 -1
- package/dist/esm/p-checkbox_4.entry.js +15 -15
- package/dist/esm/p-checkbox_4.entry.js.map +1 -1
- package/dist/esm/p-content-slider.entry.js +8 -3
- package/dist/esm/p-content-slider.entry.js.map +1 -1
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +3 -3
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-divider.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 +5 -5
- package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
- package/dist/esm/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
- package/dist/esm/p-empty-state_9.entry.js +20 -20
- package/dist/esm/p-empty-state_9.entry.js.map +1 -1
- package/dist/esm/p-field.p-field-container.entry.js.map +1 -1
- package/dist/esm/p-field_2.entry.js +38 -17
- package/dist/esm/p-field_2.entry.js.map +1 -1
- package/dist/esm/p-helper.p-tooltip.entry.js.map +1 -1
- package/dist/esm/p-helper_2.entry.js +6 -6
- package/dist/esm/p-helper_2.entry.js.map +1 -1
- package/dist/esm/p-iban-icon.entry.js +2 -2
- package/dist/esm/p-iban-icon.entry.js.map +1 -1
- package/dist/esm/p-illustration-deprecated.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js +1 -1
- package/dist/esm/p-illustration.entry.js.map +1 -1
- package/dist/esm/p-info-panel.entry.js +4 -4
- package/dist/esm/p-info-panel.entry.js.map +1 -1
- package/dist/esm/p-label.entry.js +4 -4
- package/dist/esm/p-label.entry.js.map +1 -1
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-layout.entry.js.map +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.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
- package/dist/esm/p-modal-body_4.entry.js +8 -7
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- 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-section.entry.js.map +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js.map +1 -1
- package/dist/esm/p-pagination-pages-item.entry.js +2 -2
- package/dist/esm/p-pagination_3.entry.js +7 -7
- package/dist/esm/p-portal.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +5 -5
- package/dist/esm/p-radio.entry.js.map +1 -1
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-smile.entry.js +1 -1
- 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-table.entry.js +3 -3
- 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 +5 -5
- package/dist/esm/p-toggle.entry.js.map +1 -1
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/p-01a2b5af.entry.js +2 -0
- package/dist/paperless/p-01a2b5af.entry.js.map +1 -0
- package/dist/paperless/{p-e2ee74a9.entry.js → p-08cff47b.entry.js} +2 -2
- package/dist/paperless/p-0c0ebb15.entry.js +2 -0
- package/dist/paperless/p-0c0ebb15.entry.js.map +1 -0
- package/dist/{build/p-f932bde5.entry.js → paperless/p-0c257fa2.entry.js} +2 -2
- package/dist/paperless/p-0cf505a8.entry.js +2 -0
- package/dist/{build/p-0a6b03d0.entry.js.map → paperless/p-0cf505a8.entry.js.map} +1 -1
- package/dist/paperless/p-0da54170.entry.js +2 -0
- package/dist/paperless/p-0da54170.entry.js.map +1 -0
- package/dist/{build/p-8d4c7827.entry.js → paperless/p-0fe51ad0.entry.js} +2 -2
- package/dist/paperless/{p-35c50504.entry.js → p-128f3811.entry.js} +2 -2
- package/dist/paperless/{p-899f7d36.entry.js → p-1778732a.entry.js} +2 -2
- package/dist/paperless/p-1a544806.entry.js +2 -0
- package/dist/paperless/p-22e7fde5.entry.js +2 -0
- package/dist/paperless/p-22e7fde5.entry.js.map +1 -0
- package/dist/{build/p-5dcdb2d0.entry.js → paperless/p-29d452d0.entry.js} +2 -2
- package/dist/paperless/{p-4b6b1355.entry.js → p-30f6e463.entry.js} +2 -2
- package/dist/paperless/p-3d341a83.entry.js +2 -0
- package/dist/paperless/p-3d341a83.entry.js.map +1 -0
- package/dist/{build/p-dc4121c6.entry.js → paperless/p-4e95f16d.entry.js} +2 -2
- package/dist/paperless/p-4e95f16d.entry.js.map +1 -0
- package/dist/paperless/{p-58efc94c.entry.js → p-52149e0e.entry.js} +2 -2
- package/dist/paperless/p-5451207c.entry.js +2 -0
- package/dist/paperless/{p-6d54b0a5.entry.js.map → p-5451207c.entry.js.map} +1 -1
- package/dist/paperless/p-58f9ac89.entry.js +2 -0
- package/dist/paperless/p-58f9ac89.entry.js.map +1 -0
- package/dist/paperless/p-5c3167c8.entry.js +2 -0
- package/dist/paperless/p-5c3167c8.entry.js.map +1 -0
- package/dist/paperless/{p-c62477c2.entry.js → p-5ee4e9c7.entry.js} +2 -2
- package/dist/paperless/{p-4906fd4d.entry.js → p-5fa74e2e.entry.js} +2 -2
- package/dist/paperless/{p-0dc168c5.entry.js → p-66adc33a.entry.js} +2 -2
- package/dist/paperless/p-6c5f6d8a.entry.js +2 -0
- package/dist/paperless/p-6c5f6d8a.entry.js.map +1 -0
- package/dist/paperless/p-7046dc66.entry.js +2 -0
- package/dist/paperless/p-7046dc66.entry.js.map +1 -0
- package/dist/paperless/p-730bcacd.entry.js +2 -0
- package/dist/paperless/p-730bcacd.entry.js.map +1 -0
- package/dist/paperless/{p-d5cba5af.entry.js → p-7658fd89.entry.js} +2 -2
- package/dist/paperless/{p-f4c0923b.entry.js → p-76a4f70e.entry.js} +2 -2
- package/dist/paperless/p-79b42a23.entry.js +2 -0
- package/dist/paperless/p-79b42a23.entry.js.map +1 -0
- package/dist/paperless/p-7ddf5875.entry.js +2 -0
- package/dist/paperless/{p-0b6db18f.entry.js.map → p-7ddf5875.entry.js.map} +1 -1
- package/dist/{build/p-7a878e24.entry.js → paperless/p-8249382f.entry.js} +2 -2
- package/dist/paperless/p-8577755d.entry.js +2 -0
- package/dist/paperless/p-8577755d.entry.js.map +1 -0
- package/dist/paperless/p-868f9ee9.entry.js +2 -0
- package/dist/paperless/p-868f9ee9.entry.js.map +1 -0
- package/dist/paperless/p-912ce588.entry.js +2 -0
- package/dist/paperless/p-912ce588.entry.js.map +1 -0
- package/dist/paperless/p-91ea22cd.entry.js +2 -0
- package/dist/paperless/p-91ea22cd.entry.js.map +1 -0
- package/dist/{build/p-7b7366dc.entry.js → paperless/p-9409dfd7.entry.js} +2 -2
- package/dist/paperless/p-9409dfd7.entry.js.map +1 -0
- package/dist/paperless/p-a48262c6.entry.js +2 -0
- package/dist/{build/p-73bfb4b5.entry.js.map → paperless/p-a48262c6.entry.js.map} +1 -1
- package/dist/paperless/{p-8a63e1d9.entry.js → p-a5bc8b63.entry.js} +2 -2
- package/dist/paperless/{p-8a63e1d9.entry.js.map → p-a5bc8b63.entry.js.map} +1 -1
- package/dist/paperless/{p-f9efc1e5.entry.js → p-a5f29193.entry.js} +2 -2
- package/dist/paperless/p-abd13a2a.entry.js +2 -0
- package/dist/paperless/p-abd13a2a.entry.js.map +1 -0
- package/dist/paperless/p-accordion.entry.esm.js.map +1 -1
- package/dist/{build/p-b029529c.entry.js → paperless/p-ae64bdf2.entry.js} +2 -2
- package/dist/paperless/p-attachment.entry.esm.js.map +1 -1
- package/dist/paperless/p-avatar-group.entry.esm.js.map +1 -1
- package/dist/paperless/p-badge.p-segment-container.p-segment-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-bfda8061.entry.js +2 -0
- package/dist/paperless/{p-dae4a24d.entry.js.map → p-bfda8061.entry.js.map} +1 -1
- package/dist/paperless/p-button-group.entry.esm.js.map +1 -1
- package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
- package/dist/paperless/p-c1041af9.entry.js +2 -0
- package/dist/paperless/p-c1041af9.entry.js.map +1 -0
- package/dist/paperless/p-c7139e78.entry.js +2 -0
- package/dist/paperless/p-c7139e78.entry.js.map +1 -0
- package/dist/{build/p-9ef541e4.entry.js → paperless/p-cac630d2.entry.js} +2 -2
- package/dist/paperless/p-cc379751.entry.js +2 -0
- package/dist/paperless/p-cc379751.entry.js.map +1 -0
- package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
- package/dist/paperless/p-content-slider.entry.esm.js.map +1 -1
- package/dist/paperless/{p-5667f8bf.entry.js → p-d0968c28.entry.js} +2 -2
- package/dist/paperless/p-d0968c28.entry.js.map +1 -0
- package/dist/paperless/{p-222abd40.entry.js → p-d18ee52f.entry.js} +2 -2
- package/dist/{build/p-222abd40.entry.js.map → paperless/p-d18ee52f.entry.js.map} +1 -1
- package/dist/paperless/p-datepicker.entry.esm.js.map +1 -1
- package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
- package/dist/{build/p-7a05c8ca.entry.js → paperless/p-e9db1b2d.entry.js} +2 -2
- package/dist/paperless/p-eef52967.entry.js +2 -0
- package/dist/paperless/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
- package/dist/paperless/{p-5cd98f23.entry.js → p-f1f14a3f.entry.js} +2 -2
- package/dist/paperless/p-field.p-field-container.entry.esm.js.map +1 -1
- package/dist/paperless/p-helper.p-tooltip.entry.esm.js.map +1 -1
- package/dist/paperless/p-iban-icon.entry.esm.js.map +1 -1
- package/dist/paperless/p-illustration.entry.esm.js.map +1 -1
- package/dist/paperless/p-info-panel.entry.esm.js.map +1 -1
- package/dist/paperless/p-label.entry.esm.js.map +1 -1
- package/dist/paperless/p-layout.entry.esm.js.map +1 -1
- 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-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
- package/dist/paperless/p-navigation-section.entry.esm.js.map +1 -1
- package/dist/paperless/p-navigation-title.entry.esm.js.map +1 -1
- package/dist/paperless/p-radio.entry.esm.js.map +1 -1
- 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/p-toggle.entry.esm.js.map +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +1 -1
- package/dist/types/components/{deprecated/atoms → atoms}/layout/layout.component.d.ts +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}/loader/loader.component.d.ts +1 -1
- package/dist/types/components/{deprecated/atoms → atoms}/stepper/item/stepper-item.component.d.ts +4 -4
- package/dist/types/components/{deprecated/molecules → molecules}/accordion/accordion.component.d.ts +1 -1
- package/dist/types/components/molecules/attachment/attachment.component.d.ts +60 -0
- package/dist/types/components/molecules/field/container/field-container.component.d.ts +1 -1
- 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 +142 -291
- 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-0a6e3e6f.entry.js +0 -2
- package/dist/build/p-0a6e3e6f.entry.js.map +0 -1
- 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-17ae0ec7.entry.js +0 -2
- package/dist/build/p-17ae0ec7.entry.js.map +0 -1
- package/dist/build/p-26491670.entry.js +0 -2
- package/dist/build/p-26491670.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-456a3099.entry.js +0 -2
- package/dist/build/p-456a3099.entry.js.map +0 -1
- package/dist/build/p-4ac9e128.entry.js +0 -2
- package/dist/build/p-4ac9e128.entry.js.map +0 -1
- package/dist/build/p-4fb83e8d.entry.js +0 -2
- package/dist/build/p-4fb83e8d.entry.js.map +0 -1
- package/dist/build/p-5667f8bf.entry.js.map +0 -1
- package/dist/build/p-57acc6a7.entry.js +0 -2
- package/dist/build/p-57acc6a7.entry.js.map +0 -1
- package/dist/build/p-6d54b0a5.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-7435c88e.entry.js +0 -2
- package/dist/build/p-7435c88e.entry.js.map +0 -1
- package/dist/build/p-74dba9db.entry.js +0 -2
- package/dist/build/p-74dba9db.entry.js.map +0 -1
- package/dist/build/p-7b7366dc.entry.js.map +0 -1
- package/dist/build/p-82751d58.entry.js +0 -2
- package/dist/build/p-82751d58.entry.js.map +0 -1
- package/dist/build/p-a6c618fb.entry.js +0 -2
- package/dist/build/p-a6c618fb.entry.js.map +0 -1
- package/dist/build/p-a8f60c0c.entry.js +0 -2
- package/dist/build/p-a8f60c0c.entry.js.map +0 -1
- package/dist/build/p-b8797794.entry.js +0 -2
- package/dist/build/p-b8797794.entry.js.map +0 -1
- package/dist/build/p-c585d909.entry.js +0 -2
- package/dist/build/p-c585d909.entry.js.map +0 -1
- package/dist/build/p-c7c3d389.entry.js +0 -2
- package/dist/build/p-c7c3d389.entry.js.map +0 -1
- package/dist/build/p-counter.entry.esm.js.map +0 -1
- package/dist/build/p-d3102227.entry.js +0 -2
- package/dist/build/p-d3102227.entry.js.map +0 -1
- package/dist/build/p-d6e8bf36.entry.js +0 -2
- package/dist/build/p-d6e8bf36.entry.js.map +0 -1
- package/dist/build/p-dae4a24d.entry.js +0 -2
- package/dist/build/p-dc4121c6.entry.js.map +0 -1
- package/dist/build/p-f82506c3.entry.js +0 -2
- package/dist/build/p-f82506c3.entry.js.map +0 -1
- package/dist/build/p-ff2b5ed0.entry.js +0 -2
- package/dist/build/p-input-error.entry.esm.js.map +0 -1
- package/dist/build/p-input-group.entry.esm.js.map +0 -1
- package/dist/build/p-slider-indicator.entry.esm.js.map +0 -1
- package/dist/build/p-status.entry.esm.js.map +0 -1
- package/dist/cjs/p-counter.cjs.entry.js +0 -28
- package/dist/cjs/p-counter.cjs.entry.js.map +0 -1
- package/dist/cjs/p-counter.entry.cjs.js.map +0 -1
- package/dist/cjs/p-input-error.cjs.entry.js +0 -26
- package/dist/cjs/p-input-error.cjs.entry.js.map +0 -1
- package/dist/cjs/p-input-error.entry.cjs.js.map +0 -1
- package/dist/cjs/p-input-group.cjs.entry.js +0 -176
- package/dist/cjs/p-input-group.cjs.entry.js.map +0 -1
- package/dist/cjs/p-input-group.entry.cjs.js.map +0 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +0 -24
- package/dist/cjs/p-slider-indicator.cjs.entry.js.map +0 -1
- package/dist/cjs/p-slider-indicator.entry.cjs.js.map +0 -1
- package/dist/cjs/p-status.cjs.entry.js +0 -62
- package/dist/cjs/p-status.cjs.entry.js.map +0 -1
- package/dist/cjs/p-status.entry.cjs.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/counter/counter.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/counter/counter.component.js +0 -71
- package/dist/collection/components/deprecated/atoms/counter/counter.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/layout/layout.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/loader/loader.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/loader/loader.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +0 -47
- package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js.map +0 -1
- package/dist/collection/components/deprecated/atoms/status/status.component.css +0 -1
- package/dist/collection/components/deprecated/atoms/status/status.component.js +0 -159
- package/dist/collection/components/deprecated/atoms/status/status.component.js.map +0 -1
- 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/accordion/accordion.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +0 -166
- package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +0 -66
- package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js.map +0 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.css +0 -1
- package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +0 -532
- package/dist/collection/components/deprecated/molecules/input/group/input-group.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--HfTtLkP.js +0 -40
- package/dist/components/p--HfTtLkP.js.map +0 -1
- package/dist/components/p-4hDfHOnN.js.map +0 -1
- package/dist/components/p-8rB2Q4yP.js.map +0 -1
- package/dist/components/p-B-dtByez.js.map +0 -1
- package/dist/components/p-BFBKoX9I.js +0 -92
- package/dist/components/p-BFBKoX9I.js.map +0 -1
- package/dist/components/p-BbqAQmy1.js.map +0 -1
- package/dist/components/p-Be33-vpq.js.map +0 -1
- package/dist/components/p-CQcp92mr.js.map +0 -1
- package/dist/components/p-DJzH_A-R.js +0 -115
- package/dist/components/p-DW90RovU.js.map +0 -1
- package/dist/components/p-MQ5NAuIf.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/components/p-RaBHKmcm.js +0 -62
- package/dist/components/p-RaBHKmcm.js.map +0 -1
- package/dist/components/p-Y_DTiNRB.js.map +0 -1
- package/dist/components/p-counter.js +0 -48
- package/dist/components/p-counter.js.map +0 -1
- package/dist/components/p-input-error.js +0 -9
- package/dist/components/p-input-error.js.map +0 -1
- package/dist/components/p-input-group.d.ts +0 -11
- package/dist/components/p-input-group.js +0 -241
- package/dist/components/p-input-group.js.map +0 -1
- package/dist/components/p-slider-indicator.d.ts +0 -11
- package/dist/components/p-slider-indicator.js +0 -9
- package/dist/components/p-slider-indicator.js.map +0 -1
- package/dist/components/p-status.js +0 -89
- package/dist/components/p-status.js.map +0 -1
- package/dist/esm/p-counter.entry.js +0 -26
- package/dist/esm/p-counter.entry.js.map +0 -1
- package/dist/esm/p-input-error.entry.js +0 -24
- package/dist/esm/p-input-error.entry.js.map +0 -1
- package/dist/esm/p-input-group.entry.js +0 -174
- package/dist/esm/p-input-group.entry.js.map +0 -1
- package/dist/esm/p-slider-indicator.entry.js +0 -22
- package/dist/esm/p-slider-indicator.entry.js.map +0 -1
- package/dist/esm/p-status.entry.js +0 -60
- package/dist/esm/p-status.entry.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-0a6e3e6f.entry.js +0 -2
- package/dist/paperless/p-0a6e3e6f.entry.js.map +0 -1
- 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-17ae0ec7.entry.js +0 -2
- package/dist/paperless/p-17ae0ec7.entry.js.map +0 -1
- package/dist/paperless/p-26491670.entry.js +0 -2
- package/dist/paperless/p-26491670.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-456a3099.entry.js +0 -2
- package/dist/paperless/p-456a3099.entry.js.map +0 -1
- package/dist/paperless/p-4ac9e128.entry.js +0 -2
- package/dist/paperless/p-4ac9e128.entry.js.map +0 -1
- package/dist/paperless/p-4fb83e8d.entry.js +0 -2
- package/dist/paperless/p-4fb83e8d.entry.js.map +0 -1
- package/dist/paperless/p-5667f8bf.entry.js.map +0 -1
- package/dist/paperless/p-57acc6a7.entry.js +0 -2
- package/dist/paperless/p-57acc6a7.entry.js.map +0 -1
- package/dist/paperless/p-6d54b0a5.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-7435c88e.entry.js +0 -2
- package/dist/paperless/p-7435c88e.entry.js.map +0 -1
- package/dist/paperless/p-74dba9db.entry.js +0 -2
- package/dist/paperless/p-74dba9db.entry.js.map +0 -1
- package/dist/paperless/p-7b7366dc.entry.js.map +0 -1
- package/dist/paperless/p-82751d58.entry.js +0 -2
- package/dist/paperless/p-82751d58.entry.js.map +0 -1
- package/dist/paperless/p-a6c618fb.entry.js +0 -2
- package/dist/paperless/p-a6c618fb.entry.js.map +0 -1
- package/dist/paperless/p-a8f60c0c.entry.js +0 -2
- package/dist/paperless/p-a8f60c0c.entry.js.map +0 -1
- package/dist/paperless/p-b8797794.entry.js +0 -2
- package/dist/paperless/p-b8797794.entry.js.map +0 -1
- package/dist/paperless/p-c585d909.entry.js +0 -2
- package/dist/paperless/p-c585d909.entry.js.map +0 -1
- package/dist/paperless/p-c7c3d389.entry.js +0 -2
- package/dist/paperless/p-c7c3d389.entry.js.map +0 -1
- package/dist/paperless/p-counter.entry.esm.js.map +0 -1
- package/dist/paperless/p-d3102227.entry.js +0 -2
- package/dist/paperless/p-d3102227.entry.js.map +0 -1
- package/dist/paperless/p-d6e8bf36.entry.js +0 -2
- package/dist/paperless/p-d6e8bf36.entry.js.map +0 -1
- package/dist/paperless/p-dae4a24d.entry.js +0 -2
- package/dist/paperless/p-dc4121c6.entry.js.map +0 -1
- package/dist/paperless/p-f82506c3.entry.js +0 -2
- package/dist/paperless/p-f82506c3.entry.js.map +0 -1
- package/dist/paperless/p-ff2b5ed0.entry.js +0 -2
- package/dist/paperless/p-input-error.entry.esm.js.map +0 -1
- package/dist/paperless/p-input-group.entry.esm.js.map +0 -1
- package/dist/paperless/p-slider-indicator.entry.esm.js.map +0 -1
- package/dist/paperless/p-status.entry.esm.js.map +0 -1
- package/dist/types/components/deprecated/atoms/counter/counter.component.d.ts +0 -11
- package/dist/types/components/deprecated/atoms/slider-indicator/slider-indicator.component.d.ts +0 -7
- package/dist/types/components/deprecated/atoms/status/status.component.d.ts +0 -23
- package/dist/types/components/deprecated/molecules/attachment/attachment.component.d.ts +0 -28
- package/dist/types/components/deprecated/molecules/input/error/input-error.component.d.ts +0 -12
- package/dist/types/components/deprecated/molecules/input/group/input-group.component.d.ts +0 -82
- /package/dist/build/{p-e2ee74a9.entry.js.map → p-08cff47b.entry.js.map} +0 -0
- /package/dist/build/{p-f932bde5.entry.js.map → p-0c257fa2.entry.js.map} +0 -0
- /package/dist/build/{p-8d4c7827.entry.js.map → p-0fe51ad0.entry.js.map} +0 -0
- /package/dist/build/{p-35c50504.entry.js.map → p-128f3811.entry.js.map} +0 -0
- /package/dist/build/{p-899f7d36.entry.js.map → p-1778732a.entry.js.map} +0 -0
- /package/dist/build/{p-ff2b5ed0.entry.js.map → p-1a544806.entry.js.map} +0 -0
- /package/dist/build/{p-5dcdb2d0.entry.js.map → p-29d452d0.entry.js.map} +0 -0
- /package/dist/build/{p-4b6b1355.entry.js.map → p-30f6e463.entry.js.map} +0 -0
- /package/dist/build/{p-58efc94c.entry.js.map → p-52149e0e.entry.js.map} +0 -0
- /package/dist/build/{p-c62477c2.entry.js.map → p-5ee4e9c7.entry.js.map} +0 -0
- /package/dist/build/{p-4906fd4d.entry.js.map → p-5fa74e2e.entry.js.map} +0 -0
- /package/dist/build/{p-0dc168c5.entry.js.map → p-66adc33a.entry.js.map} +0 -0
- /package/dist/build/{p-d5cba5af.entry.js.map → p-7658fd89.entry.js.map} +0 -0
- /package/dist/build/{p-f4c0923b.entry.js.map → p-76a4f70e.entry.js.map} +0 -0
- /package/dist/build/{p-7a878e24.entry.js.map → p-8249382f.entry.js.map} +0 -0
- /package/dist/build/{p-f9efc1e5.entry.js.map → p-a5f29193.entry.js.map} +0 -0
- /package/dist/build/{p-b029529c.entry.js.map → p-ae64bdf2.entry.js.map} +0 -0
- /package/dist/build/{p-9ef541e4.entry.js.map → p-cac630d2.entry.js.map} +0 -0
- /package/dist/build/{p-7a05c8ca.entry.js.map → p-e9db1b2d.entry.js.map} +0 -0
- /package/dist/build/{p-70de0ecc.entry.js.map → p-eef52967.entry.js.map} +0 -0
- /package/dist/build/{p-5cd98f23.entry.js.map → p-f1f14a3f.entry.js.map} +0 -0
- /package/dist/collection/components/{deprecated/atoms → atoms}/layout/layout.component.css +0 -0
- /package/dist/paperless/{p-e2ee74a9.entry.js.map → p-08cff47b.entry.js.map} +0 -0
- /package/dist/paperless/{p-f932bde5.entry.js.map → p-0c257fa2.entry.js.map} +0 -0
- /package/dist/paperless/{p-8d4c7827.entry.js.map → p-0fe51ad0.entry.js.map} +0 -0
- /package/dist/paperless/{p-35c50504.entry.js.map → p-128f3811.entry.js.map} +0 -0
- /package/dist/paperless/{p-899f7d36.entry.js.map → p-1778732a.entry.js.map} +0 -0
- /package/dist/paperless/{p-ff2b5ed0.entry.js.map → p-1a544806.entry.js.map} +0 -0
- /package/dist/paperless/{p-5dcdb2d0.entry.js.map → p-29d452d0.entry.js.map} +0 -0
- /package/dist/paperless/{p-4b6b1355.entry.js.map → p-30f6e463.entry.js.map} +0 -0
- /package/dist/paperless/{p-58efc94c.entry.js.map → p-52149e0e.entry.js.map} +0 -0
- /package/dist/paperless/{p-c62477c2.entry.js.map → p-5ee4e9c7.entry.js.map} +0 -0
- /package/dist/paperless/{p-4906fd4d.entry.js.map → p-5fa74e2e.entry.js.map} +0 -0
- /package/dist/paperless/{p-0dc168c5.entry.js.map → p-66adc33a.entry.js.map} +0 -0
- /package/dist/paperless/{p-d5cba5af.entry.js.map → p-7658fd89.entry.js.map} +0 -0
- /package/dist/paperless/{p-f4c0923b.entry.js.map → p-76a4f70e.entry.js.map} +0 -0
- /package/dist/paperless/{p-7a878e24.entry.js.map → p-8249382f.entry.js.map} +0 -0
- /package/dist/paperless/{p-f9efc1e5.entry.js.map → p-a5f29193.entry.js.map} +0 -0
- /package/dist/paperless/{p-b029529c.entry.js.map → p-ae64bdf2.entry.js.map} +0 -0
- /package/dist/paperless/{p-9ef541e4.entry.js.map → p-cac630d2.entry.js.map} +0 -0
- /package/dist/paperless/{p-7a05c8ca.entry.js.map → p-e9db1b2d.entry.js.map} +0 -0
- /package/dist/paperless/{p-70de0ecc.entry.js.map → p-eef52967.entry.js.map} +0 -0
- /package/dist/paperless/{p-5cd98f23.entry.js.map → p-f1f14a3f.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/molecules → molecules}/content-slider/content-slider.component.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.component.js","sourceRoot":"","sources":["../../../../src/components/atoms/tooltip/tooltip.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,EACV,eAAe,EACf,IAAI,EACJ,MAAM,EAEN,KAAK,GAEL,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACN,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,OAAO,GAAG,GAAG,CAClB;IACC,mBAAmB;IACnB,SAAS;IACT,4CAA4C;IAC5C,YAAY;IAEZ,WAAW;IACX,qBAAqB;CACrB,EACD;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,KAAK,EAAE,+BAA+B;YACtC,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,mBAAmB;SAC1B;QACD,QAAQ,EAAE;YACT,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst popover = cva(\n\t[\n\t\t'inline-block px-2',\n\t\t'text-xs',\n\t\t'opacity-0 drop-shadow-3 transition-opacity',\n\t\t'rounded-lg',\n\n\t\t'z-tooltip',\n\t\t'pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\thover: 'bg-black-teal text-white py-1',\n\t\t\t\tclick: null,\n\t\t\t\terror: 'max-w-full w-full',\n\t\t\t},\n\t\t\tstrategy: {\n\t\t\t\tnone: null,\n\t\t\t\tfixed: 'fixed',\n\t\t\t\tabsolute: 'absolute',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tvariant: ['hover', 'click'],\n\t\t\t\tclass: 'max-w-[14.5rem] w-max',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['click', 'error'],\n\t\t\t\tclass: 'bg-white text-black-teal-300 py-2',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst portal = cva('', {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tfixed: 'fixed',\n\t\t\tabsolute: 'absolute',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-tooltip',\n\tstyleUrl: 'tooltip.component.css',\n\tshadow: true,\n})\nexport class Tooltip {\n\t/**\n\t * The variant of the popover\n\t */\n\t@Prop() variant: 'hover' | 'click' | 'error' = 'hover';\n\n\t/**\n\t * The content of the popover\n\t */\n\t@Prop() content: any = null;\n\n\t/**\n\t * The placement of the popover\n\t */\n\t@Prop() placement: Placement;\n\n\t/**\n\t * The offset of the popover\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether the tooltip can be shown by user input\n\t */\n\t@Prop() enableUserInput: boolean = true;\n\n\t/**\n\t * Wether to show the popover\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the tooltip\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to someone can manually close the popover\n\t */\n\t@Prop() canManuallyClose: boolean = true;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasContentSlot = false;\n\n\tprivate _loaded = false;\n\tprivate _popover: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentWillLoad() {\n\t\tthis._hasContentSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"content\"]'\n\t\t);\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\tconst tooltipProps = {\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\tref: el => this._load(el),\n\t\t};\n\n\t\tlet tooltip: HTMLElement;\n\n\t\tconst tooltipElement = (\n\t\t\t<div\n\t\t\t\tclass={popover({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tstrategy: this.usePortal ? 'none' : this.strategy,\n\t\t\t\t})}\n\t\t\t\t{...(this.usePortal ? {} : tooltipProps)}\n\t\t\t>\n\t\t\t\t<div class='flex gap-2'>\n\t\t\t\t\t{this.variant === 'error' && (\n\t\t\t\t\t\t<div class='w-[2px] bg-negative-red'></div>\n\t\t\t\t\t)}\n\t\t\t\t\t{this.content ? this.content : <slot name='content' />}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.usePortal) {\n\t\t\ttooltip = (\n\t\t\t\t<p-portal\n\t\t\t\t\tclass={portal({\n\t\t\t\t\t\tstrategy: this.strategy,\n\t\t\t\t\t})}\n\t\t\t\t\t{...tooltipProps}\n\t\t\t\t>\n\t\t\t\t\t{tooltipElement}\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\ttooltip = tooltipElement;\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-popover flex cursor-pointer'>\n\t\t\t\t<div class='relative h-inherit w-inherit max-w-full'>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t\t{tooltip}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\tprotected clickHandler() {\n\t\tif (this.variant === 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler() {\n\t\tif (this.variant === 'hover' || !this.canManuallyClose || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Listen('mouseenter')\n\t@Listen('focus')\n\tprotected mouseEnterHandler() {\n\t\tif (this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('mouseleave')\n\t@Listen('blur')\n\tprotected mouseLeaveHandler() {\n\t\tif (this.show || this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Watch('show')\n\tonShowChange(show: boolean) {\n\t\tif (show && !this._popover.hasAttribute('data-show')) {\n\t\t\treturn this._show();\n\t\t}\n\n\t\treturn this._hide();\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.content?.length && !this._hasContentSlot) {\n\t\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\t\tthis._hide();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._popover, () => this._update());\n\n\t\t// Make the popover visible\n\t\tthis._popover.setAttribute('data-show', '');\n\n\t\tthis._popover.classList.remove('opacity-0', 'pointer-events-none');\n\t\tthis._popover.classList.add('opacity-100', 'pointer-events-auto');\n\n\t\t// Update its position\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._popover.removeAttribute('data-show');\n\n\t\tthis._popover.classList.remove('opacity-100', 'pointer-events-auto');\n\t\tthis._popover.classList.add('opacity-0', 'pointer-events-none');\n\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._popover = popover;\n\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _update() {\n\t\tif (!this._popover) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._popover, {\n\t\t\tplacement:\n\t\t\t\tthis.variant === 'error' && !this.placement\n\t\t\t\t\t? 'bottom-start'\n\t\t\t\t\t: this.placement ?? 'top',\n\t\t\tstrategy: this.strategy,\n\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._popover.dataset.placement = placement;\n\t\t\tObject.assign(this._popover.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"tooltip.component.js","sourceRoot":"","sources":["../../../../src/components/atoms/tooltip/tooltip.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,EACV,eAAe,EACf,IAAI,EACJ,MAAM,EAEN,KAAK,GAEL,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACN,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,OAAO,GAAG,GAAG,CAClB;IACC,mBAAmB;IACnB,SAAS;IACT,4CAA4C;IAC5C,YAAY;IAEZ,WAAW;IACX,qBAAqB;CACrB,EACD;IACC,QAAQ,EAAE;QACT,OAAO,EAAE;YACR,KAAK,EAAE,+BAA+B;YACtC,KAAK,EAAE,IAAI;YACX,KAAK,EAAE,mBAAmB;SAC1B;QACD,QAAQ,EAAE;YACT,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,UAAU;SACpB;KACD;IACD,gBAAgB,EAAE;QACjB;YACC,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;YAC3B,KAAK,EAAE,uBAAuB;SAC9B;QACD;YACC,OAAO,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC;YAC3B,KAAK,EAAE,mCAAmC;SAC1C;KAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst popover = cva(\n\t[\n\t\t'inline-block px-2',\n\t\t'text-xs',\n\t\t'opacity-0 drop-shadow-3 transition-opacity',\n\t\t'rounded-lg',\n\n\t\t'z-tooltip',\n\t\t'pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\thover: 'bg-black-teal text-white py-1',\n\t\t\t\tclick: null,\n\t\t\t\terror: 'max-w-full w-full',\n\t\t\t},\n\t\t\tstrategy: {\n\t\t\t\tnone: null,\n\t\t\t\tfixed: 'fixed',\n\t\t\t\tabsolute: 'absolute',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tvariant: ['hover', 'click'],\n\t\t\t\tclass: 'max-w-[14.5rem] w-max',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['click', 'error'],\n\t\t\t\tclass: 'bg-white text-black-teal-300 py-2',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst portal = cva('', {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tfixed: 'fixed',\n\t\t\tabsolute: 'absolute',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-tooltip',\n\tstyleUrl: 'tooltip.component.css',\n\tshadow: true,\n})\nexport class Tooltip {\n\t/**\n\t * The variant of the popover\n\t */\n\t@Prop() variant: 'hover' | 'click' | 'error' = 'hover';\n\n\t/**\n\t * The content of the popover\n\t */\n\t@Prop() content: any = null;\n\n\t/**\n\t * The placement of the popover\n\t */\n\t@Prop() placement: Placement;\n\n\t/**\n\t * The offset of the popover\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether the tooltip can be shown by user input\n\t */\n\t@Prop() enableUserInput: boolean = true;\n\n\t/**\n\t * Wether to show the popover\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the tooltip\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to someone can manually close the popover\n\t */\n\t@Prop() canManuallyClose: boolean = true;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasContentSlot = false;\n\n\tprivate _loaded = false;\n\tprivate _popover: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentWillLoad() {\n\t\tthis._hasContentSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"content\"]'\n\t\t);\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\tconst tooltipProps = {\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\tref: el => this._load(el),\n\t\t};\n\n\t\tlet tooltip: HTMLElement;\n\n\t\tconst tooltipElement = (\n\t\t\t<div\n\t\t\t\tclass={popover({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tstrategy: this.usePortal ? 'none' : this.strategy,\n\t\t\t\t})}\n\t\t\t\t{...(this.usePortal ? {} : tooltipProps)}\n\t\t\t>\n\t\t\t\t<div class='flex gap-2'>\n\t\t\t\t\t{this.variant === 'error' && (\n\t\t\t\t\t\t<div class='w-[2px] bg-negative-red'></div>\n\t\t\t\t\t)}\n\t\t\t\t\t{this.content ? this.content : <slot name='content' />}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.usePortal) {\n\t\t\ttooltip = (\n\t\t\t\t<p-portal\n\t\t\t\t\tclass={portal({\n\t\t\t\t\t\tstrategy: this.strategy,\n\t\t\t\t\t})}\n\t\t\t\t\t{...tooltipProps}\n\t\t\t\t>\n\t\t\t\t\t{tooltipElement}\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\ttooltip = tooltipElement;\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='flex cursor-pointer'>\n\t\t\t\t<div class='relative h-inherit w-inherit max-w-full'>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t\t{tooltip}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\tprotected clickHandler() {\n\t\tif (this.variant === 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler() {\n\t\tif (this.variant === 'hover' || !this.canManuallyClose || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Listen('mouseenter')\n\t@Listen('focus')\n\tprotected mouseEnterHandler() {\n\t\tif (this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('mouseleave')\n\t@Listen('blur')\n\tprotected mouseLeaveHandler() {\n\t\tif (this.show || this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Watch('show')\n\tonShowChange(show: boolean) {\n\t\tif (show && !this._popover.hasAttribute('data-show')) {\n\t\t\treturn this._show();\n\t\t}\n\n\t\treturn this._hide();\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.content?.length && !this._hasContentSlot) {\n\t\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\t\tthis._hide();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._popover, () => this._update());\n\n\t\t// Make the popover visible\n\t\tthis._popover.setAttribute('data-show', '');\n\n\t\tthis._popover.classList.remove('opacity-0', 'pointer-events-none');\n\t\tthis._popover.classList.add('opacity-100', 'pointer-events-auto');\n\n\t\t// Update its position\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._popover.removeAttribute('data-show');\n\n\t\tthis._popover.classList.remove('opacity-100', 'pointer-events-auto');\n\t\tthis._popover.classList.add('opacity-0', 'pointer-events-none');\n\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._popover = popover;\n\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _update() {\n\t\tif (!this._popover) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._popover, {\n\t\t\tplacement:\n\t\t\t\tthis.variant === 'error' && !this.placement\n\t\t\t\t\t? 'bottom-start'\n\t\t\t\t\t: this.placement ?? 'top',\n\t\t\tstrategy: this.strategy,\n\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._popover.dataset.placement = placement;\n\t\t\tObject.assign(this._popover.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n"]}
|
|
@@ -10,7 +10,7 @@ export class Illustration {
|
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
12
|
const illustration = illustrations[this.variant];
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: 'b5d10182368221379a8cf26c58ccba88cd9f45eb', class: 'p-illustration block', innerHTML: illustration }));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "p-illustration-deprecated"; }
|
|
16
16
|
static get properties() {
|
|
@@ -41,10 +41,10 @@ export class Cropper {
|
|
|
41
41
|
}, 200);
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (h(Host, { key: '
|
|
44
|
+
return (h(Host, { key: 'a66d380b44bc45224bfdc14bb5fca2b2ed362b30', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: 'e1fd99544823302d65acd18a728c1de356e71568', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '102da7dfafb0978769d01769dd612181ee827c21', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: '85d8dd61a002f97cde353c6b596bc565cdf0dd03', class: clsx({
|
|
45
45
|
'rounded-round': this.variant === 'user',
|
|
46
46
|
rounded: this.variant === 'company',
|
|
47
|
-
}), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '
|
|
47
|
+
}), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: 'b6f27be2918f2d37db9c2e357edbf43c9437d948', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: 'f344a4f9329f0f95388cbb9d244e9874bb122872', action: 'move', plain: true }))), h("div", { key: 'fac0f650ad1c0f90cf76b1988c5b0868fca46433', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: 'cab454265a498a58246f560214a9773a05b64a9d', variant: 'minus' }), h("input", { key: '6e290864b2b72b195dcf3bc0499a7c15cf95dfb7', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: 'eae0f43ac06be2eb63ceaeba98890a9bc423f003', variant: 'plus' }))));
|
|
48
48
|
}
|
|
49
49
|
_setImageRef(ref) {
|
|
50
50
|
if (this._imageRef) {
|
|
@@ -15,7 +15,7 @@ export class Portal {
|
|
|
15
15
|
this._moved ? this._el.remove() : (this._moved = true);
|
|
16
16
|
}
|
|
17
17
|
render() {
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: '3afc8e8efee7e6d43f56a5ecf1c5be14a1c67ff0' }, h("slot", { key: '7e7e2a788f0c46b02ffe967be5dd30f0ec497e6f' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "p-portal"; }
|
|
21
21
|
static get elementRef() { return "_el"; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*{box-sizing:border-box}.static{position:static!important}.my-0{margin-bottom:0!important;margin-top:0!important}.mt-4{margin-top:1rem!important}.flex{display:flex!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.font-medium{font-weight:500!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}
|
|
@@ -21,7 +21,7 @@ export class Accordion {
|
|
|
21
21
|
*/
|
|
22
22
|
isOpen;
|
|
23
23
|
render() {
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: 'c34fe5c4187064f151e29f8948aef430c0f42031' }, h("div", { key: '2fcf182129779dd5e1596ea7220ceb94effb57cf', class: 'flex cursor-pointer items-center gap-2 text-black-teal-500', onClick: () => this._onClick() }, h("p-icon", { key: 'ccf65eb632cf527988558d62cb185358856215cf', class: 'flex shrink-0', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: '81a79c0cb95a9b91c0a26057545c5a10d605c062', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), h("p-divider", { key: 'c2491c906fe7c966b03eb0ba956cfc99d2791c43', class: "flex-1" })), this.open && (h("div", { key: '2e7d5744c65a497c20db6015958bc7ffc0f77816', class: 'mt-4' }, h("slot", { key: 'c6b0f9796652ce793ac78d1215cce622ce846c2a' })))));
|
|
25
25
|
}
|
|
26
26
|
_onClick() {
|
|
27
27
|
if (!this.closeable && this.open) {
|
|
@@ -37,7 +37,7 @@ export class Accordion {
|
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
38
38
|
static get originalStyleUrls() {
|
|
39
39
|
return {
|
|
40
|
-
"$": ["accordion.component.
|
|
40
|
+
"$": ["accordion.component.css"]
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
static get styleUrls() {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accordion.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/accordion/accordion.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAO9E,MAAM,OAAO,SAAS;IACrB;;OAEG;IACK,MAAM,CAAU;IAExB;;OAEG;IACK,IAAI,GAAY,KAAK,CAAC;IAE9B;;OAEG;IACK,SAAS,GAAY,IAAI,CAAC;IAElC;;OAEG;IACK,QAAQ,GAAY,IAAI,CAAC;IAEjC;;OAEG;IAIH,MAAM,CAAwB;IAE9B,MAAM;QACL,OAAO,CACN,EAAC,IAAI;YACJ,4DACC,KAAK,EAAC,4DAA4D,EAClE,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,QAAQ,EAAE;gBAE9B,+DACC,KAAK,EAAC,eAAe,EACrB,OAAO,EAAC,OAAO,EACf,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,GAC1B;gBACF,0DAAG,KAAK,EAAC,uDAAuD,IAAE,IAAI,CAAC,MAAM,CAAK;gBAClF,kEAAW,KAAK,EAAC,QAAQ,GAAG,CACvB;YACL,IAAI,CAAC,IAAI,IAAI,CACb,4DAAK,KAAK,EAAC,MAAM;gBAChB,8DAAQ,CACH,CACN,CACK,CACP,CAAC;IACH,CAAC;IAEO,QAAQ;QACf,IAAI,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YAClC,OAAO;QACR,CAAC;QAED,IAAI,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAClC,OAAO;QACR,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;QACvB,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-accordion',\n\tstyleUrl: 'accordion.component.css',\n\tshadow: true,\n})\nexport class Accordion {\n\t/**\n\t * Header of the accordion\n\t */\n\t@Prop() header!: string;\n\n\t/**\n\t * Wether the accordion is open\n\t */\n\t@Prop() open: boolean = false;\n\n\t/**\n\t * Wether the accordion can be closed\n\t */\n\t@Prop() closeable: boolean = true;\n\n\t/**\n\t * Wether the accordion can be opened\n\t */\n\t@Prop() openable: boolean = true;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<div\n\t\t\t\t\tclass='flex cursor-pointer items-center gap-2 text-black-teal-500'\n\t\t\t\t\tonClick={() => this._onClick()}\n\t\t\t\t>\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass='flex shrink-0'\n\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\trotate={this.open ? 0 : -90}\n\t\t\t\t\t/>\n\t\t\t\t\t<p class='my-0 shrink-0 whitespace-nowrap text-base font-medium'>{this.header}</p>\n\t\t\t\t\t<p-divider class=\"flex-1\" />\n\t\t\t\t</div>\n\t\t\t\t{this.open && (\n\t\t\t\t\t<div class='mt-4'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onClick() {\n\t\tif (!this.closeable && this.open) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.openable && !this.open) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.open = !this.open;\n\t\tthis.isOpen.emit(this.open);\n\t}\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.block{display:block!important}*{box-sizing:border-box}:host{display:block;width:100%}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-8{height:2rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-negative-red{--tw-border-opacity:1!important;border-color:rgb(230 30 30/var(--tw-border-opacity,1))!important}.bg-white-600{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-negative-red{--tw-text-opacity:1!important;color:rgb(230 30 30/var(--tw-text-opacity,1))!important}.empty\:hidden:empty{display:none!important}.peer:empty~.peer-empty\:block{display:block!important}
|
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { cn } from "../../../utils";
|
|
3
|
+
import { cva } from "class-variance-authority";
|
|
4
|
+
const attachment = cva([
|
|
5
|
+
'flex flex-1 items-center justify-start gap-2',
|
|
6
|
+
'h-8 min-w-0 px-2 rounded-lg',
|
|
7
|
+
'border border-solid bg-white-600'
|
|
8
|
+
], {
|
|
9
|
+
variants: {
|
|
10
|
+
error: {
|
|
11
|
+
false: 'bg-white-600 border-black-teal-100 text-black-teal-200',
|
|
12
|
+
true: 'border-negative-red',
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export class Attachment {
|
|
17
|
+
/**
|
|
18
|
+
* The value of the attachment (usually the file name)
|
|
19
|
+
*/
|
|
20
|
+
value;
|
|
21
|
+
/**
|
|
22
|
+
* The label of the attachment
|
|
23
|
+
*/
|
|
24
|
+
label;
|
|
25
|
+
/**
|
|
26
|
+
* The helper of the attachment
|
|
27
|
+
*/
|
|
28
|
+
helper;
|
|
29
|
+
/**
|
|
30
|
+
* Wether the attachment is required
|
|
31
|
+
*/
|
|
32
|
+
required = true;
|
|
33
|
+
/**
|
|
34
|
+
* The variant of the attachment
|
|
35
|
+
*/
|
|
36
|
+
mode = 'read';
|
|
37
|
+
/**
|
|
38
|
+
* The placeholder of the attachment
|
|
39
|
+
*/
|
|
40
|
+
placeholder = 'Upload a file...';
|
|
41
|
+
/**
|
|
42
|
+
* The text for the download tooltip
|
|
43
|
+
*/
|
|
44
|
+
downloadTooltip = 'Download';
|
|
45
|
+
/**
|
|
46
|
+
* The text for the upload tooltip
|
|
47
|
+
*/
|
|
48
|
+
uploadTooltip = 'Upload';
|
|
49
|
+
/**
|
|
50
|
+
* The text for the delete tooltip
|
|
51
|
+
*/
|
|
52
|
+
deleteTooltip = 'Delete';
|
|
53
|
+
/**
|
|
54
|
+
* Wether the attachment is loading
|
|
55
|
+
*/
|
|
56
|
+
loading = false;
|
|
57
|
+
/**
|
|
58
|
+
* The error to show
|
|
59
|
+
*/
|
|
60
|
+
error;
|
|
61
|
+
/**
|
|
62
|
+
* Event when upload is pressed
|
|
63
|
+
*/
|
|
64
|
+
upload;
|
|
65
|
+
/**
|
|
66
|
+
* Event when download is pressed
|
|
67
|
+
*/
|
|
68
|
+
download;
|
|
69
|
+
/**
|
|
70
|
+
* Event when delete is pressed
|
|
71
|
+
*/
|
|
72
|
+
delete;
|
|
73
|
+
render() {
|
|
74
|
+
let prefix = h("p-icon", { key: 'dec3ba45123c5d6ce59da6a1f96c9b9a3a3876ed', class: "text-black-teal-300", variant: 'attachment' });
|
|
75
|
+
if (this.loading) {
|
|
76
|
+
prefix = h("p-loader", { key: '02cccf7922f00303b3077e588170b3aae7f6f27f' });
|
|
77
|
+
}
|
|
78
|
+
if (this.error) {
|
|
79
|
+
prefix = (h("p-icon", { key: 'db46c29fcf10ed6c2689bf33b6e4bf4a2cc82fca', variant: 'warning', class: 'text-negative-red' }));
|
|
80
|
+
}
|
|
81
|
+
const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
|
|
82
|
+
return (h("p-field-container", { key: '692a34d32a0c898597a023af15a3c1eb41cbcf9f', variant: "write", label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: 'e571150e73494149c716d6a80dbf1263b887b609', slot: "content", class: 'flex items-start gap-2 w-full' }, h("div", { key: 'a7f187728379b71a2adc7c6c26aacf0830a43ba1', class: attachment({
|
|
83
|
+
error: !!this.error?.length
|
|
84
|
+
}) }, prefix, h("span", { key: 'afb1e39187468e6594941c08ad3fc4416dd33335', class: cn(baseText, 'peer empty:hidden') }, this.value), h("span", { key: 'e134aceb211439def13e0990ce0c30eea90411e3', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: '7a162119958bf4324dbdc8492f041c05024ff2b8', content: this.mode === 'read' ? this.downloadTooltip : this.value?.length ? this.deleteTooltip : this.uploadTooltip }, h("p-button", { key: '0e07189d0275b197d3c73a3d78d0723aaa6b8bb9', slot: "trigger", variant: 'secondary', iconOnly: true, icon: this.mode === 'read' ? 'download' : this.value?.length ? 'trash' : 'upload', disabled: this.loading, loading: this.loading, onOnClick: () => (this.mode === 'read' ? this.download : this.value?.length ? this.delete : this.upload).emit() })))));
|
|
85
|
+
}
|
|
86
|
+
static get is() { return "p-attachment"; }
|
|
87
|
+
static get encapsulation() { return "shadow"; }
|
|
88
|
+
static get originalStyleUrls() {
|
|
89
|
+
return {
|
|
90
|
+
"$": ["attachment.component.css"]
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
static get styleUrls() {
|
|
94
|
+
return {
|
|
95
|
+
"$": ["attachment.component.css"]
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
static get properties() {
|
|
99
|
+
return {
|
|
100
|
+
"value": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"attribute": "value",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "string",
|
|
106
|
+
"resolved": "string",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": "The value of the attachment (usually the file name)"
|
|
114
|
+
},
|
|
115
|
+
"getter": false,
|
|
116
|
+
"setter": false,
|
|
117
|
+
"reflect": false
|
|
118
|
+
},
|
|
119
|
+
"label": {
|
|
120
|
+
"type": "string",
|
|
121
|
+
"attribute": "label",
|
|
122
|
+
"mutable": false,
|
|
123
|
+
"complexType": {
|
|
124
|
+
"original": "string | HTMLSlotElement",
|
|
125
|
+
"resolved": "HTMLSlotElement | string",
|
|
126
|
+
"references": {
|
|
127
|
+
"HTMLSlotElement": {
|
|
128
|
+
"location": "global",
|
|
129
|
+
"id": "global::HTMLSlotElement"
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": false,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": "The label of the attachment"
|
|
138
|
+
},
|
|
139
|
+
"getter": false,
|
|
140
|
+
"setter": false,
|
|
141
|
+
"reflect": false
|
|
142
|
+
},
|
|
143
|
+
"helper": {
|
|
144
|
+
"type": "string",
|
|
145
|
+
"attribute": "helper",
|
|
146
|
+
"mutable": false,
|
|
147
|
+
"complexType": {
|
|
148
|
+
"original": "string | HTMLSlotElement",
|
|
149
|
+
"resolved": "HTMLSlotElement | string",
|
|
150
|
+
"references": {
|
|
151
|
+
"HTMLSlotElement": {
|
|
152
|
+
"location": "global",
|
|
153
|
+
"id": "global::HTMLSlotElement"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": false,
|
|
158
|
+
"optional": false,
|
|
159
|
+
"docs": {
|
|
160
|
+
"tags": [],
|
|
161
|
+
"text": "The helper of the attachment"
|
|
162
|
+
},
|
|
163
|
+
"getter": false,
|
|
164
|
+
"setter": false,
|
|
165
|
+
"reflect": false
|
|
166
|
+
},
|
|
167
|
+
"required": {
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"attribute": "required",
|
|
170
|
+
"mutable": false,
|
|
171
|
+
"complexType": {
|
|
172
|
+
"original": "boolean",
|
|
173
|
+
"resolved": "boolean",
|
|
174
|
+
"references": {}
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"optional": false,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "Wether the attachment is required"
|
|
181
|
+
},
|
|
182
|
+
"getter": false,
|
|
183
|
+
"setter": false,
|
|
184
|
+
"reflect": true,
|
|
185
|
+
"defaultValue": "true"
|
|
186
|
+
},
|
|
187
|
+
"mode": {
|
|
188
|
+
"type": "string",
|
|
189
|
+
"attribute": "mode",
|
|
190
|
+
"mutable": false,
|
|
191
|
+
"complexType": {
|
|
192
|
+
"original": "'read' | 'write'",
|
|
193
|
+
"resolved": "\"read\" | \"write\"",
|
|
194
|
+
"references": {}
|
|
195
|
+
},
|
|
196
|
+
"required": false,
|
|
197
|
+
"optional": false,
|
|
198
|
+
"docs": {
|
|
199
|
+
"tags": [],
|
|
200
|
+
"text": "The variant of the attachment"
|
|
201
|
+
},
|
|
202
|
+
"getter": false,
|
|
203
|
+
"setter": false,
|
|
204
|
+
"reflect": false,
|
|
205
|
+
"defaultValue": "'read'"
|
|
206
|
+
},
|
|
207
|
+
"placeholder": {
|
|
208
|
+
"type": "string",
|
|
209
|
+
"attribute": "placeholder",
|
|
210
|
+
"mutable": false,
|
|
211
|
+
"complexType": {
|
|
212
|
+
"original": "string",
|
|
213
|
+
"resolved": "string",
|
|
214
|
+
"references": {}
|
|
215
|
+
},
|
|
216
|
+
"required": false,
|
|
217
|
+
"optional": false,
|
|
218
|
+
"docs": {
|
|
219
|
+
"tags": [],
|
|
220
|
+
"text": "The placeholder of the attachment"
|
|
221
|
+
},
|
|
222
|
+
"getter": false,
|
|
223
|
+
"setter": false,
|
|
224
|
+
"reflect": false,
|
|
225
|
+
"defaultValue": "'Upload a file...'"
|
|
226
|
+
},
|
|
227
|
+
"downloadTooltip": {
|
|
228
|
+
"type": "string",
|
|
229
|
+
"attribute": "download-tooltip",
|
|
230
|
+
"mutable": false,
|
|
231
|
+
"complexType": {
|
|
232
|
+
"original": "string",
|
|
233
|
+
"resolved": "string",
|
|
234
|
+
"references": {}
|
|
235
|
+
},
|
|
236
|
+
"required": false,
|
|
237
|
+
"optional": false,
|
|
238
|
+
"docs": {
|
|
239
|
+
"tags": [],
|
|
240
|
+
"text": "The text for the download tooltip"
|
|
241
|
+
},
|
|
242
|
+
"getter": false,
|
|
243
|
+
"setter": false,
|
|
244
|
+
"reflect": false,
|
|
245
|
+
"defaultValue": "'Download'"
|
|
246
|
+
},
|
|
247
|
+
"uploadTooltip": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"attribute": "upload-tooltip",
|
|
250
|
+
"mutable": false,
|
|
251
|
+
"complexType": {
|
|
252
|
+
"original": "string",
|
|
253
|
+
"resolved": "string",
|
|
254
|
+
"references": {}
|
|
255
|
+
},
|
|
256
|
+
"required": false,
|
|
257
|
+
"optional": false,
|
|
258
|
+
"docs": {
|
|
259
|
+
"tags": [],
|
|
260
|
+
"text": "The text for the upload tooltip"
|
|
261
|
+
},
|
|
262
|
+
"getter": false,
|
|
263
|
+
"setter": false,
|
|
264
|
+
"reflect": false,
|
|
265
|
+
"defaultValue": "'Upload'"
|
|
266
|
+
},
|
|
267
|
+
"deleteTooltip": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"attribute": "delete-tooltip",
|
|
270
|
+
"mutable": false,
|
|
271
|
+
"complexType": {
|
|
272
|
+
"original": "string",
|
|
273
|
+
"resolved": "string",
|
|
274
|
+
"references": {}
|
|
275
|
+
},
|
|
276
|
+
"required": false,
|
|
277
|
+
"optional": false,
|
|
278
|
+
"docs": {
|
|
279
|
+
"tags": [],
|
|
280
|
+
"text": "The text for the delete tooltip"
|
|
281
|
+
},
|
|
282
|
+
"getter": false,
|
|
283
|
+
"setter": false,
|
|
284
|
+
"reflect": false,
|
|
285
|
+
"defaultValue": "'Delete'"
|
|
286
|
+
},
|
|
287
|
+
"loading": {
|
|
288
|
+
"type": "boolean",
|
|
289
|
+
"attribute": "loading",
|
|
290
|
+
"mutable": false,
|
|
291
|
+
"complexType": {
|
|
292
|
+
"original": "boolean",
|
|
293
|
+
"resolved": "boolean",
|
|
294
|
+
"references": {}
|
|
295
|
+
},
|
|
296
|
+
"required": false,
|
|
297
|
+
"optional": false,
|
|
298
|
+
"docs": {
|
|
299
|
+
"tags": [],
|
|
300
|
+
"text": "Wether the attachment is loading"
|
|
301
|
+
},
|
|
302
|
+
"getter": false,
|
|
303
|
+
"setter": false,
|
|
304
|
+
"reflect": false,
|
|
305
|
+
"defaultValue": "false"
|
|
306
|
+
},
|
|
307
|
+
"error": {
|
|
308
|
+
"type": "string",
|
|
309
|
+
"attribute": "error",
|
|
310
|
+
"mutable": false,
|
|
311
|
+
"complexType": {
|
|
312
|
+
"original": "string",
|
|
313
|
+
"resolved": "string",
|
|
314
|
+
"references": {}
|
|
315
|
+
},
|
|
316
|
+
"required": false,
|
|
317
|
+
"optional": false,
|
|
318
|
+
"docs": {
|
|
319
|
+
"tags": [],
|
|
320
|
+
"text": "The error to show"
|
|
321
|
+
},
|
|
322
|
+
"getter": false,
|
|
323
|
+
"setter": false,
|
|
324
|
+
"reflect": false
|
|
325
|
+
}
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
static get events() {
|
|
329
|
+
return [{
|
|
330
|
+
"method": "upload",
|
|
331
|
+
"name": "upload",
|
|
332
|
+
"bubbles": false,
|
|
333
|
+
"cancelable": true,
|
|
334
|
+
"composed": true,
|
|
335
|
+
"docs": {
|
|
336
|
+
"tags": [],
|
|
337
|
+
"text": "Event when upload is pressed"
|
|
338
|
+
},
|
|
339
|
+
"complexType": {
|
|
340
|
+
"original": "void",
|
|
341
|
+
"resolved": "void",
|
|
342
|
+
"references": {}
|
|
343
|
+
}
|
|
344
|
+
}, {
|
|
345
|
+
"method": "download",
|
|
346
|
+
"name": "download",
|
|
347
|
+
"bubbles": false,
|
|
348
|
+
"cancelable": true,
|
|
349
|
+
"composed": true,
|
|
350
|
+
"docs": {
|
|
351
|
+
"tags": [],
|
|
352
|
+
"text": "Event when download is pressed"
|
|
353
|
+
},
|
|
354
|
+
"complexType": {
|
|
355
|
+
"original": "void",
|
|
356
|
+
"resolved": "void",
|
|
357
|
+
"references": {}
|
|
358
|
+
}
|
|
359
|
+
}, {
|
|
360
|
+
"method": "delete",
|
|
361
|
+
"name": "delete",
|
|
362
|
+
"bubbles": false,
|
|
363
|
+
"cancelable": true,
|
|
364
|
+
"composed": true,
|
|
365
|
+
"docs": {
|
|
366
|
+
"tags": [],
|
|
367
|
+
"text": "Event when delete is pressed"
|
|
368
|
+
},
|
|
369
|
+
"complexType": {
|
|
370
|
+
"original": "void",
|
|
371
|
+
"resolved": "void",
|
|
372
|
+
"references": {}
|
|
373
|
+
}
|
|
374
|
+
}];
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
//# sourceMappingURL=attachment.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/attachment/attachment.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACxE,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,UAAU,GAAG,GAAG,CAAC;IACrB,8CAA8C;IAC9C,6BAA6B;IAC7B,kCAAkC;CAClC,EAAE;IACF,QAAQ,EAAE;QACT,KAAK,EAAE;YACN,KAAK,EAAE,wDAAwD;YAC/D,IAAI,EAAE,qBAAqB;SAC3B;KACD;CACD,CAAC,CAAA;AAOH,MAAM,OAAO,UAAU;IACtB;;OAEG;I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cn } from '../../../utils';\nimport { cva } from 'class-variance-authority';\n\nconst attachment = cva([\n\t\t'flex flex-1 items-center justify-start gap-2',\n\t\t'h-8 min-w-0 px-2 rounded-lg',\n\t\t'border border-solid bg-white-600'\n\t], {\n\t\tvariants: {\n\t\t\terror: {\n\t\t\t\tfalse: 'bg-white-600 border-black-teal-100 text-black-teal-200',\n\t\t\t\ttrue: 'border-negative-red',\n\t\t\t}\n\t\t}\n\t})\n\n@Component({\n\ttag: 'p-attachment',\n\tstyleUrl: 'attachment.component.css',\n\tshadow: true,\n})\nexport class Attachment {\n\t/**\n\t * The value of the attachment (usually the file name)\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The label of the attachment\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * The helper of the attachment\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the attachment is required\n\t */\n\t@Prop({ reflect: true }) required = true;\n\n\n\t/**\n\t * The variant of the attachment\n\t */\n\t@Prop() mode: 'read' | 'write' = 'read';\n\n\t/**\n\t * The placeholder of the attachment\n\t */\n\t@Prop() placeholder: string = 'Upload a file...';\n\n\t/**\n\t * The text for the download tooltip\n\t */\n\t@Prop() downloadTooltip: string = 'Download';\n\n\t/**\n\t * The text for the upload tooltip\n\t */\n\t@Prop() uploadTooltip: string = 'Upload';\n\n\t/**\n\t * The text for the delete tooltip\n\t */\n\t@Prop() deleteTooltip: string = 'Delete';\n\n\t/**\n\t * Wether the attachment is loading\n\t */\n\t@Prop() loading = false;\n\n\t/**\n\t * The error to show\n\t */\n\t@Prop() error: string;\n\n\t/**\n\t * Event when upload is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tupload: EventEmitter<void>;\n\n\t/**\n\t * Event when download is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdownload: EventEmitter<void>;\n\n\t/**\n\t * Event when delete is pressed\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdelete: EventEmitter<void>;\n\n\trender() {\n\t\tlet prefix = <p-icon class=\"text-black-teal-300\" variant='attachment' />;\n\n\t\tif (this.loading) {\n\t\t\tprefix = <p-loader />;\n\t\t}\n\n\t\tif (this.error) {\n\t\t\tprefix = (\n\t\t\t\t<p-icon\n\t\t\t\t\tvariant='warning'\n\t\t\t\t\tclass='text-negative-red'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tconst baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm'\n\t\treturn (\n\t\t\t<p-field-container variant=\"write\" label={this.label} helper={this.helper} error={this.error} required={this.required} forceShowTooltip={!!this.error?.length}>\n\t\t\t\t<div slot=\"content\" class='flex items-start gap-2 w-full'>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={attachment({\n\t\t\t\t\t\t\terror: !!this.error?.length\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t{prefix}\n\n\t\t\t\t\t\t<span class={cn(baseText, 'peer empty:hidden')}>\n\t\t\t\t\t\t\t{this.value}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span class={cn(baseText, 'hidden peer-empty:block')}>\n\t\t\t\t\t\t\t{this.placeholder}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip content={this.mode === 'read' ? this.downloadTooltip : this.value?.length ? this.deleteTooltip : this.uploadTooltip}>\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\ticon={this.mode === 'read' ? 'download' : this.value?.length ? 'trash' : 'upload'}\n\t\t\t\t\t\t\tdisabled={this.loading}\n\t\t\t\t\t\t\tloading={this.loading}\n\t\t\t\t\t\t\tonOnClick={() =>\n\t\t\t\t\t\t\t\t(this.mode === 'read' ? this.download : this.value?.length ? this.delete : this.upload).emit()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</div>\n\t\t\t</p-field-container>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -342,10 +342,12 @@ export class Button {
|
|
|
342
342
|
let loaderColor = 'white';
|
|
343
343
|
switch (this.variant) {
|
|
344
344
|
case 'secondary':
|
|
345
|
-
|
|
345
|
+
case 'dropdown':
|
|
346
|
+
case 'transparent':
|
|
347
|
+
loaderColor = 'off-white';
|
|
346
348
|
break;
|
|
347
349
|
case 'text':
|
|
348
|
-
loaderColor = '
|
|
350
|
+
loaderColor = 'black-teal';
|
|
349
351
|
break;
|
|
350
352
|
}
|
|
351
353
|
const VariableTag = this.variant === 'text' || this.href?.length || this.as === 'a'
|
|
@@ -353,7 +355,7 @@ export class Button {
|
|
|
353
355
|
: 'button';
|
|
354
356
|
const hostClass = cn('p-button inline-block', this.class);
|
|
355
357
|
const active = asBoolean(this.active) || hostClass?.includes('active');
|
|
356
|
-
return (h(Host, { key: '
|
|
358
|
+
return (h(Host, { key: 'a89a6061c6cb4cee3215ac8f8bd6fec52562ed20', class: hostClass }, h(VariableTag, { key: '2c48cdeb37d07f592d20ed01f65dafc148843904', disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
|
|
357
359
|
variant: this.variant,
|
|
358
360
|
size: this.size,
|
|
359
361
|
underline: asBoolean(this.underline, true),
|
|
@@ -362,14 +364,14 @@ export class Button {
|
|
|
362
364
|
buttonGroupPosition: this.buttonGroupPosition,
|
|
363
365
|
iconOnly: asBoolean(this.iconOnly),
|
|
364
366
|
active,
|
|
365
|
-
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '
|
|
367
|
+
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: 'f3d7438af72af3bd4f76a8d302d7f9ba4f416777', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
|
|
366
368
|
this.iconPosition === 'start' &&
|
|
367
369
|
!(this.iconOnly && this.loading) &&
|
|
368
370
|
this._getIcon(), this.label ? this.label : h("slot", null), this.icon &&
|
|
369
371
|
this.iconPosition === 'end' &&
|
|
370
372
|
!this.loading &&
|
|
371
373
|
!this.chevron &&
|
|
372
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '
|
|
374
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: 'e38e7c371f1ff630c758bbff3ef9997cb0e845bb', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && h("p-loader", { key: '102f741e8aa5b17e21a18004341f1d2c2b95797b', color: loaderColor }))));
|
|
373
375
|
}
|
|
374
376
|
handleClick(ev) {
|
|
375
377
|
if (this.loading || this.disabled) {
|