@paperless/core 2.0.1-beta.0 → 2.0.1-beta.10
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 +209 -1
- package/dist/assets/iban-icons/icon-abn.svg +6 -0
- package/dist/assets/iban-icons/icon-asn.svg +5 -0
- package/dist/assets/iban-icons/icon-bunq.svg +19 -0
- package/dist/assets/iban-icons/icon-ing.png +0 -0
- package/dist/assets/iban-icons/icon-knab.svg +8 -0
- package/dist/assets/iban-icons/icon-rabo.svg +36 -0
- package/dist/assets/iban-icons/icon-sns.svg +172 -0
- package/dist/assets/iban-icons/icon-triodos.svg +5 -0
- package/dist/assets/icons/arrows/arrow.svg +10 -0
- package/dist/assets/icons/arrows/caret.svg +10 -0
- package/dist/assets/icons/arrows/double-arrow.svg +10 -0
- package/dist/assets/icons/arrows/double-caret.svg +10 -0
- package/dist/assets/icons/communication/bell.svg +10 -0
- package/dist/assets/icons/communication/chat.svg +10 -0
- package/dist/assets/icons/communication/check-circle.svg +11 -0
- package/dist/assets/icons/communication/cross-circle.svg +10 -0
- package/dist/assets/icons/communication/error-circle.svg +11 -0
- package/dist/assets/icons/communication/headset.svg +10 -0
- package/dist/assets/icons/communication/info-circle.svg +12 -0
- package/dist/assets/icons/communication/phone.svg +10 -0
- package/dist/assets/icons/communication/question-circle.svg +12 -0
- package/dist/assets/icons/communication/warning.svg +11 -0
- package/dist/assets/icons/files/attachment.svg +10 -0
- package/dist/assets/icons/files/description.svg +10 -0
- package/dist/assets/icons/files/document.svg +11 -0
- package/dist/assets/icons/files/folder.svg +10 -0
- package/dist/assets/icons/files/pdf.svg +11 -0
- package/dist/assets/icons/files/xls.svg +11 -0
- package/dist/assets/icons/general/bank.svg +10 -0
- package/dist/assets/icons/general/bread.svg +12 -0
- package/dist/assets/icons/general/cake.svg +11 -0
- package/dist/assets/icons/general/calculator.svg +12 -0
- package/dist/assets/icons/general/camera.svg +11 -0
- package/dist/assets/icons/general/car.svg +11 -0
- package/dist/assets/icons/general/certified.svg +11 -0
- package/dist/assets/icons/general/chair.svg +11 -0
- package/dist/assets/icons/general/checkmark.svg +10 -0
- package/dist/assets/icons/general/city.svg +10 -0
- package/dist/assets/icons/general/companies.svg +10 -0
- package/dist/assets/icons/general/company.svg +10 -0
- package/dist/assets/icons/general/credit-card.svg +10 -0
- package/dist/assets/icons/general/cutlery.svg +10 -0
- package/dist/assets/icons/general/department.svg +10 -0
- package/dist/assets/icons/general/diamond.svg +11 -0
- package/dist/assets/icons/general/docter.svg +13 -0
- package/dist/assets/icons/general/download.svg +11 -0
- package/dist/assets/icons/general/envelope.svg +11 -0
- package/dist/assets/icons/general/euro.svg +10 -0
- package/dist/assets/icons/general/exam.svg +11 -0
- package/dist/assets/icons/general/filter.svg +10 -0
- package/dist/assets/icons/general/flower.svg +11 -0
- package/dist/assets/icons/general/globe-2.svg +11 -0
- package/dist/assets/icons/general/globe.svg +11 -0
- package/dist/assets/icons/general/hash.svg +10 -0
- package/dist/assets/icons/general/hat.svg +12 -0
- package/dist/assets/icons/general/home.svg +10 -0
- package/dist/assets/icons/general/integration.svg +10 -0
- package/dist/assets/icons/general/language.svg +11 -0
- package/dist/assets/icons/general/laptop.svg +10 -0
- package/dist/assets/icons/general/location.svg +11 -0
- package/dist/assets/icons/general/mail.svg +11 -0
- package/dist/assets/icons/general/medal.svg +11 -0
- package/dist/assets/icons/general/menu-arrow.svg +10 -0
- package/dist/assets/icons/general/menu.svg +10 -0
- package/dist/assets/icons/general/minus.svg +10 -0
- package/dist/assets/icons/general/more.svg +10 -0
- package/dist/assets/icons/general/negative.svg +10 -0
- package/dist/assets/icons/general/other.svg +10 -0
- package/dist/assets/icons/general/pay.svg +11 -0
- package/dist/assets/icons/general/pencil.svg +10 -0
- package/dist/assets/icons/general/percent.svg +10 -0
- package/dist/assets/icons/general/pie-chart.svg +10 -0
- package/dist/assets/icons/general/placeholder.svg +10 -0
- package/dist/assets/icons/general/plus.svg +10 -0
- package/dist/assets/icons/general/power.svg +10 -0
- package/dist/assets/icons/general/receipt.svg +10 -0
- package/dist/assets/icons/general/reset.svg +11 -0
- package/dist/assets/icons/general/search.svg +10 -0
- package/dist/assets/icons/general/send.svg +10 -0
- package/dist/assets/icons/general/settings.svg +11 -0
- package/dist/assets/icons/general/shuffle.svg +11 -0
- package/dist/assets/icons/general/sick.svg +10 -0
- package/dist/assets/icons/general/signature.svg +10 -0
- package/dist/assets/icons/general/sparkle.svg +10 -0
- package/dist/assets/icons/general/star.svg +10 -0
- package/dist/assets/icons/general/stroller.svg +12 -0
- package/dist/assets/icons/general/tag.svg +11 -0
- package/dist/assets/icons/general/tasks.svg +10 -0
- package/dist/assets/icons/general/tools.svg +10 -0
- package/dist/assets/icons/general/tooth.svg +10 -0
- package/dist/assets/icons/general/train.svg +11 -0
- package/dist/assets/icons/general/trash.svg +10 -0
- package/dist/assets/icons/general/upload.svg +10 -0
- package/dist/assets/icons/general/wave.svg +12 -0
- package/dist/assets/icons/general/zipcode.svg +12 -0
- package/dist/assets/icons/security/eye-closed.svg +10 -0
- package/dist/assets/icons/security/eye.svg +11 -0
- package/dist/assets/icons/security/key.svg +11 -0
- package/dist/assets/icons/security/lock.svg +12 -0
- package/dist/assets/icons/security/unlocked.svg +12 -0
- package/dist/assets/icons/time/alarm.svg +11 -0
- package/dist/assets/icons/time/calendar-free.svg +11 -0
- package/dist/assets/icons/time/calendar-multi.svg +11 -0
- package/dist/assets/icons/time/calendar-not-free.svg +10 -0
- package/dist/assets/icons/time/calendar.svg +11 -0
- package/dist/assets/icons/time/clock.svg +11 -0
- package/dist/assets/icons/users/female.svg +10 -0
- package/dist/assets/icons/users/id-two.svg +10 -0
- package/dist/assets/icons/users/id.svg +12 -0
- package/dist/assets/icons/users/male.svg +10 -0
- package/dist/assets/icons/users/user.svg +10 -0
- package/dist/assets/icons/users/users.svg +11 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/p-013cd7f9.entry.js +2 -0
- package/dist/build/p-0348e450.entry.js +2 -0
- package/dist/build/p-0348e450.entry.js.map +1 -0
- package/dist/build/p-047c1c6f.entry.js +2 -0
- package/dist/build/p-047c1c6f.entry.js.map +1 -0
- package/dist/build/p-08ea38ad.entry.js +2 -0
- package/dist/build/p-08ea38ad.entry.js.map +1 -0
- package/dist/build/p-16a18649.entry.js +2 -0
- package/dist/build/p-16a18649.entry.js.map +1 -0
- package/dist/build/p-221dbb71.entry.js +2 -0
- package/dist/build/p-221dbb71.entry.js.map +1 -0
- package/dist/build/p-23ca3688.entry.js +2 -0
- package/dist/build/p-23ca3688.entry.js.map +1 -0
- package/dist/build/p-28d14744.entry.js +2 -0
- package/dist/build/p-28d14744.entry.js.map +1 -0
- package/dist/build/p-2e3b9db4.js +2 -0
- package/dist/build/p-2e3b9db4.js.map +1 -0
- package/dist/build/p-2f9e9197.entry.js +2 -0
- package/dist/build/p-2f9e9197.entry.js.map +1 -0
- package/dist/build/p-32056913.entry.js +2 -0
- package/dist/build/p-32056913.entry.js.map +1 -0
- package/dist/build/p-385943b2.entry.js +2 -0
- package/dist/build/p-385943b2.entry.js.map +1 -0
- package/dist/build/p-393eba2f.entry.js +2 -0
- package/dist/build/p-393eba2f.entry.js.map +1 -0
- package/dist/build/p-3d867690.entry.js +2 -0
- package/dist/build/p-3d867690.entry.js.map +1 -0
- package/dist/build/p-3e9d994a.entry.js +2 -0
- package/dist/build/p-3e9d994a.entry.js.map +1 -0
- package/dist/build/p-45463125.entry.js +2 -0
- package/dist/build/p-45463125.entry.js.map +1 -0
- package/dist/build/p-5ab354bf.entry.js +2 -0
- package/dist/build/p-5ab354bf.entry.js.map +1 -0
- package/dist/build/p-5e789bb1.entry.js +2 -0
- package/dist/build/p-5e789bb1.entry.js.map +1 -0
- package/dist/build/p-64765a81.js +2 -0
- package/dist/build/p-64765a81.js.map +1 -0
- package/dist/build/p-64b53130.entry.js +2 -0
- package/dist/build/p-64b53130.entry.js.map +1 -0
- package/dist/build/p-64b68231.js +3 -0
- package/dist/build/p-64b68231.js.map +1 -0
- package/dist/build/p-6cddc325.js +2 -0
- package/dist/build/p-6cddc325.js.map +1 -0
- package/dist/build/p-6e71ebca.entry.js +2 -0
- package/dist/build/p-6e71ebca.entry.js.map +1 -0
- package/dist/build/p-6f7721eb.entry.js +2 -0
- package/dist/build/p-6f7721eb.entry.js.map +1 -0
- package/dist/build/p-6fed974c.entry.js +2 -0
- package/dist/build/p-6fed974c.entry.js.map +1 -0
- package/dist/build/p-75006522.js +2 -0
- package/dist/build/p-75006522.js.map +1 -0
- package/dist/build/p-7a577384.entry.js +2 -0
- package/dist/build/p-7a577384.entry.js.map +1 -0
- package/dist/build/p-7beb3401.entry.js +2 -0
- package/dist/build/p-851a7662.entry.js +2 -0
- package/dist/build/p-851a7662.entry.js.map +1 -0
- package/dist/build/p-8a1a6e56.js +2 -0
- package/dist/build/p-8a1a6e56.js.map +1 -0
- package/dist/build/p-8a5b8196.js +2 -0
- package/dist/build/p-8a5b8196.js.map +1 -0
- package/dist/build/p-909879e3.entry.js +3 -0
- package/dist/build/p-909879e3.entry.js.map +1 -0
- package/dist/build/p-92f2aa3a.entry.js +2 -0
- package/dist/build/p-92f2aa3a.entry.js.map +1 -0
- package/dist/build/p-937b2d74.entry.js +2 -0
- package/dist/build/p-937b2d74.entry.js.map +1 -0
- package/dist/build/p-9fa5d08a.entry.js +2 -0
- package/dist/build/p-a587ff9f.entry.js +2 -0
- package/dist/build/p-a587ff9f.entry.js.map +1 -0
- package/dist/build/p-a7b8e22f.entry.js +2 -0
- package/dist/build/p-a7b8e22f.entry.js.map +1 -0
- package/dist/build/p-aa058967.entry.js +2 -0
- package/dist/build/p-aa058967.entry.js.map +1 -0
- package/dist/build/p-aab1cda1.entry.js +2 -0
- package/dist/build/p-aab1cda1.entry.js.map +1 -0
- package/dist/build/p-b8e718c7.entry.js +2 -0
- package/dist/build/p-b8e718c7.entry.js.map +1 -0
- package/dist/build/p-b9a7e240.entry.js +2 -0
- package/dist/build/p-b9a7e240.entry.js.map +1 -0
- package/dist/build/p-bc46f89a.entry.js +2 -0
- package/dist/build/p-be0c925e.entry.js +2 -0
- package/dist/build/p-bfbab545.entry.js +2 -0
- package/dist/build/p-bfbab545.entry.js.map +1 -0
- package/dist/build/p-c6bcbcbf.entry.js +2 -0
- package/dist/build/p-cb7c509e.entry.js +2 -0
- package/dist/build/p-cb8a454c.entry.js +2 -0
- package/dist/build/p-cb8a454c.entry.js.map +1 -0
- package/dist/build/p-cc321a7b.entry.js +2 -0
- package/dist/build/p-cc321a7b.entry.js.map +1 -0
- package/dist/build/p-d5d413a1.js +2 -0
- package/dist/build/p-d5d413a1.js.map +1 -0
- package/dist/build/p-d7dbd13e.entry.js +2 -0
- package/dist/build/p-d7dbd13e.entry.js.map +1 -0
- package/dist/build/p-d81a30f6.entry.js +2 -0
- package/dist/build/p-d81a30f6.entry.js.map +1 -0
- package/dist/build/p-dce95c92.entry.js +2 -0
- package/dist/build/p-dce95c92.entry.js.map +1 -0
- package/dist/build/p-dd6d3839.entry.js +2 -0
- package/dist/build/p-e10cf2d3.entry.js +2 -0
- package/dist/build/p-e10cf2d3.entry.js.map +1 -0
- package/dist/build/p-ea3bce45.entry.js +2 -0
- package/dist/build/p-ece8998b.entry.js +2 -0
- package/dist/build/p-ece8998b.entry.js.map +1 -0
- package/dist/build/p-f78afad9.entry.js +2 -0
- package/dist/build/p-f78afad9.entry.js.map +1 -0
- package/dist/build/p-fcaa0539.entry.js +2 -0
- package/dist/build/p-fcaa0539.entry.js.map +1 -0
- package/dist/build/paperless.css +1 -1
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/_commonjsHelpers-4213291f.js +24 -0
- package/dist/cjs/_commonjsHelpers-4213291f.js.map +1 -0
- package/dist/cjs/clsx-fc789adc.js +7 -0
- package/dist/cjs/clsx-fc789adc.js.map +1 -0
- package/dist/cjs/iban-71055b2d.js +16 -0
- package/dist/cjs/iban-71055b2d.js.map +1 -0
- package/dist/cjs/icons-deprecated-d4fd5f3e.js +1123 -0
- package/dist/cjs/icons-deprecated-d4fd5f3e.js.map +1 -0
- package/dist/cjs/icons-e50d4119.js +1549 -0
- package/dist/cjs/icons-e50d4119.js.map +1 -0
- package/dist/cjs/index-02e05522.js +2657 -0
- package/dist/cjs/index-02e05522.js.map +1 -0
- package/dist/cjs/index-b556e70f.js +48 -0
- package/dist/cjs/index-b556e70f.js.map +1 -0
- package/dist/cjs/index.cjs.js +308 -193
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/object-get-by-path-c2e8bf29.js +120 -0
- package/dist/cjs/object-get-by-path-c2e8bf29.js.map +1 -0
- package/dist/cjs/p-accordion.cjs.entry.js +3 -3
- package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +5 -9
- package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js +3 -3
- package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +28 -13
- package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +57 -4
- package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/p-badge.cjs.entry.js +21 -0
- package/dist/cjs/p-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/p-button-group.cjs.entry.js +3 -3
- package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +280 -1173
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +15 -18
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +2 -2
- package/dist/cjs/p-card-body.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +2 -2
- package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +2 -2
- package/dist/cjs/p-card-header.cjs.entry.js.map +1 -1
- package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
- package/dist/cjs/p-counter.cjs.entry.js +2 -2
- package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +4 -5
- package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +3 -3
- package/dist/cjs/p-divider.cjs.entry.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-drawer.cjs.entry.js +1 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +44 -3
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js +85 -19
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +21 -27
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-helper_3.cjs.entry.js +6 -7
- package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js +47 -0
- package/dist/cjs/p-iban-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/p-icon-deprecated.cjs.entry.js +61 -0
- package/dist/cjs/p-icon-deprecated.cjs.entry.js.map +1 -0
- package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/p-label_3.cjs.entry.js +4 -4
- package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +47 -8
- package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2854 -6
- package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-section.cjs.entry.js +23 -0
- package/dist/cjs/p-navigation-section.cjs.entry.js.map +1 -0
- package/dist/cjs/p-navigation-title.cjs.entry.js +21 -0
- package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -0
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +11 -11
- package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-profile.cjs.entry.js +33 -15
- package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/p-select.cjs.entry.js +4 -4
- package/dist/cjs/p-select.cjs.entry.js.map +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
- package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/p-status.cjs.entry.js +2 -2
- package/dist/cjs/p-status.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.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.cjs.entry.js +6 -8
- package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
- package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table-column.cjs.entry.js +1 -1
- package/dist/cjs/p-table-row-action.cjs.entry.js +1 -1
- package/dist/cjs/p-table.cjs.entry.js +9 -6
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +3 -3
- package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/paperless.cjs.js +2 -2
- package/dist/collection/assets/iban-icons/icon-abn.svg +6 -0
- package/dist/collection/assets/iban-icons/icon-asn.svg +5 -0
- package/dist/collection/assets/iban-icons/icon-bunq.svg +19 -0
- package/dist/collection/assets/iban-icons/icon-knab.svg +8 -0
- package/dist/collection/assets/iban-icons/icon-rabo.svg +36 -0
- package/dist/collection/assets/iban-icons/icon-sns.svg +172 -0
- package/dist/collection/assets/iban-icons/icon-triodos.svg +5 -0
- package/dist/collection/assets/icons/arrows/arrow.svg +10 -0
- package/dist/collection/assets/icons/arrows/caret.svg +10 -0
- package/dist/collection/assets/icons/arrows/double-arrow.svg +10 -0
- package/dist/collection/assets/icons/arrows/double-caret.svg +10 -0
- package/dist/collection/assets/icons/communication/bell.svg +10 -0
- package/dist/collection/assets/icons/communication/chat.svg +10 -0
- package/dist/collection/assets/icons/communication/check-circle.svg +11 -0
- package/dist/collection/assets/icons/communication/cross-circle.svg +10 -0
- package/dist/collection/assets/icons/communication/error-circle.svg +11 -0
- package/dist/collection/assets/icons/communication/headset.svg +10 -0
- package/dist/collection/assets/icons/communication/info-circle.svg +12 -0
- package/dist/collection/assets/icons/communication/phone.svg +10 -0
- package/dist/collection/assets/icons/communication/question-circle.svg +12 -0
- package/dist/collection/assets/icons/communication/warning.svg +11 -0
- package/dist/collection/assets/icons/files/attachment.svg +10 -0
- package/dist/collection/assets/icons/files/description.svg +10 -0
- package/dist/collection/assets/icons/files/document.svg +11 -0
- package/dist/collection/assets/icons/files/folder.svg +10 -0
- package/dist/collection/assets/icons/files/pdf.svg +11 -0
- package/dist/collection/assets/icons/files/xls.svg +11 -0
- package/dist/collection/assets/icons/general/bank.svg +10 -0
- package/dist/collection/assets/icons/general/bread.svg +12 -0
- package/dist/collection/assets/icons/general/cake.svg +11 -0
- package/dist/collection/assets/icons/general/calculator.svg +12 -0
- package/dist/collection/assets/icons/general/camera.svg +11 -0
- package/dist/collection/assets/icons/general/car.svg +11 -0
- package/dist/collection/assets/icons/general/certified.svg +11 -0
- package/dist/collection/assets/icons/general/chair.svg +11 -0
- package/dist/collection/assets/icons/general/checkmark.svg +10 -0
- package/dist/collection/assets/icons/general/city.svg +10 -0
- package/dist/collection/assets/icons/general/companies.svg +10 -0
- package/dist/collection/assets/icons/general/company.svg +10 -0
- package/dist/collection/assets/icons/general/credit-card.svg +10 -0
- package/dist/collection/assets/icons/general/cutlery.svg +10 -0
- package/dist/collection/assets/icons/general/department.svg +10 -0
- package/dist/collection/assets/icons/general/diamond.svg +11 -0
- package/dist/collection/assets/icons/general/docter.svg +13 -0
- package/dist/collection/assets/icons/general/download.svg +11 -0
- package/dist/collection/assets/icons/general/envelope.svg +11 -0
- package/dist/collection/assets/icons/general/euro.svg +10 -0
- package/dist/collection/assets/icons/general/exam.svg +11 -0
- package/dist/collection/assets/icons/general/filter.svg +10 -0
- package/dist/collection/assets/icons/general/flower.svg +11 -0
- package/dist/collection/assets/icons/general/globe-2.svg +11 -0
- package/dist/collection/assets/icons/general/globe.svg +11 -0
- package/dist/collection/assets/icons/general/hash.svg +10 -0
- package/dist/collection/assets/icons/general/hat.svg +12 -0
- package/dist/collection/assets/icons/general/home.svg +10 -0
- package/dist/collection/assets/icons/general/integration.svg +10 -0
- package/dist/collection/assets/icons/general/language.svg +11 -0
- package/dist/collection/assets/icons/general/laptop.svg +10 -0
- package/dist/collection/assets/icons/general/location.svg +11 -0
- package/dist/collection/assets/icons/general/mail.svg +11 -0
- package/dist/collection/assets/icons/general/medal.svg +11 -0
- package/dist/collection/assets/icons/general/menu-arrow.svg +10 -0
- package/dist/collection/assets/icons/general/menu.svg +10 -0
- package/dist/collection/assets/icons/general/minus.svg +10 -0
- package/dist/collection/assets/icons/general/more.svg +10 -0
- package/dist/collection/assets/icons/general/negative.svg +10 -0
- package/dist/collection/assets/icons/general/other.svg +10 -0
- package/dist/collection/assets/icons/general/pay.svg +11 -0
- package/dist/collection/assets/icons/general/pencil.svg +10 -0
- package/dist/collection/assets/icons/general/percent.svg +10 -0
- package/dist/collection/assets/icons/general/pie-chart.svg +10 -0
- package/dist/collection/assets/icons/general/placeholder.svg +10 -0
- package/dist/collection/assets/icons/general/plus.svg +10 -0
- package/dist/collection/assets/icons/general/power.svg +10 -0
- package/dist/collection/assets/icons/general/receipt.svg +10 -0
- package/dist/collection/assets/icons/general/reset.svg +11 -0
- package/dist/collection/assets/icons/general/search.svg +10 -0
- package/dist/collection/assets/icons/general/send.svg +10 -0
- package/dist/collection/assets/icons/general/settings.svg +11 -0
- package/dist/collection/assets/icons/general/shuffle.svg +11 -0
- package/dist/collection/assets/icons/general/sick.svg +10 -0
- package/dist/collection/assets/icons/general/signature.svg +10 -0
- package/dist/collection/assets/icons/general/sparkle.svg +10 -0
- package/dist/collection/assets/icons/general/star.svg +10 -0
- package/dist/collection/assets/icons/general/stroller.svg +12 -0
- package/dist/collection/assets/icons/general/tag.svg +11 -0
- package/dist/collection/assets/icons/general/tasks.svg +10 -0
- package/dist/collection/assets/icons/general/tools.svg +10 -0
- package/dist/collection/assets/icons/general/tooth.svg +10 -0
- package/dist/collection/assets/icons/general/train.svg +11 -0
- package/dist/collection/assets/icons/general/trash.svg +10 -0
- package/dist/collection/assets/icons/general/upload.svg +10 -0
- package/dist/collection/assets/icons/general/wave.svg +12 -0
- package/dist/collection/assets/icons/general/zipcode.svg +12 -0
- package/dist/collection/assets/icons/security/eye-closed.svg +10 -0
- package/dist/collection/assets/icons/security/eye.svg +11 -0
- package/dist/collection/assets/icons/security/key.svg +11 -0
- package/dist/collection/assets/icons/security/lock.svg +12 -0
- package/dist/collection/assets/icons/security/unlocked.svg +12 -0
- package/dist/collection/assets/icons/time/alarm.svg +11 -0
- package/dist/collection/assets/icons/time/calendar-free.svg +11 -0
- package/dist/collection/assets/icons/time/calendar-multi.svg +11 -0
- package/dist/collection/assets/icons/time/calendar-not-free.svg +10 -0
- package/dist/collection/assets/icons/time/calendar.svg +11 -0
- package/dist/collection/assets/icons/time/clock.svg +11 -0
- package/dist/collection/assets/icons/users/female.svg +10 -0
- package/dist/collection/assets/icons/users/id-two.svg +10 -0
- package/dist/collection/assets/icons/users/id.svg +12 -0
- package/dist/collection/assets/icons/users/male.svg +10 -0
- package/dist/collection/assets/icons/users/user.svg +10 -0
- package/dist/collection/assets/icons/users/users.svg +11 -0
- package/dist/collection/collection-manifest.json +6 -1
- package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
- package/dist/collection/components/atoms/avatar/avatar.component.js +28 -32
- package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +71 -3
- package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
- package/dist/collection/components/atoms/badge/badge.component.css +1 -0
- package/dist/collection/components/atoms/badge/badge.component.js +18 -0
- package/dist/collection/components/atoms/badge/badge.component.js.map +1 -0
- package/dist/collection/components/atoms/badge/test/badge.component.e2e.js +26 -0
- package/dist/collection/components/atoms/badge/test/badge.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/badge/test/badge.component.spec.js +17 -0
- package/dist/collection/components/atoms/badge/test/badge.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/card-body/card-body.component.css +1 -1
- package/dist/collection/components/atoms/card-container/card-container.component.css +1 -1
- package/dist/collection/components/atoms/card-header/card-header.component.css +1 -1
- package/dist/collection/components/atoms/counter/counter.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.css +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -1
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -1
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -1
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +58 -1
- package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +72 -3
- package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +26 -1
- package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +84 -0
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js.map +1 -0
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js +26 -0
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js +17 -0
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/icon/icon.component.css +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +45 -55
- package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
- package/dist/collection/components/atoms/icon-deprecated/icon.component.css +1 -0
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js +159 -0
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js.map +1 -0
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js +37 -0
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js +47 -0
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
- package/dist/collection/components/atoms/label/label.component.css +1 -1
- package/dist/collection/components/atoms/label/label.component.js +2 -2
- package/dist/collection/components/atoms/loader/loader.component.css +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +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 +1 -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.css +1 -0
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +18 -0
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +1 -0
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js +26 -0
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js.map +1 -0
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js +17 -0
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js.map +1 -0
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +2 -2
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -1
- package/dist/collection/components/atoms/status/status.component.css +1 -1
- package/dist/collection/components/atoms/status/status.component.js +2 -2
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
- package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -1
- package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +2 -2
- package/dist/collection/components/molecules/accordion/accordion.component.css +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +3 -7
- package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -1
- package/dist/collection/components/molecules/button/button.component.css +1 -0
- package/dist/collection/components/molecules/button/button.component.js +707 -0
- package/dist/collection/components/molecules/button/button.component.js.map +1 -0
- package/dist/collection/components/molecules/button/test/button.component.e2e.js.map +1 -0
- package/dist/collection/components/molecules/button/test/button.component.spec.js.map +1 -0
- package/dist/collection/components/molecules/button-group/button-group.component.js +5 -5
- package/dist/collection/components/molecules/button-group/button-group.component.js.map +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +13 -16
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +29 -16
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/input-error/input-error.component.js +1 -3
- package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
- package/dist/collection/components/molecules/input-group/input-group.component.js +2 -2
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +82 -48
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.css +1 -0
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +43 -0
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +1 -0
- package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js +26 -0
- package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js.map +1 -0
- package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js +17 -0
- package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js.map +1 -0
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +8 -8
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.js +4 -4
- package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
- package/dist/collection/components/molecules/profile/profile.component.css +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +48 -40
- package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
- package/dist/collection/components/molecules/select/select.component.css +1 -1
- package/dist/collection/components/molecules/select/select.component.js +4 -4
- package/dist/collection/components/molecules/select/select.component.js.map +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.js +5 -7
- package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -3
- package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.js +31 -17
- package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.css +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +3 -3
- package/dist/collection/components/molecules/toast/toast.component.js.map +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +45 -47
- package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
- package/dist/collection/components/organisms/table/table.component.css +1 -1
- package/dist/collection/components/organisms/table/table.component.js +26 -5
- package/dist/collection/components/organisms/table/table.component.js.map +1 -1
- package/dist/collection/tailwind/paperless.js +29 -17
- package/dist/collection/tailwind/paperless.js.map +1 -1
- package/dist/collection/tailwind/theme/colors.js +128 -2
- package/dist/collection/tailwind/theme/colors.js.map +1 -1
- package/dist/collection/tailwind/theme/height.js +1 -0
- package/dist/collection/tailwind/theme/height.js.map +1 -1
- package/dist/collection/tailwind/theme/shadows.js +12 -9
- package/dist/collection/tailwind/theme/shadows.js.map +1 -1
- package/dist/collection/tailwind/theme/typography.js +11 -15
- package/dist/collection/tailwind/theme/typography.js.map +1 -1
- package/dist/collection/tailwind/theme/width.js +1 -0
- package/dist/collection/tailwind/theme/width.js.map +1 -1
- package/dist/collection/tailwind.config.js +1 -0
- package/dist/collection/tailwind.config.js.map +1 -1
- package/dist/collection/types/iban.js +11 -0
- package/dist/collection/types/iban.js.map +1 -0
- package/dist/collection/types/index.js +1 -0
- package/dist/collection/types/index.js.map +1 -1
- package/dist/collection/types/tailwind.js.map +1 -1
- package/dist/collection/utils/cn.js +6 -0
- package/dist/collection/utils/cn.js.map +1 -0
- package/dist/collection/utils/icons-deprecated.js +135 -0
- package/dist/collection/utils/icons-deprecated.js.map +1 -0
- package/dist/collection/utils/icons.js +311 -108
- package/dist/collection/utils/icons.js.map +1 -1
- package/dist/collection/utils/index.js +1 -0
- package/dist/collection/utils/index.js.map +1 -1
- package/dist/collection/utils/table-helpers.js +5 -0
- package/dist/collection/utils/table-helpers.js.map +1 -1
- package/dist/components/_commonjsHelpers.js +21 -0
- package/dist/components/_commonjsHelpers.js.map +1 -0
- package/dist/components/avatar.component.js +26 -13
- package/dist/components/avatar.component.js.map +1 -1
- package/dist/components/backdrop.component.js +58 -6
- package/dist/components/backdrop.component.js.map +1 -1
- package/dist/components/badge.component.js +31 -0
- package/dist/components/badge.component.js.map +1 -0
- package/dist/components/button.component.js +240 -10
- package/dist/components/button.component.js.map +1 -1
- package/dist/components/calendar.component.js +14 -17
- package/dist/components/calendar.component.js.map +1 -1
- package/dist/components/divider.component.js +2 -2
- package/dist/components/divider.component.js.map +1 -1
- package/dist/components/drawer-body.component.js +1 -1
- package/dist/components/drawer-body.component.js.map +1 -1
- package/dist/components/drawer-container.component.js +1 -1
- package/dist/components/drawer-container.component.js.map +1 -1
- package/dist/components/drawer-header.component.js +2 -2
- package/dist/components/drawer-header.component.js.map +1 -1
- package/dist/components/dropdown-menu-container.component.js +43 -2
- package/dist/components/dropdown-menu-container.component.js.map +1 -1
- package/dist/components/dropdown-menu-item.component.js +56 -4
- package/dist/components/dropdown-menu-item.component.js.map +1 -1
- package/dist/components/dropdown.component.js +31 -18
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/floating-menu-container.component.js +1 -1
- package/dist/components/floating-menu-container.component.js.map +1 -1
- package/dist/components/floating-menu-item.component.js +1 -1
- package/dist/components/floating-menu-item.component.js.map +1 -1
- package/dist/components/helper.component.js +4 -2
- package/dist/components/helper.component.js.map +1 -1
- package/dist/components/iban.js +14 -0
- package/dist/components/iban.js.map +1 -0
- package/dist/components/icon.component.js +40 -1161
- package/dist/components/icon.component.js.map +1 -1
- package/dist/components/icons-deprecated.js +1121 -0
- package/dist/components/icons-deprecated.js.map +1 -0
- package/dist/components/icons.js +1546 -0
- package/dist/components/icons.js.map +1 -0
- package/dist/components/index.js +299 -188
- package/dist/components/index.js.map +1 -1
- package/dist/components/index2.js +46 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/input-error.component.js +1 -3
- package/dist/components/input-error.component.js.map +1 -1
- package/dist/components/input-group.component.js +1 -1
- package/dist/components/input-group.component.js.map +1 -1
- package/dist/components/label.component.js +1 -1
- package/dist/components/label.component.js.map +1 -1
- package/dist/components/loader.component.js +1 -1
- package/dist/components/loader.component.js.map +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-body.component.js.map +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-container.component.js.map +1 -1
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-footer.component.js.map +1 -1
- package/dist/components/modal-header.component.js +2 -2
- package/dist/components/modal-header.component.js.map +1 -1
- package/dist/components/navigation-title.component.js +31 -0
- package/dist/components/navigation-title.component.js.map +1 -0
- package/dist/components/object-get-by-path.js +5 -0
- package/dist/components/object-get-by-path.js.map +1 -1
- package/dist/components/p-accordion.js +2 -2
- package/dist/components/p-accordion.js.map +1 -1
- package/dist/components/p-attachment.js +4 -8
- package/dist/components/p-attachment.js.map +1 -1
- package/dist/components/p-avatar-group.js +2 -2
- package/dist/components/p-avatar-group.js.map +1 -1
- package/dist/components/p-badge.d.ts +11 -0
- package/dist/components/p-badge.js +8 -0
- package/dist/components/p-badge.js.map +1 -0
- package/dist/components/p-button-group.js +2 -2
- package/dist/components/p-button-group.js.map +1 -1
- package/dist/components/p-card-body.js +1 -1
- package/dist/components/p-card-body.js.map +1 -1
- package/dist/components/p-card-container.js +1 -1
- package/dist/components/p-card-container.js.map +1 -1
- package/dist/components/p-card-header.js +1 -1
- package/dist/components/p-card-header.js.map +1 -1
- package/dist/components/p-counter.js +33 -1
- package/dist/components/p-counter.js.map +1 -1
- package/dist/components/p-cropper.js +2 -3
- package/dist/components/p-cropper.js.map +1 -1
- package/dist/components/p-iban-icon.d.ts +11 -0
- package/dist/components/p-iban-icon.js +64 -0
- package/dist/components/p-iban-icon.js.map +1 -0
- package/dist/components/p-icon-deprecated.d.ts +11 -0
- package/dist/components/p-icon-deprecated.js +79 -0
- package/dist/components/p-icon-deprecated.js.map +1 -0
- package/dist/components/p-info-panel.js +1 -1
- package/dist/components/p-info-panel.js.map +1 -1
- package/dist/components/p-navbar.js +46 -10
- package/dist/components/p-navbar.js.map +1 -1
- package/dist/components/p-navigation-item.js +2862 -22
- package/dist/components/p-navigation-item.js.map +1 -1
- package/dist/components/p-navigation-section.d.ts +11 -0
- package/dist/components/p-navigation-section.js +44 -0
- package/dist/components/p-navigation-section.js.map +1 -0
- package/dist/components/p-navigation-title.d.ts +11 -0
- package/dist/components/p-navigation-title.js +8 -0
- package/dist/components/p-navigation-title.js.map +1 -0
- package/dist/components/p-profile.js +54 -26
- package/dist/components/p-profile.js.map +1 -1
- package/dist/components/p-select.js +3 -3
- package/dist/components/p-select.js.map +1 -1
- package/dist/components/p-status.js +1 -1
- package/dist/components/p-status.js.map +1 -1
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper-item.js.map +1 -1
- package/dist/components/p-stepper.js +5 -7
- package/dist/components/p-stepper.js.map +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-tab-item.js.map +1 -1
- package/dist/components/p-table.js +9 -5
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-toast.js +2 -2
- package/dist/components/p-toast.js.map +1 -1
- package/dist/components/page-size-select.component.js +5 -5
- package/dist/components/page-size-select.component.js.map +1 -1
- package/dist/components/pagination-item.component.js +1 -1
- package/dist/components/pagination-item.component.js.map +1 -1
- package/dist/components/pagination.component.js +4 -4
- package/dist/components/pagination.component.js.map +1 -1
- package/dist/components/segment-container.component.js +1 -1
- package/dist/components/segment-container.component.js.map +1 -1
- package/dist/components/segment-item.component.js +1 -1
- package/dist/components/segment-item.component.js.map +1 -1
- package/dist/components/slider-indicator.component.js +1 -1
- package/dist/components/slider-indicator.component.js.map +1 -1
- package/dist/components/stepper-line.component.js +1 -1
- package/dist/components/stepper-line.component.js.map +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-cell.component.js.map +1 -1
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-container.component.js.map +1 -1
- package/dist/components/table-footer.component.js +1 -3
- package/dist/components/table-footer.component.js.map +1 -1
- package/dist/components/table-header.component.js +14 -17
- package/dist/components/table-header.component.js.map +1 -1
- package/dist/components/table-row.component.js +1 -1
- package/dist/components/table-row.component.js.map +1 -1
- package/dist/components/tooltip.component.js +1 -1
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/esm/_commonjsHelpers-e9b9b14e.js +21 -0
- package/dist/esm/_commonjsHelpers-e9b9b14e.js.map +1 -0
- package/dist/esm/clsx-297c1ffe.js +5 -0
- package/dist/esm/clsx-297c1ffe.js.map +1 -0
- package/dist/esm/iban-c412c889.js +14 -0
- package/dist/esm/iban-c412c889.js.map +1 -0
- package/dist/esm/icons-cf12e4d2.js +1546 -0
- package/dist/esm/icons-cf12e4d2.js.map +1 -0
- package/dist/esm/icons-deprecated-2e1d124f.js +1121 -0
- package/dist/esm/icons-deprecated-2e1d124f.js.map +1 -0
- package/dist/esm/index-10317a74.js +46 -0
- package/dist/esm/index-10317a74.js.map +1 -0
- package/dist/esm/index-f99096d4.js +2628 -0
- package/dist/esm/index-f99096d4.js.map +1 -0
- package/dist/esm/index.js +300 -189
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/object-get-by-path-273a7106.js +114 -0
- package/dist/esm/object-get-by-path-273a7106.js.map +1 -0
- package/dist/esm/p-accordion.entry.js +3 -3
- package/dist/esm/p-accordion.entry.js.map +1 -1
- package/dist/esm/p-attachment.entry.js +5 -9
- package/dist/esm/p-attachment.entry.js.map +1 -1
- package/dist/esm/p-avatar-group.entry.js +3 -3
- package/dist/esm/p-avatar-group.entry.js.map +1 -1
- package/dist/esm/p-avatar.entry.js +28 -13
- package/dist/esm/p-avatar.entry.js.map +1 -1
- package/dist/esm/p-backdrop.entry.js +57 -4
- package/dist/esm/p-backdrop.entry.js.map +1 -1
- package/dist/esm/p-badge.entry.js +17 -0
- package/dist/esm/p-badge.entry.js.map +1 -0
- package/dist/esm/p-button-group.entry.js +3 -3
- package/dist/esm/p-button-group.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +280 -1173
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +15 -18
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-card-body.entry.js +2 -2
- package/dist/esm/p-card-body.entry.js.map +1 -1
- package/dist/esm/p-card-container.entry.js +2 -2
- package/dist/esm/p-card-container.entry.js.map +1 -1
- package/dist/esm/p-card-header.entry.js +2 -2
- package/dist/esm/p-card-header.entry.js.map +1 -1
- package/dist/esm/p-content-slider.entry.js +1 -1
- package/dist/esm/p-counter.entry.js +2 -2
- package/dist/esm/p-counter.entry.js.map +1 -1
- package/dist/esm/p-cropper.entry.js +3 -4
- package/dist/esm/p-cropper.entry.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +1 -1
- package/dist/esm/p-divider.entry.js +3 -3
- package/dist/esm/p-divider.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-drawer.entry.js +1 -1
- package/dist/esm/p-dropdown-menu-container.entry.js +44 -3
- package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
- package/dist/esm/p-dropdown_2.entry.js +85 -19
- package/dist/esm/p-dropdown_2.entry.js.map +1 -1
- package/dist/esm/p-floating-menu-container_8.entry.js +21 -27
- package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
- package/dist/esm/p-helper_3.entry.js +6 -7
- package/dist/esm/p-helper_3.entry.js.map +1 -1
- package/dist/esm/p-iban-icon.entry.js +43 -0
- package/dist/esm/p-iban-icon.entry.js.map +1 -0
- package/dist/esm/p-icon-deprecated.entry.js +57 -0
- package/dist/esm/p-icon-deprecated.entry.js.map +1 -0
- package/dist/esm/p-info-panel.entry.js +2 -2
- package/dist/esm/p-info-panel.entry.js.map +1 -1
- package/dist/esm/p-label_3.entry.js +4 -4
- package/dist/esm/p-label_3.entry.js.map +1 -1
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +6 -6
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-modal.entry.js +1 -1
- package/dist/esm/p-navbar.entry.js +47 -8
- package/dist/esm/p-navbar.entry.js.map +1 -1
- package/dist/esm/p-navigation-item.entry.js +2854 -6
- package/dist/esm/p-navigation-item.entry.js.map +1 -1
- package/dist/esm/p-navigation-section.entry.js +19 -0
- package/dist/esm/p-navigation-section.entry.js.map +1 -0
- package/dist/esm/p-navigation-title.entry.js +17 -0
- package/dist/esm/p-navigation-title.entry.js.map +1 -0
- package/dist/esm/p-page-size-select_3.entry.js +11 -11
- package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
- package/dist/esm/p-profile.entry.js +33 -15
- package/dist/esm/p-profile.entry.js.map +1 -1
- package/dist/esm/p-select.entry.js +4 -4
- package/dist/esm/p-select.entry.js.map +1 -1
- package/dist/esm/p-slider-indicator.entry.js +2 -2
- package/dist/esm/p-slider-indicator.entry.js.map +1 -1
- package/dist/esm/p-status.entry.js +2 -2
- package/dist/esm/p-status.entry.js.map +1 -1
- package/dist/esm/p-stepper-item.entry.js +2 -2
- 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 +6 -8
- package/dist/esm/p-stepper.entry.js.map +1 -1
- package/dist/esm/p-tab-group.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js +2 -2
- package/dist/esm/p-tab-item.entry.js.map +1 -1
- package/dist/esm/p-table-column.entry.js +1 -1
- package/dist/esm/p-table-row-action.entry.js +1 -1
- package/dist/esm/p-table.entry.js +9 -6
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +3 -3
- package/dist/esm/p-toast.entry.js.map +1 -1
- package/dist/esm/p-tooltip.entry.js +2 -2
- package/dist/esm/p-tooltip.entry.js.map +1 -1
- package/dist/esm/paperless.js +3 -3
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/paperless/p-013cd7f9.entry.js +2 -0
- package/dist/paperless/p-0348e450.entry.js +2 -0
- package/dist/paperless/p-0348e450.entry.js.map +1 -0
- package/dist/paperless/p-047c1c6f.entry.js +2 -0
- package/dist/paperless/p-047c1c6f.entry.js.map +1 -0
- package/dist/paperless/p-08ea38ad.entry.js +2 -0
- package/dist/paperless/p-08ea38ad.entry.js.map +1 -0
- package/dist/paperless/p-16a18649.entry.js +2 -0
- package/dist/paperless/p-16a18649.entry.js.map +1 -0
- package/dist/paperless/p-221dbb71.entry.js +2 -0
- package/dist/paperless/p-221dbb71.entry.js.map +1 -0
- package/dist/paperless/p-23ca3688.entry.js +2 -0
- package/dist/paperless/p-23ca3688.entry.js.map +1 -0
- package/dist/paperless/p-28d14744.entry.js +2 -0
- package/dist/paperless/p-28d14744.entry.js.map +1 -0
- package/dist/paperless/p-2e3b9db4.js +2 -0
- package/dist/paperless/p-2e3b9db4.js.map +1 -0
- package/dist/paperless/p-2f9e9197.entry.js +2 -0
- package/dist/paperless/p-2f9e9197.entry.js.map +1 -0
- package/dist/paperless/p-32056913.entry.js +2 -0
- package/dist/paperless/p-32056913.entry.js.map +1 -0
- package/dist/paperless/p-385943b2.entry.js +2 -0
- package/dist/paperless/p-385943b2.entry.js.map +1 -0
- package/dist/paperless/p-393eba2f.entry.js +2 -0
- package/dist/paperless/p-393eba2f.entry.js.map +1 -0
- package/dist/paperless/p-3d867690.entry.js +2 -0
- package/dist/paperless/p-3d867690.entry.js.map +1 -0
- package/dist/paperless/p-3e9d994a.entry.js +2 -0
- package/dist/paperless/p-3e9d994a.entry.js.map +1 -0
- package/dist/paperless/p-45463125.entry.js +2 -0
- package/dist/paperless/p-45463125.entry.js.map +1 -0
- package/dist/paperless/p-5ab354bf.entry.js +2 -0
- package/dist/paperless/p-5ab354bf.entry.js.map +1 -0
- package/dist/paperless/p-5e789bb1.entry.js +2 -0
- package/dist/paperless/p-5e789bb1.entry.js.map +1 -0
- package/dist/paperless/p-64765a81.js +2 -0
- package/dist/paperless/p-64765a81.js.map +1 -0
- package/dist/paperless/p-64b53130.entry.js +2 -0
- package/dist/paperless/p-64b53130.entry.js.map +1 -0
- package/dist/paperless/p-64b68231.js +3 -0
- package/dist/paperless/p-64b68231.js.map +1 -0
- package/dist/paperless/p-6cddc325.js +2 -0
- package/dist/paperless/p-6cddc325.js.map +1 -0
- package/dist/paperless/p-6e71ebca.entry.js +2 -0
- package/dist/paperless/p-6e71ebca.entry.js.map +1 -0
- package/dist/paperless/p-6f7721eb.entry.js +2 -0
- package/dist/paperless/p-6f7721eb.entry.js.map +1 -0
- package/dist/paperless/p-6fed974c.entry.js +2 -0
- package/dist/paperless/p-6fed974c.entry.js.map +1 -0
- package/dist/paperless/p-75006522.js +2 -0
- package/dist/paperless/p-75006522.js.map +1 -0
- package/dist/paperless/p-7a577384.entry.js +2 -0
- package/dist/paperless/p-7a577384.entry.js.map +1 -0
- package/dist/paperless/p-7beb3401.entry.js +2 -0
- package/dist/paperless/p-851a7662.entry.js +2 -0
- package/dist/paperless/p-851a7662.entry.js.map +1 -0
- package/dist/paperless/p-8a1a6e56.js +2 -0
- package/dist/paperless/p-8a1a6e56.js.map +1 -0
- package/dist/paperless/p-8a5b8196.js +2 -0
- package/dist/paperless/p-8a5b8196.js.map +1 -0
- package/dist/paperless/p-909879e3.entry.js +3 -0
- package/dist/paperless/p-909879e3.entry.js.map +1 -0
- package/dist/paperless/p-92f2aa3a.entry.js +2 -0
- package/dist/paperless/p-92f2aa3a.entry.js.map +1 -0
- package/dist/paperless/p-937b2d74.entry.js +2 -0
- package/dist/paperless/p-937b2d74.entry.js.map +1 -0
- package/dist/paperless/p-9fa5d08a.entry.js +2 -0
- package/dist/paperless/p-a587ff9f.entry.js +2 -0
- package/dist/paperless/p-a587ff9f.entry.js.map +1 -0
- package/dist/paperless/p-a7b8e22f.entry.js +2 -0
- package/dist/paperless/p-a7b8e22f.entry.js.map +1 -0
- package/dist/paperless/p-aa058967.entry.js +2 -0
- package/dist/paperless/p-aa058967.entry.js.map +1 -0
- package/dist/paperless/p-aab1cda1.entry.js +2 -0
- package/dist/paperless/p-aab1cda1.entry.js.map +1 -0
- package/dist/paperless/p-b8e718c7.entry.js +2 -0
- package/dist/paperless/p-b8e718c7.entry.js.map +1 -0
- package/dist/paperless/p-b9a7e240.entry.js +2 -0
- package/dist/paperless/p-b9a7e240.entry.js.map +1 -0
- package/dist/paperless/p-bc46f89a.entry.js +2 -0
- package/dist/paperless/p-be0c925e.entry.js +2 -0
- package/dist/paperless/p-bfbab545.entry.js +2 -0
- package/dist/paperless/p-bfbab545.entry.js.map +1 -0
- package/dist/paperless/p-c6bcbcbf.entry.js +2 -0
- package/dist/paperless/p-cb7c509e.entry.js +2 -0
- package/dist/paperless/p-cb8a454c.entry.js +2 -0
- package/dist/paperless/p-cb8a454c.entry.js.map +1 -0
- package/dist/paperless/p-cc321a7b.entry.js +2 -0
- package/dist/paperless/p-cc321a7b.entry.js.map +1 -0
- package/dist/paperless/p-d5d413a1.js +2 -0
- package/dist/paperless/p-d5d413a1.js.map +1 -0
- package/dist/paperless/p-d7dbd13e.entry.js +2 -0
- package/dist/paperless/p-d7dbd13e.entry.js.map +1 -0
- package/dist/paperless/p-d81a30f6.entry.js +2 -0
- package/dist/paperless/p-d81a30f6.entry.js.map +1 -0
- package/dist/paperless/p-dce95c92.entry.js +2 -0
- package/dist/paperless/p-dce95c92.entry.js.map +1 -0
- package/dist/paperless/p-dd6d3839.entry.js +2 -0
- package/dist/paperless/p-e10cf2d3.entry.js +2 -0
- package/dist/paperless/p-e10cf2d3.entry.js.map +1 -0
- package/dist/paperless/p-ea3bce45.entry.js +2 -0
- package/dist/paperless/p-ece8998b.entry.js +2 -0
- package/dist/paperless/p-ece8998b.entry.js.map +1 -0
- package/dist/paperless/p-f78afad9.entry.js +2 -0
- package/dist/paperless/p-f78afad9.entry.js.map +1 -0
- package/dist/paperless/p-fcaa0539.entry.js +2 -0
- package/dist/paperless/p-fcaa0539.entry.js.map +1 -0
- package/dist/paperless/paperless.css +1 -1430
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/style/_fonts.scss +2 -69
- package/dist/style/_reset.scss +26 -23
- package/dist/style/_typograhpy.scss +23 -23
- package/dist/style/form/_checkbox.scss +2 -2
- package/dist/style/form/_mixins.scss +1 -1
- package/dist/style/form/_radio.scss +2 -2
- package/dist/style/form/_range.scss +14 -14
- package/dist/style/paperless.scss +4 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/paperless.ts +19 -16
- package/dist/tailwind/theme/colors.ts +133 -2
- package/dist/tailwind/theme/height.ts +1 -0
- package/dist/tailwind/theme/shadows.ts +12 -9
- package/dist/tailwind/theme/typography.ts +11 -15
- package/dist/tailwind/theme/width.ts +1 -0
- package/dist/tailwind.config.ts +1 -0
- package/dist/types/components/atoms/avatar/avatar.component.d.ts +2 -6
- package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +5 -0
- package/dist/types/components/atoms/badge/badge.component.d.ts +3 -0
- package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
- package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +4 -0
- package/dist/types/components/atoms/helper/helper.component.d.ts +5 -1
- package/dist/types/components/atoms/iban-icon/iban-icon.component.d.ts +13 -0
- package/dist/types/components/atoms/icon/icon.component.d.ts +4 -4
- package/dist/types/components/atoms/icon-deprecated/icon.component.d.ts +23 -0
- package/dist/types/components/atoms/navigation-title/navigation-title.component.d.ts +3 -0
- package/dist/types/components/molecules/button/button.component.d.ts +92 -0
- package/dist/types/components/molecules/button-group/button-group.component.d.ts +1 -1
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +1 -0
- package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +10 -10
- package/dist/types/components/molecules/navigation-section/navigation-section.component.d.ts +7 -0
- package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +1 -1
- package/dist/types/components/molecules/profile/profile.component.d.ts +6 -7
- package/dist/types/components/molecules/table-header/table-header.component.d.ts +4 -0
- package/dist/types/components/organisms/navbar/navbar.component.d.ts +1 -9
- package/dist/types/components/organisms/table/table.component.d.ts +5 -0
- package/dist/types/components.d.ts +246 -89
- package/dist/types/tailwind/theme/colors.d.ts +127 -2
- package/dist/types/tailwind/theme/height.d.ts +1 -0
- package/dist/types/tailwind/theme/shadows.d.ts +5 -7
- package/dist/types/tailwind/theme/typography.d.ts +11 -15
- package/dist/types/tailwind/theme/width.d.ts +1 -0
- package/dist/types/types/iban.d.ts +2 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/types/tailwind.d.ts +1 -1
- package/dist/types/utils/cn.d.ts +2 -0
- package/dist/types/utils/icons-deprecated.d.ts +68 -0
- package/dist/types/utils/icons.d.ts +200 -43
- package/dist/types/utils/index.d.ts +1 -0
- package/hydrate/index.js +5342 -388
- package/package.json +7 -5
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.svg +0 -336
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.woff2 +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.svg +0 -337
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.woff2 +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.svg +0 -336
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.woff2 +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.svg +0 -336
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.woff2 +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.eot +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.svg +0 -337
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.ttf +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.woff +0 -0
- package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.woff2 +0 -0
- package/dist/build/p-00d4647f.entry.js +0 -2
- package/dist/build/p-00d4647f.entry.js.map +0 -1
- package/dist/build/p-0cbff44f.entry.js +0 -2
- package/dist/build/p-0cbff44f.entry.js.map +0 -1
- package/dist/build/p-179efb16.entry.js +0 -2
- package/dist/build/p-179efb16.entry.js.map +0 -1
- package/dist/build/p-2becd73c.entry.js +0 -2
- package/dist/build/p-2becd73c.entry.js.map +0 -1
- package/dist/build/p-2c2cf3cf.entry.js +0 -2
- package/dist/build/p-2c2cf3cf.entry.js.map +0 -1
- package/dist/build/p-2cd5062f.entry.js +0 -2
- package/dist/build/p-2cd5062f.entry.js.map +0 -1
- package/dist/build/p-2d3ff364.entry.js +0 -2
- package/dist/build/p-2d3ff364.entry.js.map +0 -1
- package/dist/build/p-30c9f5e3.entry.js +0 -2
- package/dist/build/p-30c9f5e3.entry.js.map +0 -1
- package/dist/build/p-35c563a7.entry.js +0 -2
- package/dist/build/p-35c563a7.entry.js.map +0 -1
- package/dist/build/p-3755da14.entry.js +0 -2
- package/dist/build/p-3755da14.entry.js.map +0 -1
- package/dist/build/p-3764eab6.entry.js +0 -2
- package/dist/build/p-3764eab6.entry.js.map +0 -1
- package/dist/build/p-46052ca3.entry.js +0 -2
- package/dist/build/p-46052ca3.entry.js.map +0 -1
- package/dist/build/p-4c30c74b.entry.js +0 -2
- package/dist/build/p-4c30c74b.entry.js.map +0 -1
- package/dist/build/p-576b6378.entry.js +0 -2
- package/dist/build/p-5b062bc3.entry.js +0 -2
- package/dist/build/p-5fa3061e.entry.js +0 -2
- package/dist/build/p-5fa3061e.entry.js.map +0 -1
- package/dist/build/p-606ad811.entry.js +0 -2
- package/dist/build/p-639665b1.entry.js +0 -2
- package/dist/build/p-639665b1.entry.js.map +0 -1
- package/dist/build/p-66e3624b.js +0 -2
- package/dist/build/p-66e3624b.js.map +0 -1
- package/dist/build/p-699e0b35.entry.js +0 -2
- package/dist/build/p-699e0b35.entry.js.map +0 -1
- package/dist/build/p-6f24685c.entry.js +0 -2
- package/dist/build/p-7793ba3a.entry.js +0 -2
- package/dist/build/p-7793ba3a.entry.js.map +0 -1
- package/dist/build/p-7bf042c9.entry.js +0 -3
- package/dist/build/p-7bf042c9.entry.js.map +0 -1
- package/dist/build/p-7dc32e95.entry.js +0 -2
- package/dist/build/p-7dc32e95.entry.js.map +0 -1
- package/dist/build/p-8426ca20.entry.js +0 -2
- package/dist/build/p-8426ca20.entry.js.map +0 -1
- package/dist/build/p-867c00e9.entry.js +0 -2
- package/dist/build/p-867c00e9.entry.js.map +0 -1
- package/dist/build/p-8af4e8e9.entry.js +0 -2
- package/dist/build/p-8af4e8e9.entry.js.map +0 -1
- package/dist/build/p-95dc4bd3.entry.js +0 -2
- package/dist/build/p-a2b552f9.entry.js +0 -2
- package/dist/build/p-a2b552f9.entry.js.map +0 -1
- package/dist/build/p-af6b813e.entry.js +0 -2
- package/dist/build/p-af6b813e.entry.js.map +0 -1
- package/dist/build/p-b59115c3.entry.js +0 -2
- package/dist/build/p-b59115c3.entry.js.map +0 -1
- package/dist/build/p-bbe63029.entry.js +0 -2
- package/dist/build/p-c3999d3e.entry.js +0 -2
- package/dist/build/p-c3999d3e.entry.js.map +0 -1
- package/dist/build/p-cb2674b5.entry.js +0 -2
- package/dist/build/p-cf7bd354.entry.js +0 -2
- package/dist/build/p-cf7bd354.entry.js.map +0 -1
- package/dist/build/p-d0796984.entry.js +0 -2
- package/dist/build/p-d0796984.entry.js.map +0 -1
- package/dist/build/p-d7f2d4d3.entry.js +0 -2
- package/dist/build/p-d8641c29.entry.js +0 -2
- package/dist/build/p-d8641c29.entry.js.map +0 -1
- package/dist/build/p-dace47c5.entry.js +0 -2
- package/dist/build/p-dace47c5.entry.js.map +0 -1
- package/dist/build/p-dd070ee8.entry.js +0 -2
- package/dist/build/p-dd070ee8.entry.js.map +0 -1
- package/dist/build/p-e4d5e7a7.js +0 -3
- package/dist/build/p-e4d5e7a7.js.map +0 -1
- package/dist/build/p-ec15ee73.entry.js +0 -2
- package/dist/build/p-ec15ee73.entry.js.map +0 -1
- package/dist/build/p-ec29eed0.entry.js +0 -2
- package/dist/build/p-ec315c58.entry.js +0 -2
- package/dist/build/p-ec315c58.entry.js.map +0 -1
- package/dist/build/p-eebab75d.entry.js +0 -2
- package/dist/build/p-eebab75d.entry.js.map +0 -1
- package/dist/build/p-ef0bfa6c.entry.js +0 -2
- package/dist/build/p-ef0bfa6c.entry.js.map +0 -1
- package/dist/build/p-f2a896ba.entry.js +0 -2
- package/dist/build/p-f2a896ba.entry.js.map +0 -1
- package/dist/cjs/index-1fde8b14.js +0 -2627
- package/dist/cjs/index-1fde8b14.js.map +0 -1
- package/dist/cjs/object-get-by-path-7e65c82d.js +0 -115
- package/dist/cjs/object-get-by-path-7e65c82d.js.map +0 -1
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-300.svg +0 -336
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-500.svg +0 -337
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-600.svg +0 -336
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-700.svg +0 -336
- package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-regular.svg +0 -337
- package/dist/collection/components/atoms/button/button.component.css +0 -1
- package/dist/collection/components/atoms/button/button.component.js +0 -444
- package/dist/collection/components/atoms/button/button.component.js.map +0 -1
- package/dist/collection/components/atoms/button/test/button.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/button/test/button.component.spec.js.map +0 -1
- package/dist/collection/tailwind/theme/backdrop-blur.js +0 -4
- package/dist/collection/tailwind/theme/backdrop-blur.js.map +0 -1
- package/dist/collection/tailwind/theme/border-radius.js +0 -12
- package/dist/collection/tailwind/theme/border-radius.js.map +0 -1
- package/dist/components/counter.component.js +0 -37
- package/dist/components/counter.component.js.map +0 -1
- package/dist/esm/index-7b917f6b.js +0 -2598
- package/dist/esm/index-7b917f6b.js.map +0 -1
- package/dist/esm/object-get-by-path-56508a0e.js +0 -109
- package/dist/esm/object-get-by-path-56508a0e.js.map +0 -1
- package/dist/paperless/p-00d4647f.entry.js +0 -2
- package/dist/paperless/p-00d4647f.entry.js.map +0 -1
- package/dist/paperless/p-0cbff44f.entry.js +0 -2
- package/dist/paperless/p-0cbff44f.entry.js.map +0 -1
- package/dist/paperless/p-179efb16.entry.js +0 -2
- package/dist/paperless/p-179efb16.entry.js.map +0 -1
- package/dist/paperless/p-2becd73c.entry.js +0 -2
- package/dist/paperless/p-2becd73c.entry.js.map +0 -1
- package/dist/paperless/p-2c2cf3cf.entry.js +0 -2
- package/dist/paperless/p-2c2cf3cf.entry.js.map +0 -1
- package/dist/paperless/p-2cd5062f.entry.js +0 -2
- package/dist/paperless/p-2cd5062f.entry.js.map +0 -1
- package/dist/paperless/p-2d3ff364.entry.js +0 -2
- package/dist/paperless/p-2d3ff364.entry.js.map +0 -1
- package/dist/paperless/p-30c9f5e3.entry.js +0 -2
- package/dist/paperless/p-30c9f5e3.entry.js.map +0 -1
- package/dist/paperless/p-35c563a7.entry.js +0 -2
- package/dist/paperless/p-35c563a7.entry.js.map +0 -1
- package/dist/paperless/p-3755da14.entry.js +0 -2
- package/dist/paperless/p-3755da14.entry.js.map +0 -1
- package/dist/paperless/p-3764eab6.entry.js +0 -2
- package/dist/paperless/p-3764eab6.entry.js.map +0 -1
- package/dist/paperless/p-46052ca3.entry.js +0 -2
- package/dist/paperless/p-46052ca3.entry.js.map +0 -1
- package/dist/paperless/p-4c30c74b.entry.js +0 -2
- package/dist/paperless/p-4c30c74b.entry.js.map +0 -1
- package/dist/paperless/p-576b6378.entry.js +0 -2
- package/dist/paperless/p-5b062bc3.entry.js +0 -2
- package/dist/paperless/p-5fa3061e.entry.js +0 -2
- package/dist/paperless/p-5fa3061e.entry.js.map +0 -1
- package/dist/paperless/p-606ad811.entry.js +0 -2
- package/dist/paperless/p-639665b1.entry.js +0 -2
- package/dist/paperless/p-639665b1.entry.js.map +0 -1
- package/dist/paperless/p-66e3624b.js +0 -2
- package/dist/paperless/p-66e3624b.js.map +0 -1
- package/dist/paperless/p-699e0b35.entry.js +0 -2
- package/dist/paperless/p-699e0b35.entry.js.map +0 -1
- package/dist/paperless/p-6f24685c.entry.js +0 -2
- package/dist/paperless/p-7793ba3a.entry.js +0 -2
- package/dist/paperless/p-7793ba3a.entry.js.map +0 -1
- package/dist/paperless/p-7bf042c9.entry.js +0 -3
- package/dist/paperless/p-7bf042c9.entry.js.map +0 -1
- package/dist/paperless/p-7dc32e95.entry.js +0 -2
- package/dist/paperless/p-7dc32e95.entry.js.map +0 -1
- package/dist/paperless/p-8426ca20.entry.js +0 -2
- package/dist/paperless/p-8426ca20.entry.js.map +0 -1
- package/dist/paperless/p-867c00e9.entry.js +0 -2
- package/dist/paperless/p-867c00e9.entry.js.map +0 -1
- package/dist/paperless/p-8af4e8e9.entry.js +0 -2
- package/dist/paperless/p-8af4e8e9.entry.js.map +0 -1
- package/dist/paperless/p-95dc4bd3.entry.js +0 -2
- package/dist/paperless/p-a2b552f9.entry.js +0 -2
- package/dist/paperless/p-a2b552f9.entry.js.map +0 -1
- package/dist/paperless/p-af6b813e.entry.js +0 -2
- package/dist/paperless/p-af6b813e.entry.js.map +0 -1
- package/dist/paperless/p-b59115c3.entry.js +0 -2
- package/dist/paperless/p-b59115c3.entry.js.map +0 -1
- package/dist/paperless/p-bbe63029.entry.js +0 -2
- package/dist/paperless/p-c3999d3e.entry.js +0 -2
- package/dist/paperless/p-c3999d3e.entry.js.map +0 -1
- package/dist/paperless/p-cb2674b5.entry.js +0 -2
- package/dist/paperless/p-cf7bd354.entry.js +0 -2
- package/dist/paperless/p-cf7bd354.entry.js.map +0 -1
- package/dist/paperless/p-d0796984.entry.js +0 -2
- package/dist/paperless/p-d0796984.entry.js.map +0 -1
- package/dist/paperless/p-d7f2d4d3.entry.js +0 -2
- package/dist/paperless/p-d8641c29.entry.js +0 -2
- package/dist/paperless/p-d8641c29.entry.js.map +0 -1
- package/dist/paperless/p-dace47c5.entry.js +0 -2
- package/dist/paperless/p-dace47c5.entry.js.map +0 -1
- package/dist/paperless/p-dd070ee8.entry.js +0 -2
- package/dist/paperless/p-dd070ee8.entry.js.map +0 -1
- package/dist/paperless/p-e4d5e7a7.js +0 -3
- package/dist/paperless/p-e4d5e7a7.js.map +0 -1
- package/dist/paperless/p-ec15ee73.entry.js +0 -2
- package/dist/paperless/p-ec15ee73.entry.js.map +0 -1
- package/dist/paperless/p-ec29eed0.entry.js +0 -2
- package/dist/paperless/p-ec315c58.entry.js +0 -2
- package/dist/paperless/p-ec315c58.entry.js.map +0 -1
- package/dist/paperless/p-eebab75d.entry.js +0 -2
- package/dist/paperless/p-eebab75d.entry.js.map +0 -1
- package/dist/paperless/p-ef0bfa6c.entry.js +0 -2
- package/dist/paperless/p-ef0bfa6c.entry.js.map +0 -1
- package/dist/paperless/p-f2a896ba.entry.js +0 -2
- package/dist/paperless/p-f2a896ba.entry.js.map +0 -1
- package/dist/tailwind/theme/backdrop-blur.ts +0 -3
- package/dist/tailwind/theme/border-radius.ts +0 -11
- package/dist/types/components/atoms/button/button.component.d.ts +0 -84
- package/dist/types/tailwind/theme/backdrop-blur.d.ts +0 -4
- package/dist/types/tailwind/theme/border-radius.d.ts +0 -12
- /package/dist/assets/{icons → icons-old}/arrow.svg +0 -0
- /package/dist/assets/{icons → icons-old}/attachment.svg +0 -0
- /package/dist/assets/{icons → icons-old}/bread.svg +0 -0
- /package/dist/assets/{icons → icons-old}/calendar.svg +0 -0
- /package/dist/assets/{icons → icons-old}/camera.svg +0 -0
- /package/dist/assets/{icons → icons-old}/car.svg +0 -0
- /package/dist/assets/{icons → icons-old}/checklist.svg +0 -0
- /package/dist/assets/{icons → icons-old}/checkmark.svg +0 -0
- /package/dist/assets/{icons → icons-old}/chevron.svg +0 -0
- /package/dist/assets/{icons → icons-old}/chevrons.svg +0 -0
- /package/dist/assets/{icons → icons-old}/clock.svg +0 -0
- /package/dist/assets/{icons → icons-old}/cogs.svg +0 -0
- /package/dist/assets/{icons → icons-old}/colleagues.svg +0 -0
- /package/dist/assets/{icons → icons-old}/comment.svg +0 -0
- /package/dist/assets/{icons → icons-old}/companies.svg +0 -0
- /package/dist/assets/{icons → icons-old}/company.svg +0 -0
- /package/dist/assets/{icons → icons-old}/deactivate.svg +0 -0
- /package/dist/assets/{icons → icons-old}/document.svg +0 -0
- /package/dist/assets/{icons → icons-old}/download.svg +0 -0
- /package/dist/assets/{icons → icons-old}/envelope.svg +0 -0
- /package/dist/assets/{icons → icons-old}/explanation.svg +0 -0
- /package/dist/assets/{icons → icons-old}/eye.svg +0 -0
- /package/dist/assets/{icons → icons-old}/fa/piggy.svg +0 -0
- /package/dist/assets/{icons → icons-old}/filter.svg +0 -0
- /package/dist/assets/{icons → icons-old}/folder.svg +0 -0
- /package/dist/assets/{icons → icons-old}/formula.svg +0 -0
- /package/dist/assets/{icons → icons-old}/grid.svg +0 -0
- /package/dist/assets/{icons → icons-old}/hashtag.svg +0 -0
- /package/dist/assets/{icons → icons-old}/headset.svg +0 -0
- /package/dist/assets/{icons → icons-old}/hidden.svg +0 -0
- /package/dist/assets/{icons → icons-old}/iDeal.svg +0 -0
- /package/dist/assets/{icons → icons-old}/integration.svg +0 -0
- /package/dist/assets/{icons → icons-old}/list.svg +0 -0
- /package/dist/assets/{icons → icons-old}/location.svg +0 -0
- /package/dist/assets/{icons → icons-old}/lock.svg +0 -0
- /package/dist/assets/{icons → icons-old}/megaphone.svg +0 -0
- /package/dist/assets/{icons → icons-old}/menu.svg +0 -0
- /package/dist/assets/{icons → icons-old}/minus.svg +0 -0
- /package/dist/assets/{icons → icons-old}/more.svg +0 -0
- /package/dist/assets/{icons → icons-old}/negative.svg +0 -0
- /package/dist/assets/{icons → icons-old}/notification.svg +0 -0
- /package/dist/assets/{icons → icons-old}/pagination.svg +0 -0
- /package/dist/assets/{icons → icons-old}/payment.svg +0 -0
- /package/dist/assets/{icons → icons-old}/pencil.svg +0 -0
- /package/dist/assets/{icons → icons-old}/person.svg +0 -0
- /package/dist/assets/{icons → icons-old}/plan.svg +0 -0
- /package/dist/assets/{icons → icons-old}/plus.svg +0 -0
- /package/dist/assets/{icons → icons-old}/question.svg +0 -0
- /package/dist/assets/{icons → icons-old}/receipt.svg +0 -0
- /package/dist/assets/{icons → icons-old}/reload.svg +0 -0
- /package/dist/assets/{icons → icons-old}/report.svg +0 -0
- /package/dist/assets/{icons → icons-old}/review.svg +0 -0
- /package/dist/assets/{icons → icons-old}/search.svg +0 -0
- /package/dist/assets/{icons → icons-old}/settings.svg +0 -0
- /package/dist/assets/{icons → icons-old}/sick.svg +0 -0
- /package/dist/assets/{icons → icons-old}/signout.svg +0 -0
- /package/dist/assets/{icons → icons-old}/switch.svg +0 -0
- /package/dist/assets/{icons → icons-old}/tachometer.svg +0 -0
- /package/dist/assets/{icons → icons-old}/task.svg +0 -0
- /package/dist/assets/{icons → icons-old}/template.svg +0 -0
- /package/dist/assets/{icons → icons-old}/tool.svg +0 -0
- /package/dist/assets/{icons → icons-old}/trash.svg +0 -0
- /package/dist/assets/{icons → icons-old}/turn.svg +0 -0
- /package/dist/assets/{icons → icons-old}/unlock.svg +0 -0
- /package/dist/assets/{icons → icons-old}/upload.svg +0 -0
- /package/dist/assets/{icons → icons-old}/warning.svg +0 -0
- /package/dist/build/{p-d7f2d4d3.entry.js.map → p-013cd7f9.entry.js.map} +0 -0
- /package/dist/build/{p-cb2674b5.entry.js.map → p-7beb3401.entry.js.map} +0 -0
- /package/dist/build/{p-6f24685c.entry.js.map → p-9fa5d08a.entry.js.map} +0 -0
- /package/dist/build/{p-95dc4bd3.entry.js.map → p-bc46f89a.entry.js.map} +0 -0
- /package/dist/build/{p-ec29eed0.entry.js.map → p-be0c925e.entry.js.map} +0 -0
- /package/dist/build/{p-576b6378.entry.js.map → p-c6bcbcbf.entry.js.map} +0 -0
- /package/dist/build/{p-606ad811.entry.js.map → p-cb7c509e.entry.js.map} +0 -0
- /package/dist/build/{p-5b062bc3.entry.js.map → p-dd6d3839.entry.js.map} +0 -0
- /package/dist/build/{p-bbe63029.entry.js.map → p-ea3bce45.entry.js.map} +0 -0
- /package/dist/collection/assets/{icons → icons-old}/arrow.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/attachment.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/bread.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/calendar.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/camera.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/car.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/checklist.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/checkmark.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/chevron.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/chevrons.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/clock.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/cogs.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/colleagues.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/comment.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/companies.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/company.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/deactivate.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/document.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/download.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/envelope.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/explanation.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/eye.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/fa/piggy.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/filter.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/folder.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/formula.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/grid.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/hashtag.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/headset.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/hidden.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/iDeal.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/integration.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/list.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/location.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/lock.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/megaphone.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/menu.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/minus.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/more.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/negative.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/notification.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/pagination.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/payment.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/pencil.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/person.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/plan.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/plus.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/question.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/receipt.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/reload.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/report.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/review.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/search.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/settings.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/sick.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/signout.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/switch.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/tachometer.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/task.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/template.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/tool.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/trash.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/turn.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/unlock.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/upload.svg +0 -0
- /package/dist/collection/assets/{icons → icons-old}/warning.svg +0 -0
- /package/dist/collection/components/{atoms → molecules}/button/test/button.component.e2e.js +0 -0
- /package/dist/collection/components/{atoms → molecules}/button/test/button.component.spec.js +0 -0
- /package/dist/paperless/{p-d7f2d4d3.entry.js.map → p-013cd7f9.entry.js.map} +0 -0
- /package/dist/paperless/{p-cb2674b5.entry.js.map → p-7beb3401.entry.js.map} +0 -0
- /package/dist/paperless/{p-6f24685c.entry.js.map → p-9fa5d08a.entry.js.map} +0 -0
- /package/dist/paperless/{p-95dc4bd3.entry.js.map → p-bc46f89a.entry.js.map} +0 -0
- /package/dist/paperless/{p-ec29eed0.entry.js.map → p-be0c925e.entry.js.map} +0 -0
- /package/dist/paperless/{p-576b6378.entry.js.map → p-c6bcbcbf.entry.js.map} +0 -0
- /package/dist/paperless/{p-606ad811.entry.js.map → p-cb7c509e.entry.js.map} +0 -0
- /package/dist/paperless/{p-5b062bc3.entry.js.map → p-dd6d3839.entry.js.map} +0 -0
- /package/dist/paperless/{p-bbe63029.entry.js.map → p-ea3bce45.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-tab-item.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,
|
|
1
|
+
{"file":"p-tab-item.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,i+BAAi+B;;MCOh/B,OAAO;;;;;kBAIO,KAAK;;EAE/B,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,cAAc,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,IACnD,eAAQ,CACF,EACN;GACF;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/tab-item/tab-item.component.scss?tag=p-tab-item&encapsulation=shadow","src/components/atoms/tab-item/tab-item.component.tsx"],"sourcesContent":[":host {\n\t@apply flex h-10 items-center;\n\t@apply whitespace-nowrap font-semibold text-storm-medium;\n\t@apply cursor-pointer;\n\t@apply border-0 border-b-2 border-transparent #{!important};\n}\n\n:host(.active) {\n\t@apply border-indigo text-indigo #{!important};\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-tab-item',\n\tstyleUrl: 'tab-item.component.scss',\n\tshadow: true,\n})\nexport class TabItem {\n\t/**\n\t * Wether the tab item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-tab-item ${this.active && 'active'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -27,7 +27,7 @@ import { d as defineCustomElement$4 } from './table-header.component.js';
|
|
|
27
27
|
import { d as defineCustomElement$3 } from './table-row.component.js';
|
|
28
28
|
import { d as defineCustomElement$2 } from './tooltip.component.js';
|
|
29
29
|
|
|
30
|
-
const tableComponentCss = ".fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-4{bottom:1rem!important}.left-1\\/2{left:50%!important}.flex{display:flex!important}.hidden{display:none!important}.flex-shrink{flex-shrink:1!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}*{box-sizing:border-box}p-table{display:flex;flex-direction:column;position:relative}p-table .p-input[type=checkbox]{flex-shrink:0}p-table p-table-container{position:relative}p-table p-table-container p-floating-menu-container{--tw-translate-x:-50%;animation:floatingMenuContainerIn .3s ease forwards!important;bottom:1rem;left:50%;position:fixed;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width:40rem){p-table p-table-container p-floating-menu-container{bottom:4rem;position:absolute}}p-table p-table-container p-floating-menu-container:not(.shown){display:none}p-table p-table-container p-floating-menu-container.inactive{animation:floatingMenuContainerOut .3s ease forwards!important}@keyframes floatingMenuContainerOut{0%{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}99%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}}@keyframes floatingMenuContainerIn{0%{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}1%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}}.static{position:static!important}.mx-0{margin-left:0!important;margin-right:0!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.ml-auto{margin-left:auto!important}.table{display:table!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm{--tw-text-opacity:1!important;color:rgb(81 83 107/var(--tw-text-opacity))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.opacity-0{opacity:0!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}@media (min-width:40rem){.tablet\\:flex{display:flex!important}}";
|
|
30
|
+
const tableComponentCss = ".fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-4{bottom:1rem!important}.left-1\\/2{left:50%!important}.flex{display:flex!important}.hidden{display:none!important}.flex-shrink{flex-shrink:1!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}*{box-sizing:border-box}p-table{display:flex;flex-direction:column;position:relative}p-table .p-input[type=checkbox]{flex-shrink:0}p-table p-table-container{position:relative}p-table p-table-container p-floating-menu-container{--tw-translate-x:-50%;animation:floatingMenuContainerIn .3s ease forwards!important;bottom:1rem;left:50%;position:fixed;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width:40rem){p-table p-table-container p-floating-menu-container{bottom:4rem;position:absolute}}p-table p-table-container p-floating-menu-container:not(.shown){display:none}p-table p-table-container p-floating-menu-container.inactive{animation:floatingMenuContainerOut .3s ease forwards!important}@keyframes floatingMenuContainerOut{0%{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}99%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}}@keyframes floatingMenuContainerIn{0%{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}1%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}}.static{position:static!important}.mx-0{margin-left:0!important;margin-right:0!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.ml-auto{margin-left:auto!important}.table{display:table!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm{--tw-text-opacity:1!important;color:rgb(81 83 107/var(--tw-text-opacity,1))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}@media (min-width:40rem){.tablet\\:flex{display:flex!important}}";
|
|
31
31
|
|
|
32
32
|
const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
33
33
|
constructor() {
|
|
@@ -49,6 +49,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
|
49
49
|
this._rowActionsFloatingAll = [];
|
|
50
50
|
this._ctrlDown = false;
|
|
51
51
|
this._hasCustomFilterSlot = false;
|
|
52
|
+
this._hasCustomActionsSlot = false;
|
|
52
53
|
this._floatingMenuShown = false;
|
|
53
54
|
this.items = undefined;
|
|
54
55
|
this.loading = false;
|
|
@@ -74,6 +75,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
|
74
75
|
this.enableSearch = true;
|
|
75
76
|
this.query = undefined;
|
|
76
77
|
this.enableFilter = true;
|
|
78
|
+
this.enableFilterDesktop = true;
|
|
77
79
|
this.selectedFiltersAmount = undefined;
|
|
78
80
|
this.filterButtonTemplate = undefined;
|
|
79
81
|
this.enableAction = false;
|
|
@@ -108,6 +110,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
|
108
110
|
}
|
|
109
111
|
componentWillLoad() {
|
|
110
112
|
this._hasCustomFilterSlot = !!this._el.querySelector(':scope > [slot="custom-filter"]');
|
|
113
|
+
this._hasCustomActionsSlot = !!this._el.querySelector(':scope > [slot="custom-actions"]');
|
|
111
114
|
this._setRowSelectionData();
|
|
112
115
|
this._setLocales();
|
|
113
116
|
this._parseItems(this.items);
|
|
@@ -124,12 +127,12 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
|
124
127
|
// search
|
|
125
128
|
enableSearch: this.enableSearch, query: this.query, onQueryChange: ({ detail }) => this.queryChange.emit(detail),
|
|
126
129
|
// filter button
|
|
127
|
-
enableFilter: this.enableFilter, selectedFiltersAmount: this.selectedFiltersAmount, filterButtonTemplate: this.filterButtonTemplate, onFilter: () => this.filter.emit(),
|
|
130
|
+
enableFilter: this.enableFilter, enableFilterDesktop: this.enableFilterDesktop, selectedFiltersAmount: this.selectedFiltersAmount, filterButtonTemplate: this.filterButtonTemplate, onFilter: () => this.filter.emit(),
|
|
128
131
|
// action button
|
|
129
132
|
enableAction: this.enableAction, actionIcon: this.actionButtonIcon, actionText: this.actionButtonText, actionLoading: this.actionButtonLoading, canUseAction: this.actionButtonEnabled, actionButtonTemplate: this.actionButtonTemplate, onAction: () => this.action.emit(), itemsSelectedAmount: (_a = this.selectedRows) === null || _a === void 0 ? void 0 : _a.length,
|
|
130
133
|
//loading
|
|
131
134
|
loading: this.headerLoading
|
|
132
|
-
}, this._hasCustomFilterSlot && (h("slot", { name: 'custom-filter', slot: 'custom-filter' })))), this._getHeader(), h("div", { class: 'flex flex-1 flex-col' }, this._getRows()), this.enableFooter && (h("p-table-footer", {
|
|
135
|
+
}, this._hasCustomFilterSlot && (h("slot", { name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (h("slot", { name: 'custom-actions', slot: 'custom-actions' })))), this._getHeader(), h("div", { class: 'flex flex-1 flex-col' }, this._getRows()), this.enableFooter && (h("p-table-footer", {
|
|
133
136
|
// overall
|
|
134
137
|
hideOnSinglePage: this.hideOnSinglePage,
|
|
135
138
|
// page size select
|
|
@@ -258,7 +261,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
|
258
261
|
if (!actions.length) {
|
|
259
262
|
return columns;
|
|
260
263
|
}
|
|
261
|
-
columns.push(h("p-table-cell", { variant: 'actions', definition: def, item: item, index: this._columns.length - 1, rowIndex: index, tableHasActions: true }, h("div", { slot: 'actions', class: 'ml-auto flex items-center gap-2' }, actions.map(a => (h("p-tooltip", { content: a.label }, h("p-button", { "data-is-action": true, variant: 'secondary', slot: 'trigger', icon: a.icon, iconRotate: a.iconRotate, iconFlip: a.iconFlip, iconOnly: true, size: '
|
|
264
|
+
columns.push(h("p-table-cell", { variant: 'actions', definition: def, item: item, index: this._columns.length - 1, rowIndex: index, tableHasActions: true }, h("div", { slot: 'actions', class: 'ml-auto flex items-center gap-2' }, actions.map(a => (h("p-tooltip", { content: a.label }, h("p-button", { "data-is-action": true, variant: 'secondary', slot: 'trigger', icon: a.icon, iconRotate: a.iconRotate, iconFlip: a.iconFlip, iconOnly: true, size: 'sm', onClick: () => { var _a; return typeof a.action === 'function' && ((_a = a.action) === null || _a === void 0 ? void 0 : _a.call(a, item, false)); } })))))));
|
|
262
265
|
}
|
|
263
266
|
return columns;
|
|
264
267
|
}
|
|
@@ -293,7 +296,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
|
293
296
|
if (((_a = this.query) === null || _a === void 0 ? void 0 : _a.length) || this.selectedFiltersAmount) {
|
|
294
297
|
return (h("div", { class: 'flex max-w-[20rem] flex-col items-center self-center py-24 text-center' }, h("p-illustration", { variant: 'empty-state-search', class: 'mb-6' }), h("p", { class: 'text-storm-default font-semibold' }, this.emptyStateFilteredHeader()), h("p", { class: 'mb-14 text-sm text-storm-medium' }, this.emptyStateFilteredContent())));
|
|
295
298
|
}
|
|
296
|
-
return (h("div", { class: `flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${this.enableEmptyStateAction && 'cursor-pointer'}`, onClick: () => this.enableEmptyStateAction && this.emptyStateActionClick.emit(null) }, h("p-illustration", { variant: 'empty-state-add', class: 'mb-6' }), h("p", { class: 'text-storm-default font-semibold' }, this.emptyStateHeader()), h("p", { class: 'mb-6 text-sm text-storm-medium' }, this.emptyStateContent()), this.enableEmptyStateAction && (h("p-button", { variant: 'secondary', icon: 'plus', size: '
|
|
299
|
+
return (h("div", { class: `flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${this.enableEmptyStateAction && 'cursor-pointer'}`, onClick: () => this.enableEmptyStateAction && this.emptyStateActionClick.emit(null) }, h("p-illustration", { variant: 'empty-state-add', class: 'mb-6' }), h("p", { class: 'text-storm-default font-semibold' }, this.emptyStateHeader()), h("p", { class: 'mb-6 text-sm text-storm-medium' }, this.emptyStateContent()), this.enableEmptyStateAction && (h("p-button", { variant: 'secondary', icon: 'plus', size: 'sm' }, this.emptyStateAction()))));
|
|
297
300
|
}
|
|
298
301
|
_selectAllChange($event, forceValue) {
|
|
299
302
|
if (!this._enableRowSelection) {
|
|
@@ -591,6 +594,7 @@ const Table = /*@__PURE__*/ proxyCustomElement(class Table extends HTMLElement {
|
|
|
591
594
|
"enableSearch": [4, "enable-search"],
|
|
592
595
|
"query": [1025],
|
|
593
596
|
"enableFilter": [4, "enable-filter"],
|
|
597
|
+
"enableFilterDesktop": [4, "enable-filter-desktop"],
|
|
594
598
|
"selectedFiltersAmount": [2, "selected-filters-amount"],
|
|
595
599
|
"filterButtonTemplate": [16],
|
|
596
600
|
"enableAction": [4, "enable-action"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-table.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,kpGAAkpG;;MCuC/pG,KAAK;;;;;;;;;;;;;;;;;IAiVT,2BAAsB,GAAqB,EAAE,CAAC;IAI9C,cAAS,GAAG,KAAK,CAAC;IAClB,yBAAoB,GAAG,KAAK,CAAC;IAC7B,uBAAkB,GAAG,KAAK,CAAC;;mBA9UR,KAAK;yBAKC,KAAK;yBAKL,KAAK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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/organisms/table/table.component.scss?tag=p-table","src/components/organisms/table/table.component.tsx"],"sourcesContent":["p-table {\n\t@apply relative flex flex-col;\n\n\t.p-input[type='checkbox'] {\n\t\tflex-shrink: 0;\n\t}\n\n\tp-table-container {\n\t\t@apply relative;\n\n\t\tp-floating-menu-container {\n\t\t\t@apply fixed bottom-4 left-1/2 -translate-x-1/2 transform;\n\t\t\tanimation: forwards floatingMenuContainerIn 0.3s ease !important;\n\n\t\t\t@screen tablet {\n\t\t\t\t@apply absolute bottom-16;\n\t\t\t}\n\n\t\t\t&:not(.shown) {\n\t\t\t\t@apply hidden;\n\t\t\t}\n\n\t\t\t&.inactive {\n\t\t\t\tanimation: forwards floatingMenuContainerOut 0.3s ease !important;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes floatingMenuContainerOut {\n\t0% {\n\t\tdisplay: flex;\n\t\ttransform: translateY(0) translateX(-50%);\n\t\topacity: 100;\n\t}\n\t99% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: flex;\n\t}\n\t100% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: none;\n\t}\n}\n\n@keyframes floatingMenuContainerIn {\n\t0% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: none;\n\t}\n\t1% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: flex;\n\t}\n\t100% {\n\t\ttransform: translateY(0) translateX(-50%);\n\t\topacity: 100;\n\t\tdisplay: flex;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { IconVariant } from '../../../components';\nimport { tableColumSizesOptions } from '../../../types/constants';\nimport {\n\tQuickFilter,\n\tRowClickEvent,\n\tTableColumnSizes,\n} from '../../../types/table';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n\tisMobile,\n} from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\nimport { TableRowAction } from '../../helpers/table-row-action/table-row-action.component';\nimport {\n\tdefaultSize,\n\tdefaultSizeOptions,\n} from '../../molecules/page-size-select/constants';\nimport { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';\n\nexport type templateFunc = () => string;\nexport type amountSelectedTemplateFunc = (amount: number) => string;\n\n@Component({\n\ttag: 'p-table',\n\tstyleUrl: 'table.component.scss',\n})\nexport class Table {\n\t/**\n\t * The items to be fed to the table\n\t */\n\t@Prop() items: string;\n\n\t/**\n\t * Wether data is loading\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether the header should show loading state\n\t */\n\t@Prop() headerLoading: boolean = false;\n\n\t/**\n\t * Wether the footer should show loading state\n\t */\n\t@Prop() footerLoading: boolean = false;\n\n\t/**\n\t * The amount of loading rows to show\n\t */\n\t@Prop() amountOfLoadingRows: number = 6;\n\n\t/**\n\t * Wether to enable selection\n\t */\n\t@Prop() enableRowSelection: boolean = true;\n\n\t/**\n\t * A limit to the amount of rows that can be selected\n\t */\n\t@Prop() rowSelectionLimit: number | undefined;\n\n\t/**\n\t * Wether to enable row clicking\n\t */\n\t@Prop() enableRowClick: boolean = true;\n\n\t/**\n\t * The current selection of items\n\t */\n\t@Prop() selectedRows: any[] = [];\n\n\t/**\n\t * Wether to enable the floating menu\n\t */\n\t@Prop() enableFloatingMenu: boolean = true;\n\n\t/**\n\t * The template for amount selected item in the floating menu\n\t */\n\t@Prop() floatingMenuAmountSelectedTemplate: amountSelectedTemplateFunc = (\n\t\tamount: number\n\t) =>\n\t\tformatTranslation(\n\t\t\t(amount === 1\n\t\t\t\t? this._locales.floating_menu?.amount_selected\n\t\t\t\t: this._locales.floating_menu?.amount_selected_plural\n\t\t\t)?.replace('{{amount}}', amount)\n\t\t);\n\n\t/**\n\t * Event whenever the current selection changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tselectedRowsChange: EventEmitter<any>;\n\n\t/**\n\t * The key to determine if a row is selected\n\t */\n\t@Prop() selectionKey: string;\n\n\t/**\n\t * A key to determine if a row can be selected\n\t */\n\t@Prop() canSelectKey: string;\n\n\t/**\n\t * Event whenever a row is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowClick: EventEmitter<RowClickEvent>;\n\n\t/**\n\t * Event whenever a row is selected\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowSelected: EventEmitter<any>;\n\n\t/**\n\t * Event whenever a row is deselected\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowDeselected: EventEmitter<any>;\n\n\t/**\n\t * Event when the table has rendered\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\thasRendered: EventEmitter<number>;\n\n\t/** START HEADER */\n\n\t/**\n\t * Wether to show the header\n\t */\n\t@Prop() enableHeader: boolean = true;\n\n\t/**\n\t * Quick filters to show\n\t */\n\t@Prop() quickFilters: QuickFilter[] = [];\n\n\t/**\n\t * Active quick filter identifier\n\t */\n\t@Prop() activeQuickFilterIdentifier: string;\n\n\t/**\n\t * Wether to show the search input\n\t */\n\t@Prop() enableSearch: boolean = true;\n\n\t/**\n\t * The query to show in the search bar\n\t */\n\t@Prop({ mutable: true }) query: string;\n\n\t/**\n\t * Wether to show the filter button\n\t */\n\t@Prop() enableFilter: boolean = true;\n\n\t/**\n\t * The amount of filters being selected\n\t */\n\t@Prop() selectedFiltersAmount: number;\n\n\t/**\n\t * The template for the filter button text\n\t */\n\t@Prop() filterButtonTemplate: templateFunc;\n\n\t/**\n\t * Wether to show the action button\n\t */\n\t@Prop() enableAction: boolean = false;\n\n\t/**\n\t * Wether the action button is loading\n\t */\n\t@Prop() actionButtonLoading: boolean = false;\n\n\t/**\n\t * Wether the action button is enabled\n\t */\n\t@Prop() actionButtonEnabled: boolean = false;\n\n\t/**\n\t * The action button icon\n\t */\n\t@Prop() actionButtonIcon: IconVariant = 'pencil';\n\n\t/**\n\t * The action button text if changed\n\t */\n\t@Prop() actionButtonText: string;\n\n\t/**\n\t * The template for the action button text\n\t */\n\t@Prop() actionButtonTemplate: buttonTemplateFunc;\n\n\t/**\n\t * Event when one of the quick filters is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tquickFilter: EventEmitter<QuickFilter>;\n\n\t/**\n\t * Event when the query changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tqueryChange: EventEmitter<string>;\n\n\t/**\n\t * Event when the filter button is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tfilter: EventEmitter<null>;\n\n\t/**\n\t * Event when the action button is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\taction: EventEmitter<null>;\n\n\t/** START FOOTER */\n\n\t/**\n\t * Wether to show the header\n\t */\n\t@Prop() enableFooter: boolean = true;\n\n\t/**\n\t * Wether to enable page size select\n\t */\n\t@Prop() enablePageSize: boolean = true;\n\n\t/**\n\t * Wether to enable pagination\n\t */\n\t@Prop() enablePagination: boolean = true;\n\n\t/**\n\t * Wether to enable export\n\t */\n\t@Prop() enableExport: boolean = true;\n\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = defaultSize;\n\n\t/**\n\t * The options for the page size\n\t */\n\t@Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageSizeChange: EventEmitter<number>;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\texport: EventEmitter<number>;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = true;\n\n\t/* Empty state start */\n\t@Prop() emptyStateHeader: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.header);\n\t@Prop() emptyStateContent: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.content);\n\t@Prop() emptyStateAction: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.action);\n\t/**\n\t * Wether to enable empty state action\n\t */\n\t@Prop() enableEmptyStateAction: boolean = true;\n\n\t@Prop() emptyStateFilteredHeader: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state.filtered.header);\n\t@Prop() emptyStateFilteredContent: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state.filtered.content);\n\n\t/**\n\t * Event whenever the empty state is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\temptyStateActionClick: EventEmitter<null>;\n\n\t/*\n\t * Wether to show the shadow or not\n\t */\n\t@Prop() shadow: boolean = true;\n\n\t/* Empty state end */\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\t@State() private _columns: any[] = [];\n\t@State() private _items: any[] = [];\n\n\t@State() private _enableRowSelection: boolean = this.enableRowSelection;\n\t@State() private _rowSelectionLimit: number | undefined;\n\n\tprivate _rowActionsFloatingAll: TableRowAction[] = [];\n\t@State() private _rowActionsFloating: TableRowAction[] = [];\n\t@State() private _rowActionsRow: TableRowAction[] = [];\n\n\tprivate _ctrlDown = false;\n\tprivate _hasCustomFilterSlot = false;\n\tprivate _floatingMenuShown = false;\n\tprivate _resizeTimeout: NodeJS.Timer;\n\n\tcomponentWillLoad() {\n\t\tthis._hasCustomFilterSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"custom-filter\"]'\n\t\t);\n\n\t\tthis._setRowSelectionData();\n\n\t\tthis._setLocales();\n\t\tthis._parseItems(this.items);\n\t\tthis._generateColumns();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.hasRendered.emit();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-table'>\n\t\t\t\t<p-table-container shadow={this.shadow}>\n\t\t\t\t\t{this.enableHeader && (\n\t\t\t\t\t\t<p-table-header\n\t\t\t\t\t\t\t// quick filters\n\t\t\t\t\t\t\tquickFilters={this.quickFilters}\n\t\t\t\t\t\t\tactiveQuickFilterIdentifier={this.activeQuickFilterIdentifier}\n\t\t\t\t\t\t\tonQuickFilter={({ detail }) => this.quickFilter.emit(detail)}\n\t\t\t\t\t\t\t// search\n\t\t\t\t\t\t\tenableSearch={this.enableSearch}\n\t\t\t\t\t\t\tquery={this.query}\n\t\t\t\t\t\t\tonQueryChange={({ detail }) => this.queryChange.emit(detail)}\n\t\t\t\t\t\t\t// filter button\n\t\t\t\t\t\t\tenableFilter={this.enableFilter}\n\t\t\t\t\t\t\tselectedFiltersAmount={this.selectedFiltersAmount}\n\t\t\t\t\t\t\tfilterButtonTemplate={this.filterButtonTemplate}\n\t\t\t\t\t\t\tonFilter={() => this.filter.emit()}\n\t\t\t\t\t\t\t// action button\n\t\t\t\t\t\t\tenableAction={this.enableAction}\n\t\t\t\t\t\t\tactionIcon={this.actionButtonIcon}\n\t\t\t\t\t\t\tactionText={this.actionButtonText}\n\t\t\t\t\t\t\tactionLoading={this.actionButtonLoading}\n\t\t\t\t\t\t\tcanUseAction={this.actionButtonEnabled}\n\t\t\t\t\t\t\tactionButtonTemplate={this.actionButtonTemplate}\n\t\t\t\t\t\t\tonAction={() => this.action.emit()}\n\t\t\t\t\t\t\titemsSelectedAmount={this.selectedRows?.length}\n\t\t\t\t\t\t\t//loading\n\t\t\t\t\t\t\tloading={this.headerLoading}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this._hasCustomFilterSlot && (\n\t\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\t\tname='custom-filter'\n\t\t\t\t\t\t\t\t\tslot='custom-filter'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</p-table-header>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this._getHeader()}\n\t\t\t\t\t<div class='flex flex-1 flex-col'>{this._getRows()}</div>\n\n\t\t\t\t\t{this.enableFooter && (\n\t\t\t\t\t\t<p-table-footer\n\t\t\t\t\t\t\t// overall\n\t\t\t\t\t\t\thideOnSinglePage={this.hideOnSinglePage}\n\t\t\t\t\t\t\t// page size select\n\t\t\t\t\t\t\tenablePageSize={this.enablePageSize}\n\t\t\t\t\t\t\tpageSize={this.pageSize}\n\t\t\t\t\t\t\tpageSizeOptions={this.pageSizeOptions}\n\t\t\t\t\t\t\tonPageSizeChange={({ detail }) =>\n\t\t\t\t\t\t\t\tthis.pageSizeChange.emit(detail)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// pagination\n\t\t\t\t\t\t\tenablePagination={this.enablePagination}\n\t\t\t\t\t\t\tpage={this.page}\n\t\t\t\t\t\t\ttotal={this.total}\n\t\t\t\t\t\t\tonPageChange={({ detail }) => this.pageChange.emit(detail)}\n\t\t\t\t\t\t\t// export\n\t\t\t\t\t\t\tenableExport={this.enableExport}\n\t\t\t\t\t\t\tonExport={() => this.export.emit()}\n\t\t\t\t\t\t\t//loading\n\t\t\t\t\t\t\tloading={this.footerLoading}\n\t\t\t\t\t\t></p-table-footer>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.enableFloatingMenu && this._enableRowSelection ? (\n\t\t\t\t\t\t<p-floating-menu-container\n\t\t\t\t\t\t\tusedInTable={true}\n\t\t\t\t\t\t\tclass={`${this.selectedRows?.length ? '' : 'inactive'} ${\n\t\t\t\t\t\t\t\tthis._floatingMenuShown ? 'shown' : ''\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\thover={false}\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\tclass={\n\t\t\t\t\t\t\t\t\tthis._rowActionsFloating?.length ? 'hidden tablet:flex' : ''\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.floatingMenuAmountSelectedTemplate(\n\t\t\t\t\t\t\t\t\tthis.selectedRows?.length\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\tclass={`mx-0 text-storm ${\n\t\t\t\t\t\t\t\t\tthis._rowActionsFloating?.length ? 'hidden tablet:flex' : ''\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t{this._rowActionsFloating?.length &&\n\t\t\t\t\t\t\t\tthis._rowActionsFloating.map(a => (\n\t\t\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\t\t\tdisabled={a.disabled}\n\t\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\t\t!a.disabled &&\n\t\t\t\t\t\t\t\t\t\t\t!a.loading &&\n\t\t\t\t\t\t\t\t\t\t\t!!a.action &&\n\t\t\t\t\t\t\t\t\t\t\ta.type === 'single'\n\t\t\t\t\t\t\t\t\t\t\t\t? a.action(this.selectedRows[0], false)\n\t\t\t\t\t\t\t\t\t\t\t\t: a.action(this.selectedRows, true)\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{a.label}{' '}\n\t\t\t\t\t\t\t\t\t\t{a.loading ? (\n\t\t\t\t\t\t\t\t\t\t\t<p-loader></p-loader>\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\t\t\tvariant={a.icon}\n\t\t\t\t\t\t\t\t\t\t\t\trotate={a.iconRotate}\n\t\t\t\t\t\t\t\t\t\t\t\tflip={a.iconFlip}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t{this._rowActionsFloating?.length && (\n\t\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\t\tclass='mx-0 text-storm'\n\t\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\tonClick={() => this._selectAllChange(null, false)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<p-icon variant='negative' />\n\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t</p-floating-menu-container>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t''\n\t\t\t\t\t)}\n\t\t\t\t</p-table-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\t@Listen('tableDefinitionChanged', { target: 'body' })\n\tonTableDefinitionUpdated() {\n\t\tthis._generateColumns();\n\t}\n\n\t@Listen('keydown', { target: 'document' })\n\tkeyDown({ key }) {\n\t\tif (key !== 'Control' || this._ctrlDown === true) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = true;\n\t}\n\n\t@Listen('keyup', { target: 'document' })\n\tkeyUp({ key }) {\n\t\tif (key !== 'Control' || this._ctrlDown === false) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = false;\n\t}\n\n\t@Listen('visibilitychange', { target: 'document' })\n\tvisibilityChange() {\n\t\tif (document.visibilityState !== 'hidden' || this._ctrlDown === false) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = false;\n\t}\n\n\t@Watch('items')\n\tprivate _parseItems(items: string) {\n\t\tif (!items) {\n\t\t\tthis._items = [];\n\t\t\treturn;\n\t\t}\n\n\t\tif (Array.isArray(items)) {\n\t\t\tthis._items = items;\n\t\t\treturn;\n\t\t}\n\n\t\tthis._items = JSON.parse(items);\n\t}\n\n\t@Watch('enableRowSelection')\n\t@Watch('rowSelectionLimit')\n\t@Watch('selectedRows')\n\t@Listen('resize', { target: 'window' })\n\tprivate _setRowSelectionData() {\n\t\tif (this._resizeTimeout) {\n\t\t\tclearTimeout(this._resizeTimeout);\n\t\t}\n\n\t\t// We add a timeout here because it's a lot easier on the machine to do these when someone is done\n\t\t// resizing and playing around with their browser\n\t\tthis._resizeTimeout = setTimeout(() => {\n\t\t\tconst mobile = isMobile();\n\n\t\t\t// we hack this to any[] to make it work..\n\t\t\tconst actions = Array.from(\n\t\t\t\tthis._el.querySelectorAll(':scope > p-table-row-action')\n\t\t\t) as any[] as TableRowAction[];\n\t\t\tthis._rowActionsRow = actions.filter(\n\t\t\t\ta => a.type === 'both' || a.type === 'single'\n\t\t\t);\n\t\t\tthis._rowActionsFloatingAll = actions\n\t\t\t\t.filter(\n\t\t\t\t\ta =>\n\t\t\t\t\t\t(this.enableRowSelection &&\n\t\t\t\t\t\t\t(a.type === 'both' || a.type === 'multi')) ||\n\t\t\t\t\t\t(mobile && a.type === 'single')\n\t\t\t\t)\n\t\t\t\t.map(a => {\n\t\t\t\t\tif (a.type === 'single') {\n\t\t\t\t\t\ta.disabled = this.selectedRows?.length > 1;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn a;\n\t\t\t\t});\n\n\t\t\tlet rowSelectionLimit = this.rowSelectionLimit;\n\t\t\tif (\n\t\t\t\tmobile && // we're mobile\n\t\t\t\tthis._rowActionsFloatingAll?.length && // we have atleast 1 item in _rowActionsFloating\n\t\t\t\t((rowSelectionLimit !== undefined && this.enableRowSelection) ||\n\t\t\t\t\t!this.enableRowSelection)\n\t\t\t) {\n\t\t\t\trowSelectionLimit = 1;\n\t\t\t}\n\n\t\t\tthis._rowSelectionLimit = rowSelectionLimit;\n\n\t\t\tlet enableRowSelection = this.enableRowSelection;\n\t\t\tif (\n\t\t\t\tmobile && // we're mobile\n\t\t\t\tthis._rowActionsFloatingAll?.length && // we have atleast 1 item in _rowActionsFloating\n\t\t\t\t!enableRowSelection\n\t\t\t) {\n\t\t\t\tenableRowSelection = true;\n\t\t\t}\n\n\t\t\tthis._enableRowSelection = enableRowSelection;\n\n\t\t\tif (this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\t\t}, 200);\n\t}\n\n\tprivate _generateColumns() {\n\t\tconst definitions = this._el.querySelectorAll('p-table-column');\n\t\tlet definitionsArray = Array.from(definitions);\n\n\t\tdefinitionsArray = this._parseDefinitions(definitionsArray);\n\n\t\tthis._columns = definitionsArray;\n\t}\n\n\tprivate _getHeader() {\n\t\treturn (\n\t\t\t<p-table-row variant='header'>\n\t\t\t\t{this._columns.map((col: TableColumn, index) => (\n\t\t\t\t\t<p-table-cell\n\t\t\t\t\t\tdefinition={col}\n\t\t\t\t\t\tvalue={col.name}\n\t\t\t\t\t\tvariant='header'\n\t\t\t\t\t\tcheckbox={\n\t\t\t\t\t\t\tindex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t\t? this._getCheckbox(null, this.loading ? 'loading' : 'header')\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tindex={index}\n\t\t\t\t\t></p-table-cell>\n\t\t\t\t))}\n\t\t\t</p-table-row>\n\t\t);\n\t}\n\n\tprivate _getRows() {\n\t\tif (this.loading) {\n\t\t\treturn Array.from(\n\t\t\t\t{\n\t\t\t\t\tlength: this.amountOfLoadingRows,\n\t\t\t\t},\n\t\t\t\t(_, i) => (\n\t\t\t\t\t<p-table-row\n\t\t\t\t\t\tenableHover={this._enableRowSelection || this.enableRowClick}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this._getLoadingColumns(i)}\n\t\t\t\t\t</p-table-row>\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\tif (!this._items.length) {\n\t\t\treturn this._getEmptyState();\n\t\t}\n\n\t\treturn this._items.map((item, index) => (\n\t\t\t<p-table-row\n\t\t\t\tenableHover={this._enableRowSelection || this.enableRowClick}\n\t\t\t\tonClick={ev => this._rowClick(ev, index)}\n\t\t\t>\n\t\t\t\t{this._getRowColumns(item, index)}\n\t\t\t</p-table-row>\n\t\t));\n\t}\n\n\tprivate _getRowColumns(item, index) {\n\t\tconst actions = this._rowActionsRow.filter(a =>\n\t\t\ta.showFunction ? a.showFunction(item) : true\n\t\t);\n\n\t\tconst columns = this._columns.map((col: TableColumn, colIndex) => {\n\t\t\treturn (\n\t\t\t\t<p-table-cell\n\t\t\t\t\tdefinition={col}\n\t\t\t\t\titem={item}\n\t\t\t\t\tcheckbox={\n\t\t\t\t\t\tcolIndex === 0 || col.hasCheckbox ? this._getCheckbox(index) : null\n\t\t\t\t\t}\n\t\t\t\t\tindex={colIndex}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t\ttableHasActions={!!actions.length && !isMobile()}\n\t\t\t\t></p-table-cell>\n\t\t\t);\n\t\t});\n\n\t\tif (actions?.length && !isMobile()) {\n\t\t\tconst def = this._parseRowActionsRowDefinition();\n\n\t\t\tif (!actions.length) {\n\t\t\t\treturn columns;\n\t\t\t}\n\n\t\t\tcolumns.push(\n\t\t\t\t<p-table-cell\n\t\t\t\t\tvariant='actions'\n\t\t\t\t\tdefinition={def}\n\t\t\t\t\titem={item}\n\t\t\t\t\tindex={this._columns.length - 1}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t\ttableHasActions={true}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tslot='actions'\n\t\t\t\t\t\tclass='ml-auto flex items-center gap-2'\n\t\t\t\t\t>\n\t\t\t\t\t\t{actions.map(a => (\n\t\t\t\t\t\t\t<p-tooltip content={a.label}>\n\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\t\t\t\ticon={a.icon}\n\t\t\t\t\t\t\t\t\ticonRotate={a.iconRotate}\n\t\t\t\t\t\t\t\t\ticonFlip={a.iconFlip}\n\t\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\t\tsize='small'\n\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\ttypeof a.action === 'function' && a.action?.(item, false)\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</div>\n\t\t\t\t</p-table-cell>\n\t\t\t);\n\t\t}\n\n\t\treturn columns;\n\t}\n\n\tprivate _getLoadingColumns(index) {\n\t\treturn this._columns.map((col: TableColumn, colIndex) => {\n\t\t\treturn (\n\t\t\t\t<p-table-cell\n\t\t\t\t\tdefinition={col}\n\t\t\t\t\tvariant='loading'\n\t\t\t\t\tcheckbox={\n\t\t\t\t\t\tcolIndex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t? this._getCheckbox(index, 'loading')\n\t\t\t\t\t\t\t: null\n\t\t\t\t\t}\n\t\t\t\t\tindex={colIndex}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t></p-table-cell>\n\t\t\t);\n\t\t});\n\t}\n\n\tprivate _getCheckbox(\n\t\trowIndex: number,\n\t\tvariant: 'header' | 'default' | 'loading' = 'default'\n\t) {\n\t\tif (\n\t\t\t!this._enableRowSelection ||\n\t\t\t(!this.selectionKey && !this._rowActionsFloating?.length)\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (variant === 'loading') {\n\t\t\treturn (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-6 rounded'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tif (variant === 'header') {\n\t\t\treturn (\n\t\t\t\t<input\n\t\t\t\t\tclass={`p-input ${\n\t\t\t\t\t\tthis._rowSelectionLimit !== undefined && 'opacity-0'\n\t\t\t\t\t}`}\n\t\t\t\t\ttype='checkbox'\n\t\t\t\t\tonChange={ev => this._selectAllChange(ev)}\n\t\t\t\t\tchecked={this._selectionContainsAll()}\n\t\t\t\t\tindeterminate={this._selectionIndeterminate()}\n\t\t\t\t\tdisabled={this._rowSelectionLimit !== undefined}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tconst item = this._items[rowIndex];\n\n\t\tconst selectionContains = this._selectionContains(rowIndex);\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\tclass='p-input'\n\t\t\t\ttype='checkbox'\n\t\t\t\tonChange={ev => this._checkboxChange(ev?.target, rowIndex)}\n\t\t\t\tdisabled={\n\t\t\t\t\t(this.canSelectKey && !item[this.canSelectKey]) ||\n\t\t\t\t\t(this._rowSelectionLimit !== undefined &&\n\t\t\t\t\t\t!selectionContains &&\n\t\t\t\t\t\tthis.selectedRows.length === this._rowSelectionLimit)\n\t\t\t\t}\n\t\t\t\tchecked={selectionContains}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getEmptyState() {\n\t\tif (this.query?.length || this.selectedFiltersAmount) {\n\t\t\treturn (\n\t\t\t\t<div class='flex max-w-[20rem] flex-col items-center self-center py-24 text-center'>\n\t\t\t\t\t<p-illustration\n\t\t\t\t\t\tvariant='empty-state-search'\n\t\t\t\t\t\tclass='mb-6'\n\t\t\t\t\t/>\n\t\t\t\t\t<p class='text-storm-default font-semibold'>\n\t\t\t\t\t\t{this.emptyStateFilteredHeader()}\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='mb-14 text-sm text-storm-medium'>\n\t\t\t\t\t\t{this.emptyStateFilteredContent()}\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${\n\t\t\t\t\tthis.enableEmptyStateAction && 'cursor-pointer'\n\t\t\t\t}`}\n\t\t\t\tonClick={() =>\n\t\t\t\t\tthis.enableEmptyStateAction && this.emptyStateActionClick.emit(null)\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t<p-illustration\n\t\t\t\t\tvariant='empty-state-add'\n\t\t\t\t\tclass='mb-6'\n\t\t\t\t/>\n\t\t\t\t<p class='text-storm-default font-semibold'>\n\t\t\t\t\t{this.emptyStateHeader()}\n\t\t\t\t</p>\n\t\t\t\t<p class='mb-6 text-sm text-storm-medium'>{this.emptyStateContent()}</p>\n\t\t\t\t{this.enableEmptyStateAction && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\ticon='plus'\n\t\t\t\t\t\tsize='small'\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.emptyStateAction()}\n\t\t\t\t\t</p-button>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _selectAllChange($event: any, forceValue?: boolean) {\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst value =\n\t\t\tforceValue === undefined\n\t\t\t\t? this._getCheckedValue($event.target)\n\t\t\t\t: forceValue;\n\t\tif (value) {\n\t\t\tconst toAdd = [];\n\t\t\tfor (let i = 0; i < this._items.length; i++) {\n\t\t\t\tconst row = this._items[i];\n\t\t\t\tif (this.canSelectKey && !row[this.canSelectKey]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (this._selectionContains(i)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\ttoAdd.push(row);\n\t\t\t\tthis.rowSelected.emit(row);\n\n\t\t\t\tif (\n\t\t\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\t\t\tthis.selectedRows.length + toAdd.length === this._rowSelectionLimit\n\t\t\t\t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.selectedRows = [...this.selectedRows, ...toAdd];\n\t\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\t\tif (this.enableFloatingMenu && !this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tfor (let i = 0; i < this.selectedRows.length; i++) {\n\t\t\tconst value = this.selectedRows[i];\n\t\t\tconst row = this._items.find(\n\t\t\t\td => this._getSelectionValue(d, i) === this._getSelectionValue(value, i)\n\t\t\t);\n\n\t\t\tif (!row) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tthis.rowDeselected.emit(row);\n\t\t}\n\n\t\tthis.selectedRows = [];\n\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t}\n\n\tprivate _checkboxChange(target: any, index: number) {\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst value = this._getCheckedValue(target);\n\t\tif (\n\t\t\tvalue &&\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length >= this._rowSelectionLimit\n\t\t) {\n\t\t\ttarget.checked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tconst row = this._items[index];\n\n\t\tif (this.canSelectKey && !row[this.canSelectKey]) {\n\t\t\ttarget.checked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tif (value) {\n\t\t\tthis.selectedRows = [\n\t\t\t\t...this.selectedRows,\n\t\t\t\t{\n\t\t\t\t\t...row,\n\t\t\t\t\tindex,\n\t\t\t\t},\n\t\t\t];\n\t\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\t\tthis.rowSelected.emit(row);\n\n\t\t\tif (this.enableFloatingMenu && !this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst indexOfToRemove = this._selectionContains(index, true);\n\n\t\t// we need to do this, because splice does not trigger the selection setter.\n\t\tconst selection = [...this.selectedRows];\n\t\tselection.splice(indexOfToRemove, 1);\n\t\tthis.selectedRows = selection;\n\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\tthis.rowDeselected.emit(row);\n\t}\n\n\tprivate _getCheckedValue(target: any) {\n\t\treturn target?.checked;\n\t}\n\n\tprivate _getSelectionValue(row: any, index: number) {\n\t\treturn this.selectionKey ? row?.[this.selectionKey] || index : index;\n\t}\n\n\tprivate _selectionContains(index, returnIndex = false): any {\n\t\tconst returnValue = this.selectedRows.findIndex(\n\t\t\titem => item.index === index\n\t\t);\n\t\treturn !returnIndex ? returnValue >= 0 : returnValue;\n\t}\n\n\tprivate _selectionContainsAll() {\n\t\tlet returnValue = true;\n\t\tif (!this._items?.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length === this._rowSelectionLimit\n\t\t) {\n\t\t\treturn true;\n\t\t}\n\n\t\tfor (let i = 0; i < this._items?.length; i++) {\n\t\t\tconst contains = this._selectionContains(i);\n\n\t\t\tif (!contains) {\n\t\t\t\treturnValue = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn returnValue;\n\t}\n\n\tprivate _selectionIndeterminate() {\n\t\tif (!this._items?.length || !this.selectedRows?.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length === this._rowSelectionLimit\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlet containsCount = 0;\n\t\tfor (let i = 0; i < this._items?.length; i++) {\n\t\t\tconst contains = this._selectionContains(i);\n\n\t\t\tif (contains) {\n\t\t\t\tcontainsCount++;\n\t\t\t}\n\t\t}\n\n\t\treturn containsCount > 0 && containsCount !== this._items.length;\n\t}\n\n\tprivate _rowClick($event, index) {\n\t\tconst target = $event.target;\n\n\t\tif (\n\t\t\ttarget.tagName.toLowerCase() === 'input' ||\n\t\t\ttarget.type === 'checkbox'\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst row = this._findRow($event.target);\n\t\tconst action = this._findRowAction($event.target);\n\n\t\tif (action) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.enableRowClick) {\n\t\t\tconst item = this._items[index];\n\t\t\tthis.rowClick.emit({\n\t\t\t\titem,\n\t\t\t\tctrlDown: this._ctrlDown,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst checkbox = row?.querySelector('input[type=\"checkbox\"]');\n\n\t\tif (!checkbox) {\n\t\t\treturn;\n\t\t}\n\n\t\tcheckbox.checked = !checkbox.checked;\n\t\tthis._checkboxChange(checkbox, index);\n\t}\n\n\tprivate _findRow(el: HTMLElement) {\n\t\tif (!el) {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-table-row') {\n\t\t\treturn el;\n\t\t}\n\n\t\treturn this._findRow(el?.parentElement);\n\t}\n\n\tprivate _findRowAction(el: HTMLElement) {\n\t\tif (!el) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (\n\t\t\tel.getAttribute('data-is-action') !== null &&\n\t\t\tel.getAttribute('data-is-action') !== 'false'\n\t\t) {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-table-row') {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this._findRowAction(el?.parentElement);\n\t}\n\n\tprivate _showFloatingMenu() {\n\t\tlet actions = this._rowActionsFloatingAll;\n\t\tif (\n\t\t\tthis.rowSelectionLimit === 1 &&\n\t\t\tactions.findIndex(\n\t\t\t\ta => (a.type === 'single' || a.type === 'both') && a.showFunction\n\t\t\t) >= 0\n\t\t) {\n\t\t\tactions = actions.filter(\n\t\t\t\ta =>\n\t\t\t\t\ta.type === 'multi' ||\n\t\t\t\t\t!a.showFunction ||\n\t\t\t\t\ta.showFunction(this.selectedRows[0])\n\t\t\t);\n\t\t}\n\n\t\tthis._rowActionsFloating = actions;\n\t\tthis._floatingMenuShown = true;\n\t}\n\n\tprivate _parseDefinitions(definitionsArray: HTMLPTableColumnElement[]) {\n\t\tconst definitions = definitionsArray.map(definition => {\n\t\t\tdefinition = this._parseDefinitionSizes(definition);\n\t\t\tdefinition.isLast = {};\n\t\t\treturn definition;\n\t\t});\n\n\t\tconst matchedIsLast = tableColumSizesOptions.reduce(\n\t\t\t(data: { [key: string]: boolean }, size) => {\n\t\t\t\tdata[size] = false;\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\t{}\n\t\t);\n\n\t\tfor (let i = definitions.length - 1; i >= 0; i--) {\n\t\t\tconst definition = definitions[i];\n\n\t\t\tfor (const size of tableColumSizesOptions) {\n\t\t\t\tif (matchedIsLast[size]) {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (definition.parsedSizes![size] === 'hidden') {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tconst isLastAtSizeFound = this._findLastDefinitionBySize(\n\t\t\t\t\tdefinitions,\n\t\t\t\t\tsize\n\t\t\t\t);\n\t\t\t\tif (isLastAtSizeFound) {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tdefinition.isLast[size] = true;\n\t\t\t}\n\t\t}\n\n\t\treturn definitions;\n\t}\n\n\tprivate _findLastDefinitionBySize(\n\t\tdefinitions: HTMLPTableColumnElement[],\n\t\tsize: string\n\t) {\n\t\treturn definitions\n\t\t\t.slice()\n\t\t\t.reverse()\n\t\t\t.find(d => d.isLast[size] === true);\n\t}\n\n\tprivate _parseDefinitionSizes(definition: HTMLPTableColumnElement) {\n\t\tconst definitionAny = definition as any;\n\t\tlet parsedSizes: TableColumnSizes = { default: 'full' };\n\n\t\tif (\n\t\t\ttypeof definition.sizes === 'string' &&\n\t\t\t!['auto', 'hidden', 'full'].includes(definition.sizes)\n\t\t) {\n\t\t\tdefinition.sizes = JSON.parse(definition.sizes);\n\t\t}\n\n\t\tfor (const [index, size] of tableColumSizesOptions.entries()) {\n\t\t\tif (\n\t\t\t\tdefinitionAny.sizes === 'auto' ||\n\t\t\t\tdefinitionAny.sizes === 'hidden' ||\n\t\t\t\tdefinitionAny.sizes === 'full' ||\n\t\t\t\ttypeof definitionAny.sizes === 'number'\n\t\t\t) {\n\t\t\t\tparsedSizes[size] =\n\t\t\t\t\tdefinitionAny.sizes === 'auto' ? 'full' : definitionAny.sizes;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tparsedSizes[size] =\n\t\t\t\tdefinitionAny.sizes[size] ??\n\t\t\t\tparsedSizes[tableColumSizesOptions[index - 1]];\n\t\t}\n\n\t\tdefinition.parsedSizes = parsedSizes;\n\t\treturn definition;\n\t}\n\n\tprivate _parseRowActionsRowDefinition() {\n\t\tconst isLast = tableColumSizesOptions.reduce(\n\t\t\t(data: { [key: string]: boolean }, size) => {\n\t\t\t\tdata[size] = true;\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\t{}\n\t\t);\n\t\tconst sizes: TableColumnSizes = { default: 0 };\n\n\t\tfor (const size of tableColumSizesOptions) {\n\t\t\tconst lastColumn = this._findLastDefinitionBySize(this._columns, size);\n\t\t\tsizes[size] = lastColumn!.parsedSizes![size]!;\n\t\t}\n\n\t\treturn {\n\t\t\tisLast,\n\t\t\tsizes,\n\t\t\tparsedSizes: sizes,\n\t\t\talign: 'end',\n\t\t\ttype: 'td',\n\t\t\tpath: null,\n\t\t} as TableColumn;\n\t}\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-table.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAM,iBAAiB,GAAG,spGAAspG;;MCuCnqG,KAAK;;;;;;;;;;;;;;;;;IAsVT,2BAAsB,GAAqB,EAAE,CAAC;IAI9C,cAAS,GAAG,KAAK,CAAC;IAClB,yBAAoB,GAAG,KAAK,CAAC;IAC7B,0BAAqB,GAAG,KAAK,CAAC;IAC9B,uBAAkB,GAAG,KAAK,CAAC;;mBApVR,KAAK;yBAKC,KAAK;yBAKL,KAAK;+BAKA,CAAC;8BAKD,IAAI;;0BAUR,IAAI;wBAKR,EAAE;8BAKM,IAAI;8CAK+B,CACxE,MAAc;;MAEd,OAAA,iBAAiB,CAChB,OAAC,MAAM,KAAK,CAAC;UACV,MAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,0CAAE,eAAe;UAC5C,MAAA,IAAI,CAAC,QAAQ,CAAC,aAAa,0CAAE,sBAAsB,CACrD,0CAAE,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,CAChC,CAAA;KAAA;;;wBAyD8B,IAAI;wBAKE,EAAE;;wBAUR,IAAI;;wBAUJ,IAAI;+BAKG,IAAI;;;wBAeX,KAAK;+BAKE,KAAK;+BAKL,KAAK;4BAKJ,QAAQ;;;wBAiDhB,IAAI;0BAKF,IAAI;4BAKF,IAAI;wBAKR,IAAI;gBAKmB,CAAC;;oBAkB7B,WAAW;2BAKF,kBAAkB;4BAqBlB,IAAI;4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CAAC;QAC/D,SAAS;OACT;MAED,WAAW,CAAC,IAAI,CAAC;QAChB,MAAA,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,mCACzB,WAAW,CAAC,sBAAsB,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC;KAChD;IAED,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC;IACrC,OAAO,UAAU,CAAC;GAClB;EAEO,6BAA6B;IACpC,MAAM,MAAM,GAAG,sBAAsB,CAAC,MAAM,CAC3C,CAAC,IAAgC,EAAE,IAAI;MACtC,IAAI,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;MAClB,OAAO,IAAI,CAAC;KACZ,EACD,EAAE,CACF,CAAC;IACF,MAAM,KAAK,GAAqB,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAE/C,KAAK,MAAM,IAAI,IAAI,sBAAsB,EAAE;MAC1C,MAAM,UAAU,GAAG,IAAI,CAAC,yBAAyB,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC;MACvE,KAAK,CAAC,IAAI,CAAC,GAAG,UAAW,CAAC,WAAY,CAAC,IAAI,CAAE,CAAC;KAC9C;IAED,OAAO;MACN,MAAM;MACN,KAAK;MACL,WAAW,EAAE,KAAK;MAClB,KAAK,EAAE,KAAK;MACZ,IAAI,EAAE,IAAI;MACV,IAAI,EAAE,IAAI;KACK,CAAC;GACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/organisms/table/table.component.scss?tag=p-table","src/components/organisms/table/table.component.tsx"],"sourcesContent":["p-table {\n\t@apply relative flex flex-col;\n\n\t.p-input[type='checkbox'] {\n\t\tflex-shrink: 0;\n\t}\n\n\tp-table-container {\n\t\t@apply relative;\n\n\t\tp-floating-menu-container {\n\t\t\t@apply fixed bottom-4 left-1/2 -translate-x-1/2 transform;\n\t\t\tanimation: forwards floatingMenuContainerIn 0.3s ease !important;\n\n\t\t\t@screen tablet {\n\t\t\t\t@apply absolute bottom-16;\n\t\t\t}\n\n\t\t\t&:not(.shown) {\n\t\t\t\t@apply hidden;\n\t\t\t}\n\n\t\t\t&.inactive {\n\t\t\t\tanimation: forwards floatingMenuContainerOut 0.3s ease !important;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes floatingMenuContainerOut {\n\t0% {\n\t\tdisplay: flex;\n\t\ttransform: translateY(0) translateX(-50%);\n\t\topacity: 100;\n\t}\n\t99% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: flex;\n\t}\n\t100% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: none;\n\t}\n}\n\n@keyframes floatingMenuContainerIn {\n\t0% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: none;\n\t}\n\t1% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: flex;\n\t}\n\t100% {\n\t\ttransform: translateY(0) translateX(-50%);\n\t\topacity: 100;\n\t\tdisplay: flex;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { IconVariant } from '../../../components';\nimport { tableColumSizesOptions } from '../../../types/constants';\nimport {\n\tQuickFilter,\n\tRowClickEvent,\n\tTableColumnSizes,\n} from '../../../types/table';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n\tisMobile,\n} from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\nimport { TableRowAction } from '../../helpers/table-row-action/table-row-action.component';\nimport {\n\tdefaultSize,\n\tdefaultSizeOptions,\n} from '../../molecules/page-size-select/constants';\nimport { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';\n\nexport type templateFunc = () => string;\nexport type amountSelectedTemplateFunc = (amount: number) => string;\n\n@Component({\n\ttag: 'p-table',\n\tstyleUrl: 'table.component.scss',\n})\nexport class Table {\n\t/**\n\t * The items to be fed to the table\n\t */\n\t@Prop() items: string;\n\n\t/**\n\t * Wether data is loading\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether the header should show loading state\n\t */\n\t@Prop() headerLoading: boolean = false;\n\n\t/**\n\t * Wether the footer should show loading state\n\t */\n\t@Prop() footerLoading: boolean = false;\n\n\t/**\n\t * The amount of loading rows to show\n\t */\n\t@Prop() amountOfLoadingRows: number = 6;\n\n\t/**\n\t * Wether to enable selection\n\t */\n\t@Prop() enableRowSelection: boolean = true;\n\n\t/**\n\t * A limit to the amount of rows that can be selected\n\t */\n\t@Prop() rowSelectionLimit: number | undefined;\n\n\t/**\n\t * Wether to enable row clicking\n\t */\n\t@Prop() enableRowClick: boolean = true;\n\n\t/**\n\t * The current selection of items\n\t */\n\t@Prop() selectedRows: any[] = [];\n\n\t/**\n\t * Wether to enable the floating menu\n\t */\n\t@Prop() enableFloatingMenu: boolean = true;\n\n\t/**\n\t * The template for amount selected item in the floating menu\n\t */\n\t@Prop() floatingMenuAmountSelectedTemplate: amountSelectedTemplateFunc = (\n\t\tamount: number\n\t) =>\n\t\tformatTranslation(\n\t\t\t(amount === 1\n\t\t\t\t? this._locales.floating_menu?.amount_selected\n\t\t\t\t: this._locales.floating_menu?.amount_selected_plural\n\t\t\t)?.replace('{{amount}}', amount)\n\t\t);\n\n\t/**\n\t * Event whenever the current selection changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tselectedRowsChange: EventEmitter<any>;\n\n\t/**\n\t * The key to determine if a row is selected\n\t */\n\t@Prop() selectionKey: string;\n\n\t/**\n\t * A key to determine if a row can be selected\n\t */\n\t@Prop() canSelectKey: string;\n\n\t/**\n\t * Event whenever a row is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowClick: EventEmitter<RowClickEvent>;\n\n\t/**\n\t * Event whenever a row is selected\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowSelected: EventEmitter<any>;\n\n\t/**\n\t * Event whenever a row is deselected\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowDeselected: EventEmitter<any>;\n\n\t/**\n\t * Event when the table has rendered\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\thasRendered: EventEmitter<number>;\n\n\t/** START HEADER */\n\n\t/**\n\t * Wether to show the header\n\t */\n\t@Prop() enableHeader: boolean = true;\n\n\t/**\n\t * Quick filters to show\n\t */\n\t@Prop() quickFilters: QuickFilter[] = [];\n\n\t/**\n\t * Active quick filter identifier\n\t */\n\t@Prop() activeQuickFilterIdentifier: string;\n\n\t/**\n\t * Wether to show the search input\n\t */\n\t@Prop() enableSearch: boolean = true;\n\n\t/**\n\t * The query to show in the search bar\n\t */\n\t@Prop({ mutable: true }) query: string;\n\n\t/**\n\t * Wether to show the filter button\n\t */\n\t@Prop() enableFilter: boolean = true;\n\n\t/**\n\t * Wether to show the filter button on desktop\n\t */\n\t@Prop() enableFilterDesktop: boolean = true;\n\n\t/**\n\t * The amount of filters being selected\n\t */\n\t@Prop() selectedFiltersAmount: number;\n\n\t/**\n\t * The template for the filter button text\n\t */\n\t@Prop() filterButtonTemplate: templateFunc;\n\n\t/**\n\t * Wether to show the action button\n\t */\n\t@Prop() enableAction: boolean = false;\n\n\t/**\n\t * Wether the action button is loading\n\t */\n\t@Prop() actionButtonLoading: boolean = false;\n\n\t/**\n\t * Wether the action button is enabled\n\t */\n\t@Prop() actionButtonEnabled: boolean = false;\n\n\t/**\n\t * The action button icon\n\t */\n\t@Prop() actionButtonIcon: IconVariant = 'pencil';\n\n\t/**\n\t * The action button text if changed\n\t */\n\t@Prop() actionButtonText: string;\n\n\t/**\n\t * The template for the action button text\n\t */\n\t@Prop() actionButtonTemplate: buttonTemplateFunc;\n\n\t/**\n\t * Event when one of the quick filters is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tquickFilter: EventEmitter<QuickFilter>;\n\n\t/**\n\t * Event when the query changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tqueryChange: EventEmitter<string>;\n\n\t/**\n\t * Event when the filter button is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tfilter: EventEmitter<null>;\n\n\t/**\n\t * Event when the action button is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\taction: EventEmitter<null>;\n\n\t/** START FOOTER */\n\n\t/**\n\t * Wether to show the header\n\t */\n\t@Prop() enableFooter: boolean = true;\n\n\t/**\n\t * Wether to enable page size select\n\t */\n\t@Prop() enablePageSize: boolean = true;\n\n\t/**\n\t * Wether to enable pagination\n\t */\n\t@Prop() enablePagination: boolean = true;\n\n\t/**\n\t * Wether to enable export\n\t */\n\t@Prop() enableExport: boolean = true;\n\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = defaultSize;\n\n\t/**\n\t * The options for the page size\n\t */\n\t@Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageSizeChange: EventEmitter<number>;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\texport: EventEmitter<number>;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = true;\n\n\t/* Empty state start */\n\t@Prop() emptyStateHeader: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.header);\n\t@Prop() emptyStateContent: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.content);\n\t@Prop() emptyStateAction: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.action);\n\t/**\n\t * Wether to enable empty state action\n\t */\n\t@Prop() enableEmptyStateAction: boolean = true;\n\n\t@Prop() emptyStateFilteredHeader: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state.filtered.header);\n\t@Prop() emptyStateFilteredContent: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state.filtered.content);\n\n\t/**\n\t * Event whenever the empty state is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\temptyStateActionClick: EventEmitter<null>;\n\n\t/*\n\t * Wether to show the shadow or not\n\t */\n\t@Prop() shadow: boolean = true;\n\n\t/* Empty state end */\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\t@State() private _columns: any[] = [];\n\t@State() private _items: any[] = [];\n\n\t@State() private _enableRowSelection: boolean = this.enableRowSelection;\n\t@State() private _rowSelectionLimit: number | undefined;\n\n\tprivate _rowActionsFloatingAll: TableRowAction[] = [];\n\t@State() private _rowActionsFloating: TableRowAction[] = [];\n\t@State() private _rowActionsRow: TableRowAction[] = [];\n\n\tprivate _ctrlDown = false;\n\tprivate _hasCustomFilterSlot = false;\n\tprivate _hasCustomActionsSlot = false;\n\tprivate _floatingMenuShown = false;\n\tprivate _resizeTimeout: NodeJS.Timer;\n\n\tcomponentWillLoad() {\n\t\tthis._hasCustomFilterSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"custom-filter\"]'\n\t\t);\n\n\t\tthis._hasCustomActionsSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"custom-actions\"]'\n\t\t);\n\n\t\tthis._setRowSelectionData();\n\n\t\tthis._setLocales();\n\t\tthis._parseItems(this.items);\n\t\tthis._generateColumns();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.hasRendered.emit();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-table'>\n\t\t\t\t<p-table-container shadow={this.shadow}>\n\t\t\t\t\t{this.enableHeader && (\n\t\t\t\t\t\t<p-table-header\n\t\t\t\t\t\t\t// quick filters\n\t\t\t\t\t\t\tquickFilters={this.quickFilters}\n\t\t\t\t\t\t\tactiveQuickFilterIdentifier={this.activeQuickFilterIdentifier}\n\t\t\t\t\t\t\tonQuickFilter={({ detail }) => this.quickFilter.emit(detail)}\n\t\t\t\t\t\t\t// search\n\t\t\t\t\t\t\tenableSearch={this.enableSearch}\n\t\t\t\t\t\t\tquery={this.query}\n\t\t\t\t\t\t\tonQueryChange={({ detail }) => this.queryChange.emit(detail)}\n\t\t\t\t\t\t\t// filter button\n\t\t\t\t\t\t\tenableFilter={this.enableFilter}\n\t\t\t\t\t\t\tenableFilterDesktop={this.enableFilterDesktop}\n\t\t\t\t\t\t\tselectedFiltersAmount={this.selectedFiltersAmount}\n\t\t\t\t\t\t\tfilterButtonTemplate={this.filterButtonTemplate}\n\t\t\t\t\t\t\tonFilter={() => this.filter.emit()}\n\t\t\t\t\t\t\t// action button\n\t\t\t\t\t\t\tenableAction={this.enableAction}\n\t\t\t\t\t\t\tactionIcon={this.actionButtonIcon}\n\t\t\t\t\t\t\tactionText={this.actionButtonText}\n\t\t\t\t\t\t\tactionLoading={this.actionButtonLoading}\n\t\t\t\t\t\t\tcanUseAction={this.actionButtonEnabled}\n\t\t\t\t\t\t\tactionButtonTemplate={this.actionButtonTemplate}\n\t\t\t\t\t\t\tonAction={() => this.action.emit()}\n\t\t\t\t\t\t\titemsSelectedAmount={this.selectedRows?.length}\n\t\t\t\t\t\t\t//loading\n\t\t\t\t\t\t\tloading={this.headerLoading}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this._hasCustomFilterSlot && (\n\t\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\t\tname='custom-filter'\n\t\t\t\t\t\t\t\t\tslot='custom-filter'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{this._hasCustomActionsSlot && (\n\t\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\t\tname='custom-actions'\n\t\t\t\t\t\t\t\t\tslot='custom-actions'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</p-table-header>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this._getHeader()}\n\t\t\t\t\t<div class='flex flex-1 flex-col'>{this._getRows()}</div>\n\n\t\t\t\t\t{this.enableFooter && (\n\t\t\t\t\t\t<p-table-footer\n\t\t\t\t\t\t\t// overall\n\t\t\t\t\t\t\thideOnSinglePage={this.hideOnSinglePage}\n\t\t\t\t\t\t\t// page size select\n\t\t\t\t\t\t\tenablePageSize={this.enablePageSize}\n\t\t\t\t\t\t\tpageSize={this.pageSize}\n\t\t\t\t\t\t\tpageSizeOptions={this.pageSizeOptions}\n\t\t\t\t\t\t\tonPageSizeChange={({ detail }) =>\n\t\t\t\t\t\t\t\tthis.pageSizeChange.emit(detail)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// pagination\n\t\t\t\t\t\t\tenablePagination={this.enablePagination}\n\t\t\t\t\t\t\tpage={this.page}\n\t\t\t\t\t\t\ttotal={this.total}\n\t\t\t\t\t\t\tonPageChange={({ detail }) => this.pageChange.emit(detail)}\n\t\t\t\t\t\t\t// export\n\t\t\t\t\t\t\tenableExport={this.enableExport}\n\t\t\t\t\t\t\tonExport={() => this.export.emit()}\n\t\t\t\t\t\t\t//loading\n\t\t\t\t\t\t\tloading={this.footerLoading}\n\t\t\t\t\t\t></p-table-footer>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.enableFloatingMenu && this._enableRowSelection ? (\n\t\t\t\t\t\t<p-floating-menu-container\n\t\t\t\t\t\t\tusedInTable={true}\n\t\t\t\t\t\t\tclass={`${this.selectedRows?.length ? '' : 'inactive'} ${\n\t\t\t\t\t\t\t\tthis._floatingMenuShown ? 'shown' : ''\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\thover={false}\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\tclass={\n\t\t\t\t\t\t\t\t\tthis._rowActionsFloating?.length ? 'hidden tablet:flex' : ''\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.floatingMenuAmountSelectedTemplate(\n\t\t\t\t\t\t\t\t\tthis.selectedRows?.length\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\tclass={`mx-0 text-storm ${\n\t\t\t\t\t\t\t\t\tthis._rowActionsFloating?.length ? 'hidden tablet:flex' : ''\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t{this._rowActionsFloating?.length &&\n\t\t\t\t\t\t\t\tthis._rowActionsFloating.map(a => (\n\t\t\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\t\t\tdisabled={a.disabled}\n\t\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\t\t!a.disabled &&\n\t\t\t\t\t\t\t\t\t\t\t!a.loading &&\n\t\t\t\t\t\t\t\t\t\t\t!!a.action &&\n\t\t\t\t\t\t\t\t\t\t\ta.type === 'single'\n\t\t\t\t\t\t\t\t\t\t\t\t? a.action(this.selectedRows[0], false)\n\t\t\t\t\t\t\t\t\t\t\t\t: a.action(this.selectedRows, true)\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{a.label}{' '}\n\t\t\t\t\t\t\t\t\t\t{a.loading ? (\n\t\t\t\t\t\t\t\t\t\t\t<p-loader></p-loader>\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\t\t\tvariant={a.icon}\n\t\t\t\t\t\t\t\t\t\t\t\trotate={a.iconRotate}\n\t\t\t\t\t\t\t\t\t\t\t\tflip={a.iconFlip}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t{this._rowActionsFloating?.length && (\n\t\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\t\tclass='mx-0 text-storm'\n\t\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\tonClick={() => this._selectAllChange(null, false)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<p-icon variant='negative' />\n\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t</p-floating-menu-container>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t''\n\t\t\t\t\t)}\n\t\t\t\t</p-table-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\t@Listen('tableDefinitionChanged', { target: 'body' })\n\tonTableDefinitionUpdated() {\n\t\tthis._generateColumns();\n\t}\n\n\t@Listen('keydown', { target: 'document' })\n\tkeyDown({ key }) {\n\t\tif (key !== 'Control' || this._ctrlDown === true) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = true;\n\t}\n\n\t@Listen('keyup', { target: 'document' })\n\tkeyUp({ key }) {\n\t\tif (key !== 'Control' || this._ctrlDown === false) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = false;\n\t}\n\n\t@Listen('visibilitychange', { target: 'document' })\n\tvisibilityChange() {\n\t\tif (document.visibilityState !== 'hidden' || this._ctrlDown === false) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = false;\n\t}\n\n\t@Watch('items')\n\tprivate _parseItems(items: string) {\n\t\tif (!items) {\n\t\t\tthis._items = [];\n\t\t\treturn;\n\t\t}\n\n\t\tif (Array.isArray(items)) {\n\t\t\tthis._items = items;\n\t\t\treturn;\n\t\t}\n\n\t\tthis._items = JSON.parse(items);\n\t}\n\n\t@Watch('enableRowSelection')\n\t@Watch('rowSelectionLimit')\n\t@Watch('selectedRows')\n\t@Listen('resize', { target: 'window' })\n\tprivate _setRowSelectionData() {\n\t\tif (this._resizeTimeout) {\n\t\t\tclearTimeout(this._resizeTimeout);\n\t\t}\n\n\t\t// We add a timeout here because it's a lot easier on the machine to do these when someone is done\n\t\t// resizing and playing around with their browser\n\t\tthis._resizeTimeout = setTimeout(() => {\n\t\t\tconst mobile = isMobile();\n\n\t\t\t// we hack this to any[] to make it work..\n\t\t\tconst actions = Array.from(\n\t\t\t\tthis._el.querySelectorAll(':scope > p-table-row-action')\n\t\t\t) as any[] as TableRowAction[];\n\t\t\tthis._rowActionsRow = actions.filter(\n\t\t\t\ta => a.type === 'both' || a.type === 'single'\n\t\t\t);\n\t\t\tthis._rowActionsFloatingAll = actions\n\t\t\t\t.filter(\n\t\t\t\t\ta =>\n\t\t\t\t\t\t(this.enableRowSelection &&\n\t\t\t\t\t\t\t(a.type === 'both' || a.type === 'multi')) ||\n\t\t\t\t\t\t(mobile && a.type === 'single')\n\t\t\t\t)\n\t\t\t\t.map(a => {\n\t\t\t\t\tif (a.type === 'single') {\n\t\t\t\t\t\ta.disabled = this.selectedRows?.length > 1;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn a;\n\t\t\t\t});\n\n\t\t\tlet rowSelectionLimit = this.rowSelectionLimit;\n\t\t\tif (\n\t\t\t\tmobile && // we're mobile\n\t\t\t\tthis._rowActionsFloatingAll?.length && // we have atleast 1 item in _rowActionsFloating\n\t\t\t\t((rowSelectionLimit !== undefined && this.enableRowSelection) ||\n\t\t\t\t\t!this.enableRowSelection)\n\t\t\t) {\n\t\t\t\trowSelectionLimit = 1;\n\t\t\t}\n\n\t\t\tthis._rowSelectionLimit = rowSelectionLimit;\n\n\t\t\tlet enableRowSelection = this.enableRowSelection;\n\t\t\tif (\n\t\t\t\tmobile && // we're mobile\n\t\t\t\tthis._rowActionsFloatingAll?.length && // we have atleast 1 item in _rowActionsFloating\n\t\t\t\t!enableRowSelection\n\t\t\t) {\n\t\t\t\tenableRowSelection = true;\n\t\t\t}\n\n\t\t\tthis._enableRowSelection = enableRowSelection;\n\n\t\t\tif (this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\t\t}, 200);\n\t}\n\n\tprivate _generateColumns() {\n\t\tconst definitions = this._el.querySelectorAll('p-table-column');\n\t\tlet definitionsArray = Array.from(definitions);\n\n\t\tdefinitionsArray = this._parseDefinitions(definitionsArray);\n\n\t\tthis._columns = definitionsArray;\n\t}\n\n\tprivate _getHeader() {\n\t\treturn (\n\t\t\t<p-table-row variant='header'>\n\t\t\t\t{this._columns.map((col: TableColumn, index) => (\n\t\t\t\t\t<p-table-cell\n\t\t\t\t\t\tdefinition={col}\n\t\t\t\t\t\tvalue={col.name}\n\t\t\t\t\t\tvariant='header'\n\t\t\t\t\t\tcheckbox={\n\t\t\t\t\t\t\tindex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t\t? this._getCheckbox(null, this.loading ? 'loading' : 'header')\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tindex={index}\n\t\t\t\t\t></p-table-cell>\n\t\t\t\t))}\n\t\t\t</p-table-row>\n\t\t);\n\t}\n\n\tprivate _getRows() {\n\t\tif (this.loading) {\n\t\t\treturn Array.from(\n\t\t\t\t{\n\t\t\t\t\tlength: this.amountOfLoadingRows,\n\t\t\t\t},\n\t\t\t\t(_, i) => (\n\t\t\t\t\t<p-table-row\n\t\t\t\t\t\tenableHover={this._enableRowSelection || this.enableRowClick}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this._getLoadingColumns(i)}\n\t\t\t\t\t</p-table-row>\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\tif (!this._items.length) {\n\t\t\treturn this._getEmptyState();\n\t\t}\n\n\t\treturn this._items.map((item, index) => (\n\t\t\t<p-table-row\n\t\t\t\tenableHover={this._enableRowSelection || this.enableRowClick}\n\t\t\t\tonClick={ev => this._rowClick(ev, index)}\n\t\t\t>\n\t\t\t\t{this._getRowColumns(item, index)}\n\t\t\t</p-table-row>\n\t\t));\n\t}\n\n\tprivate _getRowColumns(item, index) {\n\t\tconst actions = this._rowActionsRow.filter(a =>\n\t\t\ta.showFunction ? a.showFunction(item) : true\n\t\t);\n\n\t\tconst columns = this._columns.map((col: TableColumn, colIndex) => {\n\t\t\treturn (\n\t\t\t\t<p-table-cell\n\t\t\t\t\tdefinition={col}\n\t\t\t\t\titem={item}\n\t\t\t\t\tcheckbox={\n\t\t\t\t\t\tcolIndex === 0 || col.hasCheckbox ? this._getCheckbox(index) : null\n\t\t\t\t\t}\n\t\t\t\t\tindex={colIndex}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t\ttableHasActions={!!actions.length && !isMobile()}\n\t\t\t\t></p-table-cell>\n\t\t\t);\n\t\t});\n\n\t\tif (actions?.length && !isMobile()) {\n\t\t\tconst def = this._parseRowActionsRowDefinition();\n\n\t\t\tif (!actions.length) {\n\t\t\t\treturn columns;\n\t\t\t}\n\n\t\t\tcolumns.push(\n\t\t\t\t<p-table-cell\n\t\t\t\t\tvariant='actions'\n\t\t\t\t\tdefinition={def}\n\t\t\t\t\titem={item}\n\t\t\t\t\tindex={this._columns.length - 1}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t\ttableHasActions={true}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tslot='actions'\n\t\t\t\t\t\tclass='ml-auto flex items-center gap-2'\n\t\t\t\t\t>\n\t\t\t\t\t\t{actions.map(a => (\n\t\t\t\t\t\t\t<p-tooltip content={a.label}>\n\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\t\t\t\ticon={a.icon}\n\t\t\t\t\t\t\t\t\ticonRotate={a.iconRotate}\n\t\t\t\t\t\t\t\t\ticonFlip={a.iconFlip}\n\t\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\ttypeof a.action === 'function' && a.action?.(item, false)\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</div>\n\t\t\t\t</p-table-cell>\n\t\t\t);\n\t\t}\n\n\t\treturn columns;\n\t}\n\n\tprivate _getLoadingColumns(index) {\n\t\treturn this._columns.map((col: TableColumn, colIndex) => {\n\t\t\treturn (\n\t\t\t\t<p-table-cell\n\t\t\t\t\tdefinition={col}\n\t\t\t\t\tvariant='loading'\n\t\t\t\t\tcheckbox={\n\t\t\t\t\t\tcolIndex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t? this._getCheckbox(index, 'loading')\n\t\t\t\t\t\t\t: null\n\t\t\t\t\t}\n\t\t\t\t\tindex={colIndex}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t></p-table-cell>\n\t\t\t);\n\t\t});\n\t}\n\n\tprivate _getCheckbox(\n\t\trowIndex: number,\n\t\tvariant: 'header' | 'default' | 'loading' = 'default'\n\t) {\n\t\tif (\n\t\t\t!this._enableRowSelection ||\n\t\t\t(!this.selectionKey && !this._rowActionsFloating?.length)\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (variant === 'loading') {\n\t\t\treturn (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-6 rounded'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tif (variant === 'header') {\n\t\t\treturn (\n\t\t\t\t<input\n\t\t\t\t\tclass={`p-input ${\n\t\t\t\t\t\tthis._rowSelectionLimit !== undefined && 'opacity-0'\n\t\t\t\t\t}`}\n\t\t\t\t\ttype='checkbox'\n\t\t\t\t\tonChange={ev => this._selectAllChange(ev)}\n\t\t\t\t\tchecked={this._selectionContainsAll()}\n\t\t\t\t\tindeterminate={this._selectionIndeterminate()}\n\t\t\t\t\tdisabled={this._rowSelectionLimit !== undefined}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tconst item = this._items[rowIndex];\n\n\t\tconst selectionContains = this._selectionContains(rowIndex);\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\tclass='p-input'\n\t\t\t\ttype='checkbox'\n\t\t\t\tonChange={ev => this._checkboxChange(ev?.target, rowIndex)}\n\t\t\t\tdisabled={\n\t\t\t\t\t(this.canSelectKey && !item[this.canSelectKey]) ||\n\t\t\t\t\t(this._rowSelectionLimit !== undefined &&\n\t\t\t\t\t\t!selectionContains &&\n\t\t\t\t\t\tthis.selectedRows.length === this._rowSelectionLimit)\n\t\t\t\t}\n\t\t\t\tchecked={selectionContains}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getEmptyState() {\n\t\tif (this.query?.length || this.selectedFiltersAmount) {\n\t\t\treturn (\n\t\t\t\t<div class='flex max-w-[20rem] flex-col items-center self-center py-24 text-center'>\n\t\t\t\t\t<p-illustration\n\t\t\t\t\t\tvariant='empty-state-search'\n\t\t\t\t\t\tclass='mb-6'\n\t\t\t\t\t/>\n\t\t\t\t\t<p class='text-storm-default font-semibold'>\n\t\t\t\t\t\t{this.emptyStateFilteredHeader()}\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='mb-14 text-sm text-storm-medium'>\n\t\t\t\t\t\t{this.emptyStateFilteredContent()}\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${\n\t\t\t\t\tthis.enableEmptyStateAction && 'cursor-pointer'\n\t\t\t\t}`}\n\t\t\t\tonClick={() =>\n\t\t\t\t\tthis.enableEmptyStateAction && this.emptyStateActionClick.emit(null)\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t<p-illustration\n\t\t\t\t\tvariant='empty-state-add'\n\t\t\t\t\tclass='mb-6'\n\t\t\t\t/>\n\t\t\t\t<p class='text-storm-default font-semibold'>\n\t\t\t\t\t{this.emptyStateHeader()}\n\t\t\t\t</p>\n\t\t\t\t<p class='mb-6 text-sm text-storm-medium'>{this.emptyStateContent()}</p>\n\t\t\t\t{this.enableEmptyStateAction && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\ticon='plus'\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.emptyStateAction()}\n\t\t\t\t\t</p-button>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _selectAllChange($event: any, forceValue?: boolean) {\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst value =\n\t\t\tforceValue === undefined\n\t\t\t\t? this._getCheckedValue($event.target)\n\t\t\t\t: forceValue;\n\t\tif (value) {\n\t\t\tconst toAdd = [];\n\t\t\tfor (let i = 0; i < this._items.length; i++) {\n\t\t\t\tconst row = this._items[i];\n\t\t\t\tif (this.canSelectKey && !row[this.canSelectKey]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (this._selectionContains(i)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\ttoAdd.push(row);\n\t\t\t\tthis.rowSelected.emit(row);\n\n\t\t\t\tif (\n\t\t\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\t\t\tthis.selectedRows.length + toAdd.length === this._rowSelectionLimit\n\t\t\t\t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.selectedRows = [...this.selectedRows, ...toAdd];\n\t\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\t\tif (this.enableFloatingMenu && !this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tfor (let i = 0; i < this.selectedRows.length; i++) {\n\t\t\tconst value = this.selectedRows[i];\n\t\t\tconst row = this._items.find(\n\t\t\t\td => this._getSelectionValue(d, i) === this._getSelectionValue(value, i)\n\t\t\t);\n\n\t\t\tif (!row) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tthis.rowDeselected.emit(row);\n\t\t}\n\n\t\tthis.selectedRows = [];\n\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t}\n\n\tprivate _checkboxChange(target: any, index: number) {\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst value = this._getCheckedValue(target);\n\t\tif (\n\t\t\tvalue &&\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length >= this._rowSelectionLimit\n\t\t) {\n\t\t\ttarget.checked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tconst row = this._items[index];\n\n\t\tif (this.canSelectKey && !row[this.canSelectKey]) {\n\t\t\ttarget.checked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tif (value) {\n\t\t\tthis.selectedRows = [\n\t\t\t\t...this.selectedRows,\n\t\t\t\t{\n\t\t\t\t\t...row,\n\t\t\t\t\tindex,\n\t\t\t\t},\n\t\t\t];\n\t\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\t\tthis.rowSelected.emit(row);\n\n\t\t\tif (this.enableFloatingMenu && !this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst indexOfToRemove = this._selectionContains(index, true);\n\n\t\t// we need to do this, because splice does not trigger the selection setter.\n\t\tconst selection = [...this.selectedRows];\n\t\tselection.splice(indexOfToRemove, 1);\n\t\tthis.selectedRows = selection;\n\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\tthis.rowDeselected.emit(row);\n\t}\n\n\tprivate _getCheckedValue(target: any) {\n\t\treturn target?.checked;\n\t}\n\n\tprivate _getSelectionValue(row: any, index: number) {\n\t\treturn this.selectionKey ? row?.[this.selectionKey] || index : index;\n\t}\n\n\tprivate _selectionContains(index, returnIndex = false): any {\n\t\tconst returnValue = this.selectedRows.findIndex(\n\t\t\titem => item.index === index\n\t\t);\n\t\treturn !returnIndex ? returnValue >= 0 : returnValue;\n\t}\n\n\tprivate _selectionContainsAll() {\n\t\tlet returnValue = true;\n\t\tif (!this._items?.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length === this._rowSelectionLimit\n\t\t) {\n\t\t\treturn true;\n\t\t}\n\n\t\tfor (let i = 0; i < this._items?.length; i++) {\n\t\t\tconst contains = this._selectionContains(i);\n\n\t\t\tif (!contains) {\n\t\t\t\treturnValue = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn returnValue;\n\t}\n\n\tprivate _selectionIndeterminate() {\n\t\tif (!this._items?.length || !this.selectedRows?.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length === this._rowSelectionLimit\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlet containsCount = 0;\n\t\tfor (let i = 0; i < this._items?.length; i++) {\n\t\t\tconst contains = this._selectionContains(i);\n\n\t\t\tif (contains) {\n\t\t\t\tcontainsCount++;\n\t\t\t}\n\t\t}\n\n\t\treturn containsCount > 0 && containsCount !== this._items.length;\n\t}\n\n\tprivate _rowClick($event, index) {\n\t\tconst target = $event.target;\n\n\t\tif (\n\t\t\ttarget.tagName.toLowerCase() === 'input' ||\n\t\t\ttarget.type === 'checkbox'\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst row = this._findRow($event.target);\n\t\tconst action = this._findRowAction($event.target);\n\n\t\tif (action) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.enableRowClick) {\n\t\t\tconst item = this._items[index];\n\t\t\tthis.rowClick.emit({\n\t\t\t\titem,\n\t\t\t\tctrlDown: this._ctrlDown,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst checkbox = row?.querySelector('input[type=\"checkbox\"]');\n\n\t\tif (!checkbox) {\n\t\t\treturn;\n\t\t}\n\n\t\tcheckbox.checked = !checkbox.checked;\n\t\tthis._checkboxChange(checkbox, index);\n\t}\n\n\tprivate _findRow(el: HTMLElement) {\n\t\tif (!el) {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-table-row') {\n\t\t\treturn el;\n\t\t}\n\n\t\treturn this._findRow(el?.parentElement);\n\t}\n\n\tprivate _findRowAction(el: HTMLElement) {\n\t\tif (!el) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (\n\t\t\tel.getAttribute('data-is-action') !== null &&\n\t\t\tel.getAttribute('data-is-action') !== 'false'\n\t\t) {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-table-row') {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this._findRowAction(el?.parentElement);\n\t}\n\n\tprivate _showFloatingMenu() {\n\t\tlet actions = this._rowActionsFloatingAll;\n\t\tif (\n\t\t\tthis.rowSelectionLimit === 1 &&\n\t\t\tactions.findIndex(\n\t\t\t\ta => (a.type === 'single' || a.type === 'both') && a.showFunction\n\t\t\t) >= 0\n\t\t) {\n\t\t\tactions = actions.filter(\n\t\t\t\ta =>\n\t\t\t\t\ta.type === 'multi' ||\n\t\t\t\t\t!a.showFunction ||\n\t\t\t\t\ta.showFunction(this.selectedRows[0])\n\t\t\t);\n\t\t}\n\n\t\tthis._rowActionsFloating = actions;\n\t\tthis._floatingMenuShown = true;\n\t}\n\n\tprivate _parseDefinitions(definitionsArray: HTMLPTableColumnElement[]) {\n\t\tconst definitions = definitionsArray.map(definition => {\n\t\t\tdefinition = this._parseDefinitionSizes(definition);\n\t\t\tdefinition.isLast = {};\n\t\t\treturn definition;\n\t\t});\n\n\t\tconst matchedIsLast = tableColumSizesOptions.reduce(\n\t\t\t(data: { [key: string]: boolean }, size) => {\n\t\t\t\tdata[size] = false;\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\t{}\n\t\t);\n\n\t\tfor (let i = definitions.length - 1; i >= 0; i--) {\n\t\t\tconst definition = definitions[i];\n\n\t\t\tfor (const size of tableColumSizesOptions) {\n\t\t\t\tif (matchedIsLast[size]) {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (definition.parsedSizes![size] === 'hidden') {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tconst isLastAtSizeFound = this._findLastDefinitionBySize(\n\t\t\t\t\tdefinitions,\n\t\t\t\t\tsize\n\t\t\t\t);\n\t\t\t\tif (isLastAtSizeFound) {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tdefinition.isLast[size] = true;\n\t\t\t}\n\t\t}\n\n\t\treturn definitions;\n\t}\n\n\tprivate _findLastDefinitionBySize(\n\t\tdefinitions: HTMLPTableColumnElement[],\n\t\tsize: string\n\t) {\n\t\treturn definitions\n\t\t\t.slice()\n\t\t\t.reverse()\n\t\t\t.find(d => d.isLast[size] === true);\n\t}\n\n\tprivate _parseDefinitionSizes(definition: HTMLPTableColumnElement) {\n\t\tconst definitionAny = definition as any;\n\t\tlet parsedSizes: TableColumnSizes = { default: 'full' };\n\n\t\tif (\n\t\t\ttypeof definition.sizes === 'string' &&\n\t\t\t!['auto', 'hidden', 'full'].includes(definition.sizes)\n\t\t) {\n\t\t\tdefinition.sizes = JSON.parse(definition.sizes);\n\t\t}\n\n\t\tfor (const [index, size] of tableColumSizesOptions.entries()) {\n\t\t\tif (\n\t\t\t\tdefinitionAny.sizes === 'auto' ||\n\t\t\t\tdefinitionAny.sizes === 'hidden' ||\n\t\t\t\tdefinitionAny.sizes === 'full' ||\n\t\t\t\ttypeof definitionAny.sizes === 'number'\n\t\t\t) {\n\t\t\t\tparsedSizes[size] =\n\t\t\t\t\tdefinitionAny.sizes === 'auto' ? 'full' : definitionAny.sizes;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tparsedSizes[size] =\n\t\t\t\tdefinitionAny.sizes[size] ??\n\t\t\t\tparsedSizes[tableColumSizesOptions[index - 1]];\n\t\t}\n\n\t\tdefinition.parsedSizes = parsedSizes;\n\t\treturn definition;\n\t}\n\n\tprivate _parseRowActionsRowDefinition() {\n\t\tconst isLast = tableColumSizesOptions.reduce(\n\t\t\t(data: { [key: string]: boolean }, size) => {\n\t\t\t\tdata[size] = true;\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\t{}\n\t\t);\n\t\tconst sizes: TableColumnSizes = { default: 0 };\n\n\t\tfor (const size of tableColumSizesOptions) {\n\t\t\tconst lastColumn = this._findLastDefinitionBySize(this._columns, size);\n\t\t\tsizes[size] = lastColumn!.parsedSizes![size]!;\n\t\t}\n\n\t\treturn {\n\t\t\tisLast,\n\t\t\tsizes,\n\t\t\tparsedSizes: sizes,\n\t\t\talign: 'end',\n\t\t\ttype: 'td',\n\t\t\tpath: null,\n\t\t} as TableColumn;\n\t}\n}\n"],"version":3}
|
|
@@ -3,7 +3,7 @@ import { d as defineCustomElement$4 } from './button.component.js';
|
|
|
3
3
|
import { d as defineCustomElement$3 } from './icon.component.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './loader.component.js';
|
|
5
5
|
|
|
6
|
-
const toastComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border-l-4{border-left-width:4px!important}.border-solid{border-style:solid!important}.border-l-negative{--tw-border-opacity:1!important;border-left-color:rgb(185 30 40/var(--tw-border-opacity))!important}.border-l-positive{--tw-border-opacity:1!important;border-left-color:rgb(40 209 124/var(--tw-border-opacity))!important}.border-l-unbiased{--tw-border-opacity:1!important;border-left-color:rgb(255 199 45/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.shadow-
|
|
6
|
+
const toastComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border-l-4{border-left-width:4px!important}.border-solid{border-style:solid!important}.border-l-negative{--tw-border-opacity:1!important;border-left-color:rgb(185 30 40/var(--tw-border-opacity,1))!important}.border-l-positive{--tw-border-opacity:1!important;border-left-color:rgb(40 209 124/var(--tw-border-opacity,1))!important}.border-l-unbiased{--tw-border-opacity:1!important;border-left-color:rgb(255 199 45/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.shadow-3{--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-left-width:4px!important;border-radius:.25rem;border-style:solid!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;box-sizing:border-box;display:flex;gap:.5rem;justify-content:space-between;padding:1rem 1rem 1rem 1.25rem;width:100%}:host p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.variant-positive){--tw-border-opacity:1!important;border-left-color:rgb(40 209 124/var(--tw-border-opacity,1))!important}:host(.variant-unbiased){--tw-border-opacity:1!important;border-left-color:rgb(255 199 45/var(--tw-border-opacity,1))!important}:host(.variant-negative){--tw-border-opacity:1!important;border-left-color:rgb(185 30 40/var(--tw-border-opacity,1))!important}.static{position:static!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.flex-col{flex-direction:column!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm{--tw-text-opacity:1!important;color:rgb(81 83 107/var(--tw-text-opacity,1))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity,1))!important}";
|
|
7
7
|
|
|
8
8
|
const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -21,7 +21,7 @@ const Toast = /*@__PURE__*/ proxyCustomElement(class Toast extends HTMLElement {
|
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
23
|
var _a, _b;
|
|
24
|
-
return (h(Host, { class: `p-toast variant-${this.variant}`, onClick: () => this._onClick() }, h("div", { class:
|
|
24
|
+
return (h(Host, { class: `p-toast variant-${this.variant}`, onClick: () => this._onClick() }, h("div", { class: 'flex w-full min-w-0 flex-col' }, h("p", { class: 'font-semibold text-storm' }, ((_a = this.header) === null || _a === void 0 ? void 0 : _a.length) ? this.header : h("slot", { name: 'header' })), h("p", { class: 'w-full text-sm text-storm-medium' }, ((_b = this.content) === null || _b === void 0 ? void 0 : _b.length) ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("p-button", { variant: 'secondary', iconOnly: true, size: 'sm', icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' }))));
|
|
25
25
|
}
|
|
26
26
|
_onClick() {
|
|
27
27
|
if (this.enableAction) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-toast.js","mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,
|
|
1
|
+
{"file":"p-toast.js","mappings":";;;;;AAAA,MAAM,iBAAiB,GAAG,kvFAAkvF;;MCS/vF,KAAK;;;;;;mBAIuC,UAAU;;;wBAelC,IAAI;sBAKF,UAAU;;;;EAoB5C,MAAM;;IACL,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,mBAAmB,IAAI,CAAC,OAAO,EAAE,EACxC,OAAO,EAAE,MAAM,IAAI,CAAC,QAAQ,EAAE,IAE9B,WAAK,KAAK,EAAC,8BAA8B,IACxC,SAAG,KAAK,EAAC,0BAA0B,IACjC,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,MAAM,IAAG,IAAI,CAAC,MAAM,GAAG,YAAM,IAAI,EAAC,QAAQ,GAAG,CACxD,EACJ,SAAG,KAAK,EAAC,kCAAkC,IACzC,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,MAAM,IAAG,IAAI,CAAC,OAAO,GAAG,YAAM,IAAI,EAAC,SAAS,GAAG,CAC3D,CACC,EAEL,IAAI,CAAC,YAAY,KACjB,gBACC,OAAO,EAAC,WAAW,EACnB,QAAQ,QACR,IAAI,EAAC,IAAI,EACT,IAAI,EAAE,IAAI,CAAC,UAAU,EACrB,QAAQ,EAAE,IAAI,CAAC,cAAc,EAC7B,UAAU,EAAE,IAAI,CAAC,gBAAgB,EACjC,KAAK,EAAC,eAAe,GACpB,CACF,CACK,EACN;GACF;EAEO,QAAQ;IACf,IAAI,IAAI,CAAC,YAAY,EAAE;MACtB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;KACnB;GACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/molecules/toast/toast.component.scss?tag=p-toast&encapsulation=shadow","src/components/molecules/toast/toast.component.tsx"],"sourcesContent":[":host {\n\t@apply flex justify-between items-center gap-2;\n\t@apply w-full p-4 pl-5;\n\t@apply bg-white rounded box-border;\n\t@apply shadow-3 #{!important};\n\t@apply border-l-4 border-solid #{!important};\n\n\tp {\n\t\t@apply m-0;\n\t\t@apply overflow-hidden text-ellipsis whitespace-nowrap;\n\t}\n}\n\n:host(.variant-positive) {\n\t@apply border-l-positive #{!important};\n}\n\n:host(.variant-unbiased) {\n\t@apply border-l-unbiased #{!important};\n}\n\n:host(.variant-negative) {\n\t@apply border-l-negative #{!important};\n}\n","import { Component, Event, EventEmitter, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-toast',\n\tstyleUrl: 'toast.component.scss',\n\tshadow: true,\n})\nexport class Toast {\n\t/**\n\t * The variant of the toast\n\t */\n\t@Prop() variant: 'positive' | 'unbiased' | 'negative' = 'positive';\n\n\t/**\n\t * The header of the toast\n\t */\n\t@Prop() header?: string;\n\n\t/**\n\t * The content of the toast\n\t */\n\t@Prop() content?: string;\n\n\t/**\n\t * Wether to enable the close button\n\t */\n\t@Prop() enableAction: boolean = true;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() actionIcon: IconVariant = 'negative';\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() actionIconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() actionIconRotate: RotateOptions;\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\taction: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-toast variant-${this.variant}`}\n\t\t\t\tonClick={() => this._onClick()}\n\t\t\t>\n\t\t\t\t<div class='flex w-full min-w-0 flex-col'>\n\t\t\t\t\t<p class='font-semibold text-storm'>\n\t\t\t\t\t\t{this.header?.length ? this.header : <slot name='header' />}\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='w-full text-sm text-storm-medium'>\n\t\t\t\t\t\t{this.content?.length ? this.content : <slot name='content' />}\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\n\t\t\t\t{this.enableAction && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\ticonOnly\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\ticon={this.actionIcon}\n\t\t\t\t\t\ticonFlip={this.actionIconFlip}\n\t\t\t\t\t\ticonRotate={this.actionIconRotate}\n\t\t\t\t\t\tclass='flex-shrink-0'\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onClick() {\n\t\tif (this.enableAction) {\n\t\t\tthis.action.emit();\n\t\t}\n\t}\n}\n"],"version":3}
|
|
@@ -16,12 +16,12 @@ const PageSizeSelect = /*@__PURE__*/ proxyCustomElement(class PageSizeSelect ext
|
|
|
16
16
|
this.__registerHost();
|
|
17
17
|
this.__attachShadow();
|
|
18
18
|
this.sizeChange = createEvent(this, "sizeChange", 3);
|
|
19
|
-
this._defaultButtonTemplate =
|
|
20
|
-
this._defaultItemTemplate =
|
|
19
|
+
this._defaultButtonTemplate = size => formatTranslation(this._locales.item, { size });
|
|
20
|
+
this._defaultItemTemplate = size => formatTranslation(this._locales.item, { size });
|
|
21
21
|
this.size = defaultSize;
|
|
22
22
|
this.sizeOptions = defaultSizeOptions;
|
|
23
23
|
this.chevronPosition = 'start';
|
|
24
|
-
this.buttonSize = '
|
|
24
|
+
this.buttonSize = 'sm';
|
|
25
25
|
this.buttonTemplate = this._defaultButtonTemplate;
|
|
26
26
|
this.itemTemplate = this._defaultItemTemplate;
|
|
27
27
|
this.hidden = false;
|
|
@@ -31,9 +31,9 @@ const PageSizeSelect = /*@__PURE__*/ proxyCustomElement(class PageSizeSelect ext
|
|
|
31
31
|
this._setLocales();
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { class: `p-page-size-select ${this.hidden && 'hidden'}` }, h("p-dropdown", { placement:
|
|
34
|
+
return (h(Host, { class: `p-page-size-select ${this.hidden && 'hidden'}` }, h("p-dropdown", { placement: 'top-start', chevronPosition: this.chevronPosition, chevronDirection: 'down' }, h("p-button", { variant: 'secondary', slot: 'trigger', size: this.buttonSize }, this.buttonTemplate
|
|
35
35
|
? this.buttonTemplate(this.size)
|
|
36
|
-
: this._defaultButtonTemplate(this.size)), h("slot", { slot:
|
|
36
|
+
: this._defaultButtonTemplate(this.size)), h("slot", { slot: 'items' }, this.sizeOptions.map(option => (h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
|
|
37
37
|
? this.itemTemplate(option)
|
|
38
38
|
: this._defaultItemTemplate(option))))))));
|
|
39
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"page-size-select.component.js","mappings":";;;;;;;;;MAAa,WAAW,GAAG,GAAG;MACjB,kBAAkB,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG;;MCsBrC,cAAc;;;;;;IAClB,2BAAsB,GAAiB,
|
|
1
|
+
{"file":"page-size-select.component.js","mappings":";;;;;;;;;MAAa,WAAW,GAAG,GAAG;MACjB,kBAAkB,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG;;MCsBrC,cAAc;;;;;;IAClB,2BAAsB,GAAiB,IAAI,IAClD,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IACzC,yBAAoB,GAAiB,IAAI,IAChD,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;gBAIM,WAAW;uBAKlC,kBAAkB;2BAaP,OAAO;sBAKd,IAAI;0BAKD,IAAI,CAAC,sBAAsB;wBAK7B,IAAI,CAAC,oBAAoB;kBAUpC,KAAK;oBAKE,EAAE;;EAEnC,iBAAiB;IAChB,IAAI,CAAC,WAAW,EAAE,CAAC;GACnB;EAED,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,sBAAsB,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,IAC3D,kBACC,SAAS,EAAC,WAAW,EACrB,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,gBAAgB,EAAC,MAAM,IAEvB,gBACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,SAAS,EACd,IAAI,EAAE,IAAI,CAAC,UAAU,IAEpB,IAAI,CAAC,cAAc;QACjB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;QAC9B,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CAC/B,EACX,YAAM,IAAI,EAAC,OAAO,IAChB,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,MAAM,KAC3B,4BACC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC,IAAI,EAC5B,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAEtC,IAAI,CAAC,YAAY;QACf,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC;QACzB,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,CACd,CACvB,CAAC,CACI,CACK,CACP,EACN;GACF;EAGO,MAAM,WAAW;IACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;GAC1D;EAEO,WAAW,CAAC,CAAU;IAC7B,IAAI,CAAC,CAAC,EAAE;MACP,OAAO;KACP;IAED,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;IACd,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GAChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/molecules/page-size-select/constants.tsx","src/components/molecules/page-size-select/page-size-select.component.tsx"],"sourcesContent":["export const defaultSize = 12;\nexport const defaultSizeOptions = [12, 24, 68, 136];\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from './constants';\n\nexport type templateFunc = (value: number) => string;\n\n@Component({\n\ttag: 'p-page-size-select',\n\tshadow: true,\n})\nexport class PageSizeSelect {\n\tprivate _defaultButtonTemplate: templateFunc = size =>\n\t\tformatTranslation(this._locales.item, { size });\n\tprivate _defaultItemTemplate: templateFunc = size =>\n\t\tformatTranslation(this._locales.item, { size });\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) size: number = defaultSize;\n\n\t/**\n\t * The available sizes\n\t */\n\t@Prop() sizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the size changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tsizeChange: EventEmitter<number>;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The size of the button\n\t */\n\t@Prop() buttonSize: 'sm' | 'base' = 'sm';\n\n\t/**\n\t * The template for the data view\n\t */\n\t@Prop() buttonTemplate: templateFunc = this._defaultButtonTemplate;\n\n\t/**\n\t * The template for the data view\n\t */\n\t@Prop() itemTemplate: templateFunc = this._defaultItemTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hidden: boolean = false;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-page-size-select ${this.hidden && 'hidden'}`}>\n\t\t\t\t<p-dropdown\n\t\t\t\t\tplacement='top-start'\n\t\t\t\t\tchevronPosition={this.chevronPosition}\n\t\t\t\t\tchevronDirection='down'\n\t\t\t\t>\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tsize={this.buttonSize}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.buttonTemplate\n\t\t\t\t\t\t\t? this.buttonTemplate(this.size)\n\t\t\t\t\t\t\t: this._defaultButtonTemplate(this.size)}\n\t\t\t\t\t</p-button>\n\t\t\t\t\t<slot slot='items'>\n\t\t\t\t\t\t{this.sizeOptions.map(option => (\n\t\t\t\t\t\t\t<p-dropdown-menu-item\n\t\t\t\t\t\t\t\tactive={option === this.size}\n\t\t\t\t\t\t\t\tonClick={() => this._changeSize(option)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.itemTemplate\n\t\t\t\t\t\t\t\t\t? this.itemTemplate(option)\n\t\t\t\t\t\t\t\t\t: this._defaultItemTemplate(option)}\n\t\t\t\t\t\t\t</p-dropdown-menu-item>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</slot>\n\t\t\t\t</p-dropdown>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _changeSize(s?: number) {\n\t\tif (!s) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.size = s;\n\t\tthis.sizeChange.emit(this.size);\n\t}\n}\n"],"version":3}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const paginationItemComponentCss = ".flex{display:flex!important}.h-8{height:2rem!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.font-semibold{font-weight:600!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(128 130 158/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;height:2rem;justify-content:center;line-height:1.25rem;width:2rem}:host(:focus),:host(:hover){--tw-text-opacity:1;color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}";
|
|
3
|
+
const paginationItemComponentCss = ".flex{display:flex!important}.h-8{height:2rem!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.font-semibold{font-weight:600!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity,1))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity,1))!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(128 130 158/var(--tw-text-opacity,1));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;height:2rem;justify-content:center;line-height:1.25rem;width:2rem}:host(:focus),:host(:hover){--tw-text-opacity:1;color:rgb(81 83 107/var(--tw-text-opacity,1))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1));color:rgb(82 138 250/var(--tw-text-opacity,1))}.static{position:static!important}";
|
|
4
4
|
|
|
5
5
|
const PaginationItem = /*@__PURE__*/ proxyCustomElement(class PaginationItem extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"pagination-item.component.js","mappings":";;AAAA,MAAM,0BAA0B,GAAG,
|
|
1
|
+
{"file":"pagination-item.component.js","mappings":";;AAAA,MAAM,0BAA0B,GAAG,k7BAAk7B;;MCOx8B,cAAc;;;;;kBAIA,KAAK;;EAE/B,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,qBAAqB,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,IAC1D,eAAQ,CACF,EACN;GACF;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/atoms/pagination-item/pagination-item.component.scss?tag=p-pagination-item&encapsulation=shadow","src/components/atoms/pagination-item/pagination-item.component.tsx"],"sourcesContent":[":host {\n\t@apply h-8 w-8;\n\t@apply flex justify-center items-center;\n\t@apply font-semibold text-storm-medium text-sm;\n\t@apply rounded;\n\t@apply cursor-pointer;\n}\n\n:host(:hover),\n:host(:focus) {\n\t@apply text-storm;\n}\n\n:host(.active) {\n\t@apply text-indigo bg-indigo-light;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-pagination-item',\n\tstyleUrl: 'pagination-item.component.scss',\n\tshadow: true,\n})\nexport class PaginationItem {\n\t/**\n\t * Wether the pagination item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-pagination-item ${this.active && 'active'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
|
|
@@ -38,15 +38,15 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends HTM
|
|
|
38
38
|
const set = [];
|
|
39
39
|
const previous = {
|
|
40
40
|
type: 'previous',
|
|
41
|
-
value: h("p-icon", { variant:
|
|
41
|
+
value: (h("p-icon", { variant: 'caret', rotate: 90 })),
|
|
42
42
|
};
|
|
43
43
|
const next = {
|
|
44
44
|
type: 'next',
|
|
45
|
-
value: h("p-icon", { variant:
|
|
45
|
+
value: (h("p-icon", { variant: 'caret', rotate: -90 })),
|
|
46
46
|
};
|
|
47
47
|
// Disable page range, display all the pages
|
|
48
48
|
if (range === null) {
|
|
49
|
-
const p = this._pages.map(
|
|
49
|
+
const p = this._pages.map(p => ({
|
|
50
50
|
type: 'page',
|
|
51
51
|
value: p,
|
|
52
52
|
}));
|
|
@@ -111,7 +111,7 @@ const Pagination = /*@__PURE__*/ proxyCustomElement(class Pagination extends HTM
|
|
|
111
111
|
}
|
|
112
112
|
render() {
|
|
113
113
|
var _a, _b;
|
|
114
|
-
return (h(Host, { class: `p-pagination ${this.hideOnSinglePage && ((_a = this._set) === null || _a === void 0 ? void 0 : _a.length) === 3 && 'hidden'}` }, (_b = this._set) === null || _b === void 0 ? void 0 : _b.map(
|
|
114
|
+
return (h(Host, { class: `p-pagination ${this.hideOnSinglePage && ((_a = this._set) === null || _a === void 0 ? void 0 : _a.length) === 3 && 'hidden'}` }, (_b = this._set) === null || _b === void 0 ? void 0 : _b.map(p => {
|
|
115
115
|
if (p.type === 'previous' || p.type === 'next') {
|
|
116
116
|
return (h("p-pagination-item", { onClick: () => p.type === 'previous'
|
|
117
117
|
? this._previousClick()
|