@tet/tet-components 1.4.23-testing → 1.4.24-production
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/{address-656e77f6.js → address-951109ee.js} +1 -1
- package/dist/cjs/{assets-f64f0e16.js → assets-c00a24d2.js} +1 -1
- package/dist/cjs/{async-request-fcf33aba.js → async-request-13036d6f.js} +1 -1
- package/dist/cjs/{http-codes-40da1e61.js → http-codes-16564d25.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-162b4cbc.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-a59cbcb0.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-055efd07.js → phone-39f20542.js} +2 -2
- package/dist/cjs/{product-comparison-88a89820.js → product-comparison-5535cd9e.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +44 -14
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
- package/dist/cjs/tet-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +5 -5
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +12 -6
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-referral.cjs.entry.js +5 -5
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-cde3168f.js} +2 -2
- package/dist/cjs/{translations-03c9de64.js → translations-ca556860.js} +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.css +35 -64
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +64 -9
- package/dist/collection/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.js +70 -6
- package/dist/components/index.js +1 -1
- package/dist/components/{p-733ef05a.js → p-0308559e.js} +7 -7
- package/dist/components/{p-e9414745.js → p-0bc84b07.js} +2 -2
- package/dist/components/{p-36208112.js → p-0dfc31c3.js} +7 -7
- package/dist/components/{p-0dc71304.js → p-1532959c.js} +10 -10
- package/dist/components/{p-3b8e4380.js → p-1801b7ba.js} +2 -2
- package/dist/components/{p-c11a2525.js → p-19eea7df.js} +1 -1
- package/dist/components/{p-caaa2258.js → p-1e13e7df.js} +14 -14
- package/dist/components/{p-ef6e73e5.js → p-1eafa21e.js} +3 -3
- package/dist/components/{p-a81878c9.js → p-1eb8f5ff.js} +1 -1
- package/dist/components/{p-82a49157.js → p-27d3a87e.js} +4 -4
- package/dist/components/{p-a6be19f9.js → p-31297f0b.js} +1 -1
- package/dist/components/{p-855e42f7.js → p-34467e93.js} +2 -2
- package/dist/components/{p-2b5669f6.js → p-34ee3bf9.js} +1 -1
- package/dist/components/{p-461e1a38.js → p-37b8a0e8.js} +1 -1
- package/dist/components/{p-270c8032.js → p-3c50350b.js} +2 -2
- package/dist/components/{p-6ad26440.js → p-4f48302a.js} +1 -1
- package/dist/components/{p-04f53f4e.js → p-5197b103.js} +1 -1
- package/dist/components/{p-f15fd04f.js → p-534e6ce6.js} +52 -21
- package/dist/components/{p-a93c0563.js → p-56d2c60a.js} +3 -3
- package/dist/components/{p-0f23d911.js → p-5aa3f9e4.js} +6 -6
- package/dist/components/{p-00489f30.js → p-5ce5ee5a.js} +1 -1
- package/dist/components/{p-f76fad86.js → p-5dcf08ec.js} +1 -1
- package/dist/components/{p-385320e5.js → p-5f2b5326.js} +3 -3
- package/dist/components/{p-a9f2bc99.js → p-5ff60e4f.js} +3 -3
- package/dist/components/{p-6d1d2938.js → p-64c91cbc.js} +1 -1
- package/dist/components/{p-7d2d4b42.js → p-69da971b.js} +2 -2
- package/dist/components/{p-cfd5023a.js → p-70c793a5.js} +2 -2
- package/dist/components/{p-29756311.js → p-7126223d.js} +1 -1
- package/dist/components/{p-dc1f5043.js → p-72546597.js} +2 -2
- package/dist/components/{p-f43af9a3.js → p-7ce59425.js} +1 -1
- package/dist/components/{p-821f17ff.js → p-81a1cb28.js} +1 -1
- package/dist/components/{p-4468c9e9.js → p-8792ebce.js} +1 -1
- package/dist/components/{p-25b93e8f.js → p-8b6ad07d.js} +1 -1
- package/dist/components/{p-4bfb71e5.js → p-8b6ba792.js} +3 -3
- package/dist/components/{p-758be5ce.js → p-95d66e84.js} +2 -2
- package/dist/components/{p-cabfa2a5.js → p-a6d060a0.js} +2 -2
- package/dist/components/{p-1eccdae0.js → p-ae1899fd.js} +1 -1
- package/dist/components/{p-4f2ae6bc.js → p-b03cee3a.js} +1 -1
- package/dist/components/{p-0c695d78.js → p-b779e84c.js} +1 -1
- package/dist/components/{p-4f89f22a.js → p-c237dd48.js} +3 -3
- package/dist/components/{p-15a22b5e.js → p-c24e4ecc.js} +6 -6
- package/dist/components/{p-814f84c9.js → p-c80b4325.js} +5 -5
- package/dist/components/{p-3872e105.js → p-c93e052c.js} +5 -5
- package/dist/components/{p-e808ca9d.js → p-cf1bcaac.js} +1 -1
- package/dist/components/{p-c88f1bfe.js → p-d02fe30d.js} +1 -1
- package/dist/components/{p-c1699d44.js → p-d3a34552.js} +1 -1
- package/dist/components/{p-3f8c8b14.js → p-d59d7dcf.js} +7 -7
- package/dist/components/{p-533388cb.js → p-d7064e66.js} +2 -2
- package/dist/components/{p-cc73e2ac.js → p-e0da8448.js} +2 -2
- package/dist/components/{p-44bcedca.js → p-e2ad59b1.js} +2 -2
- package/dist/components/{p-3b54553d.js → p-ee87542e.js} +4 -4
- package/dist/components/{p-e30431fd.js → p-eeca8041.js} +1 -1
- package/dist/components/{p-44201f97.js → p-f0861d7a.js} +1 -1
- package/dist/components/{p-ebae7914.js → p-fab74088.js} +6 -6
- package/dist/components/{p-f7fedf70.js → p-fac755ed.js} +3 -3
- package/dist/components/{p-3096b932.js → p-fd4b7a2c.js} +4 -4
- package/dist/components/{p-11d7e1f9.js → p-fd85f837.js} +3 -3
- package/dist/components/{p-4f20d266.js → p-fdb17a53.js} +9 -9
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +24 -24
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +13 -13
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +20 -20
- package/dist/components/tet-b2b-service-calculator.js +8 -8
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +5 -5
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +4 -4
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +11 -11
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +9 -9
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +16 -16
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +9 -9
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +6 -6
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +8 -8
- package/dist/components/tet-divider.js +7 -7
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +18 -9
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +7 -7
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-floating-block.js +3 -3
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +2 -2
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +3 -3
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +10 -10
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +2 -2
- package/dist/components/tet-news-card-list.js +4 -4
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +7 -7
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +6 -6
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-badge.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +3 -3
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +7 -7
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v2.js +5 -5
- package/dist/components/tet-thank-you-view-v3.js +5 -5
- package/dist/components/tet-thank-you-view.js +4 -4
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- package/dist/esm/{address-1e0810e7.js → address-24e316f2.js} +1 -1
- package/dist/esm/{assets-e1349520.js → assets-343a0b59.js} +1 -1
- package/dist/esm/{async-request-4c945e13.js → async-request-a5159336.js} +1 -1
- package/dist/esm/{http-codes-1927ea00.js → http-codes-98d3e25c.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-0da0d682.js} +1 -1
- package/dist/esm/{index-412df137.js → index-6c5bc6fc.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-1a920c5c.js → phone-ea11e1d0.js} +2 -2
- package/dist/esm/{product-comparison-dd90c721.js → product-comparison-21980b84.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +44 -14
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +4 -4
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +3 -3
- package/dist/esm/tet-checkbox.entry.js +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +1 -1
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +3 -3
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +5 -5
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dropdown_2.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +12 -6
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +1 -1
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-referral.entry.js +5 -5
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +3 -3
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-tab-header.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-37dd9692.js} +2 -2
- package/dist/esm/{translations-4712c45f.js → translations-9a0d9386.js} +1 -1
- package/dist/tet-components/{p-f6916bfc.entry.js → p-01a44fa7.entry.js} +1 -1
- package/dist/tet-components/{p-ed28b055.entry.js → p-02194864.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-0255120e.js} +1 -1
- package/dist/tet-components/{p-23130318.entry.js → p-02b80611.entry.js} +1 -1
- package/dist/tet-components/{p-5845a3dc.entry.js → p-0dff386b.entry.js} +1 -1
- package/dist/tet-components/{p-3a3fd77f.entry.js → p-0e229503.entry.js} +1 -1
- package/dist/tet-components/{p-62bcf382.entry.js → p-10752156.entry.js} +1 -1
- package/dist/tet-components/{p-62eb3efd.entry.js → p-10bc98f4.entry.js} +1 -1
- package/dist/tet-components/{p-ce850061.entry.js → p-154f01f9.entry.js} +1 -1
- package/dist/tet-components/{p-f63abf74.entry.js → p-15dc6c00.entry.js} +1 -1
- package/dist/tet-components/{p-46975ec4.entry.js → p-17276f7a.entry.js} +1 -1
- package/dist/tet-components/{p-9c36ecbd.entry.js → p-17c51759.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-19c6a28c.js} +1 -1
- package/dist/tet-components/{p-55be4b32.entry.js → p-1c2a5ad7.entry.js} +1 -1
- package/dist/tet-components/{p-76526271.entry.js → p-1cecb836.entry.js} +1 -1
- package/dist/tet-components/{p-eb814bc7.entry.js → p-1e352cb2.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-1e9db0cc.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-21acfb7d.js} +1 -1
- package/dist/tet-components/{p-ee3604eb.entry.js → p-3365dd8a.entry.js} +1 -1
- package/dist/tet-components/{p-fa446e53.entry.js → p-37308bf5.entry.js} +1 -1
- package/dist/tet-components/{p-6b4c6447.entry.js → p-37723b26.entry.js} +1 -1
- package/dist/tet-components/{p-7c7fb42f.entry.js → p-3939a5ce.entry.js} +1 -1
- package/dist/tet-components/{p-0256e74f.entry.js → p-39676444.entry.js} +1 -1
- package/dist/tet-components/{p-c13b2ba7.entry.js → p-39971a6b.entry.js} +1 -1
- package/dist/tet-components/{p-1d0c3563.entry.js → p-3da63939.entry.js} +1 -1
- package/dist/tet-components/{p-26b112a2.entry.js → p-4446090c.entry.js} +1 -1
- package/dist/tet-components/{p-c10d5369.entry.js → p-46c0bb7a.entry.js} +1 -1
- package/dist/tet-components/{p-0d5562a1.entry.js → p-48975554.entry.js} +1 -1
- package/dist/tet-components/{p-cde8057a.entry.js → p-48d13280.entry.js} +1 -1
- package/dist/tet-components/{p-0c85ece1.entry.js → p-4aa790eb.entry.js} +1 -1
- package/dist/tet-components/{p-27f8f84e.entry.js → p-4ee169c9.entry.js} +1 -1
- package/dist/tet-components/{p-565e9d34.entry.js → p-51324842.entry.js} +1 -1
- package/dist/tet-components/{p-acd8d8bd.entry.js → p-51477e61.entry.js} +1 -1
- package/dist/tet-components/{p-5391d594.entry.js → p-52301881.entry.js} +1 -1
- package/dist/tet-components/{p-10d6af5d.entry.js → p-54c35ae3.entry.js} +1 -1
- package/dist/tet-components/{p-6d58ffac.entry.js → p-570be8f7.entry.js} +1 -1
- package/dist/tet-components/{p-3fc6a020.entry.js → p-59a281e6.entry.js} +1 -1
- package/dist/tet-components/{p-0ebbf5ef.js → p-59ffdcd3.js} +1 -1
- package/dist/tet-components/{p-6297692b.entry.js → p-5ab1a4b0.entry.js} +1 -1
- package/dist/tet-components/{p-040c0f07.entry.js → p-5b1ac31a.entry.js} +1 -1
- package/dist/tet-components/{p-22e89e25.entry.js → p-5c6ac2a3.entry.js} +1 -1
- package/dist/tet-components/{p-35114d81.entry.js → p-5d23f248.entry.js} +1 -1
- package/dist/tet-components/{p-b0fc3440.entry.js → p-60668aa8.entry.js} +1 -1
- package/dist/tet-components/{p-10e72480.entry.js → p-6235b259.entry.js} +1 -1
- package/dist/tet-components/{p-be3a10d0.entry.js → p-62d40cca.entry.js} +1 -1
- package/dist/tet-components/{p-872bbccf.entry.js → p-69147f6a.entry.js} +1 -1
- package/dist/tet-components/{p-2a43ccef.entry.js → p-6c2146a3.entry.js} +1 -1
- package/dist/tet-components/{p-81db4c30.entry.js → p-6f231366.entry.js} +1 -1
- package/dist/tet-components/p-7c868b40.js +2 -0
- package/dist/tet-components/{p-25f6d66d.entry.js → p-7d68e7da.entry.js} +1 -1
- package/dist/tet-components/{p-0690732e.entry.js → p-7e6d8630.entry.js} +1 -1
- package/dist/tet-components/{p-71018cb8.entry.js → p-7f302806.entry.js} +1 -1
- package/dist/tet-components/{p-ce4b6943.entry.js → p-7fde93c1.entry.js} +1 -1
- package/dist/tet-components/{p-bcca51cc.entry.js → p-8109113f.entry.js} +1 -1
- package/dist/tet-components/p-81456c37.js +1 -0
- package/dist/tet-components/{p-778c46a6.js → p-81586378.js} +1 -1
- package/dist/tet-components/{p-7de684c1.entry.js → p-826a64f9.entry.js} +1 -1
- package/dist/tet-components/{p-7056a120.entry.js → p-83a9957c.entry.js} +1 -1
- package/dist/tet-components/{p-03159225.entry.js → p-846be1bd.entry.js} +1 -1
- package/dist/tet-components/{p-b34e86ef.entry.js → p-886b6db2.entry.js} +1 -1
- package/dist/tet-components/{p-f16514db.entry.js → p-8a26190c.entry.js} +1 -1
- package/dist/tet-components/{p-ae8ff573.entry.js → p-8c71799f.entry.js} +1 -1
- package/dist/tet-components/p-91669452.entry.js +1 -0
- package/dist/tet-components/{p-32ece6e1.entry.js → p-926177ce.entry.js} +1 -1
- package/dist/tet-components/{p-7b8a1e9e.entry.js → p-967214ed.entry.js} +1 -1
- package/dist/tet-components/{p-c66f4833.entry.js → p-98412046.entry.js} +1 -1
- package/dist/tet-components/{p-26eb119d.entry.js → p-99b31a2a.entry.js} +1 -1
- package/dist/tet-components/{p-b4ecbc40.entry.js → p-9a7e5067.entry.js} +1 -1
- package/dist/tet-components/{p-ec10d364.entry.js → p-9c3640fa.entry.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-a0b08ff1.js} +1 -1
- package/dist/tet-components/{p-c9f21fde.entry.js → p-a193f723.entry.js} +1 -1
- package/dist/tet-components/{p-122f3d3c.entry.js → p-a31f3a9a.entry.js} +1 -1
- package/dist/tet-components/p-a621272f.entry.js +1 -0
- package/dist/tet-components/{p-b822a377.entry.js → p-aaf3c9fd.entry.js} +1 -1
- package/dist/tet-components/{p-f68450a4.entry.js → p-b40bff4c.entry.js} +1 -1
- package/dist/tet-components/{p-04f6f0c8.entry.js → p-ba483397.entry.js} +1 -1
- package/dist/tet-components/{p-dc5b2828.entry.js → p-c0c57d40.entry.js} +1 -1
- package/dist/tet-components/{p-fcd61f09.entry.js → p-c90aa883.entry.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-c95500c7.entry.js} +1 -1
- package/dist/tet-components/{p-2738fbb7.entry.js → p-c9e971d4.entry.js} +1 -1
- package/dist/tet-components/{p-991f4f18.entry.js → p-cb5dda10.entry.js} +1 -1
- package/dist/tet-components/{p-4e58c5e2.entry.js → p-cd67073c.entry.js} +1 -1
- package/dist/tet-components/{p-5a6fc34c.entry.js → p-cd76f157.entry.js} +1 -1
- package/dist/tet-components/{p-4967b041.entry.js → p-ce64e633.entry.js} +1 -1
- package/dist/tet-components/{p-f5d4d8c8.entry.js → p-d032a998.entry.js} +1 -1
- package/dist/tet-components/{p-79700f85.entry.js → p-d19f9d4d.entry.js} +1 -1
- package/dist/tet-components/{p-73411459.entry.js → p-d5f66857.entry.js} +1 -1
- package/dist/tet-components/{p-a64e3e96.entry.js → p-d69f671b.entry.js} +1 -1
- package/dist/tet-components/{p-f207db98.entry.js → p-d966de95.entry.js} +1 -1
- package/dist/tet-components/{p-cf11c4cd.entry.js → p-da87efd5.entry.js} +1 -1
- package/dist/tet-components/{p-fdc09ded.entry.js → p-deda3e43.entry.js} +1 -1
- package/dist/tet-components/{p-1024ee6b.entry.js → p-e45f0512.entry.js} +1 -1
- package/dist/tet-components/{p-629a9a5d.entry.js → p-ee92ae62.entry.js} +1 -1
- package/dist/tet-components/{p-39796998.entry.js → p-f080b1a0.entry.js} +1 -1
- package/dist/tet-components/{p-5ce2274d.entry.js → p-f9ac1ced.entry.js} +1 -1
- package/dist/tet-components/{p-a8051a99.js → p-f9e5405c.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-fa69d1cf.entry.js} +1 -1
- package/dist/tet-components/{p-2328b1d4.entry.js → p-fce06601.entry.js} +1 -1
- package/dist/tet-components/{p-7a3c1254.entry.js → p-fedf8a46.entry.js} +1 -1
- package/dist/tet-components/{p-ed044f47.entry.js → p-ff5873fc.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/address/tet-address-search/tet-address-search.d.ts +11 -0
- package/dist/types/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.d.ts +7 -1
- package/dist/types/components.d.ts +32 -0
- package/package.json +1 -1
- package/dist/tet-components/p-2ccdd5cc.entry.js +0 -1
- package/dist/tet-components/p-83f43fdd.js +0 -2
- package/dist/tet-components/p-9e8b35e5.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as r}from"./p-83f43fdd.js";const a=class{constructor(i){t(this,i),this.tetDynamicCardClickEvent=e(this,"tetDynamicCardClickEvent",7),this.theme="light",this.size="S",this.sizeChangeBreakpoint="None",this.isInCarousel=!1,this.pictureLayoutShiftPosition="left",this.cardTitle=void 0,this.subtitle=void 0,this.tags=void 0,this.dateTag=void 0,this.dateTagColorLight="black",this.dateTagColorDark="white",this.priceTagOptions={show:!1,background:"white"},this.linkHref=void 0,this.linkText=void 0,this.linkNewTab=!1,this.index=void 0,this.isFocused=!1,this.originalSize=null,this.currentSize=null}onThemeChanged(t){"dark"===t?(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorLight}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorDark}`)):(this.dateTagColorRef?.classList.remove(`tag--${this.dateTagColorDark}`),this.dateTagColorRef?.classList.add(`tag--${this.dateTagColorLight}`))}onSizeChange(){this.originalSize=this.size,this.resizeCard(window.innerWidth)}tetDynamicCardClickEvent;priceViewRef=null;buttonRef=null;dateTagColorRef=null;rootElementRef=null;BREAKPOINTS={MOBILE:768,TABLET_SMALL:1024,TABLET:1440,DESKTOP:1920};CARD_SIZES={standard:{S:"fit-content",M:"calc(50% - 0.75rem)",XL:"100%"},responsive:{mobile:"100%",tablet:"calc(100% - var(--card-width-tablet) - 1.5rem - 2px)",desktop:"calc(100% - var(--card-width-desktop) - 1.5rem - 2px)"}};getCardSize(t){return t<this.BREAKPOINTS.MOBILE?"XL":t<this.BREAKPOINTS.TABLET_SMALL?"M":("L"===this.originalSize||"M"===this.originalSize)&&t<this.BREAKPOINTS.TABLET&&"Tab"===this.sizeChangeBreakpoint?"S":this.originalSize}getMinWidth(t){return t<this.BREAKPOINTS.MOBILE?"calc(var(--card-width-mobile)-2rem)":t<this.BREAKPOINTS.TABLET?"calc(var(--card-width-tablet)-2rem)":t<this.BREAKPOINTS.DESKTOP?"var(--card-width-tablet)":"var(--card-width-desktop)"}getCardWidth(t,e){if(this.isInCarousel)return"fit-content";if(e<this.BREAKPOINTS.MOBILE)return this.CARD_SIZES.responsive.mobile;if(e<this.BREAKPOINTS.TABLET){if(("L"===this.originalSize||"M"===this.originalSize)&&"Tab"===this.sizeChangeBreakpoint)return"fit-content";if("M"===t)return this.CARD_SIZES.standard.M;if("L"===t)return this.CARD_SIZES.responsive.tablet}else if("L"===t)return e<this.BREAKPOINTS.DESKTOP?this.CARD_SIZES.responsive.tablet:this.CARD_SIZES.responsive.desktop;return this.CARD_SIZES.standard[t]||"fit-content"}resizeCard=t=>{this.currentSize=this.getCardSize(t),this.rootElementRef.style.minWidth=this.getMinWidth(t),this.rootElementRef.style.width=this.getCardWidth(this.currentSize,t)};resizeObserver=new ResizeObserver((()=>{const t=window.innerWidth;this.resizeCard(t),t<768?(this.priceViewRef?.setAttribute("size","S"),this.buttonRef?.setAttribute("size","small")):t<1920?(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","medium")):(this.priceViewRef?.setAttribute("size","M"),this.buttonRef?.setAttribute("size","large"))}));componentWillLoad(){this.originalSize=this.size,this.currentSize=this.size}componentDidLoad(){this.onThemeChanged(this.theme),this.resizeObserver.observe(window.document.body)}handleClick=t=>{if(t.composedPath().some((t=>t instanceof HTMLElement&&t.classList?.contains("button"))))this.tetDynamicCardClickEvent.emit();else if(this.buttonRef&&this.linkHref){const t=this.buttonRef.shadowRoot?.querySelector("button");t&&t.click()}};renderTags(){const t="dark"===this.theme?this.dateTagColorDark:this.dateTagColorLight;return i("div",{class:"tags-container",part:"tags"},this.tags?.length>0&&i("div",{class:"tags"},this.tags.map((t=>i("span",{class:"tag"},t)))),this.dateTag&&i("div",{class:"tags"},i("div",{class:`tag colored colored--${t}`,ref:t=>{this.dateTagColorRef=t}},i("span",{class:"date-tag-text"},this.dateTag))))}renderPrice(){return this.priceTagOptions?.show?i("div",{class:"price",part:"price"},i("tet-price-view",{ref:t=>{this.priceViewRef=t},font:this.priceTagOptions.font||"Gilroy, Arial, sans-serif",background:this.priceTagOptions.background,staticColors:this.priceTagOptions.isStatic,theme:this.theme,size:"S","heading-text":this.priceTagOptions.headingText,"price-type":this.priceTagOptions.priceType,"euro-price":this.priceTagOptions.euroPrice?.toString(),"cents-price":this.priceTagOptions.centsPrice?.toString(),"footer-text":this.priceTagOptions.footerText,"footer-text-type":this.priceTagOptions.footerTextType})):null}renderButton(){return this.linkText?i("div",{class:"button",part:"button"},i("tet-button",{type:"primary",size:"small",theme:this.theme,url:this.linkHref,"url-target":this.linkNewTab?"_blank":"_self","accessibility-label":this.linkText,ref:t=>{this.buttonRef=t}},this.linkText)):null}render(){return i(r,{key:"cee91336b0e69bfa5f6a68993dd5a0cc2a1bdb1a",class:{"dynamic-card":!0,"is-focused":this.isFocused},"data-index":this.index,ref:t=>{this.rootElementRef=t}},i("div",{key:"84a2fdd9b465b08b97d1d20f5972f38b92869a32",class:`card\n theme-${this.theme}\n size-${this.currentSize}\n position-${this.pictureLayoutShiftPosition}\n carousel-${this.isInCarousel}\n `,onClick:this.handleClick,onKeyUp:t=>{"Enter"===t.key&&this.handleClick(t)},tabindex:0,part:"card","aria-labelledby":this.cardTitle},i("div",{key:"2b919eee695c8b5be1a95f0941ef91e938114e3a",class:"image",part:"image"},i("slot",{key:"8cdf3be974aa32e4925be3817b502436360542fd",name:"image"}),this.renderPrice(),this.renderTags()),i("div",{key:"a881500ba5e3aa15fd414da2c770e2a6be4320fb",class:"content-container"},i("div",{key:"ea370be826d7193192a56050a7bc17232e954dde",class:"content",part:"content"},this.cardTitle&&i("h3",{key:"e8f6f4de41fd902e0bd5bc3f035753ed65d696d4",class:"title",part:"title"},this.cardTitle),this.subtitle&&i("p",{key:"e7e745d29bf5f3ccfa2c014b6d462df92f3c6d64",class:"subtitle",part:"subtitle"},this.subtitle)),this.renderButton())))}static get watchers(){return{theme:["onThemeChanged"],size:["onSizeChange"]}}};a.style=":host{--image-type:cover;--image-background-color:var(--tc-background-white-black);--card-width-mobile:17.5rem;--card-height-mobile:27.75rem;--card-width-tablet:21.375rem;--card-height-tablet:33.875rem;--card-width-desktop:25.625rem;--card-height-desktop:39.5rem;--option-card-bg:var(--tc-background-white-black);--option-card-text:var(--tc-text-primary);--option-card-border:var(--tc-border-quaternary);display:block;font-family:var(--tet-font-family-primary)}.card{-webkit-user-drag:none;user-select:none;cursor:pointer;background:var(--tc-background-white-black);border-radius:1rem;border:0.0625rem solid var(--tc-border-quaternary);overflow:hidden;position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem;margin:0 auto;min-width:var(--card-width-mobile);width:var(--card-width-mobile);height:var(--card-height-mobile);transition:box-shadow 0.15s ease}.card.size-S{width:var(--card-width-mobile);height:var(--card-height-mobile)}.card.size-XL,.card.size-L,.card.size-M{width:100%}.card:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem}.card:hover{box-shadow:0 4px 24px 0 rgba(0, 0, 0, 0.1), 0 1.5px 6px 0 rgba(0, 0, 0, 0.08)}.card:hover ::slotted(img){transform:scale(1.06)}.card:active{box-shadow:0 0 1px 0 rgba(12, 12, 14, 0.08), 0 1px 3px 0 rgba(12, 12, 14, 0.12)}.card:active ::slotted(img){transform:scale(1.01)}.content-container{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%}.image{-webkit-user-drag:none;user-select:none;flex-shrink:0;width:100%;height:16.125rem;overflow:hidden;position:relative;background-color:var(--image-background-color)}.image ::slotted(img){transition:transform 0.3s ease;width:100%;height:100%;object-fit:var(--image-type);display:block}.price{position:absolute;bottom:0.75rem;right:0.75rem;z-index:1}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem;z-index:1}.content{height:auto;padding:0 1rem;text-align:center}.title{margin:0;font-family:var(--font-family-fallback);font-size:1.25rem;font-weight:600;margin-bottom:0.5rem;color:var(--tc-text-primary);line-height:1.5rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:3rem}.subtitle{color:var(--tc-text-primary);text-align:center;font-family:var(--font-family-content);font-size:0.875rem;font-style:normal;font-weight:400;line-height:1.25rem;letter-spacing:-0.003125rem;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-word;max-height:2.5rem}.button{margin-top:auto;margin-bottom:1.5rem;width:fit-content;text-wrap:nowrap}.tags-container{position:absolute;top:0.75rem;left:0.75rem;display:flex;flex-direction:column;gap:0.25rem}.tags{display:flex;flex-wrap:wrap;gap:0.25rem}.tag{border:0.0625px solid var(--tc-border-tertiary);padding:0.1875rem 0.3125rem;border-radius:0.375rem;background:var(--tc-layer-primary);color:var(--tc-text-primary);font-family:var(--font-family-content);font-size:0.75rem;font-style:normal;font-weight:500;line-height:1rem}.tag.colored--white{background:var(--tc-layer-primary);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.tag.colored--black{color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}.tag.colored--yellow{background:var(--tc-yellow-20);color:var(--tc-text-primary);border:0.0625px solid var(--tc-border-tertiary)}.theme-dark{background:var(--tc-layer-primary-dark);border:0.0625rem solid var(--tc-border-quaternary-dark)}.theme-dark .title{color:var(--tc-text-primary-dark)}.theme-dark .subtitle{color:var(--tc-text-primary-dark)}.theme-dark .tag:not(.colored){color:var(--tc-text-primary-dark);background:var(--tc-layer-primary-dark);border:0.0625px solid var(--tc-border-primary)}@media all and (min-width: 48rem){.card{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-S{width:var(--card-width-tablet);height:var(--card-height-tablet)}.card.size-M{width:100%}.card.size-M .image{width:100%}.card.size-M.carousel-true{width:44rem}.card.size-XL,.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-XL .image,.card.size-L .image{width:60%;height:100%}.card.size-XL .button,.card.size-L .button{margin-top:0}.card.size-XL.position-right,.card.size-L.position-right{flex-direction:row-reverse}.card.size-XL.carousel-true,.card.size-L.carousel-true{width:44rem}.image{width:var(--card-width-tablet);height:var(--card-width-tablet)}.title{font-size:1.5rem;line-height:1.75rem;max-height:3.5rem}.tag{font-size:0.875rem;line-height:1.25rem;letter-spacing:-0.003125rem}}@media all and (min-width: 90rem){.card.size-M{width:100%}.card.size-M.carousel-true{width:39.375rem}.card.size-L{width:100%;flex-direction:row;gap:0}.card.size-L .image{width:62%;height:100%}.card.size-L .button{margin-top:0}.card.size-L.position-right{flex-direction:row-reverse}.card.size-L.carousel-true{width:57.25rem}.card.size-XL .image{width:64%}.card.size-XL.carousel-true{width:80.25rem}}@media all and (min-width: 120rem){.card{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-S{width:var(--card-width-desktop);height:var(--card-height-desktop)}.card.size-L.carousel-true{width:83.125rem}.card.size-XL .image{width:72%}.card.size-XL.carousel-true{width:110.25rem}.image{width:var(--card-width-desktop);height:var(--card-width-desktop)}.title{font-size:1.75rem;line-height:2rem;max-height:4rem}.subtitle{font-size:1rem;line-height:1.5rem;letter-spacing:-0.00625rem;max-height:3rem}}";export{a as tet_dynamic_card}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const t={environment:"testing"};var e=Object.defineProperty,n=new WeakMap,o=t=>n.get(t),l=(t,e)=>n.set(e.t=t,e),s=(t,e)=>e in t,r=(t,e)=>(0,console.error)(t,e),i=new Map,c=new Map,u="slot-fb{display:contents}slot-fb[hidden]{display:none}",a="http://www.w3.org/1999/xlink",f="undefined"!=typeof window?window:{},d=f.document||{head:{}},h={o:0,l:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,e,n,o)=>t.addEventListener(e,n,o),rel:(t,e,n,o)=>t.removeEventListener(e,n,o),ce:(t,e)=>new CustomEvent(t,e)},p=t=>Promise.resolve(t),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(t){}return!1})(),v=!1,y=[],w=[],$=(t,e)=>n=>{t.push(n),v||(v=!0,e&&4&h.o?k(g):h.raf(g))},b=t=>{for(let e=0;e<t.length;e++)try{t[e](performance.now())}catch(t){r(t)}t.length=0},g=()=>{b(y),b(w),(v=y.length>0)&&h.raf(g)},k=t=>p().then(t),S=$(w,!0),j=t=>{const e=new URL(t,h.l);return e.origin!==f.location.origin?e.href:e.pathname},O={},E=t=>"object"==(t=typeof t)||"function"===t;function C(t){var e,n,o;return null!=(o=null==(n=null==(e=t.head)?void 0:e.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?o:void 0}((t,n)=>{for(var o in n)e(t,o,{get:n[o],enumerable:!0})})({},{err:()=>M,map:()=>R,ok:()=>x,unwrap:()=>F,unwrapErr:()=>L});var x=t=>({isOk:!0,isErr:!1,value:t}),M=t=>({isOk:!1,isErr:!0,value:t});function R(t,e){if(t.isOk){const n=e(t.value);return n instanceof Promise?n.then((t=>x(t))):x(n)}if(t.isErr)return M(t.value);throw"should never get here"}var P,T,A,F=t=>{if(t.isOk)return t.value;throw t.value},L=t=>{if(t.isErr)return t.value;throw t.value},U=(t,e,...n)=>{let o=null,l=null,s=null,r=!1,i=!1;const c=[],u=e=>{for(let n=0;n<e.length;n++)o=e[n],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((r="function"!=typeof t&&!E(o))&&(o+=""),r&&i?c[c.length-1].i+=o:c.push(r?D(null,o):o),i=r)};if(u(n),e){e.key&&(l=e.key),e.name&&(s=e.name);{const t=e.className||e.class;t&&(e.class="object"!=typeof t?t:Object.keys(t).filter((e=>t[e])).join(" "))}}if("function"==typeof t)return t(null===e?{}:e,c,H);const a=D(t,null);return a.u=e,c.length>0&&(a.h=c),a.p=l,a.m=s,a},D=(t,e)=>({o:0,v:t,i:e,$:null,h:null,u:null,p:null,m:null}),N={},H={forEach:(t,e)=>t.map(W).forEach(e),map:(t,e)=>t.map(W).map(e).map(q)},W=t=>({vattrs:t.u,vchildren:t.h,vkey:t.p,vname:t.m,vtag:t.v,vtext:t.i}),q=t=>{if("function"==typeof t.vtag){const e={...t.vattrs};return t.vkey&&(e.key=t.vkey),t.vname&&(e.name=t.vname),U(t.vtag,e,...t.vchildren||[])}const e=D(t.vtag,t.vtext);return e.u=t.vattrs,e.h=t.vchildren,e.p=t.vkey,e.m=t.vname,e},B=t=>o(t).$hostElement$,G=(t,e,n)=>{const o=B(t);return{emit:t=>V(o,e,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:t})}},V=(t,e,n)=>{const o=h.ce(e,n);return t.dispatchEvent(o),o},_=new WeakMap,z=t=>"sc-"+t.k,I=(t,e,n,o,l,r)=>{if(n!==o){let i=s(t,e),c=e.toLowerCase();if("class"===e){const e=t.classList,l=K(n),s=K(o);e.remove(...l.filter((t=>t&&!s.includes(t)))),e.add(...s.filter((t=>t&&!l.includes(t))))}else if("style"===e){for(const e in n)o&&null!=o[e]||(e.includes("-")?t.style.removeProperty(e):t.style[e]="");for(const e in o)n&&o[e]===n[e]||(e.includes("-")?t.style.setProperty(e,o[e]):t.style[e]=o[e])}else if("key"===e);else if("ref"===e)o&&o(t);else if(i||"o"!==e[0]||"n"!==e[1]){const s=E(o);if((i||s&&null!==o)&&!l)try{if(t.tagName.includes("-"))t[e]=o;else{const l=null==o?"":o;"list"===e?i=!1:null!=n&&t[e]==l||(t[e]=l)}}catch(t){}let u=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(e=c,u=!0),null==o||!1===o?!1===o&&""!==t.getAttribute(e)||(u?t.removeAttributeNS(a,e):t.removeAttribute(e)):(!i||4&r||l)&&!s&&(o=!0===o?"":o,u?t.setAttributeNS(a,e,o):t.setAttribute(e,o))}else if(e="-"===e[2]?e.slice(3):s(f,c)?c.slice(2):c[2]+e.slice(3),n||o){const l=e.endsWith(Q);e=e.replace(X,""),n&&h.rel(t,e,n,l),o&&h.ael(t,e,o,l)}}},J=/\s/,K=t=>t?t.split(J):[],Q="Capture",X=RegExp(Q+"$"),Y=(t,e,n)=>{const o=11===e.$.nodeType&&e.$.host?e.$.host:e.$,l=t&&t.u||O,s=e.u||O;for(const t of Z(Object.keys(l)))t in s||I(o,t,l[t],void 0,n,e.o);for(const t of Z(Object.keys(s)))I(o,t,l[t],s[t],n,e.o)};function Z(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var tt=!1,et=!1,nt=!1,ot=!1,lt=(t,e,n,o)=>{var l;const s=e.h[n];let r,i,c,u=0;if(tt||(nt=!0,"slot"===s.v&&(P&&o.classList.add(P+"-s"),s.o|=s.h?2:1)),null!==s.i)r=s.$=d.createTextNode(s.i);else if(1&s.o)r=s.$=d.createTextNode("");else{if(ot||(ot="svg"===s.v),r=s.$=d.createElementNS(ot?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!tt&&2&s.o?"slot-fb":s.v),ot&&"foreignObject"===s.v&&(ot=!1),Y(null,s,ot),null!=P&&r["s-si"]!==P&&r.classList.add(r["s-si"]=P),$t(r,o),s.h)for(u=0;u<s.h.length;++u)i=lt(t,s,u,r),i&&r.appendChild(i);"svg"===s.v?ot=!1:"foreignObject"===r.tagName&&(ot=!0)}return r["s-hn"]=A,3&s.o&&(r["s-sr"]=!0,r["s-cr"]=T,r["s-sn"]=s.m||"",r["s-rf"]=null==(l=s.u)?void 0:l.ref,c=t&&t.h&&t.h[n],c&&c.v===s.v&&t.$&&st(t.$,!1)),r},st=(t,e)=>{h.o|=1;const n=Array.from(t.childNodes);for(let t=n.length-1;t>=0;t--){const o=n[t];o["s-hn"]!==A&&o["s-ol"]&&(yt(at(o),o,ut(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,nt=!0),e&&st(o,e)}h.o&=-2},rt=(t,e,n,o,l,s)=>{let r,i=t["s-cr"]&&t["s-cr"].parentNode||t;for(i.shadowRoot&&i.tagName===A&&(i=i.shadowRoot);l<=s;++l)o[l]&&(r=lt(null,n,l,t),r&&(o[l].$=r,yt(i,r,ut(e))))},it=(t,e,n)=>{for(let o=e;o<=n;++o){const e=t[o];if(e){const t=e.$;vt(e),t&&(et=!0,t["s-ol"]?t["s-ol"].remove():st(t,!0),t.remove())}}},ct=(t,e,n=!1)=>t.v===e.v&&("slot"===t.v?t.m===e.m:!!n||t.p===e.p),ut=t=>t&&t["s-ol"]||t,at=t=>(t["s-ol"]?t["s-ol"]:t).parentNode,ft=(t,e,n=!1)=>{const o=e.$=t.$,l=t.h,s=e.h,r=e.v,i=e.i;let c;null===i?(ot="svg"===r||"foreignObject"!==r&&ot,("slot"!==r||tt)&&Y(t,e,ot),null!==l&&null!==s?((t,e,n,o,l=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=e.length-1,d=e[0],h=e[f],p=o.length-1,m=o[0],v=o[p];for(;i<=f&&c<=p;)if(null==d)d=e[++i];else if(null==h)h=e[--f];else if(null==m)m=o[++c];else if(null==v)v=o[--p];else if(ct(d,m,l))ft(d,m,l),d=e[++i],m=o[++c];else if(ct(h,v,l))ft(h,v,l),h=e[--f],v=o[--p];else if(ct(d,v,l))"slot"!==d.v&&"slot"!==v.v||st(d.$.parentNode,!1),ft(d,v,l),yt(t,d.$,h.$.nextSibling),d=e[++i],v=o[--p];else if(ct(h,m,l))"slot"!==d.v&&"slot"!==v.v||st(h.$.parentNode,!1),ft(h,m,l),yt(t,h.$,d.$),h=e[--f],m=o[++c];else{for(u=-1,a=i;a<=f;++a)if(e[a]&&null!==e[a].p&&e[a].p===m.p){u=a;break}u>=0?(r=e[u],r.v!==m.v?s=lt(e&&e[c],n,u,t):(ft(r,m,l),e[u]=void 0,s=r.$),m=o[++c]):(s=lt(e&&e[c],n,c,t),m=o[++c]),s&&yt(at(d.$),s,ut(d.$))}i>f?rt(t,null==o[p+1]?null:o[p+1].$,n,o,c,p):c>p&&it(e,i,f)})(o,l,e,s,n):null!==s?(null!==t.i&&(o.textContent=""),rt(o,null,e,s,0,s.length-1)):null!==l&&it(l,0,l.length-1),ot&&"svg"===r&&(ot=!1)):(c=o["s-cr"])?c.parentNode.textContent=i:t.i!==i&&(o.data=i)},dt=t=>{const e=t.childNodes;for(const t of e)if(1===t.nodeType){if(t["s-sr"]){const n=t["s-sn"];t.hidden=!1;for(const o of e)if(o!==t)if(o["s-hn"]!==t["s-hn"]||""!==n){if(1===o.nodeType&&(n===o.getAttribute("slot")||n===o["s-sn"])||3===o.nodeType&&n===o["s-sn"]){t.hidden=!0;break}}else if(1===o.nodeType||3===o.nodeType&&""!==o.textContent.trim()){t.hidden=!0;break}}dt(t)}},ht=[],pt=t=>{let e,n,o;for(const l of t.childNodes){if(l["s-sr"]&&(e=l["s-cr"])&&e.parentNode){n=e.parentNode.childNodes;const t=l["s-sn"];for(o=n.length-1;o>=0;o--)if(e=n[o],!e["s-cn"]&&!e["s-nr"]&&e["s-hn"]!==l["s-hn"])if(mt(e,t)){let n=ht.find((t=>t.S===e));et=!0,e["s-sn"]=e["s-sn"]||t,n?(n.S["s-sh"]=l["s-hn"],n.j=l):(e["s-sh"]=l["s-hn"],ht.push({j:l,S:e})),e["s-sr"]&&ht.map((t=>{mt(t.S,e["s-sn"])&&(n=ht.find((t=>t.S===e)),n&&!t.j&&(t.j=n.j))}))}else ht.some((t=>t.S===e))||ht.push({S:e})}1===l.nodeType&&pt(l)}},mt=(t,e)=>1===t.nodeType?null===t.getAttribute("slot")&&""===e||t.getAttribute("slot")===e:t["s-sn"]===e||""===e,vt=t=>{t.u&&t.u.ref&&t.u.ref(null),t.h&&t.h.map(vt)},yt=(t,e,n)=>{const o=null==t?void 0:t.insertBefore(e,n);return $t(e,t),o},wt=t=>{const e=[];return t&&e.push(...t["s-scs"]||[],t["s-si"],t["s-sc"],...wt(t.parentElement)),e},$t=(t,e,n=!1)=>{var o;if(t&&e&&1===t.nodeType){const l=new Set(wt(e).filter(Boolean));if(l.size&&(null==(o=t.classList)||o.add(...t["s-scs"]=[...l]),t["s-ol"]||n))for(const e of Array.from(t.childNodes))$t(e,t,!0)}},bt=(t,e)=>{e&&!t.O&&e["s-p"]&&e["s-p"].push(new Promise((e=>t.O=e)))},gt=(t,e)=>{if(t.o|=16,!(4&t.o))return bt(t,t.C),S((()=>kt(t,e)));t.o|=512},kt=(t,e)=>{const n=t.t;if(!n)throw Error(`Can't render component <${t.$hostElement$.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 o;return e&&(t.o|=256,t.M&&(t.M.map((([t,e])=>Tt(n,t,e))),t.M=void 0),o=Tt(n,"componentWillLoad")),St(o,(()=>Ot(t,n,e)))},St=(t,e)=>jt(t)?t.then(e).catch((t=>{console.error(t),e()})):e(),jt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,Ot=async(t,e,n)=>{var o;const l=t.$hostElement$,s=l["s-rc"];n&&(t=>{const e=t.R,n=t.$hostElement$,o=e.o,l=((t,e)=>{var n;const o=z(e),l=c.get(o);if(t=11===t.nodeType?t:d,l)if("string"==typeof l){let s,r=_.get(t=t.head||t);if(r||_.set(t,r=new Set),!r.has(o)){{s=d.createElement("style"),s.innerHTML=l;const e=null!=(n=h.P)?n:C(d);null!=e&&s.setAttribute("nonce",e),t.insertBefore(s,t.querySelector("link"))}4&e.o&&(s.innerHTML+=u),r&&r.add(o)}}else t.adoptedStyleSheets.includes(l)||(t.adoptedStyleSheets=[...t.adoptedStyleSheets,l]);return o})(n.shadowRoot?n.shadowRoot:n.getRootNode(),e);10&o&&(n["s-sc"]=l,n.classList.add(l+"-h"),2&o&&n.classList.add(l+"-s"))})(t);Ct(t,e,l,n),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const e=null!=(o=l["s-p"])?o:[],n=()=>Mt(t);0===e.length?n():(Promise.all(e).then(n),t.o|=4,e.length=0)}},Et=null,Ct=(t,e,n,o)=>{try{Et=e,e=e.render(),t.o&=-17,t.o|=2,((t,e,n=!1)=>{var o,l,s,r;const i=t.$hostElement$,c=t.R,u=t.T||D(null,null),a=(t=>t&&t.v===N)(e)?e:U(null,null,e);if(A=i.tagName,c.A&&(a.u=a.u||{},c.A.map((([t,e])=>a.u[e]=i[t]))),n&&a.u)for(const t of Object.keys(a.u))i.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(a.u[t]=i[t]);if(a.v=null,a.o|=4,t.T=a,a.$=u.$=i.shadowRoot||i,P=i["s-sc"],tt=!!(1&c.o),T=i["s-cr"],et=!1,ft(u,a,n),h.o|=1,nt){pt(a.$);for(const t of ht){const e=t.S;if(!e["s-ol"]){const t=d.createTextNode("");t["s-nr"]=e,yt(e.parentNode,e["s-ol"]=t,e)}}for(const t of ht){const e=t.S,i=t.j;if(i){const t=i.parentNode;let n=i.nextSibling;{let s=null==(o=e["s-ol"])?void 0:o.previousSibling;for(;s;){let o=null!=(l=s["s-nr"])?l:null;if(o&&o["s-sn"]===e["s-sn"]&&t===o.parentNode){for(o=o.nextSibling;o===e||(null==o?void 0:o["s-sr"]);)o=null==o?void 0:o.nextSibling;if(!o||!o["s-nr"]){n=o;break}}s=s.previousSibling}}(!n&&t!==e.parentNode||e.nextSibling!==n)&&e!==n&&(!e["s-hn"]&&e["s-ol"]&&(e["s-hn"]=e["s-ol"].parentNode.nodeName),yt(t,e,n),1===e.nodeType&&(e.hidden=null!=(s=e["s-ih"])&&s)),e&&"function"==typeof i["s-rf"]&&i["s-rf"](e)}else 1===e.nodeType&&(n&&(e["s-ih"]=null!=(r=e.hidden)&&r),e.hidden=!0)}}et&&dt(a.$),h.o&=-2,ht.length=0,T=void 0})(t,e,o)}catch(e){r(e,t.$hostElement$)}return Et=null,null},xt=()=>Et,Mt=t=>{const e=t.$hostElement$,n=t.t,o=t.C;Tt(n,"componentDidRender"),64&t.o?Tt(n,"componentDidUpdate"):(t.o|=64,At(e),Tt(n,"componentDidLoad"),t.F(e),o||Pt()),t.L(e),t.O&&(t.O(),t.O=void 0),512&t.o&&k((()=>gt(t,!1))),t.o&=-517},Rt=t=>{{const e=o(t),n=e.$hostElement$.isConnected;return n&&2==(18&e.o)&>(e,!1),n}},Pt=()=>{At(d.documentElement),k((()=>V(f,"appload",{detail:{namespace:"tet-components"}})))},Tt=(t,e,n)=>{if(t&&t[e])try{return t[e](n)}catch(t){r(t)}},At=t=>t.classList.add("hydrated"),Ft=(t,e,n)=>{var l,s;const i=t.prototype;if(e.U||e.D||t.watchers){t.watchers&&!e.D&&(e.D=t.watchers);const c=Object.entries(null!=(l=e.U)?l:{});if(c.map((([t,[l]])=>{31&l||2&n&&32&l?Object.defineProperty(i,t,{get(){return((t,e)=>o(this).N.get(e))(0,t)},set(n){((t,e,n,l)=>{const s=o(t);if(!s)throw Error(`Couldn't find host element for "${l.k}" 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=s.$hostElement$,c=s.N.get(e),u=s.o,a=s.t;if(n=((t,e)=>null==t||E(t)?t:4&e?"false"!==t&&(""===t||!!t):2&e?parseFloat(t):1&e?t+"":t)(n,l.U[e][0]),(!(8&u)||void 0===c)&&n!==c&&(!Number.isNaN(c)||!Number.isNaN(n))&&(s.N.set(e,n),a)){if(l.D&&128&u){const t=l.D[e];t&&t.map((t=>{try{a[t](n,c,e)}catch(t){r(t,i)}}))}2==(18&u)&>(s,!1)}})(this,t,n,e)},configurable:!0,enumerable:!0}):1&n&&64&l&&Object.defineProperty(i,t,{value(...e){var n;const l=o(this);return null==(n=null==l?void 0:l.H)?void 0:n.then((()=>{var n;return null==(n=l.t)?void 0:n[t](...e)}))}})})),1&n){const n=new Map;i.attributeChangedCallback=function(t,l,s){h.jmp((()=>{var r;const c=n.get(t);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const n=o(this),i=null==n?void 0:n.o;if(i&&!(8&i)&&128&i&&s!==l){const o=n.t,i=null==(r=e.D)?void 0:r[t];null==i||i.forEach((e=>{null!=o[e]&&o[e].call(o,s,l,t)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},t.observedAttributes=Array.from(new Set([...Object.keys(null!=(s=e.D)?s:{}),...c.filter((([t,e])=>15&e[0])).map((([t,o])=>{var l;const s=o[1]||t;return n.set(s,t),512&o[0]&&(null==(l=e.A)||l.push([t,s])),s}))]))}}return t},Lt=t=>{Tt(t,"connectedCallback")},Ut=t=>{Tt(t,"disconnectedCallback")},Dt=(t,e={})=>{var l;const s=[],a=e.exclude||[],p=f.customElements,v=d.head,y=v.querySelector("meta[charset]"),w=d.createElement("style"),$=[];let b,g=!0;Object.assign(h,e),h.l=new URL(e.resourcesUrl||"./",d.baseURI).href;let k=!1;if(t.map((t=>{t[1].map((e=>{var l;const u={o:e[0],k:e[1],U:e[2],W:e[3]};4&u.o&&(k=!0),u.U=e[2],u.W=e[3],u.A=[],u.D=null!=(l=e[4])?l:{};const f=u.k,v=class extends HTMLElement{constructor(t){if(super(t),this.hasRegisteredEventListeners=!1,((t,e)=>{const o={o:0,$hostElement$:t,R:e,N:new Map};o.H=new Promise((t=>o.L=t)),o.q=new Promise((t=>o.F=t)),t["s-p"]=[],t["s-rc"]=[],n.set(t,o)})(t=this,u),1&u.o)if(t.shadowRoot){if("open"!==t.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${u.k}! Mode is set to ${t.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else t.attachShadow({mode:"open",delegatesFocus:!!(16&u.o)})}connectedCallback(){const t=o(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ht(this,t,u.W)),b&&(clearTimeout(b),b=null),g?$.push(this):h.jmp((()=>(t=>{if(!(1&h.o)){const e=o(t),n=e.R,l=()=>{};if(1&e.o)Ht(t,e,n.W),(null==e?void 0:e.t)?Lt(e.t):(null==e?void 0:e.q)&&e.q.then((()=>Lt(e.t)));else{e.o|=1,12&n.o&&(t=>{const e=t["s-cr"]=d.createComment("");e["s-cn"]=!0,yt(t,e,t.firstChild)})(t);{let n=t;for(;n=n.parentNode||n.host;)if(n["s-p"]){bt(e,e.C=n);break}}n.U&&Object.entries(n.U).map((([e,[n]])=>{if(31&n&&t.hasOwnProperty(e)){const n=t[e];delete t[e],t[e]=n}})),(async(t,e,n)=>{let o;if(!(32&e.o)){if(e.o|=32,n.B){const t=(t=>{const e=t.k.replace(/-/g,"_"),n=t.B;if(!n)return;const o=i.get(n);return o?o[e]:import(`./${n}.entry.js`).then((t=>(i.set(n,t),t[e])),r)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(t&&"then"in t){const e=()=>{};o=await t,e()}else o=t;if(!o)throw Error(`Constructor for "${n.k}#${e.G}" was not found`);o.isProxied||(n.D=o.watchers,Ft(o,n,2),o.isProxied=!0);const l=()=>{};e.o|=8;try{new o(e)}catch(t){r(t)}e.o&=-9,e.o|=128,l(),Lt(e.t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>e.o|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const e=z(n);if(!c.has(e)){const o=()=>{};((t,e,n)=>{let o=c.get(t);m&&n?(o=o||new CSSStyleSheet,"string"==typeof o?o=e:o.replaceSync(e)):o=e,c.set(t,o)})(e,t,!!(1&n.o)),o()}}}const l=e.C,s=()=>gt(e,!0);l&&l["s-rc"]?l["s-rc"].push(s):s()})(t,e,n)}l()}})(this)))}disconnectedCallback(){h.jmp((()=>(async()=>{if(!(1&h.o)){const t=o(this);t.V&&(t.V.map((t=>t())),t.V=void 0),(null==t?void 0:t.t)?Ut(t.t):(null==t?void 0:t.q)&&t.q.then((()=>Ut(t.t)))}})()))}componentOnReady(){return o(this).q}};u.B=t[0],a.includes(f)||p.get(f)||(s.push(f),p.define(f,Ft(v,u,1)))}))})),s.length>0&&(k&&(w.textContent+=u),w.textContent+=s.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",w.innerHTML.length)){w.setAttribute("data-styles","");const t=null!=(l=h.P)?l:C(d);null!=t&&w.setAttribute("nonce",t),v.insertBefore(w,y?y.nextSibling:v.firstChild)}g=!1,$.length?$.map((t=>t.connectedCallback())):h.jmp((()=>b=setTimeout(Pt,30)))},Nt=(t,e)=>e,Ht=(t,e,n)=>{n&&n.map((([n,o,l])=>{const s=qt(t,n),r=Wt(e,l),i=Bt(n);h.ael(s,o,r,i),(e.V=e.V||[]).push((()=>h.rel(s,o,r,i)))}))},Wt=(t,e)=>n=>{var o;try{256&t.o?null==(o=t.t)||o[e](n):(t.M=t.M||[]).push([e,n])}catch(t){r(t)}},qt=(t,e)=>4&e?d:8&e?f:16&e?d.body:t,Bt=t=>({passive:!!(1&t),capture:!!(2&t)}),Gt=t=>h.P=t;export{t as E,Nt as F,N as H,xt as a,Dt as b,G as c,j as d,Rt as f,B as g,U as h,p,l as r,Gt as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,f as o,h as s,H as r}from"./p-83f43fdd.js";import{p as n,t as a}from"./p-a8051a99.js";import{s as i,a as d}from"./p-7544dfd7.js";import"./p-0ebbf5ef.js";import{a as c}from"./p-87bbb893.js";import{n as l}from"./p-58434b0c.js";import{a as f}from"./p-713fff27.js";import"./p-9a2b6ee2.js";const h=class{constructor(o){t(this,o),this.addressSelected=e(this,"addressSelected",7),this.clearInputField=e(this,"clearInputField",7),this.manualAddressInput=e(this,"manualAddressInput",7),this.searchSubmitted=e(this,"searchSubmitted",7),this.language="lv",this.minSearchKeywordLength=4,this.placeholder="Piemēram, Nometņu iela 10 - 5, Salaspils",this.label="",this.accessibilityLabel="",this.addressKey="",this.newStyle=!1,this.newFormsStyle=!1,this.redesignedStyle=!1,this.theme="classic",this.manualAddressTriggers=!1,this.isInputInvalid=!1,this.inputDisabled=!1,this.inputIconRight="",this.inputValueLength=0,this.isLoading=!1,this.isKeyboardFocus=!0,this.focusVisible=!1,this.elementActive=!1,this.searchButtonText="Parbaudīt",this.closeButtonText="Aizvert"}autocomplete;nativeInput;inputComponent;onLanguageChanged(t){n("tet-components",t).then((()=>o(this)))}async search(t){this.nativeInput&&(t?await this.searchByAddressKey():await this.resetInputState())}onInputDisabledStateChange(t){t?this.removeIconRight():this.addClearIcon()}addressSelected;clearInputField;manualAddressInput;searchSubmitted;async resetInputState(){this.nativeInput.value="",this.inputValueLength=0,this.removeIconRight()}async componentWillLoad(){n("tet-components",this.language).then((()=>o(this)))}async componentDidLoad(){this.nativeInput=await(this.inputComponent?.getInputHtmlElement()),this.nativeInput?.addEventListener("input",this.toggleInputClearIcon),this.nativeInput?.addEventListener("input",this.handleInputTyping),this.nativeInput?.addEventListener("click",this.handleClick),this.autocomplete?.addEventListener("activeComponentStateChanged",this.handleActiveStateChange),this.nativeInput&&(this.nativeInput.style.whiteSpace="nowrap",this.nativeInput.style.overflow="hidden",this.nativeInput.style.textOverflow="ellipsis"),this.addressKey&&await this.searchByAddressKey()}disconnectedCallback(){this.nativeInput?.removeEventListener("input",this.toggleInputClearIcon),this.nativeInput?.removeEventListener("input",this.handleInputTyping),this.nativeInput?.removeEventListener("click",this.handleClick),this.autocomplete?.removeEventListener("activeComponentStateChanged",this.handleActiveStateChange)}handleClick=()=>{this.elementActive=!0,this.focusVisible=!1};handleInputTyping=t=>{this.elementActive=!0,t?.data&&(this.focusVisible=!1)};handleActiveStateChange=t=>{this.elementActive=null!==t.detail};onKeyDown(t){"Tab"!==t.key||this.nativeInput?.value||(this.focusVisible=!0)}async searchByAddressKey(){const t=this.inputDisabled;this.inputDisabled=!0;const e=await i(this.addressKey);e&&e.fullAddress?(this.addressSelected.emit(e),this.nativeInput.value=e.fullAddress,this.inputValueLength=this.nativeInput.value.length,t||this.addClearIcon()):this.clearInputAction(),t||(this.inputDisabled=!1)}toggleInputClearIcon=({target:t})=>{const e=l(t.value);if(this.inputValueLength=e.length,this.newStyle&&this.inputValueLength>=this.minSearchKeywordLength)return this.addLoadIcon(),void this.removeIconRight();e&&!this.inputIconRight&&this.addClearIcon(),!e&&this.inputIconRight&&this.removeIconRight()};manualAddressInputAction=()=>{this.manualAddressInput.emit(),this.clearInputAction()};addressFilterFunction=async t=>{if(t.length<this.minSearchKeywordLength)return Promise.resolve([]);const e=(await d(t)??[]).map((({fullAddress:t,addressKey:e,postalCode:o})=>({label:t,value:{addressKey:e,postalCode:o}})));return this.manualAddressTriggers&&e.length>0&&e.push({label:a("components-address-search-manual-address-input"),value:"manual-input",clickCallback:this.manualAddressInputAction,ignoreHighlighting:!0,cssPart:"manual-input-option"}),e};debounceAddressFilter=c(this.addressFilterFunction,300);removeIconRight=()=>{this.inputIconRight=""};clearInputAction=()=>{this.autocomplete?.clear()};autocompleteClearInputCallback=()=>{this.removeIconRight(),this.inputValueLength=0,this.clearInputField.emit()};addClearIcon=()=>{this.isLoading=!1,this.inputIconRight="close"};finishedLoading=()=>{this.newStyle&&(this.removeIconRight(),this.inputValueLength>=1&&this.addClearIcon())};addLoadIcon=()=>{this.isLoading=!0};handleAutocompleteOptionSelection=t=>{t.detail._originalEvent instanceof PointerEvent?(this.addressSelected.emit({addressKey:t.detail.value.addressKey,fullAddress:t.detail.label,postalCode:t.detail.value.postalCode}),this.searchSubmitted.emit(t.detail.label)):this.addressSelected.emit({addressKey:t.detail.value.addressKey,fullAddress:t.detail.label,postalCode:t.detail.value.postalCode})};handleSearchSubmit=()=>{this.searchSubmitted.emit(this.nativeInput?.value)};renderManualAddressInputNoOptionsMessage=()=>s("div",{part:"address-not-found"},s("p",null,a("components-address-search-not-found-message")),s("p",{part:`manual-input ${this.theme}`},s("a",{onClick:this.manualAddressInputAction,onKeyDown:f,class:{"tet-link":!0,dark:"dark"===this.theme},tabindex:"0",role:"button"},a("components-address-search-manual-address-input"))));render(){const t=["autocomplete-input"];return this.redesignedStyle&&t.push("address-search--redesigned__input-field"),this.newStyle&&t.push("address-search__input--rounded"),this.newFormsStyle&&t.push("address-search__input--forms"),s(r,{key:"962c8c28ad2c7bfa1877675e76f430a41d68077a",class:{"address-search":!0,"address-search--redesigned":this.redesignedStyle,"keyboard-focus":this.focusVisible,active:this.elementActive,[this.theme]:!0}},s("tet-autocomplete",{key:"d7164cab8e7feb5e06784d96882039cec93a0282",class:`address-search--redesigned__autocomplete\n ${"dark"===this.theme||"mint-original"===this.theme?"dark":""}\n `,part:"autocomplete",optionsFilterAction:this.debounceAddressFilter,onOptionSelected:this.handleAutocompleteOptionSelection,noOptionsMessage:a("components-address-search-not-found-message"),noOptionsRenderFunction:this.manualAddressTriggers?this.renderManualAddressInputNoOptionsMessage:void 0,clearCallback:this.autocompleteClearInputCallback,finishedLoading:this.finishedLoading,darkTheme:"dark"===this.theme||"mint-original"===this.theme,newStyle:this.newStyle,ref:t=>this.autocomplete=t,optionsIcon:"location",redesignedStyle:this.redesignedStyle},this.redesignedStyle?s("div",{class:"address-search--redesigned__autocomplete-content"},s("div",{class:"address-search--redesigned__input-wrapper\n "+("dark"===this.theme||"mint-original"===this.theme?"dark":"")},s("tet-input",{class:"address-search__input address-search--redesigned__input\n "+("dark"===this.theme||"mint-original"===this.theme?"dark":""),part:"input","input-class":t.join(" "),"input-placeholder":this.placeholder,"input-disabled":this.inputDisabled,label:this.label,accessibilityLabel:this.accessibilityLabel,iconLeft:this.newFormsStyle?"":"tc-search-short",iconRight:this.inputIconRight,iconRightClickCallback:this.clearInputAction,ref:t=>this.inputComponent=t,error:this.isInputInvalid,autocomplete:"off"},this.isLoading&&s("tet-spinner",{theme:"dark"===this.theme||"mint-original"===this.theme?"dark":"light",class:"address-search__spinner",size:"small"}))),s("div",{class:"address-search--redesigned__button-wrapper\n "+("dark"===this.theme||"mint-original"===this.theme?"dark":"")},s("tet-button",{class:"submit-address js-button-mobile button-icon",type:"primary","accessibility-label":a("components-address-search-search"),iconName:"arrow-right",iconMode:!0,onClick:this.handleSearchSubmit}),s("tet-button",{class:"submit-address button js-button",type:"primary",size:"medium",onClick:this.handleSearchSubmit},this.searchButtonText))):s("tet-input",{class:"address-search__input",part:"input","input-class":t.join(" "),"input-placeholder":this.placeholder,"input-disabled":this.inputDisabled,label:this.label,accessibilityLabel:this.accessibilityLabel,iconLeft:this.newFormsStyle?"":"search",iconRight:this.inputIconRight,iconRightClickCallback:this.clearInputAction,theme:this.theme,ref:t=>this.inputComponent=t,error:this.isInputInvalid,autocomplete:"off"},this.isLoading&&s("tet-spinner",{theme:"dark"===this.theme?"dark":"light",class:"address-search__spinner",size:"small"}))),this.redesignedStyle&&s("div",{key:"75ce6f082dbdcee4c6146960f20f347c3d282019",class:"address-search--redesigned__close-button"},s("tet-button",{key:"361343ddc69481c49912f2b5c61648d50a86856e",type:"link",iconName:"close",theme:"dark"},this.closeButtonText)))}static get watchers(){return{language:["onLanguageChanged"],addressKey:["search"],inputDisabled:["onInputDisabledStateChange"]}}};h.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:block;--manual-input-option-background-color:var(--tc-background-secondary);--hover-option-background-color:var(--tc-layer-primary);--input-field-icon-color:var(--tc-icon-secondary);--redesigned-address-search-padding-vertical:1rem;--redesigned-address-search-padding-horizontal:0.5rem;--redesigned-address-search-radius:1rem}:host(.address-search--redesigned){--address-search-width:100%;--address-search-height:2.75rem;width:var(--address-search-width);height:var(--address-search-height)}:host(.address-search--redesigned) ::part(autocomplete-options-container){display:none;border:none;position:unset;z-index:auto;box-shadow:none}:host(.address-search--redesigned) .address-search--redesigned__autocomplete{border:0.0625rem solid transparent}:host(.address-search--redesigned:not(.keyboard-focus)) ::part(autocomplete-options-container){display:block}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__autocomplete{position:absolute;top:calc(-1 * var(--redesigned-address-search-padding-vertical));left:calc(-1 * var(--redesigned-address-search-padding-horizontal));border:0.0625rem solid var(--tc-border-quaternary);background-color:var(--tc-layer-primary);border-radius:var(--redesigned-address-search-radius);padding:var(--redesigned-address-search-padding-vertical) var(--redesigned-address-search-padding-horizontal);width:calc(var(--address-search-width) + 2 * var(--redesigned-address-search-padding-horizontal))}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__autocomplete.dark{border-color:var(--tc-border-quaternary-dark);background-color:var(--tc-layer-primary-dark)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__close-button{display:block}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__input-wrapper{border-bottom:0.0625rem solid var(--tc-border-secondary)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__input:not(.dark){--input-text-color:var(--tc-button-text-black-permanent)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__input:not(.dark) .icon-left{--input-focus-icon-color:var(--tc-button-icon-black-permanent)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__input:not(.dark) .icon-right{--input-focus-icon-color:var(--tc-button-icon-black-permanent)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__button-wrapper:not(.dark) .submit-address::part(button){--button-background:var(--tc-button-icon-black-permanent);--button-text-color:var(--tc-text-primary-dark)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__button-wrapper:not(.dark) .submit-address::part(button):hover{--button-background:var(--tc-button-primary-background-hover)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__button-wrapper:not(.dark) .submit-address::part(button):active{--button-background:var(--tc-button-primary-background-pressed)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__button-wrapper:not(.dark) .button-icon{--button-icon-color:var(--tc-button-icon-white-permanent)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__button-wrapper.dark .submit-address::part(button){--button-background:var(--tc-button-icon-white-permanent);--button-text-color:var(--tc-text-primary)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__button-wrapper.dark .submit-address::part(button):hover{--button-background:var(--tc-button-primary-background-hover-dark)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__button-wrapper.dark .submit-address::part(button):active{--button-background:var(--tc-button-primary-background-pressed-dark)}:host(.address-search--redesigned:not(.keyboard-focus).active:focus-within) .address-search--redesigned__button-wrapper.dark .button-icon{--button-icon-color:var(--tc-button-icon-black-permanent)}:host(.dark){--manual-input-option-background-color:var(--tc-background-secondary-dark);--hover-option-background-color:var(--tc-layer-primary-dark);--input-field-icon-color:var(--tc-icon-secondary-dark)}::part(address-not-found){display:flex;flex-direction:column;gap:0.5em}::part(manual-input-option){position:sticky;bottom:0;background-color:var(--manual-input-option-background-color);margin:0.125rem 0 0 0;border-radius:0;z-index:3}::part(manual-input-option):hover{--option-hover-background-color:var(--hover-option-background-color)}.address-search__input{--input-icon-color:var(--input-field-icon-color)}.address-search__input .icon-left{--input-icon-left-position:0.875rem}.address-search__input--rounded{--input-border-radius:1.375rem;--input-hover-background-color:none}.address-search__input--rounded~.icon-left,.address-search__input--rounded~.icon-right{--icon-size:1.5rem;--input-icon-top-position:0.625rem}.address-search__input--forms{--input-border-radius:0.75rem;--input-padding:0.75rem}.address-search__spinner{position:absolute;right:1rem}.address-search--redesigned__autocomplete-content{position:relative;display:flex;gap:0.75rem}.address-search--redesigned__input-wrapper{width:100%;border-bottom:0.0625rem solid var(--tc-grey-70);margin:0 0 0 0.5rem;display:flex;align-items:center;gap:0.5rem}.address-search--redesigned__button-wrapper{display:flex;align-items:center;margin-left:0.5rem}.address-search--redesigned__button-wrapper .js-button-mobile{width:fit-content;display:block;--button-padding:0.5rem}@media (min-width: 46rem){.address-search--redesigned__button-wrapper .js-button-mobile{display:none}}.address-search--redesigned__button-wrapper .js-button{display:none;--button-padding:0.5rem 0.875rem}@media (min-width: 46rem){.address-search--redesigned__button-wrapper .js-button{display:block}}.address-search--redesigned__button-wrapper .button-icon{--button-icon-color:var(--tc-button-icon-white-permanent)}.address-search--redesigned__button-wrapper .submit-address::part(button){--button-background:var(--tc-grey-80);--button-border-color:transparent}.address-search--redesigned__button-wrapper .submit-address::part(button):hover{--button-background:var(--tc-button-primary-background-hover)}.address-search--redesigned__button-wrapper .submit-address::part(button):focus{--button-box-shadow:none}.address-search--redesigned__button-wrapper .submit-address::part(button):focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s}.address-search--redesigned__button-wrapper .submit-address::part(button):active{--button-background:var(--tc-button-primary-background-pressed)}.address-search--redesigned__button-wrapper .submit-address::part(button).dark:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline:0.125rem solid var(--tc-blue-40-dark);outline-offset:0.125rem;transition:outline 0s}.address-search--redesigned__input{width:100%;--input-height:var(--address-search-height);--input-text-color:var(--tc-button-text-white-permanent);--input-background-color:transparent;--input-border-radius:0;--input-border-color:transparent;--input-focus-border-color:transparent;--input-focus-outline-color:transparent;--input-focus-background-color:transparent}.address-search--redesigned__input .icon-left{--input-icon-left-position:0.25rem;--input-focus-icon-color:var(--tc-button-icon-white-permanent)}.address-search--redesigned__input .icon-right{--input-focus-icon-color:var(--tc-button-icon-white-permanent)}.address-search--redesigned__input-field{--input-border-radius:0.0125rem}.address-search--redesigned__close-button{display:none;position:absolute;right:0;top:calc(-0.5rem - var(--redesigned-address-search-padding-vertical));transform:translateY(-100%);--button-icon-color:var(--tc-button-icon-primary);--button-text-decoration:underline}.address-search--redesigned__close-button:hover{--button-icon-color:var(--color-grey-30)}.address-search--redesigned__close-button ::part(button){backdrop-filter:none;text-decoration:underline;--button-padding:0.5rem 0}';export{h as tet_address_search}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{h as t}from"./p-83f43fdd.js";import{c as e}from"./p-d8518d4b.js";var o;!function(t){t.LIGHT="light",t.DARK="dark"}(o||(o={}));const r="tet-components-theme",a=t=>Object.values(o).some((e=>e===t)),{state:n,onChange:s}=e({theme:(()=>{const t=localStorage.getItem(r);return a(t)?t:o.LIGHT})()});s("theme",(t=>{const e=t.toString();if(!a(e))throw new Error(`Invalid theme: "${e}"`);localStorage.setItem(r,e)}));const c=t=>`theme-${t}`,m=({theme:e},o)=>t("div",{class:{[c(e||n.theme)]:!0}},o);export{o as T,m as a}
|