@rededor/cura 1.5.1 → 1.6.0-alpha.0
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/dist/cjs/{app-globals-57c5b283.js → app-globals-5a7ddb39.js} +21 -2
- package/dist/cjs/app-globals-5a7ddb39.js.map +1 -0
- package/dist/cjs/{cura-accordion_12.cjs.entry.js → cura-accordion_18.cjs.entry.js} +689 -50
- package/dist/cjs/cura-accordion_18.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-alert.cjs.entry.js +2 -2
- package/dist/cjs/cura-alert.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-badge-counter.cjs.entry.js +2 -2
- package/dist/cjs/cura-badge-counter.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-badge-dot.cjs.entry.js +2 -2
- package/dist/cjs/cura-badge-dot.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-badge-pill.cjs.entry.js +2 -2
- package/dist/cjs/cura-badge-pill.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-button-outline.cjs.entry.js +2 -2
- package/dist/cjs/cura-button-outline.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-button-select.cjs.entry.js +2 -2
- package/dist/cjs/cura-button-select.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-calendar.cjs.entry.js +1 -1
- package/dist/cjs/cura-card.cjs.entry.js +1 -1
- package/dist/cjs/cura-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/cura-display.cjs.entry.js +2 -2
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js +28 -0
- package/dist/cjs/cura-dropdown-search-not-found.cjs.entry.js.map +1 -0
- package/dist/cjs/cura-dropdown-search-option-title.cjs.entry.js +2 -2
- package/dist/cjs/cura-dropdown-search-option.cjs.entry.js +4 -4
- package/dist/cjs/cura-dropdown-search-option.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-dropdown-search.cjs.entry.js +3 -3
- package/dist/cjs/cura-icons-view.cjs.entry.js +2 -2
- package/dist/cjs/cura-input-date.cjs.entry.js +3 -3
- package/dist/cjs/cura-input-date.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-loader-bar.cjs.entry.js +2 -2
- package/dist/cjs/cura-modal.cjs.entry.js +3 -3
- package/dist/cjs/cura-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/cura-progress-bar_2.cjs.entry.js +3 -3
- package/dist/cjs/cura-radio.cjs.entry.js +2 -2
- package/dist/cjs/cura-stepper.cjs.entry.js +2 -2
- package/dist/cjs/cura-switch.cjs.entry.js +2 -2
- package/dist/cjs/{cura-theme-module-14544f5f.js → cura-theme-module-a100c643.js} +9 -78
- package/dist/cjs/cura-theme-module-a100c643.js.map +1 -0
- package/dist/cjs/cura-toast.cjs.entry.js +2 -2
- package/dist/cjs/cura-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/cura-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/cura.cjs.js +5 -4
- package/dist/cjs/cura.cjs.js.map +1 -1
- package/dist/cjs/{index-e6d728ec.js → index-12d54921.js} +19 -2
- package/dist/cjs/index-12d54921.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +5 -4
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/static-4e83652c.js +76 -0
- package/dist/cjs/static-4e83652c.js.map +1 -0
- package/dist/collection/api/cura-api.js +19 -0
- package/dist/collection/api/cura-api.js.map +1 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +2 -2
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -1
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +6 -6
- package/dist/collection/components/badges/cura-badge-counter/cura-badge-counter.css +8 -8
- package/dist/collection/components/badges/cura-badge-distance/cura-badge-distance.css +5 -5
- package/dist/collection/components/badges/cura-badge-dot/cura-badge-dot.css +4 -4
- package/dist/collection/components/badges/cura-badge-pill/cura-badge-pill.css +6 -6
- package/dist/collection/components/buttons/cura-button/cura-button.css +15 -15
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.css +15 -15
- package/dist/collection/components/buttons/cura-button-select/cura-button-select.css +12 -12
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.css +15 -15
- package/dist/collection/components/cura-alert/cura-alert.css +5 -5
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.css +61 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.js +28 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.js.map +1 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.js +37 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.js.map +1 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.css +138 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js +592 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.js.map +1 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js +278 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.js.map +1 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.css +62 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js +44 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.js.map +1 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js +38 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.js.map +1 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.css +121 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.js +183 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.js.map +1 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.js +85 -0
- package/dist/collection/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.js.map +1 -0
- package/dist/collection/components/cura-icon/cura-icon.js +1 -1
- package/dist/collection/components/cura-icons-view/cura-icons-view.js +1 -1
- package/dist/collection/components/cura-modal/cura-modal.css +11 -11
- package/dist/collection/components/cura-modal/cura-modal.js +1 -1
- package/dist/collection/components/cura-page-template/cura-page-template.js +1 -1
- package/dist/collection/components/cura-stepper/cura-progress-bar/cura-progress-bar.js +1 -1
- package/dist/collection/components/cura-stepper/cura-stepper-item/cura-stepper-item.js +1 -1
- package/dist/collection/components/cura-stepper/cura-stepper.js +1 -1
- package/dist/collection/components/cura-toast/cura-toast.js +1 -1
- package/dist/collection/components/cura-tooltip/cura-tooltip.css +12 -12
- package/dist/collection/components/cura-tooltip/cura-tooltip.js +1 -1
- package/dist/collection/components/forms/cura-checkbox/cura-checkbox.js +1 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.css +5 -5
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option/cura-dropdown-search-option.js +2 -2
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search-option-title/cura-dropdown-search-option-title.js +1 -1
- package/dist/collection/components/forms/cura-dropdown-search/cura-dropdown-search.js +2 -2
- package/dist/collection/components/forms/cura-input-date/cura-input-date.css +3 -3
- package/dist/collection/components/forms/cura-input-date/cura-input-date.js +1 -1
- package/dist/collection/components/forms/cura-input-text/cura-input-text.css +4 -0
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js +65 -11
- package/dist/collection/components/forms/cura-input-text/cura-input-text.js.map +1 -1
- package/dist/collection/components/forms/cura-label/cura-label.js +6 -5
- package/dist/collection/components/forms/cura-label/cura-label.js.map +1 -1
- package/dist/collection/components/forms/cura-radio/cura-radio.js +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.js +3 -3
- package/dist/collection/components/forms/cura-select-options/cura-select-option.js +1 -1
- package/dist/collection/components/forms/cura-switch/cura-switch.js +1 -1
- package/dist/collection/components/loaders/cura-loader-bar/cura-loader-bar.js +1 -1
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.js +1 -1
- package/dist/collection/components/text/cura-display/cura-display.js +1 -1
- package/dist/collection/components/text/cura-heading/cura-heading.css +7 -6
- package/dist/collection/components/text/cura-heading/cura-heading.js +4 -19
- package/dist/collection/components/text/cura-heading/cura-heading.js.map +1 -1
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.css +7 -7
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js +6 -20
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.js.map +1 -1
- package/dist/collection/utils/FixedElementScrollBehavior.js +54 -0
- package/dist/collection/utils/FixedElementScrollBehavior.js.map +1 -0
- package/dist/collection/utils/utils.js +38 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/cura-accordion-item.js +1 -1
- package/dist/components/cura-accordion-item.js.map +1 -1
- package/dist/components/cura-accordion.js +2 -2
- package/dist/components/cura-accordion.js.map +1 -1
- package/dist/components/cura-alert.js +1 -1
- package/dist/components/cura-alert.js.map +1 -1
- package/dist/components/cura-badge-counter2.js +1 -1
- package/dist/components/cura-badge-counter2.js.map +1 -1
- package/dist/components/cura-badge-distance.js +1 -1
- package/dist/components/cura-badge-distance.js.map +1 -1
- package/dist/components/cura-badge-dot.js +1 -1
- package/dist/components/cura-badge-dot.js.map +1 -1
- package/dist/components/cura-badge-pill2.js +1 -1
- package/dist/components/cura-badge-pill2.js.map +1 -1
- package/dist/components/cura-button-outline.js +1 -1
- package/dist/components/cura-button-outline.js.map +1 -1
- package/dist/components/cura-button-select.js +1 -1
- package/dist/components/cura-button-select.js.map +1 -1
- package/dist/components/cura-button-transparent2.js +1 -1
- package/dist/components/cura-button-transparent2.js.map +1 -1
- package/dist/components/cura-button.js +1 -1
- package/dist/components/cura-button.js.map +1 -1
- package/dist/components/cura-checkbox.js +1 -1
- package/dist/components/cura-display.js +1 -1
- package/dist/components/cura-dropdown-search-category.d.ts +11 -0
- package/dist/components/cura-dropdown-search-category.js +49 -0
- package/dist/components/cura-dropdown-search-category.js.map +1 -0
- package/dist/components/cura-dropdown-search-new.d.ts +11 -0
- package/dist/components/cura-dropdown-search-new.js +406 -0
- package/dist/components/cura-dropdown-search-new.js.map +1 -0
- package/dist/components/cura-dropdown-search-not-found.d.ts +11 -0
- package/dist/components/cura-dropdown-search-not-found.js +48 -0
- package/dist/components/cura-dropdown-search-not-found.js.map +1 -0
- package/dist/components/cura-dropdown-search-option-new.d.ts +11 -0
- package/dist/components/cura-dropdown-search-option-new.js +81 -0
- package/dist/components/cura-dropdown-search-option-new.js.map +1 -0
- package/dist/components/cura-dropdown-search-option-title.js +1 -1
- package/dist/components/cura-dropdown-search-option.js +3 -3
- package/dist/components/cura-dropdown-search-option.js.map +1 -1
- package/dist/components/cura-dropdown-search.js +2 -2
- package/dist/components/cura-heading2.js +4 -17
- package/dist/components/cura-heading2.js.map +1 -1
- package/dist/components/cura-icon2.js +1 -1
- package/dist/components/cura-icons-view.js +1 -1
- package/dist/components/cura-input-date.js +2 -2
- package/dist/components/cura-input-date.js.map +1 -1
- package/dist/components/cura-input-text2.js +132 -7
- package/dist/components/cura-input-text2.js.map +1 -1
- package/dist/components/cura-label2.js +6 -5
- package/dist/components/cura-label2.js.map +1 -1
- package/dist/components/cura-loader-bar2.js +1 -1
- package/dist/components/cura-loader-circle2.js +1 -1
- package/dist/components/cura-modal.js +2 -2
- package/dist/components/cura-modal.js.map +1 -1
- package/dist/components/cura-page-template.js +1 -1
- package/dist/components/cura-paragraph2.js +7 -19
- package/dist/components/cura-paragraph2.js.map +1 -1
- package/dist/components/cura-progress-bar2.js +1 -1
- package/dist/components/cura-radio.js +1 -1
- package/dist/components/cura-select-option2.js +1 -1
- package/dist/components/cura-select2.js +3 -3
- package/dist/components/cura-stepper-item2.js +1 -1
- package/dist/components/cura-stepper.js +1 -1
- package/dist/components/cura-switch.js +1 -1
- package/dist/components/cura-toast.js +1 -1
- package/dist/components/cura-tooltip.js +2 -2
- package/dist/components/cura-tooltip.js.map +1 -1
- package/dist/components/index.js +28 -71
- package/dist/components/index.js.map +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.esm.js.map +1 -1
- package/dist/cura/index.esm.js +1 -1
- package/dist/cura/index.esm.js.map +1 -1
- package/dist/cura/p-02717e7d.entry.js +2 -0
- package/dist/cura/{p-629c34fe.entry.js.map → p-02717e7d.entry.js.map} +1 -1
- package/dist/cura/p-0a391c03.entry.js +2 -0
- package/dist/cura/{p-dbab7864.entry.js.map → p-0a391c03.entry.js.map} +1 -1
- package/dist/cura/p-18af52e4.entry.js +2 -0
- package/dist/cura/{p-4aefe237.entry.js.map → p-18af52e4.entry.js.map} +1 -1
- package/dist/cura/p-1b201271.js +2 -0
- package/dist/cura/p-1b201271.js.map +1 -0
- package/dist/cura/{p-3030774e.entry.js → p-24cd591e.entry.js} +2 -2
- package/dist/cura/p-24d9f1f4.entry.js +2 -0
- package/dist/cura/p-24d9f1f4.entry.js.map +1 -0
- package/dist/cura/{p-ec7876d3.entry.js → p-2afb14e9.entry.js} +2 -2
- package/dist/cura/{p-3c0931d3.entry.js → p-3576b633.entry.js} +2 -2
- package/dist/cura/p-46994182.entry.js +2 -0
- package/dist/cura/p-500f1256.entry.js +2 -0
- package/dist/cura/{p-545e8e55.entry.js.map → p-500f1256.entry.js.map} +1 -1
- package/dist/cura/{p-7f25f4dc.entry.js → p-5afb630e.entry.js} +2 -2
- package/dist/cura/{p-bd99ef4c.entry.js → p-6243742a.entry.js} +2 -2
- package/dist/cura/p-635c0f4d.entry.js +2 -0
- package/dist/cura/p-86d317f3.entry.js +2 -0
- package/dist/cura/p-86d317f3.entry.js.map +1 -0
- package/dist/cura/{p-ee8db3dc.entry.js → p-9214ee88.entry.js} +2 -2
- package/dist/cura/{p-70adcf7b.entry.js → p-9dd47ec6.entry.js} +2 -2
- package/dist/cura/p-af3ac476.js +3 -0
- package/dist/cura/p-af3ac476.js.map +1 -0
- package/dist/cura/{p-f30270f0.entry.js → p-b1d6ee8d.entry.js} +2 -2
- package/dist/cura/{p-bce10f9b.entry.js → p-bfaf9964.entry.js} +2 -2
- package/dist/cura/p-c0f445b5.entry.js +2 -0
- package/dist/cura/{p-8622c492.entry.js.map → p-c0f445b5.entry.js.map} +1 -1
- package/dist/cura/{p-d13e3295.entry.js → p-d227469a.entry.js} +2 -2
- package/dist/cura/p-d25142cd.entry.js +2 -0
- package/dist/cura/{p-529332d3.entry.js.map → p-d25142cd.entry.js.map} +1 -1
- package/dist/cura/p-d2da92d9.entry.js +2 -0
- package/dist/cura/{p-6b627841.entry.js.map → p-d2da92d9.entry.js.map} +1 -1
- package/dist/cura/p-daf9feac.js +2 -0
- package/dist/cura/p-daf9feac.js.map +1 -0
- package/dist/cura/p-e98a1ad2.entry.js +2 -0
- package/dist/cura/{p-b3e93e74.entry.js.map → p-e98a1ad2.entry.js.map} +1 -1
- package/dist/cura/p-ec4996c2.js +2 -0
- package/dist/cura/p-ec4996c2.js.map +1 -0
- package/dist/cura/p-ee7328a5.entry.js +2 -0
- package/dist/cura/{p-235ac0b4.entry.js.map → p-ee7328a5.entry.js.map} +1 -1
- package/dist/cura/{p-f96b0923.entry.js → p-f1098b41.entry.js} +2 -2
- package/dist/cura/p-fc9584dd.entry.js +2 -0
- package/dist/cura/{p-a4a1f6c6.entry.js.map → p-fc9584dd.entry.js.map} +1 -1
- package/dist/esm/{app-globals-036c3b80.js → app-globals-83a601d0.js} +21 -2
- package/dist/esm/app-globals-83a601d0.js.map +1 -0
- package/dist/esm/{cura-accordion_12.entry.js → cura-accordion_18.entry.js} +684 -51
- package/dist/esm/cura-accordion_18.entry.js.map +1 -0
- package/dist/esm/cura-alert.entry.js +2 -2
- package/dist/esm/cura-alert.entry.js.map +1 -1
- package/dist/esm/cura-badge-counter.entry.js +2 -2
- package/dist/esm/cura-badge-counter.entry.js.map +1 -1
- package/dist/esm/cura-badge-dot.entry.js +2 -2
- package/dist/esm/cura-badge-dot.entry.js.map +1 -1
- package/dist/esm/cura-badge-pill.entry.js +2 -2
- package/dist/esm/cura-badge-pill.entry.js.map +1 -1
- package/dist/esm/cura-button-outline.entry.js +2 -2
- package/dist/esm/cura-button-outline.entry.js.map +1 -1
- package/dist/esm/cura-button-select.entry.js +2 -2
- package/dist/esm/cura-button-select.entry.js.map +1 -1
- package/dist/esm/cura-calendar.entry.js +1 -1
- package/dist/esm/cura-card.entry.js +1 -1
- package/dist/esm/cura-checkbox.entry.js +2 -2
- package/dist/esm/cura-display.entry.js +2 -2
- package/dist/esm/cura-dropdown-search-not-found.entry.js +24 -0
- package/dist/esm/cura-dropdown-search-not-found.entry.js.map +1 -0
- package/dist/esm/cura-dropdown-search-option-title.entry.js +2 -2
- package/dist/esm/cura-dropdown-search-option.entry.js +4 -4
- package/dist/esm/cura-dropdown-search-option.entry.js.map +1 -1
- package/dist/esm/cura-dropdown-search.entry.js +3 -3
- package/dist/esm/cura-icons-view.entry.js +2 -2
- package/dist/esm/cura-input-date.entry.js +3 -3
- package/dist/esm/cura-input-date.entry.js.map +1 -1
- package/dist/esm/cura-loader-bar.entry.js +2 -2
- package/dist/esm/cura-modal.entry.js +3 -3
- package/dist/esm/cura-modal.entry.js.map +1 -1
- package/dist/esm/cura-progress-bar_2.entry.js +3 -3
- package/dist/esm/cura-radio.entry.js +2 -2
- package/dist/esm/cura-stepper.entry.js +2 -2
- package/dist/esm/cura-switch.entry.js +2 -2
- package/dist/esm/{cura-theme-module-b23f8ac8.js → cura-theme-module-59e8e460.js} +3 -72
- package/dist/esm/cura-theme-module-59e8e460.js.map +1 -0
- package/dist/esm/cura-toast.entry.js +2 -2
- package/dist/esm/cura-tooltip.entry.js +3 -3
- package/dist/esm/cura-tooltip.entry.js.map +1 -1
- package/dist/esm/cura.js +6 -5
- package/dist/esm/cura.js.map +1 -1
- package/dist/esm/{index-747aad85.js → index-717b36df.js} +19 -2
- package/dist/esm/index-717b36df.js.map +1 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +6 -5
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/static-061aa850.js +74 -0
- package/dist/esm/static-061aa850.js.map +1 -0
- package/dist/types/api/cura-api.d.ts +1 -0
- package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.d.ts +6 -0
- package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-category/cura-dropdown-search-category.stories.d.ts +27 -0
- package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-new.d.ts +127 -0
- package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-new.stories.d.ts +186 -0
- package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.d.ts +6 -0
- package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-not-found/cura-dropdown-search-not-found.stories.d.ts +27 -0
- package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.d.ts +44 -0
- package/dist/types/components/cura-dropdown-search-new/cura-dropdown-search-option-new/cura-dropdown-search-option-new.stories.d.ts +72 -0
- package/dist/types/components/forms/cura-input-text/cura-input-text.d.ts +12 -4
- package/dist/types/components/forms/cura-label/cura-label.d.ts +1 -0
- package/dist/types/components/text/cura-heading/cura-heading.d.ts +2 -3
- package/dist/types/components/text/cura-paragraph/cura-paragraph.d.ts +2 -2
- package/dist/types/components.d.ts +264 -9
- package/dist/types/utils/FixedElementScrollBehavior.d.ts +12 -0
- package/dist/types/utils/utils.d.ts +5 -0
- package/package.json +2 -2
- package/dist/cjs/app-globals-57c5b283.js.map +0 -1
- package/dist/cjs/cura-accordion_12.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-avatar.cjs.entry.js +0 -68
- package/dist/cjs/cura-avatar.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-badge-distance.cjs.entry.js +0 -46
- package/dist/cjs/cura-badge-distance.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-button-transparent.cjs.entry.js +0 -107
- package/dist/cjs/cura-button-transparent.cjs.entry.js.map +0 -1
- package/dist/cjs/cura-theme-module-14544f5f.js.map +0 -1
- package/dist/cjs/index-e6d728ec.js.map +0 -1
- package/dist/cura/p-1051a947.js +0 -2
- package/dist/cura/p-1051a947.js.map +0 -1
- package/dist/cura/p-164ddb46.entry.js +0 -2
- package/dist/cura/p-164ddb46.entry.js.map +0 -1
- package/dist/cura/p-235ac0b4.entry.js +0 -2
- package/dist/cura/p-4aefe237.entry.js +0 -2
- package/dist/cura/p-529332d3.entry.js +0 -2
- package/dist/cura/p-545e8e55.entry.js +0 -2
- package/dist/cura/p-557b90c4.entry.js +0 -2
- package/dist/cura/p-57ad7c56.entry.js +0 -2
- package/dist/cura/p-57ad7c56.entry.js.map +0 -1
- package/dist/cura/p-629c34fe.entry.js +0 -2
- package/dist/cura/p-62a3056f.entry.js +0 -2
- package/dist/cura/p-62a3056f.entry.js.map +0 -1
- package/dist/cura/p-6624108e.entry.js +0 -2
- package/dist/cura/p-6b627841.entry.js +0 -2
- package/dist/cura/p-8622c492.entry.js +0 -2
- package/dist/cura/p-935eeb7b.entry.js +0 -2
- package/dist/cura/p-935eeb7b.entry.js.map +0 -1
- package/dist/cura/p-a4a1f6c6.entry.js +0 -2
- package/dist/cura/p-b3e93e74.entry.js +0 -2
- package/dist/cura/p-d21364b2.js +0 -2
- package/dist/cura/p-d21364b2.js.map +0 -1
- package/dist/cura/p-dbab7864.entry.js +0 -2
- package/dist/cura/p-fd5ed6b0.js +0 -3
- package/dist/cura/p-fd5ed6b0.js.map +0 -1
- package/dist/esm/app-globals-036c3b80.js.map +0 -1
- package/dist/esm/cura-accordion_12.entry.js.map +0 -1
- package/dist/esm/cura-avatar.entry.js +0 -64
- package/dist/esm/cura-avatar.entry.js.map +0 -1
- package/dist/esm/cura-badge-distance.entry.js +0 -42
- package/dist/esm/cura-badge-distance.entry.js.map +0 -1
- package/dist/esm/cura-button-transparent.entry.js +0 -103
- package/dist/esm/cura-button-transparent.entry.js.map +0 -1
- package/dist/esm/cura-theme-module-b23f8ac8.js.map +0 -1
- package/dist/esm/index-747aad85.js.map +0 -1
- /package/dist/cura/{p-3030774e.entry.js.map → p-24cd591e.entry.js.map} +0 -0
- /package/dist/cura/{p-ec7876d3.entry.js.map → p-2afb14e9.entry.js.map} +0 -0
- /package/dist/cura/{p-3c0931d3.entry.js.map → p-3576b633.entry.js.map} +0 -0
- /package/dist/cura/{p-6624108e.entry.js.map → p-46994182.entry.js.map} +0 -0
- /package/dist/cura/{p-7f25f4dc.entry.js.map → p-5afb630e.entry.js.map} +0 -0
- /package/dist/cura/{p-bd99ef4c.entry.js.map → p-6243742a.entry.js.map} +0 -0
- /package/dist/cura/{p-557b90c4.entry.js.map → p-635c0f4d.entry.js.map} +0 -0
- /package/dist/cura/{p-ee8db3dc.entry.js.map → p-9214ee88.entry.js.map} +0 -0
- /package/dist/cura/{p-70adcf7b.entry.js.map → p-9dd47ec6.entry.js.map} +0 -0
- /package/dist/cura/{p-f30270f0.entry.js.map → p-b1d6ee8d.entry.js.map} +0 -0
- /package/dist/cura/{p-bce10f9b.entry.js.map → p-bfaf9964.entry.js.map} +0 -0
- /package/dist/cura/{p-d13e3295.entry.js.map → p-d227469a.entry.js.map} +0 -0
- /package/dist/cura/{p-f96b0923.entry.js.map → p-f1098b41.entry.js.map} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as a,h as o,H as e}from"./p-fd5ed6b0.js";const r=":host{display:block;box-sizing:border-box;width:100%}cura-label{padding:12px 0px;border-bottom:1px solid var(--neutral-light)}";const t=r;const s=class{constructor(o){a(this,o)}render(){return o(e,{key:"b378a877e6a90727e3216c284c2a064992f2dfc9",slot:"dropdown-search-option"},o("cura-label",{key:"e2d457a7d42bcacae09012322b19a54e44fb109f",color:"neutral-dark",size:"xsmall",lineHeight:"16px",marginBlock:"0"},o("slot",{key:"e889fa1839988a0f138e14ad15b0e250100ba38c"})))}};s.style=t;export{s as cura_dropdown_search_option_title};
|
|
2
|
-
//# sourceMappingURL=p-6624108e.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as r,H as e}from"./p-fd5ed6b0.js";const o=':host{display:block;position:relative;width:fit-content;height:fit-content}:host .container{width:calc(var(--base-spacing) * 2px);height:calc(var(--base-spacing) * 2px);position:relative;box-sizing:border-box}:host .container::before{width:100%;height:100%;position:absolute;left:0;top:0;content:"";box-sizing:border-box;border-radius:50%;border:1px solid var(--color-dark);background:var(--color)}:host .container.disabled::before{background:var(--neutral-pale);border:1px solid var(--neutral-medium)}:host .container.outline::before{background:transparent;border:2px solid var(--color)}:host .container.outline.disabled::before{border:2px solid var(--neutral-medium)}:host .container.transparent::before{background:var(--color-dark);border:none}:host .container.transparent.disabled::before{background:var(--neutral-medium);border:none}';const a=o;const s=class{constructor(r){t(this,r);this.theme=window.CuraAPI.theme;this.color="primary";this.disabled=false;this.type="solid";this.styles={}}connectedCallback(){this.styles["--base-spacing"]=this.theme.spacing.getSpacing();this.styles["--neutral-medium"]=this.theme.colors.getColor("neutral-dark");this.styles["--neutral-pale"]=this.theme.colors.getColor("neutral-pale");this.setColors()}setColors(){this.styles=Object.assign(Object.assign({},this.styles),{"--color":this.theme.colors.getColor(`${this.color}`),"--color-dark":this.theme.colors.getColor(`${this.color}-dark`)})}getClasses(){const t={container:true,disabled:this.disabled};t[`${this.type}`]=true;return t}render(){return r(e,{key:"00e335977fbb0677db9d95bab901a012ba8a5c06"},r("div",{key:"e828743793731c986f37dd6a9f7abdc78b63932b",class:this.getClasses(),style:this.styles}))}};s.style=a;export{s as cura_badge_dot};
|
|
2
|
-
//# sourceMappingURL=p-6b627841.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,c as a,h as r,H as e,g as o}from"./p-fd5ed6b0.js";const i=':host{position:absolute;z-index:99999;display:block;width:fit-content;height:fit-content;box-sizing:border-box}@media (max-width: 768px){:host{width:100%}}:host .container{display:flex;box-sizing:border-box;max-width:var(--max-width);height:auto;padding:calc(var(--base-spacing) * 2px);border:1px solid var(--neutral-light);border-radius:calc(var(--base-spacing) * 1px);background-color:var(--neutral-purewhite);box-shadow:0px 4px 8px 0px var(--neutral-black-shadow, rgba(38, 38, 38, 0.16))}@media (max-width: 768px){:host .container{max-width:90%;height:fit-content;padding:calc(var(--base-spacing) * 4px) calc(var(--base-spacing) * 4px) 0 calc(var(--base-spacing) * 4px);margin:0 auto;border:2px solid;border-radius:calc(var(--base-spacing) * 3px) calc(var(--base-spacing) * 3px) 0 0;border-color:var(--neutral-light) var(--neutral-light) transparent var(--neutral-light)}}:host .container::after{content:"";position:absolute;z-index:99999;width:calc(var(--base-spacing) * 2.5px);height:calc(var(--base-spacing) * 2.5px);border:1px solid;border-radius:2px;background-color:var(--neutral-purewhite);left:var(--arrow-left);top:var(--arrow-top);border-color:var(--arrow-border-color);transform:var(--arrow-translate) rotate(45deg)}@media (max-width: 768px){:host .container::after{display:none}}:host .container .content{flex:1 1 0;display:flex;flex-direction:column;gap:calc(var(--base-spacing) * 1px)}@media (max-width: 768px){:host .container .content{padding-bottom:calc(var(--base-spacing) * 4px);border-bottom:1px dashed var(--neutral-light)}}:host .container .close-icon{margin-left:calc(var(--base-spacing) * 3px);cursor:pointer}:host .container .close-button{padding:calc(var(--base-spacing) * 2px) 0}';const s=i;const n=768;const c=class{constructor(r){t(this,r);this.tooltipClosed=a(this,"tooltipClosed",7);this.styles={};this.handleClose=()=>{this.closeContainer()};this.elementId="";this.interactive=true;this.delay=250;this.maxWidth="280px";this.position="top";this.label=undefined;this.closeButton=false;this.isMobile=false}onWindowResize(){this.setPosition(this.targetElement)}onWindowScroll(){this.setPosition(this.targetElement)}connectedCallback(){this.setStyle()}render(){return r(e,{key:"3fe89da4d5b3a2830d4ab6a88e705b4cf2433289",role:"tooltip",id:this.elementId},r("div",{key:"6cece3dcbf275a851e0d53cb154b9dcf50a76948",class:"container",style:this.styles},r("div",{key:"802840b89feb6c4d89303da156f6f130e552a83b",class:"content"},r("cura-heading",{key:"ea98692d4fc34f05dcf8fcd5c325b8a1cd408226",level:4,size:"xsmall",color:"neutral-black",weight:"bold","margin-block":"0"},this.label),r("cura-paragraph",{key:"38bb7bf9f0a837813b490062ba5645f7148ac74b",color:"neutral-dark","spot-color":"secondary-darker",size:"xsmall",marginBlock:"0",lineHeight:"133.33%"},r("slot",{key:"960b6b6d8ee4636a31c2058aa4779050973e143e"}))),this.closeButton&&!this.isMobile&&r("cura-icon",{key:"d0bf72702fa8d24d1f5fac6fa473747bdaadcdaf",class:"close-icon",name:"close",size:16,color:"error-dark",onClick:this.handleClose}),this.isMobile&&r("cura-button-transparent",{key:"2213a6353b3d326ecde2e9eefe84811bd3161727",class:"close-button",size:"small",type:"button",color:"error","icon-name":"close","icon-position":"right",onClick:this.handleClose},"OK, entendi.")))}componentDidLoad(){var t,a,r,e,o;this.targetElement=document.querySelector(`[aria-labelledby="${this.elementId}"]`);if(!this.interactive){this.host.style.visibility="visible"}else{this.host.style.visibility="hidden";let i=null;let s=null;(t=this.targetElement)===null||t===void 0?void 0:t.addEventListener("mouseenter",(()=>{clearTimeout(s);i=setTimeout((()=>{this.host.style.visibility="visible"}),typeof this.delay==="number"&&this.delay>250?this.delay:250)}));(a=this.targetElement)===null||a===void 0?void 0:a.addEventListener("mouseleave",(()=>{clearTimeout(i);s=setTimeout((()=>{this.handleClose()}),typeof this.delay==="number"&&this.delay>250?this.delay:250)}));(r=this.host)===null||r===void 0?void 0:r.addEventListener("mouseenter",(()=>{if(window.getComputedStyle(this.host).visibility==="visible"){clearTimeout(s)}}));(e=this.host)===null||e===void 0?void 0:e.addEventListener("mouseleave",(()=>{clearTimeout(i);this.handleClose()}));(o=this.targetElement)===null||o===void 0?void 0:o.addEventListener("click",(()=>{if(window.getComputedStyle(this.host).visibility==="hidden"){i=setTimeout((()=>{this.host.style.visibility="visible"}),typeof this.delay==="number"&&this.delay>250?this.delay:250)}else{clearTimeout(i);this.handleClose()}}));document===null||document===void 0?void 0:document.addEventListener("click",(t=>{if(!this.targetElement.contains(t.target)&&!this.host.contains(t.target)){clearTimeout(i);this.handleClose()}}))}setTimeout((()=>{this.setPosition(this.targetElement)}),100)}setStyle(){this.styles=Object.assign(Object.assign({},this.styles),{"--max-width":this.maxWidth,"--base-spacing":window.CuraAPI.theme.spacing.getSpacing(),"--neutral-purewhite":window.CuraAPI.theme.colors.getColor(`neutral-purewhite`),"--neutral-light":window.CuraAPI.theme.colors.getColor(`neutral-light`),"--neutral-black-shadow":window.CuraAPI.theme.colors.getColor(`neutral-black`,.16)})}getClasses(){const[t,a]=this.position.split("-");const r={};r["container"]=true;if(t){r[t]=true}if(a){r[a]=true}return r}setPosition(t){const a=window.innerWidth;const r=window.innerHeight;const e=this.host.shadowRoot.querySelector(".container");this.isMobile=a<=n;this.host.style.position=this.isMobile?"fixed":"absolute";this.host.style.bottom=this.isMobile?"0":"unset";e.style.flexDirection=this.isMobile?"column":"row";if(this.isMobile){this.host.style.left="0";this.host.style.top="unset";return}const o={top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight};const i=this.host.getBoundingClientRect();const s=10;const c=10;const l=o.width*.5+18;const d=o.height*.5+18;const h=this.styles["--neutral-light"];let p=0;let b=0;const f=Object.keys(this.getClasses()).filter((t=>["top","left","bottom","right","start","end"].includes(t)));const u=({arrowTop:t="",arrowLeft:a="",translate:r="",borderColor:e=""})=>{if(a)this.host.style.setProperty("--arrow-left",a);if(t)this.host.style.setProperty("--arrow-top",t);if(r)this.host.style.setProperty("--arrow-translate",r);if(e)this.host.style.setProperty("--arrow-border-color",e)};if(f.includes("top")||f.includes("bottom")){u({arrowLeft:"50%",translate:"translateX(-50%)"});if(f.includes("top")){b=o.top-i.height-c;u({arrowTop:"calc(100% - 6px)",borderColor:`transparent ${h} ${h} transparent`});if(b<s){b=o.top+o.height+c;u({arrowTop:"-6px",borderColor:`${h} transparent transparent ${h}`})}}if(f.includes("bottom")){b=o.top+o.height+c;u({arrowTop:"-6px",borderColor:`${h} transparent transparent ${h}`});if(b+i.height>r-s){b=o.top-i.height-c;u({arrowTop:"calc(100% - 6px)",borderColor:`transparent ${h} ${h} transparent`})}}p=o.left+(o.width-i.width)/2;if(f.includes("start")){p=o.left-i.width+l;u({arrowLeft:"calc(100% - 18px)"});if(p<s){p=o.left+o.width-l;u({arrowLeft:"18px"})}}if(f.includes("end")){p=o.left+o.width-l;u({arrowLeft:"18px"});if(p+i.width>a-s){p=o.left-i.width+l;u({arrowLeft:"calc(100% - 18px)"})}}}if(f.includes("right")||f.includes("left")){u({arrowTop:"50%",translate:"translateY(-50%)"});if(f.includes("right")){p=o.left+o.width+c;u({arrowLeft:"-6px",borderColor:`transparent transparent ${h} ${h}`});if(p+i.width>a-s){p=o.left-i.width-c;u({arrowLeft:"calc(100% - 6px)",borderColor:`${h} ${h} transparent transparent`})}}if(f.includes("left")){p=o.left-i.width-c;u({arrowLeft:"calc(100% - 6px)",borderColor:`${h} ${h} transparent transparent`});if(p<s){p=o.left+o.width+c;u({arrowLeft:"-6px",borderColor:`transparent transparent ${h} ${h}`})}}b=o.top+(o.height-i.height)/2;if(f.includes("start")){b=o.top-i.height+d;u({arrowTop:"calc(100% - 18px)"});if(b<s){b=o.top+o.height-d;u({arrowTop:"18px"})}}if(f.includes("end")){b=o.top+o.height-d;u({arrowTop:"18px"});if(b+i.height>r-s){b=o.top-i.height+d;u({arrowTop:"calc(100% - 18px)"})}}}this.host.style.left=`${p}px`;this.host.style.top=`${b}px`}closeContainer(){this.host.style.visibility="hidden";this.tooltipClosed.emit()}get host(){return o(this)}};c.style=s;export{c as cura_tooltip};
|
|
2
|
-
//# sourceMappingURL=p-8622c492.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as a,h as e,H as t}from"./p-fd5ed6b0.js";const s=":host .container{display:flex;flex-direction:column;justify-content:center;align-items:center;width:calc(var(--base-spacing) * 10px);height:calc(var(--base-spacing) * 10px);border-radius:calc(var(--base-spacing) * 1px);background:var(--neutral-pale)}";const c=s;const i=class{constructor(e){a(this,e);this.isThousandRounded=false;this.theme=window.CuraAPI.theme;this.distance=0;this.label="km";this.styles={};this.displayDistance=0}formatDistance(){const a=this.distance%1!==0?parseFloat(this.distance.toFixed(1)):this.distance;this.isThousandRounded=Math.abs(a)>=1e3;this.displayDistance=this.isThousandRounded?parseFloat((a/1e3).toFixed(1)):a}connectedCallback(){this.setCssProperties();this.formatDistance()}render(){return e(t,{key:"cdc206deecbed2e069befda5d21ddcaf03049afc"},e("div",{key:"d22d2b5b97964281e8588fbc17a66f3fddcd875e",class:"container",style:this.styles},e("cura-label",{key:"0d54ab1ad403ba23a57fb78a422ed8c577cd627e",size:"xsmall",weight:"bold",color:"neutral-black"},this.displayDistance,this.isThousandRounded?"K":""),e("cura-label",{key:"d4929a67484bbfd6d6f3edce82414951ea4778c8",size:"xsmall",weight:"bold",color:"neutral-dark"},this.label)))}setCssProperties(){this.styles={"--neutral-pale":this.theme.colors.getColor(`neutral-pale`),"--base-spacing":this.theme.spacing.getSpacing()}}static get watchers(){return{distance:["formatDistance"]}}};i.style=c;export{i as cura_badge_distance};
|
|
2
|
-
//# sourceMappingURL=p-935eeb7b.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["curaBadgeDistanceCss","CuraBadgeDistanceStyle0","CuraDistance","this","isThousandRounded","theme","window","CuraAPI","formatDistance","roundedDistance","distance","parseFloat","toFixed","Math","abs","displayDistance","connectedCallback","setCssProperties","render","h","Host","key","class","style","styles","size","weight","color","label","colors","getColor","spacing","getSpacing"],"sources":["src/components/badges/cura-badge-distance/cura-badge-distance.scss?tag=cura-badge-distance&encapsulation=shadow","src/components/badges/cura-badge-distance/cura-badge-distance.tsx"],"sourcesContent":["@import \"../../../scss/mixins/spacing.scss\";\n\n:host {\n .container{\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n width: calc(#{$base-spacing} * 10px);\n height: calc(#{$base-spacing} * 10px);\n border-radius: calc(#{$base-spacing} * 1px);\n background: var(--neutral-pale);\n }\n}\n","import { Component, Host, Prop, State, Watch, h } from '@stencil/core';\n\n@Component({\n tag: 'cura-badge-distance',\n styleUrl: 'cura-badge-distance.scss',\n shadow: true,\n})\nexport class CuraDistance {\n\n @Prop() distance = 0;\n @Prop({ reflect: true }) label = 'km';\n @State() styles = {};\n @State() displayDistance = 0;\n isThousandRounded = false;\n\n theme = window.CuraAPI.theme;\n\n @Watch('distance')\n formatDistance() {\n const roundedDistance = this.distance % 1 !== 0 ? parseFloat(this.distance.toFixed(1)) : this.distance; \n this.isThousandRounded = Math.abs(roundedDistance) >= 1000;\n this.displayDistance = this.isThousandRounded ? parseFloat((roundedDistance / 1000).toFixed(1)) : roundedDistance;\n }\n\n\n connectedCallback(){\n this.setCssProperties();\n this.formatDistance(); \n }\n\n render() {\n return (\n <Host>\n <div class=\"container\" style={this.styles}>\n <cura-label size='xsmall' weight='bold' color='neutral-black'>\n {this.displayDistance}{this.isThousandRounded ? 'K' : ''}\n </cura-label>\n <cura-label size='xsmall' weight='bold' color='neutral-dark'>\n {this.label}\n </cura-label>\n </div>\n </Host>\n );\n }\n\n setCssProperties() {\n this.styles = {\n '--neutral-pale': this.theme.colors.getColor(`neutral-pale`),\n '--base-spacing': this.theme.spacing.getSpacing()\n }\n }\n\n}\n"],"mappings":"kDAAA,MAAMA,EAAuB,6PAC7B,MAAAC,EAAeD,E,MCMFE,EAAY,M,yBAMvBC,KAAAC,kBAAoB,MAEpBD,KAAAE,MAAQC,OAAOC,QAAQF,M,cANJ,E,WACc,K,YACf,G,qBACS,C,CAM3B,cAAAG,GACE,MAAMC,EAAkBN,KAAKO,SAAW,IAAM,EAAIC,WAAWR,KAAKO,SAASE,QAAQ,IAAMT,KAAKO,SAC9FP,KAAKC,kBAAoBS,KAAKC,IAAIL,IAAoB,IACtDN,KAAKY,gBAAkBZ,KAAKC,kBAAoBO,YAAYF,EAAkB,KAAMG,QAAQ,IAAMH,C,CAIpG,iBAAAO,GACEb,KAAKc,mBACLd,KAAKK,gB,CAGP,MAAAU,GACE,OACEC,EAACC,EAAI,CAAAC,IAAA,4CACHF,EAAA,OAAAE,IAAA,2CAAKC,MAAM,YAAYC,MAAOpB,KAAKqB,QACjCL,EAAA,cAAAE,IAAA,2CAAYI,KAAK,SAASC,OAAO,OAAOC,MAAM,iBAC3CxB,KAAKY,gBAAiBZ,KAAKC,kBAAoB,IAAM,IAExDe,EAAA,cAAAE,IAAA,2CAAYI,KAAK,SAASC,OAAO,OAAOC,MAAM,gBAC3CxB,KAAKyB,Q,CAOhB,gBAAAX,GACEd,KAAKqB,OAAS,CACZ,iBAAkBrB,KAAKE,MAAMwB,OAAOC,SAAS,gBAC7C,iBAAkB3B,KAAKE,MAAM0B,QAAQC,a","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as a,c as e,h as t,H as s}from"./p-fd5ed6b0.js";const i=":host{display:block}.modal{position:fixed;height:100%;width:100%;top:var(--top-offset);bottom:var(--bottom-offset);left:var(--left-offset);right:var(--right-offset);z-index:-1;margin-top:var(--offset-top)}.modal.open{z-index:var(--zIndex)}.modal.open .backdrop,.modal.open .wrapper{opacity:1;visibility:visible;animation:fadeIn 0.3s ease-out}.container{display:flex;align-items:center;justify-content:center}.backdrop,.wrapper{opacity:0;visibility:hidden;transition:opacity 0.3s ease, visibility 0.3s ease}.backdrop{background-color:var(--background-color);z-index:calc(var(--zIndex) - 10);animation:fadeIn 0.3s ease-out}.wrapper{position:fixed;background-color:var(--neutral-white);border:2px solid var(--neutral-light);border-radius:calc(var(--base-spacing) * 3px);max-width:600px;min-width:200px;padding:0px calc(var(--base-spacing) * 4px) calc(var(--base-spacing) * 4px) calc(var(--base-spacing) * 4px);z-index:var(--zIndex);box-shadow:0px 8px 16px 0px var(--neutral-black-shadow-4, rgba(38, 38, 38, 0.12));transform:scale(0.95);transition:transform 0.3s ease-out, opacity 0.3s ease, visibility 0.3s ease}.wrapper ::slotted(*){max-height:80vh;overflow:auto;padding-right:calc(var(--base-spacing) * 5px)}.modal.open .wrapper{transform:scale(1);opacity:1;visibility:visible}.close{justify-self:flex-end;padding-top:calc(var(--base-spacing) * 4px);background:none;border:none;cursor:pointer}.close.mobile{display:none}.close.desktop{display:flex}@media (max-width: 768px){.wrapper{position:fixed;bottom:0px;width:80%;padding-top:calc(var(--base-spacing) * 4px);padding-bottom:0px;border-radius:calc(var(--base-spacing) * 3px) calc(var(--base-spacing) * 3px) 0px 0px;border-bottom:none}.close{align-items:center;border-top:1px dashed var(--neutral-light);margin-top:calc(var(--base-spacing) * 4px);padding:calc(var(--base-spacing) * 4px) 0px;justify-content:center;width:100%}.close.mobile{display:flex;gap:calc(var(--base-spacing) * 2px)}.close.desktop{display:none}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{from{opacity:1}to{opacity:0}}";const o=i;const r=class{constructor(t){a(this,t);this.modalClose=e(this,"modalClose",7);this.handleClose=()=>{this.modalClose.emit();this.open=false};this.open=false;this.background="light";this.top=0;this.bottom=0;this.left=0;this.right=0;this.mobileCloseLabel="Fechar";this.zindex="100";this.styles={}}setColors(){const a={dark:window.CuraAPI.theme.colors.getColor("neutral-black",.4),light:window.CuraAPI.theme.colors.getColor("primary-darker",.8)};this.styles=Object.assign(Object.assign({},this.styles),{"--background-color":a[this.background]})}setOffset(a,e){this.styles=Object.assign(Object.assign({},this.styles),{[`--${a}-offset`]:`${e}px`})}setTop(){this.setOffset("top",this.top)}setBottom(){this.setOffset("bottom",this.bottom)}setLeft(){this.setOffset("left",this.left)}setRight(){this.setOffset("right",this.right)}connectedCallback(){this.styles=Object.assign(Object.assign({},this.styles),{"--neutral-white":window.CuraAPI.theme.colors.getColor("neutral-white"),"--neutral-light":window.CuraAPI.theme.colors.getColor("neutral-light"),"--base-spacing":window.CuraAPI.theme.spacing.getSpacing()});this.setColors();this.setTop();this.setBottom();this.setLeft();this.setRight()}render(){return t(s,{key:"50f4146aed5392ae16803fb060d4921a5e8a3271",role:"dialog","aria-modal":"true",style:{"--zIndex":this.zindex}},t("div",{key:"149e99a4b8b479515ed3d67c5c8aea08d4d96d1c",class:this.open?"modal container open":"modal container",style:this.styles},t("div",{key:"f32f7f7e16475c51babf95e1ca5f4fea449c1bb0",class:this.open?"modal backdrop open":"modal backdrop",onClick:this.handleClose}),t("div",{key:"183f7ab8f2cee8106795f6104c38a2c93272387f",class:"wrapper"},t("button",{key:"28778c8120c92dfcae0443dccd21f55a204bd82e",class:"close desktop",onClick:this.handleClose},t("cura-icon",{key:"a847de5c1314ea1460673870334f3f98e98f1cf9",name:"close",color:"error-dark",size:"small"})),t("slot",{key:"e08b556b7232425c2b83a21dac75d30fb4361a83"}),t("button",{key:"e736a95f878ff5a2ad6897d9140fd74b26939445",class:"close mobile",onClick:this.handleClose},t("cura-icon",{key:"9eaeaca6f4ea9d3cde5fd44e108de389c727f991",name:"close",color:"error-dark",size:"16"}),t("cura-paragraph",{key:"2476b85e5dd7d6092d3d1d1714ee4a79b73b12d0",color:"error-dark",size:"small",marginBlock:"0"},this.mobileCloseLabel)))))}static get watchers(){return{background:["setColors"],top:["setTop"],bottom:["setBottom"],left:["setLeft"],right:["setRight"]}}};r.style=o;export{r as cura_modal};
|
|
2
|
-
//# sourceMappingURL=p-a4a1f6c6.entry.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,c as s,h as t,H as c,g as a}from"./p-fd5ed6b0.js";const i=":host{display:block;box-sizing:border-box}:host .conteiner{display:flex;box-sizing:border-box;padding:calc(var(--base-spacing) * 3px);gap:calc(var(--base-spacing) * 3px);flex-shrink:0;border:1px solid var(--color-base);border-radius:4px;background-color:var(--color-lighter)}:host .conteiner.floating{box-shadow:0px 4px 8px 0px rgba(38, 38, 38, 0.16)}:host .content{flex:1;flex-direction:column;display:flex;gap:calc(var(--base-spacing) * 1px)}:host .icon-right{cursor:pointer}";const r=i;const o=class{constructor(t){e(this,t);this.close=s(this,"close",7);this.handleClose=()=>{this.close.emit();this.host.remove()};this.type="info";this.floating=false;this.label=undefined;this.closeable=true;this.icon=undefined;this.styles={}}setColors(){const e=[{name:"--color-lighter",theme:`${this.type}-lighter`},{name:"--neutral-black",theme:"neutral-black"},{name:"--color-light",theme:`${this.type}-light`},{name:"--color-base",theme:`${this.type}-base`}];e.forEach((e=>{this.styles[e.name]=window.CuraAPI.theme.colors.getColor(e.theme)}));this.styles=Object.assign({},this.styles)}connectedCallback(){this.styles["--base-spacing"]=window.CuraAPI.theme.spacing.getSpacing();this.setColors()}getClasses(){const e={};e["conteiner"]=true;e["floating"]=this.floating;return e}getNameIcon(){const e={info:"infoCircle",success:"checkCircle",warning:"alertCircle",error:"alertTriangle"};return this.icon?this.icon:e[this.type]}render(){return t(c,{key:"a0b22404673b1568b9cb937150dda71ce4c99d50"},t("div",{key:"c30bf1b97d1e1ffaf334ef3bca6cdd1f081c679c",class:this.getClasses(),style:this.styles},t("cura-icon",{key:"1bd88c8a19e073d7b9d967d8df38bb74063cd110",name:this.getNameIcon(),class:"icon-left",size:16,color:`${this.type}-dark`}),t("div",{key:"0df09a27c27c7e1743f7cfb9e71c96b102ff4484",class:"content"},this.label?t("cura-label",{class:"title",size:"small",color:"neutral-darker",weight:"bold"},this.label):"",t("cura-paragraph",{key:"687cc7ab050299f0878c2d10ccd28e92708db85d",class:"text",color:`${this.type}-darker`,size:"xsmall",marginBlock:"0",lineHeight:"133.33%"},t("slot",{key:"e2d85d40e65029ea71a43aa23e7298d6dcc7efa9"})),t("slot",{key:"a28fe90c9bfe2b9fb22f196eab7bb2e09e408dbf",name:"actions"})),this.closeable?t("cura-icon",{name:"close",size:16,color:"error-dark",class:"icon-right",onClick:this.handleClose}):""))}get host(){return a(this)}static get watchers(){return{type:["setColors"]}}};o.style=r;export{o as cura_alert};
|
|
2
|
-
//# sourceMappingURL=p-b3e93e74.entry.js.map
|
package/dist/cura/p-d21364b2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{C as t}from"./p-1051a947.js";class n{constructor(n){this.localAssetsPath=n&&n.localAssetsPath?n.localAssetsPath:`/assets`;const o=new t;this.theme={load:function(t){o.load(t)},setCustom:function(t){o.setCustom(t)},colors:{getColor:function(t,n){return o.colors.getColor(t,n)}},fonts:{getFamily:function(t){return o.fonts.getFamily(t)},getWeights:function(){return o.fonts.getWeights()},getSize:function(){return o.fonts.getSize()},getColor:function(){return o.fonts.getColor()}},spacing:{getSpacing:function(){return o.spacing.getSpacing()}},breakpoints:{get:function(t,n){return o.breakpoints.get(t,n)}}};if(n&&n.customTheme){this.theme.setCustom(n.customTheme)}else{const t=n&&n.theme?n.theme:"default";this.theme.load(t)}}}function o(){const t=window.CuraInit;window.CuraAPI=t?new n(t):new n;const o=window.CuraAPI;window.dispatchEvent(new CustomEvent("CuraAPIReady",{detail:{api:o}}));if(t&&typeof t.onReady==="function")t.onReady(o)}const e=o;export{e as g};
|
|
2
|
-
//# sourceMappingURL=p-d21364b2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["CuraAPI","constructor","config","this","localAssetsPath","themeModule","CuraThemeModule","theme","load","themeTag","setCustom","customThemeDefinitions","colors","getColor","colorWithDepth","opacity","fonts","getFamily","type","getWeights","getSize","spacing","getSpacing","breakpoints","get","size","position","customTheme","window","CuraInit","api","dispatchEvent","CustomEvent","detail","onReady","globalScripts","appGlobalScript"],"sources":["src/api/cura-api.ts","src/rededor-cura-start.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { CuraConfig, APIThemeFunctions, CuraCustomTheme } from './cura-api.type';\nimport CuraThemeModule from './modules/cura-theme-module';\n\nexport default class CuraAPI {\n\n theme: APIThemeFunctions;\n localAssetsPath: string;\n\n constructor (config?: CuraConfig) {\n this.localAssetsPath = config && config.localAssetsPath ? config.localAssetsPath : `/assets`;\n const themeModule = new CuraThemeModule();\n this.theme = {\n load: function(themeTag: string) { themeModule.load(themeTag); },\n setCustom: function(customThemeDefinitions: CuraCustomTheme) { themeModule.setCustom(customThemeDefinitions); },\n colors: {\n getColor: function(colorWithDepth?: string, opacity?: number) { return themeModule.colors.getColor(colorWithDepth, opacity) },\n },\n fonts: {\n getFamily: function(type?: string) { return themeModule.fonts.getFamily(type) },\n getWeights: function() { return themeModule.fonts.getWeights() },\n getSize: function() { return themeModule.fonts.getSize() },\n getColor: function() { return themeModule.fonts.getColor() }\n },\n spacing: {\n getSpacing: function() { return themeModule.spacing.getSpacing(); },\n },\n breakpoints: {\n get: function(size?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge', position?: 'min' | 'max') { return themeModule.breakpoints.get(size, position); }\n }\n };\n if (config && config.customTheme) {\n this.theme.setCustom(config.customTheme);\n } else {\n const theme = config && config.theme ? config.theme : 'default';\n this.theme.load(theme);\n }\n }\n\n}\n","import CuraAPI from './api/cura-api';\nimport { CuraConfig } from './api/cura-api.type';\n// import { setAssetPath } from '@stencil/core';\n\n// setAssetPath(import.meta.url);\ndeclare global {\n interface Window {\n CuraAPI?: CuraAPI,\n CuraInit?: CuraConfig\n }\n}\n\nexport default function() {\n const config = window.CuraInit;\n window.CuraAPI = config ? new CuraAPI(config) : new CuraAPI();\n const api = window.CuraAPI;\n window.dispatchEvent(new CustomEvent(\"CuraAPIReady\", { detail: {api} }));\n if (config && typeof config.onReady === 'function') config.onReady(api);\n}\n","import appGlobalScript from '/Users/fellipesoares/Code/cura/packages/component-lib/src/rededor-cura-start.ts';\nexport const globalScripts = appGlobalScript;\n"],"mappings":"0CAGqBA,EAKnB,WAAAC,CAAaC,GACXC,KAAKC,gBAAkBF,GAAUA,EAAOE,gBAAkBF,EAAOE,gBAAkB,UACnF,MAAMC,EAAc,IAAIC,EACxBH,KAAKI,MAAQ,CACXC,KAAM,SAASC,GAAoBJ,EAAYG,KAAKC,EAAU,EAC9DC,UAAW,SAASC,GAA2CN,EAAYK,UAAUC,EAAwB,EAC7GC,OAAQ,CACNC,SAAU,SAASC,EAAyBC,GAAoB,OAAOV,EAAYO,OAAOC,SAASC,EAAgBC,EAAQ,GAE7HC,MAAO,CACLC,UAAW,SAASC,GAAiB,OAAOb,EAAYW,MAAMC,UAAUC,EAAK,EAC7EC,WAAY,WAAa,OAAOd,EAAYW,MAAMG,YAAY,EAC9DC,QAAS,WAAa,OAAOf,EAAYW,MAAMI,SAAS,EACxDP,SAAU,WAAa,OAAOR,EAAYW,MAAMH,UAAU,GAE5DQ,QAAS,CACPC,WAAY,WAAa,OAAOjB,EAAYgB,QAAQC,YAAa,GAEnEC,YAAa,CACXC,IAAK,SAASC,EAA2DC,GAA4B,OAAOrB,EAAYkB,YAAYC,IAAIC,EAAMC,EAAU,IAG5J,GAAIxB,GAAUA,EAAOyB,YAAa,CAChCxB,KAAKI,MAAMG,UAAUR,EAAOyB,Y,KACvB,CACL,MAAMpB,EAAQL,GAAUA,EAAOK,MAAQL,EAAOK,MAAQ,UACtDJ,KAAKI,MAAMC,KAAKD,E,gBCrBpB,MAAML,EAAS0B,OAAOC,SACtBD,OAAO5B,QAAUE,EAAS,IAAIF,EAAQE,GAAU,IAAIF,EACpD,MAAM8B,EAAMF,OAAO5B,QACnB4B,OAAOG,cAAc,IAAIC,YAAY,eAAgB,CAAEC,OAAQ,CAACH,UAChE,GAAI5B,UAAiBA,EAAOgC,UAAY,WAAYhC,EAAOgC,QAAQJ,EACrE,CCjBY,MAACK,EAAgBC,S","ignoreList":[]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as o,H as i}from"./p-fd5ed6b0.js";import{l as s}from"./p-efcb32eb.js";const a=':host{--border-radius:4px;display:inline-block;vertical-align:middle;position:relative}:host button,:host a{outline:none;box-shadow:none;box-sizing:border-box;display:flex;width:100%;align-items:center;justify-content:center;text-decoration:none !important;font-size:var(--font-size);cursor:pointer;transition:background-color 0.07s linear, box-shadow 0.07s linear, border-color 0.07s linear;border-radius:var(--border-radius);position:relative;background-color:transparent;box-sizing:border-box;border:none}:host button:focus,:host a:focus{outline:2px solid #6EA8FF}:host button::before,:host a::before{content:"";width:100%;height:100%;position:absolute;left:0px;top:0px;box-sizing:border-box;border:2px solid var(--color-dark-neutral-purewhite);border-radius:var(--border-radius)}:host button:not(.disabled):not(.isLoading):hover,:host a:not(.disabled):not(.isLoading):hover{background-color:var(--color-lighter-color-darker)}:host button:not(.disabled):not(.inverted):not(.isLoading):active,:host a:not(.disabled):not(.inverted):not(.isLoading):active{background-color:var(--color-light-color-darker)}:host button.large,:host a.large{padding:calc(var(--base-spacing) * 3px) calc(var(--base-spacing) * 4px);min-height:calc(var(--base-spacing) * 11px)}:host button.medium,:host a.medium{padding:calc(var(--base-spacing) * 3px);min-height:calc(var(--base-spacing) * 10px)}:host button.small,:host a.small{padding:calc(var(--base-spacing) * 2px);min-height:calc(var(--base-spacing) * 8px)}:host button .button-container,:host a .button-container{display:flex;align-items:center;opacity:1;transition:opacity 0.2s linear;position:relative}:host button.icon-right .button-container,:host a.icon-right .button-container{flex-direction:row-reverse}:host button.justify .button-container,:host a.justify .button-container{width:100%}:host button cura-label,:host a cura-label{flex:1;text-align:var(--text-align, "left")}:host button.icon-left cura-icon,:host a.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 3px)}:host button.icon-right cura-icon,:host a.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 3px)}:host button.medium.icon-left cura-icon,:host button.small.icon-left cura-icon,:host a.medium.icon-left cura-icon,:host a.small.icon-left cura-icon{margin-right:calc(var(--base-spacing) * 2px)}:host button.medium.icon-right cura-icon,:host button.small.icon-right cura-icon,:host a.medium.icon-right cura-icon,:host a.small.icon-right cura-icon{margin-left:calc(var(--base-spacing) * 2px)}:host button.disabled,:host a.disabled{cursor:not-allowed}:host button.disabled::before,:host a.disabled::before{border-color:var(--neutral-dark)}:host button.icon-only,:host a.icon-only{padding:calc(var(--base-spacing) * 3px) calc(var(--base-spacing) * 3px)}:host button.icon-only cura-label,:host a.icon-only cura-label{display:none}:host button.icon-only cura-icon,:host a.icon-only cura-icon{margin-left:0 !important;margin-right:0 !important}:host button.icon-only.medium,:host a.icon-only.medium{padding:calc(var(--base-spacing) * 3px)}:host button.icon-only.small,:host a.icon-only.small{padding:calc(var(--base-spacing) * 2px)}:host button cura-loader-circle,:host a cura-loader-circle{position:absolute;display:none}:host button.isLoading,:host a.isLoading{cursor:wait}:host button.isLoading .button-container,:host a.isLoading .button-container{opacity:0}:host button.isLoading cura-loader-circle,:host a.isLoading cura-loader-circle{display:block}';const n=a;const e=class{constructor(o){t(this,o);if(o.$hostElement$["s-ei"]){this.internals=o.$hostElement$["s-ei"]}else{this.internals=o.$hostElement$.attachInternals();o.$hostElement$["s-ei"]=this.internals}this.type="button";this.size="large";this.disabled=false;this.isLoading=false;this.iconName=undefined;this.iconset="default";this.iconPosition="left";this.iconOnly=false;this.href=undefined;this.target="_self";this.color="primary";this.background="light";this.fontColor="dark";this.textAlign="left";this.justify=false;this.styles={};this.hovered=false}connectedCallback(){this.weights=window.CuraAPI.theme.fonts.getWeights();this.styles["--base-spacing"]=window.CuraAPI.theme.spacing.getSpacing();this.styles["--neutral-white"]=window.CuraAPI.theme.colors.getColor(`neutral-white`);this.styles["--neutral-base"]=window.CuraAPI.theme.colors.getColor(`neutral-base`);this.styles["--neutral-dark"]=window.CuraAPI.theme.colors.getColor(`neutral-dark`);this.styles["--font-size"]=window.CuraAPI.theme.fonts.getSize();this.styles["--font-family"]=window.CuraAPI.theme.fonts.getFamily();this.styles["--font-weight-medium"]=this.weights.medium;this.styles["--text-align"]=this.textAlign;this.setColors()}getClasses(){var t;const o={};o[`${(t=this.size)===null||t===void 0?void 0:t.toLowerCase()}`]=true;o[`icon-${this.iconPosition.toLowerCase()}`]=true;o[`icon-only`]=this.iconOnly;o["disabled"]=this.disabled;o["isLoading"]=this.isLoading;o["justify"]=this.justify;return o}setColors(){const t=[{name:"--color-dark-neutral-purewhite",thema:`${this.background==="light"?`${this.color}-dark`:"neutral-purewhite"}`},{name:"--color-lighter-color-darker",thema:`${this.background==="light"?`${this.color}-lighter`:`${this.color}-darker`}`},{name:"--color-light-color-darker",thema:`${this.background==="light"?`${this.color}-light`:`${this.color}-lighter`}`},{name:"--neutral-dark",thema:"neutral-dark"}];t.forEach((t=>this.styles[t.name]=window.CuraAPI.theme.colors.getColor(t.thema)));this.styles=Object.assign({},this.styles)}getIcon(){if(!this.iconName)return"";const t=this.size==="large"?20:16;return o("cura-icon",{name:this.iconName,iconset:this.iconset,size:t,color:this.getSymbolColor()})}handleMouseEnter(){if(this.disabled)return;this.hovered=true}handleMouseLeave(){this.hovered=false}getSymbolColor(){if(this.disabled)return"neutral-dark";return this.fontColor==="light"?"neutral-purewhite":`${this.color}-darker`}handleClick(t){if(this.disabled||this.isLoading){t.preventDefault();return}if(!this.href){if(this.type==="submit"&&this.internals.form)this.internals.form.submit();if(this.type==="reset"&&this.internals.form)this.internals.form.reset()}}render(){const t=this.getSymbolColor();const a=s[this.size]||s["default"];return o(i,{key:"0a0c25f94d0c18dbb90e4836ca3e7bcbbe10d032"},this.href?o("a",{href:this.disabled?"":this.href,target:this.target,class:this.getClasses(),style:this.styles,onClick:t=>this.handleClick(t),onMouseEnter:()=>this.handleMouseEnter(),onMouseLeave:()=>this.handleMouseLeave()},o("span",{class:"button-container"},this.getIcon(),o("cura-label",{size:a,lineHeight:"normal",color:t},o("slot",null))),o("cura-loader-circle",{size:this.size,color:t})):o("button",{class:this.getClasses(),style:this.styles,disabled:this.disabled||null,onClick:t=>this.handleClick(t),onMouseEnter:()=>this.handleMouseEnter(),onMouseLeave:()=>this.handleMouseLeave(),type:this.type},o("span",{class:"button-container"},this.getIcon(),o("cura-label",{size:a,lineHeight:"normal",color:t},o("slot",null))),o("cura-loader-circle",{size:this.size,color:t})))}static get formAssociated(){return true}static get watchers(){return{background:["setColors"],color:["setColors","getSymbolColor"],fontColor:["getSymbolColor"]}}};e.style=n;export{e as cura_button_outline};
|
|
2
|
-
//# sourceMappingURL=p-dbab7864.entry.js.map
|
package/dist/cura/p-fd5ed6b0.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const e="cura";const t={allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:true,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:true,constructableCSS:true,cssAnnotations:true,devTools:false,disconnectedCallback:true,element:false,event:true,experimentalScopedSlotChanges:false,experimentalSlotFixes:false,formAssociated:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:false,hostListenerTargetParent:false,hostListenerTargetWindow:true,hotModuleReplacement:false,hydrateClientSide:true,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,hydratedSelectorName:"hydrated",initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:false,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:false,mode:false,observeAttribute:true,profile:false,prop:true,propBoolean:true,propMutable:true,propNumber:true,propString:true,reflect:true,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,slot:true,slotChildNodesFix:false,slotRelocation:false,state:true,style:true,svg:true,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:true,vdomText:true,vdomXlink:true,watchCallback:true};var n=Object.defineProperty;var l=(e,t)=>{for(var l in t)n(e,l,{get:t[l],enumerable:true})};var r=new WeakMap;var s=e=>r.get(e);var i=(e,t)=>r.set(t.t=e,t);var o=(e,t)=>{const n={l:0,$hostElement$:e,i:t,o:new Map};{n.u=new Promise((e=>n.v=e));e["s-p"]=[];e["s-rc"]=[]}return r.set(e,n)};var a=(e,t)=>t in e;var f=(e,t)=>(0,console.error)(e,t);var c=new Map;var u=(e,t,n)=>{const l=e.h.replace(/-/g,"_");const r=e.p;if(!r){return void 0}const s=c.get(r);if(s){return s[l]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${r}.entry.js${""}`).then((e=>{{c.set(r,e)}return e[l]}),f)};var v=new Map;var d="r";var h="o";var p="s";var m="t";var $="s-id";var y="sty-id";var b="c-id";var w="{visibility:hidden}.hydrated{visibility:inherit}";var g="slot-fb{display:contents}slot-fb[hidden]{display:none}";var S="http://www.w3.org/1999/xlink";var k=["formAssociatedCallback","formResetCallback","formDisabledCallback","formStateRestoreCallback"];var C=typeof window!=="undefined"?window:{};var x=C.document||{head:{}};var j={l:0,m:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)};var O=t.shadowDom;var D=(()=>{let e=false;try{x.addEventListener("e",null,Object.defineProperty({},"passive",{get(){e=true}}))}catch(e){}return e})();var E=e=>Promise.resolve(e);var L=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false})();var R=false;var T=[];var M=[];var A=(e,t)=>n=>{e.push(n);if(!R){R=true;if(t&&j.l&4){N(P)}else{j.raf(P)}}};var F=e=>{for(let t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){f(e)}}e.length=0};var P=()=>{F(T);{F(M);if(R=T.length>0){j.raf(P)}}};var N=e=>E().then(e);var U=A(M,true);var W={};var H="http://www.w3.org/2000/svg";var I="http://www.w3.org/1999/xhtml";var z=e=>e!=null;var B=e=>{e=typeof e;return e==="object"||e==="function"};function Q(e){var t,n,l;return(l=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?l:void 0}var q={};l(q,{err:()=>K,map:()=>V,ok:()=>G,unwrap:()=>X,unwrapErr:()=>_});var G=e=>({isOk:true,isErr:false,value:e});var K=e=>({isOk:false,isErr:true,value:e});function V(e,t){if(e.isOk){const n=t(e.value);if(n instanceof Promise){return n.then((e=>G(e)))}else{return G(n)}}if(e.isErr){const t=e.value;return K(t)}throw"should never get here"}var X=e=>{if(e.isOk){return e.value}else{throw e.value}};var _=e=>{if(e.isErr){return e.value}else{throw e.value}};var J=(e,t="")=>{{return()=>{}}};var Y=(e,t)=>{{return()=>{}}};var Z=(e,t,...n)=>{let l=null;let r=null;let s=false;let i=false;const o=[];const a=t=>{for(let n=0;n<t.length;n++){l=t[n];if(Array.isArray(l)){a(l)}else if(l!=null&&typeof l!=="boolean"){if(s=typeof e!=="function"&&!B(l)){l=String(l)}if(s&&i){o[o.length-1].$+=l}else{o.push(s?ee(null,l):l)}i=s}}};a(n);if(t){if(t.key){r=t.key}{const e=t.className||t.class;if(e){t.class=typeof e!=="object"?e:Object.keys(e).filter((t=>e[t])).join(" ")}}}const f=ee(e,null);f.S=t;if(o.length>0){f.k=o}{f.C=r}return f};var ee=(e,t)=>{const n={l:0,j:e,$:t,O:null,k:null};{n.S=null}{n.C=null}return n};var te={};var ne=e=>e&&e.j===te;var le=(e,t,n,l)=>{const r=J("hydrateClient",t);const s=e.shadowRoot;const i=[];const o=[];const a=s?[]:null;const f=l.D=ee(t,null);if(!j.L){se(x.body,j.L=new Map)}e[$]=n;e.removeAttribute($);re(f,i,o,a,e,e,n);i.map((e=>{const n=e.R+"."+e.T;const l=j.L.get(n);const r=e.O;if(l&&O&&l["s-en"]===""){l.parentNode.insertBefore(r,l.nextSibling)}if(!s){r["s-hn"]=t;if(l){r["s-ol"]=l;r["s-ol"]["s-nr"]=r}}j.L.delete(n)}));if(s){a.map((e=>{if(e){s.appendChild(e)}}))}r()};var re=(e,t,n,l,r,s,i)=>{let o;let a;let f;let c;if(s.nodeType===1){o=s.getAttribute(b);if(o){a=o.split(".");if(a[0]===i||a[0]==="0"){f={l:0,R:a[0],T:a[1],M:a[2],A:a[3],j:s.tagName.toLowerCase(),O:s,S:null,k:null,C:null,F:null,$:null};t.push(f);s.removeAttribute(b);if(!e.k){e.k=[]}e.k[f.A]=f;e=f;if(l&&f.M==="0"){l[f.A]=f.O}}}if(s.shadowRoot){for(c=s.shadowRoot.childNodes.length-1;c>=0;c--){re(e,t,n,l,r,s.shadowRoot.childNodes[c],i)}}for(c=s.childNodes.length-1;c>=0;c--){re(e,t,n,l,r,s.childNodes[c],i)}}else if(s.nodeType===8){a=s.nodeValue.split(".");if(a[1]===i||a[1]==="0"){o=a[0];f={l:0,R:a[1],T:a[2],M:a[3],A:a[4],O:s,S:null,k:null,C:null,F:null,j:null,$:null};if(o===m){f.O=s.nextSibling;if(f.O&&f.O.nodeType===3){f.$=f.O.textContent;t.push(f);s.remove();if(!e.k){e.k=[]}e.k[f.A]=f;if(l&&f.M==="0"){l[f.A]=f.O}}}else if(f.R===i){if(o===p){f.j="slot";if(a[5]){s["s-sn"]=f.F=a[5]}else{s["s-sn"]=""}s["s-sr"]=true;if(l){f.O=x.createElement(f.j);if(f.F){f.O.setAttribute("name",f.F)}s.parentNode.insertBefore(f.O,s);s.remove();if(f.M==="0"){l[f.A]=f.O}}n.push(f);if(!e.k){e.k=[]}e.k[f.A]=f}else if(o===d){if(l){s.remove()}}}}}else if(e&&e.j==="style"){const t=ee(null,s.textContent);t.O=s;t.A="0";e.k=[t]}};var se=(e,t)=>{if(e.nodeType===1){let n=0;if(e.shadowRoot){for(;n<e.shadowRoot.childNodes.length;n++){se(e.shadowRoot.childNodes[n],t)}}for(n=0;n<e.childNodes.length;n++){se(e.childNodes[n],t)}}else if(e.nodeType===8){const n=e.nodeValue.split(".");if(n[0]===h){t.set(n[1]+"."+n[2],e);e.nodeValue="";e["s-en"]=n[3]}}};var ie=(e,t)=>{if(e!=null&&!B(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var oe=e=>s(e).$hostElement$;var ae=(e,t,n)=>{const l=oe(e);return{emit:e=>fe(l,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}};var fe=(e,t,n)=>{const l=j.ce(t,n);e.dispatchEvent(l);return l};var ce=new WeakMap;var ue=(e,t,n)=>{let l=v.get(e);if(L&&n){l=l||new CSSStyleSheet;if(typeof l==="string"){l=t}else{l.replaceSync(t)}}else{l=t}v.set(e,l)};var ve=(e,t,n)=>{var l;const r=he(t);const s=v.get(r);e=e.nodeType===11?e:x;if(s){if(typeof s==="string"){e=e.head||e;let n=ce.get(e);let i;if(!n){ce.set(e,n=new Set)}if(!n.has(r)){if(e.host&&(i=e.querySelector(`[${y}="${r}"]`))){i.innerHTML=s}else{i=x.createElement("style");i.innerHTML=s;const n=(l=j.P)!=null?l:Q(x);if(n!=null){i.setAttribute("nonce",n)}if(!(t.l&1)){if(e.nodeName==="HEAD"){const t=e.querySelectorAll("link[rel=preconnect]");const n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(i,n)}else if("host"in e){e.prepend(i)}else{e.append(i)}}if(t.l&1&&e.nodeName!=="HEAD"){e.insertBefore(i,null)}}if(t.l&4){i.innerHTML+=g}if(n){n.add(r)}}}else if(!e.adoptedStyleSheets.includes(s)){e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]}}return r};var de=e=>{const t=e.i;const n=e.$hostElement$;const l=t.l;const r=J("attachStyles",t.h);const s=ve(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);if(l&10&&l&2){n["s-sc"]=s;n.classList.add(s+"-h")}r()};var he=(e,t)=>"sc-"+e.h;var pe=(e,t,n,l,r,s)=>{if(n!==l){let i=a(e,t);let o=t.toLowerCase();if(t==="class"){const t=e.classList;const r=$e(n);const s=$e(l);t.remove(...r.filter((e=>e&&!s.includes(e))));t.add(...s.filter((e=>e&&!r.includes(e))))}else if(t==="style"){{for(const t in n){if(!l||l[t]==null){if(t.includes("-")){e.style.removeProperty(t)}else{e.style[t]=""}}}}for(const t in l){if(!n||l[t]!==n[t]){if(t.includes("-")){e.style.setProperty(t,l[t])}else{e.style[t]=l[t]}}}}else if(t==="key");else if(t==="ref"){if(l){l(e)}}else if(!i&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(a(C,o)){t=o.slice(2)}else{t=o[2]+t.slice(3)}if(n||l){const r=t.endsWith(ye);t=t.replace(be,"");if(n){j.rel(e,t,n,r)}if(l){j.ael(e,t,l,r)}}}else{const a=B(l);if((i||a&&l!==null)&&!r){try{if(!e.tagName.includes("-")){const r=l==null?"":l;if(t==="list"){i=false}else if(n==null||e[t]!=r){if(typeof e.__lookupSetter__(t)==="function"){e[t]=r}else{e.setAttribute(t,r)}}}else{e[t]=l}}catch(e){}}let f=false;{if(o!==(o=o.replace(/^xlink\:?/,""))){t=o;f=true}}if(l==null||l===false){if(l!==false||e.getAttribute(t)===""){if(f){e.removeAttributeNS(S,t)}else{e.removeAttribute(t)}}}else if((!i||s&4||r)&&!a){l=l===true?"":l;if(f){e.setAttributeNS(S,t,l)}else{e.setAttribute(t,l)}}}}};var me=/\s/;var $e=e=>!e?[]:e.split(me);var ye="Capture";var be=new RegExp(ye+"$");var we=(e,t,n)=>{const l=t.O.nodeType===11&&t.O.host?t.O.host:t.O;const r=e&&e.S||W;const s=t.S||W;{for(const e of ge(Object.keys(r))){if(!(e in s)){pe(l,e,r[e],void 0,n,t.l)}}}for(const e of ge(Object.keys(s))){pe(l,e,r[e],s[e],n,t.l)}};function ge(e){return e.includes("ref")?[...e.filter((e=>e!=="ref")),"ref"]:e}var Se;var ke;var Ce=false;var xe=false;var je=(e,n,l,r)=>{const s=n.k[l];let i=0;let o;let a;if(s.$!==null){o=s.O=x.createTextNode(s.$)}else{if(!xe){xe=s.j==="svg"}o=s.O=x.createElementNS(xe?H:I,!Ce&&t.slotRelocation&&s.l&2?"slot-fb":s.j);if(xe&&s.j==="foreignObject"){xe=false}{we(null,s,xe)}const n=o.getRootNode();const l=!n.querySelector("body");if(!l&&t.scoped&&z(Se)&&o["s-si"]!==Se){o.classList.add(o["s-si"]=Se)}if(s.k){for(i=0;i<s.k.length;++i){a=je(e,s,i);if(a){o.appendChild(a)}}}{if(s.j==="svg"){xe=false}else if(o.tagName==="foreignObject"){xe=true}}}o["s-hn"]=ke;return o};var Oe=(e,t,n,l,r,s)=>{let i=e;let o;if(i.shadowRoot&&i.tagName===ke){i=i.shadowRoot}for(;r<=s;++r){if(l[r]){o=je(null,n,r);if(o){l[r].O=o;Me(i,o,t)}}}};var De=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.O;Te(t);if(e){e.remove()}}}};var Ee=(e,t,n,l,r=false)=>{let s=0;let i=0;let o=0;let a=0;let f=t.length-1;let c=t[0];let u=t[f];let v=l.length-1;let d=l[0];let h=l[v];let p;let m;while(s<=f&&i<=v){if(c==null){c=t[++s]}else if(u==null){u=t[--f]}else if(d==null){d=l[++i]}else if(h==null){h=l[--v]}else if(Le(c,d,r)){Re(c,d,r);c=t[++s];d=l[++i]}else if(Le(u,h,r)){Re(u,h,r);u=t[--f];h=l[--v]}else if(Le(c,h,r)){Re(c,h,r);Me(e,c.O,u.O.nextSibling);c=t[++s];h=l[--v]}else if(Le(u,d,r)){Re(u,d,r);Me(e,u.O,c.O);u=t[--f];d=l[++i]}else{o=-1;{for(a=s;a<=f;++a){if(t[a]&&t[a].C!==null&&t[a].C===d.C){o=a;break}}}if(o>=0){m=t[o];if(m.j!==d.j){p=je(t&&t[i],n,o)}else{Re(m,d,r);t[o]=void 0;p=m.O}d=l[++i]}else{p=je(t&&t[i],n,i);d=l[++i]}if(p){{Me(c.O.parentNode,p,c.O)}}}}if(s>f){Oe(e,l[v+1]==null?null:l[v+1].O,n,l,i,v)}else if(i>v){De(t,s,f)}};var Le=(e,t,n=false)=>{if(e.j===t.j){if(!n){return e.C===t.C}return true}return false};var Re=(e,n,l=false)=>{const r=n.O=e.O;const s=e.k;const i=n.k;const o=n.j;const a=n.$;if(a===null){{xe=o==="svg"?true:o==="foreignObject"?false:xe}{if(o==="slot"&&!Ce);else{we(e,n,xe)}}if(s!==null&&i!==null){Ee(r,s,n,i,l)}else if(i!==null){if(e.$!==null){r.textContent=""}Oe(r,null,n,i,0,i.length-1)}else if(!l&&t.updatable&&s!==null){De(s,0,s.length-1)}if(xe&&o==="svg"){xe=false}}else if(e.$!==a){r.data=a}};var Te=e=>{{e.S&&e.S.ref&&e.S.ref(null);e.k&&e.k.map(Te)}};var Me=(e,t,n)=>{const l=e==null?void 0:e.insertBefore(t,n);return l};var Ae=(e,t,n=false)=>{const l=e.$hostElement$;const r=e.i;const s=e.D||ee(null,null);const i=ne(t)?t:Z(null,null,t);ke=l.tagName;if(r.N){i.S=i.S||{};r.N.map((([e,t])=>i.S[t]=l[e]))}if(n&&i.S){for(const e of Object.keys(i.S)){if(l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)){i.S[e]=l[e]}}}i.j=null;i.l|=4;e.D=i;i.O=s.O=l.shadowRoot||l;{Se=l["s-sc"]}Ce=(r.l&1)!==0;Re(s,i,n)};var Fe=(e,t)=>{if(t&&!e.U&&t["s-p"]){t["s-p"].push(new Promise((t=>e.U=t)))}};var Pe=(e,t)=>{{e.l|=16}if(e.l&4){e.l|=512;return}Fe(e,e.W);const n=()=>Ne(e,t);return U(n)};var Ne=(e,t)=>{const n=e.$hostElement$;const l=J("scheduleUpdate",e.i.h);const r=e.t;if(!r){throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`)}let s;if(t){{e.l|=256;if(e.H){e.H.map((([e,t])=>Qe(r,e,t)));e.H=void 0}}{s=Qe(r,"componentWillLoad")}}l();return Ue(s,(()=>He(e,r,t)))};var Ue=(e,t)=>We(e)?e.then(t).catch((e=>{console.error(e);t()})):t();var We=e=>e instanceof Promise||e&&e.then&&typeof e.then==="function";var He=async(e,t,n)=>{var l;const r=e.$hostElement$;const s=J("update",e.i.h);const i=r["s-rc"];if(n){de(e)}const o=J("render",e.i.h);{Ie(e,t,r,n)}if(i){i.map((e=>e()));r["s-rc"]=void 0}o();s();{const t=(l=r["s-p"])!=null?l:[];const n=()=>ze(e);if(t.length===0){n()}else{Promise.all(t).then(n);e.l|=4;t.length=0}}};var Ie=(e,t,n,l)=>{try{t=t.render();{e.l&=~16}{e.l|=2}{{{Ae(e,t,l)}}}}catch(t){f(t,e.$hostElement$)}return null};var ze=e=>{const t=e.i.h;const n=e.$hostElement$;const l=J("postUpdate",t);const r=e.t;const s=e.W;{Qe(r,"componentDidRender")}if(!(e.l&64)){e.l|=64;{qe(n)}{Qe(r,"componentDidLoad")}l();{e.v(n);if(!s){Be()}}}else{l()}{if(e.U){e.U();e.U=void 0}if(e.l&512){N((()=>Pe(e,false)))}e.l&=~(4|512)}};var Be=t=>{{qe(x.documentElement)}N((()=>fe(C,"appload",{detail:{namespace:e}})))};var Qe=(e,t,n)=>{if(e&&e[t]){try{return e[t](n)}catch(e){f(e)}}return void 0};var qe=e=>{var n;return e.classList.add((n=t.hydratedSelectorName)!=null?n:"hydrated")};var Ge=(e,t)=>s(e).o.get(t);var Ke=(e,t,n,l)=>{const r=s(e);if(!r){throw new Error(`Couldn't find host element for "${l.h}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`)}const i=r.$hostElement$;const o=r.o.get(t);const a=r.l;const c=r.t;n=ie(n,l.I[t][0]);const u=Number.isNaN(o)&&Number.isNaN(n);const v=n!==o&&!u;if((!(a&8)||o===void 0)&&v){r.o.set(t,n);if(c){if(l.B&&a&128){const e=l.B[t];if(e){e.map((e=>{try{c[e](n,o,t)}catch(e){f(e,i)}}))}}if((a&(2|16))===2){Pe(r,false)}}}};var Ve=(e,t,n)=>{var l,r;const i=e.prototype;if(t.l&64&&n&1){k.forEach((e=>Object.defineProperty(i,e,{value(...t){const n=s(this);const l=n.t;if(!l){n.u.then((n=>{const l=n[e];typeof l==="function"&&l.call(n,...t)}))}else{const n=l[e];typeof n==="function"&&n.call(l,...t)}}})))}if(t.I||(t.B||e.watchers)){if(e.watchers&&!t.B){t.B=e.watchers}const o=Object.entries((l=t.I)!=null?l:{});o.map((([e,[l]])=>{if(l&31||n&2&&l&32){Object.defineProperty(i,e,{get(){return Ge(this,e)},set(n){Ke(this,e,n,t)},configurable:true,enumerable:true})}}));if(n&1){const n=new Map;i.attributeChangedCallback=function(e,l,r){j.jmp((()=>{var o;const a=n.get(e);if(this.hasOwnProperty(a)){r=this[a];delete this[a]}else if(i.hasOwnProperty(a)&&typeof this[a]==="number"&&this[a]==r){return}else if(a==null){const n=s(this);const i=n==null?void 0:n.l;if(i&&!(i&8)&&i&128&&r!==l){const s=n.t;const i=(o=t.B)==null?void 0:o[e];i==null?void 0:i.forEach((t=>{if(s[t]!=null){s[t].call(s,r,l,e)}}))}return}this[a]=r===null&&typeof this[a]==="boolean"?false:r}))};e.observedAttributes=Array.from(new Set([...Object.keys((r=t.B)!=null?r:{}),...o.filter((([e,t])=>t[0]&15)).map((([e,l])=>{var r;const s=l[1]||e;n.set(s,e);if(l[0]&512){(r=t.N)==null?void 0:r.push([e,s])}return s}))]))}}return e};var Xe=async(e,t,n,l)=>{let r;if((t.l&32)===0){t.l|=32;const l=n.p;if(l){const e=u(n);if(e&&"then"in e){const t=Y();r=await e;t()}else{r=e}if(!r){throw new Error(`Constructor for "${n.h}#${t.q}" was not found`)}if(!r.isProxied){{n.B=r.watchers}Ve(r,n,2);r.isProxied=true}const l=J("createInstance",n.h);{t.l|=8}try{new r(t)}catch(e){f(e)}{t.l&=~8}{t.l|=128}l();_e(t.t)}else{r=e.constructor;const n=e.localName;customElements.whenDefined(n).then((()=>t.l|=128))}if(r&&r.style){let e;if(typeof r.style==="string"){e=r.style}const t=he(n);if(!v.has(t)){const l=J("registerStyles",n.h);ue(t,e,!!(n.l&1));l()}}}const s=t.W;const i=()=>Pe(t,true);if(s&&s["s-rc"]){s["s-rc"].push(i)}else{i()}};var _e=e=>{{Qe(e,"connectedCallback")}};var Je=e=>{if((j.l&1)===0){const t=s(e);const n=t.i;const l=J("connectedCallback",n.h);if(!(t.l&1)){t.l|=1;let l;{l=e.getAttribute($);if(l){if(n.l&1){const t=ve(e.shadowRoot,n);e.classList.remove(t+"-h",t+"-s")}le(e,n.h,l,t)}}{let n=e;while(n=n.parentNode||n.host){if(n.nodeType===1&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){Fe(t,t.W=n);break}}}if(n.I){Object.entries(n.I).map((([t,[n]])=>{if(n&31&&e.hasOwnProperty(t)){const n=e[t];delete e[t];e[t]=n}}))}{Xe(e,t,n)}}else{tt(e,t,n.G);if(t==null?void 0:t.t){_e(t.t)}else if(t==null?void 0:t.u){t.u.then((()=>_e(t.t)))}}l()}};var Ye=e=>{{Qe(e,"disconnectedCallback")}};var Ze=async e=>{if((j.l&1)===0){const t=s(e);{if(t.K){t.K.map((e=>e()));t.K=void 0}}if(t==null?void 0:t.t){Ye(t.t)}else if(t==null?void 0:t.u){t.u.then((()=>Ye(t.t)))}}};var et=(e,t={})=>{var n;const l=J();const r=[];const i=t.exclude||[];const a=C.customElements;const f=x.head;const c=f.querySelector("meta[charset]");const u=x.createElement("style");const v=[];let d;let h=true;Object.assign(j,t);j.m=new URL(t.resourcesUrl||"./",x.baseURI).href;{j.l|=2}let p=false;e.map((e=>{e[1].map((t=>{var n;const l={l:t[0],h:t[1],I:t[2],G:t[3]};if(l.l&4){p=true}{l.I=t[2]}{l.G=t[3]}{l.N=[]}{l.B=(n=t[4])!=null?n:{}}const f=l.h;const c=class extends HTMLElement{constructor(e){super(e);this.hasRegisteredEventListeners=false;e=this;o(e,l);if(l.l&1){{if(!e.shadowRoot){{e.attachShadow({mode:"open"})}}else{if(e.shadowRoot.mode!=="open"){throw new Error(`Unable to re-use existing shadow root for ${l.h}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}}}}connectedCallback(){const e=s(this);if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;tt(this,e,l.G)}if(d){clearTimeout(d);d=null}if(h){v.push(this)}else{j.jmp((()=>Je(this)))}}disconnectedCallback(){j.jmp((()=>Ze(this)))}componentOnReady(){return s(this).u}};if(l.l&64){c.formAssociated=true}l.p=e[0];if(!i.includes(f)&&!a.get(f)){r.push(f);a.define(f,Ve(c,l,1))}}))}));if(r.length>0){if(p){u.textContent+=g}{u.textContent+=r.sort()+w}if(u.innerHTML.length){u.setAttribute("data-styles","");const e=(n=j.P)!=null?n:Q(x);if(e!=null){u.setAttribute("nonce",e)}f.insertBefore(u,c?c.nextSibling:f.firstChild)}}h=false;if(v.length){v.map((e=>e.connectedCallback()))}else{{j.jmp((()=>d=setTimeout(Be,30)))}}l()};var tt=(e,t,n,l)=>{if(n){n.map((([n,l,r])=>{const s=lt(e,n);const i=nt(t,r);const o=rt(n);j.ael(s,l,i,o);(t.K=t.K||[]).push((()=>j.rel(s,l,i,o)))}))}};var nt=(e,t)=>n=>{var l;try{{if(e.l&256){(l=e.t)==null?void 0:l[t](n)}else{(e.H=e.H||[]).push([t,n])}}}catch(e){f(e)}};var lt=(e,t)=>{if(t&8)return C;return e};var rt=e=>D?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0;var st=e=>j.P=e;export{te as H,et as b,ae as c,oe as g,Z as h,E as p,i as r,st as s};
|
|
3
|
-
//# sourceMappingURL=p-fd5ed6b0.js.map
|