@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["addDays","dirtyDate","dirtyAmount","requiredArgs","arguments","date","toDate","amount","toInteger","isNaN","Date","NaN","setDate","getDate","addMonths","dayOfMonth","endOfDesiredMonth","getTime","setMonth","getMonth","daysInMonth","setFullYear","getFullYear","addYears","endOfMonth","month","setHours","startOfMonth","getDay","day","getDaysInMonth","year","monthIndex","lastDayOfMonth","getYear","isSameMonth","dirtyDateLeft","dirtyDateRight","dateLeft","dateRight","isSameYear","dirtyMonth","dateWithDesiredMonth","Math","min","dirtyDayOfMonth","setYear","dirtyYear","calendarComponentCss","PCalendarStyle0","calendar","cva","variants","variant","default","embedded","header","type","view","Calendar","this","_getAutomaticMax","mode","_today","valueChange","_weekDays","Array","from","keys","componentWillLoad","disabledDates","_parseDisabledDates","minDate","_parseMinDate","maxDate","_parseMaxDate","_parseValue","value","_value","_viewDate","isBefore","_minDate","isAfter","_maxDate","componentDidRender","_view","_scrollYearIntoView","preselectToday","isValid","isSameDay","_setValue","JSON","parse","isArray","_disabledDates","map","filter","render","h","Host","key","class","_getView","_getYearView","_getMonthView","_getDayView","_generateDaysInMonth","_getHeader","weekday","format","active","cn","offset","onClick","disabled","months","_generateMonths","_setMonth","years","_generateYears","id","_setYear","current","nextFn","num","_changeMonth","nextType","_changeYear","iconOnly","icon","iconRotate","size","_canSetAmount","_changeView","_canChangeView","allowed","newDate","emit","_isDisabledDay","startOfDay","isSameValue","days","dayOfWeek","disableWeekends","findIndex","maxYear","minYear","index","items","_el","querySelector","scrollTo","top","offsetTop","startNewDate","ceil"],"sources":["../../node_modules/date-fns/esm/addDays/index.js","../../node_modules/date-fns/esm/addMonths/index.js","../../node_modules/date-fns/esm/addYears/index.js","../../node_modules/date-fns/esm/endOfMonth/index.js","../../node_modules/date-fns/esm/startOfMonth/index.js","../../node_modules/date-fns/esm/getDay/index.js","../../node_modules/date-fns/esm/getDaysInMonth/index.js","../../node_modules/date-fns/esm/getYear/index.js","../../node_modules/date-fns/esm/isSameMonth/index.js","../../node_modules/date-fns/esm/isSameYear/index.js","../../node_modules/date-fns/esm/setMonth/index.js","../../node_modules/date-fns/esm/setDate/index.js","../../node_modules/date-fns/esm/setYear/index.js","src/components/molecules/calendar/calendar.component.scss?tag=p-calendar","src/components/molecules/calendar/calendar.component.tsx"],"sourcesContent":["import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n date.setDate(date.getDate() + amount);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the months added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\nexport default function addMonths(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n var dayOfMonth = date.getDate();\n\n // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n var endOfDesiredMonth = new Date(date.getTime());\n endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0);\n var daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return date;\n }\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport addMonths from \"../addMonths/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addYears\n * @category Year Helpers\n * @summary Add the specified number of years to the given date.\n *\n * @description\n * Add the specified number of years to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the years added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 years to 1 September 2014:\n * const result = addYears(new Date(2014, 8, 1), 5)\n * //=> Sun Sep 01 2019 00:00:00\n */\nexport default function addYears(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMonths(dirtyDate, amount * 12);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfMonth\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\nexport default function endOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var month = date.getMonth();\n date.setFullYear(date.getFullYear(), month + 1, 0);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfMonth\n * @category Month Helpers\n * @summary Return the start of a month for the given date.\n *\n * @description\n * Return the start of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a month for 2 September 2014 11:55:00:\n * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport default function startOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setDate(1);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getDay\n * @category Weekday Helpers\n * @summary Get the day of the week of the given date.\n *\n * @description\n * Get the day of the week of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {0|1|2|3|4|5|6} the day of week, 0 represents Sunday\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Which day of the week is 29 February 2012?\n * const result = getDay(new Date(2012, 1, 29))\n * //=> 3\n */\nexport default function getDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var day = date.getDay();\n return day;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getDaysInMonth\n * @category Month Helpers\n * @summary Get the number of days in a month of the given date.\n *\n * @description\n * Get the number of days in a month of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the number of days in a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // How many days are in February 2000?\n * const result = getDaysInMonth(new Date(2000, 1))\n * //=> 29\n */\nexport default function getDaysInMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getFullYear();\n var monthIndex = date.getMonth();\n var lastDayOfMonth = new Date(0);\n lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);\n lastDayOfMonth.setHours(0, 0, 0, 0);\n return lastDayOfMonth.getDate();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getYear\n * @category Year Helpers\n * @summary Get the year of the given date.\n *\n * @description\n * Get the year of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the year\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Which year is 2 July 2014?\n * const result = getYear(new Date(2014, 6, 2))\n * //=> 2014\n */\nexport default function getYear(dirtyDate) {\n requiredArgs(1, arguments);\n return toDate(dirtyDate).getFullYear();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameMonth\n * @category Month Helpers\n * @summary Are the given dates in the same month (and year)?\n *\n * @description\n * Are the given dates in the same month (and year)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same month (and year)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same month?\n * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n *\n * @example\n * // Are 2 September 2014 and 25 September 2015 in the same month?\n * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25))\n * //=> false\n */\nexport default function isSameMonth(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear() && dateLeft.getMonth() === dateRight.getMonth();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameYear\n * @category Year Helpers\n * @summary Are the given dates in the same year?\n *\n * @description\n * Are the given dates in the same year?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same year\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same year?\n * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n */\nexport default function isSameYear(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear();\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport getDaysInMonth from \"../getDaysInMonth/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setMonth\n * @category Month Helpers\n * @summary Set the month to the given date.\n *\n * @description\n * Set the month to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} month - the month of the new date\n * @returns {Date} the new date with the month set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set February to 1 September 2014:\n * const result = setMonth(new Date(2014, 8, 1), 1)\n * //=> Sat Feb 01 2014 00:00:00\n */\nexport default function setMonth(dirtyDate, dirtyMonth) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var month = toInteger(dirtyMonth);\n var year = date.getFullYear();\n var day = date.getDate();\n var dateWithDesiredMonth = new Date(0);\n dateWithDesiredMonth.setFullYear(year, month, 15);\n dateWithDesiredMonth.setHours(0, 0, 0, 0);\n var daysInMonth = getDaysInMonth(dateWithDesiredMonth);\n // Set the last day of the new month\n // if the original date was the last day of the longer month\n date.setMonth(month, Math.min(day, daysInMonth));\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setDate\n * @category Day Helpers\n * @summary Set the day of the month to the given date.\n *\n * @description\n * Set the day of the month to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} dayOfMonth - the day of the month of the new date\n * @returns {Date} the new date with the day of the month set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set the 30th day of the month to 1 September 2014:\n * const result = setDate(new Date(2014, 8, 1), 30)\n * //=> Tue Sep 30 2014 00:00:00\n */\nexport default function setDate(dirtyDate, dirtyDayOfMonth) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var dayOfMonth = toInteger(dirtyDayOfMonth);\n date.setDate(dayOfMonth);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setYear\n * @category Year Helpers\n * @summary Set the year to the given date.\n *\n * @description\n * Set the year to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} year - the year of the new date\n * @returns {Date} the new date with the year set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set year 2013 to 1 September 2014:\n * const result = setYear(new Date(2014, 8, 1), 2013)\n * //=> Sun Sep 01 2013 00:00:00\n */\nexport default function setYear(dirtyDate, dirtyYear) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var year = toInteger(dirtyYear);\n\n // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date\n if (isNaN(date.getTime())) {\n return new Date(NaN);\n }\n date.setFullYear(year);\n return date;\n}",null,"import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport {\n\taddDays,\n\taddMonths,\n\taddYears,\n\tendOfMonth,\n\tformat,\n\tgetDay,\n\tgetDaysInMonth,\n\tgetYear,\n\tisAfter,\n\tisBefore,\n\tisSameDay,\n\tisSameMonth,\n\tisSameYear,\n\tisValid,\n\tsetDate,\n\tsetMonth,\n\tsetYear,\n\tstartOfDay,\n\tstartOfMonth,\n} from 'date-fns';\nimport { cn } from '../../../utils/cn';\n\nconst calendar = cva(['p-calendar bg-white w-[17.5rem] flex flex-col gap-4'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: ['p-2 rounded-lg drop-shadow-2', 'border border-black-teal-100'],\n\t\t\tembedded: 'p-1',\n\t\t},\n\t},\n});\n\nconst header = cva(\n\t[\n\t\t'flex items-center justify-between gap-1',\n\t\t'w-full p-2',\n\t\t'bg-off-white-300 rounded-lg',\n\t],\n\t{\n\t\tvariants: {\n\t\t\ttype: {\n\t\t\t\tday: null,\n\t\t\t\tmonth: null,\n\t\t\t\tyear: 'justify-center',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst view = cva(['flex flex-col gap-2', 'w-full'], {\n\tvariants: {\n\t\tview: {\n\t\t\tday: 'h-auto min-h-[12rem]',\n\t\t\tmonth: null,\n\t\t\tyear: 'max-h-[14rem]',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-calendar',\n\tstyleUrl: 'calendar.component.scss',\n})\nexport class Calendar {\n\t/**\n\t * The variant of the button\n\t */\n\t@Prop() variant: 'default' | 'embedded' = 'default';\n\n\t/**\n\t * The current value\n\t */\n\t@Prop() value?: Date | string;\n\n\t/**\n\t * Wether to automatically preselect today\n\t */\n\t@Prop() preselectToday: boolean = false;\n\n\t/**\n\t * Disabled dates\n\t */\n\t@Prop() disabledDates?: Array<Date | string> | string;\n\n\t/**\n\t * Min date\n\t */\n\t@Prop() minDate: Date | string = new Date(1970, 0, 1);\n\n\t/**\n\t * Max date\n\t */\n\t@Prop() maxDate: Date | string = this._getAutomaticMax();\n\n\t/**\n\t * Wether to disable the weekends\n\t */\n\t@Prop() disableWeekends: boolean = false;\n\n\t/**\n\t * The mode of the datepicker\n\t */\n\t@Prop() mode: 'year' | 'month' | 'day' = 'day';\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 * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _today = new Date();\n\t@State() private _view: 'year' | 'month' | 'day' = this.mode;\n\t@State() private _viewDate = this._today;\n\n\t@State() private _value: Date;\n\t@State() private _minDate: Date;\n\t@State() private _maxDate: Date;\n\t@State() private _disabledDates: Date[] = [];\n\n\tprivate _weekDays = Array.from(Array(7).keys());\n\n\tcomponentWillLoad() {\n\t\tif (this.disabledDates) {\n\t\t\tthis._parseDisabledDates(this.disabledDates);\n\t\t}\n\n\t\tif (this.minDate) {\n\t\t\tthis._parseMinDate(this.minDate);\n\t\t}\n\n\t\tif (this.maxDate) {\n\t\t\tthis._parseMaxDate(this.maxDate);\n\t\t}\n\n\t\tthis._parseValue(this.value);\n\n\t\tif (this._value) {\n\t\t\tthis._viewDate = this._value;\n\t\t}\n\n\t\tif (isBefore(this._viewDate, this._minDate)) {\n\t\t\tthis._viewDate = this._minDate;\n\t\t}\n\n\t\tif (isAfter(this._viewDate, this._maxDate)) {\n\t\t\tthis._viewDate = this._maxDate;\n\t\t}\n\t}\n\n\tcomponentDidRender() {\n\t\tif (this._view === 'year') {\n\t\t\tthis._scrollYearIntoView();\n\t\t}\n\t}\n\n\t@Watch('value')\n\tprivate _parseValue(value: string | Date) {\n\t\tif (!value && this.preselectToday) {\n\t\t\tvalue = new Date();\n\t\t}\n\n\t\tif (typeof value === 'string') {\n\t\t\tvalue = new Date(value);\n\t\t}\n\n\t\tif (isValid(value) && !isSameDay(value, this._viewDate)) {\n\t\t\tthis._viewDate = value;\n\t\t}\n\n\t\tthis._setValue(value);\n\t}\n\n\t@Watch('minDate')\n\tprivate _parseMinDate(minDate: string | Date) {\n\t\tif (typeof minDate === 'string') {\n\t\t\tminDate = new Date(minDate);\n\t\t}\n\n\t\tif (!isValid(minDate)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._minDate = minDate;\n\n\t\tif (isBefore(this._viewDate, this._minDate)) {\n\t\t\tthis._viewDate = this._minDate;\n\t\t}\n\t}\n\n\t@Watch('maxDate')\n\tprivate _parseMaxDate(maxDate: string | Date) {\n\t\tif (typeof maxDate === 'string') {\n\t\t\tmaxDate = new Date(maxDate);\n\t\t}\n\n\t\tif (!isValid(maxDate)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._maxDate = maxDate;\n\n\t\tif (isAfter(this._viewDate, this._maxDate)) {\n\t\t\tthis._viewDate = this._maxDate;\n\t\t}\n\t}\n\n\t@Watch('disabledDates')\n\tprivate _parseDisabledDates(disabledDates: Array<string | Date> | string) {\n\t\tif (typeof disabledDates === 'string') {\n\t\t\tdisabledDates = JSON.parse(disabledDates);\n\t\t}\n\n\t\tif (!disabledDates || !Array.isArray(disabledDates)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// normalize all to date\n\t\tthis._disabledDates = disabledDates\n\t\t\t.map(date => {\n\t\t\t\tif (typeof date === 'string') {\n\t\t\t\t\treturn new Date(date);\n\t\t\t\t}\n\n\t\t\t\treturn date;\n\t\t\t})\n\t\t\t.filter(date => isValid(date));\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={calendar({ variant: this.variant })}>{this._getView()}</Host>\n\t\t);\n\t}\n\n\tprivate _getView() {\n\t\tif (this._view === 'year') {\n\t\t\treturn this._getYearView();\n\t\t}\n\n\t\tif (this._view === 'month') {\n\t\t\treturn this._getMonthView();\n\t\t}\n\n\t\treturn this._getDayView();\n\t}\n\n\t/* With this, we shall hack the system in ways no one would ever have thought.\n <div class=\"col-start-1 col-start-2 col-start-3 col-start-4 col-start-5 col-start-6 col-start-7\"></div>\n */\n\tprivate _getDayView() {\n\t\tconst daysInMonth = this._generateDaysInMonth();\n\t\treturn (\n\t\t\t<div class={view({ view: 'day' })}>\n\t\t\t\t{this._getHeader('day')}\n\n\t\t\t\t<div class='grid grid-cols-7 justify-between gap-1'>\n\t\t\t\t\t{this._weekDays.map(weekday => (\n\t\t\t\t\t\t<span class='w-8 text-center text-xs text-black-teal-200'>\n\t\t\t\t\t\t\t{format(addDays(new Date(2022, 7, 1), weekday), 'eee')}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t))}\n\t\t\t\t\t{daysInMonth.map(day => {\n\t\t\t\t\t\treturn day.active ? (\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tvariant='primary'\n\t\t\t\t\t\t\t\tclass={cn('w-full', `col-start-${day.offset}`)}\n\t\t\t\t\t\t\t\tonClick={() => this._setValue(day.date)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{/* class={`day ${day.active && 'active'} ${ */}\n\t\t\t\t\t\t\t\t{/* \tday.disabled && 'disabled' */}\n\t\t\t\t\t\t\t\t{/* } ${day.current && 'current'} ${ */}\n\t\t\t\t\t\t\t\t{/* \tday.offset !== false && */}\n\t\t\t\t\t\t\t\t{/* }`} */}\n\t\t\t\t\t\t\t\t{day.day}\n\t\t\t\t\t\t\t</p-button>\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t<time\n\t\t\t\t\t\t\t\tclass={cn(\n\t\t\t\t\t\t\t\t\t'normal flex items-center justify-center rounded-lg',\n\t\t\t\t\t\t\t\t\t'h-8 w-8 text-sm text-black-teal-300',\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t'cursor-pointer hover:bg-white-600 hover:text-black-teal':\n\t\t\t\t\t\t\t\t\t\t\t!day.disabled,\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t`col-start-${day.offset}`,\n\t\t\t\t\t\t\t\t\t{ 'cursor-not-allowed opacity-60': day.disabled }\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\tonClick={() => this._setValue(day.date)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{day.day}\n\t\t\t\t\t\t\t</time>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getMonthView() {\n\t\tconst months = this._generateMonths();\n\t\treturn (\n\t\t\t<div class={view({ view: 'month' })}>\n\t\t\t\t{this._getHeader('month')}\n\n\t\t\t\t<div class='flex flex-wrap items-start gap-2'>\n\t\t\t\t\t{months.map(month => (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant={month.active ? 'primary' : 'secondary'}\n\t\t\t\t\t\t\tdisabled={month.disabled}\n\t\t\t\t\t\t\tonClick={() => this._setMonth(month.month)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{format(setMonth(new Date(), month.month), 'MMMM')}\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getYearView() {\n\t\tconst years = this._generateYears();\n\t\treturn (\n\t\t\t<div\n\t\t\t\tid='view-year'\n\t\t\t\tclass={view({ view: 'year' })}\n\t\t\t>\n\t\t\t\t{this._getHeader('year')}\n\t\t\t\t<div\n\t\t\t\t\tid='items'\n\t\t\t\t\tclass='grid h-full grid-cols-4 gap-2 overflow-scroll'\n\t\t\t\t>\n\t\t\t\t\t{years.map(year => (\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\tvariant={year.active ? 'primary' : 'secondary'}\n\t\t\t\t\t\t\tonClick={() => this._setYear(year.year)}\n\t\t\t\t\t\t\tdata-active={year.active}\n\t\t\t\t\t\t\tdata-current={year.current}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{year.year}\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getHeader(type: 'day' | 'month' | 'year' = 'day') {\n\t\tlet nextFn = num => this._changeMonth(num);\n\t\tlet nextType: 'month' | 'year' = 'month';\n\n\t\tif (type === 'month' || type === 'year') {\n\t\t\tnextFn = num => this._changeYear(num);\n\t\t\tnextType = 'year';\n\t\t}\n\n\t\treturn (\n\t\t\t<div class={header({ type })}>\n\t\t\t\t{type !== 'year' && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\ticonOnly\n\t\t\t\t\t\ticon='caret'\n\t\t\t\t\t\ticonRotate={90}\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tonClick={() => nextFn(-1)}\n\t\t\t\t\t\tdisabled={!this._canSetAmount(nextType, -1)}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t<div class='flex gap-2'>\n\t\t\t\t\t{this.mode !== 'year' && (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\t\tonClick={() => this._changeView('month')}\n\t\t\t\t\t\t\tdisabled={!this._canChangeView('month')}\n\t\t\t\t\t\t\tactive={this._view === 'month' && this.mode !== 'month'}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{format(this._viewDate, 'MMMM')}\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tonClick={() => this._changeView('year')}\n\t\t\t\t\t\tdisabled={!this._canChangeView('year')}\n\t\t\t\t\t\tactive={this._view === 'year' && this.mode !== 'year'}\n\t\t\t\t\t>\n\t\t\t\t\t\t{getYear(this._viewDate)}\n\t\t\t\t\t</p-button>\n\t\t\t\t</div>\n\n\t\t\t\t{type !== 'year' && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\ticonOnly\n\t\t\t\t\t\ticon='caret'\n\t\t\t\t\t\ticonRotate={-90}\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tonClick={() => nextFn(1)}\n\t\t\t\t\t\tdisabled={!this._canSetAmount(nextType, 1)}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _setYear(year: number) {\n\t\tconst date = setYear(this._viewDate, year);\n\t\tif (this.mode === 'year') {\n\t\t\tthis._viewDate = date;\n\t\t\tthis._setValue(setMonth(setDate(date, 1), 0));\n\t\t\treturn;\n\t\t}\n\n\t\tthis._viewDate = date;\n\t\tthis._view = 'month';\n\t}\n\n\tprivate _setMonth(month: number) {\n\t\tconst date = setMonth(this._viewDate, month);\n\t\tif (this.mode === 'month') {\n\t\t\tthis._viewDate = date;\n\t\t\tthis._setValue(setDate(date, 1));\n\t\t\treturn;\n\t\t}\n\n\t\tthis._viewDate = date;\n\t\tthis._view = 'day';\n\t}\n\n\tprivate _changeMonth(amount = 1) {\n\t\tconst allowed = this._canSetAmount('month', amount);\n\t\tif (!allowed) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst newDate = addMonths(this._viewDate, amount);\n\t\tthis._viewDate = newDate;\n\t}\n\n\tprivate _changeYear(amount = 1) {\n\t\tconst allowed = this._canSetAmount('year', amount);\n\t\tif (!allowed) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet newDate = addYears(this._viewDate, amount);\n\t\tthis._viewDate = newDate;\n\t}\n\n\tprivate _setValue(value: Date) {\n\t\tif (value === null) {\n\t\t\tthis._value = null;\n\t\t\tthis.valueChange.emit(null);\n\t\t\treturn;\n\t\t}\n\n\t\tif (!isValid(value)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._isDisabledDay(value)) {\n\t\t\treturn;\n\t\t}\n\n\t\tvalue = startOfDay(value);\n\t\tconst isSameValue = isSameDay(value, this._value);\n\n\t\tif (isSameValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._value = value;\n\t\tthis.valueChange.emit(value);\n\t}\n\n\tprivate _generateDaysInMonth() {\n\t\tconst days = Array.from(Array(getDaysInMonth(this._viewDate)).keys());\n\n\t\treturn days.map(day => {\n\t\t\tday = day + 1;\n\t\t\tconst date = setDate(this._viewDate, day);\n\n\t\t\tconst dayOfWeek = getDay(date);\n\t\t\treturn {\n\t\t\t\tday,\n\t\t\t\tdate,\n\t\t\t\toffset: day === 1 ? (dayOfWeek === 0 ? 7 : dayOfWeek) : false,\n\t\t\t\tcurrent: isSameDay(date, this._today),\n\t\t\t\tactive: isSameDay(date, this._value),\n\t\t\t\tdisabled: this._isDisabledDay(date),\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _isDisabledDay(day: Date) {\n\t\treturn (\n\t\t\t(isBefore(day, this._minDate) && !isSameDay(day, this._maxDate)) ||\n\t\t\t(isAfter(day, this._maxDate) && !isSameDay(day, this._maxDate)) ||\n\t\t\t((getDay(day) === 0 || getDay(day) === 6) && this.disableWeekends) ||\n\t\t\tthis._disabledDates.findIndex(date => isSameDay(date, day)) >= 0\n\t\t);\n\t}\n\n\tprivate _generateMonths() {\n\t\tconst year = getYear(this._viewDate);\n\t\tconst months = Array.from(Array(12).keys());\n\n\t\treturn months.map(month => {\n\t\t\tconst date = new Date(year, month, 1);\n\t\t\treturn {\n\t\t\t\tmonth,\n\t\t\t\tcurrent: isSameMonth(this._today, date),\n\t\t\t\tactive: isSameMonth(this._value, date),\n\t\t\t\tdisabled:\n\t\t\t\t\tisAfter(date, this._maxDate) ||\n\t\t\t\t\tisBefore(endOfMonth(date), this._minDate),\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _generateYears() {\n\t\tconst maxYear = getYear(this._maxDate) + 1;\n\t\tconst minYear = getYear(this._minDate);\n\n\t\treturn Array.from(Array(maxYear - minYear).keys()).map(index => {\n\t\t\tconst year = minYear + index;\n\t\t\treturn {\n\t\t\t\tyear,\n\t\t\t\tcurrent: getYear(this._today) === year,\n\t\t\t\tactive: getYear(this._value) === year,\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _scrollYearIntoView() {\n\t\tconst items = this._el.querySelector('#view-year > #items');\n\t\tif (!items) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst active = items.querySelector('p-button[data-active]') as HTMLElement;\n\t\tif (active) {\n\t\t\treturn items.scrollTo({\n\t\t\t\ttop: active.offsetTop - 100,\n\t\t\t});\n\t\t}\n\n\t\tconst current = items.querySelector(\n\t\t\t'p-button[data-current]'\n\t\t) as HTMLElement;\n\t\tif (current) {\n\t\t\treturn items.scrollTo({\n\t\t\t\ttop: current.offsetTop - 100,\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate _changeView(view: 'year' | 'month') {\n\t\tif (!this._canChangeView(view)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._view = view;\n\t}\n\n\tprivate _canChangeView(view: 'year' | 'month') {\n\t\tif (view === 'year') {\n\t\t\tif (isSameYear(this._minDate, this._maxDate)) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tif (isSameMonth(this._minDate, this._maxDate)) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tprivate _canSetAmount(type: 'month' | 'year', amount = 1) {\n\t\tif (type === 'month') {\n\t\t\tconst newDate = addMonths(this._viewDate, amount);\n\t\t\tconst startNewDate = startOfMonth(newDate);\n\t\t\tif (\n\t\t\t\t(isBefore(startNewDate, startOfMonth(this._minDate)) &&\n\t\t\t\t\t!isSameDay(startNewDate, this._minDate)) ||\n\t\t\t\tisAfter(startNewDate, endOfMonth(this._maxDate))\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tif (type === 'year') {\n\t\t\tlet newDate = addYears(this._viewDate, amount);\n\t\t\tconst year = getYear(newDate);\n\t\t\tif (year < getYear(this._minDate) || year > getYear(this._maxDate)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tprivate _getAutomaticMax() {\n\t\tconst date = addYears(new Date(), 50);\n\n\t\tlet year = getYear(date);\n\t\tyear = Math.ceil(year / 10) * 10;\n\n\t\treturn setYear(date, year);\n\t}\n}\n"],"mappings":"kPAqBe,SAASA,EAAQC,EAAWC,GACzCC,EAAa,EAAGC,WAChB,IAAIC,EAAOC,EAAOL,GAClB,IAAIM,EAASC,EAAUN,GACvB,GAAIO,MAAMF,GAAS,CACjB,OAAO,IAAIG,KAAKC,IACpB,CACE,IAAKJ,EAAQ,CAEX,OAAOF,CACX,CACEA,EAAKO,QAAQP,EAAKQ,UAAYN,GAC9B,OAAOF,CACT,CCbe,SAASS,EAAUb,EAAWC,GAC3CC,EAAa,EAAGC,WAChB,IAAIC,EAAOC,EAAOL,GAClB,IAAIM,EAASC,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Oe,EAAQzC,EAAM0B,E","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-45ded510.js";const n='.relative{position:relative!important}.sticky{position:sticky!important}.box-border{box-sizing:border-box!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-dvh{height:100dvh!important}.h-full{height:100%!important}.w-full{width:100%!important}.w-unset{width:unset!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.overflow-y-auto{overflow-y:auto!important}.px-content-mobile-x{padding-left:1rem!important;padding-right:1rem!important}*{box-sizing:border-box}:host{display:grid;gap:0;grid-template-areas:"sidebar" "topbar" "content";grid-template-columns:1fr;grid-template-rows:repeat(2,min-content) 1fr;height:100dvh;width:100dvw}@media (min-width:80rem){:host{grid-template-areas:"topbar topbar" "sidebar content";grid-template-columns:auto 1fr;grid-template-rows:min-content 1fr}}:host .content,:host .sidebar,:host .topbar{align-self:flex-start}:host .topbar{grid-area:topbar;position:sticky;width:100%}:host .sidebar{box-sizing:border-box;display:flex;grid-area:sidebar;height:100%;width:100%}@media (min-width:80rem){:host .sidebar{width:15rem}}@media (min-width:105rem){:host .sidebar{width:18rem}}:host .content{display:flex;flex-direction:column;grid-area:content;height:100%;overflow-x:hidden;overflow-y:auto;padding:1.5rem 1rem;position:relative}@media (min-width:40rem){:host .content{padding:2rem}}@media (min-width:80rem){:host .content{padding:2rem 1.5rem 1.5rem}}@media (min-width:90rem){:host .content{padding:2rem}}@media (min-width:120rem){:host .content{padding-bottom:5rem;padding-left:5rem;padding-right:2rem}}@media (min-width:160rem){:host .content{padding-bottom:7.5rem;padding-left:7.5rem;padding-top:4rem}}:host .content .inner-content{flex:1 1 0%;position:relative}@media (min-width:80rem){:host .content .inner-content{width:62rem}}@media (min-width:90rem){:host .content .inner-content{width:71rem}}@media (min-width:96rem){:host .content .inner-content{width:77rem}}@media (min-width:105rem){:host .content .inner-content{width:83rem}}:host(.variant-default) .content{flex:1 1 0%}:host(.variant-login){grid-template-areas:"topbar topbar" "content content"}@media (min-width:80rem){:host(.variant-login){grid-template-areas:"topbar topbar" "content sidebar"}}:host(.variant-login) .sidebar{display:none;flex:1 1 0%;overflow:hidden;padding:.5rem;width:unset}@media (min-width:80rem){:host(.variant-login) .sidebar{display:flex}}:host(.variant-login) .sidebar .inner-content{padding:.5rem}:host(.variant-login) .content{align-items:center;padding:calc(env(safe-area-inset-top) + 3.5rem) 1rem 1.5rem}@media (min-width:80rem){:host(.variant-login) .content{justify-content:center;padding:1.5rem 4.5rem 0}}:host(.variant-login) .content .inner-content{box-sizing:border-box;flex:unset;width:100%}@media (min-width:40rem){:host(.variant-login) .content .inner-content{width:21rem}}@media (min-width:80rem){:host(.variant-office) .content .inner-content{width:58rem}}@media (min-width:90rem){:host(.variant-office) .content .inner-content{width:67rem}}@media (min-width:96rem){:host(.variant-office) .content .inner-content{width:73rem}}@media (min-width:105rem){:host(.variant-office) .content .inner-content{width:79rem}}@media (min-width:120rem){:host(.variant-office) .content .inner-content{width:82rem}}@media (min-width:160rem){:host(.variant-office) .content .inner-content{width:84.5rem}}@media (min-width:80rem){:host(.variant-office) .sidebar{width:19rem}}@media (min-width:105rem){:host(.variant-office) .sidebar{width:22rem}}@media (min-width:80rem){.layout-1280\\:flex{display:flex!important}.layout-1280\\:w-60{width:15rem!important}.layout-1280\\:w-\\[19rem\\]{width:19rem!important}.layout-1280\\:w-\\[58rem\\]{width:58rem!important}.layout-1280\\:p-6{padding:1.5rem!important}.layout-1280\\:px-18{padding-left:4.5rem!important;padding-right:4.5rem!important}}@media (min-width:90rem){.layout-1440\\:w-\\[67rem\\]{width:67rem!important}}@media (min-width:96rem){.layout-1536\\:w-\\[73rem\\]{width:73rem!important}}@media (min-width:105rem){.layout-1680\\:w-\\[22rem\\]{width:22rem!important}.layout-1680\\:w-\\[79rem\\]{width:79rem!important}}@media (min-width:120rem){.layout-1920\\:w-\\[82rem\\]{width:82rem!important}.layout-1920\\:pl-20{padding-left:5rem!important}.layout-1920\\:pr-8{padding-right:2rem!important}}@media (min-width:160rem){.layout-2560\\:w-\\[84\\.5rem\\]{width:84.5rem!important}.layout-2560\\:pb-\\[7\\.5rem\\]{padding-bottom:7.5rem!important}.layout-2560\\:pl-\\[7\\.5rem\\]{padding-left:7.5rem!important}.layout-2560\\:pt-16{padding-top:4rem!important}}.static{position:static!important}';const r=n;const a=class{constructor(e){t(this,e);this.variant="default"}render(){return e(i,{key:"3831e9f213040c55cdaec97155df5489dff12170",class:`p-layout variant-${this.variant}`},e("div",{key:"ca7b6362566d1b3ca050c9e156c0c3fb6392c580",class:"content"},e("div",{key:"560728eb60a95b855b09f91e925ec19044da413d",class:"inner-content"},e("slot",{key:"2168f3f031cac9b805b4ad4ed7d7b5e500208baa",name:"content"}))),e("div",{key:"1cb5069c3e6bb1d2c90b678ec4a889c2724e4249",class:"sidebar"},e("slot",{key:"febf7d89e6cb24e63afb5c54edf0a59ca2de0136",name:"sidebar"})),e("div",{key:"714aaf2fb92091707671a8139bfc9c08591e8d5c",class:"topbar"},e("slot",{key:"6fae7e137447d6ae699e277fabe7c76a7c34031d",name:"topbar"})))}};a.style=r;export{a as p_layout};
|
|
2
|
+
//# sourceMappingURL=p-d044f441.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["layoutComponentCss","PLayoutStyle0","Layout","render","h","Host","key","class","this","variant","name"],"sources":["src/components/atoms/layout/layout.component.scss?tag=p-layout&encapsulation=shadow","src/components/atoms/layout/layout.component.tsx"],"sourcesContent":[":host {\n\t@apply grid h-dvh w-dvw;\n\n\tgrid-template-columns: 1fr;\n\tgrid-template-rows: repeat(2, min-content) 1fr;\n\tgap: 0;\n\tgrid-template-areas:\n\t\t'sidebar'\n\t\t'topbar'\n\t\t'content';\n\n\t@screen layout-1280 {\n\t\tgrid-template-columns: auto 1fr;\n\t\tgrid-template-rows: min-content 1fr;\n\t\tgrid-template-areas:\n\t\t\t'topbar topbar'\n\t\t\t'sidebar content';\n\t}\n\n\t.topbar,\n\t.sidebar,\n\t.content {\n\t\t@apply self-start;\n\t}\n\n\t.topbar {\n\t\tgrid-area: topbar;\n\n\t\t@apply sticky w-full;\n\t}\n\n\t.sidebar {\n\t\tgrid-area: sidebar;\n\n\t\t@apply box-border flex h-full;\n\t\t@apply w-full;\n\t\t@apply layout-1280:w-60 layout-1680:w-72;\n\t}\n\n\t.content {\n\t\tgrid-area: content;\n\n\t\t@apply relative flex h-full flex-col overflow-y-auto overflow-x-hidden;\n\t\t@apply pb-24;\n\n\t\t@apply px-content-mobile-x py-content-mobile-y;\n\t\t@apply tablet:p-8;\n\t\t@apply layout-1280:p-6 layout-1280:pt-8;\n\t\t@apply layout-1440:p-8;\n\t\t@apply layout-1920:pr-8 layout-1920:pl-20 layout-1920:pb-20;\n\t\t@apply layout-2560:pt-16 layout-2560:pl-[7.5rem] layout-2560:pb-[7.5rem];\n\n\t\t.inner-content {\n\t\t\t@apply relative flex-1;\n\n\t\t\t// https://linear.app/employes/issue/PRO-9053/%E2%9A%9B%EF%B8%8F-component-wijzigen-layout\n\t\t\t@apply layout-1280:w-content-1280;\n\t\t\t@apply layout-1440:w-content-1440;\n\t\t\t@apply layout-1536:w-content-1536;\n\t\t\t@apply layout-1680:w-content-1680;\n\t\t}\n\t}\n}\n\n:host(.variant-default) {\n\t.content {\n\t\t@apply flex-1;\n\t}\n}\n\n:host(.variant-login) {\n\tgrid-template-areas:\n\t\t'topbar topbar'\n\t\t'content content';\n\n\t@screen layout-1280 {\n\t\tgrid-template-areas:\n\t\t\t'topbar topbar'\n\t\t\t'content sidebar';\n\t}\n\n\t.sidebar {\n\t\t@apply hidden w-unset layout-1280:flex;\n\t\t@apply p-2;\n\t\t@apply flex-1 overflow-hidden;\n\n\t\t.inner-content {\n\t\t\t@apply p-2;\n\t\t}\n\t}\n\n\t.content {\n\t\t@apply items-center layout-1280:justify-center;\n\n\t\t@apply layout-1280:px-18 layout-1280:py-0;\n\t\t@apply px-content-mobile-x py-content-mobile-y;\n\t\tpadding-top: calc(env(safe-area-inset-top) + 3.5rem);\n\n\t\t@screen layout-1280 {\n\t\t\t@apply pt-content-mobile-y;\n\t\t}\n\n\t\t.inner-content {\n\t\t\t@apply box-border;\n\t\t\t@apply w-full tablet:w-content-desktop-login;\n\t\t\tflex: unset;\n\t\t}\n\t}\n}\n\n:host(.variant-office) {\n\t.content {\n\t\t.inner-content {\n\t\t\t@apply layout-1280:w-[58rem];\n\t\t\t@apply layout-1440:w-[67rem];\n\t\t\t@apply layout-1536:w-[73rem];\n\t\t\t@apply layout-1680:w-[79rem];\n\t\t\t@apply layout-1920:w-[82rem];\n\t\t\t@apply layout-2560:w-[84.5rem];\n\t\t}\n\t}\n\n\t.sidebar {\n\t\t@apply layout-1280:w-[19rem] layout-1680:w-[22rem];\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-layout',\n\tstyleUrl: 'layout.component.scss',\n\tshadow: true,\n})\nexport class Layout {\n\t/**\n\t * Variant of the layout\n\t */\n\t@Prop() variant: 'default' | 'login' | 'office' = 'default';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-layout variant-${this.variant}`}>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<div class=\"inner-content\">\n\t\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"sidebar\">\n\t\t\t\t\t<slot name=\"sidebar\" />\n\t\t\t\t</div>\n\t\t\t\t<div class=\"topbar\">\n\t\t\t\t\t<slot name=\"topbar\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAAqB,2kJAC3B,MAAAC,EAAeD,E,MCMFE,EAAM,M,sCAIgC,S,CAElD,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAO,oBAAoBC,KAAKC,WACrCL,EAAA,OAAAE,IAAA,2CAAKC,MAAM,WACVH,EAAA,OAAAE,IAAA,2CAAKC,MAAM,iBACVH,EAAA,QAAAE,IAAA,2CAAMI,KAAK,cAGbN,EAAA,OAAAE,IAAA,2CAAKC,MAAM,WACVH,EAAA,QAAAE,IAAA,2CAAMI,KAAK,aAEZN,EAAA,OAAAE,IAAA,2CAAKC,MAAM,UACVH,EAAA,QAAAE,IAAA,2CAAMI,KAAK,Y","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as s,c as t,g as e,h as i,H as o}from"./p-45ded510.js";const h=class{constructor(e){s(this,e);this.closeClicked=t(this,"closeClicked",3);this.closed=t(this,"closed",3);this.size="md";this.variant="default";this.header=undefined;this.show=false;this.applyBlur=false;this.showClose=true;this.showMobileFooter=false;this.backdropClickClose=true;this.scrollLock=true;this.padding=true;this._closing=false}closeClicked;closed;get _el(){return e(this)}_hasFooterSlot=false;_hasHeaderSlot=false;componentWillLoad(){this._hasFooterSlot=!!this._el.querySelector(':scope > [slot="footer"]');this._hasHeaderSlot=!!this._el.querySelector(':scope > [slot="header"]')}render(){if(!this.show){return}const s=i("slot",{name:"header"});const t=i("slot",{name:"content"});const e=i("slot",{name:"footer"});return i(o,{class:"p-modal"},i("p-backdrop",{applyBlur:this.applyBlur,onClicked:s=>this._backdropClick(s.detail),closing:this._closing,scrollLock:this.scrollLock},i("p-modal-container",{size:this.size,closing:this._closing},(this.header?.length||this._hasHeaderSlot)&&i("p-modal-header",{showClose:this.showClose,onClose:s=>this.close("button",s.detail)},this._hasHeaderSlot?s:this.header),i("p-modal-body",{variant:this.variant,roundedBottom:!this._hasFooterSlot,roundedTop:!this._hasHeaderSlot&&!this.header?.length,padding:this.padding},t),this._hasFooterSlot&&i("p-modal-footer",null,e))))}_backdropClick(s){if(!this.backdropClickClose){return}this.close("backdrop",s)}close(s,t){this.closeClicked.emit(t);this._closing=true;setTimeout((()=>{this.show=false;this._closing=false;this.closed.emit(s)}),550)}handleCloseModal(){this.close("event")}};export{h as p_modal};
|
|
2
|
+
//# sourceMappingURL=p-d3878a79.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["Modal","closeClicked","closed","_hasFooterSlot","_hasHeaderSlot","componentWillLoad","this","_el","querySelector","render","show","headerContent","h","name","bodyContent","footerContent","Host","class","applyBlur","onClicked","ev","_backdropClick","detail","closing","_closing","scrollLock","size","header","length","showClose","onClose","close","variant","roundedBottom","roundedTop","padding","backdropClickClose","reason","emit","setTimeout","handleCloseModal"],"sources":["src/components/organisms/modal/modal.component.tsx"],"sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State\n} from '@stencil/core';\n\n@Component({\n\ttag: 'p-modal',\n\tshadow: true,\n})\nexport class Modal {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'sm' | 'md' | 'lg' | 'xl' = 'md';\n\n\t/**\n\t * The variant of the modal body\n\t */\n\t@Prop() variant: 'default' | 'table-flush' = 'default';\n\n\t/**\n\t * The Header of the modal\n\t */\n\t@Prop() header?: string;\n\n\t/**\n\t * Wether to show the modal or not\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to apply blur to the backdrop\n\t */\n\t@Prop() applyBlur: boolean = false;\n\n\t/**\n\t * Wether to show the close button in the header\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Wether to show the footer on mobile\n\t */\n\t@Prop() showMobileFooter = false;\n\n\t/**\n\t * Wether to hide the modal when the backdrop is clicked\n\t */\n\t@Prop() backdropClickClose = true;\n\n\t/**\n\t * Wether we should scroll lock the body\n\t */\n\t@Prop() scrollLock: boolean = true;\n\n\t/**\n\t * Wether the body should have padding\n\t */\n\t@Prop() padding: boolean = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tcloseClicked: EventEmitter<MouseEvent>;\n\n\t/**\n\t * Closed event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclosed: EventEmitter<string>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasFooterSlot = false;\n\tprivate _hasHeaderSlot = false;\n\n\t@State() private _closing = false;\n\n\tcomponentWillLoad() {\n\t\tthis._hasFooterSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"footer\"]'\n\t\t);\n\t\tthis._hasHeaderSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"header\"]'\n\t\t);\n\t}\n\n\trender() {\n\t\tif (!this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst headerContent = <slot name=\"header\" />;\n\t\tconst bodyContent = <slot name=\"content\" />;\n\t\tconst footerContent = <slot name=\"footer\" />;\n\n\t\treturn (\n\t\t\t<Host class=\"p-modal\">\n\t\t\t\t<p-backdrop\n\t\t\t\t\tapplyBlur={this.applyBlur}\n\t\t\t\t\tonClicked={(ev) => this._backdropClick(ev.detail)}\n\t\t\t\t\tclosing={this._closing}\n\t\t\t\t\tscrollLock={this.scrollLock}\n\t\t\t\t>\n\t\t\t\t\t<p-modal-container size={this.size} closing={this._closing}>\n\t\t\t\t\t\t{(this.header?.length || this._hasHeaderSlot) && (\n\t\t\t\t\t\t\t<p-modal-header\n\t\t\t\t\t\t\t\tshowClose={this.showClose}\n\t\t\t\t\t\t\t\tonClose={(ev) => this.close('button', ev.detail)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this._hasHeaderSlot\n\t\t\t\t\t\t\t\t\t? headerContent\n\t\t\t\t\t\t\t\t\t: this.header}\n\t\t\t\t\t\t\t</p-modal-header>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t<p-modal-body\n\t\t\t\t\t\t\tvariant={this.variant}\n\t\t\t\t\t\t\troundedBottom={!this._hasFooterSlot}\n\t\t\t\t\t\t\troundedTop={!this._hasHeaderSlot && !this.header?.length}\n\t\t\t\t\t\t\tpadding={this.padding}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{bodyContent}\n\t\t\t\t\t\t</p-modal-body>\n\t\t\t\t\t\t{this._hasFooterSlot && (\n\t\t\t\t\t\t\t<p-modal-footer>{footerContent}</p-modal-footer>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</p-modal-container>\n\t\t\t\t</p-backdrop>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _backdropClick(ev: MouseEvent) {\n\t\tif (!this.backdropClickClose) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.close('backdrop', ev);\n\t}\n\n\tpublic close(reason: string, ev?: MouseEvent) {\n\t\tthis.closeClicked.emit(ev);\n\n\t\tthis._closing = true;\n\n\t\tsetTimeout(() => {\n\t\t\tthis.show = false;\n\t\t\tthis._closing = false;\n\n\t\t\tthis.closed.emit(reason);\n\t\t}, 550);\n\t}\n\n\t@Listen('closeModal', { target: 'window' })\n\thandleCloseModal() {\n\t\tthis.close('event');\n\t}\n}\n"],"mappings":"sEAgBaA,EAAK,M,6GAIyB,K,aAKG,U,gCAUrB,M,eAKK,M,eAKT,K,sBAKO,M,wBAKE,K,gBAKC,K,aAKH,K,cA0BC,K,CAlB5BC,aAQAC,O,yBAOQC,eAAiB,MACjBC,eAAiB,MAIzB,iBAAAC,GACCC,KAAKH,iBAAmBG,KAAKC,IAAIC,cAChC,4BAEDF,KAAKF,iBAAmBE,KAAKC,IAAIC,cAChC,2B,CAIF,MAAAC,GACC,IAAKH,KAAKI,KAAM,CACf,M,CAGD,MAAMC,EAAgBC,EAAA,QAAMC,KAAK,WACjC,MAAMC,EAAcF,EAAA,QAAMC,KAAK,YAC/B,MAAME,EAAgBH,EAAA,QAAMC,KAAK,WAEjC,OACCD,EAACI,EAAI,CAACC,MAAM,WACXL,EAAA,cACCM,UAAWZ,KAAKY,UAChBC,UAAYC,GAAOd,KAAKe,eAAeD,EAAGE,QAC1CC,QAASjB,KAAKkB,SACdC,WAAYnB,KAAKmB,YAEjBb,EAAA,qBAAmBc,KAAMpB,KAAKoB,KAAMH,QAASjB,KAAKkB,WAC/ClB,KAAKqB,QAAQC,QAAUtB,KAAKF,iBAC7BQ,EAAA,kBACCiB,UAAWvB,KAAKuB,UAChBC,QAAUV,GAAOd,KAAKyB,MAAM,SAAUX,EAAGE,SAExChB,KAAKF,eACHO,EACAL,KAAKqB,QAGVf,EAAA,gBACCoB,QAAS1B,KAAK0B,QACdC,eAAgB3B,KAAKH,eACrB+B,YAAa5B,KAAKF,iBAAmBE,KAAKqB,QAAQC,OAClDO,QAAS7B,KAAK6B,SAEbrB,GAEDR,KAAKH,gBACLS,EAAA,sBAAiBG,K,CAQf,cAAAM,CAAeD,GACtB,IAAKd,KAAK8B,mBAAoB,CAC7B,M,CAGD9B,KAAKyB,MAAM,WAAYX,E,CAGjB,KAAAW,CAAMM,EAAgBjB,GAC5Bd,KAAKL,aAAaqC,KAAKlB,GAEvBd,KAAKkB,SAAW,KAEhBe,YAAW,KACVjC,KAAKI,KAAO,MACZJ,KAAKkB,SAAW,MAEhBlB,KAAKJ,OAAOoC,KAAKD,EAAO,GACtB,I,CAIJ,gBAAAG,GACClC,KAAKyB,MAAM,Q","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-45ded510.js";import{c as a}from"./p-8a5b8196.js";import{c as o}from"./p-9ab34fee.js";import"./p-8a1a6e56.js";const r="*{box-sizing:border-box}.static{position:static!important}.ml-auto{margin-left:auto!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.aspect-branding{aspect-ratio:23/24!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-\\[inherit\\]{width:inherit!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.bg-off-white-600{--tw-bg-opacity:1!important;background-color:rgb(236 234 229/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.pl-1{padding-left:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-black-teal-500{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.hover\\:bg-off-white:hover{--tw-bg-opacity:1!important;background-color:rgb(243 241 237/var(--tw-bg-opacity,1))!important}.hover\\:text-black-teal-500:hover{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}";const n=r;const p=a(["h-8 w-[inherit]","flex items-center gap-2","text-black-teal-400 hover:text-black-teal-500","rounded-lg","py-1 px-2","text-sm font-medium","cursor-pointer"],{variants:{active:{false:["hover:bg-off-white"],true:["bg-off-white-600 text-black-teal-500 font-semibold"]},icon:{false:false,true:["pl-1"]}}});const s=a(["flex h-6 aspect-branding items-center justify-center rounded-full"],{variants:{active:{false:false,true:["bg-supportive-lilac"]}}});const c=class{constructor(e){t(this,e);this.icon=undefined;this.active=false;this.loading=false;this.as="a";this.counter=undefined;this.href=undefined;this.target=undefined;this.class=undefined}render(){const t=this.as;const a=this.active||this.class?.includes("active");return e(i,{key:"d87d8e76973078637e8c2d184b495d630f4fd556",class:o("p-navigation-item inline-block",this.class)},e(t,{key:"db37312225ef973cb75c71b0b0b918ed2f8799c3",class:p({icon:!!this.icon,active:a}),href:this.href,target:this.target},e("div",{key:"5f56c4395729260e25e6a71da5ac716b09193bd5",class:s({active:a})},e("p-icon",{key:"0cc4e9b0f0cdf1ad574ef8ba5b8b80f3ce376d3f",variant:this.icon})),e("span",{key:"a52984e8227ec3af005d1b240944ff85ba58a37e",class:this.counter&&"has-counter"},e("slot",{key:"eaa1a3e88f0d7517fc383d96fae3194522e4efb1"})),!!this.counter&&this.counter!=="0"&&e("p-badge",{key:"eb7b69d6235d7f1c72ca1045255d70764a9b179d"},this.counter),!!this.loading&&e("p-loader",{key:"081c5f8b49dfb3a80429815de87f717cd70e39ae",class:"ml-auto"})))}};c.style=n;export{c as p_navigation_item};
|
|
2
|
+
//# sourceMappingURL=p-d6ca5bce.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["navigationItemComponentCss","PNavigationItemStyle0","navigationItem","cva","variants","active","false","true","icon","navigationItemIconContainer","NavigationItem","render","TagType","this","as","class","includes","h","Host","key","cn","href","target","variant","counter","loading"],"sources":["src/components/molecules/navigation-item/navigation-item.component.scss?tag=p-navigation-item","src/components/molecules/navigation-item/navigation-item.component.tsx"],"sourcesContent":["// :host {\n// \t@apply mb-1 inline-block w-full;\n//\n// \t> a {\n// \t\t@apply h-8 w-full cursor-pointer rounded-lg px-2 no-underline;\n// \t\t@apply flex items-center gap-2;\n// \t\t@apply font-semibold text-storm;\n//\n// \t\t@apply hover:bg-indigo-light;\n//\n// \t\t> p-icon {\n// \t\t\t@apply text-storm;\n// \t\t}\n//\n// \t\t> span {\n// \t\t\t@apply mr-auto;\n// \t\t}\n// \t}\n// }\n//\n// :host(.active) {\n// \t> a {\n// \t\t@apply bg-indigo-light text-indigo;\n//\n// \t\t> p-icon {\n// \t\t\t@apply text-indigo;\n// \t\t}\n// \t}\n// }\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { IconVariant } from '../../atoms/icon/icon.component';\nimport { cn } from '../../../utils/cn';\n\nconst navigationItem = cva(\n\t[\n\t\t'h-8 w-[inherit]',\n\t\t'flex items-center gap-2',\n\t\t'text-black-teal-400 hover:text-black-teal-500',\n\t\t'rounded-lg',\n\t\t'py-1 px-2',\n\t\t'text-sm font-medium',\n\t\t'cursor-pointer',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\tfalse: ['hover:bg-off-white'],\n\t\t\t\ttrue: ['bg-off-white-600 text-black-teal-500 font-semibold'],\n\t\t\t},\n\t\t\ticon: {\n\t\t\t\tfalse: false,\n\t\t\t\ttrue: ['pl-1'],\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst navigationItemIconContainer = cva(\n\t['flex h-6 aspect-branding items-center justify-center rounded-full'],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\tfalse: false,\n\t\t\t\ttrue: ['bg-supportive-lilac'],\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-navigation-item',\n\tstyleUrl: './navigation-item.component.scss',\n\tshadow: false,\n})\nexport class NavigationItem {\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon!: IconVariant;\n\n\t/**\n\t * Wether the navigation item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the navigation item is loading\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The element to use for the navigation item\n\t */\n\t@Prop() as: string = 'a';\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() counter: number | string;\n\n\t/**\n\t * The href of the navigation item\n\t */\n\t@Prop() href: string;\n\n\t/**\n\t * The target of the navigation item\n\t */\n\t@Prop() target: string;\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\trender() {\n\t\tconst TagType = this.as;\n\n\t\tconst active = this.active || this.class?.includes('active');\n\n\t\treturn (\n\t\t\t<Host class={cn('p-navigation-item inline-block', this.class)}>\n\t\t\t\t<TagType\n\t\t\t\t\tclass={navigationItem({\n\t\t\t\t\t\ticon: !!this.icon,\n\t\t\t\t\t\tactive,\n\t\t\t\t\t})}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t>\n\t\t\t\t\t<div class={navigationItemIconContainer({ active })}>\n\t\t\t\t\t\t<p-icon variant={this.icon} />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<span class={this.counter && 'has-counter'}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</span>\n\n\t\t\t\t\t{!!this.counter && this.counter !== '0' && (\n\t\t\t\t\t\t<p-badge>{this.counter}</p-badge>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{!!this.loading && <p-loader class='ml-auto' />}\n\t\t\t\t</TagType>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kJAAA,MAAMA,EAA6B,shDACnC,MAAAC,EAAeD,ECIf,MAAME,EAAiBC,EACtB,CACC,kBACA,0BACA,gDACA,aACA,YACA,sBACA,kBAED,CACCC,SAAU,CACTC,OAAQ,CACPC,MAAO,CAAC,sBACRC,KAAM,CAAC,uDAERC,KAAM,CACLF,MAAO,MACPC,KAAM,CAAC,YAMX,MAAME,EAA8BN,EACnC,CAAC,qEACD,CACCC,SAAU,CACTC,OAAQ,CACPC,MAAO,MACPC,KAAM,CAAC,2B,MAWEG,EAAc,M,yDASA,M,aAKC,M,QAKN,I,sFAsBrB,MAAAC,GACC,MAAMC,EAAUC,KAAKC,GAErB,MAAMT,EAASQ,KAAKR,QAAUQ,KAAKE,OAAOC,SAAS,UAEnD,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACJ,MAAOK,EAAG,iCAAkCP,KAAKE,QACtDE,EAACL,EAAO,CAAAO,IAAA,2CACPJ,MAAOb,EAAe,CACrBM,OAAQK,KAAKL,KACbH,WAEDgB,KAAMR,KAAKQ,KACXC,OAAQT,KAAKS,QAEbL,EAAA,OAAAE,IAAA,2CAAKJ,MAAON,EAA4B,CAAEJ,YACzCY,EAAA,UAAAE,IAAA,2CAAQI,QAASV,KAAKL,QAGvBS,EAAA,QAAAE,IAAA,2CAAMJ,MAAOF,KAAKW,SAAW,eAC5BP,EAAA,QAAAE,IAAA,gDAGEN,KAAKW,SAAWX,KAAKW,UAAY,KACnCP,EAAA,WAAAE,IAAA,4CAAUN,KAAKW,WAGbX,KAAKY,SAAWR,EAAA,YAAAE,IAAA,2CAAUJ,MAAM,a","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,g as e,h as i,H as s}from"./p-45ded510.js";const n=".flex{display:flex!important}.h-auto{height:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}*{box-sizing:border-box}:host{display:flex}:host([direction=horizontal]){align-items:flex-end;height:auto}:host([direction=vertical]){align-items:flex-start;flex-direction:column;flex-wrap:wrap;min-height:100%;width:100%}:host([direction=vertical][content-position=start]){align-items:flex-end}.static{position:static!important}";const o=n;const r=class{constructor(e){t(this,e);this.activeStep=1;this.direction="horizontal";this.contentPosition="end";this._rendering=false}get _el(){return e(this)}_loaded=false;_delay=t=>new Promise((e=>setTimeout(e,t)));_onSlotChange=async t=>this._generateSteps();_generateSteps=async(t=false)=>{if(!t&&(!this._el||this._rendering||!this._loaded)){return}this._rendering=true;let e=this.activeStep-1||0;const i=this._el.querySelectorAll("p-stepper-item");if(!this.activeStep||e<0){for(let t=0;t<i?.length;t++){const s=i.item(t);if(s.active){e=t}if(e<0&&s.finished){e=t+1}}}for(let t=0;t<i?.length;t++){let s=false;const n=i.item(t);n.active=t===e;n.finished=t<e;if(n.direction!==this.direction){s=true}n.direction=this.direction;n.align=t===0?"start":t===i?.length-1?"end":"center";n.contentPosition=this.contentPosition;if(t<i.length-1){const i=n.nextElementSibling;if(i&&i.tagName.toLowerCase()==="p-stepper-item"){if(s){await this._delay(10)}const o=(n.clientHeight>16?n.clientHeight-16:n.clientHeight)/2;const r=document.createElement("p-stepper-line");r.direction=this.direction;r.active=t<e;if(o>0&&this.direction==="vertical"){r.style.marginTop=`-${o/16}rem`;r.style.marginBottom=`-${o/16}rem`;r.style.minHeight=`calc(1rem + ${o*2/16}rem)`}this._el.insertBefore(r,i);const a=r.previousElementSibling;if(a&&a.tagName.toLowerCase()==="p-stepper-line"){a.remove()}continue}}if(t>0){const t=n.previousElementSibling;if(t.tagName.toLowerCase()==="p-stepper-line"){t.direction=this.direction;t.active=n.active||n.finished}}}const s=this._el.querySelectorAll("p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child");for(let t=s.length-1;t>=0;t--){const e=s.item(t);e.remove()}setTimeout((()=>this._rendering=false),100)};componentDidLoad(){this._loaded=true;this._generateSteps(true)}render(){return i(s,{key:"08618e878d073d704ee23f62df4c855d4a0cb86d",class:"p-stepper"},i("slot",{key:"d8dd06cb1ee5d662ea3b8aa4379b0d1e8877dbbd",onSlotchange:this._onSlotChange}))}_onActiveStepChange(){this._generateSteps()}static get watchers(){return{activeStep:["_onActiveStepChange"]}}};r.style=o;export{r as p_stepper};
|
|
2
|
+
//# sourceMappingURL=p-d70b3539.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["stepperComponentCss","PStepperStyle0","Stepper","_loaded","_delay","amount","Promise","resolve","setTimeout","_onSlotChange","async","_e","this","_generateSteps","firstLoad","_el","_rendering","activeStep","items","querySelectorAll","i","length","item","active","finished","directionChanged","direction","align","contentPosition","nextItem","nextElementSibling","tagName","toLowerCase","heightDiff","clientHeight","stepperLine","document","createElement","style","marginTop","marginBottom","minHeight","insertBefore","previous","previousElementSibling","remove","previousItem","lines","j","line","componentDidLoad","render","h","Host","key","class","onSlotchange","_onActiveStepChange"],"sources":["src/components/molecules/stepper/stepper.component.scss?tag=p-stepper&encapsulation=shadow","src/components/molecules/stepper/stepper.component.tsx"],"sourcesContent":[":host {\n\t@apply flex;\n}\n\n:host([direction='horizontal']) {\n\t@apply h-auto items-end;\n}\n\n:host([direction='vertical']) {\n\t@apply flex-col flex-wrap items-start;\n\t@apply w-full min-h-full;\n}\n\n:host([direction='vertical'][content-position='start']) {\n\t@apply items-end;\n}\n","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"],"mappings":"yDAAA,MAAMA,EAAsB,ifAC5B,MAAAC,EAAeD,E,MCMFE,EAAO,M,yCAIU,E,eAKmC,a,qBAKJ,M,gBAO9B,K,0BAEtBC,QAAU,MAIVC,OAAUC,GACjB,IAAIC,SAAQC,GAAWC,WAAWD,EAASF,KAEpCI,cAAgBC,MAAOC,GAAcC,KAAKC,iBAE1CA,eAAiBH,MAAOI,EAAY,SAC3C,IAAKA,KAAeF,KAAKG,KAAOH,KAAKI,aAAeJ,KAAKT,SAAU,CAClE,M,CAGDS,KAAKI,WAAa,KAElB,IAAIC,EAAaL,KAAKK,WAAa,GAAK,EACxC,MAAMC,EAAQN,KAAKG,IAAII,iBAAiB,kBAExC,IAAKP,KAAKK,YAAcA,EAAa,EAAG,CACvC,IAAK,IAAIG,EAAI,EAAGA,EAAIF,GAAOG,OAAQD,IAAK,CACvC,MAAME,EAAOJ,EAAMI,KAAKF,GAExB,GAAIE,EAAKC,OAAQ,CAChBN,EAAaG,C,CAGd,GAAIH,EAAa,GAAKK,EAAKE,SAAU,CACpCP,EAAaG,EAAI,C,GAKpB,IAAK,IAAIA,EAAI,EAAGA,EAAIF,GAAOG,OAAQD,IAAK,CACvC,IAAIK,EAAmB,MACvB,MAAMH,EAAOJ,EAAMI,KAAKF,GAExBE,EAAKC,OAASH,IAAMH,EACpBK,EAAKE,SAAWJ,EAA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C,YAAW,IAAOI,KAAKI,WAAa,OAAQ,IAAI,EAGjD,gBAAAkC,GACCtC,KAAKT,QAAU,KACfS,KAAKC,eAAe,K,CAGrB,MAAAsC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,aACXH,EAAA,QAAAE,IAAA,2CAAME,aAAc5C,KAAKH,gB,CAMlB,mBAAAgD,GACT7C,KAAKC,gB","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as r,h as e,H as a}from"./p-45ded510.js";import{c as o}from"./p-8a5b8196.js";import{n as i}from"./p-c605a1c1.js";import"./p-8a1a6e56.js";const n="*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-1\\/2{top:50%!important}.m-0{margin:0!important}.block{display:block!important}.flex{display:flex!important}.h-2{height:.5rem!important}.h-3{height:.75rem!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.w-2{width:.5rem!important}.w-3{width:.75rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.flex-shrink-0{flex-shrink:0!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-black-teal-50{--tw-border-opacity:1!important;border-color:rgb(230 234 233/var(--tw-border-opacity,1))!important}.bg-transparent{background-color:transparent!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.checked\\:cursor-auto:checked{cursor:auto!important}.checked\\:border-black-teal\\/20:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:bg-supportive-lilac:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.checked\\:ring-supportive-lilac-100:checked{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.hover\\:border-black-teal-100:hover{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.hover\\:bg-supportive-lilac-100:hover{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.checked\\:hover\\:border-black-teal\\/20:hover:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:hover\\:bg-supportive-lilac:hover:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:bg-black-teal-200{--tw-bg-opacity:1!important;background-color:rgb(154 170 167/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.peer:checked~.peer-checked\\:ring-black-teal\\/10{--tw-ring-color:rgba(3,42,36,.1)!important}";const c=n;const s=o(["peer appearance-none m-0 outline-none flex-shrink-0","rounded-full border border-inset border-solid "],{variants:{size:{sm:"w-4 h-4",base:"w-6 h-6"},disabled:{false:["cursor-pointer shadow-1","bg-white border-black-teal-100","hover:bg-supportivce-lilac-100 hover:border-black-teal-100","checked:cursor-auto","checked:bg-supportive-lilac checked:border-black-teal/20","checked:ring-2 checked:ring-supportive-lilac-100","checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20"],true:"bg-white-600 border-black-teal-50 cursor-not-allowed "}},compoundVariants:[{disabled:false,class:["cursor-pointer shadow-1","bg-white border-black-teal-100","hover:bg-supportive-lilac-100 hover:border-black-teal-100"]}]});const p=o(["block","rounded-full bg-transparent","absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none"],{variants:{size:{sm:"w-2 h-2",base:"w-3 h-3"},disabled:{false:"peer-checked:bg-white peer-checked:ring-1 peer-checked:ring-black-teal/10",true:"peer-checked:bg-black-teal-200"}}});const l=class{constructor(e){t(this,e);this.checkedChange=r(this,"checkedChange",7);this.value=undefined;this.size="base";this.disabled=false;this.required=true;this.id=undefined;this.name=undefined;this.checked=false;this._nonce=i(5)}checkedChange;render(){return e(a,{key:"cadcfb2a903a3a9f70796770dc47f22caf199b5e",class:"p-radio"},e("label",{key:"bad70100ebbf0d8635fb9a50c274aac56b74735a",htmlFor:this.id??this._nonce,class:"flex items-center justify-start gap-2 text-black-teal"},e("div",{key:"87c8c6b485b23beb305450bb18416936425e000e",class:"relative flex flex-shrink-0 items-center"},e("input",{key:"500655357e45b7ed47b651993b2a4e62aaae1818",class:s({size:this.size,disabled:this.disabled}),type:"radio",id:this.id??this._nonce,name:this.name,required:this.required,value:this.value,checked:this.checked,disabled:this.disabled,onChange:t=>this._onChange(t)}),e("div",{key:"23b0de0ff8913ed6bc66bddd50eea9117063b880",class:p({size:this.size,disabled:this.disabled})})),e("slot",{key:"bbf707984104b091871111ae1d1e79ea09f5e7b8"})))}_onChange(t){if(this.disabled){t.preventDefault();return}const r=t.target.checked;this.checked=r;this.checkedChange.emit(r)}};l.style=c;export{l as p_radio};
|
|
2
|
+
//# sourceMappingURL=p-d8eb3b7b.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["radioComponentCss","PRadioStyle0","radio","cva","variants","size","sm","base","disabled","false","true","compoundVariants","class","circle","Radio","nonce","checkedChange","render","h","Host","key","htmlFor","this","id","_nonce","type","name","required","value","checked","onChange","ev","_onChange","preventDefault","target","emit"],"sources":["src/components/atoms/radio/radio.component.css?tag=p-radio","src/components/atoms/radio/radio.component.tsx"],"sourcesContent":[null,"import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tHost,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { nonce } from '../../../utils/nonce';\n\nconst radio = cva(\n\t[\n\t\t'peer appearance-none m-0 outline-none flex-shrink-0',\n\t\t'rounded-full border border-inset border-solid ',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'w-4 h-4',\n\t\t\t\tbase: 'w-6 h-6',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportivce-lilac-100 hover:border-black-teal-100',\n\t\t\t\t\t'checked:cursor-auto',\n\t\t\t\t\t'checked:bg-supportive-lilac checked:border-black-teal/20',\n\t\t\t\t\t'checked:ring-2 checked:ring-supportive-lilac-100',\n\t\t\t\t\t'checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20',\n\t\t\t\t],\n\t\t\t\ttrue: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportive-lilac-100 hover:border-black-teal-100',\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst circle = cva(\n\t[\n\t\t'block',\n\t\t'rounded-full bg-transparent',\n\t\t'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'w-2 h-2',\n\t\t\t\tbase: 'w-3 h-3',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse:\n\t\t\t\t\t'peer-checked:bg-white peer-checked:ring-1 peer-checked:ring-black-teal/10',\n\t\t\t\ttrue: 'peer-checked:bg-black-teal-200',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-radio',\n\tstyleUrl: 'radio.component.css',\n})\nexport class Radio {\n\t/**\n\t * The value of the radio button\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The size of the radio\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * Wether the radio is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the radio is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The id of the radio button\n\t */\n\t@Prop({ reflect: true }) id: string;\n\n\t/**\n\t * The name of the radio button\n\t */\n\t@Prop({ reflect: true }) name: string;\n\n\t/**\n\t * Wether the radio is checked\n\t */\n\t@Prop({ reflect: true }) checked: boolean = false;\n\n\t/**\n\t * Event whenever the checked changes\n\t */\n\t@Event() checkedChange: EventEmitter<boolean>;\n\n\t@State() private _nonce = nonce(5);\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-radio'>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id ?? this._nonce}\n\t\t\t\t\tclass='flex items-center justify-start gap-2 text-black-teal'\n\t\t\t\t>\n\t\t\t\t\t<div class='relative flex flex-shrink-0 items-center'>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={radio({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\ttype='radio'\n\t\t\t\t\t\t\tid={this.id ?? this._nonce}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\tvalue={this.value}\n\t\t\t\t\t\t\tchecked={this.checked}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonChange={ev => this._onChange(ev)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={circle({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onChange(ev: Event) {\n\t\tif (this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tconst checked = (ev.target as HTMLInputElement).checked;\n\t\tthis.checked = checked;\n\t\tthis.checkedChange.emit(checked);\n\t}\n}\n"],"mappings":"yJAAA,MAAMA,EAAoB,s3IAC1B,MAAAC,EAAeD,ECWf,MAAME,EAAQC,EACb,CACC,sDACA,kDAED,CACCC,SAAU,CACTC,KAAM,CACLC,GAAI,UACJC,KAAM,WAEPC,SAAU,CACTC,MAAO,CACN,0BACA,iCACA,6DACA,sBACA,2DACA,mDACA,wEAEDC,KAAM,0DAGRC,iBAAkB,CACjB,CACCH,SAAU,MACVI,MAAO,CACN,0BACA,iCACA,iEAOL,MAAMC,EAASV,EACd,CACC,QACA,8BACA,6FAED,CACCC,SAAU,CACTC,KAAM,CACLC,GAAI,UACJC,KAAM,WAEPC,SAAU,CACTC,MACC,4EACDC,KAAM,qC,MAUGI,EAAK,M,qGASa,O,cAKe,M,cAKA,K,mDAeD,M,YAOlBC,EAAM,E,CAFvBC,cAIT,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACR,MAAM,WACXM,EAAA,SAAAE,IAAA,2CACCC,QAASC,KAAKC,IAAMD,KAAKE,OACzBZ,MAAM,yDAENM,EAAA,OAAAE,IAAA,2CAAKR,MAAM,4CACVM,EAAA,SAAAE,IAAA,2CACCR,MAAOV,EAAM,CACZG,KAAMiB,KAAKjB,KACXG,SAAUc,KAAKd,WAEhBiB,KAAK,QACLF,GAAID,KAAKC,IAAMD,KAAKE,OACpBE,KAAMJ,KAAKI,KACXC,SAAUL,KAAKK,SACfC,MAAON,KAAKM,MACZC,QAASP,KAAKO,QACdrB,SAAUc,KAAKd,SACfsB,SAAUC,GAAMT,KAAKU,UAAUD,KAEhCb,EAAA,OAAAE,IAAA,2CACCR,MAAOC,EAAO,CACbR,KAAMiB,KAAKjB,KACXG,SAAUc,KAAKd,cAIlBU,EAAA,QAAAE,IAAA,8C,CAMI,SAAAY,CAAUD,GACjB,GAAIT,KAAKd,SAAU,CAClBuB,EAAGE,iBACH,M,CAGD,MAAMJ,EAAWE,EAAGG,OAA4BL,QAChDP,KAAKO,QAAUA,EACfP,KAAKN,cAAcmB,KAAKN,E","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,g as e,h as s,H as o}from"./p-45ded510.js";const c=class{constructor(e){t(this,e);this.size="base"}get _el(){return e(this)}componentWillLoad(){this._checkButtons()}render(){return s(o,{key:"7d49236b6a489e5581670eb011a9743cf3edec50",class:"p-button-group flex items-center"},s("slot",{key:"40a1f245652f461c6c2619c3f2f3ceff9b11fd1f"}))}slotchange(){this._checkButtons()}_checkButtons(){const t=Array.from(this._el.querySelectorAll(":scope > p-button"));for(let e=0;e<t.length;e++){const s=t[e];s.size=this.size;if(e===0){s.buttonGroupPosition="start";continue}if(e===t.length-1){s.buttonGroupPosition="end";continue}s.buttonGroupPosition="center"}}};export{c as p_button_group};
|
|
2
|
+
//# sourceMappingURL=p-d9d8c17c.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["ButtonGroup","componentWillLoad","this","_checkButtons","render","h","Host","key","class","slotchange","buttons","Array","from","_el","querySelectorAll","i","length","button","size","buttonGroupPosition"],"sources":["src/components/molecules/button-group/button-group.component.tsx"],"sourcesContent":["import { Component, Element, h, Host, Listen, Prop } from '@stencil/core';\nimport { Button } from '../button/button.component';\n\n@Component({\n\ttag: 'p-button-group',\n\tshadow: true,\n})\nexport class ButtonGroup {\n\t/**\n\t * The size of the child buttons\n\t */\n\t@Prop() size: 'sm' | 'base' | 'lg' = 'base';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tcomponentWillLoad() {\n\t\tthis._checkButtons();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-button-group flex items-center'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('slotchange')\n\tslotchange() {\n\t\tthis._checkButtons();\n\t}\n\n\tprivate _checkButtons() {\n\t\tconst buttons = Array.from(\n\t\t\tthis._el.querySelectorAll(':scope > p-button')\n\t\t) as any as Button[];\n\n\t\tfor (let i = 0; i < buttons.length; i++) {\n\t\t\tconst button = buttons[i];\n\n\t\t\tbutton.size = this.size;\n\n\t\t\t// first\n\t\t\tif (i === 0) {\n\t\t\t\tbutton.buttonGroupPosition = 'start';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// last\n\t\t\tif (i === buttons.length - 1) {\n\t\t\t\tbutton.buttonGroupPosition = 'end';\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// rest\n\t\t\tbutton.buttonGroupPosition = 'center';\n\t\t}\n\t}\n}\n"],"mappings":"+DAOaA,EAAW,M,mCAIc,M,0BAOrC,iBAAAC,GACCC,KAAKC,e,CAGN,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,oCACXH,EAAA,QAAAE,IAAA,6C,CAMH,UAAAE,GACCP,KAAKC,e,CAGE,aAAAA,GACP,MAAMO,EAAUC,MAAMC,KACrBV,KAAKW,IAAIC,iBAAiB,sBAG3B,IAAK,IAAIC,EAAI,EAAGA,EAAIL,EAAQM,OAAQD,IAAK,CACxC,MAAME,EAASP,EAAQK,GAEvBE,EAAOC,KAAOhB,KAAKgB,KAGnB,GAAIH,IAAM,EAAG,CACZE,EAAOE,oBAAsB,QAC7B,Q,CAID,GAAIJ,IAAML,EAAQM,OAAS,EAAG,CAC7BC,EAAOE,oBAAsB,MAC7B,Q,CAIDF,EAAOE,oBAAsB,Q","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as r,H as o}from"./p-45ded510.js";const a=".flex{display:flex!important}.h-10{height:2.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.border-0{border-width:0!important}.border-b-2{border-bottom-width:2px!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity,1))!important}.border-transparent{border-color:transparent!important}.font-semibold{font-weight:600!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity,1))!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-color:transparent!important;border-width:0 0 2px!important;color:rgb(128 130 158/var(--tw-text-opacity,1));cursor:pointer;display:flex;font-weight:600;height:2.5rem;white-space:nowrap}:host(.active){--tw-border-opacity:1!important;--tw-text-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity,1))!important;color:rgb(82 138 250/var(--tw-text-opacity,1))!important}.static{position:static!important}";const e=a;const i=class{constructor(r){t(this,r);this.active=false}render(){return r(o,{key:"d728170a44b3c2ed1a55aa9f90a2e333811b53c5",class:`p-tab-item ${this.active&&"active"}`},r("slot",{key:"5e528d172aaef412521f6c93a755bd0bf9f9864a"}))}};i.style=e;export{i as p_tab_item};
|
|
2
|
+
//# sourceMappingURL=p-d9fae6bd.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["tabItemComponentCss","PTabItemStyle0","TabItem","render","h","Host","key","class","this","active"],"sources":["src/components/atoms/tab-item/tab-item.component.scss?tag=p-tab-item&encapsulation=shadow","src/components/atoms/tab-item/tab-item.component.tsx"],"sourcesContent":[":host {\n\t@apply flex h-10 items-center;\n\t@apply whitespace-nowrap font-semibold text-storm-medium;\n\t@apply cursor-pointer;\n\t@apply border-0 border-b-2 border-transparent #{!important};\n}\n\n:host(.active) {\n\t@apply border-indigo text-indigo #{!important};\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-tab-item',\n\tstyleUrl: 'tab-item.component.scss',\n\tshadow: true,\n})\nexport class TabItem {\n\t/**\n\t * Wether the tab item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-tab-item ${this.active && 'active'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAAsB,k+BAC5B,MAAAC,EAAeD,E,MCMFE,EAAO,M,qCAIO,K,CAE1B,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAO,cAAcC,KAAKC,QAAU,YACzCL,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["defaultSize","defaultSizeOptions"],"sources":["src/components/molecules/page-size-select/constants.tsx"],"sourcesContent":["export const defaultSize = 12;\nexport const defaultSizeOptions = [12, 24, 68, 136];\n"],"mappings":"MAAaA,EAAc,G,MACdC,EAAqB,CAAC,GAAI,GAAI,GAAI,Y"}
|
|
1
|
+
{"version":3,"names":["defaultSize","defaultSizeOptions"],"sources":["src/components/molecules/page-size-select/constants.tsx"],"sourcesContent":["export const defaultSize = 12;\nexport const defaultSizeOptions = [12, 24, 68, 136];\n"],"mappings":"MAAaA,EAAc,G,MACdC,EAAqB,CAAC,GAAI,GAAI,GAAI,Y","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["IBAN_ICON_VARIANTS_ARRAY"],"sources":["src/types/iban.ts"],"sourcesContent":["export type IbanIconVariant =\n\t| 'abna'\n\t| 'rabo'\n\t| 'ingb'\n\t| 'bunq'\n\t| 'asnb'\n\t| 'trio'\n\t| 'knab'\n\t| 'snsb';\n\nexport const IBAN_ICON_VARIANTS_ARRAY: IbanIconVariant[] = [\n\t'abna',\n\t'rabo',\n\t'ingb',\n\t'bunq',\n\t'asnb',\n\t'trio',\n\t'knab',\n\t'snsb',\n];\n"],"mappings":"MAUaA,EAA8C,CAC1D,OACA,OACA,OACA,OACA,OACA,OACA,OACA,e","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as e,g as i,h as s,H as n}from"./p-45ded510.js";import{f as a,t as r}from"./p-1d80e042.js";import{f as o,g as l}from"./p-f26a3049.js";import{d as h,a as c}from"./p-da7b6f2c.js";import{c as f}from"./p-9ab34fee.js";import"./p-8a1a6e56.js";const u=".fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-4{bottom:1rem!important}.left-1\\/2{left:50%!important}.flex{display:flex!important}.hidden{display:none!important}.flex-shrink{flex-shrink:1!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}*{box-sizing:border-box}p-table{display:flex;flex-direction:column;position:relative}p-table .p-checkbox{flex-shrink:0}p-table p-table-container{position:relative}p-table p-table-container p-floating-menu-container{--tw-translate-x:-50%;animation:floatingMenuContainerIn .3s ease forwards!important;bottom:1rem;left:50%;position:fixed;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@media (min-width:40rem){p-table p-table-container p-floating-menu-container{bottom:4rem;position:absolute}}p-table p-table-container p-floating-menu-container:not(.shown){display:none}p-table p-table-container p-floating-menu-container.inactive{animation:floatingMenuContainerOut .3s ease forwards!important}@keyframes floatingMenuContainerOut{0%{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}99%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}}@keyframes floatingMenuContainerIn{0%{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}1%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}}.static{position:static!important}.mx-0{margin-left:0!important;margin-right:0!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.ml-auto{margin-left:auto!important}.table{display:table!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm{--tw-text-opacity:1!important;color:rgb(81 83 107/var(--tw-text-opacity,1))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}@media (min-width:40rem){.tablet\\:flex{display:flex!important}}";const d=u;const m=class{constructor(i){t(this,i);this.selectedRowsChange=e(this,"selectedRowsChange",3);this.rowClick=e(this,"rowClick",3);this.rowSelected=e(this,"rowSelected",3);this.rowDeselected=e(this,"rowDeselected",3);this.hasRendered=e(this,"hasRendered",3);this.quickFilter=e(this,"quickFilter",3);this.queryChange=e(this,"queryChange",3);this.filter=e(this,"filter",3);this.action=e(this,"action",3);this.pageChange=e(this,"pageChange",3);this.pageSizeChange=e(this,"pageSizeChange",3);this.export=e(this,"export",3);this.emptyStateActionClick=e(this,"emptyStateActionClick",3);this.items=undefined;this.loading=false;this.headerLoading=false;this.footerLoading=false;this.amountOfLoadingRows=6;this.enableRowSelection=true;this.rowSelectionLimit=undefined;this.enableRowClick=true;this.selectedRows=[];this.enableFloatingMenu=true;this.floatingMenuAmountSelectedTemplate=t=>o((t===1?this._locales.floating_menu?.amount_selected:this._locales.floating_menu?.amount_selected_plural)?.replace("{{amount}}",t));this.selectionKey=undefined;this.canSelectKey=undefined;this.enableHeader=true;this.quickFilters=[];this.activeQuickFilterIdentifier=undefined;this.enableSearch=true;this.query=undefined;this.enableFilter=true;this.enableFilterDesktop=true;this.selectedFiltersAmount=undefined;this.filterButtonTemplate=undefined;this.enableAction=false;this.actionButtonLoading=false;this.actionButtonEnabled=false;this.actionButtonIcon="pencil";this.actionButtonText=undefined;this.actionButtonTemplate=undefined;this.enableFooter=true;this.enablePageSize=true;this.enablePagination=true;this.enableExport=true;this.page=1;this.total=undefined;this.pageSize=h;this.pageSizeOptions=c;this.hideOnSinglePage=true;this.emptyStateHeader=()=>o(this._locales.empty_state?.no_filter.header);this.emptyStateContent=()=>o(this._locales.empty_state?.no_filter.content);this.emptyStateAction=()=>o(this._locales.empty_state?.no_filter.action);this.enableEmptyStateAction=true;this.emptyStateFilteredHeader=()=>o(this._locales.empty_state.filtered.header);this.emptyStateFilteredContent=()=>o(this._locales.empty_state.filtered.content);this.shadow=true;this._locales={};this._columns=[];this._items=[];this._enableRowSelection=this.enableRowSelection;this._rowSelectionLimit=undefined;this._rowActionsFloating=[];this._rowActionsRow=[]}selectedRowsChange;rowClick;rowSelected;rowDeselected;hasRendered;quickFilter;queryChange;filter;action;pageChange;pageSizeChange;export;emptyStateActionClick;get _el(){return i(this)}_rowActionsFloatingAll=[];_ctrlDown=false;_hasCustomFilterSlot=false;_hasCustomActionsSlot=false;_floatingMenuShown=false;_resizeTimeout;componentWillLoad(){this._hasCustomFilterSlot=!!this._el.querySelector(':scope > [slot="custom-filter"]');this._hasCustomActionsSlot=!!this._el.querySelector(':scope > [slot="custom-actions"]');this._setRowSelectionData();this._setLocales();this._parseItems(this.items);this._generateColumns()}componentDidRender(){this.hasRendered.emit()}render(){return s(n,{key:"d40d58b13bd7201a022eca5a39b780d1aa39379f",class:"p-table"},s("p-table-container",{key:"755a91d9f2d41e2f0327eb22f06689aecb3a7a48",shadow:this.shadow},this.enableHeader&&s("p-table-header",{key:"433541f4c489ac6622ff70d9a7d862ecee36f6fb",quickFilters:this.quickFilters,activeQuickFilterIdentifier:this.activeQuickFilterIdentifier,onQuickFilter:({detail:t})=>this.quickFilter.emit(t),enableSearch:this.enableSearch,query:this.query,onQueryChange:({detail:t})=>this.queryChange.emit(t),enableFilter:this.enableFilter,enableFilterDesktop:this.enableFilterDesktop,selectedFiltersAmount:this.selectedFiltersAmount,filterButtonTemplate:this.filterButtonTemplate,onFilter:()=>this.filter.emit(),enableAction:this.enableAction,actionIcon:this.actionButtonIcon,actionText:this.actionButtonText,actionLoading:this.actionButtonLoading,canUseAction:this.actionButtonEnabled,actionButtonTemplate:this.actionButtonTemplate,onAction:()=>this.action.emit(),itemsSelectedAmount:this.selectedRows?.length,loading:this.headerLoading},this._hasCustomFilterSlot&&s("slot",{key:"3626d7f3684aa9c2832bea5053487f968f799a5f",name:"custom-filter",slot:"custom-filter"}),this._hasCustomActionsSlot&&s("slot",{key:"0456a6eef1c022ffa2e03a931c2aa35c70eade25",name:"custom-actions",slot:"custom-actions"})),this._getHeader(),s("div",{key:"5782f47ed68f71c4cc78067cb339e57c60c3ab01",class:"flex flex-1 flex-col"},this._getRows()),this.enableFooter&&s("p-table-footer",{key:"3b468981fb52f8d57f1e49845ba4680a4c7cbc36",hideOnSinglePage:this.hideOnSinglePage,enablePageSize:this.enablePageSize,pageSize:this.pageSize,pageSizeOptions:this.pageSizeOptions,onPageSizeChange:({detail:t})=>this.pageSizeChange.emit(t),enablePagination:this.enablePagination,page:this.page,total:this.total,onPageChange:({detail:t})=>this.pageChange.emit(t),enableExport:this.enableExport,onExport:()=>this.export.emit(),loading:this.footerLoading}),this.enableFloatingMenu&&this._enableRowSelection?s("p-floating-menu-container",{usedInTable:true,class:`${this.selectedRows?.length?"":"inactive"} ${this._floatingMenuShown?"shown":""}`},s("p-floating-menu-item",{hover:false,slot:"floating-menu-item",class:this._rowActionsFloating?.length?"hidden tablet:flex":""},this.floatingMenuAmountSelectedTemplate(this.selectedRows?.length)),s("p-divider",{class:`mx-0 text-storm ${this._rowActionsFloating?.length?"hidden tablet:flex":""}`,variant:"vertical",slot:"floating-menu-item"}),this._rowActionsFloating?.length&&this._rowActionsFloating.map((t=>s("p-floating-menu-item",{slot:"floating-menu-item",disabled:t.disabled,onClick:()=>!t.disabled&&!t.loading&&!!t.action&&t.type==="single"?t.action(this.selectedRows[0],false):t.action(this.selectedRows,true)},t.label," ",t.loading?s("p-loader",null):s("p-icon",{variant:t.icon,rotate:t.iconRotate,flip:t.iconFlip})))),this._rowActionsFloating?.length&&s("p-divider",{class:"mx-0 text-storm",variant:"vertical",slot:"floating-menu-item"}),s("p-floating-menu-item",{slot:"floating-menu-item",onClick:()=>this._selectAllChange(null,false)},s("p-icon",{variant:"negative"}))):""))}async _setLocales(){this._locales=await l(this._el)}onTableDefinitionUpdated(){this._generateColumns()}keyDown({key:t}){if(t!=="Control"||this._ctrlDown===true){return}this._ctrlDown=true}keyUp({key:t}){if(t!=="Control"||this._ctrlDown===false){return}this._ctrlDown=false}visibilityChange(){if(document.visibilityState!=="hidden"||this._ctrlDown===false){return}this._ctrlDown=false}_parseItems(t){if(!t){this._items=[];return}if(Array.isArray(t)){this._items=t;return}this._items=JSON.parse(t)}_setRowSelectionData(){if(this._resizeTimeout){clearTimeout(this._resizeTimeout)}this._resizeTimeout=setTimeout((()=>{const t=a();const e=Array.from(this._el.querySelectorAll(":scope > p-table-row-action"));this._rowActionsRow=e.filter((t=>t.type==="both"||t.type==="single"));this._rowActionsFloatingAll=e.filter((e=>this.enableRowSelection&&(e.type==="both"||e.type==="multi")||t&&e.type==="single")).map((t=>{if(t.type==="single"){t.disabled=this.selectedRows?.length>1}return t}));let i=this.rowSelectionLimit;if(t&&this._rowActionsFloatingAll?.length&&(i!==undefined&&this.enableRowSelection||!this.enableRowSelection)){i=1}this._rowSelectionLimit=i;let s=this.enableRowSelection;if(t&&this._rowActionsFloatingAll?.length&&!s){s=true}this._enableRowSelection=s;if(this._floatingMenuShown){this._showFloatingMenu()}}),200)}_generateColumns(){const t=this._el.querySelectorAll("p-table-column");let e=Array.from(t);e=this._parseDefinitions(e);this._columns=e}_getHeader(){return s("p-table-row",{variant:"header"},this._columns.map(((t,e)=>s("p-table-cell",{definition:t,value:t.name,variant:"header",checkbox:e===0||t.hasCheckbox?this._getCheckbox(null,this.loading?"loading":"header"):null,index:e}))))}_getRows(){if(this.loading){return Array.from({length:this.amountOfLoadingRows},((t,e)=>s("p-table-row",{enableHover:this._enableRowSelection||this.enableRowClick},this._getLoadingColumns(e))))}if(!this._items.length){return this._getEmptyState()}return this._items.map(((t,e)=>s("p-table-row",{enableHover:this._enableRowSelection||this.enableRowClick,onClick:t=>this._rowClick(t,e)},this._getRowColumns(t,e))))}_getRowColumns(t,e){const i=this._rowActionsRow.filter((e=>e.showFunction?e.showFunction(t):true));const n=this._columns.map(((n,r)=>s("p-table-cell",{definition:n,item:t,checkbox:r===0||n.hasCheckbox?this._getCheckbox(e):null,index:r,rowIndex:e,tableHasActions:!!i.length&&!a()})));if(i?.length&&!a()){const a=this._parseRowActionsRowDefinition();if(!i.length){return n}n.push(s("p-table-cell",{variant:"actions",definition:a,item:t,index:this._columns.length-1,rowIndex:e,tableHasActions:true},s("div",{slot:"actions",class:"ml-auto flex items-center gap-2"},i.map((e=>s("p-tooltip",{content:e.label},s("p-button",{"data-is-action":true,variant:"secondary",slot:"trigger",icon:e.icon,iconRotate:e.iconRotate,iconFlip:e.iconFlip,iconOnly:true,size:"sm",onClick:()=>typeof e.action==="function"&&e.action?.(t,false)})))))))}return n}_getLoadingColumns(t){return this._columns.map(((e,i)=>s("p-table-cell",{definition:e,variant:"loading",checkbox:i===0||e.hasCheckbox?this._getCheckbox(t,"loading"):null,index:i,rowIndex:t})))}_getCheckbox(t,e="default"){if(!this._enableRowSelection||!this.selectionKey&&!this._rowActionsFloating?.length){return}if(e==="loading"){return s("p-loader",{variant:"ghost",class:"h-6 w-6 rounded"})}if(e==="header"){return s("p-checkbox",{class:f({"opacity-0":this._rowSelectionLimit!==undefined}),checked:this._selectionContainsAll(),indeterminate:this._selectionIndeterminate(),disabled:this._rowSelectionLimit!==undefined,onCheckedChange:t=>this._selectAllChange(t)})}const i=this._items[t];const n=this._selectionContains(t);return s("p-checkbox",{disabled:this.canSelectKey&&!i[this.canSelectKey]||this._rowSelectionLimit!==undefined&&!n&&this.selectedRows.length===this._rowSelectionLimit,checked:n,onCheckedChange:e=>this._checkboxChange(e,t)})}_getEmptyState(){if(this.query?.length||this.selectedFiltersAmount){return s("div",{class:"flex max-w-[20rem] flex-col items-center self-center py-24 text-center"},s("p-illustration",{variant:"empty-state-search",class:"mb-6"}),s("p",{class:"text-storm-default font-semibold"},this.emptyStateFilteredHeader()),s("p",{class:"mb-14 text-sm text-storm-medium"},this.emptyStateFilteredContent()))}return s("div",{class:`flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${this.enableEmptyStateAction&&"cursor-pointer"}`,onClick:()=>this.enableEmptyStateAction&&this.emptyStateActionClick.emit(null)},s("p-illustration",{variant:"empty-state-add",class:"mb-6"}),s("p",{class:"text-storm-default font-semibold"},this.emptyStateHeader()),s("p",{class:"mb-6 text-sm text-storm-medium"},this.emptyStateContent()),this.enableEmptyStateAction&&s("p-button",{variant:"secondary",icon:"plus",size:"sm"},this.emptyStateAction()))}_selectAllChange({detail:t},e){if(!this._enableRowSelection){return}const i=e===undefined?t:e;if(i){const t=[];for(let e=0;e<this._items.length;e++){const i=this._items[e];if(this.canSelectKey&&!i[this.canSelectKey]){continue}if(this._selectionContains(e)){continue}t.push(i);this.rowSelected.emit(i);if(this._rowSelectionLimit!==undefined&&this.selectedRows.length+t.length===this._rowSelectionLimit){break}}this.selectedRows=[...this.selectedRows,...t];this.selectedRowsChange.emit(this.selectedRows);if(this.enableFloatingMenu&&!this._floatingMenuShown){this._showFloatingMenu()}return}for(let t=0;t<this.selectedRows.length;t++){const e=this.selectedRows[t];const i=this._items.find((i=>this._getSelectionValue(i,t)===this._getSelectionValue(e,t)));if(!i){continue}this.rowDeselected.emit(i)}this.selectedRows=[];this.selectedRowsChange.emit(this.selectedRows)}_checkboxChange({detail:t,target:e},i){if(!this._enableRowSelection){return}if(t&&this._rowSelectionLimit!==undefined&&this.selectedRows.length>=this._rowSelectionLimit){e.checked=false;return}const s=this._items[i];if(this.canSelectKey&&!s[this.canSelectKey]){e.checked=false;return}if(t){this.selectedRows=[...this.selectedRows,{...s,index:i}];this.selectedRowsChange.emit(this.selectedRows);this.rowSelected.emit(s);if(this.enableFloatingMenu&&!this._floatingMenuShown){this._showFloatingMenu()}return}const n=this._selectionContains(i,true);const a=[...this.selectedRows];a.splice(n,1);this.selectedRows=a;this.selectedRowsChange.emit(this.selectedRows);this.rowDeselected.emit(s)}_getSelectionValue(t,e){return this.selectionKey?t?.[this.selectionKey]||e:e}_selectionContains(t,e=false){const i=this.selectedRows.findIndex((e=>e.index===t));return!e?i>=0:i}_selectionContainsAll(){let t=true;if(!this._items?.length){return false}if(this._rowSelectionLimit!==undefined&&this.selectedRows.length===this._rowSelectionLimit){return true}for(let e=0;e<this._items?.length;e++){const i=this._selectionContains(e);if(!i){t=false;break}}return t}_selectionIndeterminate(){if(!this._items?.length||!this.selectedRows?.length){return false}if(this._rowSelectionLimit!==undefined&&this.selectedRows.length===this._rowSelectionLimit){return false}let t=0;for(let e=0;e<this._items?.length;e++){const i=this._selectionContains(e);if(i){t++}}return t>0&&t!==this._items.length}_rowClick(t,e){const i=t.target;if(i.tagName.toLowerCase()==="input"||i.type==="checkbox"){return}const s=this._findRow(t.target);const n=this._findRowAction(t.target);if(n){return}if(this.enableRowClick){const t=this._items[e];this.rowClick.emit({item:t,ctrlDown:this._ctrlDown});return}if(!this._enableRowSelection){return}const a=s?.querySelector('input[type="checkbox"]');if(!a){return}a.checked=!a.checked;this._checkboxChange(a,e)}_findRow(t){if(!t){return t}if(t?.tagName?.toLowerCase()==="p-table-row"){return t}return this._findRow(t?.parentElement)}_findRowAction(t){if(!t){return null}if(t.getAttribute("data-is-action")!==null&&t.getAttribute("data-is-action")!=="false"){return t}if(t?.tagName?.toLowerCase()==="p-table-row"){return null}return this._findRowAction(t?.parentElement)}_showFloatingMenu(){let t=this._rowActionsFloatingAll;if(this.rowSelectionLimit===1&&t.findIndex((t=>(t.type==="single"||t.type==="both")&&t.showFunction))>=0){t=t.filter((t=>t.type==="multi"||!t.showFunction||t.showFunction(this.selectedRows[0])))}this._rowActionsFloating=t;this._floatingMenuShown=true}_parseDefinitions(t){const e=t.map((t=>{t=this._parseDefinitionSizes(t);t.isLast={};return t}));const i=r.reduce(((t,e)=>{t[e]=false;return t}),{});for(let t=e.length-1;t>=0;t--){const s=e[t];for(const t of r){if(i[t]){s.isLast[t]=false;continue}if(s.parsedSizes[t]==="hidden"){s.isLast[t]=false;continue}const n=this._findLastDefinitionBySize(e,t);if(n){s.isLast[t]=false;continue}s.isLast[t]=true}}return e}_findLastDefinitionBySize(t,e){return t.slice().reverse().find((t=>t.isLast[e]===true))}_parseDefinitionSizes(t){const e=t;let i={default:"full"};if(typeof t.sizes==="string"&&!["auto","hidden","full"].includes(t.sizes)){t.sizes=JSON.parse(t.sizes)}for(const[t,s]of r.entries()){if(e.sizes==="auto"||e.sizes==="hidden"||e.sizes==="full"||typeof e.sizes==="number"){i[s]=e.sizes==="auto"?"full":e.sizes;continue}i[s]=e.sizes[s]??i[r[t-1]]}t.parsedSizes=i;return t}_parseRowActionsRowDefinition(){const t=r.reduce(((t,e)=>{t[e]=true;return t}),{});const e={default:0};for(const t of r){const i=this._findLastDefinitionBySize(this._columns,t);e[t]=i.parsedSizes[t]}return{isLast:t,sizes:e,parsedSizes:e,align:"end",type:"td",path:null}}static get watchers(){return{items:["_parseItems"],enableRowSelection:["_setRowSelectionData"],rowSelectionLimit:["_setRowSelectionData"],selectedRows:["_setRowSelectionData"]}}};m.style=d;export{m as p_table};
|
|
2
|
+
//# sourceMappingURL=p-dfce711d.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["tableComponentCss","PTableStyle0","Table","amount","formatTranslation","this","_locales","floating_menu","amount_selected","amount_selected_plural","replace","defaultSize","defaultSizeOptions","empty_state","no_filter","header","content","action","filtered","enableRowSelection","selectedRowsChange","rowClick","rowSelected","rowDeselected","hasRendered","quickFilter","queryChange","filter","pageChange","pageSizeChange","export","emptyStateActionClick","_rowActionsFloatingAll","_ctrlDown","_hasCustomFilterSlot","_hasCustomActionsSlot","_floatingMenuShown","_resizeTimeout","componentWillLoad","_el","querySelector","_setRowSelectionData","_setLocales","_parseItems","items","_generateColumns","componentDidRender","emit","render","h","Host","key","class","shadow","enableHeader","quickFilters","activeQuickFilterIdentifier","onQuickFilter","detail","enableSearch","query","onQueryChange","enableFilter","enableFilterDesktop","selectedFiltersAmount","filterButtonTemplate","onFilter","enableAction","actionIcon","actionButtonIcon","actionText","actionButtonText","actionLoading","actionButtonLoading","canUseAction","actionButtonEnabled","actionButtonTemplate","onAction","itemsSelectedAmount","selectedRows","length","loading","headerLoading","name","slot","_getHeader","_getRows","enableFooter","hideOnSinglePage","enablePageSize","pageSize","pageSizeOptions","onPageSizeChange","enablePagination","page","total","onPageChange","enableExport","onExport","footerLoading","enableFloatingMenu","_enableRowSelection","usedInTable","hover","_rowActionsFloating","floatingMenuAmountSelectedTemplate","variant","map","a","disabled","onClick","type","label","icon","rotate","iconRotate","flip","iconFlip","_selectAllChange","getLocaleComponentStrings","onTableDefinitionUpdated","keyDown","keyUp","visibilityChange","document","visibilityState","_items","Array","isArray","JSON","parse","clearTimeout","setTimeout","mobile","isMobile","actions","from","querySelectorAll","_rowActionsRow","rowSelectionLimit","undefined","_rowSelectionLimit","_showFloatingMenu","definitions","definitionsArray","_parseDefinitions","_columns","col","index","definition","value","checkbox","hasCheckbox","_getCheckbox","amountOfLoadingRows","_","i","enableHover","enableRowClick","_getLoadingColumns","_getEmptyState","item","ev","_rowClick","_getRowColumns","showFunction","columns","colIndex","rowIndex","tableHasActions","def","_parseRowActionsRowDefinition","push","iconOnly","size","selectionKey","cn","checked","_selectionContainsAll","indeterminate","_selectionIndeterminate","onCheckedChange","selectionContains","_selectionContains","canSelectKey","_checkboxChange","emptyStateFilteredHeader","emptyStateFilteredContent","enableEmptyStateAction","emptyStateHeader","emptyStateContent","emptyStateAction","forceValue","toAdd","row","find","d","_getSelectionValue","target","indexOfToRemove","selection","splice","returnIndex","returnValue","findIndex","contains","containsCount","$event","tagName","toLowerCase","_findRow","_findRowAction","ctrlDown","el","parentElement","getAttribute","_parseDefinitionSizes","isLast","matchedIsLast","tableColumSizesOptions","reduce","data","parsedSizes","isLastAtSizeFound","_findLastDefinitionBySize","slice","reverse","definitionAny","default","sizes","includes","entries","lastColumn","align","path"],"sources":["src/components/organisms/table/table.component.scss?tag=p-table","src/components/organisms/table/table.component.tsx"],"sourcesContent":["p-table {\n\t@apply relative flex flex-col;\n\n\t.p-checkbox {\n\t\tflex-shrink: 0;\n\t}\n\n\tp-table-container {\n\t\t@apply relative;\n\n\t\tp-floating-menu-container {\n\t\t\t@apply fixed bottom-4 left-1/2 -translate-x-1/2 transform;\n\t\t\tanimation: forwards floatingMenuContainerIn 0.3s ease !important;\n\n\t\t\t@screen tablet {\n\t\t\t\t@apply absolute bottom-16;\n\t\t\t}\n\n\t\t\t&:not(.shown) {\n\t\t\t\t@apply hidden;\n\t\t\t}\n\n\t\t\t&.inactive {\n\t\t\t\tanimation: forwards floatingMenuContainerOut 0.3s ease !important;\n\t\t\t}\n\t\t}\n\t}\n}\n\n@keyframes floatingMenuContainerOut {\n\t0% {\n\t\tdisplay: flex;\n\t\ttransform: translateY(0) translateX(-50%);\n\t\topacity: 100;\n\t}\n\t99% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: flex;\n\t}\n\t100% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: none;\n\t}\n}\n\n@keyframes floatingMenuContainerIn {\n\t0% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: none;\n\t}\n\t1% {\n\t\ttransform: translateY(100%) translateX(-50%);\n\t\topacity: 0;\n\t\tdisplay: flex;\n\t}\n\t100% {\n\t\ttransform: translateY(0) translateX(-50%);\n\t\topacity: 100;\n\t\tdisplay: flex;\n\t}\n}\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { IconVariant, PCheckboxCustomEvent } from '../../../components';\nimport { tableColumSizesOptions } from '../../../types/constants';\nimport {\n\tQuickFilter,\n\tRowClickEvent,\n\tTableColumnSizes,\n} from '../../../types/table';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n\tisMobile,\n} from '../../../utils';\nimport { TableColumn } from '../../helpers/table-column/table-column.component';\nimport { TableRowAction } from '../../helpers/table-row-action/table-row-action.component';\nimport {\n\tdefaultSize,\n\tdefaultSizeOptions,\n} from '../../molecules/page-size-select/constants';\nimport { buttonTemplateFunc } from '../../molecules/table-header/table-header.component';\nimport { cn } from '../../../utils/cn';\n\nexport type templateFunc = () => string;\nexport type amountSelectedTemplateFunc = (amount: number) => string;\n\n@Component({\n\ttag: 'p-table',\n\tstyleUrl: 'table.component.scss',\n})\nexport class Table {\n\t/**\n\t * The items to be fed to the table\n\t */\n\t@Prop() items: string;\n\n\t/**\n\t * Wether data is loading\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether the header should show loading state\n\t */\n\t@Prop() headerLoading: boolean = false;\n\n\t/**\n\t * Wether the footer should show loading state\n\t */\n\t@Prop() footerLoading: boolean = false;\n\n\t/**\n\t * The amount of loading rows to show\n\t */\n\t@Prop() amountOfLoadingRows: number = 6;\n\n\t/**\n\t * Wether to enable selection\n\t */\n\t@Prop() enableRowSelection: boolean = true;\n\n\t/**\n\t * A limit to the amount of rows that can be selected\n\t */\n\t@Prop() rowSelectionLimit: number | undefined;\n\n\t/**\n\t * Wether to enable row clicking\n\t */\n\t@Prop() enableRowClick: boolean = true;\n\n\t/**\n\t * The current selection of items\n\t */\n\t@Prop() selectedRows: any[] = [];\n\n\t/**\n\t * Wether to enable the floating menu\n\t */\n\t@Prop() enableFloatingMenu: boolean = true;\n\n\t/**\n\t * The template for amount selected item in the floating menu\n\t */\n\t@Prop() floatingMenuAmountSelectedTemplate: amountSelectedTemplateFunc = (\n\t\tamount: number\n\t) =>\n\t\tformatTranslation(\n\t\t\t(amount === 1\n\t\t\t\t? this._locales.floating_menu?.amount_selected\n\t\t\t\t: this._locales.floating_menu?.amount_selected_plural\n\t\t\t)?.replace('{{amount}}', amount)\n\t\t);\n\n\t/**\n\t * Event whenever the current selection changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tselectedRowsChange: EventEmitter<any>;\n\n\t/**\n\t * The key to determine if a row is selected\n\t */\n\t@Prop() selectionKey: string;\n\n\t/**\n\t * A key to determine if a row can be selected\n\t */\n\t@Prop() canSelectKey: string;\n\n\t/**\n\t * Event whenever a row is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowClick: EventEmitter<RowClickEvent>;\n\n\t/**\n\t * Event whenever a row is selected\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowSelected: EventEmitter<any>;\n\n\t/**\n\t * Event whenever a row is deselected\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\trowDeselected: EventEmitter<any>;\n\n\t/**\n\t * Event when the table has rendered\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\thasRendered: EventEmitter<number>;\n\n\t/** START HEADER */\n\n\t/**\n\t * Wether to show the header\n\t */\n\t@Prop() enableHeader: boolean = true;\n\n\t/**\n\t * Quick filters to show\n\t */\n\t@Prop() quickFilters: QuickFilter[] = [];\n\n\t/**\n\t * Active quick filter identifier\n\t */\n\t@Prop() activeQuickFilterIdentifier: string;\n\n\t/**\n\t * Wether to show the search input\n\t */\n\t@Prop() enableSearch: boolean = true;\n\n\t/**\n\t * The query to show in the search bar\n\t */\n\t@Prop({ mutable: true }) query: string;\n\n\t/**\n\t * Wether to show the filter button\n\t */\n\t@Prop() enableFilter: boolean = true;\n\n\t/**\n\t * Wether to show the filter button on desktop\n\t */\n\t@Prop() enableFilterDesktop: boolean = true;\n\n\t/**\n\t * The amount of filters being selected\n\t */\n\t@Prop() selectedFiltersAmount: number;\n\n\t/**\n\t * The template for the filter button text\n\t */\n\t@Prop() filterButtonTemplate: templateFunc;\n\n\t/**\n\t * Wether to show the action button\n\t */\n\t@Prop() enableAction: boolean = false;\n\n\t/**\n\t * Wether the action button is loading\n\t */\n\t@Prop() actionButtonLoading: boolean = false;\n\n\t/**\n\t * Wether the action button is enabled\n\t */\n\t@Prop() actionButtonEnabled: boolean = false;\n\n\t/**\n\t * The action button icon\n\t */\n\t@Prop() actionButtonIcon: IconVariant = 'pencil';\n\n\t/**\n\t * The action button text if changed\n\t */\n\t@Prop() actionButtonText: string;\n\n\t/**\n\t * The template for the action button text\n\t */\n\t@Prop() actionButtonTemplate: buttonTemplateFunc;\n\n\t/**\n\t * Event when one of the quick filters is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tquickFilter: EventEmitter<QuickFilter>;\n\n\t/**\n\t * Event when the query changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tqueryChange: EventEmitter<string>;\n\n\t/**\n\t * Event when the filter button is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tfilter: EventEmitter<null>;\n\n\t/**\n\t * Event when the action button is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\taction: EventEmitter<null>;\n\n\t/** START FOOTER */\n\n\t/**\n\t * Wether to show the header\n\t */\n\t@Prop() enableFooter: boolean = true;\n\n\t/**\n\t * Wether to enable page size select\n\t */\n\t@Prop() enablePageSize: boolean = true;\n\n\t/**\n\t * Wether to enable pagination\n\t */\n\t@Prop() enablePagination: boolean = true;\n\n\t/**\n\t * Wether to enable export\n\t */\n\t@Prop() enableExport: boolean = true;\n\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = defaultSize;\n\n\t/**\n\t * The options for the page size\n\t */\n\t@Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageSizeChange: EventEmitter<number>;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\texport: EventEmitter<number>;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = true;\n\n\t/* Empty state start */\n\t@Prop() emptyStateHeader: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.header);\n\t@Prop() emptyStateContent: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.content);\n\t@Prop() emptyStateAction: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state?.no_filter.action);\n\t/**\n\t * Wether to enable empty state action\n\t */\n\t@Prop() enableEmptyStateAction: boolean = true;\n\n\t@Prop() emptyStateFilteredHeader: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state.filtered.header);\n\t@Prop() emptyStateFilteredContent: templateFunc = () =>\n\t\tformatTranslation(this._locales.empty_state.filtered.content);\n\n\t/**\n\t * Event whenever the empty state is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\temptyStateActionClick: EventEmitter<null>;\n\n\t/*\n\t * Wether to show the shadow or not\n\t */\n\t@Prop() shadow: boolean = true;\n\n\t/* Empty state end */\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\t@State() private _columns: any[] = [];\n\t@State() private _items: any[] = [];\n\n\t@State() private _enableRowSelection: boolean = this.enableRowSelection;\n\t@State() private _rowSelectionLimit: number | undefined;\n\n\tprivate _rowActionsFloatingAll: TableRowAction[] = [];\n\t@State() private _rowActionsFloating: TableRowAction[] = [];\n\t@State() private _rowActionsRow: TableRowAction[] = [];\n\n\tprivate _ctrlDown = false;\n\tprivate _hasCustomFilterSlot = false;\n\tprivate _hasCustomActionsSlot = false;\n\tprivate _floatingMenuShown = false;\n\tprivate _resizeTimeout: NodeJS.Timeout | undefined;\n\n\tcomponentWillLoad() {\n\t\tthis._hasCustomFilterSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"custom-filter\"]'\n\t\t);\n\n\t\tthis._hasCustomActionsSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"custom-actions\"]'\n\t\t);\n\n\t\tthis._setRowSelectionData();\n\n\t\tthis._setLocales();\n\t\tthis._parseItems(this.items);\n\t\tthis._generateColumns();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis.hasRendered.emit();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-table'>\n\t\t\t\t<p-table-container shadow={this.shadow}>\n\t\t\t\t\t{this.enableHeader && (\n\t\t\t\t\t\t<p-table-header\n\t\t\t\t\t\t\t// quick filters\n\t\t\t\t\t\t\tquickFilters={this.quickFilters}\n\t\t\t\t\t\t\tactiveQuickFilterIdentifier={this.activeQuickFilterIdentifier}\n\t\t\t\t\t\t\tonQuickFilter={({ detail }) => this.quickFilter.emit(detail)}\n\t\t\t\t\t\t\t// search\n\t\t\t\t\t\t\tenableSearch={this.enableSearch}\n\t\t\t\t\t\t\tquery={this.query}\n\t\t\t\t\t\t\tonQueryChange={({ detail }) => this.queryChange.emit(detail)}\n\t\t\t\t\t\t\t// filter button\n\t\t\t\t\t\t\tenableFilter={this.enableFilter}\n\t\t\t\t\t\t\tenableFilterDesktop={this.enableFilterDesktop}\n\t\t\t\t\t\t\tselectedFiltersAmount={this.selectedFiltersAmount}\n\t\t\t\t\t\t\tfilterButtonTemplate={this.filterButtonTemplate}\n\t\t\t\t\t\t\tonFilter={() => this.filter.emit()}\n\t\t\t\t\t\t\t// action button\n\t\t\t\t\t\t\tenableAction={this.enableAction}\n\t\t\t\t\t\t\tactionIcon={this.actionButtonIcon}\n\t\t\t\t\t\t\tactionText={this.actionButtonText}\n\t\t\t\t\t\t\tactionLoading={this.actionButtonLoading}\n\t\t\t\t\t\t\tcanUseAction={this.actionButtonEnabled}\n\t\t\t\t\t\t\tactionButtonTemplate={this.actionButtonTemplate}\n\t\t\t\t\t\t\tonAction={() => this.action.emit()}\n\t\t\t\t\t\t\titemsSelectedAmount={this.selectedRows?.length}\n\t\t\t\t\t\t\t//loading\n\t\t\t\t\t\t\tloading={this.headerLoading}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this._hasCustomFilterSlot && (\n\t\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\t\tname='custom-filter'\n\t\t\t\t\t\t\t\t\tslot='custom-filter'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{this._hasCustomActionsSlot && (\n\t\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\t\tname='custom-actions'\n\t\t\t\t\t\t\t\t\tslot='custom-actions'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</p-table-header>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this._getHeader()}\n\t\t\t\t\t<div class='flex flex-1 flex-col'>{this._getRows()}</div>\n\n\t\t\t\t\t{this.enableFooter && (\n\t\t\t\t\t\t<p-table-footer\n\t\t\t\t\t\t\t// overall\n\t\t\t\t\t\t\thideOnSinglePage={this.hideOnSinglePage}\n\t\t\t\t\t\t\t// page size select\n\t\t\t\t\t\t\tenablePageSize={this.enablePageSize}\n\t\t\t\t\t\t\tpageSize={this.pageSize}\n\t\t\t\t\t\t\tpageSizeOptions={this.pageSizeOptions}\n\t\t\t\t\t\t\tonPageSizeChange={({ detail }) =>\n\t\t\t\t\t\t\t\tthis.pageSizeChange.emit(detail)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// pagination\n\t\t\t\t\t\t\tenablePagination={this.enablePagination}\n\t\t\t\t\t\t\tpage={this.page}\n\t\t\t\t\t\t\ttotal={this.total}\n\t\t\t\t\t\t\tonPageChange={({ detail }) => this.pageChange.emit(detail)}\n\t\t\t\t\t\t\t// export\n\t\t\t\t\t\t\tenableExport={this.enableExport}\n\t\t\t\t\t\t\tonExport={() => this.export.emit()}\n\t\t\t\t\t\t\t//loading\n\t\t\t\t\t\t\tloading={this.footerLoading}\n\t\t\t\t\t\t></p-table-footer>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.enableFloatingMenu && this._enableRowSelection ? (\n\t\t\t\t\t\t<p-floating-menu-container\n\t\t\t\t\t\t\tusedInTable={true}\n\t\t\t\t\t\t\tclass={`${this.selectedRows?.length ? '' : 'inactive'} ${\n\t\t\t\t\t\t\t\tthis._floatingMenuShown ? 'shown' : ''\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\thover={false}\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\tclass={\n\t\t\t\t\t\t\t\t\tthis._rowActionsFloating?.length ? 'hidden tablet:flex' : ''\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.floatingMenuAmountSelectedTemplate(\n\t\t\t\t\t\t\t\t\tthis.selectedRows?.length\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\tclass={`mx-0 text-storm ${\n\t\t\t\t\t\t\t\t\tthis._rowActionsFloating?.length ? 'hidden tablet:flex' : ''\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t{this._rowActionsFloating?.length &&\n\t\t\t\t\t\t\t\tthis._rowActionsFloating.map(a => (\n\t\t\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\t\t\tdisabled={a.disabled}\n\t\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\t\t!a.disabled &&\n\t\t\t\t\t\t\t\t\t\t\t!a.loading &&\n\t\t\t\t\t\t\t\t\t\t\t!!a.action &&\n\t\t\t\t\t\t\t\t\t\t\ta.type === 'single'\n\t\t\t\t\t\t\t\t\t\t\t\t? a.action(this.selectedRows[0], false)\n\t\t\t\t\t\t\t\t\t\t\t\t: a.action(this.selectedRows, true)\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{a.label}{' '}\n\t\t\t\t\t\t\t\t\t\t{a.loading ? (\n\t\t\t\t\t\t\t\t\t\t\t<p-loader></p-loader>\n\t\t\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\t\t\tvariant={a.icon}\n\t\t\t\t\t\t\t\t\t\t\t\trotate={a.iconRotate}\n\t\t\t\t\t\t\t\t\t\t\t\tflip={a.iconFlip}\n\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\t{this._rowActionsFloating?.length && (\n\t\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\t\tclass='mx-0 text-storm'\n\t\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t<p-floating-menu-item\n\t\t\t\t\t\t\t\tslot='floating-menu-item'\n\t\t\t\t\t\t\t\tonClick={() => this._selectAllChange(null, false)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<p-icon variant='negative' />\n\t\t\t\t\t\t\t</p-floating-menu-item>\n\t\t\t\t\t\t</p-floating-menu-container>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t''\n\t\t\t\t\t)}\n\t\t\t\t</p-table-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\t@Listen('tableDefinitionChanged', { target: 'body' })\n\tonTableDefinitionUpdated() {\n\t\tthis._generateColumns();\n\t}\n\n\t@Listen('keydown', { target: 'document' })\n\tkeyDown({ key }) {\n\t\tif (key !== 'Control' || this._ctrlDown === true) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = true;\n\t}\n\n\t@Listen('keyup', { target: 'document' })\n\tkeyUp({ key }) {\n\t\tif (key !== 'Control' || this._ctrlDown === false) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = false;\n\t}\n\n\t@Listen('visibilitychange', { target: 'document' })\n\tvisibilityChange() {\n\t\tif (document.visibilityState !== 'hidden' || this._ctrlDown === false) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._ctrlDown = false;\n\t}\n\n\t@Watch('items')\n\tprivate _parseItems(items: string) {\n\t\tif (!items) {\n\t\t\tthis._items = [];\n\t\t\treturn;\n\t\t}\n\n\t\tif (Array.isArray(items)) {\n\t\t\tthis._items = items;\n\t\t\treturn;\n\t\t}\n\n\t\tthis._items = JSON.parse(items);\n\t}\n\n\t@Watch('enableRowSelection')\n\t@Watch('rowSelectionLimit')\n\t@Watch('selectedRows')\n\t@Listen('resize', { target: 'window' })\n\tprivate _setRowSelectionData() {\n\t\tif (this._resizeTimeout) {\n\t\t\tclearTimeout(this._resizeTimeout);\n\t\t}\n\n\t\t// We add a timeout here because it's a lot easier on the machine to do these when someone is done\n\t\t// resizing and playing around with their browser\n\t\tthis._resizeTimeout = setTimeout(() => {\n\t\t\tconst mobile = isMobile();\n\n\t\t\t// we hack this to any[] to make it work..\n\t\t\tconst actions = Array.from(\n\t\t\t\tthis._el.querySelectorAll(':scope > p-table-row-action')\n\t\t\t) as any[] as TableRowAction[];\n\t\t\tthis._rowActionsRow = actions.filter(\n\t\t\t\ta => a.type === 'both' || a.type === 'single'\n\t\t\t);\n\t\t\tthis._rowActionsFloatingAll = actions\n\t\t\t\t.filter(\n\t\t\t\t\ta =>\n\t\t\t\t\t\t(this.enableRowSelection &&\n\t\t\t\t\t\t\t(a.type === 'both' || a.type === 'multi')) ||\n\t\t\t\t\t\t(mobile && a.type === 'single')\n\t\t\t\t)\n\t\t\t\t.map(a => {\n\t\t\t\t\tif (a.type === 'single') {\n\t\t\t\t\t\ta.disabled = this.selectedRows?.length > 1;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn a;\n\t\t\t\t});\n\n\t\t\tlet rowSelectionLimit = this.rowSelectionLimit;\n\t\t\tif (\n\t\t\t\tmobile && // we're mobile\n\t\t\t\tthis._rowActionsFloatingAll?.length && // we have atleast 1 item in _rowActionsFloating\n\t\t\t\t((rowSelectionLimit !== undefined && this.enableRowSelection) ||\n\t\t\t\t\t!this.enableRowSelection)\n\t\t\t) {\n\t\t\t\trowSelectionLimit = 1;\n\t\t\t}\n\n\t\t\tthis._rowSelectionLimit = rowSelectionLimit;\n\n\t\t\tlet enableRowSelection = this.enableRowSelection;\n\t\t\tif (\n\t\t\t\tmobile && // we're mobile\n\t\t\t\tthis._rowActionsFloatingAll?.length && // we have atleast 1 item in _rowActionsFloating\n\t\t\t\t!enableRowSelection\n\t\t\t) {\n\t\t\t\tenableRowSelection = true;\n\t\t\t}\n\n\t\t\tthis._enableRowSelection = enableRowSelection;\n\n\t\t\tif (this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\t\t}, 200);\n\t}\n\n\tprivate _generateColumns() {\n\t\tconst definitions = this._el.querySelectorAll('p-table-column');\n\t\tlet definitionsArray = Array.from(definitions);\n\n\t\tdefinitionsArray = this._parseDefinitions(definitionsArray);\n\n\t\tthis._columns = definitionsArray;\n\t}\n\n\tprivate _getHeader() {\n\t\treturn (\n\t\t\t<p-table-row variant='header'>\n\t\t\t\t{this._columns.map((col: TableColumn, index) => (\n\t\t\t\t\t<p-table-cell\n\t\t\t\t\t\tdefinition={col}\n\t\t\t\t\t\tvalue={col.name}\n\t\t\t\t\t\tvariant='header'\n\t\t\t\t\t\tcheckbox={\n\t\t\t\t\t\t\tindex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t\t? this._getCheckbox(null, this.loading ? 'loading' : 'header')\n\t\t\t\t\t\t\t\t: null\n\t\t\t\t\t\t}\n\t\t\t\t\t\tindex={index}\n\t\t\t\t\t></p-table-cell>\n\t\t\t\t))}\n\t\t\t</p-table-row>\n\t\t);\n\t}\n\n\tprivate _getRows() {\n\t\tif (this.loading) {\n\t\t\treturn Array.from(\n\t\t\t\t{\n\t\t\t\t\tlength: this.amountOfLoadingRows,\n\t\t\t\t},\n\t\t\t\t(_, i) => (\n\t\t\t\t\t<p-table-row\n\t\t\t\t\t\tenableHover={this._enableRowSelection || this.enableRowClick}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this._getLoadingColumns(i)}\n\t\t\t\t\t</p-table-row>\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\tif (!this._items.length) {\n\t\t\treturn this._getEmptyState();\n\t\t}\n\n\t\treturn this._items.map((item, index) => (\n\t\t\t<p-table-row\n\t\t\t\tenableHover={this._enableRowSelection || this.enableRowClick}\n\t\t\t\tonClick={ev => this._rowClick(ev, index)}\n\t\t\t>\n\t\t\t\t{this._getRowColumns(item, index)}\n\t\t\t</p-table-row>\n\t\t));\n\t}\n\n\tprivate _getRowColumns(item, index) {\n\t\tconst actions = this._rowActionsRow.filter(a =>\n\t\t\ta.showFunction ? a.showFunction(item) : true\n\t\t);\n\n\t\tconst columns = this._columns.map((col: TableColumn, colIndex) => {\n\t\t\treturn (\n\t\t\t\t<p-table-cell\n\t\t\t\t\tdefinition={col}\n\t\t\t\t\titem={item}\n\t\t\t\t\tcheckbox={\n\t\t\t\t\t\tcolIndex === 0 || col.hasCheckbox ? this._getCheckbox(index) : null\n\t\t\t\t\t}\n\t\t\t\t\tindex={colIndex}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t\ttableHasActions={!!actions.length && !isMobile()}\n\t\t\t\t></p-table-cell>\n\t\t\t);\n\t\t});\n\n\t\tif (actions?.length && !isMobile()) {\n\t\t\tconst def = this._parseRowActionsRowDefinition();\n\n\t\t\tif (!actions.length) {\n\t\t\t\treturn columns;\n\t\t\t}\n\n\t\t\tcolumns.push(\n\t\t\t\t<p-table-cell\n\t\t\t\t\tvariant='actions'\n\t\t\t\t\tdefinition={def}\n\t\t\t\t\titem={item}\n\t\t\t\t\tindex={this._columns.length - 1}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t\ttableHasActions={true}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tslot='actions'\n\t\t\t\t\t\tclass='ml-auto flex items-center gap-2'\n\t\t\t\t\t>\n\t\t\t\t\t\t{actions.map(a => (\n\t\t\t\t\t\t\t<p-tooltip content={a.label}>\n\t\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\t\tdata-is-action\n\t\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\t\t\t\ticon={a.icon}\n\t\t\t\t\t\t\t\t\ticonRotate={a.iconRotate}\n\t\t\t\t\t\t\t\t\ticonFlip={a.iconFlip}\n\t\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\t\ttypeof a.action === 'function' && a.action?.(item, false)\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t\t</p-tooltip>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</div>\n\t\t\t\t</p-table-cell>\n\t\t\t);\n\t\t}\n\n\t\treturn columns;\n\t}\n\n\tprivate _getLoadingColumns(index) {\n\t\treturn this._columns.map((col: TableColumn, colIndex) => {\n\t\t\treturn (\n\t\t\t\t<p-table-cell\n\t\t\t\t\tdefinition={col}\n\t\t\t\t\tvariant='loading'\n\t\t\t\t\tcheckbox={\n\t\t\t\t\t\tcolIndex === 0 || col.hasCheckbox\n\t\t\t\t\t\t\t? this._getCheckbox(index, 'loading')\n\t\t\t\t\t\t\t: null\n\t\t\t\t\t}\n\t\t\t\t\tindex={colIndex}\n\t\t\t\t\trowIndex={index}\n\t\t\t\t></p-table-cell>\n\t\t\t);\n\t\t});\n\t}\n\n\tprivate _getCheckbox(\n\t\trowIndex: number,\n\t\tvariant: 'header' | 'default' | 'loading' = 'default'\n\t) {\n\t\tif (\n\t\t\t!this._enableRowSelection ||\n\t\t\t(!this.selectionKey && !this._rowActionsFloating?.length)\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (variant === 'loading') {\n\t\t\treturn (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-6 rounded'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tif (variant === 'header') {\n\t\t\treturn (\n\t\t\t\t<p-checkbox\n\t\t\t\t\tclass={cn({\n\t\t\t\t\t\t'opacity-0': this._rowSelectionLimit !== undefined,\n\t\t\t\t\t})}\n\t\t\t\t\tchecked={this._selectionContainsAll()}\n\t\t\t\t\tindeterminate={this._selectionIndeterminate()}\n\t\t\t\t\tdisabled={this._rowSelectionLimit !== undefined}\n\t\t\t\t\tonCheckedChange={ev => this._selectAllChange(ev)}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\tconst item = this._items[rowIndex];\n\n\t\tconst selectionContains = this._selectionContains(rowIndex);\n\n\t\treturn (\n\t\t\t<p-checkbox\n\t\t\t\tdisabled={\n\t\t\t\t\t(this.canSelectKey && !item[this.canSelectKey]) ||\n\t\t\t\t\t(this._rowSelectionLimit !== undefined &&\n\t\t\t\t\t\t!selectionContains &&\n\t\t\t\t\t\tthis.selectedRows.length === this._rowSelectionLimit)\n\t\t\t\t}\n\t\t\t\tchecked={selectionContains}\n\t\t\t\tonCheckedChange={ev => this._checkboxChange(ev, rowIndex)}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getEmptyState() {\n\t\tif (this.query?.length || this.selectedFiltersAmount) {\n\t\t\treturn (\n\t\t\t\t<div class='flex max-w-[20rem] flex-col items-center self-center py-24 text-center'>\n\t\t\t\t\t<p-illustration\n\t\t\t\t\t\tvariant='empty-state-search'\n\t\t\t\t\t\tclass='mb-6'\n\t\t\t\t\t/>\n\t\t\t\t\t<p class='text-storm-default font-semibold'>\n\t\t\t\t\t\t{this.emptyStateFilteredHeader()}\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='mb-14 text-sm text-storm-medium'>\n\t\t\t\t\t\t{this.emptyStateFilteredContent()}\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={`flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${\n\t\t\t\t\tthis.enableEmptyStateAction && 'cursor-pointer'\n\t\t\t\t}`}\n\t\t\t\tonClick={() =>\n\t\t\t\t\tthis.enableEmptyStateAction && this.emptyStateActionClick.emit(null)\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t<p-illustration\n\t\t\t\t\tvariant='empty-state-add'\n\t\t\t\t\tclass='mb-6'\n\t\t\t\t/>\n\t\t\t\t<p class='text-storm-default font-semibold'>\n\t\t\t\t\t{this.emptyStateHeader()}\n\t\t\t\t</p>\n\t\t\t\t<p class='mb-6 text-sm text-storm-medium'>{this.emptyStateContent()}</p>\n\t\t\t\t{this.enableEmptyStateAction && (\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\ticon='plus'\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.emptyStateAction()}\n\t\t\t\t\t</p-button>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _selectAllChange(\n\t\t{ detail: checked }: PCheckboxCustomEvent<boolean>,\n\t\tforceValue?: boolean\n\t) {\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst value = forceValue === undefined ? checked : forceValue;\n\t\tif (value) {\n\t\t\tconst toAdd = [];\n\t\t\tfor (let i = 0; i < this._items.length; i++) {\n\t\t\t\tconst row = this._items[i];\n\t\t\t\tif (this.canSelectKey && !row[this.canSelectKey]) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (this._selectionContains(i)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\ttoAdd.push(row);\n\t\t\t\tthis.rowSelected.emit(row);\n\n\t\t\t\tif (\n\t\t\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\t\t\tthis.selectedRows.length + toAdd.length === this._rowSelectionLimit\n\t\t\t\t) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.selectedRows = [...this.selectedRows, ...toAdd];\n\t\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\t\tif (this.enableFloatingMenu && !this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tfor (let i = 0; i < this.selectedRows.length; i++) {\n\t\t\tconst value = this.selectedRows[i];\n\t\t\tconst row = this._items.find(\n\t\t\t\td => this._getSelectionValue(d, i) === this._getSelectionValue(value, i)\n\t\t\t);\n\n\t\t\tif (!row) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tthis.rowDeselected.emit(row);\n\t\t}\n\n\t\tthis.selectedRows = [];\n\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t}\n\n\tprivate _checkboxChange(\n\t\t{ detail: checked, target }: PCheckboxCustomEvent<boolean>,\n\t\tindex: number\n\t) {\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (\n\t\t\tchecked &&\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length >= this._rowSelectionLimit\n\t\t) {\n\t\t\ttarget.checked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tconst row = this._items[index];\n\n\t\tif (this.canSelectKey && !row[this.canSelectKey]) {\n\t\t\ttarget.checked = false;\n\t\t\treturn;\n\t\t}\n\n\t\tif (checked) {\n\t\t\tthis.selectedRows = [\n\t\t\t\t...this.selectedRows,\n\t\t\t\t{\n\t\t\t\t\t...row,\n\t\t\t\t\tindex,\n\t\t\t\t},\n\t\t\t];\n\t\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\t\tthis.rowSelected.emit(row);\n\n\t\t\tif (this.enableFloatingMenu && !this._floatingMenuShown) {\n\t\t\t\tthis._showFloatingMenu();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tconst indexOfToRemove = this._selectionContains(index, true);\n\n\t\t// we need to do this, because splice does not trigger the selection setter.\n\t\tconst selection = [...this.selectedRows];\n\t\tselection.splice(indexOfToRemove, 1);\n\t\tthis.selectedRows = selection;\n\t\tthis.selectedRowsChange.emit(this.selectedRows);\n\t\tthis.rowDeselected.emit(row);\n\t}\n\n\tprivate _getSelectionValue(row: any, index: number) {\n\t\treturn this.selectionKey ? row?.[this.selectionKey] || index : index;\n\t}\n\n\tprivate _selectionContains(index, returnIndex = false): any {\n\t\tconst returnValue = this.selectedRows.findIndex(\n\t\t\titem => item.index === index\n\t\t);\n\t\treturn !returnIndex ? returnValue >= 0 : returnValue;\n\t}\n\n\tprivate _selectionContainsAll() {\n\t\tlet returnValue = true;\n\t\tif (!this._items?.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length === this._rowSelectionLimit\n\t\t) {\n\t\t\treturn true;\n\t\t}\n\n\t\tfor (let i = 0; i < this._items?.length; i++) {\n\t\t\tconst contains = this._selectionContains(i);\n\n\t\t\tif (!contains) {\n\t\t\t\treturnValue = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn returnValue;\n\t}\n\n\tprivate _selectionIndeterminate() {\n\t\tif (!this._items?.length || !this.selectedRows?.length) {\n\t\t\treturn false;\n\t\t}\n\n\t\tif (\n\t\t\tthis._rowSelectionLimit !== undefined &&\n\t\t\tthis.selectedRows.length === this._rowSelectionLimit\n\t\t) {\n\t\t\treturn false;\n\t\t}\n\n\t\tlet containsCount = 0;\n\t\tfor (let i = 0; i < this._items?.length; i++) {\n\t\t\tconst contains = this._selectionContains(i);\n\n\t\t\tif (contains) {\n\t\t\t\tcontainsCount++;\n\t\t\t}\n\t\t}\n\n\t\treturn containsCount > 0 && containsCount !== this._items.length;\n\t}\n\n\tprivate _rowClick($event, index) {\n\t\tconst target = $event.target;\n\n\t\tif (\n\t\t\ttarget.tagName.toLowerCase() === 'input' ||\n\t\t\ttarget.type === 'checkbox'\n\t\t) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst row = this._findRow($event.target);\n\t\tconst action = this._findRowAction($event.target);\n\n\t\tif (action) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.enableRowClick) {\n\t\t\tconst item = this._items[index];\n\t\t\tthis.rowClick.emit({\n\t\t\t\titem,\n\t\t\t\tctrlDown: this._ctrlDown,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._enableRowSelection) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst checkbox = row?.querySelector('input[type=\"checkbox\"]');\n\n\t\tif (!checkbox) {\n\t\t\treturn;\n\t\t}\n\n\t\tcheckbox.checked = !checkbox.checked;\n\t\tthis._checkboxChange(checkbox, index);\n\t}\n\n\tprivate _findRow(el: HTMLElement) {\n\t\tif (!el) {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-table-row') {\n\t\t\treturn el;\n\t\t}\n\n\t\treturn this._findRow(el?.parentElement);\n\t}\n\n\tprivate _findRowAction(el: HTMLElement) {\n\t\tif (!el) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (\n\t\t\tel.getAttribute('data-is-action') !== null &&\n\t\t\tel.getAttribute('data-is-action') !== 'false'\n\t\t) {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-table-row') {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this._findRowAction(el?.parentElement);\n\t}\n\n\tprivate _showFloatingMenu() {\n\t\tlet actions = this._rowActionsFloatingAll;\n\t\tif (\n\t\t\tthis.rowSelectionLimit === 1 &&\n\t\t\tactions.findIndex(\n\t\t\t\ta => (a.type === 'single' || a.type === 'both') && a.showFunction\n\t\t\t) >= 0\n\t\t) {\n\t\t\tactions = actions.filter(\n\t\t\t\ta =>\n\t\t\t\t\ta.type === 'multi' ||\n\t\t\t\t\t!a.showFunction ||\n\t\t\t\t\ta.showFunction(this.selectedRows[0])\n\t\t\t);\n\t\t}\n\n\t\tthis._rowActionsFloating = actions;\n\t\tthis._floatingMenuShown = true;\n\t}\n\n\tprivate _parseDefinitions(definitionsArray: HTMLPTableColumnElement[]) {\n\t\tconst definitions = definitionsArray.map(definition => {\n\t\t\tdefinition = this._parseDefinitionSizes(definition);\n\t\t\tdefinition.isLast = {};\n\t\t\treturn definition;\n\t\t});\n\n\t\tconst matchedIsLast = tableColumSizesOptions.reduce(\n\t\t\t(data: { [key: string]: boolean }, size) => {\n\t\t\t\tdata[size] = false;\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\t{}\n\t\t);\n\n\t\tfor (let i = definitions.length - 1; i >= 0; i--) {\n\t\t\tconst definition = definitions[i];\n\n\t\t\tfor (const size of tableColumSizesOptions) {\n\t\t\t\tif (matchedIsLast[size]) {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (definition.parsedSizes![size] === 'hidden') {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tconst isLastAtSizeFound = this._findLastDefinitionBySize(\n\t\t\t\t\tdefinitions,\n\t\t\t\t\tsize\n\t\t\t\t);\n\t\t\t\tif (isLastAtSizeFound) {\n\t\t\t\t\tdefinition.isLast[size] = false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tdefinition.isLast[size] = true;\n\t\t\t}\n\t\t}\n\n\t\treturn definitions;\n\t}\n\n\tprivate _findLastDefinitionBySize(\n\t\tdefinitions: HTMLPTableColumnElement[],\n\t\tsize: string\n\t) {\n\t\treturn definitions\n\t\t\t.slice()\n\t\t\t.reverse()\n\t\t\t.find(d => d.isLast[size] === true);\n\t}\n\n\tprivate _parseDefinitionSizes(definition: HTMLPTableColumnElement) {\n\t\tconst definitionAny = definition as any;\n\t\tlet parsedSizes: TableColumnSizes = { default: 'full' };\n\n\t\tif (\n\t\t\ttypeof definition.sizes === 'string' &&\n\t\t\t!['auto', 'hidden', 'full'].includes(definition.sizes)\n\t\t) {\n\t\t\tdefinition.sizes = JSON.parse(definition.sizes);\n\t\t}\n\n\t\tfor (const [index, size] of tableColumSizesOptions.entries()) {\n\t\t\tif (\n\t\t\t\tdefinitionAny.sizes === 'auto' ||\n\t\t\t\tdefinitionAny.sizes === 'hidden' ||\n\t\t\t\tdefinitionAny.sizes === 'full' ||\n\t\t\t\ttypeof definitionAny.sizes === 'number'\n\t\t\t) {\n\t\t\t\tparsedSizes[size] =\n\t\t\t\t\tdefinitionAny.sizes === 'auto' ? 'full' : definitionAny.sizes;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tparsedSizes[size] =\n\t\t\t\tdefinitionAny.sizes[size] ??\n\t\t\t\tparsedSizes[tableColumSizesOptions[index - 1]];\n\t\t}\n\n\t\tdefinition.parsedSizes = parsedSizes;\n\t\treturn definition;\n\t}\n\n\tprivate _parseRowActionsRowDefinition() {\n\t\tconst isLast = tableColumSizesOptions.reduce(\n\t\t\t(data: { [key: string]: boolean }, size) => {\n\t\t\t\tdata[size] = true;\n\t\t\t\treturn data;\n\t\t\t},\n\t\t\t{}\n\t\t);\n\t\tconst sizes: TableColumnSizes = { default: 0 };\n\n\t\tfor (const size of tableColumSizesOptions) {\n\t\t\tconst lastColumn = this._findLastDefinitionBySize(this._columns, size);\n\t\t\tsizes[size] = lastColumn!.parsedSizes![size]!;\n\t\t}\n\n\t\treturn {\n\t\t\tisLast,\n\t\t\tsizes,\n\t\t\tparsedSizes: sizes,\n\t\t\talign: 'end',\n\t\t\ttype: 'td',\n\t\t\tpath: null,\n\t\t} as TableColumn;\n\t}\n}\n"],"mappings":"6PAAA,MAAMA,EAAoB,2oGAC1B,MAAAC,EAAeD,E,MCuCFE,EAAK,M,slBASU,M,mBAKM,M,mBAKA,M,yBAKK,E,wBAKA,K,qDAUJ,K,kBAKJ,G,wBAKQ,K,wCAMrCC,GAEAC,GACED,IAAW,EACTE,KAAKC,SAASC,eAAeC,gBAC7BH,KAAKC,SAASC,eAAeE,yBAC7BC,QAAQ,aAAcP,I,0EA0DK,K,kBAKM,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cE,QAAU,UACxBF,EAAcE,QAAU,eACjBF,EAAcE,QAAU,SAC9B,CACDP,EAAYhD,GACXqD,EAAcE,QAAU,OAAS,OAASF,EAAcE,MACzD,Q,CAGDP,EAAYhD,GACXqD,EAAcE,MAAMvD,IACpBgD,EAAYH,EAAuBvE,EAAQ,G,CAG7CC,EAAWyE,YAAcA,EACzB,OAAOzE,C,CAGA,6BAAAsB,GACP,MAAM8C,EAASE,EAAuBC,QACrC,CAACC,EAAkC/C,KAClC+C,EAAK/C,GAAQ,KACb,OAAO+C,CAAI,GAEZ,IAED,MAAMQ,EAA0B,CAAED,QAAS,GAE3C,IAAK,MAAMtD,KAAQ6C,EAAwB,CAC1C,MAAMa,EAAanO,KAAK2N,0BAA0B3N,KAAK6I,SAAU4B,GACjEuD,EAAMvD,GAAQ0D,EAAYV,YAAahD,E,CAGxC,MAAO,CACN2C,SACAY,QACAP,YAAaO,EACbI,MAAO,MACP1H,KAAM,KACN2H,KAAM,K","ignoreList":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["globalScripts"],"sources":["@stencil/core/internal/app-globals"],"sourcesContent":["export const globalScripts = () => {};\n"],"mappings":"AAAY,MAACA,EAAgB,c","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as e,H as i}from"./p-45ded510.js";const r="*{box-sizing:border-box}.static{position:static!important}.inline-flex{display:inline-flex!important}.h-4{height:1rem!important}.min-w-\\[1\\.5rem\\]{min-width:1.5rem!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded-full{border-radius:9999px!important}.bg-teal{--tw-bg-opacity:1!important;background-color:rgb(8 136 121/var(--tw-bg-opacity,1))!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.text-center{text-align:center!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";const n=r;const o=class{constructor(e){t(this,e)}render(){return e(i,{key:"71b0294058c45f39d75fa6fd9b713ba2594d5db3",class:"p-badge inline-flex h-4 min-w-[1.5rem] items-center justify-center rounded-full bg-teal px-1 text-center text-xs font-semibold text-white"},e("slot",{key:"334d6e359ce4a57ab8ab7b7f292ffed659645d14"}))}};o.style=n;export{o as p_badge};
|
|
2
|
+
//# sourceMappingURL=p-e15305dc.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["badgeComponentCss","PBadgeStyle0","Badge","render","h","Host","key","class"],"sources":["src/components/atoms/badge/badge.component.scss?tag=p-badge","src/components/atoms/badge/badge.component.tsx"],"sourcesContent":[null,"import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-badge',\n\tstyleUrl: 'badge.component.scss',\n\tshadow: false,\n})\nexport class Badge {\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-badge inline-flex h-4 min-w-[1.5rem] items-center justify-center rounded-full bg-teal px-1 text-center text-xs font-semibold text-white'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"kDAAA,MAAMA,EAAoB,2tBAC1B,MAAAC,EAAeD,E,MCMFE,EAAK,M,yBACjB,MAAAC,GACC,OACCC,EAACC,EAAI,CAAAC,IAAA,2CAACC,MAAM,6IACXH,EAAA,QAAAE,IAAA,6C","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,c as r,h as e,H as a}from"./p-45ded510.js";import{c as o}from"./p-8a5b8196.js";import{n as i}from"./p-c605a1c1.js";import"./p-8a1a6e56.js";const n="*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-\\[1px\\]{left:1px!important}.left-\\[2px\\]{left:2px!important}.top-1\\/2{top:50%!important}.m-0{margin:0!important}.flex{display:flex!important}.h-3{height:.75rem!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.h-\\[14px\\]{height:14px!important}.h-\\[20px\\]{height:20px!important}.h-\\[22px\\]{height:22px!important}.w-10{width:2.5rem!important}.w-3{width:.75rem!important}.w-8{width:2rem!important}.w-\\[14px\\]{width:14px!important}.w-\\[20px\\]{width:20px!important}.w-\\[22px\\]{width:22px!important}.flex-shrink-0{flex-shrink:0!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.-translate-y-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-black-teal-50{--tw-border-opacity:1!important;border-color:rgb(230 234 233/var(--tw-border-opacity,1))!important}.bg-black-teal-100{--tw-bg-opacity:1!important;background-color:rgb(205 212 211/var(--tw-bg-opacity,1))!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.ring-black-teal\\/10{--tw-ring-color:rgba(3,42,36,.1)!important}.transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.after\\:h-1:after{content:var(--tw-content)!important;height:.25rem!important}.after\\:h-2:after{content:var(--tw-content)!important;height:.5rem!important}.after\\:w-1:after{content:var(--tw-content)!important;width:.25rem!important}.after\\:w-2:after{content:var(--tw-content)!important;width:.5rem!important}.after\\:rounded-full:after{border-radius:9999px!important;content:var(--tw-content)!important}.after\\:bg-supportive-lilac-800:after{--tw-bg-opacity:1!important;background-color:rgb(189 140 255/var(--tw-bg-opacity,1))!important;content:var(--tw-content)!important}.after\\:transition-all:after{content:var(--tw-content)!important;transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.after\\:content-\\[\\'\\'\\]:after{--tw-content:\"\"!important;content:var(--tw-content)!important}.checked\\:border-black-teal\\/20:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:bg-supportive-lilac:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.checked\\:ring-supportive-lilac-100:checked{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.hover\\:border-black-teal-100:hover{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.hover\\:bg-supportive-lilac-100:hover{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.checked\\:hover\\:border-black-teal\\/20:hover:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:hover\\:bg-supportive-lilac:hover:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.group:hover .group-hover\\:w-\\[18px\\]{width:18px!important}.group:hover .group-hover\\:w-\\[26px\\]{width:26px!important}.group:hover .group-hover\\:after\\:w-2:after{content:var(--tw-content)!important;width:.5rem!important}.group:hover .group-hover\\:after\\:w-3:after{content:var(--tw-content)!important;width:.75rem!important}.peer:checked~.peer-checked\\:left-full{left:100%!important}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+1px\\)\\]{--tw-translate-x:calc(-100% - 1px)!important}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+1px\\)\\],.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+2px\\)\\]{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.peer:checked~.peer-checked\\:-translate-x-\\[calc\\(100\\%\\+2px\\)\\]{--tw-translate-x:calc(-100% - 2px)!important}.peer:checked~.peer-checked\\:bg-black-teal-200{--tw-bg-opacity:1!important;background-color:rgb(154 170 167/var(--tw-bg-opacity,1))!important}";const c=n;const p=o(["peer appearance-none m-0 outline-none flex-shrink-0","border border-inset border-solid "],{variants:{size:{sm:"rounded-full w-8 h-4",base:"rounded-full w-10 h-6"},disabled:{false:["cursor-pointer shadow-1","bg-white border-black-teal-100","hover:bg-supportivce-lilac-100 hover:border-black-teal-100","checked:bg-supportive-lilac checked:border-black-teal/20","checked:ring-2 checked:ring-supportive-lilac-100","checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20"],true:"bg-white-600 border-black-teal-50 cursor-not-allowed "}},compoundVariants:[{disabled:false,class:["cursor-pointer shadow-1","bg-white border-black-teal-100","hover:bg-supportive-lilac-100 hover:border-black-teal-100"]}]});const s=o(["flex items-center justify-center","rounded-full transition-all ","absolute top-1/2 peer-checked:left-full transform -translate-y-1/2 pointer-events-none"],{variants:{size:{sm:null,base:null},disabled:{false:["bg-white ring-1 ring-black-teal/10","left-[1px] peer-checked:-translate-x-[calc(100%+1px)]","after:content-[''] after:bg-supportive-lilac-800 after:rounded-full after:transition-all"],true:["bg-black-teal-100 peer-checked:bg-black-teal-200","left-[2px] peer-checked:-translate-x-[calc(100%+2px)]"]}},compoundVariants:[{size:"sm",disabled:false,class:["w-[14px] h-[14px] group-hover:w-[18px]","after:w-1 after:h-1 group-hover:after:w-2"]},{size:"base",disabled:false,class:["w-[22px] h-[22px] group-hover:w-[26px]","after:w-2 after:h-2 group-hover:after:w-3"]},{size:"sm",disabled:true,class:"w-3 h-3"},{size:"base",disabled:true,class:"w-[20px] h-[20px]"}]});const l=class{constructor(e){t(this,e);this.checkedChange=r(this,"checkedChange",7);this.indeterminateChange=r(this,"indeterminateChange",7);this.checked=undefined;this.indeterminate=undefined;this.size="base";this.disabled=false;this.required=true;this.id=undefined;this.name=undefined;this._nonce=i(5)}checkedChange;indeterminateChange;render(){return e(a,{key:"665a9617a9ab6f36f84bb2431a1aae0b873acfab",class:"p-checkbox"},e("label",{key:"f9090b0b5cc6ca14c09a43e53f01bef33e411e5f",htmlFor:this.id??this._nonce,class:"flex items-center justify-start gap-2 text-black-teal"},e("div",{key:"9a47bbc17f2efb2cf196c558b67837b73531f02f",class:"group relative flex flex-shrink-0 items-center"},e("input",{key:"aead176166d2cc5799d3756076d9ed4085d67637",class:p({size:this.size,disabled:this.disabled}),type:"checkbox",id:this.id??this._nonce,name:this.name,required:this.required,checked:!!this.checked,indeterminate:this.indeterminate,disabled:this.disabled,onChange:t=>this._onChange(t)}),e("div",{key:"f73eab7f22090288618a5e71f1a0ca9d7aa92733",class:s({size:this.size,disabled:this.disabled})})),e("slot",{key:"dbd72bce56cdad804076b3a51c921a877530ec8a"})))}_onChange(t){if(this.disabled){t.preventDefault();return}const r=t.target.checked;const e=t.target.indeterminate;if(r!=this.checked){this.checked=r;this.checkedChange.emit(r)}if(e!=this.indeterminate){this.indeterminate=e;this.indeterminateChange.emit(e)}}};l.style=c;export{l as p_toggle};
|
|
2
|
+
//# sourceMappingURL=p-ea577bae.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["toggleComponentCss","PToggleStyle0","checkbox","cva","variants","size","sm","base","disabled","false","true","compoundVariants","class","circle","Toggle","nonce","checkedChange","indeterminateChange","render","h","Host","key","htmlFor","this","id","_nonce","type","name","required","checked","indeterminate","onChange","ev","_onChange","preventDefault","target","emit"],"sources":["src/components/atoms/toggle/toggle.component.css?tag=p-toggle","src/components/atoms/toggle/toggle.component.tsx"],"sourcesContent":[null,"import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tHost,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { nonce } from '../../../utils/nonce';\n\nconst checkbox = cva(\n\t[\n\t\t'peer appearance-none m-0 outline-none flex-shrink-0',\n\t\t'border border-inset border-solid ',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'rounded-full w-8 h-4',\n\t\t\t\tbase: 'rounded-full w-10 h-6',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportivce-lilac-100 hover:border-black-teal-100',\n\t\t\t\t\t'checked:bg-supportive-lilac checked:border-black-teal/20',\n\t\t\t\t\t'checked:ring-2 checked:ring-supportive-lilac-100',\n\t\t\t\t\t'checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20',\n\t\t\t\t],\n\t\t\t\ttrue: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportive-lilac-100 hover:border-black-teal-100',\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst circle = cva(\n\t[\n\t\t'flex items-center justify-center',\n\t\t'rounded-full transition-all ',\n\t\t'absolute top-1/2 peer-checked:left-full transform -translate-y-1/2 pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: null,\n\t\t\t\tbase: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: [\n\t\t\t\t\t'bg-white ring-1 ring-black-teal/10',\n\t\t\t\t\t'left-[1px] peer-checked:-translate-x-[calc(100%+1px)]',\n\t\t\t\t\t\"after:content-[''] after:bg-supportive-lilac-800 after:rounded-full after:transition-all\",\n\t\t\t\t],\n\t\t\t\ttrue: [\n\t\t\t\t\t'bg-black-teal-100 peer-checked:bg-black-teal-200',\n\t\t\t\t\t'left-[2px] peer-checked:-translate-x-[calc(100%+2px)]',\n\t\t\t\t],\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: [\n\t\t\t\t\t'w-[14px] h-[14px] group-hover:w-[18px]',\n\t\t\t\t\t'after:w-1 after:h-1 group-hover:after:w-2',\n\t\t\t\t],\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: [\n\t\t\t\t\t'w-[22px] h-[22px] group-hover:w-[26px]',\n\t\t\t\t\t'after:w-2 after:h-2 group-hover:after:w-3',\n\t\t\t\t],\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'w-3 h-3',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'w-[20px] h-[20px]',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-toggle',\n\tstyleUrl: 'toggle.component.css',\n})\nexport class Toggle {\n\t/**\n\t * Wether the checkbox is checked\n\t */\n\t@Prop() checked: boolean;\n\n\t/**\n\t * Wether the checkbox is in indeterminate state\n\t */\n\t@Prop() indeterminate: boolean;\n\n\t/**\n\t * The size of the checkbox\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * Wether the checkbox is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the checkbox is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The id of the checkbox button\n\t */\n\t@Prop({ reflect: true }) id: string;\n\n\t/**\n\t * The name of the checkbox button\n\t */\n\t@Prop({ reflect: true }) name: string;\n\n\t/**\n\t * Event whenever the checked changes\n\t */\n\t@Event() checkedChange: EventEmitter<boolean>;\n\t/**\n\t * Event whenever the indeterminate changes\n\t */\n\t@Event() indeterminateChange: EventEmitter<boolean>;\n\n\t@State() private _nonce = nonce(5);\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-checkbox'>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id ?? this._nonce}\n\t\t\t\t\tclass='flex items-center justify-start gap-2 text-black-teal'\n\t\t\t\t>\n\t\t\t\t\t<div class='group relative flex flex-shrink-0 items-center'>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={checkbox({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\ttype='checkbox'\n\t\t\t\t\t\t\tid={this.id ?? this._nonce}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\tchecked={!!this.checked}\n\t\t\t\t\t\t\tindeterminate={this.indeterminate}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonChange={ev => this._onChange(ev)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={circle({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onChange(ev: Event) {\n\t\tif (this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tconst checked = (ev.target as HTMLInputElement).checked;\n\t\tconst indeterminate = (ev.target as HTMLInputElement).indeterminate;\n\n\t\tif (checked != this.checked) {\n\t\t\tthis.checked = checked;\n\t\t\tthis.checkedChange.emit(checked);\n\t\t}\n\n\t\tif (indeterminate != this.indeterminate) {\n\t\t\tthis.indeterminate = indeterminate;\n\t\t\tthis.indeterminateChange.emit(indeterminate);\n\t\t}\n\t}\n}\n"],"mappings":"yJAAA,MAAMA,EAAqB,0kMAC3B,MAAAC,EAAeD,ECWf,MAAME,EAAWC,EAChB,CACC,sDACA,qCAED,CACCC,SAAU,CACTC,KAAM,CACLC,GAAI,uBACJC,KAAM,yBAEPC,SAAU,CACTC,MAAO,CACN,0BACA,iCACA,6DACA,2DACA,mDACA,wEAEDC,KAAM,0DAGRC,iBAAkB,CACjB,CACCH,SAAU,MACVI,MAAO,CACN,0BACA,iCACA,iEAOL,MAAMC,EAASV,EACd,CACC,mCACA,+BACA,4FAED,CACCC,SAAU,CACTC,KAAM,CACL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P,KAAKO,cAAgBA,EACrBP,KAAKN,oBAAoBmB,KAAKN,E","ignoreList":[]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as t,h as r,H as e}from"./p-45ded510.js";const i=".absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-0{top:0!important}.order-2{order:2!important}.ml-0{margin-left:0!important}.mr-4{margin-right:1rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-4{width:1rem!important}.w-full{width:100%!important}.min-w-\\[calc\\(100\\%-2rem\\)\\]{min-width:calc(100% - 2rem)!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity,1))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{animation-duration:.5s!important;transition-duration:.5s!important}*{box-sizing:border-box}:host{align-items:flex-end;display:flex;justify-content:center;position:relative;width:100%}:host .content{--tw-text-opacity:1;color:rgb(176 178 203/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;min-width:calc(100% - 2rem);white-space:nowrap}:host .circle{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,.2,1);background-color:rgb(218 230 240/var(--tw-bg-opacity,1));border-radius:9999px;color:rgb(255 255 255/var(--tw-text-opacity,1));display:flex;flex-shrink:0;height:1rem;justify-content:center;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host .circle p-icon{display:flex!important;font-size:.625rem}:host([direction=horizontal]){flex:0;height:2.5rem}:host([direction=horizontal]) .content{min-width:0;order:1;position:absolute;top:0}:host([direction=horizontal]) .circle{order:2}:host([direction=vertical]){align-items:center;min-height:1rem}:host([direction=vertical]) .content{margin-left:1rem;order:2}:host([direction=vertical]) .circle{order:1}:host([active]) .content,:host([finished]) .content{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}:host([active]) .circle,:host([finished]) .circle{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}:host([direction=horizontal][align=start]) .content{left:0}:host([direction=horizontal][align=end]) .content{right:0}:host([direction=horizontal][align=center]) .content{--tw-translate-x:-50%;left:50%;text-align:center;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host([direction=vertical][content-position=start]){flex-direction:row-reverse}:host([direction=vertical][content-position=start]) .content{display:flex;justify-content:flex-end;margin-left:0;margin-right:1rem}.static{position:static!important}";const o=i;const n=class{constructor(r){t(this,r);this.align="center";this.direction="horizontal";this.contentPosition="end";this.finished=false;this.active=false}render(){return r(e,{key:"8da0538e191e3cbe2bc2ffd34235e29bf36c5c4b",class:"p-stepper-item"},r("div",{key:"26ef593097c695a3944a7c50f941f566c2bada7b",class:"circle"},this.finished&&r("p-icon",{key:"648760041a32cd018e7e5a7b76d7cdb19220425e",variant:"checkmark"})),r("div",{key:"fe3b931203de10909550032493c5d305187f9ef8",class:"content"},r("slot",{key:"16627589013f17c494e482c98b7e96aaed2de5a4",name:"content"})))}};n.style=o;export{n as p_stepper_item};
|
|
2
|
+
//# sourceMappingURL=p-eec56c71.entry.js.map
|