@tet/tet-components 1.4.44-testing → 1.4.45-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 +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- 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 +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 +1 -1
- 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 +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_3.cjs.entry.js +2 -2
- 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 +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-countdown.cjs.entry.js +140 -0
- 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 +6 -6
- package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
- 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-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- 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 +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 +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 +5 -5
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- 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 +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 +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 +8 -8
- 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-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- 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-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-tab-header.cjs.entry.js +75 -13
- 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 +3 -3
- 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-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/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.css +8 -5
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +91 -11
- package/dist/collection/components/basic/misc/tet-countdown/tet-countdown.css +196 -0
- package/dist/collection/components/basic/misc/tet-countdown/tet-countdown.js +238 -0
- package/dist/collection/components/basic/misc/tet-label/tet-label.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-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-news-card-list/tet-news-card-list.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/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/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-5c3ff591.js → p-0018924d.js} +1 -1
- package/dist/components/{p-75a56bcc.js → p-00907971.js} +7 -7
- package/dist/components/{p-431026ba.js → p-049ce225.js} +3 -3
- package/dist/components/{p-c98c65c4.js → p-09926f47.js} +6 -6
- package/dist/components/{p-c44d3012.js → p-0d9b1a05.js} +6 -6
- package/dist/components/{p-ef2ec31f.js → p-139ceb38.js} +9 -9
- package/dist/components/{p-517c4a94.js → p-1443f8a7.js} +1 -1
- package/dist/components/{p-06329f36.js → p-19155481.js} +1 -1
- package/dist/components/{p-b6daae0b.js → p-1c667505.js} +3 -3
- package/dist/components/{p-8ca89afe.js → p-1ed2ae34.js} +2 -2
- package/dist/components/{p-ae777b5c.js → p-239d2f06.js} +2 -2
- package/dist/components/{p-f76fad86.js → p-26ffcb52.js} +1 -1
- package/dist/components/{p-ea511c1d.js → p-286c4942.js} +10 -10
- package/dist/components/{p-b62256ec.js → p-29bdb17f.js} +2 -2
- package/dist/components/{p-7786b9e2.js → p-31b19c0e.js} +6 -6
- package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
- package/dist/components/{p-69d10a5a.js → p-3fc02f68.js} +2 -2
- package/dist/components/{p-73771a7d.js → p-4240021b.js} +7 -7
- package/dist/components/{p-c6f5ac4c.js → p-4aee53c7.js} +4 -4
- package/dist/components/{p-229934ef.js → p-4c054990.js} +1 -1
- package/dist/components/{p-3c102839.js → p-4e45d3ed.js} +3 -3
- package/dist/components/{p-e69117e4.js → p-52c592a6.js} +3 -3
- package/dist/components/{p-5f8e9ab6.js → p-530713bf.js} +1 -1
- package/dist/components/{p-3748ab10.js → p-54cae70b.js} +1 -1
- package/dist/components/{p-d56887ae.js → p-561f0e7f.js} +7 -7
- package/dist/components/{p-7d181132.js → p-5f78a7f4.js} +3 -3
- package/dist/components/{p-4fd825cc.js → p-5f91a19d.js} +2 -2
- package/dist/components/{p-b9e49599.js → p-655c1d6f.js} +2 -2
- package/dist/components/{p-adb1d830.js → p-6f0f882f.js} +2 -2
- package/dist/components/{p-e1c74b3e.js → p-6fdd6743.js} +1 -1
- package/dist/components/{p-88703044.js → p-710c9c20.js} +6 -6
- package/dist/components/{p-8c8b119b.js → p-7472327b.js} +2 -2
- package/dist/components/{p-9b881720.js → p-782173aa.js} +1 -1
- package/dist/components/{p-afa542bc.js → p-784d32b2.js} +2 -2
- package/dist/components/{p-08ccd2a5.js → p-7926896b.js} +3 -3
- package/dist/components/{p-71baab1d.js → p-836184a9.js} +2 -2
- package/dist/components/{p-23a63b03.js → p-9aa81cd5.js} +8 -8
- package/dist/components/{p-e9eb4859.js → p-9c9bf90b.js} +76 -13
- package/dist/components/{p-dd3541f5.js → p-a9c8d424.js} +1 -1
- package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
- package/dist/components/{p-aa1d5a50.js → p-ab28399c.js} +14 -14
- package/dist/components/{p-17885a7c.js → p-acba3a0f.js} +1 -1
- package/dist/components/{p-80bcd7d4.js → p-ae7d4146.js} +5 -5
- package/dist/components/{p-ee54db57.js → p-b656e6b1.js} +1 -1
- package/dist/components/{p-44201f97.js → p-b6841a9b.js} +1 -1
- package/dist/components/{p-a6835a06.js → p-b7c0e258.js} +3 -3
- package/dist/components/{p-2be5b105.js → p-c77f005d.js} +7 -7
- package/dist/components/{p-c8becb8a.js → p-c885d9e5.js} +2 -2
- package/dist/components/{p-33a41ae0.js → p-ce8fec46.js} +11 -11
- package/dist/components/{p-d475d2a6.js → p-d4f0c273.js} +1 -1
- package/dist/components/{p-c162d676.js → p-d7760a5c.js} +3 -3
- package/dist/components/{p-9c08a012.js → p-d777ecbf.js} +3 -3
- package/dist/components/{p-810de969.js → p-d8651300.js} +2 -2
- package/dist/components/{p-fdea19b5.js → p-e992cdf9.js} +2 -2
- package/dist/components/{p-83a8368b.js → p-f2d519e2.js} +1 -1
- package/dist/components/{p-6ed7deb7.js → p-f66fca59.js} +3 -3
- package/dist/components/{p-2d262187.js → p-f7c84953.js} +4 -4
- package/dist/components/{p-48915577.js → p-f9a30913.js} +2 -2
- package/dist/components/{p-09200933.js → p-ffaa0c5f.js} +10 -10
- 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 +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 +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 +3 -3
- 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 +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 +12 -12
- package/dist/components/tet-colors.js +5 -5
- 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-countdown.d.ts +11 -0
- package/dist/components/tet-countdown.js +162 -0
- 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 +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 +4 -4
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +2 -2
- 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 +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 +1 -1
- 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 +3 -3
- package/dist/components/tet-link.js +2 -2
- 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 +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 +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-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +11 -11
- 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-support-search.js +7 -7
- 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-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 +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +4 -4
- 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 +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 +1 -1
- 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 +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_3.entry.js +2 -2
- 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 +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-countdown.entry.js +136 -0
- 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 +6 -6
- package/dist/esm/tet-datepicker.entry.js +5 -5
- 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-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- 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 +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 +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 +5 -5
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +2 -2
- 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 +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 +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 +8 -8
- 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-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- 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-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-tab-header.entry.js +75 -13
- 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 +3 -3
- 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-cf4d7d54.js} +2 -2
- package/dist/esm/{translations-4712c45f.js → translations-e60db8fd.js} +1 -1
- package/dist/tet-components/{p-ceaa4764.entry.js → p-00fbf7f3.entry.js} +1 -1
- package/dist/tet-components/{p-afd80c63.entry.js → p-0436914b.entry.js} +1 -1
- package/dist/tet-components/{p-3e7e1106.entry.js → p-0781e892.entry.js} +1 -1
- package/dist/tet-components/{p-5391d594.entry.js → p-0bf60061.entry.js} +1 -1
- package/dist/tet-components/{p-4c6a379b.entry.js → p-0dca3de0.entry.js} +1 -1
- package/dist/tet-components/{p-2a43ccef.entry.js → p-14c15a69.entry.js} +1 -1
- package/dist/tet-components/{p-615a1f0a.entry.js → p-17479b43.entry.js} +1 -1
- package/dist/tet-components/{p-903c4587.entry.js → p-1a84bfc6.entry.js} +1 -1
- package/dist/tet-components/p-1ad83ead.entry.js +1 -0
- package/dist/tet-components/{p-09cfec89.entry.js → p-1c5d37d6.entry.js} +1 -1
- package/dist/tet-components/{p-be3a10d0.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-e9883cd3.entry.js → p-2ad8cd81.entry.js} +1 -1
- package/dist/tet-components/{p-b365e697.entry.js → p-2c315c23.entry.js} +1 -1
- package/dist/tet-components/{p-ccfa9f31.entry.js → p-2c891567.entry.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
- package/dist/tet-components/{p-46f6a051.entry.js → p-2f25de81.entry.js} +1 -1
- package/dist/tet-components/{p-724189c2.entry.js → p-31be2161.entry.js} +1 -1
- package/dist/tet-components/{p-7056a120.entry.js → p-31d0b400.entry.js} +1 -1
- package/dist/tet-components/{p-9b6d815e.entry.js → p-342e9dc0.entry.js} +1 -1
- package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
- package/dist/tet-components/{p-cf66f858.entry.js → p-40b0f406.entry.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
- package/dist/tet-components/{p-7d64d525.entry.js → p-4589ba47.entry.js} +1 -1
- package/dist/tet-components/{p-c82d1a19.entry.js → p-47e33d27.entry.js} +1 -1
- package/dist/tet-components/{p-4c1a48e2.entry.js → p-4d10f69e.entry.js} +1 -1
- package/dist/tet-components/{p-aff47d36.entry.js → p-510806be.entry.js} +1 -1
- package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
- package/dist/tet-components/{p-7771bc1a.entry.js → p-54fcc119.entry.js} +1 -1
- package/dist/tet-components/{p-8915cdcf.entry.js → p-5558eb1c.entry.js} +1 -1
- package/dist/tet-components/{p-03fd6ddd.entry.js → p-5617ff98.entry.js} +1 -1
- package/dist/tet-components/{p-71018cb8.entry.js → p-581b1f01.entry.js} +1 -1
- package/dist/tet-components/{p-ce850061.entry.js → p-589e8e4b.entry.js} +1 -1
- package/dist/tet-components/{p-5845a3dc.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-5e2eb1e5.entry.js → p-5b0df135.entry.js} +1 -1
- package/dist/tet-components/{p-316a6c7f.entry.js → p-5cc233e7.entry.js} +1 -1
- package/dist/tet-components/{p-3e3ecc08.entry.js → p-5d638022.entry.js} +1 -1
- package/dist/tet-components/{p-b0c62997.entry.js → p-5e8bd119.entry.js} +1 -1
- package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
- package/dist/tet-components/{p-d61f985e.entry.js → p-63495b14.entry.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
- package/dist/tet-components/{p-1e67317e.entry.js → p-65d3c513.entry.js} +1 -1
- package/dist/tet-components/p-660bdc27.js +1 -0
- package/dist/tet-components/{p-ae69d5f0.entry.js → p-6d5d06d0.entry.js} +1 -1
- package/dist/tet-components/{p-76526271.entry.js → p-6fb8c506.entry.js} +1 -1
- package/dist/tet-components/{p-c858f416.entry.js → p-6fe562e3.entry.js} +1 -1
- package/dist/tet-components/{p-255fc5d0.entry.js → p-701b583b.entry.js} +1 -1
- package/dist/tet-components/{p-7f533bfe.entry.js → p-7027f360.entry.js} +1 -1
- package/dist/tet-components/{p-32691e85.entry.js → p-71bdb301.entry.js} +1 -1
- package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
- package/dist/tet-components/{p-f3ce4422.entry.js → p-7330a0a8.entry.js} +1 -1
- package/dist/tet-components/{p-46975ec4.entry.js → p-73c190a2.entry.js} +1 -1
- package/dist/tet-components/{p-4fb9f367.entry.js → p-742b96c2.entry.js} +1 -1
- package/dist/tet-components/{p-a093603e.entry.js → p-771dd791.entry.js} +1 -1
- package/dist/tet-components/{p-ab13d33d.entry.js → p-79911ddf.entry.js} +1 -1
- package/dist/tet-components/{p-8c0ac70a.entry.js → p-7a094aaa.entry.js} +1 -1
- package/dist/tet-components/{p-bff0d6d3.entry.js → p-7bdf819b.entry.js} +1 -1
- package/dist/tet-components/{p-e95dba20.entry.js → p-7df5e7a4.entry.js} +1 -1
- package/dist/tet-components/{p-920c54d8.entry.js → p-863c1c55.entry.js} +1 -1
- package/dist/tet-components/{p-209c4522.entry.js → p-8768894c.entry.js} +1 -1
- package/dist/tet-components/{p-10e72480.entry.js → p-8b93b91f.entry.js} +1 -1
- package/dist/tet-components/{p-e0fc34c9.entry.js → p-8d399a39.entry.js} +1 -1
- package/dist/tet-components/{p-12eafd28.entry.js → p-8ddcacf0.entry.js} +1 -1
- package/dist/tet-components/{p-fc0d1118.entry.js → p-9883bc24.entry.js} +1 -1
- package/dist/tet-components/{p-8a363e18.entry.js → p-992da373.entry.js} +1 -1
- package/dist/tet-components/{p-43869924.entry.js → p-9b99a02f.entry.js} +1 -1
- package/dist/tet-components/{p-f16514db.entry.js → p-9bd457d2.entry.js} +1 -1
- package/dist/tet-components/{p-da0fc55d.entry.js → p-9c263933.entry.js} +1 -1
- package/dist/tet-components/{p-f2083ea7.entry.js → p-9ddf52fe.entry.js} +1 -1
- package/dist/tet-components/{p-87221449.entry.js → p-9f921c87.entry.js} +1 -1
- package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
- package/dist/tet-components/{p-97248cdf.entry.js → p-a71090c6.entry.js} +1 -1
- package/dist/tet-components/{p-dce0edad.entry.js → p-ada5f430.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
- package/dist/tet-components/{p-ee144210.entry.js → p-b6c906e0.entry.js} +1 -1
- package/dist/tet-components/{p-eaaaeafe.entry.js → p-b72b9466.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
- package/dist/tet-components/p-ba22c1f3.entry.js +1 -0
- package/dist/tet-components/{p-c2a0b494.entry.js → p-c52e676d.entry.js} +1 -1
- package/dist/tet-components/p-c5f6367f.entry.js +1 -0
- package/dist/tet-components/{p-73640752.entry.js → p-c66c777d.entry.js} +1 -1
- package/dist/tet-components/{p-b34e86ef.entry.js → p-c9583427.entry.js} +1 -1
- package/dist/tet-components/{p-496180bc.entry.js → p-c9a9c657.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
- package/dist/tet-components/{p-842b3dd2.entry.js → p-cb455054.entry.js} +1 -1
- package/dist/tet-components/{p-c455736d.entry.js → p-ce1d5bd4.entry.js} +1 -1
- package/dist/tet-components/{p-3ab161b4.entry.js → p-d12eef25.entry.js} +1 -1
- package/dist/tet-components/{p-39796998.entry.js → p-d3db997e.entry.js} +1 -1
- package/dist/tet-components/{p-cea240d6.entry.js → p-d749ee2b.entry.js} +1 -1
- package/dist/tet-components/{p-eaaf3ccf.entry.js → p-d8875b9f.entry.js} +1 -1
- package/dist/tet-components/{p-6970af44.entry.js → p-ddaf1269.entry.js} +1 -1
- package/dist/tet-components/{p-a113873a.entry.js → p-e1d74c62.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-ed60bade.entry.js +1 -0
- package/dist/tet-components/{p-f8de11f1.entry.js → p-ef6b9751.entry.js} +1 -1
- package/dist/tet-components/{p-9a1f44f5.entry.js → p-f242e081.entry.js} +1 -1
- package/dist/tet-components/{p-b87db05c.entry.js → p-fa34e438.entry.js} +1 -1
- package/dist/tet-components/{p-a91fd94e.entry.js → p-fd51ca98.entry.js} +1 -1
- package/dist/tet-components/{p-6eff3406.entry.js → p-fec0e9cf.entry.js} +1 -1
- package/dist/tet-components/{p-c4de9e32.entry.js → p-ff5b0f63.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.d.ts +29 -4
- package/dist/types/components/basic/misc/tet-countdown/tet-countdown.d.ts +39 -0
- package/dist/types/components.d.ts +72 -0
- package/package.json +1 -1
- package/dist/tet-components/p-19d2c940.entry.js +0 -1
- package/dist/tet-components/p-aef6cab7.entry.js +0 -1
- package/dist/tet-components/p-f245c91b.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
export class TetCountdown {
|
|
3
|
+
constructor() {
|
|
4
|
+
this.endDatetime = undefined;
|
|
5
|
+
this.accessibilityLabel = undefined;
|
|
6
|
+
this.countdownTitle = undefined;
|
|
7
|
+
this.staticTextColor = 'light';
|
|
8
|
+
this.countdown = { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
9
|
+
}
|
|
10
|
+
/** Emitted once when the countdown reaches its end date. */
|
|
11
|
+
countdownEnded;
|
|
12
|
+
tickTimeoutId;
|
|
13
|
+
hasEmittedCountdownEnded = false;
|
|
14
|
+
componentWillLoad() {
|
|
15
|
+
this.startCountdown();
|
|
16
|
+
}
|
|
17
|
+
disconnectedCallback() {
|
|
18
|
+
this.clearTickTimeout();
|
|
19
|
+
}
|
|
20
|
+
onEndDatetimeChanged() {
|
|
21
|
+
this.startCountdown();
|
|
22
|
+
}
|
|
23
|
+
clearTickTimeout() {
|
|
24
|
+
if (this.tickTimeoutId !== undefined) {
|
|
25
|
+
globalThis.clearTimeout(this.tickTimeoutId);
|
|
26
|
+
this.tickTimeoutId = undefined;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
startCountdown() {
|
|
30
|
+
this.clearTickTimeout();
|
|
31
|
+
this.hasEmittedCountdownEnded = false;
|
|
32
|
+
this.updateCountdown();
|
|
33
|
+
}
|
|
34
|
+
scheduleNextTick() {
|
|
35
|
+
const millisecondsUntilNextSecond = 1000 - (Date.now() % 1000);
|
|
36
|
+
this.tickTimeoutId = globalThis.setTimeout(() => {
|
|
37
|
+
this.tickTimeoutId = undefined;
|
|
38
|
+
this.updateCountdown();
|
|
39
|
+
}, millisecondsUntilNextSecond);
|
|
40
|
+
}
|
|
41
|
+
updateCountdown() {
|
|
42
|
+
const targetTimestamp = this.getTargetTimestamp();
|
|
43
|
+
if (targetTimestamp === null) {
|
|
44
|
+
this.hasEmittedCountdownEnded = false;
|
|
45
|
+
this.countdown = { days: 0, hours: 0, minutes: 0, seconds: 0 };
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
const now = Date.now();
|
|
49
|
+
const diffMilliseconds = Math.max(0, targetTimestamp - now);
|
|
50
|
+
const totalSeconds = Math.floor(diffMilliseconds / 1000);
|
|
51
|
+
const days = Math.floor(totalSeconds / 86400);
|
|
52
|
+
const hours = Math.floor((totalSeconds % 86400) / 3600);
|
|
53
|
+
const minutes = Math.floor((totalSeconds % 3600) / 60);
|
|
54
|
+
const seconds = totalSeconds % 60;
|
|
55
|
+
this.countdown = {
|
|
56
|
+
days: Math.min(days, 99),
|
|
57
|
+
hours,
|
|
58
|
+
minutes,
|
|
59
|
+
seconds,
|
|
60
|
+
};
|
|
61
|
+
if (diffMilliseconds === 0 && !this.hasEmittedCountdownEnded) {
|
|
62
|
+
this.hasEmittedCountdownEnded = true;
|
|
63
|
+
this.countdownEnded.emit();
|
|
64
|
+
}
|
|
65
|
+
if (diffMilliseconds > 0) {
|
|
66
|
+
this.scheduleNextTick();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
getTargetTimestamp() {
|
|
70
|
+
if (!this.endDatetime)
|
|
71
|
+
return null;
|
|
72
|
+
const parsedTimestamp = Date.parse(this.endDatetime);
|
|
73
|
+
return Number.isFinite(parsedTimestamp) ? parsedTimestamp : null;
|
|
74
|
+
}
|
|
75
|
+
splitTwoDigits(value) {
|
|
76
|
+
const paddedValue = String(Math.max(0, Math.floor(value))).padStart(2, '0');
|
|
77
|
+
return [paddedValue[0] ?? '0', paddedValue[1] ?? '0'];
|
|
78
|
+
}
|
|
79
|
+
isLatvianSingular(value) {
|
|
80
|
+
const normalizedValue = Math.abs(Math.floor(value));
|
|
81
|
+
return normalizedValue % 10 === 1 && normalizedValue % 100 !== 11;
|
|
82
|
+
}
|
|
83
|
+
formatDatePart(value) {
|
|
84
|
+
return String(Math.max(0, Math.floor(value))).padStart(2, '0');
|
|
85
|
+
}
|
|
86
|
+
formatTargetDatetime(targetDate) {
|
|
87
|
+
const formattedDate = [
|
|
88
|
+
this.formatDatePart(targetDate.getDate()),
|
|
89
|
+
this.formatDatePart(targetDate.getMonth() + 1),
|
|
90
|
+
String(targetDate.getFullYear()),
|
|
91
|
+
].join('.');
|
|
92
|
+
const formattedTime = [
|
|
93
|
+
this.formatDatePart(targetDate.getHours()),
|
|
94
|
+
this.formatDatePart(targetDate.getMinutes()),
|
|
95
|
+
].join(':');
|
|
96
|
+
return `${formattedDate} ${formattedTime}`;
|
|
97
|
+
}
|
|
98
|
+
getCountdownAriaLabel() {
|
|
99
|
+
const targetTimestamp = this.getTargetTimestamp();
|
|
100
|
+
const accessibilityLabel = this.accessibilityLabel?.trim();
|
|
101
|
+
if (targetTimestamp === null || !accessibilityLabel) {
|
|
102
|
+
return undefined;
|
|
103
|
+
}
|
|
104
|
+
return `${accessibilityLabel} ${this.formatTargetDatetime(new Date(targetTimestamp))}.`;
|
|
105
|
+
}
|
|
106
|
+
getUnitLabel(unit, value) {
|
|
107
|
+
const isSingular = this.isLatvianSingular(value);
|
|
108
|
+
if (unit === 'days')
|
|
109
|
+
return isSingular ? 'diena' : 'dienas';
|
|
110
|
+
if (unit === 'hours')
|
|
111
|
+
return isSingular ? 'stunda' : 'stundas';
|
|
112
|
+
if (unit === 'minutes')
|
|
113
|
+
return isSingular ? 'minūte' : 'minūtes';
|
|
114
|
+
return isSingular ? 'sekunde' : 'sekundes';
|
|
115
|
+
}
|
|
116
|
+
renderUnit(value, label, partPrefix) {
|
|
117
|
+
const [firstDigit, secondDigit] = this.splitTwoDigits(value);
|
|
118
|
+
return (h("div", { class: "countdown-unit", part: `unit unit-${partPrefix}` }, h("div", { class: "countdown-digits", part: `digits digits-${partPrefix}` }, h("div", { class: "countdown-digit", part: `digit digit-${partPrefix}-first` }, firstDigit), h("div", { class: "countdown-digit", part: `digit digit-${partPrefix}-second` }, secondDigit)), h("div", { class: "countdown-label", part: `label label-${partPrefix}` }, label)));
|
|
119
|
+
}
|
|
120
|
+
render() {
|
|
121
|
+
const hostClass = `static-text-color-${this.staticTextColor}`;
|
|
122
|
+
return (h(Host, { key: 'b7d2aaeaa17a562101d2bd9b8e5ef2574973fbb2', class: hostClass }, this.countdownTitle && (h("div", { key: '3c067d3a78a3dcd7d330fbc5aa80ed1c1d9e1df5', class: "countdown-title", part: "title", "aria-hidden": "true" }, this.countdownTitle)), h("div", { key: '7bae1117f7c472df0504219bcd4fe7d5ebb00989', class: "countdown", part: "countdown", "aria-hidden": "true" }, this.renderUnit(this.countdown.days, this.getUnitLabel('days', this.countdown.days), 'days'), this.renderUnit(this.countdown.hours, this.getUnitLabel('hours', this.countdown.hours), 'hours'), this.renderUnit(this.countdown.minutes, this.getUnitLabel('minutes', this.countdown.minutes), 'minutes'), this.renderUnit(this.countdown.seconds, this.getUnitLabel('seconds', this.countdown.seconds), 'seconds')), h("div", { key: '63a235d1578ccf0f0d309b460804ee7b30395d40', class: "sr-only" }, this.getCountdownAriaLabel())));
|
|
123
|
+
}
|
|
124
|
+
static get is() { return "tet-countdown"; }
|
|
125
|
+
static get encapsulation() { return "shadow"; }
|
|
126
|
+
static get originalStyleUrls() {
|
|
127
|
+
return {
|
|
128
|
+
"$": ["tet-countdown.scss"]
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
static get styleUrls() {
|
|
132
|
+
return {
|
|
133
|
+
"$": ["tet-countdown.css"]
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
static get properties() {
|
|
137
|
+
return {
|
|
138
|
+
"endDatetime": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"mutable": false,
|
|
141
|
+
"complexType": {
|
|
142
|
+
"original": "string",
|
|
143
|
+
"resolved": "string",
|
|
144
|
+
"references": {}
|
|
145
|
+
},
|
|
146
|
+
"required": false,
|
|
147
|
+
"optional": true,
|
|
148
|
+
"docs": {
|
|
149
|
+
"tags": [],
|
|
150
|
+
"text": "End date time for countdown in a format parseable by Date."
|
|
151
|
+
},
|
|
152
|
+
"attribute": "end-datetime",
|
|
153
|
+
"reflect": false
|
|
154
|
+
},
|
|
155
|
+
"accessibilityLabel": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"mutable": false,
|
|
158
|
+
"complexType": {
|
|
159
|
+
"original": "string",
|
|
160
|
+
"resolved": "string",
|
|
161
|
+
"references": {}
|
|
162
|
+
},
|
|
163
|
+
"required": false,
|
|
164
|
+
"optional": true,
|
|
165
|
+
"docs": {
|
|
166
|
+
"tags": [],
|
|
167
|
+
"text": "Accessibility label prefix announced before the countdown end date and time."
|
|
168
|
+
},
|
|
169
|
+
"attribute": "accessibility-label",
|
|
170
|
+
"reflect": false
|
|
171
|
+
},
|
|
172
|
+
"countdownTitle": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"mutable": false,
|
|
175
|
+
"complexType": {
|
|
176
|
+
"original": "string",
|
|
177
|
+
"resolved": "string",
|
|
178
|
+
"references": {}
|
|
179
|
+
},
|
|
180
|
+
"required": false,
|
|
181
|
+
"optional": true,
|
|
182
|
+
"docs": {
|
|
183
|
+
"tags": [],
|
|
184
|
+
"text": "Optional title rendered above countdown blocks."
|
|
185
|
+
},
|
|
186
|
+
"attribute": "countdown-title",
|
|
187
|
+
"reflect": false
|
|
188
|
+
},
|
|
189
|
+
"staticTextColor": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"mutable": false,
|
|
192
|
+
"complexType": {
|
|
193
|
+
"original": "'light' | 'dark'",
|
|
194
|
+
"resolved": "\"dark\" | \"light\"",
|
|
195
|
+
"references": {}
|
|
196
|
+
},
|
|
197
|
+
"required": false,
|
|
198
|
+
"optional": false,
|
|
199
|
+
"docs": {
|
|
200
|
+
"tags": [],
|
|
201
|
+
"text": "Static text color variant for title and labels."
|
|
202
|
+
},
|
|
203
|
+
"attribute": "static-text-color",
|
|
204
|
+
"reflect": false,
|
|
205
|
+
"defaultValue": "'light'"
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
static get states() {
|
|
210
|
+
return {
|
|
211
|
+
"countdown": {}
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
static get events() {
|
|
215
|
+
return [{
|
|
216
|
+
"method": "countdownEnded",
|
|
217
|
+
"name": "countdownEnded",
|
|
218
|
+
"bubbles": true,
|
|
219
|
+
"cancelable": true,
|
|
220
|
+
"composed": true,
|
|
221
|
+
"docs": {
|
|
222
|
+
"tags": [],
|
|
223
|
+
"text": "Emitted once when the countdown reaches its end date."
|
|
224
|
+
},
|
|
225
|
+
"complexType": {
|
|
226
|
+
"original": "void",
|
|
227
|
+
"resolved": "void",
|
|
228
|
+
"references": {}
|
|
229
|
+
}
|
|
230
|
+
}];
|
|
231
|
+
}
|
|
232
|
+
static get watchers() {
|
|
233
|
+
return [{
|
|
234
|
+
"propName": "endDatetime",
|
|
235
|
+
"methodName": "onEndDatetimeChanged"
|
|
236
|
+
}];
|
|
237
|
+
}
|
|
238
|
+
}
|
|
@@ -13,12 +13,12 @@ export class TetLabel {
|
|
|
13
13
|
this.showIcon = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: 'cc76d5686cd9f65cf1117e82be2ed5efd216bf89' }, h("div", { key: '0afe30cd4ab92bc5bf5ddee37758c305a589b981', class: {
|
|
17
17
|
label: true,
|
|
18
18
|
'label-active': this.active,
|
|
19
19
|
[`label-type-${this.type}`]: true,
|
|
20
20
|
[`theme-${this.theme}`]: true,
|
|
21
|
-
} }, this.labelTitle && h("p", { key: '
|
|
21
|
+
} }, this.labelTitle && h("p", { key: '73221c9c80f4ef67e15f7447ffc85dc6a0a2af37', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: '58c0bb8377261ff610b7ceba8ffa0b323bc10d62', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "tet-label"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -55,9 +55,9 @@ export class TetDatepickerHeader {
|
|
|
55
55
|
this.datepickerViewChanged.emit(view);
|
|
56
56
|
};
|
|
57
57
|
render() {
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: '8319cdf938529c05440c989adee62c318329bea2', class: "header" }, this.datepickerView !== 'year'
|
|
59
59
|
? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
|
|
60
|
-
: h("div", null), h("div", { key: '
|
|
60
|
+
: h("div", null), h("div", { key: '2b96ac64a31ce48feb09101f869b6543acda7cc1', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: '831e3686213c8d25587358d9569aca78eac3f419', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
|
|
61
61
|
? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
|
|
62
62
|
: h("div", null)));
|
|
63
63
|
}
|
|
@@ -159,7 +159,7 @@ export class TetDatepickerMonthView {
|
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
161
|
render() {
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: 'a4f7be4b7ae091cd2590327faa1c7cd1525f85fe' }, h("div", { key: 'e1dc4952597698666654eff8102a28913c9d669e', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: '57b7152b6d071433dc5ce9d9d8f7d7bf67843fea', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date))))));
|
|
163
163
|
}
|
|
164
164
|
static get is() { return "tet-datepicker-month-view"; }
|
|
165
165
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class TetDatepickerMultiYearView {
|
|
|
32
32
|
return { year: true, current: year === currentYear, selected: this.isSelectedYear(year) };
|
|
33
33
|
};
|
|
34
34
|
render() {
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: '8fb65992b68a2f1a57cd1a511957223ac31b479f', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "tet-datepicker-multi-year-view"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class TetDatepickerYearView {
|
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '74fff2b0830c6e1e84a405150e82fa1f8aa27270', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "tet-datepicker-year-view"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -100,10 +100,10 @@ export class TetDatepicker {
|
|
|
100
100
|
return { overlay: true, closed: !this.isOpen, 'overlay-effect': this.overlayEffect };
|
|
101
101
|
};
|
|
102
102
|
render() {
|
|
103
|
-
return (h("div", { key: '
|
|
104
|
-
h("tet-datepicker-month-view", { key: '
|
|
105
|
-
h("tet-datepicker-multi-year-view", { key: '
|
|
106
|
-
h("tet-datepicker-year-view", { key: '
|
|
103
|
+
return (h("div", { key: 'ef4cd00c1976d8e7d90652db9d45862429a4530d', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: '9d44b4b847c458688d76a23637a6e3f888061a2d', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '5085f13fe1bed0de280bd6b98ddfa29c3f307707', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
104
|
+
h("tet-datepicker-month-view", { key: '6f85f52ed3be72a11d4485df8e21cd00a745ac13', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
105
|
+
h("tet-datepicker-multi-year-view", { key: '0dcb51c8c83c6c5c1b01c684dee0f616acf4926b', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
106
|
+
h("tet-datepicker-year-view", { key: 'b47d1b9267ab29f69931c26a58e2181ecc60cd91', selectedDate: this.date, internalDate: this.internalDate }))));
|
|
107
107
|
}
|
|
108
108
|
static get is() { return "tet-datepicker"; }
|
|
109
109
|
static get encapsulation() { return "shadow"; }
|
|
@@ -760,31 +760,31 @@ export class TetRangeSlider {
|
|
|
760
760
|
return dataListItem;
|
|
761
761
|
};
|
|
762
762
|
render() {
|
|
763
|
-
return (h(Host, { key: '
|
|
763
|
+
return (h(Host, { key: '7198692060a2cb67d8a7e38a039ae1f8f0fe2181' }, h("div", { key: 'adc282b60ebefaa48695140bd7a51ad3806aa115', class: {
|
|
764
764
|
'range-slider': true,
|
|
765
765
|
[`range-slider--${this.containerSize}`]: true,
|
|
766
766
|
[`range-slider--${this.type}`]: true,
|
|
767
767
|
'range-slider--no-controls': !this.withControls,
|
|
768
768
|
'range-slider--no-input': !this.withInput,
|
|
769
769
|
[this.theme]: true,
|
|
770
|
-
} }, h("div", { key: '
|
|
770
|
+
} }, h("div", { key: '0a97ca0442555d9c6f74b879d0df7a546897cb0e', class: {
|
|
771
771
|
'range-slider__input-container': true,
|
|
772
772
|
'hidden': !this.withInput,
|
|
773
|
-
} }, h("tet-input", { key: '
|
|
773
|
+
} }, h("tet-input", { key: '3af2507c25d1d23f95096e31007cc05d5f8d5e7a', "input-class": "range-slider__input", "input-type": "number", "input-value": this.currentValue, ref: inputEl => (this.inputRef = inputEl), theme: this.theme, onInput: this.onInputChange, onKeyDown: (event) => this.onInputKeyDown(event, true), accessibilityLabel: this.numberInputAccessibilityLabel, ...(this.containerSize !== 'large' ? { inputTabindex: 3 } : {}) })), h("div", { key: '2132ed251e8205be10ae44bb59edc346ba0bd369', class: "range-slider__container" }, h("tet-button", { key: '9ac8707942587310e47b16acfcf07f718a56134f', theme: this.theme, iconMode: true, class: {
|
|
774
774
|
'range-slider__control': true,
|
|
775
775
|
'range-slider__control--left': true,
|
|
776
776
|
'hidden': !this.withControls,
|
|
777
|
-
}, clickCallback: this.onControlPreviousClick, ...(this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 2 } : {}) }, h("tet-icon", { key: '
|
|
777
|
+
}, clickCallback: this.onControlPreviousClick, ...(this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 2 } : {}) }, h("tet-icon", { key: 'b8524318e5e3639615942d615b57def7b468b102', name: "remove", class: "range-slider__control--icon" })), h("div", { key: '9eca85024735eed7e6e20a7ab7449f5b43f2a00e', onTouchStart: this.onContainerTouchStart, onTouchEnd: this.onContainerTouchEnd, onMouseDown: this.onContainerMouseDown, onScroll: this.onContainerScroll, ref: sliderContainerEl => (this.sliderContainerRef = sliderContainerEl), class: "range-slider__slider-container", draggable: false }, h("div", { key: '4e9d9aa92c52b33e064054c3797e62a01de768f2', class: "range-slider__slider-wrapper" }, h("input", { key: '2186bbccc99f7caad5644301a0c1aa92e481631d', ref: sliderEl => (this.sliderRef = sliderEl), type: "range", min: this.minValue, max: this.maxValue, step: this.step, value: this.defaultValue, list: "steplist", id: "rangeInput", onInput: this.onSliderInput, onChange: this.onSliderChange, onPointerDown: this.onSliderPointerDown, onPointerUp: this.onSliderPointerUp, onKeyDown: this.onInputKeyDown, class: "range-slider__slider", ...(this.sliderInputAccessibilityLabel ? { "aria-label": this.sliderInputAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 1 } : {}) })), h("div", { key: '79c0a8c6f8821a4d7b07fb8373fc11b685d86548', class: "range-slider__track range-slider__track--background" }), h("div", { key: '34897fecf4f9fa0cbb2e08e37833bc09dbb7c90a', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: '3161926a83f2c9dd42ad3bcfc9eb9d17dc44ce4d', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: '8daec9046a72bf3ae879799b18bc34e1d893bfeb', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
|
|
778
778
|
'range-slider__data-label-container': true,
|
|
779
779
|
'hidden': this.type === 'secondary' && this.containerSize === 'small',
|
|
780
|
-
} })), h("div", { key: '
|
|
780
|
+
} })), h("div", { key: '5fac72480f28fa3e547fe6e53ff9cea387420dc6', class: {
|
|
781
781
|
'range-slider__current-step-container': true,
|
|
782
782
|
'hidden': !this.withCurrentStepCounter,
|
|
783
|
-
} }, h("div", { key: '
|
|
783
|
+
} }, h("div", { key: 'fa2960e3e580f72b65e877339052bd38414832b6', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: 'fe713ae1718a9bddfb678aaab43837c6c41935c2', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: 'd5aa9120ee4b5a204dd107c4a57e37cdc13000e0', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", { key: 'b6bf510b357f9055dc849622a836eb7718f3949d', theme: this.theme, iconMode: true, class: {
|
|
784
784
|
'range-slider__control': true,
|
|
785
785
|
'range-slider__control--right': true,
|
|
786
786
|
'hidden': !this.withControls,
|
|
787
|
-
}, clickCallback: this.onControlNextClick, ...(this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 4 } : {}) }, h("tet-icon", { key: '
|
|
787
|
+
}, clickCallback: this.onControlNextClick, ...(this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), ...(this.containerSize !== 'large' ? { tabindex: 4 } : {}) }, h("tet-icon", { key: '0a80c36f4147add6bcf35d0c69231441c330697a', name: "add", class: "range-slider__control--icon" }))))));
|
|
788
788
|
}
|
|
789
789
|
static get is() { return "tet-range-slider"; }
|
|
790
790
|
static get encapsulation() { return "shadow"; }
|
|
@@ -145,7 +145,7 @@ export class TetStepperInput {
|
|
|
145
145
|
}, class: "stepper-input__input", type: "number", value: String(value ?? ''), disabled: disabled, theme: theme, ...(accessibilityLabel ? { accessibilityLabel } : {}) }));
|
|
146
146
|
}
|
|
147
147
|
render() {
|
|
148
|
-
return (h("div", { key: '
|
|
148
|
+
return (h("div", { key: '6a6c629d289b71647b10253e984accea33b98761', class: `stepper-input ${this.theme}` }, this.renderLabel(), h("div", { key: 'e189e9599ce885ba2c60056bfe1fc23e253c5572', class: "stepper-input__inner-wrapper" }, this.renderButton('decrement'), this.renderValueDisplay(), this.renderButton('increment'))));
|
|
149
149
|
}
|
|
150
150
|
static get is() { return "tet-stepper-input"; }
|
|
151
151
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,8 +59,8 @@ export class TetTextarea {
|
|
|
59
59
|
'error': (errorMessages.length > 0),
|
|
60
60
|
'keyboard-focus': this.focusVisible,
|
|
61
61
|
};
|
|
62
|
-
return (h(Host, { key: '
|
|
63
|
-
h("span", { key: '
|
|
62
|
+
return (h(Host, { key: 'cd47280cb7758754a71ac690ae1f67b9ba1cebcb' }, h("label", { key: '47228cba1d6ca542935cf13151ea909651ef8580', class: { [`${theme}`]: true } }, label &&
|
|
63
|
+
h("span", { key: 'ad1be47bf26a0e1857eb3025757a8b2ccdeed457', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), h("div", { key: '9c773c8fe6c531082859e7ed14ec415d3f103d07', class: { 'textarea-container': true, [`tet-textarea__${theme}`]: true } }, h("textarea", { key: 'c3b6740ea9925428aedfe6ebaf575e407ce1e1fb', onFocus: this.addKeyboardFocus, onFocusout: this.removeKeyboardFocus, id: "textarea", class: textareaClasses, placeholder: placeholder, disabled: disabled, autocomplete: "off", ref: (el) => (this.textareaHtmlElement = el), maxlength: maxLength }, value))), (this.errorMessages.length > 0) && renderErrorMessages()));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "tet-textarea"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -68,7 +68,7 @@ export class TetNewsCardList {
|
|
|
68
68
|
scrollFullWidth,
|
|
69
69
|
controlScrollAmount,
|
|
70
70
|
};
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'e5748c7d98e17e78b873d92986ba5267f497e0bb' }, h("tet-card-list", { key: '8d6bcc11a684bc06c98a2d819ec8b4b3f9acdb54', theme: this.theme, part: "card-list-component", exportparts: "card-list, card-list-container", withOverflowOpacity: true, ...props }, this.items.map((item, index) => this.renderListCard(item, index)))));
|
|
72
72
|
}
|
|
73
73
|
static get is() { return "tet-news-card-list"; }
|
|
74
74
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js
CHANGED
|
@@ -58,13 +58,13 @@ export class TetNavigationMobile {
|
|
|
58
58
|
this.mainDropdownToggle.emit(isTogglerExpanded);
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h(Host, { key: '
|
|
61
|
+
return (h(Host, { key: '162ebe378645ffdb47a43120eae5897d710cd934' }, h("navigation", { key: '120b65bdc0844c18db43d49657d52671063c1072', class: {
|
|
62
62
|
'navigation': true,
|
|
63
63
|
'navigation--dark': this.darkMode
|
|
64
|
-
} }, h("div", { key: '
|
|
64
|
+
} }, h("div", { key: '7a7eef14cd4c7587229d05e28791e71b01962baf', class: "navigation__nav-bar" }, h("slot", { key: 'c36fe832c53e0c37d599611e2c47a7639d236165' })), this.isTogglerVisible && (h("span", { key: 'fcec1e746f5f733042e9bba8ff8a4a55f5d36b4f', class: "navigation__toggler", onClick: this.onTogglerClick, onKeyDown: (e) => this.handleKeyDown(e), tabIndex: 0 }, h("tet-icon", { key: '6b1eda748e01bb7c890d942d8cb732985eb983f0', theme: this.darkMode ? "dark" : "light", name: this.isTogglerExpanded ? "close" : "burger" }))), h("div", { key: '9541e3f3dce03f168b281500d3c340117cbb4b29', class: {
|
|
65
65
|
'navigation__dropdown': true,
|
|
66
66
|
'navigation__dropdown--expanded': this.isTogglerExpanded,
|
|
67
|
-
}, inert: !this.isTogglerExpanded }, h("slot", { key: '
|
|
67
|
+
}, inert: !this.isTogglerExpanded }, h("slot", { key: '15b849b825fa8bb7baf108eb86c3e9ea07874aba', name: "dropdown" })))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "tet-navigation-mobile"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -130,13 +130,13 @@ export class TetAccordion {
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
render() {
|
|
133
|
-
return (h(Host, { key: '
|
|
133
|
+
return (h(Host, { key: '373caa1cab927e88b700bc316071ad93d9999b30' }, h("div", { key: 'c83bd7f9792b80c3aa1fa38329bc504e315f9c4a', class: {
|
|
134
134
|
'tet-accordion': true,
|
|
135
135
|
'tet-accordion--border': this.withBorder,
|
|
136
136
|
[`${this.theme}-theme`]: true,
|
|
137
137
|
[`tet-accordion--breakpoint-${this.breakpoint}`]: true,
|
|
138
138
|
'transparent-bg': this.transparentBackground,
|
|
139
|
-
} }, h("div", { key: '
|
|
139
|
+
} }, h("div", { key: 'b6bcac083f6360a4783bac79966a491ccdc6b4ac', class: {
|
|
140
140
|
"tet-accordion__header": true,
|
|
141
141
|
[this.theme]: true,
|
|
142
142
|
"tet-accordion__header--non-interactive": !this.isHeaderInteractive,
|
|
@@ -144,15 +144,15 @@ export class TetAccordion {
|
|
|
144
144
|
onClick: this.toggleOpenState,
|
|
145
145
|
onKeyDown: this.toggleAccessibilityOpenState,
|
|
146
146
|
tabIndex: 0
|
|
147
|
-
} : {}) }, h("slot", { key: '
|
|
147
|
+
} : {}) }, h("slot", { key: 'abd0233dbd28b3a8975dc2f21a495a4f878af167', name: "header" }, this.headerIconName && (h("tet-icon", { key: '11caba12a7f545dba3b9165cd79f3fb4b6f6f04c', name: this.headerIconName, class: "tet-accordion__header-icon tet-accordion__icon" })), this.headerImageSrc && this.headerImageSrc !== '' && (h("img", { key: '67607c02863c2cb0c1140fde79628db8ce06bd9d', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image" })), this.renderHeading(), this.isHeaderInteractive && (h("tet-icon", { key: 'f1799daf9bd961cd1069e3f7cefbbc1fd6d88f3c', name: `chevron-${this.indicatorDirection}`, class: {
|
|
148
148
|
'tet-accordion__icon': true,
|
|
149
149
|
'open': this.isOpen
|
|
150
|
-
} })))), h("div", { key: '
|
|
150
|
+
} })))), h("div", { key: '57f94740f69857957c3954868341ef2e8362f178', ref: (element) => (this.contentWrapperElement = element), class: {
|
|
151
151
|
'tet-accordion__content-wrapper': true,
|
|
152
152
|
'visible': this.isOpen
|
|
153
|
-
}, inert: !this.isOpen }, h("div", { key: '
|
|
153
|
+
}, inert: !this.isOpen }, h("div", { key: '08f795939823f79e85bc93f87e67f33c794168f6', ref: (element) => (this.contentElement = element), class: {
|
|
154
154
|
'tet-accordion__content': true
|
|
155
|
-
} }, h("slot", { key: '
|
|
155
|
+
} }, h("slot", { key: '5bc9589fade7aef17eabe5948f4015052c52f8e7' }))))));
|
|
156
156
|
}
|
|
157
157
|
static get is() { return "tet-accordion"; }
|
|
158
158
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js
CHANGED
|
@@ -62,7 +62,7 @@ export class TetExpansionPanel {
|
|
|
62
62
|
this.state = this.state === 'open' ? 'closed' : 'open';
|
|
63
63
|
};
|
|
64
64
|
render() {
|
|
65
|
-
return (h("div", { key: '
|
|
65
|
+
return (h("div", { key: '1e5c70d6c568c3a03162413cfc1cf1ccc16ab38b', class: { 'tet-expansion-panel': true, 'open': this.state === 'open' } }, h("div", { key: '845302dad113df7709995fcbdc8b8f50e90f7af7', class: "tet-expansion-panel-content" }, h("slot", { key: 'dbde0019b806405762e33ad11956d70e06a5eb68' }))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "tet-expansion-panel"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -120,7 +120,7 @@ export class TetNotification {
|
|
|
120
120
|
}
|
|
121
121
|
render() {
|
|
122
122
|
const { headerTitle, content } = this;
|
|
123
|
-
return (h(Host, { key: '
|
|
123
|
+
return (h(Host, { key: 'b7ca487047ef81dc661f275728f5f25dc2056bfc' }, h("div", { key: '08eb58e66b924599158d5e1b89f379093607e2a0', class: { notification: true, [this.theme]: true } }, h("div", { key: '59f9c12317b7bc443420894086662d8c406d1545', class: { item: true, [this.type]: true } }, h("div", { key: '88879db68bad5769d1bb0925e9a6c3a44df9b868', class: "header" }, this.renderTypeIcon(), h("div", { key: 'b3bd8aa9d68fe8082d18fe5fde83531ec7d2dedb', class: "title" }, headerTitle), this.renderCloseButton()), h("div", { key: 'd9bf71bae1618c45402d17a6b06e849da173a0a6', class: "content" }, h("span", { key: 'f4a4c1165be05c7d717ef2bbd81b3ac6233e9a39', innerHTML: content }), h("div", { key: '5727f00f322163b1c7afaa344adef756cfa7c11f' }, h("slot", { key: '163beb7cba7198e530abcace24077c053fb11ff2', name: "button" })))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "tet-notification"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -365,7 +365,7 @@ export class TetTooltip {
|
|
|
365
365
|
return (h("div", { class: { tooltip: true, [`${this.theme}`]: true }, role: "tooltip", "aria-hidden": this.showTooltip ? 'false' : 'true', "aria-live": this.showTooltip ? 'polite' : undefined }, h("div", { class: "tooltip-pointer", ref: (el) => (this.tooltipPointer = el) }), h("slot", null)));
|
|
366
366
|
};
|
|
367
367
|
render() {
|
|
368
|
-
return h(Host, { key: '
|
|
368
|
+
return h(Host, { key: 'fb8071bc2169c1d8a0e18b3f06626c05337c7def', class: { visible: this.showTooltip } }, this.renderTooltip());
|
|
369
369
|
}
|
|
370
370
|
static get is() { return "tet-tooltip"; }
|
|
371
371
|
static get encapsulation() { return "shadow"; }
|
|
@@ -137,7 +137,7 @@ export class TetAddressOffersView {
|
|
|
137
137
|
return h(Fragment, null);
|
|
138
138
|
}
|
|
139
139
|
render() {
|
|
140
|
-
return (h(Host, { key: '
|
|
140
|
+
return (h(Host, { key: '713f31ec00fe50b3393bc64365348f9d24ab314f' }, this.renderContactForm(), this.renderHeader(), this.address && this.renderBody()));
|
|
141
141
|
}
|
|
142
142
|
static get is() { return "tet-address-offers-view"; }
|
|
143
143
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js
CHANGED
|
@@ -51,7 +51,7 @@ export class TetB2bServiceCalculator {
|
|
|
51
51
|
this.withInPersonServiceSupport = detail.checked;
|
|
52
52
|
};
|
|
53
53
|
render() {
|
|
54
|
-
return (h("section", { key: '
|
|
54
|
+
return (h("section", { key: '3972879d0051cf6bd1cbe2ded4e7a2db1331f68b', class: "container" }, h("div", { key: 'fd3c04b275e2683c4429902e25d4bbe1e5255d45', class: "title-block" }, t('components-b2b-calculator-title')), h("div", { key: '69dfb4c81b8a23d27fdb1da6a66882b9963af32a', class: "calculator-block" }, h("p", { key: '7c60e8ff0f55cb4ad97252bff7618c608bd8b84b', class: "slider-title" }, t('components-b2b-calculator-computer-count')), h("tet-range-slider", { key: '234628918d2aa5c60e4cd40086a69f1fbc76b1cb', class: "slider", size: "large", type: "primary", defaultValue: 75, maxValue: 100, withControls: false, withInput: false, dataPoints: [1, 20, 40, 60, 80, 100], displayDataPoints: [1, 20, 40, 60, 80, 100], lockToDataPoint: false }), h("div", { key: '6d9767b552859608d04633c9e7258d918541bc58', class: "control-container" }, h("div", { key: '5fc90e81b057e6a59a63df58ab27633e07b449d1', class: "control" }, h("tet-checkbox", { key: '113449d38caa43c47640f08a65ed0b250bf02714', class: "it-admin-checkbox", checked: this.withItAdmin, onCheck: this.handleWithItAdminValueChange }, t('components-b2b-calculator-it-admin-checkbox-label'))), h("div", { key: '639b7b5ab6ab68b08c420b1c954cbcd19cf5fb37', class: "control" }, h("tet-switch", { key: 'c524ddce4c112fad3a30c0fb2fd3d6f75ddee525', class: "in-person-support-switch", checked: this.withInPersonServiceSupport, onCheck: this.handleInPersonServiceSupportValueChange }, t('components-b2b-calculator-in-person-support-switch-label')))), h("div", { key: '08d9f7f7be2516ba0f1ecb6c428ac5a622509cf1', class: "monthly-payment-block" }, h("p", { key: '3b8dc60c172cc0f3d6d3cb28516d8394a7bc4a5b', class: "title" }, t('components-b2b-calculator-potential-monthly-payment')), h("p", { key: 'd0de86f9e7713440e108ff15e8446c5a3b76279f' }, h("span", { key: '54a6da30be1cf5c29bbda88393e832d7481edede', class: "price" }, this.totalPrice), h("span", { key: '83ab9d8d159635b0da3cc6642a94b3f8b90e5915', class: "currency" }, t('components-euro-per-month')))))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "tet-b2b-service-calculator"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class TetBusinessLines {
|
|
|
45
45
|
return (h("div", { class: "business-line-item", onClick: () => this.handleBusinessLineSelection(businessLine) }, h("div", { class: "name-container" }, h("tet-icon", { name: businessLine.iconName }), this.translate(businessLine.name)), h("tet-icon", { class: "chevron-icon", name: "chevron-right" })));
|
|
46
46
|
};
|
|
47
47
|
render() {
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: '7fe1eb7848d5ae97a5aace421a9877c6a1b79a5b', class: "container" }, this.showHeadings && this.renderHeadings(), h("div", { key: '2a8048d2113e824b53380e79ebde4009c5ed3b42', class: "business-line-wrapper" }, this.businessLines?.map(this.renderBusinessLineItem))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "tet-business-lines"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class TetBorderRadius {
|
|
3
3
|
render() {
|
|
4
|
-
return (h(Host, { key: '
|
|
4
|
+
return (h(Host, { key: '9d39e25b60cf77abf6c1fd1aa752dd5548756637' }, h("div", { key: '380419dcef2d1e79424971b4d512a6dff8b9b75f', class: "variable-container" }, h("div", { key: '09ba25d3937e71e38c1ae79ac28c36a8f3053d34', class: "container-title main" }, "Border r\u0101diusa klase"), h("div", { key: '9cb613c54d4d2510b1e62130173df004cfd8a40a', class: "container-section" }, h("div", { key: '6a48ab10c9494ba7316ebc81f07d94d3febfd9f7', class: "variable-name" }, h("div", { key: 'ae570dac76c3632fe9ce7456e7f4cd3f4e0b98f6', class: "variable-part" }, "tet"), h("div", { key: '0b38e6382b4fff659aa00c066dc05ce284809803', class: "variable-part" }, "-border"), h("div", { key: 'dd22f26d0e2eec4be62fd0cf3236977b4b5b08bd', class: "variable-part variable variable-type" }, "-radius"), h("div", { key: 'ca6ff8272b57bd9db592246c959f3015af84ffb8', class: "variable-part variable variable-size" }, "--md")))), h("div", { key: '38858011381c3e185711dea5b91f5539f76492de', class: "tet-fonts-container" }, h("div", { key: '61b1099633ce7c994beab35054cb1d93b1440f3b', class: "container-title" }, "R\u0101diusa izm\u0113ri"), h("div", { key: '1abb3ad2d4c921c9e1c671d83fc30b250e45faf5', class: "section" }, h("div", { key: 'f237ec2a1ebd53dd1a711c04456b4c864f50648f', class: "section-variable" }, h("div", { key: '375a6df784d245bae008eedb6ef4b30cc893814e', class: "border tet-border-radius--xs" }), h("div", { key: '430c35ee354c3899d72f05742e711fdde359c3ed', class: "section-font-class" }, "klase: tet-border-radius--xs"), h("div", { key: 'e110dfd6e340e17d0e1974bc1773e7ecfee7cd0f', class: "section-font-size" }, "border radius: 0.25rem / 4px")), h("div", { key: 'a6244ec787a3a9ddf10febf409c5df0a7e6c0e4f', class: "section-variable" }, h("div", { key: 'f2954587754354054b84cdfd4e855afdfe531712', class: "border tet-border-radius--sm" }), h("div", { key: 'bc6b6d959de524f7c0422449de98b7ded643b66d', class: "section-font-class" }, "klase: tet-border-radius--sm"), h("div", { key: '394583cf973668cd9facf669357a48b7005d2078', class: "section-font-size" }, "border radius: 0.5rem / 8px")), h("div", { key: 'fb3de793099f610c359d364eb9784c8968889d67', class: "section-variable" }, h("div", { key: '8395b64c5eb93e7424af120b8f534e624cac5455', class: "border tet-border-radius--md" }), h("div", { key: 'cb2d4c9fb6b357d36f3a83df9ca01495e1cb428d', class: "section-font-class" }, "klase: tet-border-radius--md"), h("div", { key: 'e1b5fa304abe7fa579a78962a7c8ff275ae4e06f', class: "section-font-size" }, "border radius: 1rem / 16px")), h("div", { key: 'a8a270d966d33aacd5e0e4e374797b18d44d73ce', class: "section-variable" }, h("div", { key: 'bcbf5faa9a8394740ccbe4c1543638f162f5178a', class: "border tet-border-radius--lg" }), h("div", { key: '3fa6ba25b1e3808c239df950ac93dae2a43f7a5b', class: "section-font-class" }, "klase: tet-border-radius--lg"), h("div", { key: '93f747a12d1fdbaf3d7fa55928e943ad4af44245', class: "section-font-size" }, "border radius: 1.5rem / 24px"), h("div", { key: '2d6ef9c98578985c1abd5723515feec132811068', class: "section-font-size" })), h("div", { key: 'a6e0d78c5b0d58f7b469c469c2db526c29e3e569', class: "section-variable" }, h("div", { key: '437472f74b71c2e5601b9729ffa609cd94d2d3c3', class: "border tet-border-radius--xl" }), h("div", { key: '30f1734e5fdf064d1c7b308813536923cfcd2703', class: "section-font-class" }, "klase: tet-border-radius--xl"), h("div", { key: '9cbc5e3e2bd81073e92e584ee61064b2c05167c5', class: "section-font-size" }, "border radius: 2rem / 32px"))))));
|
|
5
5
|
}
|
|
6
6
|
static get is() { return "tet-border-radius"; }
|
|
7
7
|
static get encapsulation() { return "shadow"; }
|