@paperless/core 2.0.1-beta.21 → 2.0.1-beta.23
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 +19 -0
- package/dist/build/index.esm.js +1 -1
- package/dist/build/index.esm.js.map +1 -1
- package/dist/build/{p-d9d8c17c.entry.js → p-0a1cf938.entry.js} +2 -2
- package/dist/build/{p-d70b3539.entry.js → p-0a6d3edd.entry.js} +2 -2
- package/dist/{paperless/p-214a2978.entry.js → build/p-0ce335d4.entry.js} +2 -2
- package/dist/build/p-0ce335d4.entry.js.map +1 -0
- package/dist/build/{p-2bd123f4.entry.js → p-129d5cbd.entry.js} +2 -2
- package/dist/{paperless/p-af468e9f.entry.js → build/p-14e20144.entry.js} +2 -2
- package/dist/build/{p-0413fcd0.entry.js → p-250b3f90.entry.js} +2 -2
- package/dist/build/p-2f613a2a.entry.js +2 -0
- package/dist/build/{p-a56474ea.entry.js → p-2f821184.entry.js} +2 -2
- package/dist/build/{p-14e63599.entry.js → p-35080e8e.entry.js} +2 -2
- package/dist/build/{p-0bbd4d1c.entry.js → p-3a4ff7f6.entry.js} +2 -2
- package/dist/build/{p-3a428a06.entry.js → p-3feb4bd9.entry.js} +2 -2
- package/dist/build/p-46d0e091.entry.js +2 -0
- package/dist/build/p-46d0e091.entry.js.map +1 -0
- package/dist/build/{p-ea577bae.entry.js → p-4a642ff9.entry.js} +2 -2
- package/dist/build/p-4cb8f3db.entry.js +2 -0
- package/dist/build/{p-d9fae6bd.entry.js → p-57fc0eb5.entry.js} +2 -2
- package/dist/{paperless/p-cc3445fc.entry.js → build/p-5b93f608.entry.js} +2 -2
- package/dist/{paperless/p-c3ba61ac.entry.js → build/p-5cecb014.entry.js} +2 -2
- package/dist/build/{p-a5934232.entry.js → p-68ae68c8.entry.js} +2 -2
- package/dist/build/{p-1ed4a75e.entry.js → p-6f3a4499.entry.js} +2 -2
- package/dist/build/{p-1b5ec2b1.entry.js → p-716a92ae.entry.js} +2 -2
- package/dist/{paperless/p-48efb6e4.entry.js → build/p-868d5746.entry.js} +2 -2
- package/dist/build/p-8a8663ae.entry.js +2 -0
- package/dist/build/p-8a8663ae.entry.js.map +1 -0
- package/dist/{paperless/p-d044f441.entry.js → build/p-8d165db5.entry.js} +2 -2
- package/dist/build/{p-f40f89a7.entry.js → p-955d149f.entry.js} +2 -2
- package/dist/{paperless/p-cfe6ec9a.entry.js → build/p-9a9c8ce9.entry.js} +2 -2
- package/dist/build/{p-3e393301.entry.js → p-9cc50361.entry.js} +2 -2
- package/dist/build/{p-eec56c71.entry.js → p-b26d5130.entry.js} +2 -2
- package/dist/build/p-b9eb5691.js +2 -0
- package/dist/{paperless/p-d8eb3b7b.entry.js → build/p-d19f3457.entry.js} +2 -2
- package/dist/build/{p-46362798.entry.js → p-d31d6714.entry.js} +2 -2
- package/dist/build/{p-d6ca5bce.entry.js → p-d9c32e3e.entry.js} +2 -2
- package/dist/{paperless/p-fd53acd3.entry.js → build/p-dc01bfa8.entry.js} +2 -2
- package/dist/build/p-dceb94a4.entry.js +2 -0
- package/dist/{paperless/p-958f3c09.entry.js → build/p-e3b04c17.entry.js} +2 -2
- package/dist/build/{p-65d9a61f.entry.js → p-ec082bfe.entry.js} +2 -2
- package/dist/build/{p-036bb6f4.entry.js → p-fb51eccd.entry.js} +2 -2
- package/dist/build/paperless.esm.js +1 -1
- package/dist/build/paperless.esm.js.map +1 -1
- package/dist/cjs/index-3f9bbc0c.js +8 -8
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/p-accordion.cjs.entry.js +1 -1
- package/dist/cjs/p-attachment.cjs.entry.js +4 -4
- package/dist/cjs/p-badge_3.cjs.entry.js +77 -0
- package/dist/cjs/p-badge_3.cjs.entry.js.map +1 -0
- package/dist/cjs/p-button-group.cjs.entry.js +1 -1
- package/dist/cjs/p-button_3.cjs.entry.js +4 -4
- package/dist/cjs/p-calendar.cjs.entry.js +1 -1
- package/dist/cjs/p-checkbox_3.cjs.entry.js +3 -3
- package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
- package/dist/cjs/p-cropper.cjs.entry.js +2 -2
- package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/p-field_3.cjs.entry.js +3 -3
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +6 -6
- package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
- package/dist/cjs/p-input-error.cjs.entry.js +1 -1
- package/dist/cjs/p-label.cjs.entry.js +64 -0
- package/dist/cjs/p-label.cjs.entry.js.map +1 -0
- package/dist/cjs/p-layout.cjs.entry.js +1 -1
- package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
- package/dist/cjs/p-navbar.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
- package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
- package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
- package/dist/cjs/p-page-size-select_3.cjs.entry.js +2 -2
- package/dist/cjs/p-portal_2.cjs.entry.js +5 -5
- package/dist/cjs/p-profile.cjs.entry.js +1 -1
- package/dist/cjs/p-radio.cjs.entry.js +3 -3
- package/dist/cjs/p-select.cjs.entry.js +1 -1
- package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
- package/dist/cjs/p-status.cjs.entry.js +2 -2
- package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
- package/dist/cjs/p-stepper.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
- package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
- package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
- package/dist/cjs/p-toast.cjs.entry.js +1 -1
- package/dist/cjs/p-toggle.cjs.entry.js +3 -3
- package/dist/cjs/paperless.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/layout/layout.component.js +1 -1
- package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
- package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
- package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
- package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
- package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
- package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +1 -1
- package/dist/collection/components/atoms/portal/portal.component.js +1 -1
- package/dist/collection/components/atoms/radio/radio.component.js +3 -3
- package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
- package/dist/collection/components/atoms/segment-container/segment-container.component.js +2 -2
- package/dist/collection/components/atoms/segment-container/segment-container.component.js.map +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
- package/dist/collection/components/atoms/segment-item/segment-item.component.js +23 -39
- 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 +1 -1
- package/dist/collection/components/atoms/status/status.component.js +2 -2
- package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
- package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
- package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
- package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
- package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
- package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
- package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
- package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
- package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
- package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
- package/dist/collection/components/molecules/button/button.component.js +4 -4
- package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
- package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
- package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
- package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
- package/dist/collection/components/molecules/datepicker/datepicker.component.js +1 -1
- package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
- package/dist/collection/components/molecules/field/field.component.js +3 -3
- package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
- package/dist/collection/components/molecules/label/label.component.css +1 -0
- package/dist/collection/components/{atoms → molecules}/label/label.component.js +49 -57
- package/dist/collection/components/molecules/label/label.component.js.map +1 -0
- package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +2 -2
- package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
- package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
- package/dist/collection/components/molecules/profile/profile.component.js +1 -1
- package/dist/collection/components/molecules/select/select.component.js +1 -1
- package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
- package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
- package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
- package/dist/collection/components/molecules/table-header/table-header.component.js +1 -1
- 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 +2 -2
- package/dist/collection/components/molecules/toast/toast.component.js +1 -1
- package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
- package/dist/collection/tailwind/theme/colors.js +1 -1
- package/dist/collection/tailwind/theme/colors.js.map +1 -1
- package/dist/components/button.component.js +4 -4
- package/dist/components/calendar.component.js +1 -1
- package/dist/components/dropdown.component.js +3 -3
- package/dist/components/field.component.js +3 -3
- package/dist/components/index.js +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/input-error.component.js +1 -1
- package/dist/components/modal-body.component.js +1 -1
- package/dist/components/modal-container.component.js +1 -1
- package/dist/components/modal-footer.component.js +1 -1
- package/dist/components/modal-header.component.js +1 -1
- package/dist/components/navigation-title.component.js +1 -1
- package/dist/components/p-accordion.js +1 -1
- package/dist/components/p-attachment.js +4 -4
- package/dist/components/p-button-group.js +1 -1
- package/dist/components/p-content-slider.js +2 -2
- package/dist/components/p-cropper.js +2 -2
- package/dist/components/p-datepicker.js +1 -1
- package/dist/components/p-label.js +83 -1
- package/dist/components/p-label.js.map +1 -1
- package/dist/components/p-layout.js +1 -1
- package/dist/components/p-navbar.js +1 -1
- package/dist/components/p-navigation-item.js +2 -2
- package/dist/components/p-navigation-section.js +1 -1
- package/dist/components/p-profile.js +1 -1
- package/dist/components/p-radio.js +3 -3
- package/dist/components/p-select.js +1 -1
- package/dist/components/p-status.js +2 -2
- package/dist/components/p-stepper-item.js +1 -1
- package/dist/components/p-stepper.js +1 -1
- package/dist/components/p-tab-group.js +1 -1
- package/dist/components/p-tab-item.js +1 -1
- package/dist/components/p-table.js +29 -29
- package/dist/components/p-toast-container.js +1 -1
- package/dist/components/p-toast.js +1 -1
- package/dist/components/p-toggle.js +3 -3
- package/dist/components/pagination-item.component.js +1 -1
- package/dist/components/pagination.component.js +1 -1
- package/dist/components/portal.component.js +1 -1
- package/dist/components/segment-container.component.js +2 -2
- package/dist/components/segment-container.component.js.map +1 -1
- package/dist/components/segment-item.component.js +24 -17
- package/dist/components/segment-item.component.js.map +1 -1
- package/dist/components/slider-indicator.component.js +1 -1
- package/dist/components/stepper-line.component.js +1 -1
- package/dist/components/table-cell.component.js +1 -1
- package/dist/components/table-container.component.js +1 -1
- package/dist/components/table-footer.component.js +1 -1
- package/dist/components/table-header.component.js +14 -14
- package/dist/components/table-header.component.js.map +1 -1
- package/dist/components/table-row.component.js +2 -2
- package/dist/components/tooltip.component.js +4 -4
- package/dist/esm/index-2ef94580.js +8 -8
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/p-accordion.entry.js +1 -1
- package/dist/esm/p-attachment.entry.js +4 -4
- package/dist/esm/p-badge_3.entry.js +71 -0
- package/dist/esm/p-badge_3.entry.js.map +1 -0
- package/dist/esm/p-button-group.entry.js +1 -1
- package/dist/esm/p-button_3.entry.js +4 -4
- package/dist/esm/p-calendar.entry.js +1 -1
- package/dist/esm/p-checkbox_3.entry.js +3 -3
- package/dist/esm/p-content-slider.entry.js +2 -2
- package/dist/esm/p-cropper.entry.js +2 -2
- package/dist/esm/p-datepicker.entry.js +1 -1
- package/dist/esm/p-field_3.entry.js +3 -3
- package/dist/esm/p-floating-menu-container_8.entry.js +6 -6
- package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
- package/dist/esm/p-input-error.entry.js +1 -1
- package/dist/esm/p-label.entry.js +60 -0
- package/dist/esm/p-label.entry.js.map +1 -0
- package/dist/esm/p-layout.entry.js +1 -1
- package/dist/esm/p-modal-body_4.entry.js +4 -4
- package/dist/esm/p-navbar.entry.js +1 -1
- package/dist/esm/p-navigation-item.entry.js +2 -2
- package/dist/esm/p-navigation-section.entry.js +1 -1
- package/dist/esm/p-navigation-title.entry.js +1 -1
- package/dist/esm/p-page-size-select_3.entry.js +2 -2
- package/dist/esm/p-portal_2.entry.js +5 -5
- package/dist/esm/p-profile.entry.js +1 -1
- package/dist/esm/p-radio.entry.js +3 -3
- package/dist/esm/p-select.entry.js +1 -1
- package/dist/esm/p-slider-indicator.entry.js +1 -1
- package/dist/esm/p-status.entry.js +2 -2
- package/dist/esm/p-stepper-item.entry.js +1 -1
- package/dist/esm/p-stepper-line.entry.js +1 -1
- package/dist/esm/p-stepper.entry.js +1 -1
- package/dist/esm/p-tab-group.entry.js +1 -1
- package/dist/esm/p-tab-item.entry.js +1 -1
- package/dist/esm/p-toast-container.entry.js +1 -1
- package/dist/esm/p-toast.entry.js +1 -1
- package/dist/esm/p-toggle.entry.js +3 -3
- package/dist/esm/paperless.js +1 -1
- package/dist/index.html +1 -1
- package/dist/paperless/index.esm.js +1 -1
- package/dist/paperless/index.esm.js.map +1 -1
- package/dist/paperless/{p-d9d8c17c.entry.js → p-0a1cf938.entry.js} +2 -2
- package/dist/paperless/{p-d70b3539.entry.js → p-0a6d3edd.entry.js} +2 -2
- package/dist/{build/p-214a2978.entry.js → paperless/p-0ce335d4.entry.js} +2 -2
- package/dist/paperless/p-0ce335d4.entry.js.map +1 -0
- package/dist/paperless/{p-2bd123f4.entry.js → p-129d5cbd.entry.js} +2 -2
- package/dist/{build/p-af468e9f.entry.js → paperless/p-14e20144.entry.js} +2 -2
- package/dist/paperless/{p-0413fcd0.entry.js → p-250b3f90.entry.js} +2 -2
- package/dist/paperless/p-2f613a2a.entry.js +2 -0
- package/dist/paperless/{p-a56474ea.entry.js → p-2f821184.entry.js} +2 -2
- package/dist/paperless/{p-14e63599.entry.js → p-35080e8e.entry.js} +2 -2
- package/dist/paperless/{p-0bbd4d1c.entry.js → p-3a4ff7f6.entry.js} +2 -2
- package/dist/paperless/{p-3a428a06.entry.js → p-3feb4bd9.entry.js} +2 -2
- package/dist/paperless/p-46d0e091.entry.js +2 -0
- package/dist/paperless/p-46d0e091.entry.js.map +1 -0
- package/dist/paperless/{p-ea577bae.entry.js → p-4a642ff9.entry.js} +2 -2
- package/dist/paperless/p-4cb8f3db.entry.js +2 -0
- package/dist/paperless/{p-d9fae6bd.entry.js → p-57fc0eb5.entry.js} +2 -2
- package/dist/{build/p-cc3445fc.entry.js → paperless/p-5b93f608.entry.js} +2 -2
- package/dist/{build/p-c3ba61ac.entry.js → paperless/p-5cecb014.entry.js} +2 -2
- package/dist/paperless/{p-a5934232.entry.js → p-68ae68c8.entry.js} +2 -2
- package/dist/paperless/{p-1ed4a75e.entry.js → p-6f3a4499.entry.js} +2 -2
- package/dist/paperless/{p-1b5ec2b1.entry.js → p-716a92ae.entry.js} +2 -2
- package/dist/{build/p-48efb6e4.entry.js → paperless/p-868d5746.entry.js} +2 -2
- package/dist/paperless/p-8a8663ae.entry.js +2 -0
- package/dist/paperless/p-8a8663ae.entry.js.map +1 -0
- package/dist/{build/p-d044f441.entry.js → paperless/p-8d165db5.entry.js} +2 -2
- package/dist/paperless/{p-f40f89a7.entry.js → p-955d149f.entry.js} +2 -2
- package/dist/{build/p-cfe6ec9a.entry.js → paperless/p-9a9c8ce9.entry.js} +2 -2
- package/dist/paperless/{p-3e393301.entry.js → p-9cc50361.entry.js} +2 -2
- package/dist/paperless/{p-eec56c71.entry.js → p-b26d5130.entry.js} +2 -2
- package/dist/{build/p-d8eb3b7b.entry.js → paperless/p-d19f3457.entry.js} +2 -2
- package/dist/paperless/{p-46362798.entry.js → p-d31d6714.entry.js} +2 -2
- package/dist/paperless/{p-d6ca5bce.entry.js → p-d9c32e3e.entry.js} +2 -2
- package/dist/{build/p-fd53acd3.entry.js → paperless/p-dc01bfa8.entry.js} +2 -2
- package/dist/paperless/p-dceb94a4.entry.js +2 -0
- package/dist/{build/p-958f3c09.entry.js → paperless/p-e3b04c17.entry.js} +2 -2
- package/dist/paperless/{p-65d9a61f.entry.js → p-ec082bfe.entry.js} +2 -2
- package/dist/paperless/{p-036bb6f4.entry.js → p-fb51eccd.entry.js} +2 -2
- package/dist/paperless/paperless.esm.js +1 -1
- package/dist/paperless/paperless.esm.js.map +1 -1
- package/dist/sw.js +1 -1
- package/dist/sw.js.map +1 -1
- package/dist/tailwind/theme/colors.ts +1 -1
- package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +0 -11
- package/dist/types/components/{atoms → molecules}/label/label.component.d.ts +4 -12
- package/dist/types/components.d.ts +12 -46
- package/hydrate/index.js +128 -93
- package/hydrate/index.mjs +128 -93
- package/package.json +1 -1
- package/dist/build/p-214a2978.entry.js.map +0 -1
- package/dist/build/p-50134fa1.entry.js +0 -2
- package/dist/build/p-50134fa1.entry.js.map +0 -1
- package/dist/build/p-6d8852ca.entry.js +0 -2
- package/dist/build/p-889eb696.js +0 -2
- package/dist/build/p-bf261165.entry.js +0 -2
- package/dist/build/p-c8e79e30.entry.js +0 -2
- package/dist/build/p-e15305dc.entry.js +0 -2
- package/dist/build/p-e15305dc.entry.js.map +0 -1
- package/dist/cjs/p-badge.cjs.entry.js +0 -22
- package/dist/cjs/p-badge.cjs.entry.js.map +0 -1
- package/dist/cjs/p-label_3.cjs.entry.js +0 -76
- package/dist/cjs/p-label_3.cjs.entry.js.map +0 -1
- package/dist/collection/components/atoms/label/label.component.css +0 -1
- package/dist/collection/components/atoms/label/label.component.js.map +0 -1
- package/dist/components/label.component.js +0 -57
- package/dist/components/label.component.js.map +0 -1
- package/dist/esm/p-badge.entry.js +0 -18
- package/dist/esm/p-badge.entry.js.map +0 -1
- package/dist/esm/p-label_3.entry.js +0 -70
- package/dist/esm/p-label_3.entry.js.map +0 -1
- package/dist/paperless/p-214a2978.entry.js.map +0 -1
- package/dist/paperless/p-50134fa1.entry.js +0 -2
- package/dist/paperless/p-50134fa1.entry.js.map +0 -1
- package/dist/paperless/p-6d8852ca.entry.js +0 -2
- package/dist/paperless/p-bf261165.entry.js +0 -2
- package/dist/paperless/p-c8e79e30.entry.js +0 -2
- package/dist/paperless/p-e15305dc.entry.js +0 -2
- package/dist/paperless/p-e15305dc.entry.js.map +0 -1
- /package/dist/build/{p-d9d8c17c.entry.js.map → p-0a1cf938.entry.js.map} +0 -0
- /package/dist/build/{p-d70b3539.entry.js.map → p-0a6d3edd.entry.js.map} +0 -0
- /package/dist/build/{p-2bd123f4.entry.js.map → p-129d5cbd.entry.js.map} +0 -0
- /package/dist/build/{p-af468e9f.entry.js.map → p-14e20144.entry.js.map} +0 -0
- /package/dist/build/{p-0413fcd0.entry.js.map → p-250b3f90.entry.js.map} +0 -0
- /package/dist/build/{p-6d8852ca.entry.js.map → p-2f613a2a.entry.js.map} +0 -0
- /package/dist/build/{p-a56474ea.entry.js.map → p-2f821184.entry.js.map} +0 -0
- /package/dist/build/{p-14e63599.entry.js.map → p-35080e8e.entry.js.map} +0 -0
- /package/dist/build/{p-0bbd4d1c.entry.js.map → p-3a4ff7f6.entry.js.map} +0 -0
- /package/dist/build/{p-3a428a06.entry.js.map → p-3feb4bd9.entry.js.map} +0 -0
- /package/dist/build/{p-ea577bae.entry.js.map → p-4a642ff9.entry.js.map} +0 -0
- /package/dist/build/{p-c8e79e30.entry.js.map → p-4cb8f3db.entry.js.map} +0 -0
- /package/dist/build/{p-d9fae6bd.entry.js.map → p-57fc0eb5.entry.js.map} +0 -0
- /package/dist/build/{p-cc3445fc.entry.js.map → p-5b93f608.entry.js.map} +0 -0
- /package/dist/build/{p-c3ba61ac.entry.js.map → p-5cecb014.entry.js.map} +0 -0
- /package/dist/build/{p-a5934232.entry.js.map → p-68ae68c8.entry.js.map} +0 -0
- /package/dist/build/{p-1ed4a75e.entry.js.map → p-6f3a4499.entry.js.map} +0 -0
- /package/dist/build/{p-1b5ec2b1.entry.js.map → p-716a92ae.entry.js.map} +0 -0
- /package/dist/build/{p-48efb6e4.entry.js.map → p-868d5746.entry.js.map} +0 -0
- /package/dist/build/{p-d044f441.entry.js.map → p-8d165db5.entry.js.map} +0 -0
- /package/dist/build/{p-f40f89a7.entry.js.map → p-955d149f.entry.js.map} +0 -0
- /package/dist/build/{p-cfe6ec9a.entry.js.map → p-9a9c8ce9.entry.js.map} +0 -0
- /package/dist/build/{p-3e393301.entry.js.map → p-9cc50361.entry.js.map} +0 -0
- /package/dist/build/{p-eec56c71.entry.js.map → p-b26d5130.entry.js.map} +0 -0
- /package/dist/build/{p-d8eb3b7b.entry.js.map → p-d19f3457.entry.js.map} +0 -0
- /package/dist/build/{p-46362798.entry.js.map → p-d31d6714.entry.js.map} +0 -0
- /package/dist/build/{p-d6ca5bce.entry.js.map → p-d9c32e3e.entry.js.map} +0 -0
- /package/dist/build/{p-fd53acd3.entry.js.map → p-dc01bfa8.entry.js.map} +0 -0
- /package/dist/build/{p-bf261165.entry.js.map → p-dceb94a4.entry.js.map} +0 -0
- /package/dist/build/{p-958f3c09.entry.js.map → p-e3b04c17.entry.js.map} +0 -0
- /package/dist/build/{p-65d9a61f.entry.js.map → p-ec082bfe.entry.js.map} +0 -0
- /package/dist/build/{p-036bb6f4.entry.js.map → p-fb51eccd.entry.js.map} +0 -0
- /package/dist/paperless/{p-d9d8c17c.entry.js.map → p-0a1cf938.entry.js.map} +0 -0
- /package/dist/paperless/{p-d70b3539.entry.js.map → p-0a6d3edd.entry.js.map} +0 -0
- /package/dist/paperless/{p-2bd123f4.entry.js.map → p-129d5cbd.entry.js.map} +0 -0
- /package/dist/paperless/{p-af468e9f.entry.js.map → p-14e20144.entry.js.map} +0 -0
- /package/dist/paperless/{p-0413fcd0.entry.js.map → p-250b3f90.entry.js.map} +0 -0
- /package/dist/paperless/{p-6d8852ca.entry.js.map → p-2f613a2a.entry.js.map} +0 -0
- /package/dist/paperless/{p-a56474ea.entry.js.map → p-2f821184.entry.js.map} +0 -0
- /package/dist/paperless/{p-14e63599.entry.js.map → p-35080e8e.entry.js.map} +0 -0
- /package/dist/paperless/{p-0bbd4d1c.entry.js.map → p-3a4ff7f6.entry.js.map} +0 -0
- /package/dist/paperless/{p-3a428a06.entry.js.map → p-3feb4bd9.entry.js.map} +0 -0
- /package/dist/paperless/{p-ea577bae.entry.js.map → p-4a642ff9.entry.js.map} +0 -0
- /package/dist/paperless/{p-c8e79e30.entry.js.map → p-4cb8f3db.entry.js.map} +0 -0
- /package/dist/paperless/{p-d9fae6bd.entry.js.map → p-57fc0eb5.entry.js.map} +0 -0
- /package/dist/paperless/{p-cc3445fc.entry.js.map → p-5b93f608.entry.js.map} +0 -0
- /package/dist/paperless/{p-c3ba61ac.entry.js.map → p-5cecb014.entry.js.map} +0 -0
- /package/dist/paperless/{p-a5934232.entry.js.map → p-68ae68c8.entry.js.map} +0 -0
- /package/dist/paperless/{p-1ed4a75e.entry.js.map → p-6f3a4499.entry.js.map} +0 -0
- /package/dist/paperless/{p-1b5ec2b1.entry.js.map → p-716a92ae.entry.js.map} +0 -0
- /package/dist/paperless/{p-48efb6e4.entry.js.map → p-868d5746.entry.js.map} +0 -0
- /package/dist/paperless/{p-d044f441.entry.js.map → p-8d165db5.entry.js.map} +0 -0
- /package/dist/paperless/{p-f40f89a7.entry.js.map → p-955d149f.entry.js.map} +0 -0
- /package/dist/paperless/{p-cfe6ec9a.entry.js.map → p-9a9c8ce9.entry.js.map} +0 -0
- /package/dist/paperless/{p-3e393301.entry.js.map → p-9cc50361.entry.js.map} +0 -0
- /package/dist/paperless/{p-eec56c71.entry.js.map → p-b26d5130.entry.js.map} +0 -0
- /package/dist/paperless/{p-d8eb3b7b.entry.js.map → p-d19f3457.entry.js.map} +0 -0
- /package/dist/paperless/{p-46362798.entry.js.map → p-d31d6714.entry.js.map} +0 -0
- /package/dist/paperless/{p-d6ca5bce.entry.js.map → p-d9c32e3e.entry.js.map} +0 -0
- /package/dist/paperless/{p-fd53acd3.entry.js.map → p-dc01bfa8.entry.js.map} +0 -0
- /package/dist/paperless/{p-bf261165.entry.js.map → p-dceb94a4.entry.js.map} +0 -0
- /package/dist/paperless/{p-958f3c09.entry.js.map → p-e3b04c17.entry.js.map} +0 -0
- /package/dist/paperless/{p-65d9a61f.entry.js.map → p-ec082bfe.entry.js.map} +0 -0
- /package/dist/paperless/{p-036bb6f4.entry.js.map → p-fb51eccd.entry.js.map} +0 -0
|
@@ -66,13 +66,13 @@ export class Radio {
|
|
|
66
66
|
*/
|
|
67
67
|
checkedChange;
|
|
68
68
|
render() {
|
|
69
|
-
return (h(Host, { key: '
|
|
69
|
+
return (h(Host, { key: 'ef48217704ef103668234d8b3b8da720b58d90ee', class: 'p-radio' }, h("label", { key: '29176e1a1f018a252f1c990d8ed02ab67b97297c', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: '785cfc9c4f61069a37efd36f39ed948eb08ffea0', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '8ef43efad2ebd27ea62dbd3254279901b7dc2504', class: radio({
|
|
70
70
|
size: this.size,
|
|
71
71
|
disabled: this.disabled,
|
|
72
|
-
}), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
72
|
+
}), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: 'fe41351c563e10018dfe02235faa98c1e883f153', class: circle({
|
|
73
73
|
size: this.size,
|
|
74
74
|
disabled: this.disabled,
|
|
75
|
-
}) })), h("slot", { key: '
|
|
75
|
+
}) })), h("slot", { key: '9821b79310a24b03420be123009471ec4e99fefe' }))));
|
|
76
76
|
}
|
|
77
77
|
_onChange(ev) {
|
|
78
78
|
if (this.disabled) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.flex{display:flex!important}.
|
|
1
|
+
*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class SegmentContainer {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '13dd4ad8e37de0c55abcc3748746bccd628da688', class: 'p-segment-container flex rounded-full border border-solid border-off-white-700 bg-off-white-300 p-1' }, h("slot", { key: 'c006b5f0ad06aa1f2d8a54faf2d1f6dcc97a7d83' })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-segment-container"; }
|
|
7
7
|
static get originalStyleUrls() {
|
|
8
8
|
return {
|
|
9
|
-
"$": ["segment-container.component.
|
|
9
|
+
"$": ["segment-container.component.css"]
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
static get styleUrls() {
|
package/dist/collection/components/atoms/segment-container/segment-container.component.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segment-container.component.js","sourceRoot":"","sources":["../../../../src/components/atoms/segment-container/segment-container.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAMnD,MAAM,OAAO,gBAAgB;IAC5B,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"segment-container.component.js","sourceRoot":"","sources":["../../../../src/components/atoms/segment-container/segment-container.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAMnD,MAAM,OAAO,gBAAgB;IAC5B,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAC,qGAAqG;YAChH,8DAAQ,CACF,CACP,CAAC;IACH,CAAC;;;;;;;;CACD","sourcesContent":["import { Component, h, Host } from '@stencil/core';\n\n@Component({\n\ttag: 'p-segment-container',\n\tstyleUrl: 'segment-container.component.css',\n})\nexport class SegmentContainer {\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-segment-container flex rounded-full border border-solid border-off-white-700 bg-off-white-300 p-1'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!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}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-black-teal-400{--tw-text-opacity:1!important;color:rgb(53 85 80/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.hover\:bg-black-teal-50:hover{--tw-bg-opacity:1!important;background-color:rgb(230 234 233/var(--tw-bg-opacity,1))!important}
|
|
@@ -1,35 +1,40 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
const segmentItem = cva([
|
|
4
|
+
'p-segment-item',
|
|
5
|
+
'flex items-center justify-center',
|
|
6
|
+
'h-6 gap-2 rounded-full',
|
|
7
|
+
'cursor-pointer text-sm',
|
|
8
|
+
], {
|
|
9
|
+
variants: {
|
|
10
|
+
active: {
|
|
11
|
+
false: 'cursor-pointer text-black-teal-400 hover:bg-black-teal-50',
|
|
12
|
+
true: 'bg-dark-teal-600 text-white',
|
|
13
|
+
},
|
|
14
|
+
iconOnly: {
|
|
15
|
+
false: 'px-2',
|
|
16
|
+
true: 'w-6',
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
});
|
|
2
20
|
export class SegmentItem {
|
|
3
21
|
constructor() {
|
|
4
22
|
this.active = false;
|
|
5
23
|
this.iconOnly = false;
|
|
6
|
-
this.size = 'small';
|
|
7
24
|
this.icon = undefined;
|
|
8
25
|
this.iconFlip = undefined;
|
|
9
26
|
this.iconRotate = undefined;
|
|
10
27
|
}
|
|
11
|
-
/**
|
|
12
|
-
* The host element
|
|
13
|
-
*/
|
|
14
|
-
_el;
|
|
15
|
-
_hasDescriptionSlot = false;
|
|
16
|
-
componentWillLoad() {
|
|
17
|
-
this._hasDescriptionSlot = !!this._el.querySelector(':scope > [slot="description"]');
|
|
18
|
-
}
|
|
19
28
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
return (h("p-icon", { class: "flex", variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
|
|
29
|
+
return (h(Host, { key: 'af4c3783e2791d61632bdb598682ad2f4f95539a', class: segmentItem({
|
|
30
|
+
active: this.active,
|
|
31
|
+
iconOnly: this.iconOnly,
|
|
32
|
+
}) }, this.icon && (h("p-icon", { key: 'a554a9b7a78e0b4dba9b967b97cb98b49e28c9cf', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), h("slot", { key: '17306fa82a398b6b7bc613f78197b425fd376af9' })));
|
|
27
33
|
}
|
|
28
34
|
static get is() { return "p-segment-item"; }
|
|
29
|
-
static get encapsulation() { return "shadow"; }
|
|
30
35
|
static get originalStyleUrls() {
|
|
31
36
|
return {
|
|
32
|
-
"$": ["segment-item.component.
|
|
37
|
+
"$": ["segment-item.component.css"]
|
|
33
38
|
};
|
|
34
39
|
}
|
|
35
40
|
static get styleUrls() {
|
|
@@ -79,26 +84,6 @@ export class SegmentItem {
|
|
|
79
84
|
"reflect": false,
|
|
80
85
|
"defaultValue": "false"
|
|
81
86
|
},
|
|
82
|
-
"size": {
|
|
83
|
-
"type": "string",
|
|
84
|
-
"mutable": false,
|
|
85
|
-
"complexType": {
|
|
86
|
-
"original": "'small' | 'big'",
|
|
87
|
-
"resolved": "\"big\" | \"small\"",
|
|
88
|
-
"references": {}
|
|
89
|
-
},
|
|
90
|
-
"required": false,
|
|
91
|
-
"optional": false,
|
|
92
|
-
"docs": {
|
|
93
|
-
"tags": [],
|
|
94
|
-
"text": "Size of the segment item"
|
|
95
|
-
},
|
|
96
|
-
"getter": false,
|
|
97
|
-
"setter": false,
|
|
98
|
-
"attribute": "size",
|
|
99
|
-
"reflect": true,
|
|
100
|
-
"defaultValue": "'small'"
|
|
101
|
-
},
|
|
102
87
|
"icon": {
|
|
103
88
|
"type": "string",
|
|
104
89
|
"mutable": false,
|
|
@@ -176,6 +161,5 @@ export class SegmentItem {
|
|
|
176
161
|
}
|
|
177
162
|
};
|
|
178
163
|
}
|
|
179
|
-
static get elementRef() { return "_el"; }
|
|
180
164
|
}
|
|
181
165
|
//# sourceMappingURL=segment-item.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segment-item.component.js","sourceRoot":"","sources":["../../../../src/components/atoms/segment-item/segment-item.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"segment-item.component.js","sourceRoot":"","sources":["../../../../src/components/atoms/segment-item/segment-item.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAI/C,MAAM,WAAW,GAAG,GAAG,CACtB;IACC,gBAAgB;IAChB,kCAAkC;IAClC,wBAAwB;IACxB,wBAAwB;CACxB,EACD;IACC,QAAQ,EAAE;QACT,MAAM,EAAE;YACP,KAAK,EAAE,2DAA2D;YAClE,IAAI,EAAE,6BAA6B;SACnC;QACD,QAAQ,EAAE;YACT,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,KAAK;SACX;KACD;CACD,CACD,CAAC;AAMF,MAAM,OAAO,WAAW;;sBAIG,KAAK;wBAKH,KAAK;;;;;IAiBjC,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDACJ,KAAK,EAAE,WAAW,CAAC;gBAClB,MAAM,EAAE,IAAI,CAAC,MAAM;gBACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ;aACvB,CAAC;YAED,IAAI,CAAC,IAAI,IAAI,CACb,+DACC,OAAO,EAAE,IAAI,CAAC,IAAI,EAClB,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,CACF;YACD,8DAAQ,CACF,CACP,CAAC;IACH,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../icon/icon.component';\n\nconst segmentItem = cva(\n\t[\n\t\t'p-segment-item',\n\t\t'flex items-center justify-center',\n\t\t'h-6 gap-2 rounded-full',\n\t\t'cursor-pointer text-sm',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tactive: {\n\t\t\t\tfalse: 'cursor-pointer text-black-teal-400 hover:bg-black-teal-50',\n\t\t\t\ttrue: 'bg-dark-teal-600 text-white',\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\tfalse: 'px-2',\n\t\t\t\ttrue: 'w-6',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-segment-item',\n\tstyleUrl: 'segment-item.component.css',\n})\nexport class SegmentItem {\n\t/**\n\t * Wether the segment item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the segment item is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon to show on the segment item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={segmentItem({\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"]}
|
|
@@ -4,7 +4,7 @@ export class SliderIndicator {
|
|
|
4
4
|
this.active = false;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '4525154d8a2fa45a67c9194601c038ce4d68d93c', class: `p-slider-indicator ${this.active && 'active'}` }));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-slider-indicator"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,8 +7,8 @@ export class Status {
|
|
|
7
7
|
this.iconRotate = undefined;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
11
|
-
}` }, this._getIcon(), h("slot", { key: '
|
|
10
|
+
return (h(Host, { key: 'c22a53f6a938b6b474cc0d3b48bafd1b86ac12ce', class: `p-status variant-${this.variant}
|
|
11
|
+
}` }, this._getIcon(), h("slot", { key: '488fd658de93d5f4a7a32cfea4407df0953eb092' })));
|
|
12
12
|
}
|
|
13
13
|
_getIcon() {
|
|
14
14
|
const icon = this.icon || this._getVariantIcon();
|
|
@@ -8,7 +8,7 @@ export class StepperItem {
|
|
|
8
8
|
this.active = false;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { key: '
|
|
11
|
+
return (h(Host, { key: '1920bc6191385c5b1bcb32ffecfded7f7c1a3f40', class: "p-stepper-item" }, h("div", { key: '743a51150e95b15bfd194498d9568821c50b4311', class: "circle" }, this.finished && h("p-icon", { key: '876d225ca1f3c974c4f5c0cebd8d7eabff7a8336', variant: "checkmark" })), h("div", { key: '42dfe103a364e5c8183bced9825f7d899fd7c01f', class: "content" }, h("slot", { key: 'a9db4797ad8649458649df53a4edb91c46a8199e', name: "content" }))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "p-stepper-item"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ export class StepperLine {
|
|
|
5
5
|
this.direction = 'horizontal';
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return h(Host, { key: '
|
|
8
|
+
return h(Host, { key: '9c523b4c1c77f12e65b9e8e97e447682089c6259', class: "p-stepper-line" });
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "p-stepper-line"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class TabGroup {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: 'c2373e9bf105402dcb9fcdea9f00e96c3d22234f', class: "p-tab-group relative flex w-full flex-col" }, h("div", { key: 'b5cd3a1a953b63d00ef2e5ab6ccb3a8dae482905', class: "scrollbar-hide z-10 flex w-full gap-5 overflow-x-auto" }, h("slot", { key: '27402e28fe9d870007ce31601a0b5512df1f8e56' })), h("p-divider", { key: '0abf3dd0edd40ec56abb9781d28a28d8336fc816', class: "absolute bottom-0 left-0 m-0 w-full" })));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "p-tab-group"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class TabItem {
|
|
|
4
4
|
this.active = false;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '5bd9aae0c6b920150ab95027e301519ffdfa9b5c', class: `p-tab-item ${this.active && 'active'}` }, h("slot", { key: '221acbe500445e4f104f7f26dc7a0d37c4818a99' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-tab-item"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class TableContainer {
|
|
|
4
4
|
this.shadow = true;
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '8400210ea3f34d240b032c875ef5e86dc218e7d5', class: `p-table-container ${!this.shadow && 'no-shadow'}` }, h("slot", { key: '6abc0755ec890cd9001aef58ac24acb3f2e4f529' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-table-container"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,7 +4,7 @@ export class ToastContainer {
|
|
|
4
4
|
this.placement = 'top-end';
|
|
5
5
|
}
|
|
6
6
|
render() {
|
|
7
|
-
return (h(Host, { key: '
|
|
7
|
+
return (h(Host, { key: '7ca829b625cb054e8d78fefdf89ecb42fc0b16e1', class: `p-toast-container placement-${this.placement}` }, h("slot", { key: '8f2bbca37514fbb8db6e60e24c96e32320ebee8d' })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "p-toast-container"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -104,13 +104,13 @@ export class Toggle {
|
|
|
104
104
|
*/
|
|
105
105
|
indeterminateChange;
|
|
106
106
|
render() {
|
|
107
|
-
return (h(Host, { key: '
|
|
107
|
+
return (h(Host, { key: '1f27b7358ddfe7998b7353f8365b728e9fb576cd', class: 'p-checkbox' }, h("label", { key: 'b055b9953c464554baf6c2c958806ae6995a6359', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'd8da28b8229fba7a35af8a57c5dec386a93b543f', class: 'group relative flex flex-shrink-0 items-center' }, h("input", { key: '275d3d8e8f0cad0bb62c6c7b19cb8553f08e27c0', class: checkbox({
|
|
108
108
|
size: this.size,
|
|
109
109
|
disabled: this.disabled,
|
|
110
|
-
}), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: '
|
|
110
|
+
}), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: 'b0c8d090f118586f92e88f3c9eac715ee7c8da7d', class: circle({
|
|
111
111
|
size: this.size,
|
|
112
112
|
disabled: this.disabled,
|
|
113
|
-
}) })), h("slot", { key: '
|
|
113
|
+
}) })), h("slot", { key: '8e0571323057af097c6bf41a5ac7c0f0dc9dd71a' }))));
|
|
114
114
|
}
|
|
115
115
|
_onChange(ev) {
|
|
116
116
|
if (this.disabled) {
|
|
@@ -83,19 +83,19 @@ export class Tooltip {
|
|
|
83
83
|
ref: el => this._load(el),
|
|
84
84
|
};
|
|
85
85
|
let tooltip;
|
|
86
|
-
const tooltipElement = (h("div", { key: '
|
|
86
|
+
const tooltipElement = (h("div", { key: '0a9e167ddc84ee7f583d37aed323c2cf02c1fa9f', class: popover({
|
|
87
87
|
variant: this.variant,
|
|
88
88
|
strategy: this.usePortal ? 'none' : this.strategy,
|
|
89
|
-
}), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: '
|
|
89
|
+
}), ...(this.usePortal ? {} : tooltipProps) }, h("div", { key: 'df2ac0c2212bdf2d0649ddb2a302fb74c654b262', class: 'flex gap-2' }, this.variant === 'error' && (h("div", { key: '102d4eca5af055bd733edd49191787bf7cffdf02', class: 'w-[2px] bg-negative-red' })), this.content ? this.content : h("slot", { name: 'content' }))));
|
|
90
90
|
if (this.usePortal) {
|
|
91
|
-
tooltip = (h("p-portal", { key: '
|
|
91
|
+
tooltip = (h("p-portal", { key: '1b8c71e02362b745c0db665215c3484f730b4261', class: portal({
|
|
92
92
|
strategy: this.strategy,
|
|
93
93
|
}), ...tooltipProps }, tooltipElement));
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
96
96
|
tooltip = tooltipElement;
|
|
97
97
|
}
|
|
98
|
-
return (h(Host, { key: '
|
|
98
|
+
return (h(Host, { key: '7a6070e29497d134306025162f4c6fb23dcf8a37', class: 'p-popover flex cursor-pointer' }, h("div", { key: '0482d4946e076d56d7264727eab6f6467472f195', class: 'relative h-inherit w-inherit' }, h("slot", { key: '7db62f696ce194cdded44a511d2f7dfd06ad7517', name: 'trigger' }), tooltip)));
|
|
99
99
|
}
|
|
100
100
|
clickHandler() {
|
|
101
101
|
if (this.variant === 'hover' || !this.enableUserInput) {
|
|
@@ -11,7 +11,7 @@ export class Accordion {
|
|
|
11
11
|
*/
|
|
12
12
|
isOpen;
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '0f0edc75d92baaea28a9e4b4193dbfbc24b0dca8', class: 'p-accordion' }, h("div", { key: '43df383fad37eb55fc3f2c25d468deae9dcbed1e', class: 'flex cursor-pointer items-center gap-3 text-storm-vague', onClick: () => this._onClick() }, h("p-icon", { key: '12527b51ce59eee60d78b3370d6108c6f726a5a4', class: 'flex', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: '54a6d7034150bbca73d086538d3dfbd048d49293', class: 'm-0 whitespace-nowrap text-lg font-medium' }, this.header), h("p-divider", { key: 'd4b96c50ca1a1c27b2b5da2a1cae9266427163bd' })), this.open && (h("div", { key: 'b206b9f9f46a2c85c9b96377f011318af8108d6b', class: 'mt-6' }, h("slot", { key: '95c99c9bb3a6f8da060271afe3f7e788c002df69' })))));
|
|
15
15
|
}
|
|
16
16
|
_onClick() {
|
|
17
17
|
if (!this.closeable && this.open) {
|
|
@@ -15,14 +15,14 @@ export class Attachment {
|
|
|
15
15
|
*/
|
|
16
16
|
delete;
|
|
17
17
|
render() {
|
|
18
|
-
let prefix = h("p-icon", { key: '
|
|
18
|
+
let prefix = h("p-icon", { key: 'fc2ff12026a3d49835f060e38af081d923437e92', variant: 'attachment' });
|
|
19
19
|
if (this.loading) {
|
|
20
|
-
prefix = h("p-loader", { key: '
|
|
20
|
+
prefix = h("p-loader", { key: '13f037239a365ff64c3e1dafb693bd91307a5d4c' });
|
|
21
21
|
}
|
|
22
22
|
if (this.error) {
|
|
23
|
-
prefix = (h("p-icon", { key: '
|
|
23
|
+
prefix = (h("p-icon", { key: '1d0b3853ea3f84afe570a91bc0186f611fd228bb', variant: 'warning', class: 'text-negative' }));
|
|
24
24
|
}
|
|
25
|
-
return (h(Host, { key: '
|
|
25
|
+
return (h(Host, { key: '28770175f555d1e0c84707dce0ca4f2ce5106625', class: 'p-attachment flex items-start gap-4' }, h("div", { key: 'e42f8fa6c30fe3b11c82c0de6887871e26f01446', class: `flex h-8 min-w-0 flex-1 items-center justify-start gap-2 rounded-lg bg-mystic px-2 ${this.error?.length ? 'text-negative' : 'text-storm-medium'}` }, prefix, h("span", { key: 'b8ab8bc0dd28eef5db6061a2efd659d029a1260d', class: 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap' }, h("slot", { key: '7a55028d58a7d959be7ff9dbd0c3673b179fdc19' })), this.error?.length && h("p-input-error", { key: '50a187071f5857dcb283245d8e94389fea97fff6', error: this.error })), h("p-button", { key: '2bc5660510cb29ed05961d21bff89c977126ecfe', variant: 'secondary', iconOnly: true, icon: this.mode === 'read' ? 'download' : 'trash', disabled: this.loading, loading: this.mode === 'read' && this.downloading, size: 'sm', onOnClick: () => (this.mode === 'read' ? this.download : this.delete).emit() })));
|
|
26
26
|
}
|
|
27
27
|
static get is() { return "p-attachment"; }
|
|
28
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -289,7 +289,7 @@ export class Button {
|
|
|
289
289
|
? 'a'
|
|
290
290
|
: 'button';
|
|
291
291
|
const active = this.active || this.class?.includes('active');
|
|
292
|
-
return (h(Host, { key: '
|
|
292
|
+
return (h(Host, { key: '6424b147500f9e23b58e9130969b3a6551207793', class: 'p-button block' }, h(VariableTag, { key: '7e8ff2d9c88e22a000462e58f4b192403067843e', disabled: this.disabled, href: this.href, type: this.variant !== 'text' ? this.type : undefined, target: this.target, class: button({
|
|
293
293
|
variant: this.variant,
|
|
294
294
|
size: this.size,
|
|
295
295
|
underline: this.underline,
|
|
@@ -298,14 +298,14 @@ export class Button {
|
|
|
298
298
|
buttonGroupPosition: this.buttonGroupPosition,
|
|
299
299
|
iconOnly: this.iconOnly,
|
|
300
300
|
active,
|
|
301
|
-
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: '
|
|
301
|
+
}) }, this.chevron && this.chevronPosition === 'start' && (h("p-icon", { key: 'efb172d6b7e7ec4a50f4afc85af7a0c83a65ebfd', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.icon &&
|
|
302
302
|
this.iconPosition === 'start' &&
|
|
303
303
|
!(this.iconOnly && this.loading) &&
|
|
304
|
-
this._getIcon(), h("slot", { key: '
|
|
304
|
+
this._getIcon(), h("slot", { key: '0baa166aedacae64b04d99cd539224e9315fc106' }), this.icon &&
|
|
305
305
|
this.iconPosition === 'end' &&
|
|
306
306
|
!this.loading &&
|
|
307
307
|
!this.chevron &&
|
|
308
|
-
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '
|
|
308
|
+
this._getIcon(), this.chevron && !this.loading && this.chevronPosition === 'end' && (h("p-icon", { key: '2add95303af94434a77a0c6b1935c886d4a3ddfa', variant: 'caret', rotate: this.chevron === 'up' ? 180 : 0 })), this.loading && h("p-loader", { key: '3aaa904697024393c651dcba83075bfcf07af844', color: loaderColor }))));
|
|
309
309
|
}
|
|
310
310
|
handleClick(ev) {
|
|
311
311
|
if (this.loading || this.disabled) {
|
|
@@ -11,7 +11,7 @@ export class ButtonGroup {
|
|
|
11
11
|
this._checkButtons();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '5320f683d3a2458172e091d07c79fb59ddf8890e', class: 'p-button-group flex items-center' }, h("slot", { key: 'a9d1f6af847795a20f8389188a7e6fedd4ab2c60' })));
|
|
15
15
|
}
|
|
16
16
|
slotchange() {
|
|
17
17
|
this._checkButtons();
|
|
@@ -139,7 +139,7 @@ export class Calendar {
|
|
|
139
139
|
.filter(date => isValid(date));
|
|
140
140
|
}
|
|
141
141
|
render() {
|
|
142
|
-
return (h(Host, { key: '
|
|
142
|
+
return (h(Host, { key: 'f63b07df1328a57cc35e085d1571e181ef7d4bc6', class: calendar({ variant: this.variant }) }, this._getView()));
|
|
143
143
|
}
|
|
144
144
|
_getView() {
|
|
145
145
|
if (this._view === 'year') {
|
|
@@ -39,9 +39,9 @@ export class ContentSlider {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h(Host, { key: '
|
|
42
|
+
return (h(Host, { key: 'e783ded65669f94fb8f4890624b967de22aaa356', class: "p-content-slider" }, h("div", { key: '596098993bda1ca9ae97a625986885c48eb6849b', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
|
|
43
43
|
height: `${this._outerHeight}px`,
|
|
44
|
-
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: '
|
|
44
|
+
}, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: '40b9daccd158e980521b92d1e8bdfa85336c527f', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '5ed5d24d35a24f2b69345d40aea7c488bc381ba3' }))), h("div", { key: '9eed8a08f02b7aba97e04ff55e72c651347a7ac6', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("p-slider-indicator", { active: i === this._visibleIndex })))))));
|
|
45
45
|
}
|
|
46
46
|
_mouseDownHandler(e) {
|
|
47
47
|
if (this.disableDrag || this._dragging) {
|
|
@@ -34,10 +34,10 @@ export class Cropper {
|
|
|
34
34
|
}, 200);
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'cf3ff15123161c366d73c97eae8eaef57baa5452', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: '28611bd08b26638165dbe3f18bec490a6ab2d90d', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '67bbbf0f4a0e835a410ec9812547624bc2b83909', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: '264614024cdfc56792f2508203ebfc0a1d4ee8dc', class: clsx({
|
|
38
38
|
'rounded-round': this.variant === 'user',
|
|
39
39
|
rounded: this.variant === 'company',
|
|
40
|
-
}), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '
|
|
40
|
+
}), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '3dcc1ed6c57736a627b510f5294291b5c1214683', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: 'e987c84b87f01162c7ab093d606463f189a16bf7', action: 'move', plain: true }))), h("div", { key: 'f75de6ebbd0e0e5e27ef6d455c5dad7467240d2e', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: '115a2f9d9cd815b172ecf132db230fa6ed0d0855', variant: 'minus' }), h("input", { key: '83aa40b551425dc62588d9308cc6c7a683fbbdf0', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: '64e60553e7ea9ee72fde7acdc6ff05fe298a639d', variant: 'plus' }))));
|
|
41
41
|
}
|
|
42
42
|
_setImageRef(ref) {
|
|
43
43
|
if (this._imageRef) {
|
|
@@ -112,7 +112,7 @@ export class Datepicker {
|
|
|
112
112
|
this.parseValue(this.value);
|
|
113
113
|
}
|
|
114
114
|
render() {
|
|
115
|
-
return (h(Host, { key: '
|
|
115
|
+
return (h(Host, { key: '63453905266faabeedd7d701572cf9ac2a7722c1', class: 'p-datepicker' }, h("p-dropdown", { key: '06f85b59084cd8ca887bf4299f7fc9f5dd4ca311', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: 'fb5a0f909aa2ea65afd25227b54bbeb76e11f0bf', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, disabled: this.disabled, focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), h("div", { key: 'f073cd37126b6540dc308b4c1770e906e31e95be', slot: 'items' }, h("p-calendar", { key: 'd1ca3cf3058485e7bc5197f398bc2f7f3342cd7d', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
|
|
116
116
|
}
|
|
117
117
|
documentClickHandler({ target }) {
|
|
118
118
|
if (!this._showDropdown || childOf(target, this._el)) {
|
|
@@ -69,12 +69,12 @@ export class Dropdown {
|
|
|
69
69
|
};
|
|
70
70
|
let dropdownContainer;
|
|
71
71
|
if (this.usePortal) {
|
|
72
|
-
dropdownContainer = (h("p-portal", { key: '
|
|
72
|
+
dropdownContainer = (h("p-portal", { key: '86ffcff551d96bc243504d6d6b3d07bbfc34a0b5', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: '0765572d22af5a168383b1d108d737f15c5fac27', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, h("slot", { key: '7e07948c37401209ad263d489d84d3b228c1ebc9', name: 'items' }))));
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
|
-
dropdownContainer = (h("p-dropdown-menu-container", { key: '
|
|
75
|
+
dropdownContainer = (h("p-dropdown-menu-container", { key: '02a521eec91448042ebe06a44eda62f3f7f2721d', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, h("slot", { key: '9feadf39471cf9a21cc54f254e9606bed0a22add', name: 'items' })));
|
|
76
76
|
}
|
|
77
|
-
return (h(Host, { key: '
|
|
77
|
+
return (h(Host, { key: 'f5553c381b470b227e88cd89c9cd54f8c3b6a3a5', class: 'p-dropdown relative' }, h("div", { key: 'b69a4afd2b82c44b3fe0a07f0de0c9f2c2298993', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: '88ee2ccfb753c4f8e8cc29c161124ad451f2530f', name: 'trigger' })), dropdownContainer));
|
|
78
78
|
}
|
|
79
79
|
_checkButtons(active = false) {
|
|
80
80
|
if (!this.applyChevron) {
|
|
@@ -135,16 +135,16 @@ export class Field {
|
|
|
135
135
|
_inputRef;
|
|
136
136
|
render() {
|
|
137
137
|
const { prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, } = this._getSlotInfo();
|
|
138
|
-
return (h(Host, { key: '
|
|
138
|
+
return (h(Host, { key: '6ee18d3003f95e306599804827d24bccb869fbac', class: 'p-field' }, h("p-field-container", { key: '253178a1a1f9d85dc5a2515d7daa3bdec3756685', forceShowTooltip: this.forceShowTooltip || this._focused, label: this.label, helper: this.helper, error: this.error, required: this.required }, hasLabelSlot && (h("slot", { key: '9ae351e4b130f2097c459889614d627426eb73f1', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '06b232eb4d1101e51027b1fcb296076252ec73da', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '28bae575c273efc6373d30d80a403508bac4b5f5', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '9c43b918c2b1901f1e374f300d6189cb31608ecb', name: 'error', slot: 'error' })), h("div", { key: 'e170a99bfbc5fa17c9c4465051219132360a8c3d', class: field({
|
|
139
139
|
error: !!this.error?.length,
|
|
140
140
|
disabled: this.disabled,
|
|
141
141
|
focused: this.focused || this._focused,
|
|
142
142
|
size: this.size,
|
|
143
|
-
}), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '
|
|
143
|
+
}), slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'ecf1fb9ec811e26c4123f97f5ba18d6cbc07750b', class: prefixAndSuffic({
|
|
144
144
|
error: !!this.error?.length,
|
|
145
145
|
disabled: this.disabled,
|
|
146
146
|
focused: this.focused || this._focused,
|
|
147
|
-
}), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getInput(), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '
|
|
147
|
+
}), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getInput(), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: 'fb6fcf5c393812d91b01cdb7ebb5bd74767656be', class: prefixAndSuffic({
|
|
148
148
|
error: !!this.error?.length,
|
|
149
149
|
disabled: this.disabled,
|
|
150
150
|
focused: this.focused || this._focused,
|
|
@@ -6,7 +6,7 @@ export class InputError {
|
|
|
6
6
|
this._showTooltip = false;
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: '1dfbd30a1da9a7662166b86f498a085c12b23f2a', class: 'p-input-error' }, h("p-tooltip", { key: 'c90ceaf3df4e65de6f52009ac1bd131783849911', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, h("p-icon", { key: '6cf02d8edb26b1b1a8f0b961ae61ab70fbf38846', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
|
|
10
10
|
}
|
|
11
11
|
static get is() { return "p-input-error"; }
|
|
12
12
|
static get encapsulation() { return "shadow"; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.bg-amber-100{--tw-bg-opacity:1!important;background-color:rgb(255 246 194/var(--tw-bg-opacity,1))!important}.bg-negative-red-100{--tw-bg-opacity:1!important;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))!important}.bg-positive-green-100{--tw-bg-opacity:1!important;background-color:rgb(213 251 199/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.bg-white-700{--tw-bg-opacity:1!important;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-amber-800{--tw-text-opacity:1!important;color:rgb(148 77 11/var(--tw-text-opacity,1))!important}.text-dark-teal-800{--tw-text-opacity:1!important;color:rgb(1 37 33/var(--tw-text-opacity,1))!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.text-positive-green-800{--tw-text-opacity:1!important;color:rgb(47 100 7/var(--tw-text-opacity,1))!important}.text-supportive-lilac-900{--tw-text-opacity:1!important;color:rgb(80 9 179/var(--tw-text-opacity,1))!important}@media (min-width:64rem){.desktop-xs\:block{display:block!important}.desktop-xs\:w-auto{width:auto!important}.desktop-xs\:py-0{padding-bottom:0!important;padding-top:0!important}}
|