@paperless/core 2.0.1-beta.2 → 2.0.1-beta.21
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 +300 -0
- package/dist/assets/i18n/field-container.i18n.en.json +3 -0
- package/dist/assets/i18n/field-container.i18n.nl.json +3 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/p-020a97e3.entry.js +2 -0
- package/dist/build/p-020a97e3.entry.js.map +1 -0
- package/dist/build/p-036bb6f4.entry.js +2 -0
- package/dist/build/p-036bb6f4.entry.js.map +1 -0
- package/dist/build/p-0413fcd0.entry.js +2 -0
- package/dist/build/p-0413fcd0.entry.js.map +1 -0
- package/dist/build/p-0bbd4d1c.entry.js +2 -0
- package/dist/build/p-0bbd4d1c.entry.js.map +1 -0
- package/dist/build/p-0c040d86.entry.js +2 -0
- package/dist/build/p-0c040d86.entry.js.map +1 -0
- package/dist/build/p-0e1935d5.entry.js +2 -0
- package/dist/build/p-0e1935d5.entry.js.map +1 -0
- package/dist/build/p-14e63599.entry.js +2 -0
- package/dist/build/p-14e63599.entry.js.map +1 -0
- package/dist/build/p-170077a4.js +2 -0
- package/dist/build/p-170077a4.js.map +1 -0
- package/dist/build/p-1b5ec2b1.entry.js +2 -0
- package/dist/build/p-1b5ec2b1.entry.js.map +1 -0
- package/dist/build/p-1d80e042.js +2 -0
- package/dist/build/p-1d80e042.js.map +1 -0
- package/dist/build/p-1ed4a75e.entry.js +3 -0
- package/dist/build/p-1ed4a75e.entry.js.map +1 -0
- package/dist/build/p-1f464c93.entry.js +2 -0
- package/dist/build/p-1f464c93.entry.js.map +1 -0
- package/dist/build/p-214a2978.entry.js +2 -0
- package/dist/build/p-214a2978.entry.js.map +1 -0
- package/dist/build/p-291573c4.entry.js +2 -0
- package/dist/build/p-291573c4.entry.js.map +1 -0
- package/dist/build/p-2bd123f4.entry.js +2 -0
- package/dist/build/p-2bd123f4.entry.js.map +1 -0
- package/dist/build/p-3a428a06.entry.js +2 -0
- package/dist/build/p-3a428a06.entry.js.map +1 -0
- package/dist/build/p-3b5242e9.entry.js +2 -0
- package/dist/build/p-3b5242e9.entry.js.map +1 -0
- package/dist/build/p-3b8209bc.js +2 -0
- package/dist/build/p-3b8209bc.js.map +1 -0
- package/dist/build/p-3e393301.entry.js +2 -0
- package/dist/build/p-3e393301.entry.js.map +1 -0
- package/dist/build/p-45ded510.js +3 -0
- package/dist/build/p-45ded510.js.map +1 -0
- package/dist/build/p-46362798.entry.js +2 -0
- package/dist/build/p-46362798.entry.js.map +1 -0
- package/dist/build/p-48efb6e4.entry.js +2 -0
- package/dist/build/p-48efb6e4.entry.js.map +1 -0
- package/dist/build/p-50134fa1.entry.js +2 -0
- package/dist/build/p-50134fa1.entry.js.map +1 -0
- package/dist/build/p-562029b4.entry.js +2 -0
- package/dist/build/p-562029b4.entry.js.map +1 -0
- package/dist/build/p-62843ca0.entry.js +2 -0
- package/dist/build/p-62843ca0.entry.js.map +1 -0
- package/dist/build/p-62b14ab7.entry.js +2 -0
- package/dist/build/p-62b14ab7.entry.js.map +1 -0
- package/dist/build/p-638d2138.entry.js +2 -0
- package/dist/build/p-638d2138.entry.js.map +1 -0
- package/dist/build/p-65d9a61f.entry.js +2 -0
- package/dist/build/p-65d9a61f.entry.js.map +1 -0
- package/dist/build/p-6d8852ca.entry.js +2 -0
- package/dist/build/p-6d8852ca.entry.js.map +1 -0
- package/dist/build/p-7aecc5f3.entry.js +2 -0
- package/dist/build/p-7aecc5f3.entry.js.map +1 -0
- package/dist/build/p-83b79ff9.js +2 -0
- package/dist/build/p-83b79ff9.js.map +1 -0
- package/dist/build/p-889eb696.js +2 -0
- package/dist/build/p-8a1a6e56.js.map +1 -1
- package/dist/build/p-8a5b8196.js.map +1 -1
- package/dist/build/p-958f3c09.entry.js +2 -0
- package/dist/build/p-958f3c09.entry.js.map +1 -0
- package/dist/build/p-9a613c80.entry.js +2 -0
- package/dist/build/p-9a613c80.entry.js.map +1 -0
- package/dist/build/p-9ab34fee.js +2 -0
- package/dist/build/p-9ab34fee.js.map +1 -0
- package/dist/build/p-9cac28b6.js +2 -0
- package/dist/build/p-9cac28b6.js.map +1 -0
- package/dist/build/p-a56474ea.entry.js +2 -0
- package/dist/build/p-a56474ea.entry.js.map +1 -0
- package/dist/build/p-a5934232.entry.js +2 -0
- package/dist/build/p-a5934232.entry.js.map +1 -0
- package/dist/build/p-a6ccc70e.entry.js +2 -0
- package/dist/build/p-a6ccc70e.entry.js.map +1 -0
- package/dist/build/p-adcded4d.entry.js +2 -0
- package/dist/build/p-adcded4d.entry.js.map +1 -0
- package/dist/build/p-af468e9f.entry.js +2 -0
- package/dist/build/p-af468e9f.entry.js.map +1 -0
- package/dist/build/p-b082e123.js +2 -0
- package/dist/build/p-b082e123.js.map +1 -0
- package/dist/build/p-bf261165.entry.js +2 -0
- package/dist/build/p-bf261165.entry.js.map +1 -0
- package/dist/build/p-c3ba61ac.entry.js +2 -0
- package/dist/build/p-c3ba61ac.entry.js.map +1 -0
- package/dist/build/p-c605a1c1.js +2 -0
- package/dist/build/p-c605a1c1.js.map +1 -0
- package/dist/build/p-c8e79e30.entry.js +2 -0
- package/dist/build/p-c8e79e30.entry.js.map +1 -0
- package/dist/build/p-cc3445fc.entry.js +2 -0
- package/dist/build/p-cc3445fc.entry.js.map +1 -0
- package/dist/build/p-cfe6ec9a.entry.js +2 -0
- package/dist/build/p-cfe6ec9a.entry.js.map +1 -0
- package/dist/build/p-d044f441.entry.js +2 -0
- package/dist/build/p-d044f441.entry.js.map +1 -0
- package/dist/build/p-d3878a79.entry.js +2 -0
- package/dist/build/p-d3878a79.entry.js.map +1 -0
- package/dist/build/p-d63066b0.css +1 -0
- package/dist/build/p-d6ca5bce.entry.js +2 -0
- package/dist/build/p-d6ca5bce.entry.js.map +1 -0
- package/dist/build/p-d70b3539.entry.js +2 -0
- package/dist/build/p-d70b3539.entry.js.map +1 -0
- package/dist/build/p-d8eb3b7b.entry.js +2 -0
- package/dist/build/p-d8eb3b7b.entry.js.map +1 -0
- package/dist/build/p-d9d8c17c.entry.js +2 -0
- package/dist/build/p-d9d8c17c.entry.js.map +1 -0
- package/dist/build/p-d9fae6bd.entry.js +2 -0
- package/dist/build/p-d9fae6bd.entry.js.map +1 -0
- package/dist/build/p-da7b6f2c.js.map +1 -1
- package/dist/build/p-de74e07c.js +2 -0
- package/dist/build/p-de74e07c.js.map +1 -0
- package/dist/build/p-dfce711d.entry.js +2 -0
- package/dist/build/p-dfce711d.entry.js.map +1 -0
- package/dist/build/p-e1255160.js +2 -0
- package/dist/build/p-e1255160.js.map +1 -0
- package/dist/build/p-e15305dc.entry.js +2 -0
- package/dist/build/p-e15305dc.entry.js.map +1 -0
- package/dist/build/p-ea577bae.entry.js +2 -0
- package/dist/build/p-ea577bae.entry.js.map +1 -0
- package/dist/build/p-eec56c71.entry.js +2 -0
- package/dist/build/p-eec56c71.entry.js.map +1 -0
- package/dist/build/p-f26a3049.js +2 -0
- package/dist/build/p-f26a3049.js.map +1 -0
- package/dist/build/p-f3d0ea94.entry.js +2 -0
- package/dist/build/p-f3d0ea94.entry.js.map +1 -0
- package/dist/build/p-f40f89a7.entry.js +2 -0
- package/dist/build/p-f40f89a7.entry.js.map +1 -0
- package/dist/build/p-fd53acd3.entry.js +2 -0
- package/dist/build/p-fd53acd3.entry.js.map +1 -0
- package/dist/build/p-fdf020c9.entry.js +2 -0
- package/dist/build/p-fdf020c9.entry.js.map +1 -0
- package/dist/build/p-fe66cde8.js +2 -0
- package/dist/build/p-fe66cde8.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/build/paperless.js +24 -24
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/child-of-8fbd3ebe.js +11 -0
- package/dist/cjs/child-of-8fbd3ebe.js.map +1 -0
- package/dist/cjs/cn-b70f9965.js +2818 -0
- package/dist/cjs/cn-b70f9965.js.map +1 -0
- package/dist/cjs/floating-ui.dom.esm-ef421825.js +2072 -0
- package/dist/cjs/floating-ui.dom.esm-ef421825.js.map +1 -0
- package/dist/cjs/iban-ab94c561.js +16 -0
- package/dist/cjs/iban-ab94c561.js.map +1 -0
- package/dist/cjs/icons-10aa18f0.js +1549 -0
- package/dist/cjs/icons-10aa18f0.js.map +1 -0
- package/dist/cjs/icons-deprecated-4c476f5a.js +1123 -0
- package/dist/cjs/icons-deprecated-4c476f5a.js.map +1 -0
- package/dist/cjs/index-08db8a87.js +2333 -0
- package/dist/cjs/index-08db8a87.js.map +1 -0
- package/dist/cjs/index-3f9bbc0c.js +2359 -0
- package/dist/cjs/index-3f9bbc0c.js.map +1 -0
- package/dist/cjs/index.cjs.js +484 -500
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +5 -3
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/localization-3a0a71db.js +61 -0
- package/dist/cjs/localization-3a0a71db.js.map +1 -0
- package/dist/cjs/nonce-0feefc04.js +17 -0
- package/dist/cjs/nonce-0feefc04.js.map +1 -0
- package/dist/cjs/object-get-by-path-49caea95.js +130 -0
- package/dist/cjs/object-get-by-path-49caea95.js.map +1 -0
- package/dist/cjs/p-accordion.cjs.entry.js +26 -21
- package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +28 -20
- package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar-group.cjs.entry.js +10 -9
- package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-avatar.cjs.entry.js +46 -45
- package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-backdrop.cjs.entry.js +73 -68
- package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
- package/dist/cjs/p-badge.cjs.entry.js +9 -8
- package/dist/cjs/p-badge.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button-group.cjs.entry.js +33 -33
- package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +404 -322
- package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-calendar.cjs.entry.js +351 -297
- package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-body.cjs.entry.js +10 -9
- package/dist/cjs/p-card-body.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-container.cjs.entry.js +11 -10
- package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-card-header.cjs.entry.js +21 -21
- package/dist/cjs/p-card-header.cjs.entry.js.map +1 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js +444 -0
- package/dist/cjs/p-checkbox_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-content-slider.cjs.entry.js +205 -199
- package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -1
- package/dist/cjs/p-counter.cjs.entry.js +11 -10
- package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
- package/dist/cjs/p-cropper.cjs.entry.js +404 -265
- package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
- package/dist/cjs/p-datepicker.cjs.entry.js +283 -306
- package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/p-divider.cjs.entry.js +12 -12
- package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
- package/dist/cjs/p-drawer-body_3.cjs.entry.js +33 -26
- package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-drawer.cjs.entry.js +66 -58
- package/dist/cjs/p-drawer.cjs.entry.js.map +1 -1
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +48 -47
- package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-field_3.cjs.entry.js +316 -0
- package/dist/cjs/p-field_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +263 -211
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-iban-icon.cjs.entry.js +33 -34
- package/dist/cjs/p-iban-icon.cjs.entry.js.map +1 -1
- package/dist/cjs/p-icon-deprecated.cjs.entry.js +49 -48
- package/dist/cjs/p-icon-deprecated.cjs.entry.js.map +1 -1
- package/dist/cjs/p-info-panel.cjs.entry.js +23 -18
- package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
- package/dist/cjs/p-input-error.cjs.entry.js +21 -0
- package/dist/cjs/p-input-error.cjs.entry.js.map +1 -0
- package/dist/cjs/p-label_3.cjs.entry.js +50 -47
- package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-layout.cjs.entry.js +10 -9
- package/dist/cjs/p-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +51 -43
- package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
- package/dist/cjs/p-modal.cjs.entry.js +59 -52
- package/dist/cjs/p-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navbar.cjs.entry.js +45 -45
- package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +45 -40
- 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 +9 -8
- package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +203 -195
- package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
- package/dist/cjs/p-portal_2.cjs.entry.js +233 -0
- package/dist/cjs/p-portal_2.cjs.entry.js.map +1 -0
- package/dist/cjs/p-profile.cjs.entry.js +48 -47
- package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +102 -0
- package/dist/cjs/p-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/p-select.cjs.entry.js +418 -370
- package/dist/cjs/p-select.cjs.entry.js.map +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +10 -9
- package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
- package/dist/cjs/p-status.cjs.entry.js +37 -36
- package/dist/cjs/p-status.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-item.cjs.entry.js +14 -13
- package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +11 -10
- package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +91 -90
- 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-group.cjs.entry.js.map +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +10 -9
- package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table-column.cjs.entry.js +24 -20
- package/dist/cjs/p-table-column.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table-row-action.cjs.entry.js +17 -17
- package/dist/cjs/p-table-row-action.cjs.entry.js.map +1 -1
- package/dist/cjs/p-table.cjs.entry.js +583 -542
- package/dist/cjs/p-table.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +10 -9
- package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +25 -21
- package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +148 -0
- package/dist/cjs/p-toggle.cjs.entry.js.map +1 -0
- package/dist/cjs/paperless.cjs.js +13 -11
- package/dist/cjs/paperless.cjs.js.map +1 -1
- package/dist/cjs/screens-e5439aeb.js +67 -0
- package/dist/cjs/screens-e5439aeb.js.map +1 -0
- package/dist/collection/collection-manifest.json +9 -3
- package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
- package/dist/collection/components/atoms/avatar/avatar.component.js +142 -135
- package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +40 -38
- package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -1
- package/dist/collection/components/atoms/backdrop/backdrop.component.js +217 -199
- package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
- package/dist/collection/components/atoms/badge/badge.component.js +14 -14
- package/dist/collection/components/atoms/badge/badge.component.js.map +1 -1
- package/dist/collection/components/atoms/card-body/card-body.component.js +41 -39
- package/dist/collection/components/atoms/card-body/card-body.component.js.map +1 -1
- package/dist/collection/components/atoms/card-container/card-container.component.js +63 -59
- package/dist/collection/components/atoms/card-container/card-container.component.js.map +1 -1
- package/dist/collection/components/atoms/card-header/card-header.component.js +75 -68
- package/dist/collection/components/atoms/card-header/card-header.component.js.map +1 -1
- package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -0
- package/dist/collection/components/atoms/checkbox/checkbox.component.js +283 -0
- package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -0
- package/dist/collection/components/atoms/counter/counter.component.js +63 -59
- package/dist/collection/components/atoms/counter/counter.component.js.map +1 -1
- package/dist/collection/components/atoms/divider/divider.component.js +48 -43
- package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +42 -40
- package/dist/collection/components/atoms/drawer-body/drawer-body.component.js.map +1 -1
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +41 -39
- package/dist/collection/components/atoms/drawer-container/drawer-container.component.js.map +1 -1
- package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +68 -62
- 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.js +157 -147
- 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 +286 -181
- 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.js +42 -40
- package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +63 -59
- package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
- package/dist/collection/components/atoms/helper/helper.component.css +1 -1
- package/dist/collection/components/atoms/helper/helper.component.js +74 -70
- package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +79 -76
- package/dist/collection/components/atoms/iban-icon/iban-icon.component.js.map +1 -1
- package/dist/collection/components/atoms/icon/icon.component.js +149 -141
- package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js +161 -153
- package/dist/collection/components/atoms/icon-deprecated/icon.component.js.map +1 -1
- package/dist/collection/components/atoms/illustration/illustration.component.js +36 -34
- package/dist/collection/components/atoms/illustration/illustration.component.js.map +1 -1
- package/dist/collection/components/atoms/info-panel/info-panel.component.js +134 -118
- package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -1
- package/dist/collection/components/atoms/label/label.component.js +204 -188
- package/dist/collection/components/atoms/label/label.component.js.map +1 -1
- package/dist/collection/components/atoms/layout/layout.component.js +42 -40
- package/dist/collection/components/atoms/layout/layout.component.js.map +1 -1
- package/dist/collection/components/atoms/loader/loader.component.js +156 -144
- package/dist/collection/components/atoms/loader/loader.component.js.map +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +105 -97
- package/dist/collection/components/atoms/modal-body/modal-body.component.js.map +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +68 -64
- package/dist/collection/components/atoms/modal-container/modal-container.component.js.map +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +15 -15
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js.map +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +68 -62
- package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +14 -14
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +1 -1
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +42 -40
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +1 -1
- package/dist/collection/components/atoms/portal/portal.component.js +23 -0
- package/dist/collection/components/atoms/portal/portal.component.js.map +1 -0
- package/dist/collection/components/atoms/radio/radio.component.css +1 -0
- package/dist/collection/components/atoms/radio/radio.component.js +262 -0
- package/dist/collection/components/atoms/radio/radio.component.js.map +1 -0
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -14
- package/dist/collection/components/atoms/segment-container/segment-container.component.js.map +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +175 -159
- package/dist/collection/components/atoms/segment-item/segment-item.component.js.map +1 -1
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +42 -40
- package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js.map +1 -1
- package/dist/collection/components/atoms/status/status.component.js +142 -134
- package/dist/collection/components/atoms/status/status.component.js.map +1 -1
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +126 -116
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js.map +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +63 -59
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js.map +1 -1
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +5 -5
- package/dist/collection/components/atoms/tab-group/tab-group.component.js.map +1 -1
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +42 -40
- package/dist/collection/components/atoms/tab-item/tab-item.component.js.map +1 -1
- package/dist/collection/components/atoms/table-container/table-container.component.js +42 -40
- package/dist/collection/components/atoms/table-container/table-container.component.js.map +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +42 -40
- package/dist/collection/components/atoms/toast-container/toast-container.component.js.map +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.css +1 -0
- package/dist/collection/components/atoms/toggle/toggle.component.js +321 -0
- package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -0
- package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +448 -363
- package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
- package/dist/collection/components/helpers/table-column/table-column.component.js +228 -206
- package/dist/collection/components/helpers/table-column/table-column.component.js.map +1 -1
- package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +239 -219
- package/dist/collection/components/helpers/table-row-action/table-row-action.component.js.map +1 -1
- package/dist/collection/components/molecules/accordion/accordion.component.js +133 -121
- package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +149 -134
- package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -1
- package/dist/collection/components/molecules/button/button.component.css +1 -1
- package/dist/collection/components/molecules/button/button.component.js +774 -622
- package/dist/collection/components/molecules/button/button.component.js.map +1 -1
- package/dist/collection/components/molecules/button-group/button-group.component.js +70 -64
- 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 +577 -506
- package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +309 -292
- package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -1
- package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
- package/dist/collection/components/molecules/cropper/cropper.component.js +242 -228
- package/dist/collection/components/molecules/cropper/cropper.component.js.map +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +635 -582
- package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +520 -433
- package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
- package/dist/collection/components/molecules/field/field.component.css +1 -0
- package/dist/collection/components/molecules/field/field.component.js +775 -0
- package/dist/collection/components/molecules/field/field.component.js.map +1 -0
- package/dist/collection/components/molecules/field-container/field-container.component.css +1 -0
- package/dist/collection/components/molecules/field-container/field-container.component.js +259 -0
- package/dist/collection/components/molecules/field-container/field-container.component.js.map +1 -0
- package/dist/collection/components/molecules/input-error/input-error.component.js +58 -54
- package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -1
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +215 -160
- 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 +44 -0
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +1 -0
- package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +223 -201
- 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 +265 -255
- 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 +97 -100
- 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 +1261 -1134
- package/dist/collection/components/molecules/select/select.component.js.map +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.js +175 -165
- package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.js +246 -225
- package/dist/collection/components/molecules/table-cell/table-cell.component.js.map +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +299 -266
- package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.js +515 -463
- package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
- package/dist/collection/components/molecules/table-row/table-row.component.js +65 -61
- package/dist/collection/components/molecules/table-row/table-row.component.js.map +1 -1
- package/dist/collection/components/molecules/toast/toast.component.js +212 -195
- package/dist/collection/components/molecules/toast/toast.component.js.map +1 -1
- package/dist/collection/components/organisms/drawer/drawer.component.js +275 -250
- package/dist/collection/components/organisms/drawer/drawer.component.js.map +1 -1
- package/dist/collection/components/organisms/modal/modal.component.js +314 -283
- package/dist/collection/components/organisms/modal/modal.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 +72 -95
- 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 +1718 -1586
- package/dist/collection/components/organisms/table/table.component.js.map +1 -1
- package/dist/collection/tailwind/paperless.js +33 -33
- package/dist/collection/tailwind/paperless.js.map +1 -1
- package/dist/collection/tailwind/plugins/hover.js +20 -20
- package/dist/collection/tailwind/plugins/hover.js.map +1 -1
- package/dist/collection/tailwind/plugins/safe-area.js +85 -85
- package/dist/collection/tailwind/plugins/safe-area.js.map +1 -1
- package/dist/collection/tailwind/theme/animation.js +83 -83
- package/dist/collection/tailwind/theme/animation.js.map +1 -1
- package/dist/collection/tailwind/theme/colors.js +176 -176
- package/dist/collection/tailwind/theme/colors.js.map +1 -1
- package/dist/collection/tailwind/theme/height.js +4 -4
- package/dist/collection/tailwind/theme/height.js.map +1 -1
- package/dist/collection/tailwind/theme/rotate.js +2 -2
- package/dist/collection/tailwind/theme/rotate.js.map +1 -1
- package/dist/collection/tailwind/theme/scale.js +1 -1
- package/dist/collection/tailwind/theme/scale.js.map +1 -1
- package/dist/collection/tailwind/theme/screens.js +13 -13
- package/dist/collection/tailwind/theme/screens.js.map +1 -1
- package/dist/collection/tailwind/theme/shadows.js +15 -14
- package/dist/collection/tailwind/theme/shadows.js.map +1 -1
- package/dist/collection/tailwind/theme/spacing.js +6 -6
- package/dist/collection/tailwind/theme/spacing.js.map +1 -1
- package/dist/collection/tailwind/theme/typography.js +15 -15
- package/dist/collection/tailwind/theme/typography.js.map +1 -1
- package/dist/collection/tailwind/theme/width.js +13 -13
- package/dist/collection/tailwind/theme/width.js.map +1 -1
- package/dist/collection/tailwind/theme/z-index.js +11 -11
- package/dist/collection/tailwind/theme/z-index.js.map +1 -1
- package/dist/collection/tailwind.config.js +7 -7
- package/dist/collection/tailwind.config.js.map +1 -1
- package/dist/collection/types/constants.js +7 -7
- package/dist/collection/types/constants.js.map +1 -1
- package/dist/collection/types/iban.js +8 -8
- package/dist/collection/types/iban.js.map +1 -1
- package/dist/collection/types/table.js +1 -1
- package/dist/collection/types/table.js.map +1 -1
- package/dist/collection/utils/child-of.js +3 -3
- package/dist/collection/utils/child-of.js.map +1 -1
- package/dist/collection/utils/cn.js +1 -1
- package/dist/collection/utils/cn.js.map +1 -1
- package/dist/collection/utils/icons-deprecated.js +66 -66
- package/dist/collection/utils/icons-deprecated.js.map +1 -1
- package/dist/collection/utils/icons.js +127 -127
- package/dist/collection/utils/icons.js.map +1 -1
- package/dist/collection/utils/illustrations.js +12 -12
- package/dist/collection/utils/illustrations.js.map +1 -1
- package/dist/collection/utils/localization.js +44 -45
- package/dist/collection/utils/localization.js.map +1 -1
- package/dist/collection/utils/nonce.js +12 -0
- package/dist/collection/utils/nonce.js.map +1 -0
- package/dist/collection/utils/object-get-by-path.js +6 -6
- package/dist/collection/utils/object-get-by-path.js.map +1 -1
- package/dist/collection/utils/screens.js +9 -9
- package/dist/collection/utils/screens.js.map +1 -1
- package/dist/collection/utils/table-helpers.js +96 -86
- package/dist/collection/utils/table-helpers.js.map +1 -1
- package/dist/collection/utils/transformers.js +2 -2
- package/dist/collection/utils/transformers.js.map +1 -1
- package/dist/components/avatar.component.js +66 -65
- package/dist/components/avatar.component.js.map +1 -1
- package/dist/components/backdrop.component.js +90 -85
- package/dist/components/backdrop.component.js.map +1 -1
- package/dist/components/badge.component.js +20 -19
- package/dist/components/badge.component.js.map +1 -1
- package/dist/components/button.component.js +364 -284
- package/dist/components/button.component.js.map +1 -1
- package/dist/components/calendar.component.js +435 -362
- package/dist/components/calendar.component.js.map +1 -1
- package/dist/components/checkbox.component.js +134 -0
- package/dist/components/checkbox.component.js.map +1 -0
- package/dist/components/child-of.js +3 -3
- package/dist/components/child-of.js.map +1 -1
- package/dist/components/cn.js +2816 -0
- package/dist/components/cn.js.map +1 -0
- package/dist/components/divider.component.js +26 -26
- package/dist/components/divider.component.js.map +1 -1
- package/dist/components/drawer-body.component.js +24 -23
- package/dist/components/drawer-body.component.js.map +1 -1
- package/dist/components/drawer-container.component.js +23 -22
- package/dist/components/drawer-container.component.js.map +1 -1
- package/dist/components/drawer-header.component.js +44 -39
- package/dist/components/drawer-header.component.js.map +1 -1
- package/dist/components/dropdown-menu-container.component.js +65 -64
- package/dist/components/dropdown-menu-container.component.js.map +1 -1
- package/dist/components/dropdown-menu-item.component.js +162 -81
- package/dist/components/dropdown-menu-item.component.js.map +1 -1
- package/dist/components/dropdown.component.js +224 -181
- package/dist/components/dropdown.component.js.map +1 -1
- package/dist/components/field-container.component.js +99 -0
- package/dist/components/field-container.component.js.map +1 -0
- package/dist/components/field.component.js +311 -0
- package/dist/components/field.component.js.map +1 -0
- package/dist/components/floating-menu-container.component.js +24 -23
- package/dist/components/floating-menu-container.component.js.map +1 -1
- package/dist/components/floating-menu-item.component.js +26 -25
- package/dist/components/floating-menu-item.component.js.map +1 -1
- package/dist/components/floating-ui.dom.esm.js +1205 -466
- package/dist/components/floating-ui.dom.esm.js.map +1 -1
- package/dist/components/helper.component.js +38 -31
- package/dist/components/helper.component.js.map +1 -1
- package/dist/components/iban.js +8 -8
- package/dist/components/iban.js.map +1 -1
- package/dist/components/icon.component.js +58 -57
- package/dist/components/icon.component.js.map +1 -1
- package/dist/components/icons-deprecated.js +66 -66
- package/dist/components/icons-deprecated.js.map +1 -1
- package/dist/components/icons.js +127 -127
- package/dist/components/icons.js.map +1 -1
- package/dist/components/illustration.component.js +34 -34
- package/dist/components/illustration.component.js.map +1 -1
- package/dist/components/index.js +477 -493
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-error.component.js +43 -37
- package/dist/components/input-error.component.js.map +1 -1
- package/dist/components/label.component.js +44 -43
- package/dist/components/label.component.js.map +1 -1
- package/dist/components/loader.component.js +59 -56
- package/dist/components/loader.component.js.map +1 -1
- package/dist/components/localization.js +44 -45
- package/dist/components/localization.js.map +1 -1
- package/dist/components/modal-body.component.js +30 -29
- package/dist/components/modal-body.component.js.map +1 -1
- package/dist/components/modal-container.component.js +31 -30
- package/dist/components/modal-container.component.js.map +1 -1
- package/dist/components/modal-footer.component.js +26 -25
- package/dist/components/modal-footer.component.js.map +1 -1
- package/dist/components/modal-header.component.js +44 -39
- package/dist/components/modal-header.component.js.map +1 -1
- package/dist/components/navigation-title.component.js +32 -0
- package/dist/components/navigation-title.component.js.map +1 -0
- package/dist/components/nonce.js +15 -0
- package/dist/components/nonce.js.map +1 -0
- package/dist/components/object-get-by-path.js +103 -93
- package/dist/components/object-get-by-path.js.map +1 -1
- package/dist/components/p-accordion.d.ts +2 -2
- package/dist/components/p-accordion.js +53 -48
- package/dist/components/p-accordion.js.map +1 -1
- package/dist/components/p-attachment.d.ts +2 -2
- package/dist/components/p-attachment.js +80 -66
- package/dist/components/p-attachment.js.map +1 -1
- package/dist/components/p-avatar-group.d.ts +2 -2
- package/dist/components/p-avatar-group.js +23 -22
- package/dist/components/p-avatar-group.js.map +1 -1
- package/dist/components/p-avatar.d.ts +2 -2
- package/dist/components/p-backdrop.d.ts +2 -2
- package/dist/components/p-badge.d.ts +2 -2
- package/dist/components/p-button-group.d.ts +2 -2
- package/dist/components/p-button-group.js +47 -47
- package/dist/components/p-button-group.js.map +1 -1
- package/dist/components/p-button.d.ts +2 -2
- package/dist/components/p-calendar.d.ts +2 -2
- package/dist/components/p-card-body.d.ts +2 -2
- package/dist/components/p-card-body.js +23 -22
- package/dist/components/p-card-body.js.map +1 -1
- package/dist/components/p-card-container.d.ts +2 -2
- package/dist/components/p-card-container.js +26 -25
- package/dist/components/p-card-container.js.map +1 -1
- package/dist/components/p-card-header.d.ts +2 -2
- package/dist/components/p-card-header.js +40 -40
- package/dist/components/p-card-header.js.map +1 -1
- package/dist/components/p-checkbox.d.ts +11 -0
- package/dist/components/p-checkbox.js +8 -0
- package/dist/components/p-checkbox.js.map +1 -0
- package/dist/components/p-content-slider.d.ts +2 -2
- package/dist/components/p-content-slider.js +231 -225
- package/dist/components/p-content-slider.js.map +1 -1
- package/dist/components/p-counter.d.ts +2 -2
- package/dist/components/p-counter.js +26 -25
- package/dist/components/p-counter.js.map +1 -1
- package/dist/components/p-cropper.d.ts +2 -2
- package/dist/components/p-cropper.js +427 -288
- package/dist/components/p-cropper.js.map +1 -1
- package/dist/components/p-datepicker.d.ts +2 -2
- package/dist/components/p-datepicker.js +389 -394
- package/dist/components/p-datepicker.js.map +1 -1
- package/dist/components/p-divider.d.ts +2 -2
- package/dist/components/p-drawer-body.d.ts +2 -2
- package/dist/components/p-drawer-container.d.ts +2 -2
- package/dist/components/p-drawer-header.d.ts +2 -2
- package/dist/components/p-drawer.d.ts +2 -2
- package/dist/components/p-drawer.js +122 -114
- package/dist/components/p-drawer.js.map +1 -1
- package/dist/components/p-dropdown-menu-container.d.ts +2 -2
- package/dist/components/p-dropdown-menu-item.d.ts +2 -2
- package/dist/components/p-dropdown.d.ts +2 -2
- package/dist/components/p-field-container.d.ts +11 -0
- package/dist/components/p-field-container.js +8 -0
- package/dist/components/p-field-container.js.map +1 -0
- package/dist/components/p-field.d.ts +11 -0
- package/dist/components/p-field.js +8 -0
- package/dist/components/p-field.js.map +1 -0
- package/dist/components/p-floating-menu-container.d.ts +2 -2
- package/dist/components/p-floating-menu-item.d.ts +2 -2
- package/dist/components/p-helper.d.ts +2 -2
- package/dist/components/p-iban-icon.d.ts +2 -2
- package/dist/components/p-iban-icon.js +47 -48
- package/dist/components/p-iban-icon.js.map +1 -1
- package/dist/components/p-icon-deprecated.d.ts +2 -2
- package/dist/components/p-icon-deprecated.js +64 -63
- package/dist/components/p-icon-deprecated.js.map +1 -1
- package/dist/components/p-icon.d.ts +2 -2
- package/dist/components/p-illustration.d.ts +2 -2
- package/dist/components/p-info-panel.d.ts +2 -2
- package/dist/components/p-info-panel.js +45 -40
- package/dist/components/p-info-panel.js.map +1 -1
- package/dist/components/p-input-error.d.ts +2 -2
- package/dist/components/p-label.d.ts +2 -2
- package/dist/components/p-layout.d.ts +2 -2
- package/dist/components/p-layout.js +24 -23
- package/dist/components/p-layout.js.map +1 -1
- package/dist/components/p-loader.d.ts +2 -2
- package/dist/components/p-modal-body.d.ts +2 -2
- package/dist/components/p-modal-container.d.ts +2 -2
- package/dist/components/p-modal-footer.d.ts +2 -2
- package/dist/components/p-modal-header.d.ts +2 -2
- package/dist/components/p-modal.d.ts +2 -2
- package/dist/components/p-modal.js +128 -121
- package/dist/components/p-modal.js.map +1 -1
- package/dist/components/p-navbar.d.ts +2 -2
- package/dist/components/p-navbar.js +79 -80
- package/dist/components/p-navbar.js.map +1 -1
- package/dist/components/p-navigation-item.d.ts +2 -2
- package/dist/components/p-navigation-item.js +83 -70
- 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 +2 -2
- package/dist/components/p-navigation-title.js +1 -27
- package/dist/components/p-navigation-title.js.map +1 -1
- package/dist/components/p-page-size-select.d.ts +2 -2
- package/dist/components/p-pagination-item.d.ts +2 -2
- package/dist/components/p-pagination.d.ts +2 -2
- package/dist/components/p-portal.d.ts +11 -0
- package/dist/components/p-portal.js +8 -0
- package/dist/components/p-portal.js.map +1 -0
- package/dist/components/p-profile.d.ts +2 -2
- package/dist/components/p-profile.js +98 -80
- package/dist/components/p-profile.js.map +1 -1
- package/dist/components/p-radio.d.ts +11 -0
- package/dist/components/p-radio.js +123 -0
- package/dist/components/p-radio.js.map +1 -0
- package/dist/components/p-segment-container.d.ts +2 -2
- package/dist/components/p-segment-item.d.ts +2 -2
- package/dist/components/p-select.d.ts +2 -2
- package/dist/components/p-select.js +552 -487
- package/dist/components/p-select.js.map +1 -1
- package/dist/components/p-slider-indicator.d.ts +2 -2
- package/dist/components/p-status.d.ts +2 -2
- package/dist/components/p-status.js +58 -57
- package/dist/components/p-status.js.map +1 -1
- package/dist/components/p-stepper-item.d.ts +2 -2
- package/dist/components/p-stepper-item.js +37 -36
- package/dist/components/p-stepper-item.js.map +1 -1
- package/dist/components/p-stepper-line.d.ts +2 -2
- package/dist/components/p-stepper.d.ts +2 -2
- package/dist/components/p-stepper.js +115 -114
- package/dist/components/p-stepper.js.map +1 -1
- package/dist/components/p-tab-group.d.ts +2 -2
- package/dist/components/p-tab-group.js +24 -24
- package/dist/components/p-tab-group.js.map +1 -1
- package/dist/components/p-tab-item.d.ts +2 -2
- package/dist/components/p-tab-item.js +24 -23
- package/dist/components/p-tab-item.js.map +1 -1
- package/dist/components/p-table-cell.d.ts +2 -2
- package/dist/components/p-table-column.d.ts +2 -2
- package/dist/components/p-table-column.js +45 -41
- package/dist/components/p-table-column.js.map +1 -1
- package/dist/components/p-table-container.d.ts +2 -2
- package/dist/components/p-table-footer.d.ts +2 -2
- package/dist/components/p-table-header.d.ts +2 -2
- package/dist/components/p-table-row-action.d.ts +2 -2
- package/dist/components/p-table-row-action.js +39 -39
- package/dist/components/p-table-row-action.js.map +1 -1
- package/dist/components/p-table-row.d.ts +2 -2
- package/dist/components/p-table.d.ts +2 -2
- package/dist/components/p-table.js +802 -750
- package/dist/components/p-table.js.map +1 -1
- package/dist/components/p-toast-container.d.ts +2 -2
- package/dist/components/p-toast-container.js +24 -23
- package/dist/components/p-toast-container.js.map +1 -1
- package/dist/components/p-toast.d.ts +2 -2
- package/dist/components/p-toast.js +60 -56
- package/dist/components/p-toast.js.map +1 -1
- package/dist/components/p-toggle.d.ts +11 -0
- package/dist/components/p-toggle.js +169 -0
- package/dist/components/p-toggle.js.map +1 -0
- package/dist/components/p-tooltip.d.ts +2 -2
- package/dist/components/page-size-select.component.js +108 -92
- package/dist/components/page-size-select.component.js.map +1 -1
- package/dist/components/pagination-item.component.js +24 -23
- package/dist/components/pagination-item.component.js.map +1 -1
- package/dist/components/pagination.component.js +185 -182
- package/dist/components/pagination.component.js.map +1 -1
- package/dist/components/portal.component.js +39 -0
- package/dist/components/portal.component.js.map +1 -0
- package/dist/components/screens.js +29 -29
- package/dist/components/screens.js.map +1 -1
- package/dist/components/segment-container.component.js +20 -19
- package/dist/components/segment-container.component.js.map +1 -1
- package/dist/components/segment-item.component.js +49 -48
- package/dist/components/segment-item.component.js.map +1 -1
- package/dist/components/slider-indicator.component.js +24 -23
- package/dist/components/slider-indicator.component.js.map +1 -1
- package/dist/components/stepper-line.component.js +26 -25
- package/dist/components/stepper-line.component.js.map +1 -1
- package/dist/components/table-cell.component.js +75 -71
- package/dist/components/table-cell.component.js.map +1 -1
- package/dist/components/table-container.component.js +24 -23
- package/dist/components/table-container.component.js.map +1 -1
- package/dist/components/table-footer.component.js +137 -113
- package/dist/components/table-footer.component.js.map +1 -1
- package/dist/components/table-header.component.js +196 -158
- package/dist/components/table-header.component.js.map +1 -1
- package/dist/components/table-row.component.js +33 -32
- package/dist/components/table-row.component.js.map +1 -1
- package/dist/components/tooltip.component.js +214 -160
- package/dist/components/tooltip.component.js.map +1 -1
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/child-of-2e1cac22.js +9 -0
- package/dist/esm/child-of-2e1cac22.js.map +1 -0
- package/dist/esm/cn-efefe9a7.js +2816 -0
- package/dist/esm/cn-efefe9a7.js.map +1 -0
- package/dist/esm/floating-ui.dom.esm-1ee67651.js +2066 -0
- package/dist/esm/floating-ui.dom.esm-1ee67651.js.map +1 -0
- package/dist/esm/iban-2645d629.js +14 -0
- package/dist/esm/iban-2645d629.js.map +1 -0
- package/dist/esm/icons-a3270aaf.js +1546 -0
- package/dist/esm/icons-a3270aaf.js.map +1 -0
- package/dist/esm/icons-deprecated-5df272a7.js +1121 -0
- package/dist/esm/icons-deprecated-5df272a7.js.map +1 -0
- package/dist/esm/index-2ef94580.js +2329 -0
- package/dist/esm/index-2ef94580.js.map +1 -0
- package/dist/esm/index-538f1fd8.js +2309 -0
- package/dist/esm/index-538f1fd8.js.map +1 -0
- package/dist/esm/index.js +485 -501
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +6 -4
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/localization-339ba26d.js +58 -0
- package/dist/esm/localization-339ba26d.js.map +1 -0
- package/dist/esm/nonce-a9254eb4.js +15 -0
- package/dist/esm/nonce-a9254eb4.js.map +1 -0
- package/dist/esm/object-get-by-path-b28a1923.js +124 -0
- package/dist/esm/object-get-by-path-b28a1923.js.map +1 -0
- package/dist/esm/p-accordion.entry.js +26 -21
- package/dist/esm/p-accordion.entry.js.map +1 -1
- package/dist/esm/p-attachment.entry.js +28 -20
- package/dist/esm/p-attachment.entry.js.map +1 -1
- package/dist/esm/p-avatar-group.entry.js +10 -9
- package/dist/esm/p-avatar-group.entry.js.map +1 -1
- package/dist/esm/p-avatar.entry.js +46 -45
- package/dist/esm/p-avatar.entry.js.map +1 -1
- package/dist/esm/p-backdrop.entry.js +73 -68
- package/dist/esm/p-backdrop.entry.js.map +1 -1
- package/dist/esm/p-badge.entry.js +9 -8
- package/dist/esm/p-badge.entry.js.map +1 -1
- package/dist/esm/p-button-group.entry.js +33 -33
- package/dist/esm/p-button-group.entry.js.map +1 -1
- package/dist/esm/p-button_3.entry.js +404 -322
- package/dist/esm/p-button_3.entry.js.map +1 -1
- package/dist/esm/p-calendar.entry.js +351 -297
- package/dist/esm/p-calendar.entry.js.map +1 -1
- package/dist/esm/p-card-body.entry.js +10 -9
- package/dist/esm/p-card-body.entry.js.map +1 -1
- package/dist/esm/p-card-container.entry.js +11 -10
- package/dist/esm/p-card-container.entry.js.map +1 -1
- package/dist/esm/p-card-header.entry.js +21 -21
- package/dist/esm/p-card-header.entry.js.map +1 -1
- package/dist/esm/p-checkbox_3.entry.js +438 -0
- package/dist/esm/p-checkbox_3.entry.js.map +1 -0
- package/dist/esm/p-content-slider.entry.js +205 -199
- package/dist/esm/p-content-slider.entry.js.map +1 -1
- package/dist/esm/p-counter.entry.js +11 -10
- package/dist/esm/p-counter.entry.js.map +1 -1
- package/dist/esm/p-cropper.entry.js +404 -265
- package/dist/esm/p-cropper.entry.js.map +1 -1
- package/dist/esm/p-datepicker.entry.js +287 -310
- package/dist/esm/p-datepicker.entry.js.map +1 -1
- package/dist/esm/p-divider.entry.js +12 -12
- package/dist/esm/p-divider.entry.js.map +1 -1
- package/dist/esm/p-drawer-body_3.entry.js +33 -26
- package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
- package/dist/esm/p-drawer.entry.js +66 -58
- package/dist/esm/p-drawer.entry.js.map +1 -1
- package/dist/esm/p-dropdown-menu-container.entry.js +48 -47
- package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
- package/dist/esm/p-field_3.entry.js +310 -0
- package/dist/esm/p-field_3.entry.js.map +1 -0
- package/dist/esm/p-floating-menu-container_8.entry.js +263 -211
- package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
- package/dist/esm/p-iban-icon.entry.js +33 -34
- package/dist/esm/p-iban-icon.entry.js.map +1 -1
- package/dist/esm/p-icon-deprecated.entry.js +49 -48
- package/dist/esm/p-icon-deprecated.entry.js.map +1 -1
- package/dist/esm/p-info-panel.entry.js +23 -18
- package/dist/esm/p-info-panel.entry.js.map +1 -1
- package/dist/esm/p-input-error.entry.js +17 -0
- package/dist/esm/p-input-error.entry.js.map +1 -0
- package/dist/esm/p-label_3.entry.js +50 -47
- package/dist/esm/p-label_3.entry.js.map +1 -1
- package/dist/esm/p-layout.entry.js +10 -9
- package/dist/esm/p-layout.entry.js.map +1 -1
- package/dist/esm/p-modal-body_4.entry.js +51 -43
- package/dist/esm/p-modal-body_4.entry.js.map +1 -1
- package/dist/esm/p-modal.entry.js +59 -52
- package/dist/esm/p-modal.entry.js.map +1 -1
- package/dist/esm/p-navbar.entry.js +45 -45
- package/dist/esm/p-navbar.entry.js.map +1 -1
- package/dist/esm/p-navigation-item.entry.js +45 -40
- 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 +9 -8
- package/dist/esm/p-navigation-title.entry.js.map +1 -1
- package/dist/esm/p-page-size-select_3.entry.js +203 -195
- package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
- package/dist/esm/p-portal_2.entry.js +228 -0
- package/dist/esm/p-portal_2.entry.js.map +1 -0
- package/dist/esm/p-profile.entry.js +48 -47
- package/dist/esm/p-profile.entry.js.map +1 -1
- package/dist/esm/p-radio.entry.js +98 -0
- package/dist/esm/p-radio.entry.js.map +1 -0
- package/dist/esm/p-select.entry.js +418 -370
- package/dist/esm/p-select.entry.js.map +1 -1
- package/dist/esm/p-slider-indicator.entry.js +10 -9
- package/dist/esm/p-slider-indicator.entry.js.map +1 -1
- package/dist/esm/p-status.entry.js +37 -36
- package/dist/esm/p-status.entry.js.map +1 -1
- package/dist/esm/p-stepper-item.entry.js +14 -13
- package/dist/esm/p-stepper-item.entry.js.map +1 -1
- package/dist/esm/p-stepper-line.entry.js +11 -10
- package/dist/esm/p-stepper-line.entry.js.map +1 -1
- package/dist/esm/p-stepper.entry.js +91 -90
- 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-group.entry.js.map +1 -1
- package/dist/esm/p-tab-item.entry.js +10 -9
- package/dist/esm/p-tab-item.entry.js.map +1 -1
- package/dist/esm/p-table-column.entry.js +24 -20
- package/dist/esm/p-table-column.entry.js.map +1 -1
- package/dist/esm/p-table-row-action.entry.js +17 -17
- package/dist/esm/p-table-row-action.entry.js.map +1 -1
- package/dist/esm/p-table.entry.js +583 -542
- package/dist/esm/p-table.entry.js.map +1 -1
- package/dist/esm/p-toast-container.entry.js +10 -9
- package/dist/esm/p-toast-container.entry.js.map +1 -1
- package/dist/esm/p-toast.entry.js +25 -21
- package/dist/esm/p-toast.entry.js.map +1 -1
- package/dist/esm/p-toggle.entry.js +144 -0
- package/dist/esm/p-toggle.entry.js.map +1 -0
- package/dist/esm/paperless.js +14 -12
- package/dist/esm/paperless.js.map +1 -1
- package/dist/esm/screens-8702d56f.js +54 -0
- package/dist/esm/screens-8702d56f.js.map +1 -0
- package/dist/index.html +13 -13
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/paperless/p-020a97e3.entry.js +2 -0
- package/dist/paperless/p-020a97e3.entry.js.map +1 -0
- package/dist/paperless/p-036bb6f4.entry.js +2 -0
- package/dist/paperless/p-036bb6f4.entry.js.map +1 -0
- package/dist/paperless/p-0413fcd0.entry.js +2 -0
- package/dist/paperless/p-0413fcd0.entry.js.map +1 -0
- package/dist/paperless/p-0bbd4d1c.entry.js +2 -0
- package/dist/paperless/p-0bbd4d1c.entry.js.map +1 -0
- package/dist/paperless/p-0c040d86.entry.js +2 -0
- package/dist/paperless/p-0c040d86.entry.js.map +1 -0
- package/dist/paperless/p-0e1935d5.entry.js +2 -0
- package/dist/paperless/p-0e1935d5.entry.js.map +1 -0
- package/dist/paperless/p-14e63599.entry.js +2 -0
- package/dist/paperless/p-14e63599.entry.js.map +1 -0
- package/dist/paperless/p-170077a4.js +2 -0
- package/dist/paperless/p-170077a4.js.map +1 -0
- package/dist/paperless/p-1b5ec2b1.entry.js +2 -0
- package/dist/paperless/p-1b5ec2b1.entry.js.map +1 -0
- package/dist/paperless/p-1d80e042.js +2 -0
- package/dist/paperless/p-1d80e042.js.map +1 -0
- package/dist/paperless/p-1ed4a75e.entry.js +3 -0
- package/dist/paperless/p-1ed4a75e.entry.js.map +1 -0
- package/dist/paperless/p-1f464c93.entry.js +2 -0
- package/dist/paperless/p-1f464c93.entry.js.map +1 -0
- package/dist/paperless/p-214a2978.entry.js +2 -0
- package/dist/paperless/p-214a2978.entry.js.map +1 -0
- package/dist/paperless/p-291573c4.entry.js +2 -0
- package/dist/paperless/p-291573c4.entry.js.map +1 -0
- package/dist/paperless/p-2bd123f4.entry.js +2 -0
- package/dist/paperless/p-2bd123f4.entry.js.map +1 -0
- package/dist/paperless/p-3a428a06.entry.js +2 -0
- package/dist/paperless/p-3a428a06.entry.js.map +1 -0
- package/dist/paperless/p-3b5242e9.entry.js +2 -0
- package/dist/paperless/p-3b5242e9.entry.js.map +1 -0
- package/dist/paperless/p-3b8209bc.js +2 -0
- package/dist/paperless/p-3b8209bc.js.map +1 -0
- package/dist/paperless/p-3e393301.entry.js +2 -0
- package/dist/paperless/p-3e393301.entry.js.map +1 -0
- package/dist/paperless/p-45ded510.js +3 -0
- package/dist/paperless/p-45ded510.js.map +1 -0
- package/dist/paperless/p-46362798.entry.js +2 -0
- package/dist/paperless/p-46362798.entry.js.map +1 -0
- package/dist/paperless/p-48efb6e4.entry.js +2 -0
- package/dist/paperless/p-48efb6e4.entry.js.map +1 -0
- package/dist/paperless/p-50134fa1.entry.js +2 -0
- package/dist/paperless/p-50134fa1.entry.js.map +1 -0
- package/dist/paperless/p-562029b4.entry.js +2 -0
- package/dist/paperless/p-562029b4.entry.js.map +1 -0
- package/dist/paperless/p-62843ca0.entry.js +2 -0
- package/dist/paperless/p-62843ca0.entry.js.map +1 -0
- package/dist/paperless/p-62b14ab7.entry.js +2 -0
- package/dist/paperless/p-62b14ab7.entry.js.map +1 -0
- package/dist/paperless/p-638d2138.entry.js +2 -0
- package/dist/paperless/p-638d2138.entry.js.map +1 -0
- package/dist/paperless/p-65d9a61f.entry.js +2 -0
- package/dist/paperless/p-65d9a61f.entry.js.map +1 -0
- package/dist/paperless/p-6d8852ca.entry.js +2 -0
- package/dist/paperless/p-6d8852ca.entry.js.map +1 -0
- package/dist/paperless/p-7aecc5f3.entry.js +2 -0
- package/dist/paperless/p-7aecc5f3.entry.js.map +1 -0
- package/dist/paperless/p-83b79ff9.js +2 -0
- package/dist/paperless/p-83b79ff9.js.map +1 -0
- package/dist/paperless/p-8a1a6e56.js.map +1 -1
- package/dist/paperless/p-8a5b8196.js.map +1 -1
- package/dist/paperless/p-958f3c09.entry.js +2 -0
- package/dist/paperless/p-958f3c09.entry.js.map +1 -0
- package/dist/paperless/p-9a613c80.entry.js +2 -0
- package/dist/paperless/p-9a613c80.entry.js.map +1 -0
- package/dist/paperless/p-9ab34fee.js +2 -0
- package/dist/paperless/p-9ab34fee.js.map +1 -0
- package/dist/paperless/p-9cac28b6.js +2 -0
- package/dist/paperless/p-9cac28b6.js.map +1 -0
- package/dist/paperless/p-a56474ea.entry.js +2 -0
- package/dist/paperless/p-a56474ea.entry.js.map +1 -0
- package/dist/paperless/p-a5934232.entry.js +2 -0
- package/dist/paperless/p-a5934232.entry.js.map +1 -0
- package/dist/paperless/p-a6ccc70e.entry.js +2 -0
- package/dist/paperless/p-a6ccc70e.entry.js.map +1 -0
- package/dist/paperless/p-adcded4d.entry.js +2 -0
- package/dist/paperless/p-adcded4d.entry.js.map +1 -0
- package/dist/paperless/p-af468e9f.entry.js +2 -0
- package/dist/paperless/p-af468e9f.entry.js.map +1 -0
- package/dist/paperless/p-b082e123.js +2 -0
- package/dist/paperless/p-b082e123.js.map +1 -0
- package/dist/paperless/p-bf261165.entry.js +2 -0
- package/dist/paperless/p-bf261165.entry.js.map +1 -0
- package/dist/paperless/p-c3ba61ac.entry.js +2 -0
- package/dist/paperless/p-c3ba61ac.entry.js.map +1 -0
- package/dist/paperless/p-c605a1c1.js +2 -0
- package/dist/paperless/p-c605a1c1.js.map +1 -0
- package/dist/paperless/p-c8e79e30.entry.js +2 -0
- package/dist/paperless/p-c8e79e30.entry.js.map +1 -0
- package/dist/paperless/p-cc3445fc.entry.js +2 -0
- package/dist/paperless/p-cc3445fc.entry.js.map +1 -0
- package/dist/paperless/p-cfe6ec9a.entry.js +2 -0
- package/dist/paperless/p-cfe6ec9a.entry.js.map +1 -0
- package/dist/paperless/p-d044f441.entry.js +2 -0
- package/dist/paperless/p-d044f441.entry.js.map +1 -0
- package/dist/paperless/p-d3878a79.entry.js +2 -0
- package/dist/paperless/p-d3878a79.entry.js.map +1 -0
- package/dist/paperless/p-d6ca5bce.entry.js +2 -0
- package/dist/paperless/p-d6ca5bce.entry.js.map +1 -0
- package/dist/paperless/p-d70b3539.entry.js +2 -0
- package/dist/paperless/p-d70b3539.entry.js.map +1 -0
- package/dist/paperless/p-d8eb3b7b.entry.js +2 -0
- package/dist/paperless/p-d8eb3b7b.entry.js.map +1 -0
- package/dist/paperless/p-d9d8c17c.entry.js +2 -0
- package/dist/paperless/p-d9d8c17c.entry.js.map +1 -0
- package/dist/paperless/p-d9fae6bd.entry.js +2 -0
- package/dist/paperless/p-d9fae6bd.entry.js.map +1 -0
- package/dist/paperless/p-da7b6f2c.js.map +1 -1
- package/dist/paperless/p-de74e07c.js +2 -0
- package/dist/paperless/p-de74e07c.js.map +1 -0
- package/dist/paperless/p-dfce711d.entry.js +2 -0
- package/dist/paperless/p-dfce711d.entry.js.map +1 -0
- package/dist/paperless/p-e1255160.js +2 -0
- package/dist/paperless/p-e1255160.js.map +1 -0
- package/dist/paperless/p-e15305dc.entry.js +2 -0
- package/dist/paperless/p-e15305dc.entry.js.map +1 -0
- package/dist/paperless/p-ea577bae.entry.js +2 -0
- package/dist/paperless/p-ea577bae.entry.js.map +1 -0
- package/dist/paperless/p-eec56c71.entry.js +2 -0
- package/dist/paperless/p-eec56c71.entry.js.map +1 -0
- package/dist/paperless/p-f26a3049.js +2 -0
- package/dist/paperless/p-f26a3049.js.map +1 -0
- package/dist/paperless/p-f3d0ea94.entry.js +2 -0
- package/dist/paperless/p-f3d0ea94.entry.js.map +1 -0
- package/dist/paperless/p-f40f89a7.entry.js +2 -0
- package/dist/paperless/p-f40f89a7.entry.js.map +1 -0
- package/dist/paperless/p-fd53acd3.entry.js +2 -0
- package/dist/paperless/p-fd53acd3.entry.js.map +1 -0
- package/dist/paperless/p-fdf020c9.entry.js +2 -0
- package/dist/paperless/p-fdf020c9.entry.js.map +1 -0
- package/dist/paperless/p-fe66cde8.js +2 -0
- package/dist/paperless/p-fe66cde8.js.map +1 -0
- package/dist/paperless/paperless.css +1 -1
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/style/_fonts.scss +4 -0
- package/dist/style/paperless.scss +0 -2
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/theme/shadows.ts +2 -1
- package/dist/types/components/atoms/avatar/avatar.component.d.ts +22 -22
- package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +5 -5
- package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +33 -33
- package/dist/types/components/atoms/badge/badge.component.d.ts +1 -1
- package/dist/types/components/atoms/card-body/card-body.component.d.ts +5 -5
- package/dist/types/components/atoms/card-container/card-container.component.d.ts +9 -9
- package/dist/types/components/atoms/card-header/card-header.component.d.ts +16 -16
- package/dist/types/components/atoms/checkbox/checkbox.component.d.ts +42 -0
- package/dist/types/components/atoms/counter/counter.component.d.ts +9 -9
- package/dist/types/components/atoms/divider/divider.component.d.ts +9 -9
- package/dist/types/components/atoms/drawer-body/drawer-body.component.d.ts +5 -5
- package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +5 -5
- package/dist/types/components/atoms/drawer-header/drawer-header.component.d.ts +9 -9
- package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +21 -21
- package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +29 -25
- package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +5 -5
- package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +9 -9
- package/dist/types/components/atoms/helper/helper.component.d.ts +9 -9
- package/dist/types/components/atoms/iban-icon/iban-icon.component.d.ts +10 -10
- package/dist/types/components/atoms/icon/icon.component.d.ts +17 -17
- package/dist/types/components/atoms/icon-deprecated/icon.component.d.ts +17 -17
- package/dist/types/components/atoms/illustration/illustration.component.d.ts +5 -5
- package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +26 -26
- package/dist/types/components/atoms/label/label.component.d.ts +33 -33
- package/dist/types/components/atoms/layout/layout.component.d.ts +5 -5
- package/dist/types/components/atoms/loader/loader.component.d.ts +27 -27
- package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +17 -17
- package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +9 -9
- package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +1 -1
- package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +9 -9
- package/dist/types/components/atoms/navigation-title/navigation-title.component.d.ts +1 -1
- package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +5 -5
- package/dist/types/components/atoms/portal/portal.component.d.ts +11 -0
- package/dist/types/components/atoms/radio/radio.component.d.ts +38 -0
- package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +1 -1
- package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +32 -32
- package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +5 -5
- package/dist/types/components/atoms/status/status.component.d.ts +19 -19
- package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +21 -21
- package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +9 -9
- package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +1 -1
- package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +5 -5
- package/dist/types/components/atoms/table-container/table-container.component.d.ts +2 -2
- package/dist/types/components/atoms/toast-container/toast-container.component.d.ts +5 -5
- package/dist/types/components/atoms/toggle/toggle.component.d.ts +42 -0
- package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +61 -57
- package/dist/types/components/helpers/table-column/table-column.component.d.ts +44 -44
- package/dist/types/components/helpers/table-row-action/table-row-action.component.d.ts +47 -47
- package/dist/types/components/molecules/accordion/accordion.component.d.ts +22 -22
- package/dist/types/components/molecules/attachment/attachment.component.d.ts +25 -25
- package/dist/types/components/molecules/button/button.component.d.ts +87 -79
- package/dist/types/components/molecules/button-group/button-group.component.d.ts +12 -12
- package/dist/types/components/molecules/calendar/calendar.component.d.ts +74 -73
- package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +51 -51
- package/dist/types/components/molecules/cropper/cropper.component.d.ts +34 -34
- package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +108 -107
- package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +88 -83
- package/dist/types/components/molecules/field/field.component.d.ts +118 -0
- package/dist/types/components/molecules/field-container/field-container.component.d.ts +47 -0
- package/dist/types/components/molecules/input-error/input-error.component.d.ts +10 -10
- package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +33 -25
- 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 +46 -46
- package/dist/types/components/molecules/pagination/pagination.component.d.ts +32 -32
- package/dist/types/components/molecules/profile/profile.component.d.ts +17 -20
- package/dist/types/components/molecules/select/select.component.d.ts +217 -216
- package/dist/types/components/molecules/stepper/stepper.component.d.ts +24 -24
- package/dist/types/components/molecules/table-cell/table-cell.component.d.ts +42 -42
- package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +60 -60
- package/dist/types/components/molecules/table-header/table-header.component.d.ts +97 -97
- package/dist/types/components/molecules/table-row/table-row.component.d.ts +9 -9
- package/dist/types/components/molecules/toast/toast.component.d.ts +34 -34
- package/dist/types/components/organisms/drawer/drawer.component.d.ts +51 -51
- package/dist/types/components/organisms/modal/modal.component.d.ts +60 -60
- package/dist/types/components/organisms/navbar/navbar.component.d.ts +4 -8
- package/dist/types/components/organisms/table/table.component.d.ts +267 -268
- package/dist/types/components.d.ts +978 -211
- package/dist/types/stencil-public-runtime.d.ts +38 -10
- package/dist/types/tailwind/paperless.d.ts +2 -2
- package/dist/types/tailwind/plugins/hover.d.ts +1 -1
- package/dist/types/tailwind/plugins/safe-area.d.ts +1 -1
- package/dist/types/tailwind/theme/animation.d.ts +147 -147
- package/dist/types/tailwind/theme/colors.d.ts +175 -175
- package/dist/types/tailwind/theme/height.d.ts +4 -4
- package/dist/types/tailwind/theme/scale.d.ts +1 -1
- package/dist/types/tailwind/theme/screens.d.ts +12 -12
- package/dist/types/tailwind/theme/shadows.d.ts +7 -6
- package/dist/types/tailwind/theme/spacing.d.ts +5 -5
- package/dist/types/tailwind/theme/typography.d.ts +15 -15
- package/dist/types/tailwind/theme/width.d.ts +11 -11
- package/dist/types/tailwind/theme/z-index.d.ts +11 -11
- package/dist/types/tailwind.config.d.ts +2 -2
- package/dist/types/types/table.d.ts +24 -24
- package/dist/types/utils/icons-deprecated.d.ts +66 -66
- package/dist/types/utils/icons.d.ts +120 -120
- package/dist/types/utils/illustrations.d.ts +12 -12
- package/dist/types/utils/nonce.d.ts +1 -0
- package/dist/types/utils/table-helpers.d.ts +8 -8
- package/dist/workbox-d13932f0.js +2 -0
- package/dist/workbox-d13932f0.js.map +1 -0
- package/hydrate/index.d.ts +37 -13
- package/hydrate/index.js +32946 -16430
- package/hydrate/index.mjs +43465 -0
- package/hydrate/package.json +7 -1
- package/loader/cdn.js +1 -3
- package/loader/index.cjs.js +1 -3
- package/loader/index.d.ts +3 -0
- package/loader/index.es2017.js +1 -3
- package/loader/index.js +1 -3
- package/package.json +7 -7
- package/dist/build/p-013cd7f9.entry.js +0 -2
- package/dist/build/p-013cd7f9.entry.js.map +0 -1
- package/dist/build/p-0348e450.entry.js +0 -2
- package/dist/build/p-0348e450.entry.js.map +0 -1
- package/dist/build/p-047c1c6f.entry.js +0 -2
- package/dist/build/p-047c1c6f.entry.js.map +0 -1
- package/dist/build/p-08ea38ad.entry.js +0 -2
- package/dist/build/p-08ea38ad.entry.js.map +0 -1
- package/dist/build/p-16a18649.entry.js +0 -2
- package/dist/build/p-16a18649.entry.js.map +0 -1
- package/dist/build/p-1fc0a8b4.entry.js +0 -2
- package/dist/build/p-1fc0a8b4.entry.js.map +0 -1
- package/dist/build/p-221dbb71.entry.js +0 -2
- package/dist/build/p-221dbb71.entry.js.map +0 -1
- package/dist/build/p-23ca3688.entry.js +0 -2
- package/dist/build/p-23ca3688.entry.js.map +0 -1
- package/dist/build/p-2e3b9db4.js +0 -2
- package/dist/build/p-2e3b9db4.js.map +0 -1
- package/dist/build/p-2f9e9197.entry.js +0 -2
- package/dist/build/p-2f9e9197.entry.js.map +0 -1
- package/dist/build/p-32056913.entry.js +0 -2
- package/dist/build/p-32056913.entry.js.map +0 -1
- package/dist/build/p-33fa21e3.js +0 -2
- package/dist/build/p-33fa21e3.js.map +0 -1
- package/dist/build/p-385943b2.entry.js +0 -2
- package/dist/build/p-385943b2.entry.js.map +0 -1
- package/dist/build/p-393eba2f.entry.js +0 -2
- package/dist/build/p-393eba2f.entry.js.map +0 -1
- package/dist/build/p-3d867690.entry.js +0 -2
- package/dist/build/p-3d867690.entry.js.map +0 -1
- package/dist/build/p-3e9d994a.entry.js +0 -2
- package/dist/build/p-3e9d994a.entry.js.map +0 -1
- package/dist/build/p-45463125.entry.js +0 -2
- package/dist/build/p-45463125.entry.js.map +0 -1
- package/dist/build/p-4d330cfc.js +0 -2
- package/dist/build/p-4d330cfc.js.map +0 -1
- package/dist/build/p-5e789bb1.entry.js +0 -2
- package/dist/build/p-5e789bb1.entry.js.map +0 -1
- package/dist/build/p-64b53130.entry.js +0 -2
- package/dist/build/p-64b53130.entry.js.map +0 -1
- package/dist/build/p-64b68231.js +0 -3
- package/dist/build/p-64b68231.js.map +0 -1
- package/dist/build/p-6cddc325.js +0 -2
- package/dist/build/p-6cddc325.js.map +0 -1
- package/dist/build/p-6e71ebca.entry.js +0 -2
- package/dist/build/p-6e71ebca.entry.js.map +0 -1
- package/dist/build/p-6f7721eb.entry.js +0 -2
- package/dist/build/p-6f7721eb.entry.js.map +0 -1
- package/dist/build/p-6fed974c.entry.js +0 -2
- package/dist/build/p-6fed974c.entry.js.map +0 -1
- package/dist/build/p-75006522.js +0 -2
- package/dist/build/p-75006522.js.map +0 -1
- package/dist/build/p-79cc09c0.entry.js +0 -2
- package/dist/build/p-79cc09c0.entry.js.map +0 -1
- package/dist/build/p-7a577384.entry.js +0 -2
- package/dist/build/p-7a577384.entry.js.map +0 -1
- package/dist/build/p-7beb3401.entry.js +0 -2
- package/dist/build/p-7beb3401.entry.js.map +0 -1
- package/dist/build/p-7d5f6497.entry.js +0 -2
- package/dist/build/p-7d5f6497.entry.js.map +0 -1
- package/dist/build/p-851a7662.entry.js +0 -2
- package/dist/build/p-851a7662.entry.js.map +0 -1
- package/dist/build/p-909879e3.entry.js +0 -3
- package/dist/build/p-909879e3.entry.js.map +0 -1
- package/dist/build/p-937b2d74.entry.js +0 -2
- package/dist/build/p-937b2d74.entry.js.map +0 -1
- package/dist/build/p-95eadadd.entry.js +0 -2
- package/dist/build/p-95eadadd.entry.js.map +0 -1
- package/dist/build/p-9fa5d08a.entry.js +0 -2
- package/dist/build/p-9fa5d08a.entry.js.map +0 -1
- package/dist/build/p-a587ff9f.entry.js +0 -2
- package/dist/build/p-a587ff9f.entry.js.map +0 -1
- package/dist/build/p-a7b8e22f.entry.js +0 -2
- package/dist/build/p-a7b8e22f.entry.js.map +0 -1
- package/dist/build/p-aa058967.entry.js +0 -2
- package/dist/build/p-aa058967.entry.js.map +0 -1
- package/dist/build/p-af4aedaf.entry.js +0 -2
- package/dist/build/p-af4aedaf.entry.js.map +0 -1
- package/dist/build/p-b5430fae.entry.js +0 -2
- package/dist/build/p-b5430fae.entry.js.map +0 -1
- package/dist/build/p-b8e718c7.entry.js +0 -2
- package/dist/build/p-b8e718c7.entry.js.map +0 -1
- package/dist/build/p-b9a7e240.entry.js +0 -2
- package/dist/build/p-b9a7e240.entry.js.map +0 -1
- package/dist/build/p-bc46f89a.entry.js +0 -2
- package/dist/build/p-bc46f89a.entry.js.map +0 -1
- package/dist/build/p-be0c925e.entry.js +0 -2
- package/dist/build/p-be0c925e.entry.js.map +0 -1
- package/dist/build/p-bfbab545.entry.js +0 -2
- package/dist/build/p-bfbab545.entry.js.map +0 -1
- package/dist/build/p-c6bcbcbf.entry.js +0 -2
- package/dist/build/p-c6bcbcbf.entry.js.map +0 -1
- package/dist/build/p-cb7c509e.entry.js +0 -2
- package/dist/build/p-cb7c509e.entry.js.map +0 -1
- package/dist/build/p-cc321a7b.entry.js +0 -2
- package/dist/build/p-cc321a7b.entry.js.map +0 -1
- package/dist/build/p-d3d8468b.js +0 -2
- package/dist/build/p-d3d8468b.js.map +0 -1
- package/dist/build/p-d5d413a1.js +0 -2
- package/dist/build/p-d5d413a1.js.map +0 -1
- package/dist/build/p-d81a30f6.entry.js +0 -2
- package/dist/build/p-d81a30f6.entry.js.map +0 -1
- package/dist/build/p-dce95c92.entry.js +0 -2
- package/dist/build/p-dce95c92.entry.js.map +0 -1
- package/dist/build/p-dd6d3839.entry.js +0 -2
- package/dist/build/p-dd6d3839.entry.js.map +0 -1
- package/dist/build/p-e10cf2d3.entry.js +0 -2
- package/dist/build/p-e10cf2d3.entry.js.map +0 -1
- package/dist/build/p-ea3bce45.entry.js +0 -2
- package/dist/build/p-ea3bce45.entry.js.map +0 -1
- package/dist/build/p-f78afad9.entry.js +0 -2
- package/dist/build/p-f78afad9.entry.js.map +0 -1
- package/dist/build/p-f8544f0c.js +0 -2
- package/dist/build/p-f8544f0c.js.map +0 -1
- package/dist/build/p-fcaa0539.entry.js +0 -2
- package/dist/build/p-fcaa0539.entry.js.map +0 -1
- package/dist/build/p-fef32402.js +0 -2
- package/dist/build/p-fef32402.js.map +0 -1
- package/dist/cjs/child-of-af405fc2.js +0 -11
- package/dist/cjs/child-of-af405fc2.js.map +0 -1
- package/dist/cjs/floating-ui.dom.esm-62336770.js +0 -1334
- package/dist/cjs/floating-ui.dom.esm-62336770.js.map +0 -1
- package/dist/cjs/iban-71055b2d.js +0 -16
- package/dist/cjs/iban-71055b2d.js.map +0 -1
- package/dist/cjs/icons-deprecated-d4fd5f3e.js +0 -1123
- package/dist/cjs/icons-deprecated-d4fd5f3e.js.map +0 -1
- package/dist/cjs/icons-e50d4119.js +0 -1549
- package/dist/cjs/icons-e50d4119.js.map +0 -1
- package/dist/cjs/index-02e05522.js +0 -2653
- package/dist/cjs/index-02e05522.js.map +0 -1
- package/dist/cjs/index-b59a0544.js +0 -2324
- package/dist/cjs/index-b59a0544.js.map +0 -1
- package/dist/cjs/localization-9132fab0.js +0 -62
- package/dist/cjs/localization-9132fab0.js.map +0 -1
- package/dist/cjs/object-get-by-path-c2e8bf29.js +0 -120
- package/dist/cjs/object-get-by-path-c2e8bf29.js.map +0 -1
- package/dist/cjs/p-dropdown_2.cjs.entry.js +0 -234
- package/dist/cjs/p-dropdown_2.cjs.entry.js.map +0 -1
- package/dist/cjs/p-helper_3.cjs.entry.js +0 -156
- package/dist/cjs/p-helper_3.cjs.entry.js.map +0 -1
- package/dist/cjs/p-tooltip.cjs.entry.js +0 -164
- package/dist/cjs/p-tooltip.cjs.entry.js.map +0 -1
- package/dist/cjs/screens-eb3a3232.js +0 -67
- package/dist/cjs/screens-eb3a3232.js.map +0 -1
- package/dist/collection/components/atoms/avatar/test/avatar.component.e2e.js +0 -26
- package/dist/collection/components/atoms/avatar/test/avatar.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/avatar/test/avatar.component.spec.js +0 -35
- package/dist/collection/components/atoms/avatar/test/avatar.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.e2e.js +0 -26
- package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.spec.js +0 -17
- package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/backdrop/test/backdrop.component.e2e.js +0 -26
- package/dist/collection/components/atoms/backdrop/test/backdrop.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/backdrop/test/backdrop.component.spec.js +0 -17
- package/dist/collection/components/atoms/backdrop/test/backdrop.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/badge/test/badge.component.e2e.js +0 -26
- package/dist/collection/components/atoms/badge/test/badge.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/badge/test/badge.component.spec.js +0 -17
- package/dist/collection/components/atoms/badge/test/badge.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/card-body/test/card-body.component.e2e.js +0 -26
- package/dist/collection/components/atoms/card-body/test/card-body.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/card-body/test/card-body.component.spec.js +0 -18
- package/dist/collection/components/atoms/card-body/test/card-body.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/card-container/test/card-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/card-container/test/card-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/card-container/test/card-container.component.spec.js +0 -18
- package/dist/collection/components/atoms/card-container/test/card-container.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/card-header/test/card-header.component.e2e.js +0 -26
- package/dist/collection/components/atoms/card-header/test/card-header.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/card-header/test/card-header.component.spec.js +0 -18
- package/dist/collection/components/atoms/card-header/test/card-header.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/counter/test/counter.component.e2e.js +0 -26
- package/dist/collection/components/atoms/counter/test/counter.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/counter/test/counter.component.spec.js +0 -18
- package/dist/collection/components/atoms/counter/test/counter.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/divider/test/divider.component.e2e.js +0 -26
- package/dist/collection/components/atoms/divider/test/divider.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/divider/test/divider.component.spec.js +0 -17
- package/dist/collection/components/atoms/divider/test/divider.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.e2e.js +0 -26
- package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.spec.js +0 -17
- package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.spec.js +0 -17
- package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.e2e.js +0 -26
- package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.spec.js +0 -17
- package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-item.component.spec.js +0 -17
- package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-item.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.e2e.js +0 -26
- package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.spec.js +0 -18
- package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js +0 -17
- package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js +0 -17
- package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/helper/test/helper.component.e2e.js +0 -26
- package/dist/collection/components/atoms/helper/test/helper.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/helper/test/helper.component.spec.js +0 -35
- package/dist/collection/components/atoms/helper/test/helper.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js +0 -26
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js +0 -17
- package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/icon/test/icon.component.e2e.js +0 -37
- package/dist/collection/components/atoms/icon/test/icon.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/icon/test/icon.component.spec.js +0 -47
- package/dist/collection/components/atoms/icon/test/icon.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js +0 -37
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js +0 -47
- package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/illustration/test/illustration.component.e2e.js +0 -37
- package/dist/collection/components/atoms/illustration/test/illustration.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/illustration/test/illustration.component.spec.js +0 -47
- package/dist/collection/components/atoms/illustration/test/illustration.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/info-panel/test/info-panel.component.e2e.js +0 -26
- package/dist/collection/components/atoms/info-panel/test/info-panel.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/info-panel/test/info-panel.component.spec.js +0 -18
- package/dist/collection/components/atoms/info-panel/test/info-panel.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/label/test/label.component.e2e.js +0 -26
- package/dist/collection/components/atoms/label/test/label.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/label/test/label.component.spec.js +0 -17
- package/dist/collection/components/atoms/label/test/label.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/layout/test/layout.component.e2e.js +0 -26
- package/dist/collection/components/atoms/layout/test/layout.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/layout/test/layout.component.spec.js +0 -17
- package/dist/collection/components/atoms/layout/test/layout.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/loader/test/loader.component.e2e.js +0 -37
- package/dist/collection/components/atoms/loader/test/loader.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/loader/test/loader.component.spec.js +0 -47
- package/dist/collection/components/atoms/loader/test/loader.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/modal-body/test/modal-body.component.e2e.js +0 -26
- package/dist/collection/components/atoms/modal-body/test/modal-body.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/modal-body/test/modal-body.component.spec.js +0 -17
- package/dist/collection/components/atoms/modal-body/test/modal-body.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/modal-container/test/modal-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/modal-container/test/modal-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/modal-container/test/modal-container.component.spec.js +0 -17
- package/dist/collection/components/atoms/modal-container/test/modal-container.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.e2e.js +0 -26
- package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.spec.js +0 -17
- package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/modal-header/test/modal-header.component.e2e.js +0 -26
- package/dist/collection/components/atoms/modal-header/test/modal-header.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/modal-header/test/modal-header.component.spec.js +0 -17
- package/dist/collection/components/atoms/modal-header/test/modal-header.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js +0 -26
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js +0 -17
- package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.e2e.js +0 -26
- package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.spec.js +0 -18
- package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/segment-container/test/segment-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/segment-container/test/segment-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/segment-container/test/segment-container.component.spec.js +0 -17
- package/dist/collection/components/atoms/segment-container/test/segment-container.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/segment-item/test/segment-item.component.e2e.js +0 -26
- package/dist/collection/components/atoms/segment-item/test/segment-item.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/segment-item/test/segment-item.component.spec.js +0 -17
- package/dist/collection/components/atoms/segment-item/test/segment-item.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.e2e.js +0 -26
- package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.spec.js +0 -17
- package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/status/test/status.component.e2e.js +0 -26
- package/dist/collection/components/atoms/status/test/status.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/status/test/status.component.spec.js +0 -17
- package/dist/collection/components/atoms/status/test/status.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.e2e.js +0 -26
- package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.spec.js +0 -17
- package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.e2e.js +0 -26
- package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.spec.js +0 -17
- package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/tab-group/test/tab-group.component.e2e.js +0 -26
- package/dist/collection/components/atoms/tab-group/test/tab-group.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/tab-group/test/tab-group.component.spec.js +0 -17
- package/dist/collection/components/atoms/tab-group/test/tab-group.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/tab-item/test/tab-item.component.e2e.js +0 -26
- package/dist/collection/components/atoms/tab-item/test/tab-item.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/tab-item/test/tab-item.component.spec.js +0 -17
- package/dist/collection/components/atoms/tab-item/test/tab-item.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/table-container/test/table-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/table-container/test/table-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/table-container/test/table-container.component.spec.js +0 -17
- package/dist/collection/components/atoms/table-container/test/table-container.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/toast-container/test/toast-container.component.e2e.js +0 -26
- package/dist/collection/components/atoms/toast-container/test/toast-container.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/toast-container/test/toast-container.component.spec.js +0 -17
- package/dist/collection/components/atoms/toast-container/test/toast-container.component.spec.js.map +0 -1
- package/dist/collection/components/atoms/tooltip/test/tooltip.component.e2e.js +0 -37
- package/dist/collection/components/atoms/tooltip/test/tooltip.component.e2e.js.map +0 -1
- package/dist/collection/components/atoms/tooltip/test/tooltip.component.spec.js +0 -12
- package/dist/collection/components/atoms/tooltip/test/tooltip.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/accordion/test/accordion.component.e2e.js +0 -26
- package/dist/collection/components/molecules/accordion/test/accordion.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/accordion/test/accordion.component.spec.js +0 -17
- package/dist/collection/components/molecules/accordion/test/accordion.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/attachment/test/attachment.component.e2e.js +0 -26
- package/dist/collection/components/molecules/attachment/test/attachment.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/attachment/test/attachment.component.spec.js +0 -17
- package/dist/collection/components/molecules/attachment/test/attachment.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/button/test/button.component.e2e.js +0 -26
- package/dist/collection/components/molecules/button/test/button.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/button/test/button.component.spec.js +0 -35
- package/dist/collection/components/molecules/button/test/button.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/button-group/test/button-group.component.e2e.js +0 -26
- package/dist/collection/components/molecules/button-group/test/button-group.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/button-group/test/button-group.component.spec.js +0 -35
- package/dist/collection/components/molecules/button-group/test/button-group.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/calendar/test/calendar.component.e2e.js +0 -26
- package/dist/collection/components/molecules/calendar/test/calendar.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/calendar/test/calendar.component.spec.js +0 -17
- package/dist/collection/components/molecules/calendar/test/calendar.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/content-slider/test/content-slider.component.e2e.js +0 -26
- package/dist/collection/components/molecules/content-slider/test/content-slider.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/content-slider/test/content-slider.component.spec.js +0 -17
- package/dist/collection/components/molecules/content-slider/test/content-slider.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/cropper/test/cropper.component.e2e.js +0 -26
- package/dist/collection/components/molecules/cropper/test/cropper.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/cropper/test/cropper.component.spec.js +0 -17
- package/dist/collection/components/molecules/cropper/test/cropper.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/datepicker/test/datepicker.component.e2e.js +0 -26
- package/dist/collection/components/molecules/datepicker/test/datepicker.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/datepicker/test/datepicker.component.spec.js +0 -17
- package/dist/collection/components/molecules/datepicker/test/datepicker.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/dropdown/test/dropdown.component.e2e.js +0 -26
- package/dist/collection/components/molecules/dropdown/test/dropdown.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/dropdown/test/dropdown.component.spec.js +0 -17
- package/dist/collection/components/molecules/dropdown/test/dropdown.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/input-error/test/input-error.component.e2e.js +0 -26
- package/dist/collection/components/molecules/input-error/test/input-error.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/input-error/test/input-error.component.spec.js +0 -17
- package/dist/collection/components/molecules/input-error/test/input-error.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/input-group/input-group.component.css +0 -1
- package/dist/collection/components/molecules/input-group/input-group.component.js +0 -449
- package/dist/collection/components/molecules/input-group/input-group.component.js.map +0 -1
- package/dist/collection/components/molecules/input-group/test/input-group.component.e2e.js +0 -26
- package/dist/collection/components/molecules/input-group/test/input-group.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/input-group/test/input-group.component.spec.js +0 -17
- package/dist/collection/components/molecules/input-group/test/input-group.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.e2e.js +0 -26
- package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.spec.js +0 -18
- package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.e2e.js +0 -26
- package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.spec.js +0 -17
- package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/pagination/test/pagination.component.e2e.js +0 -27
- package/dist/collection/components/molecules/pagination/test/pagination.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/pagination/test/pagination.component.spec.js +0 -18
- package/dist/collection/components/molecules/pagination/test/pagination.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/profile/test/profile.component.e2e.js +0 -26
- package/dist/collection/components/molecules/profile/test/profile.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/profile/test/profile.component.spec.js +0 -17
- package/dist/collection/components/molecules/profile/test/profile.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/select/test/select.component.e2e.js +0 -26
- package/dist/collection/components/molecules/select/test/select.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/select/test/select.component.spec.js +0 -17
- package/dist/collection/components/molecules/select/test/select.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/stepper/test/stepper.component.e2e.js +0 -26
- package/dist/collection/components/molecules/stepper/test/stepper.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/stepper/test/stepper.component.spec.js +0 -17
- package/dist/collection/components/molecules/stepper/test/stepper.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/table-cell/test/table-cell.component.e2e.js +0 -26
- package/dist/collection/components/molecules/table-cell/test/table-cell.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/table-cell/test/table-cell.component.spec.js +0 -17
- package/dist/collection/components/molecules/table-cell/test/table-cell.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/table-footer/test/table-footer.component.e2e.js +0 -26
- package/dist/collection/components/molecules/table-footer/test/table-footer.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/table-footer/test/table-footer.component.spec.js +0 -17
- package/dist/collection/components/molecules/table-footer/test/table-footer.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/table-header/test/table-header.component.e2e.js +0 -26
- package/dist/collection/components/molecules/table-header/test/table-header.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/table-header/test/table-header.component.spec.js +0 -17
- package/dist/collection/components/molecules/table-header/test/table-header.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/table-row/test/table-row.component.e2e.js +0 -26
- package/dist/collection/components/molecules/table-row/test/table-row.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/table-row/test/table-row.component.spec.js +0 -17
- package/dist/collection/components/molecules/table-row/test/table-row.component.spec.js.map +0 -1
- package/dist/collection/components/molecules/toast/test/toast.component.e2e.js +0 -26
- package/dist/collection/components/molecules/toast/test/toast.component.e2e.js.map +0 -1
- package/dist/collection/components/molecules/toast/test/toast.component.spec.js +0 -17
- package/dist/collection/components/molecules/toast/test/toast.component.spec.js.map +0 -1
- package/dist/collection/components/organisms/drawer/test/drawer.component.e2e.js +0 -26
- package/dist/collection/components/organisms/drawer/test/drawer.component.e2e.js.map +0 -1
- package/dist/collection/components/organisms/drawer/test/drawer.component.spec.js +0 -17
- package/dist/collection/components/organisms/drawer/test/drawer.component.spec.js.map +0 -1
- package/dist/collection/components/organisms/modal/test/modal.component.e2e.js +0 -26
- package/dist/collection/components/organisms/modal/test/modal.component.e2e.js.map +0 -1
- package/dist/collection/components/organisms/modal/test/modal.component.spec.js +0 -17
- package/dist/collection/components/organisms/modal/test/modal.component.spec.js.map +0 -1
- package/dist/collection/components/organisms/navbar/test/navbar.component.e2e.js +0 -26
- package/dist/collection/components/organisms/navbar/test/navbar.component.e2e.js.map +0 -1
- package/dist/collection/components/organisms/navbar/test/navbar.component.spec.js +0 -17
- package/dist/collection/components/organisms/navbar/test/navbar.component.spec.js.map +0 -1
- package/dist/collection/components/organisms/table/test/table.component.e2e.js +0 -26
- package/dist/collection/components/organisms/table/test/table.component.e2e.js.map +0 -1
- package/dist/collection/components/organisms/table/test/table.component.spec.js +0 -18
- package/dist/collection/components/organisms/table/test/table.component.spec.js.map +0 -1
- package/dist/components/input-group.component.js +0 -181
- package/dist/components/input-group.component.js.map +0 -1
- package/dist/components/p-input-group.d.ts +0 -11
- package/dist/components/p-input-group.js +0 -8
- package/dist/components/p-input-group.js.map +0 -1
- package/dist/esm/child-of-fec6ab3a.js +0 -9
- package/dist/esm/child-of-fec6ab3a.js.map +0 -1
- package/dist/esm/floating-ui.dom.esm-314a52b2.js +0 -1327
- package/dist/esm/floating-ui.dom.esm-314a52b2.js.map +0 -1
- package/dist/esm/iban-c412c889.js +0 -14
- package/dist/esm/iban-c412c889.js.map +0 -1
- package/dist/esm/icons-cf12e4d2.js +0 -1546
- package/dist/esm/icons-cf12e4d2.js.map +0 -1
- package/dist/esm/icons-deprecated-2e1d124f.js +0 -1121
- package/dist/esm/icons-deprecated-2e1d124f.js.map +0 -1
- package/dist/esm/index-5fa2e728.js +0 -2300
- package/dist/esm/index-5fa2e728.js.map +0 -1
- package/dist/esm/index-f99096d4.js +0 -2624
- package/dist/esm/index-f99096d4.js.map +0 -1
- package/dist/esm/localization-2c641f90.js +0 -59
- package/dist/esm/localization-2c641f90.js.map +0 -1
- package/dist/esm/object-get-by-path-273a7106.js +0 -114
- package/dist/esm/object-get-by-path-273a7106.js.map +0 -1
- package/dist/esm/p-dropdown_2.entry.js +0 -229
- package/dist/esm/p-dropdown_2.entry.js.map +0 -1
- package/dist/esm/p-helper_3.entry.js +0 -150
- package/dist/esm/p-helper_3.entry.js.map +0 -1
- package/dist/esm/p-tooltip.entry.js +0 -160
- package/dist/esm/p-tooltip.entry.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/esm/screens-c0e0dee2.js +0 -54
- package/dist/esm/screens-c0e0dee2.js.map +0 -1
- package/dist/paperless/p-013cd7f9.entry.js +0 -2
- package/dist/paperless/p-013cd7f9.entry.js.map +0 -1
- package/dist/paperless/p-0348e450.entry.js +0 -2
- package/dist/paperless/p-0348e450.entry.js.map +0 -1
- package/dist/paperless/p-047c1c6f.entry.js +0 -2
- package/dist/paperless/p-047c1c6f.entry.js.map +0 -1
- package/dist/paperless/p-08ea38ad.entry.js +0 -2
- package/dist/paperless/p-08ea38ad.entry.js.map +0 -1
- package/dist/paperless/p-16a18649.entry.js +0 -2
- package/dist/paperless/p-16a18649.entry.js.map +0 -1
- package/dist/paperless/p-1fc0a8b4.entry.js +0 -2
- package/dist/paperless/p-1fc0a8b4.entry.js.map +0 -1
- package/dist/paperless/p-221dbb71.entry.js +0 -2
- package/dist/paperless/p-221dbb71.entry.js.map +0 -1
- package/dist/paperless/p-23ca3688.entry.js +0 -2
- package/dist/paperless/p-23ca3688.entry.js.map +0 -1
- package/dist/paperless/p-2e3b9db4.js +0 -2
- package/dist/paperless/p-2e3b9db4.js.map +0 -1
- package/dist/paperless/p-2f9e9197.entry.js +0 -2
- package/dist/paperless/p-2f9e9197.entry.js.map +0 -1
- package/dist/paperless/p-32056913.entry.js +0 -2
- package/dist/paperless/p-32056913.entry.js.map +0 -1
- package/dist/paperless/p-33fa21e3.js +0 -2
- package/dist/paperless/p-33fa21e3.js.map +0 -1
- package/dist/paperless/p-385943b2.entry.js +0 -2
- package/dist/paperless/p-385943b2.entry.js.map +0 -1
- package/dist/paperless/p-393eba2f.entry.js +0 -2
- package/dist/paperless/p-393eba2f.entry.js.map +0 -1
- package/dist/paperless/p-3d867690.entry.js +0 -2
- package/dist/paperless/p-3d867690.entry.js.map +0 -1
- package/dist/paperless/p-3e9d994a.entry.js +0 -2
- package/dist/paperless/p-3e9d994a.entry.js.map +0 -1
- package/dist/paperless/p-45463125.entry.js +0 -2
- package/dist/paperless/p-45463125.entry.js.map +0 -1
- package/dist/paperless/p-4d330cfc.js +0 -2
- package/dist/paperless/p-4d330cfc.js.map +0 -1
- package/dist/paperless/p-5e789bb1.entry.js +0 -2
- package/dist/paperless/p-5e789bb1.entry.js.map +0 -1
- package/dist/paperless/p-64b53130.entry.js +0 -2
- package/dist/paperless/p-64b53130.entry.js.map +0 -1
- package/dist/paperless/p-64b68231.js +0 -3
- package/dist/paperless/p-64b68231.js.map +0 -1
- package/dist/paperless/p-6cddc325.js +0 -2
- package/dist/paperless/p-6cddc325.js.map +0 -1
- package/dist/paperless/p-6e71ebca.entry.js +0 -2
- package/dist/paperless/p-6e71ebca.entry.js.map +0 -1
- package/dist/paperless/p-6f7721eb.entry.js +0 -2
- package/dist/paperless/p-6f7721eb.entry.js.map +0 -1
- package/dist/paperless/p-6fed974c.entry.js +0 -2
- package/dist/paperless/p-6fed974c.entry.js.map +0 -1
- package/dist/paperless/p-75006522.js +0 -2
- package/dist/paperless/p-75006522.js.map +0 -1
- package/dist/paperless/p-79cc09c0.entry.js +0 -2
- package/dist/paperless/p-79cc09c0.entry.js.map +0 -1
- package/dist/paperless/p-7a577384.entry.js +0 -2
- package/dist/paperless/p-7a577384.entry.js.map +0 -1
- package/dist/paperless/p-7beb3401.entry.js +0 -2
- package/dist/paperless/p-7beb3401.entry.js.map +0 -1
- package/dist/paperless/p-7d5f6497.entry.js +0 -2
- package/dist/paperless/p-7d5f6497.entry.js.map +0 -1
- package/dist/paperless/p-851a7662.entry.js +0 -2
- package/dist/paperless/p-851a7662.entry.js.map +0 -1
- package/dist/paperless/p-909879e3.entry.js +0 -3
- package/dist/paperless/p-909879e3.entry.js.map +0 -1
- package/dist/paperless/p-937b2d74.entry.js +0 -2
- package/dist/paperless/p-937b2d74.entry.js.map +0 -1
- package/dist/paperless/p-95eadadd.entry.js +0 -2
- package/dist/paperless/p-95eadadd.entry.js.map +0 -1
- package/dist/paperless/p-9fa5d08a.entry.js +0 -2
- package/dist/paperless/p-9fa5d08a.entry.js.map +0 -1
- package/dist/paperless/p-a587ff9f.entry.js +0 -2
- package/dist/paperless/p-a587ff9f.entry.js.map +0 -1
- package/dist/paperless/p-a7b8e22f.entry.js +0 -2
- package/dist/paperless/p-a7b8e22f.entry.js.map +0 -1
- package/dist/paperless/p-aa058967.entry.js +0 -2
- package/dist/paperless/p-aa058967.entry.js.map +0 -1
- package/dist/paperless/p-af4aedaf.entry.js +0 -2
- package/dist/paperless/p-af4aedaf.entry.js.map +0 -1
- package/dist/paperless/p-b5430fae.entry.js +0 -2
- package/dist/paperless/p-b5430fae.entry.js.map +0 -1
- package/dist/paperless/p-b8e718c7.entry.js +0 -2
- package/dist/paperless/p-b8e718c7.entry.js.map +0 -1
- package/dist/paperless/p-b9a7e240.entry.js +0 -2
- package/dist/paperless/p-b9a7e240.entry.js.map +0 -1
- package/dist/paperless/p-bc46f89a.entry.js +0 -2
- package/dist/paperless/p-bc46f89a.entry.js.map +0 -1
- package/dist/paperless/p-be0c925e.entry.js +0 -2
- package/dist/paperless/p-be0c925e.entry.js.map +0 -1
- package/dist/paperless/p-bfbab545.entry.js +0 -2
- package/dist/paperless/p-bfbab545.entry.js.map +0 -1
- package/dist/paperless/p-c6bcbcbf.entry.js +0 -2
- package/dist/paperless/p-c6bcbcbf.entry.js.map +0 -1
- package/dist/paperless/p-cb7c509e.entry.js +0 -2
- package/dist/paperless/p-cb7c509e.entry.js.map +0 -1
- package/dist/paperless/p-cc321a7b.entry.js +0 -2
- package/dist/paperless/p-cc321a7b.entry.js.map +0 -1
- package/dist/paperless/p-d3d8468b.js +0 -2
- package/dist/paperless/p-d3d8468b.js.map +0 -1
- package/dist/paperless/p-d5d413a1.js +0 -2
- package/dist/paperless/p-d5d413a1.js.map +0 -1
- package/dist/paperless/p-d81a30f6.entry.js +0 -2
- package/dist/paperless/p-d81a30f6.entry.js.map +0 -1
- package/dist/paperless/p-dce95c92.entry.js +0 -2
- package/dist/paperless/p-dce95c92.entry.js.map +0 -1
- package/dist/paperless/p-dd6d3839.entry.js +0 -2
- package/dist/paperless/p-dd6d3839.entry.js.map +0 -1
- package/dist/paperless/p-e10cf2d3.entry.js +0 -2
- package/dist/paperless/p-e10cf2d3.entry.js.map +0 -1
- package/dist/paperless/p-ea3bce45.entry.js +0 -2
- package/dist/paperless/p-ea3bce45.entry.js.map +0 -1
- package/dist/paperless/p-f78afad9.entry.js +0 -2
- package/dist/paperless/p-f78afad9.entry.js.map +0 -1
- package/dist/paperless/p-f8544f0c.js +0 -2
- package/dist/paperless/p-f8544f0c.js.map +0 -1
- package/dist/paperless/p-fcaa0539.entry.js +0 -2
- package/dist/paperless/p-fcaa0539.entry.js.map +0 -1
- package/dist/paperless/p-fef32402.js +0 -2
- package/dist/paperless/p-fef32402.js.map +0 -1
- package/dist/style/form/_checkbox.scss +0 -135
- package/dist/style/form/_input.scss +0 -31
- package/dist/style/form/_mixins.scss +0 -129
- package/dist/style/form/_radio.scss +0 -58
- package/dist/style/form/_range.scss +0 -20
- package/dist/style/form/_textarea.scss +0 -31
- package/dist/style/form/index.scss +0 -5
- package/dist/types/components/molecules/input-group/input-group.component.d.ts +0 -81
- package/dist/workbox-bc53c9ad.js +0 -2
- package/dist/workbox-bc53c9ad.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/select/select.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAQzC,MAAM,OAAO,MAAM;;;;;;;mCA6BwB,WAAW;;sBAUxB,MAAM;;;;;;;oBAmCR,OAAO;;;;;2BAyBC,IAAI;uBAKR,IAAI;6BAKC,EAAE;8BAKA,IAAI;uBAKX,KAAK;mBAKT,KAAK;2BAKG,KAAK;yBAKR,YAAY;;gBA0CT,QAAQ;;;;;;oBA8BE,KAAK;uBAKnB,KAAK;uBAKN,UAAU;0BAaP,oBAAoB;yBAOf,KAAK;yBACL,IAAI;wBAED,KAAK;yBAEb,CAAC;;EASlC,IAAI,MAAM;;IACT,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,EAAE;MAChC,OAAO,EAAE,CAAC;KACV;IAED,IAAI,KAAK,GACR,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC;IAEtE,IAA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,CAAC,cAAc,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAE;QAC7B,CAAC,CAAC,YAAY,IAGf,OAAO,CACH,CACN,CAAC;EACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["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 { childOf } from '../../../utils';\nimport { IconVariant } from '../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-select',\n\tstyleUrl: 'select.component.scss',\n\tshadow: false,\n})\nexport class Select {\n\t/**\n\t * The items to show in the dropdown\n\t */\n\t@Prop() items: string | any[];\n\n\t/**\n\t * Wether to enable multi select\n\t */\n\t@Prop({ reflect: true }) multi: boolean;\n\n\t/**\n\t * Icon of the select box\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * The current query\n\t */\n\t@Prop() query: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The placeholder of the input used for auto complete\n\t */\n\t@Prop() autocompletePlaceholder: string = 'Search...';\n\n\t/**\n\t * The current value\n\t */\n\t@Prop() value: any;\n\n\t/**\n\t * The key of the object to display\n\t */\n\t@Prop() displayKey: string = 'text';\n\n\t/**\n\t * The key of the object to display in the dropdown (overwrites displayKey)\n\t */\n\t@Prop() dropdownDisplayKey: string | undefined;\n\n\t/**\n\t * The key of the object to display in the input (overwrites displayKey)\n\t */\n\t@Prop() selectionDisplayKey: string | undefined;\n\n\t/**\n\t * The key of the object to return\n\t */\n\t@Prop() valueKey: string;\n\n\t/**\n\t * The key of avatar within an item to show\n\t */\n\t@Prop() avatarKey: string;\n\n\t/**\n\t * The key of icon variant within an item to show\n\t */\n\t@Prop() iconKey: string;\n\n\t/**\n\t * Wether to show the icon also on the selected Item\n\t */\n\t@Prop() showIconInSelectedItem: string;\n\n\t/**\n\t * The key of a class in an item to apply\n\t */\n\t@Prop() classKey: string = 'class';\n\n\t/**\n\t * Wether to apply the item's class also on the selected item\n\t */\n\t@Prop() applyClassOnSelectedItem: string;\n\n\t/**\n\t * The key of avatar letters within an item to show when the avatar url doesn't work\n\t */\n\t@Prop() avatarLettersKey: string;\n\n\t/**\n\t * The key to identify an object\n\t */\n\t@Prop() identifierKey: string;\n\n\t/**\n\t * The key of the object to display\n\t */\n\t@Prop() queryKey?: string;\n\n\t/**\n\t * Wether to automatically select the first item\n\t */\n\t@Prop() autoSelectFirst: boolean = true;\n\n\t/**\n\t * Wether to show the chevron or not\n\t */\n\t@Prop() showChevron: boolean = true;\n\n\t/**\n\t * The maximum amount of items to display\n\t */\n\t@Prop() maxDisplayedItems: number = 10;\n\n\t/**\n\t * Wether to enable autocomplete\n\t */\n\t@Prop() enableAutocomplete: boolean = true;\n\n\t/**\n\t * Wether the input uses async filtering\n\t */\n\t@Prop() asyncFilter: boolean = false;\n\n\t/**\n\t * Wether to show loading items\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether to show the select all item with multi select\n\t */\n\t@Prop() enableSelectAll: boolean = false;\n\n\t/**\n\t * The text of the select all item\n\t */\n\t@Prop() selectAllText: string = 'Select all';\n\n\t/**\n\t * The icon to prefix for select all\n\t */\n\t@Prop() selectAllIcon: IconVariant | undefined;\n\n\t/**\n\t * Event when the query of the autocomplete changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tqueryChange: EventEmitter<string>;\n\n\t/**\n\t * Event when the value changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tvalueChange: EventEmitter<any>;\n\n\t/**\n\t * Event when the select all item has been selected or not\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tselectAllChange: EventEmitter<any>;\n\n\t/**\n\t * Event when the dropdown shows\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdropdownShown: EventEmitter<any>;\n\n\t/**\n\t * The size of the input group used by the select\n\t */\n\t@Prop() size: 'small' | 'medium' = 'medium';\n\n\t/**\n\t * The prefix of the input group used by the select\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The label of the input group used by the select\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The helper of the input group used by the select\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group used by the select\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether the input group is disabled used by the select\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether to show a \"add\" item\n\t */\n\t@Prop() showAddItem: boolean = false;\n\n\t/**\n\t * The text to show when add item is being shown\n\t */\n\t@Prop() addItemText: string = 'Add item';\n\n\t/**\n\t * Event when the add item is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tadd: EventEmitter;\n\n\t/**\n\t * The text to show when items is empty\n\t */\n\t@Prop() emptyStateText: string = 'No items available';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _showDropdown: any = false;\n\t@State() private _selectedItem: any = null;\n\n\t@State() private _allSelected: boolean = false;\n\n\t@State() private _amountHidden = 0;\n\n\tprivate _inputRef: HTMLDivElement;\n\tprivate autocompleteInputRef: HTMLInputElement;\n\tprivate _multiContainerRef: HTMLElement;\n\n\tprivate _resizeObserver: ResizeObserver;\n\tprivate _resizeDebounceTimer: NodeJS.Timer;\n\n\tget _items() {\n\t\tif (!this.items || this.loading) {\n\t\t\treturn [];\n\t\t}\n\n\t\tlet items =\n\t\t\ttypeof this.items === 'string' ? JSON.parse(this.items) : this.items;\n\n\t\tif (typeof items?.[0] === 'string') {\n\t\t\tthis.displayKey = 'text';\n\t\t\tthis.valueKey = 'value';\n\n\t\t\titems = items.map(str => ({\n\t\t\t\tvalue: str,\n\t\t\t\ttext: str,\n\t\t\t}));\n\t\t}\n\n\t\tif (this.query?.length && !this.asyncFilter) {\n\t\t\titems = items.filter(item => {\n\t\t\t\tif (this.queryKey) {\n\t\t\t\t\treturn this._checkvalue(this.queryKey, item);\n\t\t\t\t}\n\n\t\t\t\treturn (\n\t\t\t\t\tthis._checkvalue(this._identifierKey, item) ||\n\t\t\t\t\tthis._checkvalue(this.displayKey, item)\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\n\t\treturn items?.slice(0, this.maxDisplayedItems);\n\t}\n\n\tget _displayValue() {\n\t\tif (!this._selectedItem) {\n\t\t\treturn this.placeholder;\n\t\t}\n\n\t\tif (this.multi) {\n\t\t\tif (this._selectedItem?.length === 0) {\n\t\t\t\treturn this.placeholder;\n\t\t\t}\n\n\t\t\treturn (\n\t\t\t\t<div\n\t\t\t\t\tclass={`multi-container size-${this.size}`}\n\t\t\t\t\tref={ref => (this._multiContainerRef = ref)}\n\t\t\t\t>\n\t\t\t\t\t{this._selectedItem.map(item => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass='item'\n\t\t\t\t\t\t\tonClick={() => this._selectValue(item)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{item[this.selectionDisplayKey ?? this.displayKey]}\n\t\t\t\t\t\t\t<p-icon variant='negative' />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\n\t\t\t\t\t<div class='extra hidden'>+{this._amountHidden}</div>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn this._getDisplay(this._selectedItem, true);\n\t}\n\n\tget _identifierKey() {\n\t\treturn this.identifierKey ?? this.valueKey ?? 'value';\n\t}\n\n\tcomponentDidLoad() {\n\t\tif (!this.valueKey && !this.identifierKey) {\n\t\t\tthrow new Error('You must provide a valueKey or identifierKey');\n\t\t}\n\n\t\tif (this.multi) {\n\t\t\tthis._setMultiContainerMaxWidth();\n\n\t\t\tthis._resizeObserver = new ResizeObserver(() => {\n\t\t\t\tif (this._resizeDebounceTimer) {\n\t\t\t\t\tclearTimeout(this._resizeDebounceTimer);\n\t\t\t\t\tthis._resizeDebounceTimer = null;\n\t\t\t\t}\n\n\t\t\t\tthis._resizeDebounceTimer = setTimeout(() => {\n\t\t\t\t\tthis._setMultiContainerMaxWidth();\n\t\t\t\t\tthis._checkSelectedItems();\n\t\t\t\t}, 200);\n\t\t\t});\n\t\t\tthis._resizeObserver.observe(this._el);\n\t\t}\n\n\t\tif (this.value) {\n\t\t\tthis._valueChange();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.itemChanges();\n\t}\n\n\tcomponentDidRender() {\n\t\tif (this.multi) {\n\t\t\tthis._setMultiContainerMaxWidth();\n\t\t\tthis._checkSelectedItems();\n\t\t}\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this.multi) {\n\t\t\tthis._resizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-select'>\n\t\t\t\t<p-dropdown\n\t\t\t\t\tdisableTriggerClick={true}\n\t\t\t\t\tcalculateWidth={true}\n\t\t\t\t\tinsideClick={true}\n\t\t\t\t\tscrollable={this.enableAutocomplete ? 'large' : true}\n\t\t\t\t\tshow={this._showDropdown}\n\t\t\t\t\tonIsOpen={ev => this._onDropdownOpen(ev)}\n\t\t\t\t>\n\t\t\t\t\t<p-input-group\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\ticon={this.icon}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\tprefix={this.prefix}\n\t\t\t\t\t\tlabel={this.label}\n\t\t\t\t\t\thelper={this.helper}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\terror={this.error}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tfocused={this._showDropdown}\n\t\t\t\t\t\tforceShowTooltip={this.error?.length && this._showDropdown}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tslot='input'\n\t\t\t\t\t\t\tclass={`p-input read-only cursor-pointer ${\n\t\t\t\t\t\t\t\tthis.showChevron ? 'max-w-[calc(100%-3rem)]' : 'w-full'\n\t\t\t\t\t\t\t} size-${this.size} ${\n\t\t\t\t\t\t\t\tthis._displayValue === this.placeholder\n\t\t\t\t\t\t\t\t\t? 'font-medium text-storm-medium'\n\t\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\tcontenteditable\n\t\t\t\t\t\t\tonFocus={ev => this._onFocus(ev)}\n\t\t\t\t\t\t\tonMouseDown={ev => this._onMouseDown(ev)}\n\t\t\t\t\t\t\tonClick={() => this._onClick()}\n\t\t\t\t\t\t\tref={ref => (this._inputRef = ref)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this._displayValue}\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showChevron && (\n\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\t\tslot='suffix'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</p-input-group>\n\t\t\t\t\t<div slot='items'>\n\t\t\t\t\t\t{this.loading ? this._getLoadingItems() : this._getItems()}\n\t\t\t\t\t\t{this.showAddItem && this._getAddItem()}\n\t\t\t\t\t</div>\n\t\t\t\t</p-dropdown>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (!this._showDropdown || childOf(target, this._el)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = false;\n\t}\n\n\t@Watch('value')\n\tprivate _valueChange() {\n\t\tsetTimeout(() => this._preselectItem());\n\t}\n\n\t@Watch('items')\n\tpublic itemChanges() {\n\t\tsetTimeout(() => this._preselectItem());\n\t}\n\n\t@Watch('_showDropdown')\n\tpublic _showDropdownChanges() {\n\t\tthis.dropdownShown.emit({\n\t\t\tvalue: this._showDropdown,\n\t\t\tquery: this.query,\n\t\t});\n\t}\n\n\t@Watch('multi')\n\tpublic multiChanges() {\n\t\tif (this._selectedItem && !Array.isArray(this._selectedItem)) {\n\t\t\tthis._selectedItem = [];\n\t\t}\n\t}\n\n\tprivate _preselectItem() {\n\t\tlet value =\n\t\t\ttypeof this.value === 'string' && this.multi\n\t\t\t\t? JSON.parse(this.value)\n\t\t\t\t: this.value;\n\n\t\tif (this.multi) {\n\t\t\tif (!Array.isArray(value)) {\n\t\t\t\tthis.value = [];\n\t\t\t\tthis.valueChange.emit(this.value);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.value = value;\n\t\t\tif (!value.length) {\n\t\t\t\tthis._selectedItem = [];\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis._selectedItem =\n\t\t\t\t!!this.valueKey && this.valueKey !== 'false'\n\t\t\t\t\t? this._items.filter(i => value.includes(i?.[this.valueKey]))\n\t\t\t\t\t: [...value];\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._selectedItem && !value && this.autoSelectFirst) {\n\t\t\tvalue = this._items[0];\n\t\t}\n\n\t\tconst identifier =\n\t\t\ttypeof value === 'object' && value !== null\n\t\t\t\t? value[this._identifierKey]\n\t\t\t\t: value;\n\t\tconst parsedValue =\n\t\t\ttypeof identifier === 'string' || typeof identifier === 'number'\n\t\t\t\t? identifier\n\t\t\t\t: JSON.stringify(identifier);\n\n\t\tconst currentValue = this._selectedItem\n\t\t\t? this._selectedItem?.[this._identifierKey]\n\t\t\t: null;\n\t\tconst currentParsedValue =\n\t\t\ttypeof currentValue === 'string' || typeof currentValue === 'number'\n\t\t\t\t? currentValue\n\t\t\t\t: JSON.stringify(currentValue);\n\n\t\tif (this._selectedItem && currentParsedValue === parsedValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._items?.length && value) {\n\t\t\tthis._selectValue(value, false);\n\t\t\treturn;\n\t\t}\n\n\t\tconst item = this._items.find(i => {\n\t\t\tconst itemIdentifier = i?.[this._identifierKey];\n\t\t\tconst parsedItemIdentifier =\n\t\t\t\ttypeof itemIdentifier === 'string' || typeof itemIdentifier === 'number'\n\t\t\t\t\t? itemIdentifier\n\t\t\t\t\t: JSON.stringify(itemIdentifier);\n\n\t\t\treturn parsedItemIdentifier === parsedValue;\n\t\t});\n\n\t\tthis._selectValue(!!item ? item : value, false);\n\t}\n\n\tprivate _selectValue(item, forceBlur = true) {\n\t\tlet value =\n\t\t\t!!this.valueKey && this.valueKey !== 'false' && item !== null\n\t\t\t\t? item?.[this.valueKey]\n\t\t\t\t: item;\n\n\t\tif (this.multi) {\n\t\t\tif (!this._selectedItem || !Array.isArray(this._selectedItem)) {\n\t\t\t\tthis._selectedItem = [];\n\t\t\t}\n\n\t\t\tif (!this.value || !Array.isArray(this.value)) {\n\t\t\t\tthis.value = [];\n\t\t\t}\n\n\t\t\tconst selectedItem = [...this._selectedItem];\n\t\t\tconst valueArray = [...this.value];\n\n\t\t\tconst includesIndex = selectedItem.findIndex(\n\t\t\t\ti => i[this._identifierKey] === item[this._identifierKey]\n\t\t\t);\n\t\t\tif (includesIndex === -1) {\n\t\t\t\tselectedItem.push(item);\n\t\t\t\tvalueArray.push(value);\n\t\t\t} else {\n\t\t\t\tselectedItem.splice(includesIndex, 1);\n\t\t\t\tvalueArray.splice(includesIndex, 1);\n\t\t\t}\n\n\t\t\tthis._selectedItem = selectedItem;\n\t\t\tthis.value = valueArray;\n\t\t\tthis.valueChange.emit(valueArray);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._selectedItem = item;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\n\t\tthis._onBlur(forceBlur);\n\t}\n\n\tprivate _onFocus(ev) {\n\t\tev.preventDefault();\n\t\tthis._inputRef.blur();\n\n\t\tif (!this._showDropdown) {\n\t\t\tthis._showDropdown = true;\n\t\t}\n\n\t\treturn;\n\t}\n\n\tprivate _onMouseDown(ev) {\n\t\tif (this.enableAutocomplete) {\n\t\t\treturn;\n\t\t}\n\n\t\tev.preventDefault();\n\t}\n\n\tprivate _onClick() {\n\t\tif (this.enableAutocomplete) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = !this._showDropdown;\n\t}\n\n\tprivate _onBlur(force = false) {\n\t\tif (this.enableAutocomplete && !force) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = false;\n\t}\n\n\tprivate _onAutoComplete(ev) {\n\t\tif (!this.enableAutocomplete) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = true;\n\n\t\tthis.query = ev.target.value;\n\t\tthis.queryChange.emit(ev.target.value);\n\t}\n\n\tprivate _checkvalue(key, item) {\n\t\treturn (\n\t\t\titem?.[key]\n\t\t\t\t?.toString()\n\t\t\t\t?.toLowerCase()\n\t\t\t\t.indexOf(this.query?.toLowerCase()) >= 0\n\t\t);\n\t}\n\n\tprivate _getItems() {\n\t\tlet items = this._items.map(item => (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tuseContainer={false}\n\t\t\t\tonClick={() => this._selectValue(item)}\n\t\t\t\tactive={\n\t\t\t\t\tthis.multi &&\n\t\t\t\t\t!!this._selectedItem &&\n\t\t\t\t\tArray.isArray(this._selectedItem)\n\t\t\t\t\t\t? this._selectedItem.findIndex(\n\t\t\t\t\t\t\t\ti => i[this._identifierKey] === item[this._identifierKey]\n\t\t\t\t\t\t ) >= 0\n\t\t\t\t\t\t: item[this._identifierKey] ===\n\t\t\t\t\t\t this._selectedItem?.[this._identifierKey]\n\t\t\t\t}\n\t\t\t\tvariant={this.multi ? 'checkbox' : 'default'}\n\t\t\t\tclass='justify-start'\n\t\t\t>\n\t\t\t\t{this._getDisplay(item)}\n\t\t\t</p-dropdown-menu-item>\n\t\t));\n\n\t\tif (!this._items.length) {\n\t\t\titems = [\n\t\t\t\t<p class='w-full p-2 text-center text-sm text-storm-medium'>\n\t\t\t\t\t{this.emptyStateText}\n\t\t\t\t</p>,\n\t\t\t];\n\t\t}\n\n\t\tif (this.enableSelectAll && this._items.length) {\n\t\t\titems.unshift(\n\t\t\t\t<p-dropdown-menu-item\n\t\t\t\t\tuseContainer={false}\n\t\t\t\t\tvariant='checkbox'\n\t\t\t\t\tonClick={() => this._selectAllChange()}\n\t\t\t\t\tactive={this._allSelected}\n\t\t\t\t>\n\t\t\t\t\t{this.selectAllIcon?.length ? (\n\t\t\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t\t\t<div class='flex w-6 justify-center text-lg'>\n\t\t\t\t\t\t\t\t<p-icon variant={this.selectAllIcon} />\n\t\t\t\t\t\t\t</div>{' '}\n\t\t\t\t\t\t\t{this.selectAllText}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t) : (\n\t\t\t\t\t\tthis.selectAllText\n\t\t\t\t\t)}\n\t\t\t\t</p-dropdown-menu-item>\n\t\t\t);\n\t\t}\n\n\t\tif (this.enableAutocomplete) {\n\t\t\titems.unshift(this._getAutoCompleteItem());\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tprivate _getAddItem() {\n\t\treturn (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tonClick={() => this.add.emit()}\n\t\t\t\tuseContainer={false}\n\t\t\t>\n\t\t\t\t<span class='flex items-center gap-1 font-semibold text-indigo'>\n\t\t\t\t\t{this.addItemText}\n\t\t\t\t\t<p-icon variant='plus' />\n\t\t\t\t</span>\n\t\t\t</p-dropdown-menu-item>\n\t\t);\n\t}\n\n\tprivate _getLoadingItems() {\n\t\tconst items = [0, 0, 0].map(() => (\n\t\t\t<p-dropdown-menu-item enableHover={false}>\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-full rounded'\n\t\t\t\t/>\n\t\t\t</p-dropdown-menu-item>\n\t\t));\n\n\t\tif (this.enableAutocomplete) {\n\t\t\titems.unshift(this._getAutoCompleteItem());\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tprivate _getAutoCompleteItem() {\n\t\treturn (\n\t\t\t<div class='sticky top-0 -mt-2 bg-white pt-2'>\n\t\t\t\t<input\n\t\t\t\t\tclass='p-input size-small sticky top-2 mb-2'\n\t\t\t\t\tplaceholder={this.autocompletePlaceholder}\n\t\t\t\t\tonInput={ev => this._onAutoComplete(ev)}\n\t\t\t\t\tref={ref => (this.autocompleteInputRef = ref)}\n\t\t\t\t\tvalue={this.query}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _setMultiContainerMaxWidth() {\n\t\tif (!this._inputRef || !this._multiContainerRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._multiContainerRef.style.maxWidth = `${\n\t\t\tthis._inputRef.clientWidth - 16\n\t\t}px`;\n\t}\n\n\tprivate _checkSelectedItems() {\n\t\tif (!this._multiContainerRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst containerRect = this._multiContainerRef.getBoundingClientRect();\n\t\tconst items = Array.from(\n\t\t\tthis._multiContainerRef.querySelectorAll('.item')\n\t\t) as HTMLElement[];\n\n\t\tlet amountHidden = 0;\n\n\t\tfor (const child of items) {\n\t\t\tchild.classList.remove('hidden');\n\n\t\t\tconst childRect = child.getBoundingClientRect();\n\t\t\tif (childRect.right > containerRect.right) {\n\t\t\t\tchild.classList.add('hidden');\n\t\t\t\tamountHidden++;\n\t\t\t}\n\t\t}\n\n\t\tthis._amountHidden = amountHidden;\n\t\tconst extra = this._multiContainerRef.querySelector('.extra');\n\t\tif (!extra) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!extra.classList.contains('hidden')) {\n\t\t\textra.classList.add('hidden');\n\t\t}\n\n\t\tif (amountHidden > 0) {\n\t\t\textra.classList.remove('hidden');\n\t\t}\n\t}\n\n\tprivate _onDropdownOpen(ev) {\n\t\tif (!ev.detail || !this.autocompleteInputRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.autocompleteInputRef.focus();\n\t}\n\n\tprivate _selectAllChange() {\n\t\tthis._allSelected = !this._allSelected;\n\t\tthis.selectAllChange.emit(this._allSelected);\n\t}\n\n\tprivate _getDisplay(item, isSelection = false) {\n\t\tlet content = (\n\t\t\t<div class='text-container'>\n\t\t\t\t{\n\t\t\t\t\titem[\n\t\t\t\t\t\tisSelection\n\t\t\t\t\t\t\t? this.selectionDisplayKey ?? this.displayKey\n\t\t\t\t\t\t\t: this.displayKey\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.avatarKey) {\n\t\t\tcontent = (\n\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t<p-avatar\n\t\t\t\t\t\tsize='xs'\n\t\t\t\t\t\tsrc={item[this.avatarKey]}\n\t\t\t\t\t\tletters={item[this.avatarLettersKey]}\n\t\t\t\t\t></p-avatar>\n\t\t\t\t\t<div class='text-container'>\n\t\t\t\t\t\t{item[this.dropdownDisplayKey ?? this.displayKey]}\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t);\n\t\t}\n\n\t\tif (this.iconKey && (!isSelection || this.showIconInSelectedItem)) {\n\t\t\tcontent = (\n\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t<p-icon variant={item[this.iconKey] as IconVariant} />\n\t\t\t\t\t<div class='text-container'>\n\t\t\t\t\t\t{item[this.dropdownDisplayKey ?? this.displayKey]}\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={\n\t\t\t\t\t!isSelection || this.applyClassOnSelectedItem\n\t\t\t\t\t\t? `max-w-full ${item?.class}`\n\t\t\t\t\t\t: 'max-w-full'\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t{content}\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
|
|
1
|
+
{"version":3,"file":"select.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/select/select.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,cAAc,GAAG,GAAG,CAAC;IAC1B,yBAAyB;IACzB,uBAAuB;IACvB,qCAAqC;CACrC,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,GAAG,CAAC;IACrB,iBAAiB;IACjB,oCAAoC;IACpC,sCAAsC;IACtC,mBAAmB;IACnB,yC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["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 { childOf } from '../../../utils';\nimport { IconVariant } from '../../atoms/icon/icon.component';\nimport { cva } from 'class-variance-authority';\n\nconst multiContainer = cva([\n\t'flex items-center gap-2',\n\t'flex-1 min-w-0 h-full',\n\t'pointer-events-none overflow-hidden',\n]);\n\nconst multiItem = cva([\n\t'item group/item',\n\t'pointer-events-auto cursor-pointer',\n\t'flex h-[1.625rem] items-center gap-2',\n\t'h-[1.625rem] px-2',\n\t'text-sm font-semibold whitespace-nowrap',\n\t'rounded-lg',\n\t'bg-supportive-lilac-100',\n]);\n\nconst textContainer = cva(\n\t'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start',\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tplaceholder: 'text-black-teal-400',\n\t\t\t\tdefault: null,\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-select',\n\tstyleUrl: 'select.component.scss',\n})\nexport class Select {\n\t/**\n\t * The items to show in the dropdown\n\t */\n\t@Prop() items: string | any[];\n\n\t/**\n\t * Wether to enable multi select\n\t */\n\t@Prop({ reflect: true }) multi: boolean;\n\n\t/**\n\t * Icon of the select box\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * The current query\n\t */\n\t@Prop() query: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The placeholder of the input used for auto complete\n\t */\n\t@Prop() autocompletePlaceholder: string = 'Search...';\n\n\t/**\n\t * The current value\n\t */\n\t@Prop() value: any;\n\n\t/**\n\t * The key of the object to display\n\t */\n\t@Prop() displayKey: string = 'text';\n\n\t/**\n\t * The key of the object to display in the dropdown (overwrites displayKey)\n\t */\n\t@Prop() dropdownDisplayKey: string | undefined;\n\n\t/**\n\t * The key of the object to display in the input (overwrites displayKey)\n\t */\n\t@Prop() selectionDisplayKey: string | undefined;\n\n\t/**\n\t * The key of the object to return\n\t */\n\t@Prop() valueKey: string;\n\n\t/**\n\t * The key of avatar within an item to show\n\t */\n\t@Prop() avatarKey: string;\n\n\t/**\n\t * The key of icon variant within an item to show\n\t */\n\t@Prop() iconKey: string;\n\n\t/**\n\t * Wether to show the icon also on the selected Item\n\t */\n\t@Prop() showIconInSelectedItem: string;\n\n\t/**\n\t * The key of a class in an item to apply\n\t */\n\t@Prop() classKey: string = 'class';\n\n\t/**\n\t * Wether to apply the item's class also on the selected item\n\t */\n\t@Prop() applyClassOnSelectedItem: string;\n\n\t/**\n\t * The key of avatar letters within an item to show when the avatar url doesn't work\n\t */\n\t@Prop() avatarLettersKey: string;\n\n\t/**\n\t * The key to identify an object\n\t */\n\t@Prop() identifierKey: string;\n\n\t/**\n\t * The key of the object to display\n\t */\n\t@Prop() queryKey?: string;\n\n\t/**\n\t * Wether to automatically select the first item\n\t */\n\t@Prop() autoSelectFirst: boolean = true;\n\n\t/**\n\t * Wether to show the chevron or not\n\t */\n\t@Prop() showChevron: boolean = true;\n\n\t/**\n\t * The maximum amount of items to display\n\t */\n\t@Prop() maxDisplayedItems: number = 10;\n\n\t/**\n\t * Wether to enable autocomplete\n\t */\n\t@Prop() enableAutocomplete: boolean = true;\n\n\t/**\n\t * Wether the input uses async filtering\n\t */\n\t@Prop() asyncFilter: boolean = false;\n\n\t/**\n\t * Wether to show loading items\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether to show the select all item with multi select\n\t */\n\t@Prop() enableSelectAll: boolean = false;\n\n\t/**\n\t * The text of the select all item\n\t */\n\t@Prop() selectAllText: string = 'Select all';\n\n\t/**\n\t * The icon to prefix for select all\n\t */\n\t@Prop() selectAllIcon: IconVariant | undefined;\n\n\t/**\n\t * Event when the query of the autocomplete changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tqueryChange: EventEmitter<string>;\n\n\t/**\n\t * Event when the value changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tvalueChange: EventEmitter<any>;\n\n\t/**\n\t * Event when the select all item has been selected or not\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tselectAllChange: EventEmitter<any>;\n\n\t/**\n\t * Event when the dropdown shows\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdropdownShown: EventEmitter<any>;\n\n\t/**\n\t * The size of the input group used by the select\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The prefix of the input group used by the select\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The label of the input group used by the select\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The helper of the input group used by the select\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The helper of the input group used by the select\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether the input group is disabled used by the select\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether to show a \"add\" item\n\t */\n\t@Prop() showAddItem: boolean = false;\n\n\t/**\n\t * The text to show when add item is being shown\n\t */\n\t@Prop() addItemText: string = 'Add item';\n\n\t/**\n\t * Event when the add item is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tadd: EventEmitter;\n\n\t/**\n\t * The text to show when items is empty\n\t */\n\t@Prop() emptyStateText: string = 'No items available';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _showDropdown: any = false;\n\t@State() private _selectedItem: any = null;\n\n\t@State() private _allSelected: boolean = false;\n\n\t@State() private _amountHidden = 0;\n\n\tprivate _inputRef: HTMLDivElement;\n\tprivate autocompleteInputRef: HTMLInputElement | HTMLTextAreaElement;\n\tprivate _multiContainerRef: HTMLElement;\n\n\tprivate _resizeObserver: ResizeObserver;\n\tprivate _resizeDebounceTimer: NodeJS.Timeout | undefined;\n\tprivate _checkSelectedItemsTimeout: NodeJS.Timeout | undefined;\n\n\tget _items() {\n\t\tif (!this.items || this.loading) {\n\t\t\treturn [];\n\t\t}\n\n\t\tlet items =\n\t\t\ttypeof this.items === 'string' ? JSON.parse(this.items) : this.items;\n\n\t\tif (typeof items?.[0] === 'string') {\n\t\t\tthis.displayKey = 'text';\n\t\t\tthis.valueKey = 'value';\n\n\t\t\titems = items.map(str => ({\n\t\t\t\tvalue: str,\n\t\t\t\ttext: str,\n\t\t\t}));\n\t\t}\n\n\t\tif (this.query?.length && !this.asyncFilter) {\n\t\t\titems = items.filter(item => {\n\t\t\t\tif (this.queryKey) {\n\t\t\t\t\treturn this._checkvalue(this.queryKey, item);\n\t\t\t\t}\n\n\t\t\t\treturn (\n\t\t\t\t\tthis._checkvalue(this._identifierKey, item) ||\n\t\t\t\t\tthis._checkvalue(this.displayKey, item)\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\n\t\treturn items?.slice(0, this.maxDisplayedItems);\n\t}\n\n\tget _displayValue() {\n\t\tconst placeholder = (\n\t\t\t<div class={textContainer({ variant: 'placeholder' })}>\n\t\t\t\t{this.placeholder}\n\t\t\t</div>\n\t\t);\n\n\t\tconsole.log(this._selectedItem);\n\t\tif (!this._selectedItem) {\n\t\t\treturn placeholder;\n\t\t}\n\n\t\tif (this.multi) {\n\t\t\tif (this._selectedItem?.length === 0) {\n\t\t\t\treturn placeholder;\n\t\t\t}\n\n\t\t\treturn (\n\t\t\t\t<div\n\t\t\t\t\tclass={multiContainer()}\n\t\t\t\t\tref={ref => (this._multiContainerRef = ref)}\n\t\t\t\t>\n\t\t\t\t\t{this._selectedItem.map(item => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={multiItem()}\n\t\t\t\t\t\t\tonClick={() => this._selectValue(item)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{item[this.selectionDisplayKey ?? this.displayKey]}\n\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\tclass='text-xs text-supportive-lilac group-hover/item:text-supportive-lilac-800'\n\t\t\t\t\t\t\t\tvariant='negative'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\n\t\t\t\t\t<div class='extra pointer-events-none hidden text-sm text-black-teal-100'>\n\t\t\t\t\t\t+{this._amountHidden}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn this._getDisplay(this._selectedItem, true);\n\t}\n\n\tget _identifierKey() {\n\t\treturn this.identifierKey ?? this.valueKey ?? 'value';\n\t}\n\n\tcomponentDidLoad() {\n\t\tif (!this.valueKey && !this.identifierKey) {\n\t\t\tthrow new Error('You must provide a valueKey or identifierKey');\n\t\t}\n\n\t\tif (this.multi) {\n\t\t\tthis._setMultiContainerMaxWidth();\n\n\t\t\tthis._resizeObserver = new ResizeObserver(() => {\n\t\t\t\tif (this._resizeDebounceTimer) {\n\t\t\t\t\tclearTimeout(this._resizeDebounceTimer);\n\t\t\t\t\tthis._resizeDebounceTimer = null;\n\t\t\t\t}\n\n\t\t\t\tthis._resizeDebounceTimer = setTimeout(() => {\n\t\t\t\t\tthis._setMultiContainerMaxWidth();\n\t\t\t\t\tthis._setCheckSelectedItemsTimeout();\n\t\t\t\t}, 200);\n\t\t\t});\n\t\t\tthis._resizeObserver.observe(this._el);\n\t\t}\n\n\t\tif (this.value) {\n\t\t\tthis._valueChange();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.itemChanges();\n\t}\n\n\tcomponentDidRender() {\n\t\tif (this.multi) {\n\t\t\tthis._setMultiContainerMaxWidth();\n\t\t}\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this.multi) {\n\t\t\tthis._resizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-select'>\n\t\t\t\t<p-dropdown\n\t\t\t\t\tdisableTriggerClick={true}\n\t\t\t\t\tcalculateWidth={true}\n\t\t\t\t\tinsideClick={true}\n\t\t\t\t\tscrollable={this.enableAutocomplete ? 'large' : true}\n\t\t\t\t\tshow={this._showDropdown}\n\t\t\t\t\tonIsOpen={ev => this._onDropdownOpen(ev)}\n\t\t\t\t>\n\t\t\t\t\t<p-field-container\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tprefix={this.prefix}\n\t\t\t\t\t\tlabel={this.label}\n\t\t\t\t\t\thelper={this.helper}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\terror={this.error}\n\t\t\t\t\t\terrorPlacement='top-start'\n\t\t\t\t\t\tforceShowTooltip={this.error?.length && this._showDropdown}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tclass='w-full'\n\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\tchevron={this.showChevron}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tactive={this._showDropdown}\n\t\t\t\t\t\t\ticon={this.icon}\n\t\t\t\t\t\t\tonClick={ev => this._onClick(ev)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='relative flex-1'\n\t\t\t\t\t\t\t\tref={ref => (this._inputRef = ref)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this._displayValue}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t</p-field-container>\n\t\t\t\t\t{this.loading ? this._getLoadingItems() : this._getItems()}\n\t\t\t\t\t{this.showAddItem && this._getAddItem()}\n\t\t\t\t</p-dropdown>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (!this._showDropdown || childOf(target, this._el)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = false;\n\t}\n\n\t@Watch('value')\n\tprivate _valueChange() {\n\t\tsetTimeout(() => {\n\t\t\tthis._preselectItem();\n\t\t\tthis._setCheckSelectedItemsTimeout();\n\t\t});\n\t}\n\n\t@Watch('items')\n\tpublic itemChanges() {\n\t\tsetTimeout(() => this._preselectItem());\n\t}\n\n\t@Watch('_showDropdown')\n\tpublic _showDropdownChanges() {\n\t\tthis.dropdownShown.emit({\n\t\t\tvalue: this._showDropdown,\n\t\t\tquery: this.query,\n\t\t});\n\t}\n\n\t@Watch('multi')\n\tpublic multiChanges() {\n\t\tif (this._selectedItem && !Array.isArray(this._selectedItem)) {\n\t\t\tthis._selectedItem = [];\n\t\t}\n\t}\n\n\tprivate _preselectItem() {\n\t\tlet value =\n\t\t\ttypeof this.value === 'string' && this.multi\n\t\t\t\t? JSON.parse(this.value)\n\t\t\t\t: this.value;\n\n\t\tif (this.multi) {\n\t\t\tif (!Array.isArray(value)) {\n\t\t\t\tthis.value = [];\n\t\t\t\tthis.valueChange.emit(this.value);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.value = value;\n\t\t\tif (!value.length) {\n\t\t\t\tthis._selectedItem = [];\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis._selectedItem =\n\t\t\t\t!!this.valueKey && this.valueKey !== 'false'\n\t\t\t\t\t? this._items.filter(i => value.includes(i?.[this.valueKey]))\n\t\t\t\t\t: [...value];\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._selectedItem && !value && this.autoSelectFirst) {\n\t\t\tvalue = this._items[0];\n\t\t}\n\n\t\tconst identifier =\n\t\t\ttypeof value === 'object' && value !== null\n\t\t\t\t? value[this._identifierKey]\n\t\t\t\t: value;\n\t\tconst parsedValue =\n\t\t\ttypeof identifier === 'string' || typeof identifier === 'number'\n\t\t\t\t? identifier\n\t\t\t\t: JSON.stringify(identifier);\n\n\t\tconst currentValue = this._selectedItem\n\t\t\t? this._selectedItem?.[this._identifierKey]\n\t\t\t: null;\n\t\tconst currentParsedValue =\n\t\t\ttypeof currentValue === 'string' || typeof currentValue === 'number'\n\t\t\t\t? currentValue\n\t\t\t\t: JSON.stringify(currentValue);\n\n\t\tif (this._selectedItem && currentParsedValue === parsedValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._items?.length && value) {\n\t\t\tthis._selectValue(value, false);\n\t\t\treturn;\n\t\t}\n\n\t\tconst item = this._items.find(i => {\n\t\t\tconst itemIdentifier = i?.[this._identifierKey];\n\t\t\tconst parsedItemIdentifier =\n\t\t\t\ttypeof itemIdentifier === 'string' || typeof itemIdentifier === 'number'\n\t\t\t\t\t? itemIdentifier\n\t\t\t\t\t: JSON.stringify(itemIdentifier);\n\n\t\t\treturn parsedItemIdentifier === parsedValue;\n\t\t});\n\n\t\tthis._selectValue(!!item ? item : value, false);\n\t}\n\n\tprivate _selectValue(item, forceBlur = true) {\n\t\tlet value =\n\t\t\t!!this.valueKey && this.valueKey !== 'false' && item !== null\n\t\t\t\t? item?.[this.valueKey]\n\t\t\t\t: item;\n\n\t\tif (this.multi) {\n\t\t\tif (!this._selectedItem || !Array.isArray(this._selectedItem)) {\n\t\t\t\tthis._selectedItem = [];\n\t\t\t}\n\n\t\t\tif (!this.value || !Array.isArray(this.value)) {\n\t\t\t\tthis.value = [];\n\t\t\t}\n\n\t\t\tconst selectedItem = [...this._selectedItem];\n\t\t\tconst valueArray = [...this.value];\n\n\t\t\tconst includesIndex = selectedItem.findIndex(\n\t\t\t\ti => i[this._identifierKey] === item[this._identifierKey]\n\t\t\t);\n\t\t\tif (includesIndex === -1) {\n\t\t\t\tselectedItem.push(item);\n\t\t\t\tvalueArray.push(value);\n\t\t\t} else {\n\t\t\t\tselectedItem.splice(includesIndex, 1);\n\t\t\t\tvalueArray.splice(includesIndex, 1);\n\t\t\t}\n\n\t\t\tthis._selectedItem = selectedItem;\n\t\t\tthis.value = valueArray;\n\t\t\tthis.valueChange.emit(valueArray);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._selectedItem = item;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\n\t\tthis._onBlur(forceBlur);\n\t}\n\n\tprivate _findOnClickTarget(target: HTMLElement) {\n\t\tif (target.nodeName.toLowerCase() === 'p-button') {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (target.classList.contains('item')) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn this._findOnClickTarget(target.parentElement);\n\t}\n\n\tprivate _onClick(ev) {\n\t\tif (!this._findOnClickTarget(ev.target as HTMLElement)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = !this._showDropdown;\n\t}\n\n\tprivate _onBlur(force = false) {\n\t\tif (this.enableAutocomplete && !force) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = false;\n\t}\n\n\tprivate _onAutoComplete(ev) {\n\t\tif (!this.enableAutocomplete) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = true;\n\n\t\tthis.query = ev.detail;\n\t\tthis.queryChange.emit(ev.detail);\n\t}\n\n\tprivate _checkvalue(key, item) {\n\t\treturn (\n\t\t\titem?.[key]\n\t\t\t\t?.toString()\n\t\t\t\t?.toLowerCase()\n\t\t\t\t.indexOf(this.query?.toLowerCase()) >= 0\n\t\t);\n\t}\n\n\tprivate _getItems() {\n\t\tlet items = this._items.map(item => (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tuseContainer={false}\n\t\t\t\tonClick={() => this._selectValue(item)}\n\t\t\t\tactive={\n\t\t\t\t\tthis.multi &&\n\t\t\t\t\t!!this._selectedItem &&\n\t\t\t\t\tArray.isArray(this._selectedItem)\n\t\t\t\t\t\t? this._selectedItem.findIndex(\n\t\t\t\t\t\t\t\ti => i[this._identifierKey] === item[this._identifierKey]\n\t\t\t\t\t\t ) >= 0\n\t\t\t\t\t\t: item[this._identifierKey] ===\n\t\t\t\t\t\t this._selectedItem?.[this._identifierKey]\n\t\t\t\t}\n\t\t\t\tcheckbox={this.multi ? true : false}\n\t\t\t\tslot='items'\n\t\t\t>\n\t\t\t\t{this._getDisplay(item)}\n\t\t\t</p-dropdown-menu-item>\n\t\t));\n\n\t\tif (!this._items.length) {\n\t\t\titems = [\n\t\t\t\t<p\n\t\t\t\t\tclass='w-full p-2 text-center text-sm text-black-teal-400'\n\t\t\t\t\tslot='items'\n\t\t\t\t>\n\t\t\t\t\t{this.emptyStateText}\n\t\t\t\t</p>,\n\t\t\t];\n\t\t}\n\n\t\tif (this.enableSelectAll && this._items.length) {\n\t\t\titems.unshift(\n\t\t\t\t<p-dropdown-menu-item\n\t\t\t\t\tslot='items'\n\t\t\t\t\tuseContainer={false}\n\t\t\t\t\tcheckbox\n\t\t\t\t\tonClick={() => this._selectAllChange()}\n\t\t\t\t\tactive={this._allSelected}\n\t\t\t\t>\n\t\t\t\t\t{this.selectAllIcon?.length ? (\n\t\t\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t\t\t<div class='flex w-6 justify-center text-lg'>\n\t\t\t\t\t\t\t\t<p-icon variant={this.selectAllIcon} />\n\t\t\t\t\t\t\t</div>{' '}\n\t\t\t\t\t\t\t{this.selectAllText}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t) : (\n\t\t\t\t\t\tthis.selectAllText\n\t\t\t\t\t)}\n\t\t\t\t</p-dropdown-menu-item>\n\t\t\t);\n\t\t}\n\n\t\tif (this.enableAutocomplete) {\n\t\t\titems.unshift(this._getAutoCompleteItem());\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tprivate _getAddItem() {\n\t\treturn (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tonClick={() => this.add.emit()}\n\t\t\t\tuseContainer={false}\n\t\t\t\tslot='items'\n\t\t\t>\n\t\t\t\t<span class='flex items-center gap-1 font-semibold text-teal-800'>\n\t\t\t\t\t{this.addItemText}\n\t\t\t\t\t<p-icon variant='plus' />\n\t\t\t\t</span>\n\t\t\t</p-dropdown-menu-item>\n\t\t);\n\t}\n\n\tprivate _getLoadingItems() {\n\t\tconst items = [0, 0, 0].map(() => (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tenableHover={false}\n\t\t\t\tslot='items'\n\t\t\t>\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-full rounded'\n\t\t\t\t/>\n\t\t\t</p-dropdown-menu-item>\n\t\t));\n\n\t\tif (this.enableAutocomplete) {\n\t\t\titems.unshift(this._getAutoCompleteItem());\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tprivate _getAutoCompleteItem() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass='sticky top-0 mb-3 h-8'\n\t\t\t\tslot='items'\n\t\t\t>\n\t\t\t\t<p-field\n\t\t\t\t\tclass='block'\n\t\t\t\t\tplaceholder={this.autocompletePlaceholder}\n\t\t\t\t\tonValueChange={ev => this._onAutoComplete(ev)}\n\t\t\t\t\tonInputRefChange={ev => (this.autocompleteInputRef = ev.detail)}\n\t\t\t\t\tvalue={this.query}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _setMultiContainerMaxWidth() {\n\t\tif (!this._inputRef || !this._multiContainerRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._multiContainerRef.style.maxWidth = `${\n\t\t\tthis._inputRef.clientWidth - 16\n\t\t}px`;\n\t}\n\n\tprivate _setCheckSelectedItemsTimeout() {\n\t\tif (this._checkSelectedItemsTimeout) {\n\t\t\tclearTimeout(this._checkSelectedItemsTimeout);\n\t\t}\n\n\t\tthis._checkSelectedItemsTimeout = setTimeout(\n\t\t\t() => this._checkSelectedItems(),\n\t\t\t50\n\t\t);\n\t}\n\n\tprivate _checkSelectedItems() {\n\t\tif (!this._multiContainerRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst containerRect = this._multiContainerRef.getBoundingClientRect();\n\t\tconst items = this._multiContainerRef.querySelectorAll('.item');\n\n\t\tlet amountHidden = 0;\n\n\t\tfor (const child of items) {\n\t\t\tchild.classList.remove('hidden');\n\t\t\tchild.classList.add('flex');\n\n\t\t\tconst childRect = child.getBoundingClientRect();\n\t\t\tif (childRect.right > containerRect.right) {\n\t\t\t\tchild.classList.remove('flex');\n\t\t\t\tchild.classList.add('hidden');\n\t\t\t\tamountHidden++;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\n\t\tthis._amountHidden = amountHidden;\n\t\tconst extra = this._multiContainerRef.querySelector('.extra');\n\t\tif (!extra) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!extra.classList.contains('hidden')) {\n\t\t\textra.classList.add('hidden');\n\t\t}\n\n\t\tif (amountHidden > 0) {\n\t\t\textra.classList.remove('hidden');\n\t\t}\n\t}\n\n\tprivate _onDropdownOpen(ev) {\n\t\tif (!ev.detail || !this.autocompleteInputRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.autocompleteInputRef.focus();\n\t}\n\n\tprivate _selectAllChange() {\n\t\tthis._allSelected = !this._allSelected;\n\t\tthis.selectAllChange.emit(this._allSelected);\n\t}\n\n\tprivate _getDisplay(item, isSelection = false) {\n\t\tlet content = (\n\t\t\t<div class={textContainer({ variant: 'default' })}>\n\t\t\t\t{\n\t\t\t\t\titem[\n\t\t\t\t\t\tisSelection\n\t\t\t\t\t\t\t? this.selectionDisplayKey ?? this.displayKey\n\t\t\t\t\t\t\t: this.displayKey\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.avatarKey) {\n\t\t\tcontent = (\n\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t<p-avatar\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tsrc={item[this.avatarKey]}\n\t\t\t\t\t\tletters={item[this.avatarLettersKey]}\n\t\t\t\t\t></p-avatar>\n\t\t\t\t\t<div class={textContainer({ variant: 'default' })}>\n\t\t\t\t\t\t{item[this.dropdownDisplayKey ?? this.displayKey]}\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t);\n\t\t}\n\n\t\tif (this.iconKey && (!isSelection || this.showIconInSelectedItem)) {\n\t\t\tcontent = (\n\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t<p-icon variant={item[this.iconKey] as IconVariant} />\n\t\t\t\t\t<div class={textContainer({ variant: 'default' })}>\n\t\t\t\t\t\t{item[this.dropdownDisplayKey ?? this.displayKey]}\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\t(!isSelection || this.applyClassOnSelectedItem) &&\n\t\t\t!!item?.class?.length\n\t\t) {\n\t\t\treturn <div class={item.class}>{content}</div>;\n\t\t}\n\n\t\treturn content;\n\t}\n}\n"]}
|
|
@@ -1,178 +1,188 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class Stepper {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
constructor() {
|
|
4
|
+
this.activeStep = 1;
|
|
5
|
+
this.direction = 'horizontal';
|
|
6
|
+
this.contentPosition = 'end';
|
|
7
|
+
this._rendering = false;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* The host element
|
|
11
|
+
*/
|
|
12
|
+
_el;
|
|
13
|
+
_loaded = false;
|
|
5
14
|
// private _steps: Array<HTMLPStepperItemElement>;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
this._rendering = true;
|
|
13
|
-
let activeStep = this.activeStep - 1 || 0;
|
|
14
|
-
const items = this._el.querySelectorAll('p-stepper-item');
|
|
15
|
-
if (!this.activeStep || activeStep < 0) {
|
|
16
|
-
for (let i = 0; i < (items === null || items === void 0 ? void 0 : items.length); i++) {
|
|
17
|
-
const item = items.item(i);
|
|
18
|
-
if (item.active) {
|
|
19
|
-
activeStep = i;
|
|
20
|
-
}
|
|
21
|
-
if (activeStep < 0 && item.finished) {
|
|
22
|
-
activeStep = i + 1;
|
|
23
|
-
}
|
|
15
|
+
_delay = (amount) => new Promise(resolve => setTimeout(resolve, amount));
|
|
16
|
+
_onSlotChange = async (_e) => this._generateSteps();
|
|
17
|
+
_generateSteps = async (firstLoad = false) => {
|
|
18
|
+
if (!firstLoad && (!this._el || this._rendering || !this._loaded)) {
|
|
19
|
+
return;
|
|
24
20
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
21
|
+
this._rendering = true;
|
|
22
|
+
let activeStep = this.activeStep - 1 || 0;
|
|
23
|
+
const items = this._el.querySelectorAll('p-stepper-item');
|
|
24
|
+
if (!this.activeStep || activeStep < 0) {
|
|
25
|
+
for (let i = 0; i < items?.length; i++) {
|
|
26
|
+
const item = items.item(i);
|
|
27
|
+
if (item.active) {
|
|
28
|
+
activeStep = i;
|
|
29
|
+
}
|
|
30
|
+
if (activeStep < 0 && item.finished) {
|
|
31
|
+
activeStep = i + 1;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
// super hacky, but we want to wait for the css of the `item.direction` change to be applied before querying for the item.clientHeight
|
|
42
|
-
// otherwise we always get the initial "16"
|
|
43
|
-
if (directionChanged) {
|
|
44
|
-
await this._delay(10);
|
|
35
|
+
for (let i = 0; i < items?.length; i++) {
|
|
36
|
+
let directionChanged = false;
|
|
37
|
+
const item = items.item(i);
|
|
38
|
+
item.active = i === activeStep;
|
|
39
|
+
item.finished = i < activeStep;
|
|
40
|
+
if (item.direction !== this.direction) {
|
|
41
|
+
directionChanged = true;
|
|
45
42
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
43
|
+
item.direction = this.direction;
|
|
44
|
+
item.align =
|
|
45
|
+
i === 0 ? 'start' : i === items?.length - 1 ? 'end' : 'center';
|
|
46
|
+
item.contentPosition = this.contentPosition;
|
|
47
|
+
if (i < items.length - 1) {
|
|
48
|
+
const nextItem = item.nextElementSibling;
|
|
49
|
+
if (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {
|
|
50
|
+
// super hacky, but we want to wait for the css of the `item.direction` change to be applied before querying for the item.clientHeight
|
|
51
|
+
// otherwise we always get the initial "16"
|
|
52
|
+
if (directionChanged) {
|
|
53
|
+
await this._delay(10);
|
|
54
|
+
}
|
|
55
|
+
const heightDiff = (item.clientHeight > 16
|
|
56
|
+
? item.clientHeight - 16
|
|
57
|
+
: item.clientHeight) / 2;
|
|
58
|
+
const stepperLine = document.createElement('p-stepper-line');
|
|
59
|
+
stepperLine.direction = this.direction;
|
|
60
|
+
stepperLine.active = i < activeStep;
|
|
61
|
+
if (heightDiff > 0 && this.direction === 'vertical') {
|
|
62
|
+
stepperLine.style.marginTop = `-${heightDiff / 16}rem`;
|
|
63
|
+
stepperLine.style.marginBottom = `-${heightDiff / 16}rem`;
|
|
64
|
+
stepperLine.style.minHeight = `calc(1rem + ${(heightDiff * 2) / 16}rem)`;
|
|
65
|
+
}
|
|
66
|
+
this._el.insertBefore(stepperLine, nextItem);
|
|
67
|
+
const previous = stepperLine.previousElementSibling;
|
|
68
|
+
if (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {
|
|
69
|
+
previous.remove();
|
|
70
|
+
}
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
56
73
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
74
|
+
if (i > 0) {
|
|
75
|
+
const previousItem = item.previousElementSibling;
|
|
76
|
+
if (previousItem.tagName.toLowerCase() === 'p-stepper-line') {
|
|
77
|
+
previousItem.direction = this.direction;
|
|
78
|
+
previousItem.active = item.active || item.finished;
|
|
79
|
+
}
|
|
61
80
|
}
|
|
62
|
-
continue;
|
|
63
|
-
}
|
|
64
81
|
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
previousItem.active = item.active || item.finished;
|
|
70
|
-
}
|
|
82
|
+
const lines = this._el.querySelectorAll('p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child');
|
|
83
|
+
for (let j = lines.length - 1; j >= 0; j--) {
|
|
84
|
+
const line = lines.item(j);
|
|
85
|
+
line.remove();
|
|
71
86
|
}
|
|
72
|
-
|
|
73
|
-
const lines = this._el.querySelectorAll('p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child');
|
|
74
|
-
for (let j = lines.length - 1; j >= 0; j--) {
|
|
75
|
-
const line = lines.item(j);
|
|
76
|
-
line.remove();
|
|
77
|
-
}
|
|
78
|
-
setTimeout(() => (this._rendering = false), 100);
|
|
79
|
-
};
|
|
80
|
-
this.activeStep = 1;
|
|
81
|
-
this.direction = 'horizontal';
|
|
82
|
-
this.contentPosition = 'end';
|
|
83
|
-
this._rendering = false;
|
|
84
|
-
}
|
|
85
|
-
componentDidLoad() {
|
|
86
|
-
this._loaded = true;
|
|
87
|
-
this._generateSteps(true);
|
|
88
|
-
}
|
|
89
|
-
render() {
|
|
90
|
-
return (h(Host, { class: 'p-stepper' }, h("slot", { onSlotchange: this._onSlotChange })));
|
|
91
|
-
}
|
|
92
|
-
_onActiveStepChange() {
|
|
93
|
-
this._generateSteps();
|
|
94
|
-
}
|
|
95
|
-
static get is() { return "p-stepper"; }
|
|
96
|
-
static get encapsulation() { return "shadow"; }
|
|
97
|
-
static get originalStyleUrls() {
|
|
98
|
-
return {
|
|
99
|
-
"$": ["stepper.component.scss"]
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
static get styleUrls() {
|
|
103
|
-
return {
|
|
104
|
-
"$": ["stepper.component.css"]
|
|
87
|
+
setTimeout(() => (this._rendering = false), 100);
|
|
105
88
|
};
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
89
|
+
componentDidLoad() {
|
|
90
|
+
this._loaded = true;
|
|
91
|
+
this._generateSteps(true);
|
|
92
|
+
}
|
|
93
|
+
render() {
|
|
94
|
+
return (h(Host, { key: '08618e878d073d704ee23f62df4c855d4a0cb86d', class: 'p-stepper' }, h("slot", { key: 'd8dd06cb1ee5d662ea3b8aa4379b0d1e8877dbbd', onSlotchange: this._onSlotChange })));
|
|
95
|
+
}
|
|
96
|
+
_onActiveStepChange() {
|
|
97
|
+
this._generateSteps();
|
|
98
|
+
}
|
|
99
|
+
static get is() { return "p-stepper"; }
|
|
100
|
+
static get encapsulation() { return "shadow"; }
|
|
101
|
+
static get originalStyleUrls() {
|
|
102
|
+
return {
|
|
103
|
+
"$": ["stepper.component.scss"]
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
static get styleUrls() {
|
|
107
|
+
return {
|
|
108
|
+
"$": ["stepper.component.css"]
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
static get properties() {
|
|
112
|
+
return {
|
|
113
|
+
"activeStep": {
|
|
114
|
+
"type": "number",
|
|
115
|
+
"mutable": false,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "number",
|
|
118
|
+
"resolved": "number",
|
|
119
|
+
"references": {}
|
|
120
|
+
},
|
|
121
|
+
"required": false,
|
|
122
|
+
"optional": false,
|
|
123
|
+
"docs": {
|
|
124
|
+
"tags": [],
|
|
125
|
+
"text": "The currently active step"
|
|
126
|
+
},
|
|
127
|
+
"getter": false,
|
|
128
|
+
"setter": false,
|
|
129
|
+
"attribute": "active-step",
|
|
130
|
+
"reflect": false,
|
|
131
|
+
"defaultValue": "1"
|
|
132
|
+
},
|
|
133
|
+
"direction": {
|
|
134
|
+
"type": "string",
|
|
135
|
+
"mutable": false,
|
|
136
|
+
"complexType": {
|
|
137
|
+
"original": "'horizontal' | 'vertical'",
|
|
138
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
139
|
+
"references": {}
|
|
140
|
+
},
|
|
141
|
+
"required": false,
|
|
142
|
+
"optional": false,
|
|
143
|
+
"docs": {
|
|
144
|
+
"tags": [],
|
|
145
|
+
"text": "The direction of the stepper"
|
|
146
|
+
},
|
|
147
|
+
"getter": false,
|
|
148
|
+
"setter": false,
|
|
149
|
+
"attribute": "direction",
|
|
150
|
+
"reflect": true,
|
|
151
|
+
"defaultValue": "'horizontal'"
|
|
152
|
+
},
|
|
153
|
+
"contentPosition": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"mutable": false,
|
|
156
|
+
"complexType": {
|
|
157
|
+
"original": "'start' | 'end'",
|
|
158
|
+
"resolved": "\"end\" | \"start\"",
|
|
159
|
+
"references": {}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "The position of the content in case of vertical direction"
|
|
166
|
+
},
|
|
167
|
+
"getter": false,
|
|
168
|
+
"setter": false,
|
|
169
|
+
"attribute": "content-position",
|
|
170
|
+
"reflect": true,
|
|
171
|
+
"defaultValue": "'end'"
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
static get states() {
|
|
176
|
+
return {
|
|
177
|
+
"_rendering": {}
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
static get elementRef() { return "_el"; }
|
|
181
|
+
static get watchers() {
|
|
182
|
+
return [{
|
|
183
|
+
"propName": "activeStep",
|
|
184
|
+
"methodName": "_onActiveStepChange"
|
|
185
|
+
}];
|
|
186
|
+
}
|
|
177
187
|
}
|
|
178
188
|
//# sourceMappingURL=stepper.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/stepper/stepper.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOhF,MAAM,OAAO,OAAO;;
|
|
1
|
+
{"version":3,"file":"stepper.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/stepper/stepper.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOhF,MAAM,OAAO,OAAO;;0BAIU,CAAC;yBAKkC,YAAY;+BAKhB,KAAK;0BAOnC,KAAK;;IALnC;;OAEG;IACgB,GAAG,CAAc;IAI5B,OAAO,GAAG,KAAK,CAAC;IAExB,kDAAkD;IAE1C,MAAM,GAAG,CAAC,MAAc,EAAE,EAAE,CACnC,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;IAE7C,aAAa,GAAG,KAAK,EAAE,EAAS,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;IAE3D,cAAc,GAAG,KAAK,EAAE,SAAS,GAAG,KAAK,EAAE,EAAE;QACpD,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;YACnE,OAAO;QACR,CAAC;QAED,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;QAEvB,IAAI,UAAU,GAAG,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,CAAC;QAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG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AC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper',\n\tstyleUrl: 'stepper.component.scss',\n\tshadow: true,\n})\nexport class Stepper {\n\t/**\n\t * The currently active step\n\t */\n\t@Prop() activeStep: number = 1;\n\n\t/**\n\t * The direction of the stepper\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _rendering = false;\n\n\tprivate _loaded = false;\n\n\t// private _steps: Array<HTMLPStepperItemElement>;\n\n\tprivate _delay = (amount: number) =>\n\t\tnew Promise(resolve => setTimeout(resolve, amount));\n\n\tprivate _onSlotChange = async (_e: Event) => this._generateSteps();\n\n\tprivate _generateSteps = async (firstLoad = false) => {\n\t\tif (!firstLoad && (!this._el || this._rendering || !this._loaded)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._rendering = true;\n\n\t\tlet activeStep = this.activeStep - 1 || 0;\n\t\tconst items = this._el.querySelectorAll('p-stepper-item');\n\n\t\tif (!this.activeStep || activeStep < 0) {\n\t\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\t\tconst item = items.item(i) as any;\n\n\t\t\t\tif (item.active) {\n\t\t\t\t\tactiveStep = i;\n\t\t\t\t}\n\n\t\t\t\tif (activeStep < 0 && item.finished) {\n\t\t\t\t\tactiveStep = i + 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tlet directionChanged = false;\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\titem.active = i === activeStep;\n\t\t\titem.finished = i < activeStep;\n\n\t\t\tif (item.direction !== this.direction) {\n\t\t\t\tdirectionChanged = true;\n\t\t\t}\n\n\t\t\titem.direction = this.direction;\n\t\t\titem.align =\n\t\t\t\ti === 0 ? 'start' : i === items?.length - 1 ? 'end' : 'center';\n\t\t\titem.contentPosition = this.contentPosition;\n\n\t\t\tif (i < items.length - 1) {\n\t\t\t\tconst nextItem = item.nextElementSibling;\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\t// super hacky, but we want to wait for the css of the `item.direction` change to be applied before querying for the item.clientHeight\n\t\t\t\t\t// otherwise we always get the initial \"16\"\n\t\t\t\t\tif (directionChanged) {\n\t\t\t\t\t\tawait this._delay(10);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst heightDiff =\n\t\t\t\t\t\t(item.clientHeight > 16\n\t\t\t\t\t\t\t? item.clientHeight - 16\n\t\t\t\t\t\t\t: item.clientHeight) / 2;\n\n\t\t\t\t\tconst stepperLine = document.createElement('p-stepper-line');\n\n\t\t\t\t\tstepperLine.direction = this.direction;\n\t\t\t\t\tstepperLine.active = i < activeStep;\n\n\t\t\t\t\tif (heightDiff > 0 && this.direction === 'vertical') {\n\t\t\t\t\t\tstepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\t\t\t\tstepperLine.style.marginBottom = `-${heightDiff / 16}rem`;\n\t\t\t\t\t\tstepperLine.style.minHeight = `calc(1rem + ${\n\t\t\t\t\t\t\t(heightDiff * 2) / 16\n\t\t\t\t\t\t}rem)`;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis._el.insertBefore(stepperLine, nextItem);\n\n\t\t\t\t\tconst previous = stepperLine.previousElementSibling;\n\t\t\t\t\tif (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\t\tprevious.remove();\n\t\t\t\t\t}\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (i > 0) {\n\t\t\t\tconst previousItem = item.previousElementSibling;\n\t\t\t\tif (previousItem.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\tpreviousItem.direction = this.direction;\n\t\t\t\t\tpreviousItem.active = item.active || item.finished;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst lines = this._el.querySelectorAll(\n\t\t\t'p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child'\n\t\t);\n\t\tfor (let j = lines.length - 1; j >= 0; j--) {\n\t\t\tconst line = lines.item(j);\n\t\t\tline.remove();\n\t\t}\n\n\t\tsetTimeout(() => (this._rendering = false), 100);\n\t};\n\n\tcomponentDidLoad() {\n\t\tthis._loaded = true;\n\t\tthis._generateSteps(true);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-stepper'>\n\t\t\t\t<slot onSlotchange={this._onSlotChange} />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('activeStep')\n\tprotected _onActiveStepChange() {\n\t\tthis._generateSteps();\n\t}\n}\n"]}
|