@tet/tet-components 1.4.109-testing → 1.4.110-production
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{address-d3d97441.js → address-93ebde6a.js} +1 -1
- package/dist/cjs/{assets-f0cfef4d.js → assets-39cfc2af.js} +1 -1
- package/dist/cjs/{async-request-a617bfe6.js → async-request-bde9099c.js} +19 -19
- package/dist/cjs/{http-codes-0eae7bd3.js → http-codes-b099a581.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-162b4cbc.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-a59cbcb0.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{phone-f6be08ae.js → phone-5eb0ee4d.js} +2 -2
- package/dist/cjs/{product-comparison-fd3cbd23.js → product-comparison-ad533490.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-assembler.cjs.entry.js +3 -3
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
- package/dist/cjs/tet-checkbox_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -4
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-card-v3.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 +1 -1
- 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 +1 -1
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-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 +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.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 +3 -3
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-referral.cjs.entry.js +5 -5
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
- package/dist/cjs/tet-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 +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-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 +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-cde3168f.js} +2 -2
- package/dist/cjs/translations-944394ec.js +253 -0
- package/dist/collection/components/views/tet-cloud-configurator/tet-cloud-configurator.js +0 -1
- package/dist/collection/services/api/services/translations.js +24 -8
- package/dist/collection/services/translations/translation-dictionary.js +8 -0
- package/dist/collection/services/translations/translations-manager.js +115 -24
- package/dist/collection/services/translations/translations.js +1 -5
- package/dist/components/index.js +1 -1
- package/dist/components/{p-b55289e2.js → p-02e36fc2.js} +4 -4
- package/dist/components/{p-4c8ecb57.js → p-03915f27.js} +1 -1
- package/dist/components/{p-f333eb4f.js → p-0dcd0304.js} +10 -10
- package/dist/components/{p-2a2822bb.js → p-12281a8a.js} +7 -7
- package/dist/components/{p-f8ec4cde.js → p-1b383a63.js} +2 -2
- package/dist/components/{p-43f43609.js → p-1d509d1e.js} +1 -1
- package/dist/components/{p-3be94cf3.js → p-1e0a23f3.js} +3 -3
- package/dist/components/{p-99fc1300.js → p-1e341286.js} +6 -6
- package/dist/components/{p-754ea39b.js → p-26f45990.js} +3 -3
- package/dist/components/{p-636addf8.js → p-27a8be74.js} +14 -14
- package/dist/components/{p-caf5a227.js → p-2ad8b557.js} +1 -1
- package/dist/components/{p-e7d5c5c7.js → p-2e35a316.js} +2 -2
- package/dist/components/{p-dc13c5ac.js → p-2e4192d3.js} +2 -2
- package/dist/components/{p-47468ad7.js → p-32c3a688.js} +3 -3
- package/dist/components/{p-a8911eb9.js → p-355f9ad7.js} +9 -9
- package/dist/components/{p-3766232d.js → p-373f3567.js} +19 -19
- package/dist/components/{p-c837f3cc.js → p-3d5dff30.js} +3 -3
- package/dist/components/{p-7454b60d.js → p-3dcb5c78.js} +7 -7
- package/dist/components/{p-5f555c17.js → p-3e00edfb.js} +1 -1
- package/dist/components/{p-8f61e16c.js → p-3fccc6ee.js} +7 -7
- package/dist/components/{p-317746ab.js → p-4b8c76fb.js} +2 -2
- package/dist/components/{p-f33b757a.js → p-4d311ebb.js} +1 -1
- package/dist/components/{p-e2dfc149.js → p-50b3d0ac.js} +1 -1
- package/dist/components/{p-0ea85682.js → p-58cda489.js} +2 -2
- package/dist/components/{p-de831036.js → p-65ca6dd4.js} +1 -1
- package/dist/components/{p-d36e8780.js → p-74fa6f90.js} +3 -3
- package/dist/components/{p-3d15252a.js → p-80369fa2.js} +2 -2
- package/dist/components/{p-1b944431.js → p-82502795.js} +3 -3
- package/dist/components/{p-7c3df995.js → p-893fc1e3.js} +1 -1
- package/dist/components/{p-25b93e8f.js → p-8b6ad07d.js} +1 -1
- package/dist/components/{p-cea2542c.js → p-8ed153c3.js} +3 -3
- package/dist/components/{p-9e7ca7ed.js → p-94d3c102.js} +1 -1
- package/dist/components/{p-0cb11ace.js → p-96af4806.js} +1 -1
- package/dist/components/{p-90821fe8.js → p-982e8941.js} +5 -5
- package/dist/components/{p-c45c36b8.js → p-98cd3e04.js} +10 -10
- package/dist/components/{p-f7f459ce.js → p-99de76fc.js} +1 -1
- package/dist/components/{p-511093b3.js → p-a51f5f2a.js} +4 -4
- package/dist/components/{p-11313fde.js → p-a5a40b2e.js} +1 -1
- package/dist/components/p-a6b6e7e6.js +250 -0
- package/dist/components/{p-486d6dab.js → p-ab1eecbc.js} +1 -1
- package/dist/components/{p-7f3e015a.js → p-abe4f640.js} +2 -2
- package/dist/components/{p-ab5e98a0.js → p-bee2c701.js} +2 -2
- package/dist/components/{p-d65b7994.js → p-c3e39661.js} +5 -5
- package/dist/components/{p-9a3299ca.js → p-c4ea4615.js} +2 -2
- package/dist/components/{p-33ddb139.js → p-d4bd224d.js} +6 -6
- package/dist/components/{p-ddfcfd20.js → p-d990980f.js} +1 -1
- package/dist/components/{p-e296086b.js → p-da5c0aa7.js} +1 -1
- package/dist/components/{p-f58fcdf1.js → p-de97d586.js} +1 -1
- package/dist/components/{p-c438a4ae.js → p-def02746.js} +6 -6
- package/dist/components/{p-8c840b9f.js → p-e0525363.js} +2 -2
- package/dist/components/{p-829b8d02.js → p-e5f0e438.js} +2 -2
- package/dist/components/{p-6c05c6b9.js → p-ebbfa54a.js} +1 -1
- package/dist/components/{p-13e4af07.js → p-f141ccfe.js} +1 -1
- package/dist/components/{p-2658271e.js → p-f1f8c315.js} +2 -2
- package/dist/components/{p-66699b53.js → p-f58ee4f8.js} +3 -3
- package/dist/components/{p-029c98e2.js → p-f6b495bc.js} +1 -1
- package/dist/components/{p-f54b29a3.js → p-f7e82737.js} +2 -2
- package/dist/components/{p-ca3ef754.js → p-f7f81374.js} +7 -7
- package/dist/components/{p-ed08f5c9.js → p-fe5cc3d8.js} +1 -1
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +24 -24
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +7 -7
- package/dist/components/tet-asset-addresses.js +13 -13
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +20 -20
- package/dist/components/tet-b2b-service-calculator.js +8 -8
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +5 -5
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +4 -4
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +12 -13
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +9 -9
- package/dist/components/tet-compare-card-v3.js +10 -10
- 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.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +6 -6
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +8 -8
- package/dist/components/tet-divider.js +7 -7
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +4 -4
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +7 -7
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-floating-block.js +3 -3
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +3 -3
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +10 -10
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-mini-compare-card.js +3 -3
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +3 -3
- package/dist/components/tet-news-card-list.js +4 -4
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +7 -7
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +2 -2
- 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 +12 -12
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-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-a5f65679.js → address-8bc4759b.js} +1 -1
- package/dist/esm/{assets-785095c4.js → assets-cea3bef9.js} +1 -1
- package/dist/esm/{async-request-02db63e4.js → async-request-b1f07963.js} +19 -19
- package/dist/esm/{http-codes-9125ce84.js → http-codes-43d8c151.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-0da0d682.js} +1 -1
- package/dist/esm/{index-412df137.js → index-6c5bc6fc.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{phone-05f71013.js → phone-05e8a3bc.js} +2 -2
- package/dist/esm/{product-comparison-fdb9b9cc.js → product-comparison-4d55b208.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +4 -4
- package/dist/esm/tet-assembler.entry.js +3 -3
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +4 -4
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +3 -3
- package/dist/esm/tet-checkbox_2.entry.js +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -4
- package/dist/esm/tet-colors.entry.js +1 -1
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-card-v3.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 +2 -2
- 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 +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +3 -3
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-blocks.entry.js +1 -1
- package/dist/esm/tet-radio.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-referral.entry.js +5 -5
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +3 -3
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-tab-header.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tooltip.entry.js +1 -1
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-37dd9692.js} +2 -2
- package/dist/esm/translations-2c165a3b.js +250 -0
- package/dist/tet-components/{p-f6474f11.entry.js → p-00f9d33e.entry.js} +1 -1
- package/dist/tet-components/{p-372f452b.entry.js → p-01efe8cc.entry.js} +1 -1
- package/dist/tet-components/{p-dcf3b911.entry.js → p-029ddbac.entry.js} +1 -1
- package/dist/tet-components/{p-d1d31561.entry.js → p-03f99692.entry.js} +1 -1
- package/dist/tet-components/{p-7e04d367.entry.js → p-074f2d05.entry.js} +1 -1
- package/dist/tet-components/{p-77bec9a6.entry.js → p-0b9906f1.entry.js} +1 -1
- package/dist/tet-components/{p-5be49fe9.entry.js → p-0cd22a4a.entry.js} +1 -1
- package/dist/tet-components/{p-b47c0736.entry.js → p-0d3a3f6b.entry.js} +1 -1
- package/dist/tet-components/{p-fe46ae1e.entry.js → p-10e51ad9.entry.js} +1 -1
- package/dist/tet-components/{p-f57175df.entry.js → p-12d54e7a.entry.js} +1 -1
- package/dist/tet-components/{p-97637087.entry.js → p-14e98869.entry.js} +1 -1
- package/dist/tet-components/{p-5fa05a92.entry.js → p-1537a8c3.entry.js} +1 -1
- package/dist/tet-components/p-16771e65.entry.js +1 -0
- package/dist/tet-components/{p-d8518d4b.js → p-21acfb7d.js} +1 -1
- package/dist/tet-components/{p-4330c786.js → p-23d55f26.js} +1 -1
- package/dist/tet-components/{p-a6d7c907.entry.js → p-2c0bcce9.entry.js} +1 -1
- package/dist/tet-components/{p-3f2e515f.entry.js → p-325bfa56.entry.js} +1 -1
- package/dist/tet-components/{p-2e2b413d.entry.js → p-32dd7f3f.entry.js} +1 -1
- package/dist/tet-components/{p-5810a3a6.js → p-355b139a.js} +1 -1
- package/dist/tet-components/{p-4737a17f.entry.js → p-36a6ee7c.entry.js} +1 -1
- package/dist/tet-components/{p-ee3a7ea7.entry.js → p-3e522ab6.entry.js} +1 -1
- package/dist/tet-components/{p-811658a5.entry.js → p-40af8721.entry.js} +1 -1
- package/dist/tet-components/{p-055f4df1.entry.js → p-42987dc6.entry.js} +1 -1
- package/dist/tet-components/{p-44215fbb.entry.js → p-4943bcda.entry.js} +1 -1
- package/dist/tet-components/{p-ddaea568.js → p-49d04ebf.js} +1 -1
- package/dist/tet-components/{p-3c79acc4.entry.js → p-4af7dcd4.entry.js} +1 -1
- package/dist/tet-components/{p-662ef913.entry.js → p-4d12e950.entry.js} +1 -1
- package/dist/tet-components/{p-d951657c.entry.js → p-4ed833b1.entry.js} +1 -1
- package/dist/tet-components/{p-2192a732.entry.js → p-4f85f6a9.entry.js} +1 -1
- package/dist/tet-components/{p-75850241.entry.js → p-503f3d1f.entry.js} +1 -1
- package/dist/tet-components/{p-cc0d5a9b.entry.js → p-53517450.entry.js} +1 -1
- package/dist/tet-components/{p-ff5fb9e4.entry.js → p-56b52f81.entry.js} +1 -1
- package/dist/tet-components/{p-025ffb5a.entry.js → p-5767d91d.entry.js} +1 -1
- package/dist/tet-components/{p-6d1fc8db.entry.js → p-57aeb07a.entry.js} +1 -1
- package/dist/tet-components/{p-0b93059b.entry.js → p-590d4062.entry.js} +1 -1
- package/dist/tet-components/{p-3e60d61c.js → p-59c5d02d.js} +1 -1
- package/dist/tet-components/{p-403151e8.entry.js → p-5a68b452.entry.js} +1 -1
- package/dist/tet-components/{p-8689f33d.entry.js → p-5b19af51.entry.js} +1 -1
- package/dist/tet-components/{p-2da19afb.entry.js → p-5c874d96.entry.js} +1 -1
- package/dist/tet-components/{p-73971e4d.entry.js → p-5ce59b6d.entry.js} +1 -1
- package/dist/tet-components/{p-f4df5d30.entry.js → p-5cffebab.entry.js} +1 -1
- package/dist/tet-components/{p-0c6a7177.entry.js → p-5f77bca8.entry.js} +1 -1
- package/dist/tet-components/{p-eaded8bd.entry.js → p-5ff46aa5.entry.js} +1 -1
- package/dist/tet-components/{p-77bd8e7d.entry.js → p-626312dd.entry.js} +1 -1
- package/dist/tet-components/{p-f00c4099.entry.js → p-62d6ce00.entry.js} +1 -1
- package/dist/tet-components/{p-99d878a5.entry.js → p-6446ba9d.entry.js} +1 -1
- package/dist/tet-components/{p-a3918a20.entry.js → p-6599bd76.entry.js} +1 -1
- package/dist/tet-components/{p-7319e21f.entry.js → p-67e0e525.entry.js} +1 -1
- package/dist/tet-components/{p-5de41c5d.entry.js → p-6889d65b.entry.js} +1 -1
- package/dist/tet-components/{p-350f0cc8.entry.js → p-6a9c5a37.entry.js} +1 -1
- package/dist/tet-components/{p-4e643503.entry.js → p-6cf2d1d0.entry.js} +1 -1
- package/dist/tet-components/{p-362244bf.entry.js → p-708f1701.entry.js} +1 -1
- package/dist/tet-components/{p-b88a3448.entry.js → p-71bcc2de.entry.js} +1 -1
- package/dist/tet-components/{p-75dda1fd.entry.js → p-7200eee6.entry.js} +1 -1
- package/dist/tet-components/{p-57937881.entry.js → p-76060e6d.entry.js} +1 -1
- package/dist/tet-components/{p-d2f35322.entry.js → p-76f6df3e.entry.js} +1 -1
- package/dist/tet-components/{p-90a121e7.entry.js → p-77bfad0c.entry.js} +1 -1
- package/dist/tet-components/{p-0c02ac35.entry.js → p-7a1c56b7.entry.js} +1 -1
- package/dist/tet-components/{p-9e6fba5f.entry.js → p-7aa7cfff.entry.js} +1 -1
- package/dist/tet-components/{p-22f62d6c.entry.js → p-7afdb0ce.entry.js} +1 -1
- package/dist/tet-components/{p-9302af3a.entry.js → p-7b02d736.entry.js} +1 -1
- package/dist/tet-components/{p-f072aa97.entry.js → p-7c828472.entry.js} +1 -1
- package/dist/tet-components/p-7c868b40.js +2 -0
- package/dist/tet-components/{p-e2b55e84.js → p-7e108608.js} +1 -1
- package/dist/tet-components/p-81456c37.js +1 -0
- package/dist/tet-components/{p-7dbf302e.entry.js → p-832a2361.entry.js} +1 -1
- package/dist/tet-components/p-87f6cf31.js +1 -0
- package/dist/tet-components/{p-282e1de2.entry.js → p-8a92896e.entry.js} +1 -1
- package/dist/tet-components/{p-c0363485.entry.js → p-8b11e34b.entry.js} +1 -1
- package/dist/tet-components/{p-bb12c319.entry.js → p-8d764768.entry.js} +1 -1
- package/dist/tet-components/{p-460c39a5.entry.js → p-9c0fc5f4.entry.js} +1 -1
- package/dist/tet-components/{p-1e777274.entry.js → p-9c5583fc.entry.js} +1 -1
- package/dist/tet-components/{p-cb6df953.entry.js → p-9ca0343d.entry.js} +1 -1
- package/dist/tet-components/{p-2a81ebee.entry.js → p-9e5ba96f.entry.js} +1 -1
- package/dist/tet-components/{p-d688fdca.entry.js → p-a331f48a.entry.js} +1 -1
- package/dist/tet-components/{p-929698b3.entry.js → p-a64e5466.entry.js} +1 -1
- package/dist/tet-components/{p-e9fdafc0.entry.js → p-ab183b78.entry.js} +1 -1
- package/dist/tet-components/{p-2ba08431.js → p-ac56923b.js} +1 -1
- package/dist/tet-components/{p-c43ee172.entry.js → p-b0c5b074.entry.js} +1 -1
- package/dist/tet-components/{p-63d74d15.entry.js → p-b4e3a6e6.entry.js} +1 -1
- package/dist/tet-components/{p-bcdb7766.entry.js → p-b5fb4962.entry.js} +1 -1
- package/dist/tet-components/{p-768c00d1.entry.js → p-b74062ad.entry.js} +1 -1
- package/dist/tet-components/{p-49dba3fc.entry.js → p-b8c07b6d.entry.js} +1 -1
- package/dist/tet-components/{p-6eb72733.entry.js → p-bae40179.entry.js} +1 -1
- package/dist/tet-components/{p-258f63dc.entry.js → p-c356bf18.entry.js} +1 -1
- package/dist/tet-components/{p-b6bfdd4e.entry.js → p-c6722849.entry.js} +1 -1
- package/dist/tet-components/{p-b1222ff6.entry.js → p-c6f8b085.entry.js} +1 -1
- package/dist/tet-components/{p-66f1360e.entry.js → p-c842490e.entry.js} +1 -1
- package/dist/tet-components/{p-3016e7c8.entry.js → p-c8440baf.entry.js} +1 -1
- package/dist/tet-components/{p-981111e0.entry.js → p-cb128e2e.entry.js} +1 -1
- package/dist/tet-components/{p-43df67f7.entry.js → p-ce3839b4.entry.js} +1 -1
- package/dist/tet-components/{p-98ba6f5d.entry.js → p-d36f1a01.entry.js} +1 -1
- package/dist/tet-components/{p-85dff432.entry.js → p-d4b1c6f7.entry.js} +1 -1
- package/dist/tet-components/{p-1bd93ad3.entry.js → p-d72a5701.entry.js} +1 -1
- package/dist/tet-components/{p-43fb9369.entry.js → p-d8fc6609.entry.js} +1 -1
- package/dist/tet-components/{p-8f4ff4bd.entry.js → p-dc5f902b.entry.js} +1 -1
- package/dist/tet-components/{p-a91b95f0.entry.js → p-df3cc9fa.entry.js} +1 -1
- package/dist/tet-components/{p-01a45267.entry.js → p-e2ca819d.entry.js} +1 -1
- package/dist/tet-components/{p-e6d6744b.entry.js → p-e4a3d04c.entry.js} +1 -1
- package/dist/tet-components/{p-f55a404a.entry.js → p-e61d9ae2.entry.js} +1 -1
- package/dist/tet-components/{p-aa33b2e8.entry.js → p-e751fcb9.entry.js} +1 -1
- package/dist/tet-components/{p-4c074b0b.entry.js → p-e8f6bacf.entry.js} +1 -1
- package/dist/tet-components/{p-b152fc68.entry.js → p-efeaa40c.entry.js} +1 -1
- package/dist/tet-components/{p-bc91e97f.entry.js → p-f409a03e.entry.js} +1 -1
- package/dist/tet-components/{p-3a61ce24.entry.js → p-fbec1c2d.entry.js} +1 -1
- package/dist/tet-components/{p-167b75e8.entry.js → p-ff634875.entry.js} +1 -1
- package/dist/tet-components/{p-87a2809b.entry.js → p-fface6a0.entry.js} +1 -1
- package/dist/tet-components/{p-94b5e078.entry.js → p-ffd41199.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/services/api/index.d.ts +1 -0
- package/dist/types/services/api/services/translations.d.ts +9 -4
- package/dist/types/services/translations/translation-dictionary.d.ts +3 -0
- package/dist/types/services/translations/translations-manager.d.ts +13 -6
- package/package.json +1 -1
- package/dist/cjs/translations-3b76d1ce.js +0 -168
- package/dist/components/p-982e3ace.js +0 -165
- package/dist/esm/translations-9b49c612.js +0 -165
- package/dist/tet-components/p-2358a695.js +0 -1
- package/dist/tet-components/p-83f43fdd.js +0 -2
- package/dist/tet-components/p-90967734.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, g as getElement, h, H as Host } from './index-0da0d682.js';
|
|
2
2
|
import { T as TooltipPosition } from './TooltipPosition-3ad27783.js';
|
|
3
3
|
|
|
4
4
|
const tetTooltipCss = ":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{--tooltip-background-color:var(--tc-tooltip-layer-secondary);--tooltip-text-color:var(--tc-tooltip-text-inverse-primary);--tooltip-padding:1em;--tooltip-display-speed:.2s;--tooltip-delay-show:0s;--tooltip-delay-hide:.25s;--tooltip-max-width:18.75rem;--tooltip-border-radius:0.3125rem;--tooltip-font-weight:400;position:fixed;display:inline-block;width:max-content;max-width:min(var(--tooltip-max-width), 100%);z-index:100;pointer-events:none;opacity:0}:host(.hidden){visibility:hidden;opacity:0;transition:visibility 0s var(--tooltip-display-speed), opacity var(--tooltip-display-speed) linear}:host(.hidden-quick){opacity:0;visibility:hidden;transform:scale(0)}:host(.visible){visibility:visible;opacity:1;transition:visibility 0s var(--tooltip-display-speed), opacity var(--tooltip-display-speed) linear;transition-delay:var(--tooltip-delay-show)}.light-inverse{--tooltip-background-color:var(--tc-tooltip-layer-primary);--tooltip-text-color:var(--tc-tooltip-text-primary)}.dark{--tooltip-background-color:var(--tc-tooltip-layer-primary-dark);--tooltip-text-color:var(--tc-tooltip-text-primary-dark)}.dark-inverse{--tooltip-background-color:var(--tc-tooltip-layer-secondary-dark);--tooltip-text-color:var(--tc-tooltip-text-inverse-primary-dark)}.tooltip{position:relative;background:var(--tooltip-background-color);color:var(--tooltip-text-color);border-radius:var(--tooltip-border-radius);padding:var(--tooltip-padding);font-family:var(--font-family-content);font-weight:var(--tooltip-font-weight);font-size:0.875rem;white-space:normal;line-height:1.5em}.tooltip-pointer{position:absolute;width:0;height:0;border-left:0.5rem solid transparent;border-right:0.5rem solid transparent;border-bottom:0.5rem solid var(--tooltip-background-color)}@keyframes fadeIn{0%{opacity:0;transform:scale(0)}100%{opacity:1;visibility:visible;transform:scale(1)}}@keyframes fadeOut{0%{opacity:1;visibility:visible;transform:scale(1)}100%{opacity:0;visibility:hidden;transform:scale(0)}}";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, g as getElement, h, H as Host } from './index-0da0d682.js';
|
|
2
2
|
|
|
3
3
|
const tetTvGiftBlockCss = "@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{display:block}.tv-gift{padding:3.5rem 1rem 2rem}.tv-gift--medium{padding:3.5rem 1.5rem 2.5rem}.tv-gift--large{padding:3.5rem}.tv-gift__header{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";display:flex;justify-content:center;flex-direction:column;text-align:center;padding-bottom:2rem;gap:1.5rem}.tv-gift--medium .tv-gift__header{font:600 2rem/2.25rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift--large .tv-gift__header{font:600 2.5rem/3rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";padding-bottom:2.5rem}.tv-gift__header__image{height:2.125rem;margin:0 auto}.tv-gift__content{--icon-size:1.25rem;--accordion-background-color:transparent}.tv-gift--large .tv-gift__content{--icon-size:1.5rem}.tv-gift__footer{font:400 0.875rem/1.25rem \"Inter\", \"Gilroy, Arial, sans-serif\";text-align:center;display:flex;flex-direction:column;margin-top:2rem}.tv-gift--large .tv-gift__footer{margin-top:2.5rem}.tv-gift__footer__title{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";line-height:1.75rem;margin-bottom:1rem}@media screen and (min-width: 31.25rem){.tv-gift__footer__title{font:600 1.75rem/2rem \"Gilroy\", \"Gilroy, Arial, sans-serif\";line-height:2rem}}.tv-gift__footer__text{line-height:1.25rem}";
|
|
4
4
|
const TetTvGiftBlockStyle0 = tetTvGiftBlockCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, g as getElement, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, g as getElement, h, H as Host } from './index-0da0d682.js';
|
|
2
2
|
|
|
3
3
|
const tetTvGiftListCss = "@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{display:block}.tv-gift-list{display:block}.tv-gift-list--image-list{display:grid;gap:2rem}.tv-gift-list--medium,.tv-gift-list--large{grid-template-columns:repeat(12, 1fr)}.tv-gift-list__list{list-style:none;padding:0;margin:1rem 0 0;display:flex;flex-direction:column;gap:0.5rem}.tv-gift-list__list__wrapper{display:flex;flex-direction:column;justify-content:center}.tv-gift-list--medium .tv-gift-list__list__wrapper{grid-column:span 6}.tv-gift-list--large .tv-gift-list__list__wrapper{grid-column:span 7}.tv-gift-list__list__header{font:600 1.25rem/1.5rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list--medium .tv-gift-list__list__header{font:600 1.5rem/1.75rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list--large .tv-gift-list__list__header{font:600 1.75rem/2rem \"Gilroy\", \"Gilroy, Arial, sans-serif\"}.tv-gift-list__list__item{font:400 1rem/1.5rem \"Inter\", \"Gilroy, Arial, sans-serif\";display:flex;gap:0.5rem;line-height:1.5rem}.tv-gift-list--large .tv-gift-list__list__item{font:400 1.125rem/1.75rem \"Inter\", \"Gilroy, Arial, sans-serif\";line-height:1.75rem}.tv-gift-list__list__item tet-icon{--icon-size:1.25rem;--icon-container-display:flex;padding-top:0.175rem}.tv-gift-list__image{width:100%;height:auto;border-radius:0.75rem}.tv-gift-list--medium .tv-gift-list__image__wrapper{grid-column:span 6}.tv-gift-list--large .tv-gift-list__image__wrapper{grid-column:span 5}";
|
|
4
4
|
const TetTvGiftListStyle0 = tetTvGiftListCss;
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
import { e as endpoints, A as ApiRequest } from './http-codes-43d8c151.js';
|
|
2
|
+
import { i as isObject } from './typecheck-4abf0258.js';
|
|
3
|
+
|
|
4
|
+
const isTranslationDictionary = (translations) => {
|
|
5
|
+
return (!!translations &&
|
|
6
|
+
typeof translations === 'object' &&
|
|
7
|
+
!Array.isArray(translations) &&
|
|
8
|
+
Object.keys(translations).length > 0 &&
|
|
9
|
+
Object.values(translations).every((translation) => typeof translation === 'string'));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Returns all the translations for the specified group and language.
|
|
14
|
+
*
|
|
15
|
+
* @param group
|
|
16
|
+
* @param language
|
|
17
|
+
* @param eTag
|
|
18
|
+
*/
|
|
19
|
+
const requestTranslations = async (group, language, eTag) => {
|
|
20
|
+
let url;
|
|
21
|
+
try {
|
|
22
|
+
url = new URL(`${language}/${group}`, endpoints.translations).href;
|
|
23
|
+
}
|
|
24
|
+
catch (error) {
|
|
25
|
+
console.error(error);
|
|
26
|
+
throw new Error('Translations endpoint URL generation failed.');
|
|
27
|
+
}
|
|
28
|
+
const request = new ApiRequest().setUrl(url).setOptions({
|
|
29
|
+
method: 'GET',
|
|
30
|
+
cache: 'no-cache',
|
|
31
|
+
headers: eTag ? { 'If-None-Match': eTag } : undefined
|
|
32
|
+
});
|
|
33
|
+
const response = await request.execute(true);
|
|
34
|
+
if (response.status === 304) {
|
|
35
|
+
return { notModified: true };
|
|
36
|
+
}
|
|
37
|
+
if (!response.ok) {
|
|
38
|
+
throw new Error(`Translations request failed with status ${response.status}.`);
|
|
39
|
+
}
|
|
40
|
+
const translations = (await response.json())?.data;
|
|
41
|
+
if (!isTranslationDictionary(translations)) {
|
|
42
|
+
throw new Error('Translations response contains an invalid dictionary.');
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
translations,
|
|
46
|
+
eTag: response.headers.get('ETag') ?? undefined,
|
|
47
|
+
notModified: false
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* -----------------------
|
|
53
|
+
* | !!! WARNING !!! |
|
|
54
|
+
* -----------------------
|
|
55
|
+
* This is meant as a temporary workaround until stencil/store issue is fixed:
|
|
56
|
+
* https://github.com/ionic-team/stencil/issues/4135
|
|
57
|
+
*
|
|
58
|
+
* When it is fixed, we should move back to the stencil/store implementation.
|
|
59
|
+
*/
|
|
60
|
+
const defaultLanguage = 'lv';
|
|
61
|
+
class TranslationManager {
|
|
62
|
+
static instance;
|
|
63
|
+
storageKey = 'translations';
|
|
64
|
+
eTagsStorageKey = 'translation-etags';
|
|
65
|
+
supportedLanguages = ['lv', 'ru', 'en'];
|
|
66
|
+
translations = {};
|
|
67
|
+
eTags = {};
|
|
68
|
+
mergedTranslations = {};
|
|
69
|
+
inFlightTranslations = new Map();
|
|
70
|
+
constructor() {
|
|
71
|
+
this.translations = this.getCachedTranslations();
|
|
72
|
+
this.eTags = this.getCachedEtags();
|
|
73
|
+
}
|
|
74
|
+
static getInstance() {
|
|
75
|
+
if (!TranslationManager.instance) {
|
|
76
|
+
TranslationManager.instance = new TranslationManager();
|
|
77
|
+
}
|
|
78
|
+
return TranslationManager.instance;
|
|
79
|
+
}
|
|
80
|
+
getTranslations() {
|
|
81
|
+
return this.mergedTranslations;
|
|
82
|
+
}
|
|
83
|
+
updateTranslations = async (group, language) => {
|
|
84
|
+
const requests = [this.loadTranslations(group, language)];
|
|
85
|
+
if (language !== defaultLanguage) {
|
|
86
|
+
requests.push(this.loadTranslations(group, defaultLanguage));
|
|
87
|
+
}
|
|
88
|
+
await Promise.allSettled(requests);
|
|
89
|
+
this.mergedTranslations = this.mergeTranslations(language);
|
|
90
|
+
};
|
|
91
|
+
loadTranslations = (group, language) => {
|
|
92
|
+
if (!group || !language) {
|
|
93
|
+
return Promise.reject(`Missing translation parameters - group (${group}), language (${language}).`);
|
|
94
|
+
}
|
|
95
|
+
if (!this.supportedLanguages.includes(language)) {
|
|
96
|
+
return Promise.reject(`Translations language "${language}" is not supported.`);
|
|
97
|
+
}
|
|
98
|
+
const key = `${group}:${language}`;
|
|
99
|
+
const existingRequest = this.inFlightTranslations.get(key);
|
|
100
|
+
if (existingRequest !== undefined) {
|
|
101
|
+
return existingRequest;
|
|
102
|
+
}
|
|
103
|
+
const request = requestTranslations(group, language, this.eTags[group]?.[language])
|
|
104
|
+
.then((response) => {
|
|
105
|
+
if (response.notModified) {
|
|
106
|
+
if (!this.translationsExist(group, language)) {
|
|
107
|
+
throw new Error(`Translations response was not modified without cached data for group (${group}) and language (${language}).`);
|
|
108
|
+
}
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
if (!isTranslationDictionary(response.translations)) {
|
|
112
|
+
throw new Error(`Invalid translations for group (${group}) and language (${language}).`);
|
|
113
|
+
}
|
|
114
|
+
if (!this.translations[group]) {
|
|
115
|
+
this.translations[group] = {};
|
|
116
|
+
}
|
|
117
|
+
this.translations[group][language] = response.translations;
|
|
118
|
+
this.setETag(group, language, response.eTag);
|
|
119
|
+
this.cacheTranslations();
|
|
120
|
+
})
|
|
121
|
+
.finally(() => this.inFlightTranslations.delete(key));
|
|
122
|
+
this.inFlightTranslations.set(key, request);
|
|
123
|
+
return request;
|
|
124
|
+
};
|
|
125
|
+
mergeTranslations = (language) => {
|
|
126
|
+
const fallbackTranslations = this.getMergedTranslations(defaultLanguage);
|
|
127
|
+
if (language === defaultLanguage) {
|
|
128
|
+
return fallbackTranslations;
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
...fallbackTranslations,
|
|
132
|
+
...this.getMergedTranslations(language)
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
getMergedTranslations = (language) => {
|
|
136
|
+
const mergedTranslations = {};
|
|
137
|
+
for (const group of Object.values(this.translations)) {
|
|
138
|
+
Object.assign(mergedTranslations, group[language] ?? {});
|
|
139
|
+
}
|
|
140
|
+
return mergedTranslations;
|
|
141
|
+
};
|
|
142
|
+
translationsExist = (group, language) => {
|
|
143
|
+
return isTranslationDictionary(this.translations[group]?.[language]);
|
|
144
|
+
};
|
|
145
|
+
getCachedTranslations = () => {
|
|
146
|
+
try {
|
|
147
|
+
const translations = JSON.parse(sessionStorage.getItem(this.storageKey) ?? 'null');
|
|
148
|
+
return this.isValidTranslationsCache(translations) ? translations : {};
|
|
149
|
+
}
|
|
150
|
+
catch {
|
|
151
|
+
return {};
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
getCachedEtags = () => {
|
|
155
|
+
try {
|
|
156
|
+
const eTags = JSON.parse(sessionStorage.getItem(this.eTagsStorageKey) ?? 'null');
|
|
157
|
+
return this.isValidETagsCache(eTags) ? eTags : {};
|
|
158
|
+
}
|
|
159
|
+
catch {
|
|
160
|
+
return {};
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
setETag = (group, language, eTag) => {
|
|
164
|
+
if (!this.eTags[group]) {
|
|
165
|
+
this.eTags[group] = {};
|
|
166
|
+
}
|
|
167
|
+
if (eTag === undefined) {
|
|
168
|
+
delete this.eTags[group][language];
|
|
169
|
+
return;
|
|
170
|
+
}
|
|
171
|
+
this.eTags[group][language] = eTag;
|
|
172
|
+
};
|
|
173
|
+
cacheTranslations = () => {
|
|
174
|
+
try {
|
|
175
|
+
sessionStorage.setItem(this.storageKey, JSON.stringify(this.translations));
|
|
176
|
+
}
|
|
177
|
+
catch {
|
|
178
|
+
// Continue with the in-memory cache when browser storage is unavailable.
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
try {
|
|
182
|
+
sessionStorage.setItem(this.eTagsStorageKey, JSON.stringify(this.eTags));
|
|
183
|
+
}
|
|
184
|
+
catch {
|
|
185
|
+
// Keep the translations cache; a later load will fetch a fresh ETag.
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
isValidTranslationsCache = (translations) => {
|
|
189
|
+
if (!translations || typeof translations !== 'object' || Array.isArray(translations)) {
|
|
190
|
+
return false;
|
|
191
|
+
}
|
|
192
|
+
return Object.values(translations).every((group) => {
|
|
193
|
+
if (!group || typeof group !== 'object' || Array.isArray(group)) {
|
|
194
|
+
return false;
|
|
195
|
+
}
|
|
196
|
+
return Object.values(group).every((dictionary) => isTranslationDictionary(dictionary));
|
|
197
|
+
});
|
|
198
|
+
};
|
|
199
|
+
isValidETagsCache = (eTags) => {
|
|
200
|
+
if (!eTags || typeof eTags !== 'object' || Array.isArray(eTags)) {
|
|
201
|
+
return false;
|
|
202
|
+
}
|
|
203
|
+
return Object.values(eTags).every((group) => {
|
|
204
|
+
return (!!group &&
|
|
205
|
+
typeof group === 'object' &&
|
|
206
|
+
!Array.isArray(group) &&
|
|
207
|
+
Object.values(group).every((eTag) => typeof eTag === 'string'));
|
|
208
|
+
});
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
const translations = TranslationManager.getInstance();
|
|
212
|
+
|
|
213
|
+
// import translations from './translations.store';
|
|
214
|
+
/**
|
|
215
|
+
* This function will load & update translations, if necessary.
|
|
216
|
+
*
|
|
217
|
+
* @param group
|
|
218
|
+
* @param language
|
|
219
|
+
*/
|
|
220
|
+
const processTranslations = async (group, language) => {
|
|
221
|
+
await translations.updateTranslations(group, language);
|
|
222
|
+
};
|
|
223
|
+
/**
|
|
224
|
+
* Translates the given string if possible.
|
|
225
|
+
*
|
|
226
|
+
* @param key
|
|
227
|
+
* @param variables
|
|
228
|
+
*/
|
|
229
|
+
const translate = (key, variables) => {
|
|
230
|
+
const mergedTranslations = translations.getTranslations();
|
|
231
|
+
let translation = mergedTranslations[key.trim()] ?? key;
|
|
232
|
+
if (isObject(variables)) {
|
|
233
|
+
translation = applyVariables(translation, variables);
|
|
234
|
+
}
|
|
235
|
+
return translation;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* Injects variables into the translation.
|
|
239
|
+
*
|
|
240
|
+
* @param translation
|
|
241
|
+
* @param variables
|
|
242
|
+
*/
|
|
243
|
+
const applyVariables = (translation, variables) => {
|
|
244
|
+
for (const [key, value] of Object.entries(variables)) {
|
|
245
|
+
translation = translation.replace(new RegExp(`{${key}}`, 'g'), value);
|
|
246
|
+
}
|
|
247
|
+
return translation;
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
export { processTranslations as p, translate as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,g as t,h as e,H as r}from"./p-83f43fdd.js";import{c as n,a as i}from"./p-165a8492.js";const a=class{constructor(t){o(this,t),this.stepperData=[],this.forcedColumn=!1,this.hideIcons=!1,this.theme="light",this.columnLayout=!1,this.layout="default"}get host(){return t(this)}componentDidLoad(){"default"===this.layout&&this.calculateContainerWidth()}renderRoundStepper(o){const t={stepIcon:!0,icon:!0,hide:void 0===o.stepIcon};return e("div",{class:{"round-stepper__item":!0,dark:"dark"===this.theme,"column-layout":this.columnLayout,"with-background-gradient":"withBackgroundGradient"===this.layout,[`color-theme-${o.colorTheme}`]:"withBackgroundGradient"===this.layout&&!!o.colorTheme,[`color-tone-${o.colorTone}`]:"withBackgroundGradient"===this.layout&&!!o.colorTone,[`gradient-${o.gradient}`]:"withBackgroundGradient"===this.layout&&!!o.gradient&&"off"!==o.gradient}},o.icon&&o.hideIconCircle?e("tet-icon",{class:"icon icon-without-circle",name:o.icon,theme:this.theme}):e("div",{class:"round-stepper__circle "+("dark"===this.theme?"dark":""),style:{backgroundColor:o.color}},o.icon?e("tet-icon",{class:"icon",name:o.icon}):e("span",null,o.number)),e("span",{class:"round-stepper__description "+("dark"===this.theme?"dark":""),innerHTML:o.description}),e("div",{class:"round-stepper__icon"},e("tet-icon",{class:t,name:o.stepIcon,theme:this.theme})))}calculateContainerWidth(){const o=this.host,t=o.shadowRoot.querySelector(".round-stepper"),e=o.shadowRoot.querySelectorAll(".round-stepper__description");this.forcedColumn?(t.classList.add("column"),t.style.gap="0.5rem",Array.from(e,(o=>{o.style.maxWidth=`${n(224/i())}px`}))):(t.classList.remove("column"),t.style.gap="1rem",Array.from(e,(o=>{o.style.maxWidth=`${n(192/i())}px`})))}onResize(){"default"===this.layout&&this.calculateContainerWidth()}render(){return e(r,{key:"68e6e9cf696b4ad9f2d239aef1318f416cfbc16f"},e("div",{key:"1c765fdedadf9e819f9daf42bb1d7a09b2a6d6e8",class:{"round-stepper":!0,"with-background-gradient":"withBackgroundGradient"===this.layout,column:this.forcedColumn,"one-to-three-items":"withBackgroundGradient"===this.layout&&this.stepperData.length<=3,"six-plus-items":"withBackgroundGradient"===this.layout&&this.stepperData.length>=6,"hide-icons":this.hideIcons}},this.stepperData.map((o=>this.renderRoundStepper(o)))))}};a.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}@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{--round-stepper-text-color:var(--tc-text-primary);--round-stepper-background-color:var(--tc-layer-tertiary);--step-icon-size:1.5rem;--step-circle-size:2.5rem;--description-hide-icons-font-size:0.875rem;--description-hide-icons-line-height:1.25rem;--round-stepper-align-items:center}:host .dark{--round-stepper-text-color:var(--tc-text-primary-dark);--round-stepper-background-color:var(--tc-layer-tertiary-dark)}.round-stepper{display:flex}.round-stepper.with-background-gradient{gap:1.5rem;width:100%;flex-direction:column}@media all and (min-width: 48rem){.round-stepper.with-background-gradient{flex-direction:row}}@media all and (min-width: 48rem){.round-stepper.with-background-gradient.one-to-three-items .round-stepper__item.with-background-gradient{padding:1.5rem}}@media all and (min-width: 120rem){.round-stepper.with-background-gradient.one-to-three-items .round-stepper__item.with-background-gradient{padding:2.5rem}.round-stepper.with-background-gradient.one-to-three-items .round-stepper__item.with-background-gradient .round-stepper__circle{--step-circle-size:3rem}}.round-stepper.with-background-gradient.one-to-three-items .round-stepper__description{font:600 1.5rem/1.75rem Gilroy, Gilroy, Arial, sans-serif;line-height:1.75rem}@media all and (min-width: 80rem){.round-stepper.with-background-gradient.one-to-three-items .round-stepper__description{font:600 1.75rem/2rem Gilroy, Gilroy, Arial, sans-serif;line-height:2rem}}@media all and (min-width: 120rem){.round-stepper.with-background-gradient.one-to-three-items .round-stepper__description{font:600 2rem/2.25rem Gilroy, Gilroy, Arial, sans-serif;line-height:2.25rem;margin-top:1.5rem}}.round-stepper.with-background-gradient .round-stepper__description{font:600 1.25rem/1.5rem Gilroy, Gilroy, Arial, sans-serif;line-height:1.5rem}@media all and (min-width: 48rem) and (max-width: 80rem){.round-stepper.with-background-gradient.six-plus-items{display:grid;grid-template-columns:repeat(3, 1fr);gap:1.5rem}.round-stepper.with-background-gradient.six-plus-items .round-stepper__item{max-width:none}}.round-stepper.hide-icons .round-stepper__icon .icon{display:none}.round-stepper.column{flex-direction:column}.round-stepper__item{display:flex;align-items:var(--round-stepper-align-items);padding:0.5rem 0 0.5rem 0}.round-stepper__item.column-layout{flex-direction:column;align-items:start;width:100%}.round-stepper__item.column-layout .round-stepper__description{margin-left:0;margin-top:1rem}.round-stepper__item.with-background-gradient{--round-stepper-item-background-color:transparent;--round-stepper-item-background-color-dark:var(--round-stepper-item-background-color);--round-stepper-item-circle-background-color:var(--tc-icon-black-to-yellow);--round-stepper-item-circle-text-color:var(--tc-text-inverse-primary);--round-stepper-item-circle-background-color-dark:var(--tc-icon-black-to-yellow-dark);--round-stepper-item-circle-text-color-dark:var(--tc-text-inverse-primary-dark);max-width:45rem;border-radius:1rem;padding:1.5rem 1rem;background-color:var(--round-stepper-item-background-color)}@media all and (min-width: 48rem){.round-stepper__item.with-background-gradient{max-width:36rem}}@media all and (min-width: 64rem){.round-stepper__item.with-background-gradient{padding:1.5rem}}.round-stepper__item.with-background-gradient.dark{--round-stepper-item-circle-background-color:var(--round-stepper-item-circle-background-color-dark);--round-stepper-item-circle-text-color:var(--round-stepper-item-circle-text-color-dark);background-color:var(--round-stepper-item-background-color-dark)}.round-stepper__item.with-background-gradient .round-stepper__circle{background-color:var(--round-stepper-item-circle-background-color) !important;color:var(--round-stepper-item-circle-text-color) !important}.round-stepper__item.with-background-gradient .round-stepper__circle tet-icon.icon{--icon-color:var(--round-stepper-item-circle-text-color) !important}.round-stepper__item.with-background-gradient.color-theme-yellow.color-tone-very-dark{--round-stepper-item-background-color:var(--tc-gradient-grey-accent);--round-stepper-item-background-color-dark:var(--tc-brown-80-dark)}.round-stepper__item.with-background-gradient.color-theme-yellow.color-tone-dark{--round-stepper-item-background-color:var(--tc-yellow-30);--round-stepper-item-background-color-dark:var(--tc-brown-70-dark)}.round-stepper__item.with-background-gradient.color-theme-yellow.color-tone-light{--round-stepper-item-background-color:var(--tc-yellow-20);--round-stepper-item-background-color-dark:var(--tc-brown-60-dark)}.round-stepper__item.with-background-gradient.color-theme-yellow.color-tone-very-light{--round-stepper-item-background-color:var(--tc-yellow-10);--round-stepper-item-background-color-dark:var(--tc-brown-50-dark)}.round-stepper__item.with-background-gradient.color-theme-gray.color-tone-very-dark{--round-stepper-item-background-color:var(--tc-grey-50);--round-stepper-item-background-color-dark:var(--tc-brown-80-dark)}.round-stepper__item.with-background-gradient.color-theme-gray.color-tone-dark{--round-stepper-item-background-color:var(--tc-grey-40);--round-stepper-item-background-color-dark:var(--tc-brown-70-dark)}.round-stepper__item.with-background-gradient.color-theme-gray.color-tone-light{--round-stepper-item-background-color:var(--tc-grey-30);--round-stepper-item-background-color-dark:var(--tc-brown-60-dark)}.round-stepper__item.with-background-gradient.color-theme-gray.color-tone-very-light{--round-stepper-item-background-color:var(--tc-grey-20);--round-stepper-item-background-color-dark:var(--tc-brown-50-dark)}.round-stepper__item.with-background-gradient.gradient-dark-light{background-image:linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(255, 255, 255, 0.12))}.round-stepper__item.with-background-gradient.gradient-light-dark{background-image:linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.12))}.round-stepper__circle{display:flex;align-items:center;justify-content:center;min-width:var(--step-circle-size);height:var(--step-circle-size);border-radius:var(--step-circle-size);font-weight:500;font-size:1.25rem;background-color:var(--round-stepper-background-color);color:var(--round-stepper-text-color)}.round-stepper__circle tet-icon.icon{--icon-color:var(--round-stepper-text-color) !important}.round-stepper__circle.dark{background-color:var(--round-stepper-background-color) !important}.round-stepper__circle.dark tet-icon.icon{--icon-color:var(--round-stepper-text-color) !important}.round-stepper__description,.round-stepper__icon{margin-left:1rem;font-weight:500}.round-stepper__description{font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;line-height:1.5rem;color:var(--round-stepper-text-color)}.hide-icons .round-stepper__description{font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;font-size:var(--description-hide-icons-font-size);line-height:var(--description-hide-icons-line-height)}.column .round-stepper__description{font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;line-height:1.5rem}.round-stepper__icon .icon.hide{display:none}tet-icon.icon{--icon-size:var(--step-icon-size)}tet-icon.icon.icon-without-circle{--icon-size:2.5rem}@media all and (min-width: 120rem){tet-icon.icon.icon-without-circle{--icon-size:3rem}}';export{a as tet_round_stepper}
|
|
1
|
+
import{r as o,g as t,h as e,H as r}from"./p-7c868b40.js";import{c as n,a as i}from"./p-165a8492.js";const a=class{constructor(t){o(this,t),this.stepperData=[],this.forcedColumn=!1,this.hideIcons=!1,this.theme="light",this.columnLayout=!1,this.layout="default"}get host(){return t(this)}componentDidLoad(){"default"===this.layout&&this.calculateContainerWidth()}renderRoundStepper(o){const t={stepIcon:!0,icon:!0,hide:void 0===o.stepIcon};return e("div",{class:{"round-stepper__item":!0,dark:"dark"===this.theme,"column-layout":this.columnLayout,"with-background-gradient":"withBackgroundGradient"===this.layout,[`color-theme-${o.colorTheme}`]:"withBackgroundGradient"===this.layout&&!!o.colorTheme,[`color-tone-${o.colorTone}`]:"withBackgroundGradient"===this.layout&&!!o.colorTone,[`gradient-${o.gradient}`]:"withBackgroundGradient"===this.layout&&!!o.gradient&&"off"!==o.gradient}},o.icon&&o.hideIconCircle?e("tet-icon",{class:"icon icon-without-circle",name:o.icon,theme:this.theme}):e("div",{class:"round-stepper__circle "+("dark"===this.theme?"dark":""),style:{backgroundColor:o.color}},o.icon?e("tet-icon",{class:"icon",name:o.icon}):e("span",null,o.number)),e("span",{class:"round-stepper__description "+("dark"===this.theme?"dark":""),innerHTML:o.description}),e("div",{class:"round-stepper__icon"},e("tet-icon",{class:t,name:o.stepIcon,theme:this.theme})))}calculateContainerWidth(){const o=this.host,t=o.shadowRoot.querySelector(".round-stepper"),e=o.shadowRoot.querySelectorAll(".round-stepper__description");this.forcedColumn?(t.classList.add("column"),t.style.gap="0.5rem",Array.from(e,(o=>{o.style.maxWidth=`${n(224/i())}px`}))):(t.classList.remove("column"),t.style.gap="1rem",Array.from(e,(o=>{o.style.maxWidth=`${n(192/i())}px`})))}onResize(){"default"===this.layout&&this.calculateContainerWidth()}render(){return e(r,{key:"68e6e9cf696b4ad9f2d239aef1318f416cfbc16f"},e("div",{key:"1c765fdedadf9e819f9daf42bb1d7a09b2a6d6e8",class:{"round-stepper":!0,"with-background-gradient":"withBackgroundGradient"===this.layout,column:this.forcedColumn,"one-to-three-items":"withBackgroundGradient"===this.layout&&this.stepperData.length<=3,"six-plus-items":"withBackgroundGradient"===this.layout&&this.stepperData.length>=6,"hide-icons":this.hideIcons}},this.stepperData.map((o=>this.renderRoundStepper(o)))))}};a.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}@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{--round-stepper-text-color:var(--tc-text-primary);--round-stepper-background-color:var(--tc-layer-tertiary);--step-icon-size:1.5rem;--step-circle-size:2.5rem;--description-hide-icons-font-size:0.875rem;--description-hide-icons-line-height:1.25rem;--round-stepper-align-items:center}:host .dark{--round-stepper-text-color:var(--tc-text-primary-dark);--round-stepper-background-color:var(--tc-layer-tertiary-dark)}.round-stepper{display:flex}.round-stepper.with-background-gradient{gap:1.5rem;width:100%;flex-direction:column}@media all and (min-width: 48rem){.round-stepper.with-background-gradient{flex-direction:row}}@media all and (min-width: 48rem){.round-stepper.with-background-gradient.one-to-three-items .round-stepper__item.with-background-gradient{padding:1.5rem}}@media all and (min-width: 120rem){.round-stepper.with-background-gradient.one-to-three-items .round-stepper__item.with-background-gradient{padding:2.5rem}.round-stepper.with-background-gradient.one-to-three-items .round-stepper__item.with-background-gradient .round-stepper__circle{--step-circle-size:3rem}}.round-stepper.with-background-gradient.one-to-three-items .round-stepper__description{font:600 1.5rem/1.75rem Gilroy, Gilroy, Arial, sans-serif;line-height:1.75rem}@media all and (min-width: 80rem){.round-stepper.with-background-gradient.one-to-three-items .round-stepper__description{font:600 1.75rem/2rem Gilroy, Gilroy, Arial, sans-serif;line-height:2rem}}@media all and (min-width: 120rem){.round-stepper.with-background-gradient.one-to-three-items .round-stepper__description{font:600 2rem/2.25rem Gilroy, Gilroy, Arial, sans-serif;line-height:2.25rem;margin-top:1.5rem}}.round-stepper.with-background-gradient .round-stepper__description{font:600 1.25rem/1.5rem Gilroy, Gilroy, Arial, sans-serif;line-height:1.5rem}@media all and (min-width: 48rem) and (max-width: 80rem){.round-stepper.with-background-gradient.six-plus-items{display:grid;grid-template-columns:repeat(3, 1fr);gap:1.5rem}.round-stepper.with-background-gradient.six-plus-items .round-stepper__item{max-width:none}}.round-stepper.hide-icons .round-stepper__icon .icon{display:none}.round-stepper.column{flex-direction:column}.round-stepper__item{display:flex;align-items:var(--round-stepper-align-items);padding:0.5rem 0 0.5rem 0}.round-stepper__item.column-layout{flex-direction:column;align-items:start;width:100%}.round-stepper__item.column-layout .round-stepper__description{margin-left:0;margin-top:1rem}.round-stepper__item.with-background-gradient{--round-stepper-item-background-color:transparent;--round-stepper-item-background-color-dark:var(--round-stepper-item-background-color);--round-stepper-item-circle-background-color:var(--tc-icon-black-to-yellow);--round-stepper-item-circle-text-color:var(--tc-text-inverse-primary);--round-stepper-item-circle-background-color-dark:var(--tc-icon-black-to-yellow-dark);--round-stepper-item-circle-text-color-dark:var(--tc-text-inverse-primary-dark);max-width:45rem;border-radius:1rem;padding:1.5rem 1rem;background-color:var(--round-stepper-item-background-color)}@media all and (min-width: 48rem){.round-stepper__item.with-background-gradient{max-width:36rem}}@media all and (min-width: 64rem){.round-stepper__item.with-background-gradient{padding:1.5rem}}.round-stepper__item.with-background-gradient.dark{--round-stepper-item-circle-background-color:var(--round-stepper-item-circle-background-color-dark);--round-stepper-item-circle-text-color:var(--round-stepper-item-circle-text-color-dark);background-color:var(--round-stepper-item-background-color-dark)}.round-stepper__item.with-background-gradient .round-stepper__circle{background-color:var(--round-stepper-item-circle-background-color) !important;color:var(--round-stepper-item-circle-text-color) !important}.round-stepper__item.with-background-gradient .round-stepper__circle tet-icon.icon{--icon-color:var(--round-stepper-item-circle-text-color) !important}.round-stepper__item.with-background-gradient.color-theme-yellow.color-tone-very-dark{--round-stepper-item-background-color:var(--tc-gradient-grey-accent);--round-stepper-item-background-color-dark:var(--tc-brown-80-dark)}.round-stepper__item.with-background-gradient.color-theme-yellow.color-tone-dark{--round-stepper-item-background-color:var(--tc-yellow-30);--round-stepper-item-background-color-dark:var(--tc-brown-70-dark)}.round-stepper__item.with-background-gradient.color-theme-yellow.color-tone-light{--round-stepper-item-background-color:var(--tc-yellow-20);--round-stepper-item-background-color-dark:var(--tc-brown-60-dark)}.round-stepper__item.with-background-gradient.color-theme-yellow.color-tone-very-light{--round-stepper-item-background-color:var(--tc-yellow-10);--round-stepper-item-background-color-dark:var(--tc-brown-50-dark)}.round-stepper__item.with-background-gradient.color-theme-gray.color-tone-very-dark{--round-stepper-item-background-color:var(--tc-grey-50);--round-stepper-item-background-color-dark:var(--tc-brown-80-dark)}.round-stepper__item.with-background-gradient.color-theme-gray.color-tone-dark{--round-stepper-item-background-color:var(--tc-grey-40);--round-stepper-item-background-color-dark:var(--tc-brown-70-dark)}.round-stepper__item.with-background-gradient.color-theme-gray.color-tone-light{--round-stepper-item-background-color:var(--tc-grey-30);--round-stepper-item-background-color-dark:var(--tc-brown-60-dark)}.round-stepper__item.with-background-gradient.color-theme-gray.color-tone-very-light{--round-stepper-item-background-color:var(--tc-grey-20);--round-stepper-item-background-color-dark:var(--tc-brown-50-dark)}.round-stepper__item.with-background-gradient.gradient-dark-light{background-image:linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(255, 255, 255, 0.12))}.round-stepper__item.with-background-gradient.gradient-light-dark{background-image:linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.12))}.round-stepper__circle{display:flex;align-items:center;justify-content:center;min-width:var(--step-circle-size);height:var(--step-circle-size);border-radius:var(--step-circle-size);font-weight:500;font-size:1.25rem;background-color:var(--round-stepper-background-color);color:var(--round-stepper-text-color)}.round-stepper__circle tet-icon.icon{--icon-color:var(--round-stepper-text-color) !important}.round-stepper__circle.dark{background-color:var(--round-stepper-background-color) !important}.round-stepper__circle.dark tet-icon.icon{--icon-color:var(--round-stepper-text-color) !important}.round-stepper__description,.round-stepper__icon{margin-left:1rem;font-weight:500}.round-stepper__description{font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;line-height:1.5rem;color:var(--round-stepper-text-color)}.hide-icons .round-stepper__description{font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;font-size:var(--description-hide-icons-font-size);line-height:var(--description-hide-icons-line-height)}.column .round-stepper__description{font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;line-height:1.5rem}.round-stepper__icon .icon.hide{display:none}tet-icon.icon{--icon-size:var(--step-icon-size)}tet-icon.icon.icon-without-circle{--icon-size:2.5rem}@media all and (min-width: 120rem){tet-icon.icon.icon-without-circle{--icon-size:3rem}}';export{a as tet_round_stepper}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,g as e,h as n}from"./p-
|
|
1
|
+
import{r,g as e,h as n}from"./p-7c868b40.js";const i=class{constructor(e){r(this,e),this.theme="classic",this.size="small",this.type="indeterminate",this.previousProgress=0}get element(){return e(this)}spinner=null;onTypeChange(r){"determinate"!==r&&this.spinner.classList.remove(`spinner--${this.previousProgress}-progress`)}async setProgress(r){let e=r;e||(e=0),e>100&&(e=100),this.element.style.setProperty("--spinner-progress",e.toString())}componentDidLoad(){this.setForeignObjectAttributes()}setForeignObjectAttributes=()=>{const r=this.spinner.querySelector("foreignObject");null!=r&&(r.setAttribute("x","0"),r.setAttribute("y","0"),r.setAttribute("width","40px"),r.setAttribute("height","40px"),r.setAttribute("clip-path","url(#clip)"))};render(){return n("div",{key:"2388419cdbd8cd65d0ffc46f4f0834cd0fa40bac",ref:r=>this.spinner=r,class:{spinner:!0,[`${this.theme}-theme`]:!0,[`size--${this.size}`]:!0,[`spinner--${this.type}`]:!0}},n("svg",{key:"d7a257980d163c9b0047c8a288b070d750afcab9",viewBox:"0 0 40 40"},n("clipPath",{key:"9a5a4b037895cf021836de3d855c0825b194b102",id:"clip"},n("path",{key:"ee1fba8671ce5c3957bc02dfa3b7bcc122d326d8",d:"M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457\n 0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z"})),n("foreignObject",{key:"a22f330096f5d6b5772eebac26f5f2408ba0b9af"},n("div",{key:"8c009629e448cf2cdbdb8a834369a533c5579f86",class:"spinner__gradient"}))))}static get watchers(){return{type:["onTypeChange"]}}};i.style=':host{display:flex;--spinner-primary-color:var(--tc-blue-40);--spinner-secondary-color:transparent;--spinner-size:1.5rem;--spinner-indicator-size:0.23rem;--spinner-progress:0}.dark-theme{--spinner-primary-color:var(--tc-spinner-gradient-value-1-dark);--spinner-secondary-color:var(--tc-spinner-gradient-value-2-dark)}.light-theme{--spinner-primary-color:var(--tc-spinner-gradient-value-1);--spinner-secondary-color:var(--tc-spinner-gradient-value-2)}.size--medium{--spinner-size:2rem;--spinner-indicator-size:0.3rem}.size--large{--spinner-size:2.5rem;--spinner-indicator-size:0.375rem}@keyframes indeterminate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.spinner{position:relative;width:var(--spinner-size);height:var(--spinner-size)}.spinner::before{display:block;content:"";right:0;top:43%;width:var(--spinner-indicator-size);aspect-ratio:1;position:absolute;background-color:var(--spinner-primary-color);border-radius:50%}.spinner__gradient{width:2.5rem;height:2.5rem;border-radius:50%;background:conic-gradient(from 90deg, var(--spinner-secondary-color) 0%, var(--spinner-primary-color) 76%, var(--spinner-primary-color) 100%) border-box}.spinner--indeterminate{animation:indeterminate 1.5s infinite steps(100)}.spinner--determinate{transform:rotate(calc(var(--spinner-progress) * 2.7deg))}.spinner--determinate .spinner__gradient{background:conic-gradient(from 90deg, var(--spinner-secondary-color) 0%, var(--spinner-primary-color) calc(76% - var(--spinner-progress) * 0.76%), var(--spinner-primary-color) 100%) border-box}';export{i as tet_spinner}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,H as n}from"./p-
|
|
1
|
+
import{r as o,h as t,H as n}from"./p-7c868b40.js";const e=class{constructor(t){o(this,t),this.contactBlocks=[]}renderValueBlock(o){return t("div",{class:"contact-info-card-block"},t("span",{class:"contact-info-card-block-label",innerHTML:o.label}),t("span",{class:"contact-info-card-block-value",innerHTML:o.value}))}render(){return t(n,{key:"46f42d855df5d87d3e7cad1c5704928f8a7feae9"},t("div",{key:"a3b5ed5b8c88cac15ce41a0c512a6dab7cf3df2e",class:"contact-info"},t("div",{key:"55dbc96868c459f08472b4ca004863447838630e",class:"contact-info-card"},this.contactBlocks.map(this.renderValueBlock.bind(this)))))}};e.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--contact-info-padding:1.5rem 1rem;--contact-info-label-bottom-margin:0;--contact-info-individual-block-margin:0 0.5rem;--contact-info-individual-block-width-offset:1rem;--contact-info-label-color:rgb(67, 75, 86);--contact-info-value-color:rgb(10, 11, 13);--contact-info-box-shadow:0 0 0.0625rem rgba(10, 11, 13, .08), 0 0.1875rem 0.25rem rgba(10, 11, 13, .12);--contact-info-border-radius:1rem;--contact-info-row-gap:1.1875rem;--contact-info-max-width:39.5rem;display:block;width:100%;max-width:var(--contact-info-max-width)}.contact-info{display:flex;flex-direction:column}.contact-info-card{display:flex;flex-direction:column;padding:var(--contact-info-padding);row-gap:var(--contact-info-row-gap);box-shadow:var(--contact-info-box-shadow);border-radius:var(--contact-info-border-radius)}@media only screen and (min-width: 34rem){.contact-info-card{flex-direction:row;flex-wrap:wrap}}.contact-info-card-block{flex:0 1 calc(50% - var(--contact-info-individual-block-width-offset));margin:var(--contact-info-individual-block-margin);display:flex;flex-direction:column}.contact-info-card-block-label{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";color:var(--contact-info-label-color);letter-spacing:-0.005625rem;margin-bottom:var(--contact-info-label-bottom-margin)}.contact-info-card-block-value{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";color:var(--contact-info-value-color);letter-spacing:-0.01125rem}';export{e as tet_contact_info}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t,f as e,h as n}from"./p-83f43fdd.js";import{e as i,A as r}from"./p-3e60d61c.js";import{s}from"./p-5810a3a6.js";import{p as a,t as f}from"./p-2358a695.js";import"./p-9a2b6ee2.js";const l=class{constructor(e){o(this,e),this.businessLineSelected=t(this,"businessLineSelected",7),this.language="lv",this.addressKey=void 0,this.showHeadings=!0,this.address=void 0,this.businessLines=void 0}onLanguageChange(o){a("tet-components",o).then((()=>e(this)))}businessLineSelected;async onAddressKeyChange(){s(String(this.addressKey)).then((o=>this.address=o))}async componentWillLoad(){await a("tet-components",this.language),(()=>{let o;try{o=new URL(i.businessLines).href}catch(o){return console.error(o),Promise.reject("Business line endpoint URL generation failed.")}return(new r).setUrl(o).setOptions({method:"GET"}).setErrorFallbackValue([]).execute()})().then((o=>this.businessLines=o)),s(String(this.addressKey)).then((o=>this.address=o))}translate=o=>o?.[this.language]??"";renderHeadings=()=>n("div",{class:"headings"},n("h2",{class:"title"},f("components-business-lines-title")),n("p",{class:"full-address"},this.address?.fullAddress));handleBusinessLineSelection=({url:o})=>{this.translate(o)&&window.open(this.translate(o))};renderBusinessLineItem=o=>n("div",{class:"business-line-item",onClick:()=>this.handleBusinessLineSelection(o)},n("div",{class:"name-container"},n("tet-icon",{name:o.iconName}),this.translate(o.name)),n("tet-icon",{class:"chevron-icon",name:"tc-chevron-right"}));render(){return n("div",{key:"9be515946da62126afa0762e26b15d3279a7bafc",class:"container"},this.showHeadings&&this.renderHeadings(),n("div",{key:"1a7100bffdaea79033a85b6469eb73a72cbceb62",class:"business-line-wrapper"},this.businessLines?.map(this.renderBusinessLineItem)))}static get watchers(){return{language:["onLanguageChange"],addressKey:["onAddressKeyChange"]}}};l.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:block;width:100%;font-family:var(--font-family-content);-webkit-tap-highlight-color:transparent}.container{display:flex;flex-direction:column}.container .headings{display:flex;flex-direction:column;row-gap:0.5rem;margin-bottom:1.5rem}.container .headings .title{font:600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif"}.container .headings .full-address{font:400 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}@media only screen and (max-width: 64rem){.container .headings .title{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}.container .headings .full-address{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}}.container .business-line-wrapper{display:flex;box-shadow:0 0 0.0625rem rgba(10, 11, 13, 0.08), 0 0.0625rem 0.1875rem rgba(10, 11, 13, 0.12);border-radius:1rem;flex-direction:column}.container .business-line-item{display:flex;justify-content:space-between;cursor:pointer;align-items:center;padding:0.75rem 1.25rem;background:rgb(255, 255, 255);font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.container .business-line-item .chevron-icon{--icon-color:rgb(153, 160, 174)}.container .business-line-item .name-container{display:flex;align-items:center;gap:0.75rem;margin-right:0.5rem}.container .business-line-item:first-child{border-radius:1rem 1rem 0 0}.container .business-line-item:last-child{border-radius:0 0 1rem 1rem}.container .business-line-item:not(:last-child){border-bottom:0.03125rem solid rgb(215, 219, 224)}@media only screen and (max-width: 64rem){.container .business-line-item{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";padding:0.75rem}.container .business-line-item .chevron-icon{--icon-size:1.25rem}.container .business-line-item .name-container{gap:0.5rem}}';export{l as tet_business_lines}
|
|
1
|
+
import{r as o,c as t,f as e,h as n}from"./p-7c868b40.js";import{e as i,A as r}from"./p-59c5d02d.js";import{s}from"./p-355b139a.js";import{p as a,t as f}from"./p-87f6cf31.js";import"./p-9a2b6ee2.js";const l=class{constructor(e){o(this,e),this.businessLineSelected=t(this,"businessLineSelected",7),this.language="lv",this.addressKey=void 0,this.showHeadings=!0,this.address=void 0,this.businessLines=void 0}onLanguageChange(o){a("tet-components",o).then((()=>e(this)))}businessLineSelected;async onAddressKeyChange(){s(String(this.addressKey)).then((o=>this.address=o))}async componentWillLoad(){await a("tet-components",this.language),(()=>{let o;try{o=new URL(i.businessLines).href}catch(o){return console.error(o),Promise.reject("Business line endpoint URL generation failed.")}return(new r).setUrl(o).setOptions({method:"GET"}).setErrorFallbackValue([]).execute()})().then((o=>this.businessLines=o)),s(String(this.addressKey)).then((o=>this.address=o))}translate=o=>o?.[this.language]??"";renderHeadings=()=>n("div",{class:"headings"},n("h2",{class:"title"},f("components-business-lines-title")),n("p",{class:"full-address"},this.address?.fullAddress));handleBusinessLineSelection=({url:o})=>{this.translate(o)&&window.open(this.translate(o))};renderBusinessLineItem=o=>n("div",{class:"business-line-item",onClick:()=>this.handleBusinessLineSelection(o)},n("div",{class:"name-container"},n("tet-icon",{name:o.iconName}),this.translate(o.name)),n("tet-icon",{class:"chevron-icon",name:"tc-chevron-right"}));render(){return n("div",{key:"9be515946da62126afa0762e26b15d3279a7bafc",class:"container"},this.showHeadings&&this.renderHeadings(),n("div",{key:"1a7100bffdaea79033a85b6469eb73a72cbceb62",class:"business-line-wrapper"},this.businessLines?.map(this.renderBusinessLineItem)))}static get watchers(){return{language:["onLanguageChange"],addressKey:["onAddressKeyChange"]}}};l.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:block;width:100%;font-family:var(--font-family-content);-webkit-tap-highlight-color:transparent}.container{display:flex;flex-direction:column}.container .headings{display:flex;flex-direction:column;row-gap:0.5rem;margin-bottom:1.5rem}.container .headings .title{font:600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif"}.container .headings .full-address{font:400 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}@media only screen and (max-width: 64rem){.container .headings .title{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}.container .headings .full-address{font:400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}}.container .business-line-wrapper{display:flex;box-shadow:0 0 0.0625rem rgba(10, 11, 13, 0.08), 0 0.0625rem 0.1875rem rgba(10, 11, 13, 0.12);border-radius:1rem;flex-direction:column}.container .business-line-item{display:flex;justify-content:space-between;cursor:pointer;align-items:center;padding:0.75rem 1.25rem;background:rgb(255, 255, 255);font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif"}.container .business-line-item .chevron-icon{--icon-color:rgb(153, 160, 174)}.container .business-line-item .name-container{display:flex;align-items:center;gap:0.75rem;margin-right:0.5rem}.container .business-line-item:first-child{border-radius:1rem 1rem 0 0}.container .business-line-item:last-child{border-radius:0 0 1rem 1rem}.container .business-line-item:not(:last-child){border-bottom:0.03125rem solid rgb(215, 219, 224)}@media only screen and (max-width: 64rem){.container .business-line-item{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";padding:0.75rem}.container .business-line-item .chevron-icon{--icon-size:1.25rem}.container .business-line-item .name-container{gap:0.5rem}}';export{l as tet_business_lines}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,g as t,h as e,H as r}from"./p-
|
|
1
|
+
import{r as a,g as t,h as e,H as r}from"./p-7c868b40.js";import{f as i}from"./p-25c9957d.js";import"./p-59c5d02d.js";import{p as c}from"./p-7e108608.js";import{C as s}from"./p-c9cdf98c.js";import"./p-6e631dc7.js";const d=class{constructor(t){a(this,t),this.data=void 0,this.forceColumn=!1,this.layout="default",this.theme="light",this.darkMode=!1,this.isNetflixCard=!1,this.darkHeader=!1,this.withProductFilters=!1,this.productDataLoaded=!1,this.showLoader=!0,this.productSACData=void 0,this.filteredProductCodes=[]}get element(){return t(this)}compareCardsFiltersHelper;async componentWillLoad(){const a=this.addProductCodes(this.data,[]);a.length>0?await this.getProductData(a.join(",")):this.productDataLoaded=!0}onDataChange(){!1===this.showLoader&&setTimeout((()=>{this.element.shadowRoot.querySelectorAll("tet-tab-content").forEach((a=>{a.parentContainer=this.element.shadowRoot}))}),5)}async hideLoader(){this.showLoader=!1}addProductCodes(a,t){return void 0!==a?.compareCards?a.compareCards.forEach((a=>{void 0===a.productCode||t.includes(a.productCode)||t.push(a.productCode)})):void 0!==a?.tabs&&a.tabs.forEach((a=>{void 0!==a.compareCards?t=this.addProductCodes(a,t):void 0!==a.tabList&&(t=this.addProductCodes(a.tabList,t))})),t}getProductData(a){this.productDataLoaded=!1,c(a).then((a=>{this.productSACData=a,this.productDataLoaded=!0,this.initCompareCardFilters(),this.element.shadowRoot.querySelectorAll("tet-tab-content").forEach((a=>{a.parentContainer=this.element.shadowRoot}))}))}initCompareCardFilters(){this.compareCardsFiltersHelper=new s(((a,t,e)=>{this.filteredProductCodes=e})),this.compareCardsFiltersHelper.initialize(this.productSACData)}handleFilteredProductsChanged=a=>{this.filteredProductCodes=a.detail.filteredProductIds};renderLoader=()=>e("div",{class:{"tet-compare-cards-tab__placeholder":!0,visible:this.showLoader}},[...Array(3)].map((()=>e("tet-placeholder",{class:"tet-placeholder",height:"27rem",width:"21.5rem",darkTheme:this.darkMode}))));renderTabHeader(a,t){if((1!==a.tabs.length||""!==a.tabs[0].title)&&void 0!==a?.tabs&&void 0!==a?.tabHeader)return a.tabs.map((t=>{""!==t?.title&&void 0!==t?.title&&1===a.tabs.length&&(t.disabled=!0)})),e("div",{class:"tet-compare-cards-tab__header-container"},e("tet-tab-header",{theme:this.darkHeader||this.darkMode?"dark":"light",position:a.tabHeader.position,"default-tab":`tab-${t}-${a.tabHeader.defaultTabIndex}`,segmented:a.tabHeader.segmented,sizing:a.tabHeader.sizing,"data-name":a.tabHeader.dataName,class:"tet-compare-cards-tab__header"},a.tabs.map(((a,r)=>e("button",{"data-name":`tab-${t}-${r}`,class:{disabled:a.disabled||this.showLoader,button:!0}},a.image&&!a.imagePositionRight?e("img",{class:"tet-compare-cards-tab__header--image",src:a.image,alt:a.altText,loading:"lazy"}):"",a.title,a.image&&a.imagePositionRight?e("img",{class:{"tet-compare-cards-tab__header--image":!0,right:!0},src:a.image,alt:a.altText,loading:"lazy"}):"")))))}renderContent(a,t){return void 0!==a.compareCards?e("div",null,this.renderCompareCards(a.compareCards,a.vatText,a.cardScript)):e("tet-tab-content",{"data-name":a.tabHeader.dataName,"default-tab":`tab-${t}-${a.tabHeader.defaultTabIndex}`,"use-visibility":!a.disableCardHeightSegmentAlignment},a.tabs.map(((a,r)=>e("div",{"data-name":`tab-${t}-${r}`},void 0!==a.tabList?this.renderTabHeader(a.tabList,t+1):"",void 0!==a.tabList?this.renderContent(a.tabList,t+1):"",void 0!==a.compareCards?this.renderCompareCards(a.compareCards,a.vatText,a.cardScript):""))))}renderProductFilters=()=>e("tet-address-offers-filters-products",{productCodes:this.productSACData,class:"center tet-compare-cards-tab__filters",clearFilterButton:!0,onFilteredProductsChanged:this.handleFilteredProductsChanged,theme:this.darkMode?"dark":"light"});renderCompareCards(a,t="",r=""){let c=a;this.filteredProductCodes&&this.filteredProductCodes.length>0&&(c=a.filter((a=>!a.productCode||this.filteredProductCodes.includes(a.productCode))));let s=[];return c.forEach((a=>{if(void 0!==a.productCode){const t=a.productCode,e=this.productSACData.products[t];e&&(a=i(a,t,e,this.theme,this.darkMode,this.isNetflixCard))}s.push(a)})),e("div",{class:"tet-compare-cards-tab__content"},e("tet-compare-cards",{theme:this.theme,"dark-mode":this.darkMode,"is-netflix-card":this.isNetflixCard,layout:this.layout,"force-column":this.forceColumn,"vat-text":t??!1,"card-script":r??!1,data:s}))}render(){return e(r,{key:"a6629abf3983c1bead983a6386d29df8a9baaba3"},e("div",{key:"1067800784564e7af658da9425503688e75b50ad",class:"tet-compare-cards-tab-wrapper"},this.withProductFilters?this.renderProductFilters():"",this.renderTabHeader(this.data,1),this.renderLoader(),e("div",{key:"d517429554e6b53544380a34a9f859a3b93cf703",class:{"tet-compare-cards-tab__cards":!0,hidden:this.showLoader}},this.productDataLoaded?this.renderContent(this.data,1):"")))}static get watchers(){return{showLoader:["onDataChange"]}}};d.style=":host{--compare-cards-tab-placeholder-wrap:nowrap;--compare-cards-tab-placeholder-flex-direction:row;--compare-cards-tab-new-price-font-size:2.5rem;--compare-cards-tab-old-price-font-size:1rem;--compare-cards-tab-new-currency-font-size:1.125rem;--compare-cards-tab-title-margin-top:1.25rem;--compare-cards-tab-helper-margin-top:0;--compare-cards-tab-card-max-width:32rem;--compare-cards-tab-padding:1.5rem;--compare-cards-tab-price-wrapper-margin-top:auto;--compare-cards-tab-secondary-link-font-size:0.75rem;--compare-cards-tab-price-line-height:3rem;--compare-cards-tab-thumbnail-display:flex;--compare-cards-tab-thumbnail-card-radius:0 1.5rem 1.5rem 0;--compare-cards-tab-thumbnail-card-width:44rem}.tet-compare-cards-tab-wrapper{width:100%}.tet-compare-cards-tab__content{margin-top:1.75rem}.tet-compare-cards-tab__content tet-compare-cards{--compare-cards-card-max-width:var(--compare-cards-tab-card-max-width);--compare-cards-new-price-font-size:var(--compare-cards-tab-new-price-font-size);--compare-cards-old-price-font-size:var(--compare-cards-tab-old-price-font-size);--compare-cards-new-currency-font-size:var(--compare-cards-tab-new-currency-font-size);--compare-cards-title-margin-top:var(--compare-cards-tab-title-margin-top);--compare-cards-helper-margin-top:var(--compare-cards-tab-helper-margin-top);--compare-cards-price-wrapper-margin-top:var(--compare-cards-tab-price-wrapper-margin-top);--compare-cards-padding:var(--compare-cards-tab-padding);--compare-cards-secondary-link-font-size:var(--compare-cards-tab-secondary-link-font-size);--compare-cards-price-line-height:var(--compare-cards-tab-price-line-height);--compare-cards-thumbnail-display:var(--compare-cards-tab-thumbnail-display);--compare-cards-thumbnail-card-radius:var(--compare-cards-tab-thumbnail-card-radius);--compare-cards-thumbnail-card-width:var(--compare-cards-tab-thumbnail-card-width)}.tet-compare-cards-tab__header{margin:0 auto;display:flex;flex-direction:column}.tet-compare-cards-tab__header .button{font-size:1rem}.tet-compare-cards-tab__header-container{display:flex;flex-direction:column;padding-bottom:0.75rem}.tet-compare-cards-tab__filters{display:flex;justify-content:center;align-items:center;margin-bottom:1rem}.tet-compare-cards-tab__header--image{max-height:0.875rem;align-self:center;margin-right:0.5rem}.tet-compare-cards-tab__header--image.right{margin-left:0.5rem;margin-right:unset}.tet-compare-cards-tab__cards{display:block}.tet-compare-cards-tab__cards.hidden{display:none}.tet-compare-cards-tab__placeholder{display:none;flex-direction:var(--compare-cards-tab-placeholder-flex-direction);flex-wrap:var(--compare-cards-tab-placeholder-wrap);gap:1rem;justify-content:center;padding-top:2.5rem}.tet-compare-cards-tab__placeholder.visible{display:flex}.tet-compare-cards-tab__placeholder .tet-placeholder{--placeholder-border-radius:1.5rem}";export{d as tet_compare_cards_tab}
|