@tet/tet-components 1.4.22-testing → 1.4.23-staging
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-f852270f.js} +1 -1
- package/dist/cjs/{assets-f64f0e16.js → assets-b9d36649.js} +1 -1
- package/dist/cjs/{async-request-fcf33aba.js → async-request-4517f566.js} +1 -1
- package/dist/cjs/{http-codes-40da1e61.js → http-codes-062f76cf.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +5 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-055efd07.js → phone-d6be0dd2.js} +2 -2
- package/dist/cjs/{product-comparison-88a89820.js → product-comparison-aa80a77c.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +9 -9
- package/dist/cjs/tet-address-search.cjs.entry.js +7 -7
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +6 -6
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +70 -9
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-carousel.cjs.entry.js +10 -10
- package/dist/cjs/tet-checkbox.cjs.entry.js +23 -8
- 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 +5 -5
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +6 -6
- 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 +271 -0
- package/dist/cjs/tet-customer-assets.cjs.entry.js +4 -4
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
- package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/tet-dialog.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +4 -4
- package/dist/cjs/tet-expandable-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-feedback-form.cjs.entry.js +4 -4
- package/dist/cjs/tet-filter.cjs.entry.js +3 -3
- package/dist/cjs/tet-floating-block.cjs.entry.js +2 -2
- package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +3 -3
- package/dist/cjs/tet-inline-message.cjs.entry.js +3 -3
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +5 -5
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-loader.cjs.entry.js +2 -2
- package/dist/cjs/tet-macd-view.cjs.entry.js +7 -7
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu.cjs.entry.js +2 -2
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +2 -2
- package/dist/cjs/tet-radio.cjs.entry.js +24 -9
- package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
- package/dist/cjs/tet-referral.cjs.entry.js +7 -7
- package/dist/cjs/tet-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +2 -2
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-switch.cjs.entry.js +4 -4
- package/dist/cjs/tet-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/tet-table.cjs.entry.js +2 -2
- package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-text-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +3 -3
- package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-46514846.js} +2 -2
- package/dist/cjs/{translations-03c9de64.js → translations-89a0ec3d.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +3 -3
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +24 -2
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.css +24 -2
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.js +1 -1
- package/dist/collection/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.js +3 -3
- package/dist/collection/components/advanced/cards/tet-snicker-card/partials/tet-snicker-card-badge/tet-snicker-card-badge.js +1 -1
- package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +2 -2
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
- package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-feedback-form/tet-feedback-form.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
- package/dist/collection/components/basic/buttons/tet-button/tet-button.css +318 -495
- package/dist/collection/components/basic/buttons/tet-button/tet-button.js +127 -8
- package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.css +5 -0
- package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.js +39 -6
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.css +5 -0
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +40 -7
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +3 -3
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +7 -7
- package/dist/collection/components/basic/icon/tet-icon.js +1 -1
- package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
- package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
- package/dist/collection/components/basic/misc/tet-counter/tet-counter.css +16 -0
- package/dist/collection/components/basic/misc/tet-counter/tet-counter.js +583 -0
- package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
- package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper/tet-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v2/tet-stepper-v2.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +1 -1
- package/dist/collection/components/simple/filter/tet-filter/tet-filter.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.js +1 -1
- package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
- package/dist/collection/components/simple/lists/tet-link-card-list/tet-link-card-list.js +1 -1
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/lists/tet-text-list/tet-text-list.css +24 -2
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +1 -1
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/structural/tet-floating-block/tet-floating-block.js +1 -1
- package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-dialog/tet-dialog.js +2 -2
- package/dist/collection/components/simple/text-blocks/tet-inline-message/tet-inline-message.js +2 -2
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
- package/dist/collection/components/views/tet-macd-view/tet-macd-view.js +1 -1
- package/dist/collection/components/views/tet-price-view/tet-price-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +2 -2
- package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +2 -2
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/index.js +3 -1
- package/dist/components/{p-375a5cfa.js → p-067e24b2.js} +2 -2
- package/dist/components/{p-4029ad75.js → p-081e662f.js} +6 -6
- package/dist/components/{p-c9ec821b.js → p-0cd01523.js} +2 -2
- package/dist/components/{p-ac209bc1.js → p-0e5c120b.js} +3 -3
- package/dist/components/{p-77d77578.js → p-0ff0536d.js} +8 -8
- package/dist/components/{p-438d429c.js → p-1073635c.js} +5 -5
- package/dist/components/{p-83e9f500.js → p-1823d576.js} +2 -2
- package/dist/components/{p-f76fad86.js → p-26ffcb52.js} +1 -1
- package/dist/components/{p-c0e5e16a.js → p-29aa33c8.js} +3 -3
- package/dist/components/{p-ffe0b1f2.js → p-2a611bd4.js} +8 -8
- package/dist/components/{p-d3e6fe4e.js → p-338b45d9.js} +14 -14
- package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
- package/dist/components/{p-0a5f7ab0.js → p-3a320356.js} +5 -5
- package/dist/components/{p-20ca9fa1.js → p-3c78e73c.js} +1 -1
- package/dist/components/{p-b6e2a8cc.js → p-412014d8.js} +1 -1
- package/dist/components/{p-c722c61d.js → p-434a227a.js} +13 -13
- package/dist/components/{p-e76a41b8.js → p-4426ffeb.js} +4 -4
- package/dist/components/{p-7f859d29.js → p-44ddd769.js} +3 -3
- package/dist/components/{p-0f1423b7.js → p-4828e5f5.js} +10 -10
- package/dist/components/{p-ec253cea.js → p-56b80f8d.js} +3 -3
- package/dist/components/{p-b32cb3ad.js → p-56c2eff7.js} +10 -10
- package/dist/components/{p-5c47c2d5.js → p-5e4f8207.js} +2 -2
- package/dist/components/{p-82d03692.js → p-5fd85b9a.js} +7 -7
- package/dist/components/{p-69555360.js → p-6114f69a.js} +5 -5
- package/dist/components/p-6792548e.js +174 -0
- package/dist/components/{p-1675cb05.js → p-69131a6d.js} +5 -5
- package/dist/components/{p-c3dd8021.js → p-6d224324.js} +4 -4
- package/dist/components/{p-e3fecd23.js → p-7095bb34.js} +7 -7
- package/dist/components/{p-2e59089a.js → p-724e52a7.js} +1 -1
- package/dist/components/{p-635c5db4.js → p-74ba95e0.js} +1 -1
- package/dist/components/{p-c3d2ccd5.js → p-75b954b5.js} +1 -1
- package/dist/components/{p-8758fb64.js → p-768a2c8d.js} +1 -1
- package/dist/components/{p-a17553f4.js → p-77c9384e.js} +1 -1
- package/dist/components/{p-cd009231.js → p-922bbaa7.js} +5 -5
- package/dist/components/{p-69774b35.js → p-928d194b.js} +4 -4
- package/dist/components/{p-47760f25.js → p-9667687e.js} +2 -2
- package/dist/components/{p-039c578b.js → p-969a45a7.js} +3 -3
- package/dist/components/{p-b4b94c16.js → p-99746f8e.js} +4 -4
- package/dist/components/{p-56f9a49b.js → p-9ad56c01.js} +4 -4
- package/dist/components/{p-0e70d061.js → p-a2c27d73.js} +3 -3
- package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
- package/dist/components/{p-a7e888ab.js → p-acd8e0a7.js} +3 -3
- package/dist/components/{p-26ce88e8.js → p-b1cc938c.js} +5 -5
- package/dist/components/{p-41a7c21a.js → p-b6841a9b.js} +2 -2
- package/dist/components/{p-b52c715b.js → p-b8ff2ee7.js} +6 -6
- package/dist/components/{p-68513e60.js → p-bd8f948a.js} +10 -10
- package/dist/components/p-c4b485ea.js +153 -0
- package/dist/components/{p-ee17a01a.js → p-c6240e0c.js} +2 -2
- package/dist/components/{p-ab294e76.js → p-c69e3d71.js} +3 -3
- package/dist/components/{p-2f2fb278.js → p-cee6db3f.js} +3 -3
- package/dist/components/{p-afaf0812.js → p-d1aa707b.js} +2 -2
- package/dist/components/{p-b73ba300.js → p-d864ac46.js} +2 -2
- package/dist/components/{p-cd88ddf8.js → p-df729c73.js} +3 -3
- package/dist/components/{p-f52de522.js → p-ea7a0078.js} +7 -7
- package/dist/components/{p-9664416d.js → p-ed6c97fc.js} +3 -3
- package/dist/components/{p-b03d721d.js → p-ef5edf2b.js} +11 -11
- package/dist/components/{p-61cedfb0.js → p-f88fcd38.js} +2 -2
- package/dist/components/{p-b1c19d70.js → p-f8e5ca59.js} +25 -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 +25 -25
- 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 +6 -6
- 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 +9 -9
- 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 +2 -2
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +5 -5
- package/dist/components/tet-business-lines.js +6 -6
- 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 +11 -11
- 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 +5 -5
- package/dist/components/tet-compare-card-v2.js +11 -11
- 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 +10 -10
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-counter.d.ts +11 -0
- package/dist/components/tet-counter.js +312 -0
- package/dist/components/tet-customer-assets.js +10 -10
- 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 +10 -10
- 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 +7 -7
- package/dist/components/tet-expandable-input.js +5 -5
- package/dist/components/tet-expansion-panel.js +2 -2
- package/dist/components/tet-feedback-form.js +8 -8
- package/dist/components/tet-filter.js +6 -6
- package/dist/components/tet-floating-block.js +4 -4
- package/dist/components/tet-font-weight.js +2 -2
- package/dist/components/tet-fonts.js +2 -2
- package/dist/components/tet-grid.js +2 -2
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +4 -4
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +5 -5
- package/dist/components/tet-layout.js +2 -2
- package/dist/components/tet-link-card-list.js +4 -4
- package/dist/components/tet-link.js +2 -2
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +11 -11
- package/dist/components/tet-menu-mobile.js +3 -3
- package/dist/components/tet-menu.js +3 -3
- package/dist/components/tet-multi-step-dialog.js +6 -6
- package/dist/components/tet-navigation-mobile.js +5 -5
- package/dist/components/tet-news-card-list.js +5 -5
- 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 +8 -8
- package/dist/components/tet-round-stepper.js +3 -3
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-badge.js +2 -2
- package/dist/components/tet-spacing.js +2 -2
- 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 +4 -4
- 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 +6 -6
- package/dist/components/tet-thank-you-view-v3.js +6 -6
- package/dist/components/tet-thank-you-view.js +5 -5
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +2 -2
- package/dist/components/tet-tv-gift-list.js +4 -4
- package/dist/esm/{address-1e0810e7.js → address-20e2d850.js} +1 -1
- package/dist/esm/{assets-e1349520.js → assets-894007df.js} +1 -1
- package/dist/esm/{async-request-4c945e13.js → async-request-ae1056de.js} +1 -1
- package/dist/esm/{http-codes-1927ea00.js → http-codes-cf0086d4.js} +1 -1
- package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +5 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-1a920c5c.js → phone-62660137.js} +2 -2
- package/dist/esm/{product-comparison-dd90c721.js → product-comparison-cb8955f6.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_4.entry.js +9 -9
- package/dist/esm/tet-address-search.entry.js +7 -7
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +6 -6
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +3 -3
- package/dist/esm/tet-business-lines.entry.js +5 -5
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +70 -9
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-carousel.entry.js +10 -10
- package/dist/esm/tet-checkbox.entry.js +23 -8
- 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 +5 -5
- package/dist/esm/tet-compare-card-v2.entry.js +5 -5
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +5 -5
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +6 -6
- 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 +267 -0
- package/dist/esm/tet-customer-assets.entry.js +4 -4
- package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
- package/dist/esm/tet-datepicker.entry.js +5 -5
- package/dist/esm/tet-dialog.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/tet-dynamic-card.entry.js +4 -4
- package/dist/esm/tet-expandable-input.entry.js +3 -3
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-feedback-form.entry.js +4 -4
- package/dist/esm/tet-filter.entry.js +3 -3
- package/dist/esm/tet-floating-block.entry.js +2 -2
- package/dist/esm/tet-font-weight.entry.js +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +3 -3
- package/dist/esm/tet-inline-message.entry.js +3 -3
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +5 -5
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +2 -2
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-loader.entry.js +2 -2
- package/dist/esm/tet-macd-view.entry.js +7 -7
- package/dist/esm/tet-menu-mobile.entry.js +2 -2
- package/dist/esm/tet-menu.entry.js +2 -2
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +4 -4
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +3 -3
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +2 -2
- package/dist/esm/tet-radio.entry.js +24 -9
- package/dist/esm/tet-range-slider.entry.js +8 -8
- package/dist/esm/tet-referral.entry.js +7 -7
- package/dist/esm/tet-round-stepper.entry.js +2 -2
- package/dist/esm/tet-snicker-card-badge.entry.js +2 -2
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +4 -4
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- package/dist/esm/tet-stepper-v2.entry.js +2 -2
- package/dist/esm/tet-stepper-v3.entry.js +2 -2
- package/dist/esm/tet-stepper.entry.js +2 -2
- package/dist/esm/tet-switch.entry.js +4 -4
- package/dist/esm/tet-tab-header.entry.js +3 -3
- package/dist/esm/tet-table.entry.js +2 -2
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +2 -2
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v2.entry.js +4 -4
- package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
- package/dist/esm/tet-thank-you-view.entry.js +2 -2
- package/dist/esm/tet-tv-gift-block.entry.js +2 -2
- package/dist/esm/tet-tv-gift-list.entry.js +3 -3
- package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-cf4d7d54.js} +2 -2
- package/dist/esm/{translations-4712c45f.js → translations-e60db8fd.js} +1 -1
- package/dist/tet-components/{p-38fb0eea.entry.js → p-0064eb71.entry.js} +1 -1
- package/dist/tet-components/{p-e0f7a4a5.entry.js → p-01cbb74c.entry.js} +1 -1
- package/dist/tet-components/{p-a7d9e280.entry.js → p-08569f07.entry.js} +1 -1
- package/dist/tet-components/{p-0f2d1a9c.entry.js → p-0a326f53.entry.js} +1 -1
- package/dist/tet-components/{p-a6c89f10.entry.js → p-0bda3eeb.entry.js} +1 -1
- package/dist/tet-components/p-0bf60061.entry.js +1 -0
- package/dist/tet-components/{p-77a1f676.entry.js → p-103dab6f.entry.js} +1 -1
- package/dist/tet-components/{p-f25a0e3a.entry.js → p-127b2895.entry.js} +1 -1
- package/dist/tet-components/{p-33d12bd1.entry.js → p-12f975ff.entry.js} +1 -1
- package/dist/tet-components/{p-3a6b0d35.entry.js → p-14c15a69.entry.js} +1 -1
- package/dist/tet-components/{p-39686fad.entry.js → p-1765c8c5.entry.js} +1 -1
- package/dist/tet-components/{p-d55121ce.entry.js → p-1a05c222.entry.js} +1 -1
- package/dist/tet-components/{p-4a16b8da.entry.js → p-1b976fcb.entry.js} +1 -1
- package/dist/tet-components/{p-bcca51cc.entry.js → p-1f5ed76c.entry.js} +1 -1
- package/dist/tet-components/{p-6297692b.entry.js → p-239fa72a.entry.js} +1 -1
- package/dist/tet-components/{p-0690732e.entry.js → p-23f3b153.entry.js} +1 -1
- package/dist/tet-components/{p-a87ce46a.entry.js → p-24df18b9.entry.js} +1 -1
- package/dist/tet-components/{p-f6916bfc.entry.js → p-265701de.entry.js} +1 -1
- package/dist/tet-components/{p-94dd5d95.entry.js → p-2a558830.entry.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
- package/dist/tet-components/{p-7056a120.entry.js → p-31d0b400.entry.js} +1 -1
- package/dist/tet-components/{p-e51579ab.entry.js → p-32488c4e.entry.js} +1 -1
- package/dist/tet-components/{p-6dde4d69.entry.js → p-330840ff.entry.js} +1 -1
- package/dist/tet-components/{p-43c3b078.entry.js → p-365ebf00.entry.js} +1 -1
- package/dist/tet-components/{p-79dab470.entry.js → p-39320aa4.entry.js} +1 -1
- package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
- package/dist/tet-components/{p-3fc6a020.entry.js → p-3b5e9fed.entry.js} +1 -1
- package/dist/tet-components/{p-c2dbf3db.entry.js → p-4176aaca.entry.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
- package/dist/tet-components/{p-720e5059.entry.js → p-43eff59d.entry.js} +1 -1
- package/dist/tet-components/{p-e98a1ad1.entry.js → p-4d7f1c6e.entry.js} +1 -1
- package/dist/tet-components/p-4d935fc8.entry.js +1 -0
- package/dist/tet-components/{p-70c608a6.entry.js → p-4fc641da.entry.js} +1 -1
- package/dist/tet-components/{p-c51da57b.entry.js → p-52d7b6c3.entry.js} +1 -1
- package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
- package/dist/tet-components/p-581b1f01.entry.js +1 -0
- package/dist/tet-components/{p-85bcbb9d.entry.js → p-589e8e4b.entry.js} +1 -1
- package/dist/tet-components/{p-5af71510.entry.js → p-59007fe7.entry.js} +1 -1
- package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
- package/dist/tet-components/{p-298292ce.entry.js → p-5d56e074.entry.js} +1 -1
- package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
- package/dist/tet-components/{p-33f2ed2e.entry.js → p-635ed958.entry.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
- package/dist/tet-components/p-660bdc27.js +1 -0
- package/dist/tet-components/{p-85f61fc0.entry.js → p-6c6cd148.entry.js} +1 -1
- package/dist/tet-components/{p-33404a9a.entry.js → p-6c6fe82b.entry.js} +1 -1
- package/dist/tet-components/{p-79f778d6.entry.js → p-6cf6894d.entry.js} +1 -1
- package/dist/tet-components/{p-7194c3e1.entry.js → p-6fb8c506.entry.js} +1 -1
- package/dist/tet-components/{p-490f1cd2.entry.js → p-6ffacde3.entry.js} +1 -1
- package/dist/tet-components/{p-a70cec80.entry.js → p-70cec2eb.entry.js} +1 -1
- package/dist/tet-components/{p-1d207053.entry.js → p-725ed08d.entry.js} +1 -1
- package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
- package/dist/tet-components/{p-667d758e.entry.js → p-73c190a2.entry.js} +1 -1
- package/dist/tet-components/{p-adf006f9.entry.js → p-79ee95e0.entry.js} +1 -1
- package/dist/tet-components/{p-f5040842.entry.js → p-7bd6f009.entry.js} +1 -1
- package/dist/tet-components/{p-811eaad9.entry.js → p-81fdc2f2.entry.js} +1 -1
- package/dist/tet-components/{p-483e0253.entry.js → p-839ae15f.entry.js} +1 -1
- package/dist/tet-components/{p-10e72480.entry.js → p-8b93b91f.entry.js} +1 -1
- package/dist/tet-components/{p-bfd8348b.entry.js → p-8fae4e03.entry.js} +1 -1
- package/dist/tet-components/{p-17946d38.entry.js → p-92eb59b7.entry.js} +1 -1
- package/dist/tet-components/{p-cce44523.entry.js → p-965e10f6.entry.js} +1 -1
- package/dist/tet-components/{p-35cbd34e.entry.js → p-9bd457d2.entry.js} +1 -1
- package/dist/tet-components/{p-028e8ace.entry.js → p-9c714aa1.entry.js} +1 -1
- package/dist/tet-components/{p-d4dc17f5.entry.js → p-a15fda05.entry.js} +1 -1
- package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
- package/dist/tet-components/{p-e98108ba.entry.js → p-a81b19d6.entry.js} +1 -1
- package/dist/tet-components/p-abd6e438.entry.js +1 -0
- package/dist/tet-components/{p-d2f9b52a.entry.js → p-acd1b5e8.entry.js} +1 -1
- package/dist/tet-components/{p-6c7b5f8d.entry.js → p-af86e2dc.entry.js} +1 -1
- package/dist/tet-components/{p-09e92f79.entry.js → p-b179e1e3.entry.js} +1 -1
- package/dist/tet-components/{p-f68450a4.entry.js → p-b22de340.entry.js} +1 -1
- package/dist/tet-components/{p-ecad90f7.entry.js → p-b2c138f0.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
- package/dist/tet-components/{p-872bbccf.entry.js → p-b468a922.entry.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
- package/dist/tet-components/{p-5533f71b.entry.js → p-b4c23878.entry.js} +1 -1
- package/dist/tet-components/{p-162809ee.entry.js → p-b61304cf.entry.js} +1 -1
- package/dist/tet-components/{p-cf479331.entry.js → p-b64bd05a.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
- package/dist/tet-components/{p-798aa31d.entry.js → p-c2b120fa.entry.js} +1 -1
- package/dist/tet-components/{p-90763483.entry.js → p-c3a54cfd.entry.js} +1 -1
- package/dist/tet-components/{p-f9a0b36a.entry.js → p-c64bc4bf.entry.js} +1 -1
- package/dist/tet-components/{p-37a8e22b.entry.js → p-c76a4457.entry.js} +1 -1
- package/dist/tet-components/{p-b34e86ef.entry.js → p-c9583427.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
- package/dist/tet-components/{p-8b421887.entry.js → p-d028d7c4.entry.js} +1 -1
- package/dist/tet-components/{p-43fd6ff8.entry.js → p-d267844d.entry.js} +1 -1
- package/dist/tet-components/{p-8cf12736.entry.js → p-d3db997e.entry.js} +1 -1
- package/dist/tet-components/{p-83ada223.entry.js → p-d4826b0a.entry.js} +1 -1
- package/dist/tet-components/p-d9b46efd.entry.js +1 -0
- package/dist/tet-components/p-da386a33.entry.js +1 -0
- package/dist/tet-components/{p-742d2b37.entry.js → p-df99dc91.entry.js} +1 -1
- package/dist/tet-components/{p-0e2dbd84.entry.js → p-e0a2de25.entry.js} +1 -1
- package/dist/tet-components/{p-a64e3e96.entry.js → p-e74416dc.entry.js} +1 -1
- package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
- package/dist/tet-components/{p-5e8466e6.entry.js → p-ecea1d66.entry.js} +1 -1
- package/dist/tet-components/{p-9eb496bb.entry.js → p-ef84df23.entry.js} +1 -1
- package/dist/tet-components/p-efc8d952.entry.js +1 -0
- package/dist/tet-components/{p-2328b1d4.entry.js → p-f9c98275.entry.js} +1 -1
- package/dist/tet-components/{p-e05e8cad.entry.js → p-fa3eb190.entry.js} +1 -1
- package/dist/tet-components/tet-components.css +2 -2
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/basic/buttons/tet-button/tet-button.d.ts +15 -1
- package/dist/types/components/basic/buttons/tet-checkbox/tet-checkbox.d.ts +3 -0
- package/dist/types/components/basic/buttons/tet-radio/tet-radio.d.ts +3 -0
- package/dist/types/components/basic/misc/tet-counter/tet-counter.d.ts +67 -0
- package/dist/types/components.d.ts +181 -2
- package/package.json +1 -1
- package/dist/components/p-7965bdfb.js +0 -89
- package/dist/components/p-f0a90a3d.js +0 -158
- package/dist/tet-components/p-1e7163c8.entry.js +0 -1
- package/dist/tet-components/p-31668864.entry.js +0 -1
- package/dist/tet-components/p-75927057.entry.js +0 -1
- package/dist/tet-components/p-8d8de315.entry.js +0 -1
- package/dist/tet-components/p-9ebb9fdf.entry.js +0 -1
- package/dist/tet-components/p-a903f58f.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-faec4c52.js');
|
|
6
|
+
|
|
7
|
+
const tetCounterCss = ":host{display:inline-block}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;white-space:nowrap;border:0;clip:rect(0 0 0 0);clip-path:inset(50%)}";
|
|
8
|
+
const TetCounterStyle0 = tetCounterCss;
|
|
9
|
+
|
|
10
|
+
const DEFAULT_EASING_START_PROGRESS = 0.2;
|
|
11
|
+
const DEFAULT_EASING_PROGRESS_AT_START = 0.5;
|
|
12
|
+
const DEFAULT_EASING_POWER = 3;
|
|
13
|
+
const TetCounter = class {
|
|
14
|
+
constructor(hostRef) {
|
|
15
|
+
index.registerInstance(this, hostRef);
|
|
16
|
+
this.counterStarted = index.createEvent(this, "counterStarted", 7);
|
|
17
|
+
this.counterFinished = index.createEvent(this, "counterFinished", 7);
|
|
18
|
+
this.startValue = 0;
|
|
19
|
+
this.endValue = 10;
|
|
20
|
+
this.duration = 2000;
|
|
21
|
+
this.delay = 0;
|
|
22
|
+
this.valueSteps = 0;
|
|
23
|
+
this.stepValues = undefined;
|
|
24
|
+
this.loopInterval = 0;
|
|
25
|
+
this.easing = undefined;
|
|
26
|
+
this.easingConfig = undefined;
|
|
27
|
+
this.disableAnimation = false;
|
|
28
|
+
this.thousandSeparator = true;
|
|
29
|
+
this.startOnViewport = true;
|
|
30
|
+
this.currentValue = 0;
|
|
31
|
+
}
|
|
32
|
+
get hostElement() { return index.getElement(this); }
|
|
33
|
+
/** Emitted when counter run starts. */
|
|
34
|
+
counterStarted;
|
|
35
|
+
/** Emitted when counter reaches end value. */
|
|
36
|
+
counterFinished;
|
|
37
|
+
animationFrameId;
|
|
38
|
+
loopTimeoutId;
|
|
39
|
+
startDelayTimeoutId;
|
|
40
|
+
viewportObserver;
|
|
41
|
+
hasEnteredViewport = false;
|
|
42
|
+
componentWillLoad() {
|
|
43
|
+
this.scheduleCounterStart();
|
|
44
|
+
}
|
|
45
|
+
disconnectedCallback() {
|
|
46
|
+
this.clearTimer();
|
|
47
|
+
this.clearViewportObserver();
|
|
48
|
+
}
|
|
49
|
+
onCounterConfigChanged() {
|
|
50
|
+
this.scheduleCounterStart();
|
|
51
|
+
}
|
|
52
|
+
/** Restarts the counter animation from its configured start value. */
|
|
53
|
+
async restartCounter() {
|
|
54
|
+
this.scheduleCounterStart({ requireViewport: true });
|
|
55
|
+
}
|
|
56
|
+
clearViewportObserver() {
|
|
57
|
+
this.viewportObserver?.disconnect();
|
|
58
|
+
this.viewportObserver = undefined;
|
|
59
|
+
}
|
|
60
|
+
scheduleCounterStart(options = {}) {
|
|
61
|
+
const shouldWaitForViewport = this.startOnViewport && (options.requireViewport || !this.hasEnteredViewport);
|
|
62
|
+
if (!shouldWaitForViewport) {
|
|
63
|
+
this.clearViewportObserver();
|
|
64
|
+
this.startCounter();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
this.clearTimer();
|
|
68
|
+
this.currentValue = this.startValue;
|
|
69
|
+
if (globalThis.IntersectionObserver === undefined) {
|
|
70
|
+
this.hasEnteredViewport = true;
|
|
71
|
+
this.startCounter();
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
if (this.viewportObserver)
|
|
75
|
+
return;
|
|
76
|
+
this.viewportObserver = new globalThis.IntersectionObserver((entries) => {
|
|
77
|
+
const isVisible = entries.some((entry) => entry.isIntersecting);
|
|
78
|
+
if (!isVisible)
|
|
79
|
+
return;
|
|
80
|
+
this.hasEnteredViewport = true;
|
|
81
|
+
this.clearViewportObserver();
|
|
82
|
+
this.startCounter();
|
|
83
|
+
});
|
|
84
|
+
this.viewportObserver.observe(this.hostElement);
|
|
85
|
+
}
|
|
86
|
+
getSafeStepCount() {
|
|
87
|
+
const normalizedStepCount = Math.floor(this.valueSteps);
|
|
88
|
+
if (normalizedStepCount < 2)
|
|
89
|
+
return 0;
|
|
90
|
+
const valueRange = Math.abs(this.endValue - this.startValue);
|
|
91
|
+
if (valueRange === 0)
|
|
92
|
+
return 0;
|
|
93
|
+
return Math.min(normalizedStepCount, valueRange + 1);
|
|
94
|
+
}
|
|
95
|
+
getExplicitStepValues() {
|
|
96
|
+
if (!Array.isArray(this.stepValues) || this.stepValues.length === 0)
|
|
97
|
+
return null;
|
|
98
|
+
const normalizedValues = this.stepValues
|
|
99
|
+
.filter((value) => Number.isFinite(value))
|
|
100
|
+
.map((value) => Math.round(value));
|
|
101
|
+
if (normalizedValues.length === 0)
|
|
102
|
+
return null;
|
|
103
|
+
const withBoundaries = [...normalizedValues];
|
|
104
|
+
if (withBoundaries[0] !== this.startValue) {
|
|
105
|
+
withBoundaries.unshift(this.startValue);
|
|
106
|
+
}
|
|
107
|
+
if (withBoundaries.at(-1) !== this.endValue) {
|
|
108
|
+
withBoundaries.push(this.endValue);
|
|
109
|
+
}
|
|
110
|
+
const deduplicatedValues = withBoundaries.filter((value, index, values) => index === 0 || value !== values[index - 1]);
|
|
111
|
+
return deduplicatedValues.length >= 2 ? deduplicatedValues : null;
|
|
112
|
+
}
|
|
113
|
+
getRandomizedStepValues(stepCount) {
|
|
114
|
+
const minValue = Math.min(this.startValue, this.endValue);
|
|
115
|
+
const maxValue = Math.max(this.startValue, this.endValue);
|
|
116
|
+
const values = new Set([this.startValue, this.endValue]);
|
|
117
|
+
while (values.size < stepCount) {
|
|
118
|
+
const randomValue = Math.floor(Math.random() * (maxValue - minValue + 1)) + minValue;
|
|
119
|
+
values.add(randomValue);
|
|
120
|
+
}
|
|
121
|
+
const sortedValues = Array.from(values).sort((first, second) => first - second);
|
|
122
|
+
if (this.startValue > this.endValue) {
|
|
123
|
+
sortedValues.reverse();
|
|
124
|
+
}
|
|
125
|
+
return sortedValues;
|
|
126
|
+
}
|
|
127
|
+
clearTimer() {
|
|
128
|
+
if (this.animationFrameId !== undefined) {
|
|
129
|
+
globalThis.cancelAnimationFrame(this.animationFrameId);
|
|
130
|
+
this.animationFrameId = undefined;
|
|
131
|
+
}
|
|
132
|
+
if (this.loopTimeoutId !== undefined) {
|
|
133
|
+
globalThis.clearTimeout(this.loopTimeoutId);
|
|
134
|
+
this.loopTimeoutId = undefined;
|
|
135
|
+
}
|
|
136
|
+
if (this.startDelayTimeoutId !== undefined) {
|
|
137
|
+
globalThis.clearTimeout(this.startDelayTimeoutId);
|
|
138
|
+
this.startDelayTimeoutId = undefined;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
scheduleLoopRestart() {
|
|
142
|
+
const safeLoopIntervalMs = Number.isFinite(this.loopInterval) ? Math.max(0, this.loopInterval) : 0;
|
|
143
|
+
if (safeLoopIntervalMs === 0)
|
|
144
|
+
return;
|
|
145
|
+
this.loopTimeoutId = globalThis.setTimeout(() => {
|
|
146
|
+
this.loopTimeoutId = undefined;
|
|
147
|
+
this.startCounter({ skipDelay: true });
|
|
148
|
+
}, safeLoopIntervalMs);
|
|
149
|
+
}
|
|
150
|
+
getAnimationProgress(normalizedProgress) {
|
|
151
|
+
if (this.easing === 'ease-out') {
|
|
152
|
+
return this.getEasingCurveProgress(normalizedProgress);
|
|
153
|
+
}
|
|
154
|
+
if (this.easing === 'ease-in') {
|
|
155
|
+
return 1 - this.getEasingCurveProgress(1 - normalizedProgress);
|
|
156
|
+
}
|
|
157
|
+
return normalizedProgress;
|
|
158
|
+
}
|
|
159
|
+
getEasingCurveProgress(normalizedProgress) {
|
|
160
|
+
const startProgressValue = this.easingConfig?.startProgress ?? DEFAULT_EASING_START_PROGRESS;
|
|
161
|
+
const progressAtStartValue = this.easingConfig?.progressAtStart ?? DEFAULT_EASING_PROGRESS_AT_START;
|
|
162
|
+
const powerValue = this.easingConfig?.power ?? DEFAULT_EASING_POWER;
|
|
163
|
+
const normalizedStartProgress = Number.isFinite(startProgressValue) ? startProgressValue : DEFAULT_EASING_START_PROGRESS;
|
|
164
|
+
const normalizedProgressAtStart = Number.isFinite(progressAtStartValue) ? progressAtStartValue : DEFAULT_EASING_PROGRESS_AT_START;
|
|
165
|
+
const normalizedPower = Number.isFinite(powerValue) ? powerValue : DEFAULT_EASING_POWER;
|
|
166
|
+
const easingStartProgress = Math.min(0.99, Math.max(0.01, normalizedStartProgress));
|
|
167
|
+
const progressAtEasingStart = Math.min(0.99, Math.max(easingStartProgress, normalizedProgressAtStart));
|
|
168
|
+
const easingPower = Math.max(1.01, normalizedPower);
|
|
169
|
+
if (normalizedProgress <= easingStartProgress) {
|
|
170
|
+
return (progressAtEasingStart / easingStartProgress) * normalizedProgress;
|
|
171
|
+
}
|
|
172
|
+
const secondHalfProgress = (normalizedProgress - easingStartProgress) / (1 - easingStartProgress);
|
|
173
|
+
const easedSecondHalfProgress = 1 - Math.pow(1 - secondHalfProgress, easingPower);
|
|
174
|
+
const blendFactor = Math.min(0.85, Math.max(0.55, 1 - (1 / easingPower)));
|
|
175
|
+
const stabilizedSecondHalfProgress = (blendFactor * easedSecondHalfProgress) + ((1 - blendFactor) * secondHalfProgress);
|
|
176
|
+
return progressAtEasingStart + ((1 - progressAtEasingStart) * stabilizedSecondHalfProgress);
|
|
177
|
+
}
|
|
178
|
+
getProgressValue(animationProgress) {
|
|
179
|
+
const valueDifference = this.endValue - this.startValue;
|
|
180
|
+
const rawValue = this.startValue + (valueDifference * animationProgress);
|
|
181
|
+
if (valueDifference >= 0) {
|
|
182
|
+
return Math.floor(rawValue);
|
|
183
|
+
}
|
|
184
|
+
return Math.ceil(rawValue);
|
|
185
|
+
}
|
|
186
|
+
startCounter(options = {}) {
|
|
187
|
+
this.clearTimer();
|
|
188
|
+
const safeStartDelayMs = Number.isFinite(this.delay) ? Math.max(0, this.delay) : 0;
|
|
189
|
+
if (!options.skipDelay && safeStartDelayMs > 0) {
|
|
190
|
+
this.currentValue = this.startValue;
|
|
191
|
+
this.startDelayTimeoutId = globalThis.setTimeout(() => {
|
|
192
|
+
this.startDelayTimeoutId = undefined;
|
|
193
|
+
this.startCounter({ skipDelay: true });
|
|
194
|
+
}, safeStartDelayMs);
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
this.counterStarted.emit();
|
|
198
|
+
if (this.disableAnimation) {
|
|
199
|
+
this.currentValue = this.endValue;
|
|
200
|
+
this.counterFinished.emit();
|
|
201
|
+
return;
|
|
202
|
+
}
|
|
203
|
+
this.currentValue = this.startValue;
|
|
204
|
+
if (this.startValue === this.endValue) {
|
|
205
|
+
this.counterFinished.emit();
|
|
206
|
+
this.scheduleLoopRestart();
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
const safeDuration = Math.max(0, this.duration);
|
|
210
|
+
if (safeDuration === 0) {
|
|
211
|
+
this.currentValue = this.endValue;
|
|
212
|
+
this.counterFinished.emit();
|
|
213
|
+
this.scheduleLoopRestart();
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
const explicitStepValues = this.getExplicitStepValues();
|
|
217
|
+
const safeStepCount = this.getSafeStepCount();
|
|
218
|
+
const stepValues = explicitStepValues ?? (safeStepCount > 0 ? this.getRandomizedStepValues(safeStepCount) : []);
|
|
219
|
+
const hasStepMode = stepValues.length > 0;
|
|
220
|
+
const lastStepIndex = hasStepMode ? stepValues.length - 1 : 0;
|
|
221
|
+
const startTimestamp = performance.now();
|
|
222
|
+
const tick = (timestamp) => {
|
|
223
|
+
const elapsed = timestamp - startTimestamp;
|
|
224
|
+
const normalizedProgress = Math.min(1, Math.max(0, elapsed / safeDuration));
|
|
225
|
+
const animationProgress = this.getAnimationProgress(normalizedProgress);
|
|
226
|
+
if (hasStepMode) {
|
|
227
|
+
const stepIndex = Math.max(0, Math.min(lastStepIndex, Math.floor(animationProgress * lastStepIndex)));
|
|
228
|
+
this.currentValue = stepValues[stepIndex] ?? this.endValue;
|
|
229
|
+
}
|
|
230
|
+
else {
|
|
231
|
+
this.currentValue = this.getProgressValue(animationProgress);
|
|
232
|
+
}
|
|
233
|
+
if (normalizedProgress >= 1) {
|
|
234
|
+
this.currentValue = this.endValue;
|
|
235
|
+
this.clearTimer();
|
|
236
|
+
this.counterFinished.emit();
|
|
237
|
+
this.scheduleLoopRestart();
|
|
238
|
+
return;
|
|
239
|
+
}
|
|
240
|
+
this.animationFrameId = globalThis.requestAnimationFrame(tick);
|
|
241
|
+
};
|
|
242
|
+
this.animationFrameId = globalThis.requestAnimationFrame(tick);
|
|
243
|
+
}
|
|
244
|
+
formatValue(value) {
|
|
245
|
+
if (!this.thousandSeparator)
|
|
246
|
+
return String(value);
|
|
247
|
+
return value.toLocaleString('lv-LV').replaceAll('\u00A0', ' ');
|
|
248
|
+
}
|
|
249
|
+
outputValue() {
|
|
250
|
+
return this.disableAnimation ? this.formatValue(this.endValue) : this.formatValue(this.currentValue);
|
|
251
|
+
}
|
|
252
|
+
render() {
|
|
253
|
+
return (index.h(index.Host, { key: 'e13bec371c06dfe2347fedab93e48b3a56e12554' }, index.h("span", { key: '05201f960f7c0ca1867c115dd54d7d8f126cd431', part: "counter", "aria-hidden": "true" }, this.outputValue()), index.h("span", { key: '87842c7a8fd6344c5b1c527d484179b56eb4a2f6', class: "sr-only" }, this.formatValue(this.endValue))));
|
|
254
|
+
}
|
|
255
|
+
static get watchers() { return {
|
|
256
|
+
"startValue": ["onCounterConfigChanged"],
|
|
257
|
+
"endValue": ["onCounterConfigChanged"],
|
|
258
|
+
"duration": ["onCounterConfigChanged"],
|
|
259
|
+
"delay": ["onCounterConfigChanged"],
|
|
260
|
+
"valueSteps": ["onCounterConfigChanged"],
|
|
261
|
+
"stepValues": ["onCounterConfigChanged"],
|
|
262
|
+
"loopInterval": ["onCounterConfigChanged"],
|
|
263
|
+
"easing": ["onCounterConfigChanged"],
|
|
264
|
+
"easingConfig": ["onCounterConfigChanged"],
|
|
265
|
+
"disableAnimation": ["onCounterConfigChanged"],
|
|
266
|
+
"startOnViewport": ["onCounterConfigChanged"]
|
|
267
|
+
}; }
|
|
268
|
+
};
|
|
269
|
+
TetCounter.style = TetCounterStyle0;
|
|
270
|
+
|
|
271
|
+
exports.tet_counter = TetCounter;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
require('./http-codes-
|
|
7
|
-
const assets = require('./assets-
|
|
5
|
+
const index = require('./index-faec4c52.js');
|
|
6
|
+
require('./http-codes-062f76cf.js');
|
|
7
|
+
const assets = require('./assets-b9d36649.js');
|
|
8
8
|
|
|
9
9
|
const tetCustomerAssetsCss = ":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{--customer-assets-item-background:rgb(255, 255, 255);--customer-assets-item-selected-border:rgb(0, 96, 245);--customer-assets-item-selected-box-shadow:none;display:block}.wrapper{display:flex}.dark-theme{--customer-assets-item-background:var(--color-tg500);--customer-assets-item-selected-border:var(--color-td600);--customer-assets-item-selected-box-shadow:0 0 0 0.25rem rgba(1, 203, 224, 0.16)}.loader{display:flex;flex-direction:column;gap:1em}.loader-single{margin:0 auto;--size:4rem}.item::part(selection-list-item-container){--padding:0;--background:var(--customer-assets-item-background);--container-selected-border-color:var(--customer-assets-item-selected-border);--container-border-width:0.0625rem;--container-box-shadow-selected:var(--customer-assets-item-selected-box-shadow)}.item::part(radio-wrapper){padding:1rem}.item::part(asset-address),.item::part(asset-address-dark){font-weight:500;margin-bottom:0.25rem}.item::part(asset-address-dark){color:var(--color-th500)}.item::part(asset-name-dark){color:var(--color-ti600)}.item::part(asset-address),.item::part(asset-address-dark),.item::part(asset-name),.item::part(asset-name-dark){text-align:left;list-style:inside;font-size:1rem}";
|
|
10
10
|
const TetCustomerAssetsStyle0 = tetCustomerAssetsCss;
|
|
@@ -129,7 +129,7 @@ const TetCustomerAssets = class {
|
|
|
129
129
|
return (index.h("tet-selection-list", { items: assets, itemRenderFunction: assetRenderFunction, multipleSelections: false, class: "item", exportparts: "label", onItemSelected: this.selectAsset }));
|
|
130
130
|
};
|
|
131
131
|
render() {
|
|
132
|
-
return (index.h(index.Host, { key: '
|
|
132
|
+
return (index.h(index.Host, { key: '4d36cadad44505ceba259520e6b23a7f87c55c62' }, index.h("div", { key: '6be5effaae09537bd848e5cbf47df489efe9825d', class: { wrapper: this.showLoader && this.singleLoader, 'dark-theme': this.darkTheme } }, this.showLoader && this.singleLoader
|
|
133
133
|
? index.h("tet-loader", { class: "loader-single" })
|
|
134
134
|
: this.showLoader ? this.renderLoader() : this.renderAssetsList())));
|
|
135
135
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-faec4c52.js');
|
|
6
6
|
const string = require('./string-6b03516f.js');
|
|
7
7
|
const typecheck = require('./typecheck-d48810dc.js');
|
|
8
8
|
|
|
@@ -91,9 +91,9 @@ const TetDatepickerHeader = class {
|
|
|
91
91
|
this.datepickerViewChanged.emit(view);
|
|
92
92
|
};
|
|
93
93
|
render() {
|
|
94
|
-
return (index.h("div", { key: '
|
|
94
|
+
return (index.h("div", { key: '680ac39611eaeff615289e20b845fa484613f300', class: "header" }, this.datepickerView !== 'year'
|
|
95
95
|
? (index.h("div", { class: "icon-container", onClick: () => this.subtractDates() }, index.h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
|
|
96
|
-
: index.h("div", null), index.h("div", { key: '
|
|
96
|
+
: index.h("div", null), index.h("div", { key: '370eadab0ce764da8252c38f5c27eada0a97cd79', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), index.h("tet-icon", { key: 'eb1797ccea14f21a193ca5e9cbe3de263fab42a5', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
|
|
97
97
|
? (index.h("div", { class: "icon-container", onClick: () => this.addDates() }, index.h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
|
|
98
98
|
: index.h("div", null)));
|
|
99
99
|
}
|
|
@@ -266,7 +266,7 @@ const TetDatepickerMonthView = class {
|
|
|
266
266
|
};
|
|
267
267
|
};
|
|
268
268
|
render() {
|
|
269
|
-
return (index.h(index.Host, { key: '
|
|
269
|
+
return (index.h(index.Host, { key: 'fca8cb8d45578ec0c8608da8ce323420644faad9' }, index.h("div", { key: '74cac3ff3a471c08931b46db322a0e0e4e40b125', class: "weekday-header" }, this.days.map((day) => index.h("div", { class: "day" }, day))), index.h("div", { key: '72e847b71935b87986f2b356adfe29758e1361fa', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => index.h("div", { class: "date-container" }, index.h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => index.h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, index.h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => index.h("div", { class: "date-container" }, index.h("div", { class: "preview-date" }, date))))));
|
|
270
270
|
}
|
|
271
271
|
static get watchers() { return {
|
|
272
272
|
"internalDate": ["handleDateChange"]
|
|
@@ -313,7 +313,7 @@ const TetDatepickerMultiYearView = class {
|
|
|
313
313
|
return { year: true, current: year === currentYear, selected: this.isSelectedYear(year) };
|
|
314
314
|
};
|
|
315
315
|
render() {
|
|
316
|
-
return (index.h("div", { key: '
|
|
316
|
+
return (index.h("div", { key: '15883bca1e32241d0d9622e2792bf784608cb1ed', class: "container" }, this.years.map((year) => index.h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
|
|
317
317
|
}
|
|
318
318
|
static get watchers() { return {
|
|
319
319
|
"internalDate": ["handleInternalDateChange"]
|
|
@@ -365,7 +365,7 @@ const TetDatepickerYearView = class {
|
|
|
365
365
|
};
|
|
366
366
|
};
|
|
367
367
|
render() {
|
|
368
|
-
return (index.h("div", { key: '
|
|
368
|
+
return (index.h("div", { key: '6c53c78d86fae911b7dab4ace3d7c49f191d4ec5', class: "container" }, this.months.map((month, index$1) => index.h("div", { class: "month-container" }, index.h("div", { class: this.getMonthClasses(index$1), onClick: () => this.handleMonthSelection(index$1) }, month)))));
|
|
369
369
|
}
|
|
370
370
|
};
|
|
371
371
|
TetDatepickerYearView.style = TetDatepickerYearViewStyle0;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-faec4c52.js');
|
|
6
6
|
const typecheck = require('./typecheck-d48810dc.js');
|
|
7
7
|
|
|
8
8
|
const tetDatepickerCss = ":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;--light-theme-elevation-3:0 0.0625rem 0.125rem rgba(10, 11, 13, 0.05), 0 0.3125rem 0.6875rem rgba(10, 11, 13, 0.12);--text-color-primary-light:#f6f7f8;--interaction-state-gray:rgba(89, 99, 115, 0.08)}.overlay{position:fixed;z-index:100;inset:0}.overlay-effect{background:rgba(10, 11, 13, 0.4)}.overlay.closed{display:none}.overlay .container{max-width:22rem;min-height:20rem;height:auto;width:100%;background:rgb(255, 255, 255);border:0.0625rem solid rgb(192, 197, 206);box-shadow:var(--light-theme-elevation-3);border-radius:0.875rem;padding:0.5rem;position:absolute}";
|
|
@@ -108,10 +108,10 @@ const TetDatepicker = class {
|
|
|
108
108
|
return { overlay: true, closed: !this.isOpen, 'overlay-effect': this.overlayEffect };
|
|
109
109
|
};
|
|
110
110
|
render() {
|
|
111
|
-
return (index.h("div", { key: '
|
|
112
|
-
index.h("tet-datepicker-month-view", { key: '
|
|
113
|
-
index.h("tet-datepicker-multi-year-view", { key: '
|
|
114
|
-
index.h("tet-datepicker-year-view", { key: '
|
|
111
|
+
return (index.h("div", { key: '636e956c0abe1c6b98ce50163680dec31d78a7c2', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, index.h("div", { key: '2e9cea1ac3c2fca14fed89b97bd38acb36105699', class: "container", ref: (el) => this.datepickerContainer = el }, index.h("tet-datepicker-header", { key: '78eb3d79204d9a605cda3d08273b95efda75bdd8', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
112
|
+
index.h("tet-datepicker-month-view", { key: 'a3153cabfd2f9970a691dfeb76c2a28cc5748d37', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
113
|
+
index.h("tet-datepicker-multi-year-view", { key: 'eaa1a0714135ea4d5e7544fdfb8c49775b650335', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
114
|
+
index.h("tet-datepicker-year-view", { key: '6af6afa0d4672bf7954420836d6a2beb349093f2', selectedDate: this.date, internalDate: this.internalDate }))));
|
|
115
115
|
}
|
|
116
116
|
static get watchers() { return {
|
|
117
117
|
"date": ["handleDateChange"],
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const translations = require('./translations-
|
|
5
|
+
const index = require('./index-faec4c52.js');
|
|
6
|
+
const translations = require('./translations-89a0ec3d.js');
|
|
7
7
|
require('./typecheck-d48810dc.js');
|
|
8
|
-
require('./http-codes-
|
|
8
|
+
require('./http-codes-062f76cf.js');
|
|
9
9
|
|
|
10
10
|
const tetDialogCss = ":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{--dialog-width:37.5rem;--dialog-max-height:100%;--dialog-overlay-padding:1rem;--dialog-align-items:flex-start;--dialog-title-font-size:1.25rem;--dialog-header-padding:1rem 1.5rem;--dialog-body-padding:1rem 1.5rem;--dialog-text-color:var(--tc-text-primary);--dialog-background-color:var(--tc-modal-primary);--dialog-overlay-color:rgba(18, 19, 21, 0.40);--dialog-footer-border-color:var(--tc-border-quaternary);--dialog-close-icon-color:var(--tc-icon-primary);--dialog-close-icon-background-hover-color:var(--tc-menu-item-hover);--dialog-close-icon-background-pressed-color:var(--tc-menu-item-pressed);--dialog-footer-slot-align-items:center;--dialog-footer-slot-flex-direction:row;display:block;font-family:var(--text-font)}dialog{border:unset}dialog::backdrop{background:unset}dialog .dialog{overflow:hidden;position:relative;display:flex;align-items:var(--dialog-align-items);flex-direction:column;width:var(--dialog-width);max-height:var(--dialog-max-height);border-radius:1rem;color:var(--dialog-text-color);background:var(--dialog-background-color);box-shadow:var(--tc-elevation-six)}dialog .dialog:focus-visible{outline:none}dialog .dialog--theme-dark{--dialog-text-color:var(--tc-text-primary-dark);--dialog-background-color:var(--tc-modal-primary-dark);--dialog-overlay-color:rgba(38, 41, 44, 0.40);--dialog-footer-border-color:var(--tc-border-quaternary-dark);--dialog-close-icon-color:var(--tc-icon-primary-dark);--dialog-close-icon-background-hover-color:var(--tc-menu-item-hover-dark);--dialog-close-icon-background-pressed-color:var(--tc-menu-item-pressed-dark)}dialog .dialog--theme-dark .dialog__close-button: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}dialog .dialog--theme-dark-secondary{--dialog-text-color:rgb(255, 255, 255);--dialog-background-color:rgb(35, 40, 46);--dialog-overlay-color:rgba(38, 41, 44, 0.40);--dialog-footer-border-color:rgb(67, 75, 86);--dialog-close-icon-color:var(--dialog-text-color);--dialog-close-icon-background-hover-color:var(--tc-menu-item-hover-dark);--dialog-close-icon-background-pressed-color:var(--tc-menu-item-pressed-dark)}dialog .dialog__overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999;display:flex;align-items:center;justify-content:center;padding:var(--dialog-overlay-padding);background:var(--dialog-overlay-color);opacity:0;visibility:hidden}dialog .dialog__overlay--visible{opacity:1;visibility:visible}dialog .dialog__overlay--with-transition{transition:visibility 0s linear 0.2s, opacity 0.2s ease-out}dialog .dialog__overlay--with-transition dialog .dialog__overlay--visible{transition:visibility 0s, opacity 0.2s ease-in}dialog .dialog__header{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:flex-start;gap:0.5rem;width:100%;padding:var(--dialog-header-padding);padding-right:1.125rem}dialog .dialog__header--divider{border-bottom:0.0625rem solid rgb(192, 197, 206)}@media only screen and (max-width: 44.9375rem){dialog .dialog__header{padding:0.875rem 1rem;padding-right:0.875rem}}dialog .dialog__title{font-family:var(--font-family-headline);font-size:var(--dialog-title-font-size);font-weight:600}dialog .dialog__close-button{border:none;cursor:pointer;position:relative;margin-top:-0.25rem;border-radius:2rem;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0.5rem;background-color:transparent}dialog .dialog__close-button:hover{background-color:var(--dialog-close-icon-background-hover-color)}dialog .dialog__close-button:active{background-color:var(--dialog-close-icon-background-pressed-color)}dialog .dialog__close-button__hidden{display:none}dialog .dialog__close-button:focus-visible{border-radius:0.125rem;outline:0.125rem solid var(--tc-blue-40);outline-offset:0.125rem;transition:outline 0s}dialog .dialog__close-icon{--icon-color:var(--dialog-close-icon-color);--icon-size:1.5rem}dialog .dialog__body{overflow-y:auto;overflow-x:hidden;width:100%;flex:1;padding:var(--dialog-body-padding)}dialog .dialog__body *{font-family:var(--font-family-content)}dialog .dialog__body h1,dialog .dialog__body h2,dialog .dialog__body h3,dialog .dialog__body h4,dialog .dialog__body h5,dialog .dialog__body h6{font-family:var(--font-family-headline)}dialog .dialog__footer{width:100%;border-top:0.0625rem solid var(--dialog-footer-border-color);padding:1rem 1.5rem}@media only screen and (max-width: 44.9375rem){dialog .dialog__footer{padding:0.75rem 1rem}}dialog .dialog__footer slot{gap:0.5rem;display:flex;align-items:var(--dialog-footer-slot-align-items);flex-direction:var(--dialog-footer-slot-flex-direction)}dialog .dialog__footer--hidden{display:none}dialog .dialog__footer--left slot{justify-content:flex-start}dialog .dialog__footer--right slot{justify-content:flex-end}dialog .dialog__footer--center slot{justify-content:center}dialog .dialog__footer--between slot{justify-content:space-between}@media only screen and (max-width: 44.9375rem){dialog .dialog{box-shadow:var(--tc-elevation-four)}}";
|
|
11
11
|
const TetDialogStyle0 = tetDialogCss;
|
|
@@ -125,11 +125,11 @@ const TetDialog = class {
|
|
|
125
125
|
}
|
|
126
126
|
render() {
|
|
127
127
|
const { isOpen, theme, footerDisplay, handleClickOverlay } = this;
|
|
128
|
-
return (index.h(index.Host, { key: '
|
|
128
|
+
return (index.h(index.Host, { key: 'a627f7fbe35623eefba9862e2154afb1e5e526fe' }, index.h("dialog", { key: '27c4ce9aa33d5c8978c3b43f81031d05a4216bea', ref: (el) => (this.dialogContainer = el) }, index.h("div", { key: '75030b3354cfafb3b8549aac199efc234ecbda07', part: "overlay", class: {
|
|
129
129
|
'dialog__overlay': true,
|
|
130
130
|
'dialog__overlay--visible': isOpen,
|
|
131
131
|
[`dialog--theme-${theme}`]: true
|
|
132
|
-
}, onClick: handleClickOverlay }, index.h("div", { key: '
|
|
132
|
+
}, onClick: handleClickOverlay }, index.h("div", { key: '8b87713eb4c2ffff114dcc8b369c961c02b533f3', part: "dialog", class: { dialog: true, [`dialog--theme-${theme}`]: true }, "aria-labelledby": this.hideHeader ? null : this.titleId }, this.renderHeader(), index.h("div", { key: 'f5e2d308b7d89cef80766d5e17707b7ddaa895e9', part: "body", class: "dialog__body" }, index.h("slot", { key: 'f63fcd73d3a55d107ba7ec0f0da96489ba18a51a' })), index.h("div", { key: '213e4a13539f1e39e1d9ee949040a759e71ad440', part: "footer", class: { dialog__footer: true, [`dialog__footer--${footerDisplay}`]: true } }, index.h("slot", { key: '6d92ce3edba47c8d86ee76f55463ec137b55769c', name: "footer" })))))));
|
|
133
133
|
}
|
|
134
134
|
static get watchers() { return {
|
|
135
135
|
"isOpen": ["onDialogOpenAction"]
|