@tet/tet-components 1.3.112-testing → 1.3.113-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{address-d2b7628d.js → address-7739b5bf.js} +1 -1
- package/dist/cjs/{assets-cf19c33d.js → assets-f04dbe9c.js} +1 -1
- package/dist/cjs/{async-request-433f54e5.js → async-request-9d8ba94a.js} +1 -1
- package/dist/cjs/{http-codes-c2a24ff3.js → http-codes-c172bdfc.js} +3 -2
- package/dist/cjs/{index-84ede372.js → index-cac5ef8f.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-d323e22a.js} +25 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-1a20fe25.js → old-utils-d8350df2.js} +1 -1
- package/dist/cjs/{phone-c264803a.js → phone-67c70ea5.js} +2 -2
- package/dist/cjs/tet-accordion.cjs.entry.js +9 -8
- package/dist/cjs/tet-address-offers-filters-products_3.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +8 -8
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-compare-card.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-configurator-cart.cjs.entry.js +129 -0
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +4 -4
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
- package/dist/cjs/tet-business-navigation.cjs.entry.js +82 -0
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-summary-card.cjs.entry.js +77 -0
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-carousel.cjs.entry.js +12 -4
- package/dist/cjs/tet-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +6 -6
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +4 -4
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
- package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +14 -18
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +3 -3
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +5 -5
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-loader.cjs.entry.js +2 -2
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-price-view.cjs.entry.js +57 -28
- package/dist/cjs/tet-radio.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider_2.cjs.entry.js +8 -8
- package/dist/cjs/tet-referral.cjs.entry.js +7 -7
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper-input.cjs.entry.js +5 -5
- 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-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-text-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +3 -3
- package/dist/cjs/{theme-wrapper-a5bbadf6.js → theme-wrapper-a1abdef5.js} +2 -2
- package/dist/cjs/{translations-571bba05.js → translations-1fa17fd7.js} +1 -1
- package/dist/collection/assets/icons/icon-map.json +1 -1
- package/dist/collection/assets/icons/tc/tc-4g.svg +6 -0
- package/dist/collection/assets/icons/tc/tc-call-outline.svg +3 -0
- package/dist/collection/assets/icons/tc/tc-central.svg +3 -0
- package/dist/collection/assets/icons/tc/tc-edit-box.svg +4 -0
- package/dist/collection/assets/icons/tc/tc-empty.svg +7 -0
- package/dist/collection/assets/icons/tc/tc-it-service.svg +3 -0
- package/dist/collection/assets/icons/tc/tc-laptop.svg +3 -0
- package/dist/collection/assets/icons/tc/tc-phishing.svg +4 -0
- package/dist/collection/assets/icons/tc/tc-tet-cloud.svg +4 -0
- package/dist/collection/assets/icons/tc/tc-trash-can.svg +5 -0
- package/dist/collection/assets/icons/tc/tc-tv-plus.svg +3 -0
- package/dist/collection/assets/icons/tc/tc-video.svg +3 -0
- package/dist/collection/assets/icons/tc/tc-wifi-3.svg +7 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/advanced/cards/tet-b2b-compare-card/tet-b2b-compare-card.css +2 -1
- package/dist/collection/components/advanced/cards/tet-business-summary-card/tet-business-summary-card.css +537 -0
- package/dist/collection/components/advanced/cards/tet-business-summary-card/tet-business-summary-card.js +354 -0
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +2 -0
- package/dist/collection/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.js +13 -57
- package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +2 -2
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.css +8 -1
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +10 -2
- package/dist/collection/components/basic/icon/tet-icon.js +1 -1
- package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
- package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
- package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.css +1 -1
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/lists/tet-text-list/tet-text-list.css +2 -0
- package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.css +208 -0
- package/dist/collection/components/simple/menu/tet-business-navigation/tet-business-navigation.js +177 -0
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/structural/tet-accordion/test/tet-accordion.spec.js +16 -8
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.css +6 -3
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +24 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/test/tet-b2b-configurator-cart.spec.js +41 -0
- package/dist/collection/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.css +320 -0
- package/dist/collection/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.js +239 -0
- package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
- package/dist/collection/components/views/tet-price-view/test/tet-price-view.spec.js +0 -3
- package/dist/collection/components/views/tet-price-view/tet-price-view.css +14 -7
- package/dist/collection/components/views/tet-price-view/tet-price-view.js +91 -26
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/collection/services/api/services/b2b-configurator/b2b-configurator.js +17 -0
- package/dist/components/assets/icons/icon-map.json +1 -1
- package/dist/components/assets/icons/tc/tc-4g.svg +6 -0
- package/dist/components/assets/icons/tc/tc-call-outline.svg +3 -0
- package/dist/components/assets/icons/tc/tc-central.svg +3 -0
- package/dist/components/assets/icons/tc/tc-edit-box.svg +4 -0
- package/dist/components/assets/icons/tc/tc-empty.svg +7 -0
- package/dist/components/assets/icons/tc/tc-it-service.svg +3 -0
- package/dist/components/assets/icons/tc/tc-laptop.svg +3 -0
- package/dist/components/assets/icons/tc/tc-phishing.svg +4 -0
- package/dist/components/assets/icons/tc/tc-tet-cloud.svg +4 -0
- package/dist/components/assets/icons/tc/tc-trash-can.svg +5 -0
- package/dist/components/assets/icons/tc/tc-tv-plus.svg +3 -0
- package/dist/components/assets/icons/tc/tc-video.svg +3 -0
- package/dist/components/assets/icons/tc/tc-wifi-3.svg +7 -0
- package/dist/components/index.js +7 -1
- package/dist/components/{p-ca24a2b9.js → p-0a0e1bf6.js} +6 -6
- package/dist/components/{p-c3ddbe1d.js → p-0acb9293.js} +7 -7
- package/dist/components/{p-aae5dd07.js → p-1481c862.js} +7 -7
- package/dist/{esm/http-codes-03b4e7fe.js → components/p-1ff52177.js} +47 -45
- package/dist/components/{p-ccd56026.js → p-314b1552.js} +3 -3
- package/dist/components/{p-f42eb28d.js → p-365391d7.js} +3 -3
- package/dist/components/{p-0dbcf33c.js → p-3e9302c0.js} +7 -7
- package/dist/components/{p-718290ba.js → p-4227ed8b.js} +1 -1
- package/dist/components/{p-d3236077.js → p-47d5ea80.js} +1 -1
- package/dist/components/{p-942f2f2f.js → p-4a654985.js} +3 -3
- package/dist/components/{p-7751f5b3.js → p-4de206bb.js} +2 -2
- package/dist/components/{p-705296ed.js → p-4e278314.js} +1 -1
- package/dist/components/{p-bce2db0b.js → p-50188678.js} +14 -14
- package/dist/components/{p-8584be85.js → p-50edcb4f.js} +6 -6
- package/dist/components/{p-a5ed2a57.js → p-56e07823.js} +3 -3
- package/dist/components/{p-37ed3ebb.js → p-5749376d.js} +1 -1
- package/dist/components/{p-413f5db2.js → p-5b0f19d0.js} +3 -3
- package/dist/components/{p-659824f8.js → p-5ba028f4.js} +1 -1
- package/dist/components/{p-1a7f8491.js → p-5ba3b696.js} +2 -2
- package/dist/components/{p-b92cb98d.js → p-5cefae92.js} +10 -10
- package/dist/components/p-6364f069.js +169 -0
- package/dist/components/{p-ec271fad.js → p-65fbd362.js} +3 -3
- package/dist/components/{p-c5705423.js → p-67960f22.js} +2 -2
- package/dist/components/{p-aa90e33b.js → p-68876a74.js} +1 -1
- package/dist/components/{p-3d4d41b6.js → p-6956d6d9.js} +2 -2
- package/dist/components/{p-aa2e4bac.js → p-73f32642.js} +11 -11
- package/dist/components/{p-066b5f7f.js → p-77f74d4d.js} +3 -3
- package/dist/components/{p-a3a3d769.js → p-7e729da3.js} +2 -2
- package/dist/components/{p-cbcafcc1.js → p-84dc5ba4.js} +7 -7
- package/dist/components/{p-a0d406ca.js → p-8f91eb96.js} +1 -1
- package/dist/components/{p-1169a5db.js → p-9173ea5a.js} +2 -2
- package/dist/components/{p-a96cb71f.js → p-926307b4.js} +3 -3
- package/dist/components/{p-e0fcd0d0.js → p-951b004f.js} +4 -4
- package/dist/components/{p-b5a7f393.js → p-961368a5.js} +9 -9
- package/dist/components/{p-ef961ffc.js → p-975cf3f9.js} +1 -1
- package/dist/components/{p-c24c8135.js → p-a18fd2fd.js} +2 -2
- package/dist/components/{p-00f53046.js → p-ad4150cc.js} +4 -4
- package/dist/components/{p-da0686a7.js → p-b5700559.js} +3 -3
- package/dist/components/{p-c6ece8b8.js → p-b71374f9.js} +2 -2
- package/dist/components/{p-f5ecf4be.js → p-ba45da9e.js} +5 -5
- package/dist/components/{p-f319e831.js → p-c3d8de7f.js} +10 -10
- package/dist/components/{p-c4f3dcb1.js → p-c843c652.js} +1 -1
- package/dist/components/{p-816f13b1.js → p-ceb5f8c9.js} +2 -2
- package/dist/components/{p-88b42c67.js → p-d0537f8e.js} +1 -1
- package/dist/components/{p-e654a1e3.js → p-d23332cc.js} +2 -2
- package/dist/components/{p-f4f1fda6.js → p-d912d984.js} +2 -2
- package/dist/components/{p-cc60fdfc.js → p-df5b4f95.js} +60 -29
- package/dist/components/{p-b04f1884.js → p-e0da62c0.js} +3 -3
- package/dist/components/{p-0354523f.js → p-ee871065.js} +3 -3
- package/dist/components/{p-8de02db3.js → p-f0503bac.js} +1 -1
- package/dist/components/{p-0ba4b141.js → p-f2dc4c18.js} +2 -2
- package/dist/components/{p-488c6bcd.js → p-fddffe4d.js} +1 -1
- package/dist/components/tet-accordion.js +1 -166
- 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 +26 -26
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +13 -13
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +7 -7
- package/dist/components/tet-b2b-configurator-cart.d.ts +11 -0
- package/dist/components/tet-b2b-configurator-cart.js +172 -0
- package/dist/components/tet-b2b-service-calculator.js +9 -9
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +2 -2
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +6 -6
- package/dist/components/tet-business-navigation.d.ts +11 -0
- package/dist/components/tet-business-navigation.js +108 -0
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-business-summary-card.d.ts +11 -0
- package/dist/components/tet-business-summary-card.js +121 -0
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +14 -6
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +11 -11
- package/dist/components/tet-colors.js +5 -5
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +15 -15
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +10 -10
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +10 -10
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +17 -23
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +2 -2
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-font-weight.js +2 -2
- package/dist/components/tet-fonts.js +2 -2
- package/dist/components/tet-grid.js +2 -2
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +2 -2
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +5 -5
- package/dist/components/tet-layout.js +2 -2
- package/dist/components/tet-link.js +2 -2
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +11 -11
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-multi-step-dialog.js +6 -6
- package/dist/components/tet-navigation-mobile.js +5 -5
- package/dist/components/tet-news-card-list.js +5 -5
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +9 -9
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-spacing.js +2 -2
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +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-textarea.js +3 -3
- 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 +2 -2
- package/dist/components/tet-tv-gift-list.js +4 -4
- package/dist/esm/{address-6bae95f7.js → address-cf4b9052.js} +1 -1
- package/dist/esm/{assets-9f343e6e.js → assets-9c72dac5.js} +1 -1
- package/dist/esm/{async-request-5b1897cb.js → async-request-8cfbcb21.js} +1 -1
- package/dist/{components/p-195cefb5.js → esm/http-codes-66a577c3.js} +46 -46
- package/dist/esm/{index-7f1e2a22.js → index-8ac89426.js} +25 -13
- package/dist/esm/{index-1bf36cb9.js → index-a7cd7688.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-13592797.js → old-utils-8feed10e.js} +1 -1
- package/dist/esm/{phone-36ef7090.js → phone-8d55f9d7.js} +2 -2
- package/dist/esm/tet-accordion.entry.js +9 -8
- package/dist/esm/tet-address-offers-filters-products_3.entry.js +4 -4
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_4.entry.js +8 -8
- package/dist/esm/tet-address-search.entry.js +4 -4
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.entry.js +4 -4
- package/dist/esm/tet-b2b-compare-card.entry.js +4 -4
- package/dist/esm/tet-b2b-configurator-cart.entry.js +125 -0
- package/dist/esm/tet-b2b-service-calculator.entry.js +4 -4
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +5 -5
- package/dist/esm/tet-business-navigation.entry.js +78 -0
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-business-summary-card.entry.js +73 -0
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-carousel.entry.js +12 -4
- package/dist/esm/tet-checkbox.entry.js +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +5 -5
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +6 -6
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +4 -4
- package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
- package/dist/esm/tet-datepicker.entry.js +5 -5
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-dynamic-card.entry.js +14 -18
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +3 -3
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +5 -5
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-loader.entry.js +2 -2
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +4 -4
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-price-view.entry.js +57 -28
- package/dist/esm/tet-radio.entry.js +1 -1
- package/dist/esm/tet-range-slider_2.entry.js +8 -8
- package/dist/esm/tet-referral.entry.js +7 -7
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-stepper-input.entry.js +5 -5
- 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-tab-header.entry.js +3 -3
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +2 -2
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tooltip.entry.js +2 -2
- package/dist/esm/tet-tv-gift-block.entry.js +2 -2
- package/dist/esm/tet-tv-gift-list.entry.js +3 -3
- package/dist/esm/{theme-wrapper-6e6b2089.js → theme-wrapper-de71af98.js} +2 -2
- package/dist/esm/{translations-11287bda.js → translations-24de7d95.js} +1 -1
- package/dist/tet-components/assets/icons/icon-map.json +1 -1
- package/dist/tet-components/assets/icons/tc/tc-4g.svg +6 -0
- package/dist/tet-components/assets/icons/tc/tc-call-outline.svg +3 -0
- package/dist/tet-components/assets/icons/tc/tc-central.svg +3 -0
- package/dist/tet-components/assets/icons/tc/tc-edit-box.svg +4 -0
- package/dist/tet-components/assets/icons/tc/tc-empty.svg +7 -0
- package/dist/tet-components/assets/icons/tc/tc-it-service.svg +3 -0
- package/dist/tet-components/assets/icons/tc/tc-laptop.svg +3 -0
- package/dist/tet-components/assets/icons/tc/tc-phishing.svg +4 -0
- package/dist/tet-components/assets/icons/tc/tc-tet-cloud.svg +4 -0
- package/dist/tet-components/assets/icons/tc/tc-trash-can.svg +5 -0
- package/dist/tet-components/assets/icons/tc/tc-tv-plus.svg +3 -0
- package/dist/tet-components/assets/icons/tc/tc-video.svg +3 -0
- package/dist/tet-components/assets/icons/tc/tc-wifi-3.svg +7 -0
- package/dist/tet-components/{p-fd4d1ca5.js → p-0967ecde.js} +1 -1
- package/dist/tet-components/{p-eff5f830.entry.js → p-0a2abc7a.entry.js} +1 -1
- package/dist/tet-components/p-0a56c9ad.entry.js +1 -0
- package/dist/tet-components/{p-e7388a99.entry.js → p-0cd39c85.entry.js} +1 -1
- package/dist/tet-components/{p-73cb9d90.entry.js → p-0e55273a.entry.js} +1 -1
- package/dist/tet-components/{p-fdb22604.entry.js → p-126c3143.entry.js} +1 -1
- package/dist/tet-components/{p-13bc3403.entry.js → p-22d3caa2.entry.js} +1 -1
- package/dist/tet-components/{p-b80782f2.entry.js → p-25b7d54c.entry.js} +1 -1
- package/dist/tet-components/{p-a7c0fd47.entry.js → p-267f5658.entry.js} +1 -1
- package/dist/tet-components/{p-15f4bafd.entry.js → p-2a55b6e6.entry.js} +1 -1
- package/dist/tet-components/{p-c79e0e7a.entry.js → p-369dace1.entry.js} +1 -1
- package/dist/tet-components/{p-ef909de3.js → p-3778d558.js} +1 -1
- package/dist/tet-components/{p-3ea5e48b.entry.js → p-3ebb7712.entry.js} +1 -1
- package/dist/tet-components/{p-ff4beaee.entry.js → p-4086ed0c.entry.js} +1 -1
- package/dist/tet-components/{p-60cca146.entry.js → p-41faa90c.entry.js} +1 -1
- package/dist/tet-components/{p-75693c62.js → p-42613a55.js} +1 -1
- package/dist/tet-components/{p-767e3602.entry.js → p-435e37e4.entry.js} +1 -1
- package/dist/tet-components/{p-a07b07db.entry.js → p-47ffe780.entry.js} +1 -1
- package/dist/tet-components/{p-0d4242c6.entry.js → p-48b5a7d3.entry.js} +1 -1
- package/dist/tet-components/{p-281dbdb7.entry.js → p-4a2cf529.entry.js} +1 -1
- package/dist/tet-components/{p-091e774d.entry.js → p-4a57690d.entry.js} +1 -1
- package/dist/tet-components/{p-e5bc2402.entry.js → p-4ede3a1f.entry.js} +1 -1
- package/dist/tet-components/{p-583a5b04.entry.js → p-4faf23bd.entry.js} +1 -1
- package/dist/tet-components/{p-d1608c63.js → p-50f7f25f.js} +1 -1
- package/dist/tet-components/{p-ef2c9d65.entry.js → p-5210851f.entry.js} +1 -1
- package/dist/tet-components/{p-7ed0df9e.entry.js → p-52dc2cef.entry.js} +1 -1
- package/dist/tet-components/{p-30381b58.entry.js → p-585e2c54.entry.js} +1 -1
- package/dist/tet-components/{p-1ec7f341.js → p-67c5dc0a.js} +1 -1
- package/dist/tet-components/{p-7a89815d.entry.js → p-68746ae4.entry.js} +1 -1
- package/dist/tet-components/{p-118bad7e.entry.js → p-6c7df4e7.entry.js} +1 -1
- package/dist/tet-components/p-7117cade.entry.js +1 -0
- package/dist/tet-components/{p-c9d2d8f6.entry.js → p-712b2089.entry.js} +1 -1
- package/dist/tet-components/{p-68870ce2.entry.js → p-774c56c8.entry.js} +1 -1
- package/dist/tet-components/{p-1af40e05.entry.js → p-7f5deac5.entry.js} +1 -1
- package/dist/tet-components/{p-8fc703e5.entry.js → p-80e929ba.entry.js} +1 -1
- package/dist/tet-components/{p-cbec683e.entry.js → p-81f8fb7f.entry.js} +1 -1
- package/dist/tet-components/{p-59db86cf.entry.js → p-8549fb81.entry.js} +1 -1
- package/dist/tet-components/{p-272a180d.entry.js → p-8b974532.entry.js} +1 -1
- package/dist/tet-components/{p-04a794db.entry.js → p-8ba094c1.entry.js} +1 -1
- package/dist/tet-components/{p-4f47b1ba.entry.js → p-8c784b8a.entry.js} +1 -1
- package/dist/tet-components/{p-a89a8dca.entry.js → p-8f0e5262.entry.js} +1 -1
- package/dist/tet-components/{p-f864a0d9.entry.js → p-8f55be16.entry.js} +1 -1
- package/dist/tet-components/{p-8ee9bb5c.entry.js → p-8f7d0e13.entry.js} +1 -1
- package/dist/tet-components/{p-964aa776.entry.js → p-93827b9c.entry.js} +1 -1
- package/dist/tet-components/{p-beeb3cae.entry.js → p-96f2711a.entry.js} +1 -1
- package/dist/tet-components/{p-d583f423.entry.js → p-98787067.entry.js} +1 -1
- package/dist/tet-components/{p-f8288c41.entry.js → p-99340df4.entry.js} +1 -1
- package/dist/tet-components/{p-f187837a.entry.js → p-9b377b8c.entry.js} +1 -1
- package/dist/tet-components/{p-90ff9242.entry.js → p-9cfcf121.entry.js} +1 -1
- package/dist/tet-components/{p-c0f44eed.entry.js → p-9d261322.entry.js} +1 -1
- package/dist/tet-components/{p-2b582c3d.entry.js → p-9fe8cf64.entry.js} +1 -1
- package/dist/tet-components/{p-a98b7b04.entry.js → p-a317ae27.entry.js} +1 -1
- package/dist/tet-components/{p-f76f171b.entry.js → p-a46f25c3.entry.js} +1 -1
- package/dist/tet-components/p-a71fa814.entry.js +1 -0
- package/dist/tet-components/{p-5b360a66.entry.js → p-ac67729e.entry.js} +1 -1
- package/dist/tet-components/{p-3019fe9e.entry.js → p-ac6aaa07.entry.js} +1 -1
- package/dist/tet-components/{p-3cffaf02.entry.js → p-ad5686e5.entry.js} +1 -1
- package/dist/tet-components/{p-759be092.entry.js → p-ad723a83.entry.js} +1 -1
- package/dist/tet-components/{p-86a38845.entry.js → p-afcf04af.entry.js} +1 -1
- package/dist/tet-components/{p-e106f5a0.entry.js → p-aff1ccf5.entry.js} +1 -1
- package/dist/tet-components/{p-406551c3.entry.js → p-b0ad6fa8.entry.js} +1 -1
- package/dist/tet-components/{p-96b88c24.entry.js → p-b3335236.entry.js} +1 -1
- package/dist/tet-components/{p-5c542afa.entry.js → p-b52c4b78.entry.js} +1 -1
- package/dist/tet-components/p-b604ca3e.js +1 -0
- package/dist/tet-components/{p-dfe87119.entry.js → p-b663fb88.entry.js} +1 -1
- package/dist/tet-components/{p-a7f3696d.entry.js → p-b6682ae8.entry.js} +1 -1
- package/dist/tet-components/{p-93fcdf8f.entry.js → p-b9905359.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-baa9231f.js} +1 -1
- package/dist/tet-components/{p-3ead04a2.entry.js → p-bb769879.entry.js} +1 -1
- package/dist/tet-components/p-c084d412.entry.js +1 -0
- package/dist/tet-components/p-c3429ec0.entry.js +1 -0
- package/dist/tet-components/{p-51a13ab5.entry.js → p-c41118a5.entry.js} +1 -1
- package/dist/tet-components/{p-44bd9249.js → p-c830c227.js} +1 -1
- package/dist/tet-components/{p-316ae4e2.entry.js → p-c92f03bf.entry.js} +1 -1
- package/dist/tet-components/{p-e8411d46.entry.js → p-d1384b9b.entry.js} +1 -1
- package/dist/tet-components/{p-e0b4320d.entry.js → p-d4679639.entry.js} +1 -1
- package/dist/tet-components/{p-ebb36c6a.entry.js → p-d860a653.entry.js} +1 -1
- package/dist/tet-components/{p-96d9e17e.entry.js → p-da44b761.entry.js} +1 -1
- package/dist/tet-components/{p-66eaa633.js → p-e318ee60.js} +1 -1
- package/dist/tet-components/p-e43e0a37.entry.js +1 -0
- package/dist/tet-components/{p-ca704b45.entry.js → p-ea310b24.entry.js} +1 -1
- package/dist/tet-components/{p-fd4c0831.entry.js → p-ead4025d.entry.js} +1 -1
- package/dist/tet-components/{p-0543b211.entry.js → p-f04e2faf.entry.js} +1 -1
- package/dist/tet-components/{p-ea2b3ea1.js → p-f2978a1b.js} +1 -1
- package/dist/tet-components/p-f960e6a9.entry.js +1 -0
- package/dist/tet-components/{p-7e9c8900.entry.js → p-fb60b92b.entry.js} +1 -1
- package/dist/tet-components/{p-83d4cc1a.entry.js → p-fbf6521b.entry.js} +1 -1
- package/dist/tet-components/{p-370989ca.entry.js → p-fd189a4c.entry.js} +1 -1
- package/dist/tet-components/{p-36c1f441.entry.js → p-fe1f5799.entry.js} +1 -1
- package/dist/tet-components/{p-c4812370.entry.js → p-ff402238.entry.js} +1 -1
- package/dist/tet-components/tet-components.css +2 -2
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-business-summary-card/tet-business-summary-card.d.ts +45 -0
- package/dist/types/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.d.ts +0 -6
- package/dist/types/components/basic/carousel/tet-carousel/tet-carousel.d.ts +1 -0
- package/dist/types/components/simple/menu/tet-business-navigation/tet-business-navigation.d.ts +47 -0
- package/dist/types/components/simple/structural/tet-accordion/tet-accordion.d.ts +7 -2
- package/dist/types/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.d.ts +67 -0
- package/dist/types/components/views/tet-price-view/tet-price-view.d.ts +4 -0
- package/dist/types/components.d.ts +294 -18
- package/dist/types/services/api/services/b2b-configurator/b2b-configurator.d.ts +59 -0
- package/package.json +1 -1
- package/dist/tet-components/p-0a930ffb.entry.js +0 -1
- package/dist/tet-components/p-48fe9ea7.entry.js +0 -1
- package/dist/tet-components/p-b2b384d2.js +0 -1
- package/dist/tet-components/p-e2610d44.entry.js +0 -1
- package/dist/tet-components/p-fad22859.entry.js +0 -1
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "Gilroy";
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
font-display: swap;
|
|
6
|
+
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
7
|
+
}
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: "Gilroy";
|
|
10
|
+
font-style: normal;
|
|
11
|
+
font-weight: 500;
|
|
12
|
+
font-display: swap;
|
|
13
|
+
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
14
|
+
}
|
|
15
|
+
@font-face {
|
|
16
|
+
font-family: "Gilroy";
|
|
17
|
+
font-style: normal;
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
font-display: swap;
|
|
20
|
+
src: url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff");
|
|
21
|
+
}
|
|
22
|
+
@font-face {
|
|
23
|
+
font-family: "Gilroy";
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 700;
|
|
26
|
+
font-display: swap;
|
|
27
|
+
src: url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff");
|
|
28
|
+
}
|
|
29
|
+
@font-face {
|
|
30
|
+
font-family: "Inter";
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-weight: 400;
|
|
33
|
+
font-display: swap;
|
|
34
|
+
src: url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff");
|
|
35
|
+
}
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "Inter";
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
font-display: swap;
|
|
41
|
+
src: url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff");
|
|
42
|
+
}
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: "Inter";
|
|
45
|
+
font-style: normal;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
font-display: swap;
|
|
48
|
+
src: url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff");
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: "Gilroy";
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 400;
|
|
54
|
+
font-display: swap;
|
|
55
|
+
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
56
|
+
}
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: "Gilroy";
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-weight: 500;
|
|
61
|
+
font-display: swap;
|
|
62
|
+
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
63
|
+
}
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: "Gilroy";
|
|
66
|
+
font-style: normal;
|
|
67
|
+
font-weight: 600;
|
|
68
|
+
font-display: swap;
|
|
69
|
+
src: url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff");
|
|
70
|
+
}
|
|
71
|
+
@font-face {
|
|
72
|
+
font-family: "Gilroy";
|
|
73
|
+
font-style: normal;
|
|
74
|
+
font-weight: 700;
|
|
75
|
+
font-display: swap;
|
|
76
|
+
src: url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff");
|
|
77
|
+
}
|
|
78
|
+
@font-face {
|
|
79
|
+
font-family: "Inter";
|
|
80
|
+
font-style: normal;
|
|
81
|
+
font-weight: 400;
|
|
82
|
+
font-display: swap;
|
|
83
|
+
src: url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff");
|
|
84
|
+
}
|
|
85
|
+
@font-face {
|
|
86
|
+
font-family: "Inter";
|
|
87
|
+
font-style: normal;
|
|
88
|
+
font-weight: 500;
|
|
89
|
+
font-display: swap;
|
|
90
|
+
src: url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff");
|
|
91
|
+
}
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: "Inter";
|
|
94
|
+
font-style: normal;
|
|
95
|
+
font-weight: 600;
|
|
96
|
+
font-display: swap;
|
|
97
|
+
src: url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff");
|
|
98
|
+
}
|
|
99
|
+
:host {
|
|
100
|
+
--font-family-fallback: Gilroy, Arial, sans-serif;
|
|
101
|
+
--font-family-headline: Gilroy;
|
|
102
|
+
--font-family-content: Inter, var(--font-family-fallback);
|
|
103
|
+
font-family: var(--font-family-content);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
:host {
|
|
107
|
+
display: block;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.light {
|
|
111
|
+
--b2b-cart-text-color: var(--tc-text-primary);
|
|
112
|
+
--b2b-cart-text-color-secondary: var(--tc-text-secondary);
|
|
113
|
+
--b2b-cart-background-color: var(--tc-layer-primary);
|
|
114
|
+
--b2b-cart-box-shadow: var(--tc-elevation-one);
|
|
115
|
+
--b2b-cart-border-color: var(--tc-border-quaternary);
|
|
116
|
+
--b2b-cart-block-color: var(--tc-layer-secondary);
|
|
117
|
+
--b2b-cart-block-details-color: var(--tc-layer-tertiary);
|
|
118
|
+
--b2b-cart-summary-accent-color: var(--tc-yellow-20);
|
|
119
|
+
--elevation-six-layer-1-color: rgba(12, 12, 14, 0.06);
|
|
120
|
+
}
|
|
121
|
+
.light.checkout {
|
|
122
|
+
--b2b-cart-background-color: var(--tc-layer-secondary);
|
|
123
|
+
--b2b-cart-block-color: var(--tc-layer-tertiary);
|
|
124
|
+
--b2b-cart-block-details-color: var(--tc-layer-quaternary);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.dark {
|
|
128
|
+
--b2b-cart-text-color: var(--tc-text-primary-dark);
|
|
129
|
+
--b2b-cart-text-color-secondary: var(--tc-text-secondary-dark);
|
|
130
|
+
--b2b-cart-background-color: var(--tc-layer-primary-dark);
|
|
131
|
+
--b2b-cart-box-shadow: var(--tc-elevation-one-dark);
|
|
132
|
+
--b2b-cart-border-color: var(--tc-border-quaternary-dark);
|
|
133
|
+
--b2b-cart-block-color: var(--tc-layer-secondary-dark);
|
|
134
|
+
--b2b-cart-block-details-color: var(--tc-layer-tertiary-dark);
|
|
135
|
+
--b2b-cart-summary-accent-color: var(--tc-grey-20-dark);
|
|
136
|
+
--elevation-six-layer-1-color: rgba(12, 12, 14, 0.20);
|
|
137
|
+
}
|
|
138
|
+
.dark.checkout {
|
|
139
|
+
--b2b-cart-background-color: var(--tc-layer-secondary-dark);
|
|
140
|
+
--b2b-cart-block-color: var(--tc-layer-tertiary-dark);
|
|
141
|
+
--b2b-cart-block-details-color: var(--tc-layer-quaternary-dark);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.cart {
|
|
145
|
+
color: var(--b2b-cart-text-color);
|
|
146
|
+
display: flex;
|
|
147
|
+
flex: auto;
|
|
148
|
+
flex-direction: column;
|
|
149
|
+
height: fit-content;
|
|
150
|
+
border-radius: 1rem;
|
|
151
|
+
background: var(--b2b-cart-background-color);
|
|
152
|
+
box-shadow: var(--b2b-cart-box-shadow);
|
|
153
|
+
}
|
|
154
|
+
.cart__accordion {
|
|
155
|
+
--accordion-border-radius: 1rem 1rem 0 0;
|
|
156
|
+
--accordion-header-padding: 1rem;
|
|
157
|
+
--accordion-header-mobile-padding: 1rem;
|
|
158
|
+
--accordion-header-font: 600 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;
|
|
159
|
+
}
|
|
160
|
+
@media all and (min-width: 90rem) {
|
|
161
|
+
.cart__accordion--edit {
|
|
162
|
+
--accordion-header-display: none;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
.cart__accordion--rounded {
|
|
166
|
+
--accordion-border-radius: 1rem;
|
|
167
|
+
}
|
|
168
|
+
.cart__accordion--empty {
|
|
169
|
+
--accordion-border-radius: 1rem;
|
|
170
|
+
}
|
|
171
|
+
.cart__title--edit {
|
|
172
|
+
display: none;
|
|
173
|
+
}
|
|
174
|
+
@media all and (min-width: 90rem) {
|
|
175
|
+
.cart__title--edit {
|
|
176
|
+
display: block;
|
|
177
|
+
padding: 1.5rem 1.5rem 1rem 1.5rem;
|
|
178
|
+
border-bottom: 0.0625rem solid var(--b2b-cart-border-color);
|
|
179
|
+
align-self: stretch;
|
|
180
|
+
font: 600 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif";
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
.cart__title--checkout {
|
|
184
|
+
display: none;
|
|
185
|
+
}
|
|
186
|
+
.cart__content {
|
|
187
|
+
display: flex;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
gap: 1rem;
|
|
190
|
+
padding: 1rem 1.5rem;
|
|
191
|
+
border-color: var(--b2b-cart-border-color);
|
|
192
|
+
border-top-style: solid;
|
|
193
|
+
border-top-width: 0.0625rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.block {
|
|
197
|
+
--accordion-border-radius: 0.5rem;
|
|
198
|
+
--accordion-background-color: var(--b2b-cart-block-color);
|
|
199
|
+
--accordion-header-padding: 1rem 1rem 0.75rem 1rem;
|
|
200
|
+
--accordion-header-mobile-padding: 1rem 1rem 0.75rem 1rem;
|
|
201
|
+
--accordion-header-font: 600 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;
|
|
202
|
+
}
|
|
203
|
+
.block__wrapper {
|
|
204
|
+
border-radius: 0.5rem;
|
|
205
|
+
border: 0.0625rem solid var(--b2b-cart-border-color);
|
|
206
|
+
background-color: var(--b2b-cart-block-color);
|
|
207
|
+
}
|
|
208
|
+
@media all and (min-width: 48rem) {
|
|
209
|
+
.block {
|
|
210
|
+
--accordion-header-padding: 1rem;
|
|
211
|
+
--accordion-header-mobile-padding: 1rem;
|
|
212
|
+
--accordion-header-font: 600 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
.block__header {
|
|
216
|
+
display: flex;
|
|
217
|
+
flex-direction: column;
|
|
218
|
+
flex: auto;
|
|
219
|
+
gap: 0.5rem;
|
|
220
|
+
}
|
|
221
|
+
.block__header-row {
|
|
222
|
+
display: flex;
|
|
223
|
+
justify-content: space-between;
|
|
224
|
+
}
|
|
225
|
+
.block__header-amount {
|
|
226
|
+
text-align: end;
|
|
227
|
+
}
|
|
228
|
+
.block__header-details {
|
|
229
|
+
font: 500 0.75rem/1rem "Inter", "Gilroy, Arial, sans-serif";
|
|
230
|
+
background: var(--b2b-cart-block-details-color);
|
|
231
|
+
padding: 0.25rem 0.5rem;
|
|
232
|
+
border-radius: 1.375rem;
|
|
233
|
+
}
|
|
234
|
+
.block__header-indicator {
|
|
235
|
+
font: 400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
236
|
+
}
|
|
237
|
+
@media all and (min-width: 48rem) {
|
|
238
|
+
.block__header-indicator {
|
|
239
|
+
font: 400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
.block__header-icon {
|
|
243
|
+
--icon-size: 1.25rem;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.empty-cart {
|
|
247
|
+
display: flex;
|
|
248
|
+
flex-direction: column;
|
|
249
|
+
align-items: center;
|
|
250
|
+
}
|
|
251
|
+
.empty-cart__icon {
|
|
252
|
+
margin-bottom: 0.5rem;
|
|
253
|
+
--icon-size: 3rem;
|
|
254
|
+
}
|
|
255
|
+
.empty-cart__title {
|
|
256
|
+
font: 500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
257
|
+
}
|
|
258
|
+
.empty-cart__description {
|
|
259
|
+
color: var(--b2b-cart-text-color-secondary);
|
|
260
|
+
font: 400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.summary {
|
|
264
|
+
display: flex;
|
|
265
|
+
flex-direction: column;
|
|
266
|
+
padding: 1rem 1rem 1.5rem;
|
|
267
|
+
border-color: var(--b2b-cart-border-color);
|
|
268
|
+
border-top-style: solid;
|
|
269
|
+
border-top-width: 0.0625rem;
|
|
270
|
+
box-shadow: 0 -6px 12px 0 var(--elevation-six-layer-1-color);
|
|
271
|
+
}
|
|
272
|
+
@media all and (min-width: 48rem) {
|
|
273
|
+
.summary {
|
|
274
|
+
padding: 1rem 1.5rem 1.5rem;
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
.summary__notification {
|
|
278
|
+
margin-bottom: 1rem;
|
|
279
|
+
}
|
|
280
|
+
.summary__savings {
|
|
281
|
+
padding: 0.5rem;
|
|
282
|
+
margin-bottom: 1rem;
|
|
283
|
+
display: flex;
|
|
284
|
+
justify-content: space-between;
|
|
285
|
+
gap: 0.5rem;
|
|
286
|
+
border-radius: 0.5rem;
|
|
287
|
+
background-color: var(--b2b-cart-summary-accent-color);
|
|
288
|
+
font: 500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
289
|
+
}
|
|
290
|
+
.summary__savings-amount {
|
|
291
|
+
text-align: end;
|
|
292
|
+
}
|
|
293
|
+
.summary__monthly-payment {
|
|
294
|
+
margin-bottom: 1rem;
|
|
295
|
+
display: flex;
|
|
296
|
+
justify-content: space-between;
|
|
297
|
+
gap: 0.5rem;
|
|
298
|
+
font: 500 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif";
|
|
299
|
+
}
|
|
300
|
+
@media all and (min-width: 48rem) {
|
|
301
|
+
.summary__monthly-payment {
|
|
302
|
+
margin-bottom: 1.5rem;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
@media all and (min-width: 90rem) {
|
|
306
|
+
.summary__monthly-payment {
|
|
307
|
+
margin-bottom: 1rem;
|
|
308
|
+
font: 500 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif";
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
.summary__monthly-price {
|
|
312
|
+
display: flex;
|
|
313
|
+
flex-direction: column;
|
|
314
|
+
align-items: flex-end;
|
|
315
|
+
white-space: nowrap;
|
|
316
|
+
}
|
|
317
|
+
.summary__monthly-price-disclosure {
|
|
318
|
+
color: var(--b2b-cart-text-color-secondary);
|
|
319
|
+
font: 400 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
320
|
+
}
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { processTranslations, t } from "../../../../../services/translations/index";
|
|
2
|
+
import { Host, forceUpdate, h } from "@stencil/core";
|
|
3
|
+
export class TetB2bConfiguratorCart {
|
|
4
|
+
constructor() {
|
|
5
|
+
/** @private The suffix for the price displayed - "€/mēn."). */
|
|
6
|
+
this.priceSuffix = '€/mēn.';
|
|
7
|
+
/**
|
|
8
|
+
* Updates `primarySlotFilled` or `secondarySlotFilled` based on assigned slot elements.
|
|
9
|
+
* @param e The slotchange event.
|
|
10
|
+
*/
|
|
11
|
+
this.handleSlotChanged = (e) => {
|
|
12
|
+
const slot = e.target;
|
|
13
|
+
const slotName = slot.name;
|
|
14
|
+
if (slotName === 'primary') {
|
|
15
|
+
this.primarySlotFilled = slot.assignedElements().length !== 0;
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
this.secondarySlotFilled = slot.assignedElements().length !== 0;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Handler for all accordion open state changes.
|
|
23
|
+
* Uses element reference checking to correctly distinguish between nested components (lower events bubble up).
|
|
24
|
+
* @param e The CustomEvent containing the new open state.
|
|
25
|
+
*/
|
|
26
|
+
this.handleAccordionChanged = (e) => {
|
|
27
|
+
const targetEl = e.target;
|
|
28
|
+
const isOpen = e.detail;
|
|
29
|
+
if (targetEl === this.accordionEl) {
|
|
30
|
+
this.isAccordionOpen = e.detail;
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
if (targetEl === this.primaryBlockEl) {
|
|
34
|
+
this.isPrimaryBlockOpen = isOpen;
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
if (targetEl === this.secondaryBlockEl) {
|
|
38
|
+
this.isSecondaryBlockOpen = isOpen;
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
/** Renders the empty cart content placeholder. */
|
|
43
|
+
this.renderEmptyContent = () => {
|
|
44
|
+
return (h("div", { class: "empty-cart" }, h("tet-icon", { class: "empty-cart__icon", name: "tc-empty", theme: this.theme }), h("div", { class: "empty-cart__title" }, t('components-b2b-cart-empty-title')), h("div", { class: "empty-cart__description" }, t('components-b2b-cart-empty-description'))));
|
|
45
|
+
};
|
|
46
|
+
/** Renders the two inner service accordions based on slot content. */
|
|
47
|
+
this.renderContent = () => {
|
|
48
|
+
const blocks = [
|
|
49
|
+
{ name: t('components-b2b-cart-primary-service-title'), type: 'primary' },
|
|
50
|
+
{ name: t('components-b2b-cart-secondary-service-title'), type: 'secondary' }
|
|
51
|
+
];
|
|
52
|
+
const content = blocks.map((block) => {
|
|
53
|
+
const isPrimary = block.type === 'primary';
|
|
54
|
+
const blockOpen = isPrimary ? this.isPrimaryBlockOpen : this.isSecondaryBlockOpen;
|
|
55
|
+
const slotFilled = isPrimary ? this.primarySlotFilled : this.secondarySlotFilled;
|
|
56
|
+
const amount = isPrimary ? this.data.primaryAmount : this.data.secondaryAmount;
|
|
57
|
+
const count = isPrimary ? this.data.primaryCount : this.data.secondaryCount;
|
|
58
|
+
const countValue = count % 10 === 1 && count !== 11
|
|
59
|
+
? t('components-b2b-cart-service-singular')
|
|
60
|
+
: t('components-b2b-cart-service-plural');
|
|
61
|
+
const refCallback = (el) => {
|
|
62
|
+
if (block.type === 'primary') {
|
|
63
|
+
this.primaryBlockEl = el;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
this.secondaryBlockEl = el;
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
return (h("div", { hidden: !slotFilled, class: "block__wrapper" }, h("tet-accordion", { ref: refCallback, key: block.type, class: "block", isOpen: isPrimary ? this.isPrimaryBlockOpen : this.isSecondaryBlockOpen, header: block.name, theme: this.theme, transparentBackground: true }, h("div", { slot: "header", class: "block__header" }, h("div", { class: "block__header-row" }, block.name, " ", h("span", { class: "block__header-amount" }, `${amount} ${this.priceSuffix}`)), h("div", { class: "block__header-row" }, h("div", { class: "block__header-details" }, `${count} ${countValue}`), h("div", { class: "block__header-indicator" }, blockOpen ? t('components-b2b-cart-accordion-less') : t('components-b2b-cart-accordion-more'), h("tet-icon", { class: "block__header-icon", name: `chevron-${blockOpen ? 'up' : 'down'}`, theme: this.theme })))), h("slot", { onSlotchange: this.handleSlotChanged, name: block.type }))));
|
|
70
|
+
});
|
|
71
|
+
return content;
|
|
72
|
+
};
|
|
73
|
+
/** Renders the cart summary, including notifications and financial details. */
|
|
74
|
+
this.renderSummary = () => {
|
|
75
|
+
const { summarySavings, summaryAmount, hasPrimaryNotification, hasSecondaryNotification } = this.data;
|
|
76
|
+
return (h("div", { class: "summary" }, hasPrimaryNotification && (h("tet-notification", { class: "summary__notification", type: "warning", headerTitle: t('components-b2b-cart-primary-notification-title'), content: t('components-b2b-cart-primary-notification-description'), allowClose: false, theme: this.theme, icon: null })), hasSecondaryNotification && (h("tet-notification", { class: "summary__notification", type: "neutral", headerTitle: t('components-b2b-cart-secondary-notification-title'), content: t('components-b2b-cart-secondary-notification-description'), allowClose: false, theme: this.theme })), this.isAccordionOpen && (h("div", { class: "summary__savings" }, t('components-b2b-cart-savings-title'), h("span", { class: "summary__savings-amount" }, " ", `${summarySavings} ${this.priceSuffix}`))), h("div", { class: "summary__monthly-payment" }, t('components-b2b-cart-monthly-payment-title'), h("div", { class: "summary__monthly-price" }, `${summaryAmount} ${this.priceSuffix}`, h("span", { class: "summary__monthly-price-disclosure" }, ' ', t('components-b2b-cart-monthly-payment-disclosure'), ' '))), h("slot", { name: "cta" })));
|
|
77
|
+
};
|
|
78
|
+
this.theme = 'light';
|
|
79
|
+
this.data = undefined;
|
|
80
|
+
this.isCartEmpty = true;
|
|
81
|
+
this.context = 'edit';
|
|
82
|
+
this.isDesktopResolution = true;
|
|
83
|
+
this.isAccordionOpen = this.context === 'edit';
|
|
84
|
+
this.isPrimaryBlockOpen = true;
|
|
85
|
+
this.isSecondaryBlockOpen = true;
|
|
86
|
+
this.primarySlotFilled = false;
|
|
87
|
+
this.secondarySlotFilled = false;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Imperatively opens the main accordion when transitioning to desktop in 'edit' context.
|
|
91
|
+
* @param isDesktop The new resolution state.
|
|
92
|
+
*/
|
|
93
|
+
openAccordionOnResolutionChange(isDesktop) {
|
|
94
|
+
if (isDesktop && this.accordionEl && this.context === 'edit') {
|
|
95
|
+
this.accordionEl.open();
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
componentWillLoad() {
|
|
99
|
+
processTranslations('tet-components', 'lv').then(() => forceUpdate(this));
|
|
100
|
+
}
|
|
101
|
+
render() {
|
|
102
|
+
const cartTitle = t('components-b2b-cart-title');
|
|
103
|
+
const isEditMode = this.context === 'edit';
|
|
104
|
+
const isCheckoutMode = this.context === 'checkout';
|
|
105
|
+
const showSummary = !this.isCartEmpty && (isEditMode || (isCheckoutMode && this.isAccordionOpen));
|
|
106
|
+
return (h(Host, { key: 'd45cdb03a56d3ba7af8a6a3665d5800e4931d596' }, h("div", { key: '197dee4e7ee59fc0a4b5b3990d6ad9801e39e56b', class: { cart: true, [`${this.theme}`]: true, [`${this.context}`]: true } }, h("tet-accordion", { key: '10dbdf166982087d8aa61e386f53802aa1d4793d', ref: (el) => (this.accordionEl = el), class: {
|
|
107
|
+
'cart__accordion': true,
|
|
108
|
+
[`cart__accordion--${this.context}`]: true,
|
|
109
|
+
'cart__accordion--rounded': this.isCartEmpty || (isCheckoutMode && !this.isAccordionOpen)
|
|
110
|
+
}, isOpen: this.isAccordionOpen, onOpenChanged: this.handleAccordionChanged, header: cartTitle, withBorder: true, theme: this.theme, transparentBackground: true }, h("div", { key: '518b46e3ab31d836ab22522c6dfbc621e20d4b34', class: `cart__title--${this.context}` }, cartTitle), h("div", { key: '00d1a740549ad56e06a0dcece42d3ae07bb6bd08', class: "cart__content" }, this.isCartEmpty ? this.renderEmptyContent() : [this.renderContent()])), showSummary && this.renderSummary())));
|
|
111
|
+
}
|
|
112
|
+
static get is() { return "tet-b2b-configurator-cart"; }
|
|
113
|
+
static get encapsulation() { return "shadow"; }
|
|
114
|
+
static get originalStyleUrls() {
|
|
115
|
+
return {
|
|
116
|
+
"$": ["tet-b2b-configurator-cart.scss"]
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
static get styleUrls() {
|
|
120
|
+
return {
|
|
121
|
+
"$": ["tet-b2b-configurator-cart.css"]
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
static get properties() {
|
|
125
|
+
return {
|
|
126
|
+
"theme": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"mutable": false,
|
|
129
|
+
"complexType": {
|
|
130
|
+
"original": "'light' | 'dark'",
|
|
131
|
+
"resolved": "\"dark\" | \"light\"",
|
|
132
|
+
"references": {}
|
|
133
|
+
},
|
|
134
|
+
"required": false,
|
|
135
|
+
"optional": false,
|
|
136
|
+
"docs": {
|
|
137
|
+
"tags": [{
|
|
138
|
+
"name": "default",
|
|
139
|
+
"text": "'light'"
|
|
140
|
+
}],
|
|
141
|
+
"text": "The theme used for the component's styling."
|
|
142
|
+
},
|
|
143
|
+
"attribute": "theme",
|
|
144
|
+
"reflect": false,
|
|
145
|
+
"defaultValue": "'light'"
|
|
146
|
+
},
|
|
147
|
+
"data": {
|
|
148
|
+
"type": "unknown",
|
|
149
|
+
"mutable": false,
|
|
150
|
+
"complexType": {
|
|
151
|
+
"original": "B2BCartData",
|
|
152
|
+
"resolved": "{ summaryAmount: string; summarySavings: string; primaryAmount: string; secondaryAmount: string; primaryCount: number; secondaryCount: number; hasPrimaryNotification?: boolean; hasSecondaryNotification?: boolean; }",
|
|
153
|
+
"references": {
|
|
154
|
+
"B2BCartData": {
|
|
155
|
+
"location": "local",
|
|
156
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.tsx",
|
|
157
|
+
"id": "src/components/views/tet-b2b-configurator/partials/tet-b2b-configurator-cart/tet-b2b-configurator-cart.tsx::B2BCartData"
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"required": false,
|
|
162
|
+
"optional": false,
|
|
163
|
+
"docs": {
|
|
164
|
+
"tags": [],
|
|
165
|
+
"text": "The data object containing summary and content details."
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
"isCartEmpty": {
|
|
169
|
+
"type": "boolean",
|
|
170
|
+
"mutable": false,
|
|
171
|
+
"complexType": {
|
|
172
|
+
"original": "boolean",
|
|
173
|
+
"resolved": "boolean",
|
|
174
|
+
"references": {}
|
|
175
|
+
},
|
|
176
|
+
"required": false,
|
|
177
|
+
"optional": false,
|
|
178
|
+
"docs": {
|
|
179
|
+
"tags": [],
|
|
180
|
+
"text": "Indicates whether to render placeholder for empty cart."
|
|
181
|
+
},
|
|
182
|
+
"attribute": "is-cart-empty",
|
|
183
|
+
"reflect": false,
|
|
184
|
+
"defaultValue": "true"
|
|
185
|
+
},
|
|
186
|
+
"context": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"mutable": false,
|
|
189
|
+
"complexType": {
|
|
190
|
+
"original": "'edit' | 'checkout'",
|
|
191
|
+
"resolved": "\"checkout\" | \"edit\"",
|
|
192
|
+
"references": {}
|
|
193
|
+
},
|
|
194
|
+
"required": false,
|
|
195
|
+
"optional": false,
|
|
196
|
+
"docs": {
|
|
197
|
+
"tags": [],
|
|
198
|
+
"text": "Context in which cart is renderd. `edit` will result in more details"
|
|
199
|
+
},
|
|
200
|
+
"attribute": "context",
|
|
201
|
+
"reflect": false,
|
|
202
|
+
"defaultValue": "'edit'"
|
|
203
|
+
},
|
|
204
|
+
"isDesktopResolution": {
|
|
205
|
+
"type": "boolean",
|
|
206
|
+
"mutable": false,
|
|
207
|
+
"complexType": {
|
|
208
|
+
"original": "boolean",
|
|
209
|
+
"resolved": "boolean",
|
|
210
|
+
"references": {}
|
|
211
|
+
},
|
|
212
|
+
"required": false,
|
|
213
|
+
"optional": false,
|
|
214
|
+
"docs": {
|
|
215
|
+
"tags": [],
|
|
216
|
+
"text": "Indicates whether component's parent is in desktop resolution."
|
|
217
|
+
},
|
|
218
|
+
"attribute": "is-desktop-resolution",
|
|
219
|
+
"reflect": false,
|
|
220
|
+
"defaultValue": "true"
|
|
221
|
+
}
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
static get states() {
|
|
225
|
+
return {
|
|
226
|
+
"isAccordionOpen": {},
|
|
227
|
+
"isPrimaryBlockOpen": {},
|
|
228
|
+
"isSecondaryBlockOpen": {},
|
|
229
|
+
"primarySlotFilled": {},
|
|
230
|
+
"secondarySlotFilled": {}
|
|
231
|
+
};
|
|
232
|
+
}
|
|
233
|
+
static get watchers() {
|
|
234
|
+
return [{
|
|
235
|
+
"propName": "isDesktopResolution",
|
|
236
|
+
"methodName": "openAccordionOnResolutionChange"
|
|
237
|
+
}];
|
|
238
|
+
}
|
|
239
|
+
}
|
package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js
CHANGED
|
@@ -51,7 +51,7 @@ export class TetB2bServiceCalculator {
|
|
|
51
51
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("section", { key: '
|
|
54
|
+
return (h("section", { key: '2c9f6ae01ab12735b3492888fc1febd0fd51b546', class: "container" }, h("div", { key: '60394cb7349120b48616aba0a870ef8685edc40a', class: "title-block" }, t('components-b2b-calculator-title')), h("div", { key: 'd2ac7f4fdd410ee189d050bd4d5fd1bb0f73b4a5', class: "calculator-block" }, h("p", { key: 'edf8926835f672ebc008caef3deec3e4cc7b5a14', class: "slider-title" }, t('components-b2b-calculator-computer-count')), h("tet-range-slider", { key: 'fdfd40e6e3e1b7824f228d541bc9ace2ccbc46b6', class: "slider", size: "large", type: "primary", defaultValue: 75, maxValue: 100, withControls: false, withInput: false, dataPoints: [1, 20, 40, 60, 80, 100], displayDataPoints: [1, 20, 40, 60, 80, 100], lockToDataPoint: false }), h("div", { key: 'd9ed76461682c5494ccaf9468ae2dbbd1ca931cd', class: "control-container" }, h("div", { key: 'f55b79ff0c175a60d11c1ceec0fa313305a82098', class: "control" }, h("tet-checkbox", { key: '9b1201c8b9fce6d1f53287a53fa9ea2dfa62a93c', class: "it-admin-checkbox", checked: this.withItAdmin, onCheck: this.handleWithItAdminValueChange }, t('components-b2b-calculator-it-admin-checkbox-label'))), h("div", { key: 'edd7d131801763c3ef5bf886e30eb1c706b9fa84', class: "control" }, h("tet-switch", { key: 'd76ad9657552b463be81cadbb3c8f53515a455e4', class: "in-person-support-switch", checked: this.withInPersonServiceSupport, onCheck: this.handleInPersonServiceSupportValueChange }, t('components-b2b-calculator-in-person-support-switch-label')))), h("div", { key: '2ad7f8f75baa33950f255d6a23bf40aca1fdd6e4', class: "monthly-payment-block" }, h("p", { key: '3d3f196760ed91e719a1c72c9feb97dcfde3f2d5', class: "title" }, t('components-b2b-calculator-potential-monthly-payment')), h("p", { key: '1f7ab898634ab62c1404de4fcf0aa4c2c186e326' }, h("span", { key: 'b9351441346c8dc61020a50c17078749b169c682', class: "price" }, this.totalPrice), h("span", { key: '4ce5d394d7488d3e85e2821bcc7be409c33d71ac', class: "currency" }, t('components-euro-per-month')))))));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "tet-b2b-service-calculator"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -46,7 +46,7 @@ export class TetBusinessLines {
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: 'b4c4543b0c9bd1e362714f1c96ddf03b99def211', class: "container" }, this.showHeadings && this.renderHeadings(), h("div", { key: 'bb902fa1e8f85a321ce950e4ba27e14d23253a70', class: "business-line-wrapper" }, (_a = this.businessLines) === null || _a === void 0 ? void 0 : _a.map(this.renderBusinessLineItem))));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "tet-business-lines"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -86,9 +86,6 @@ describe('tet-price-view', () => {
|
|
|
86
86
|
const style = container.getAttribute('style') || '';
|
|
87
87
|
expect(style).toContain('width: 7rem');
|
|
88
88
|
expect(style).toContain('height: 7rem');
|
|
89
|
-
const heading = page.root.shadowRoot.querySelector('.price-view__heading');
|
|
90
|
-
const headingStyle = heading.getAttribute('style') || '';
|
|
91
|
-
expect(headingStyle).toContain('font-size: 0.875rem');
|
|
92
89
|
});
|
|
93
90
|
it('sets custom font on price block', async () => {
|
|
94
91
|
const page = await newSpecPage({
|
|
@@ -2,10 +2,6 @@
|
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.price-view {
|
|
6
|
-
padding: 1rem;
|
|
7
|
-
text-align: center;
|
|
8
|
-
}
|
|
9
5
|
.price-view__container {
|
|
10
6
|
box-sizing: border-box;
|
|
11
7
|
font-family: Inter, sans-serif;
|
|
@@ -15,6 +11,18 @@
|
|
|
15
11
|
border-radius: 1rem;
|
|
16
12
|
container-type: inline-size;
|
|
17
13
|
}
|
|
14
|
+
.price-view__container.dark:not(.static-colors).price-view__white {
|
|
15
|
+
background-color: var(--tc-layer-inverse-primary, rgb(12, 12, 14));
|
|
16
|
+
color: var(--tc-text-inverse-primary, rgb(253, 253, 253));
|
|
17
|
+
}
|
|
18
|
+
.price-view__container.dark:not(.static-colors).price-view__grey {
|
|
19
|
+
background-color: var(--tc-grey-10-dark, rgb(24, 25, 27));
|
|
20
|
+
color: var(--tc-text-inverse-primary, rgb(253, 253, 253));
|
|
21
|
+
}
|
|
22
|
+
.price-view__container.dark:not(.static-colors).price-view__black {
|
|
23
|
+
background-color: var(--tc-layer-primary, rgb(255, 255, 255));
|
|
24
|
+
color: var(--tc-text-primary, rgb(12, 12, 14));
|
|
25
|
+
}
|
|
18
26
|
.price-view__white {
|
|
19
27
|
background-color: var(--tc-layer-primary, rgb(255, 255, 255));
|
|
20
28
|
color: var(--tc-text-primary, rgb(12, 12, 14));
|
|
@@ -34,11 +42,10 @@
|
|
|
34
42
|
.price-view__body {
|
|
35
43
|
margin: auto;
|
|
36
44
|
width: fit-content;
|
|
37
|
-
height:
|
|
45
|
+
height: fit-content;
|
|
38
46
|
display: flex;
|
|
39
47
|
flex-direction: column;
|
|
40
|
-
|
|
41
|
-
justify-content: space-evenly;
|
|
48
|
+
justify-content: space-between;
|
|
42
49
|
}
|
|
43
50
|
.price-view__heading {
|
|
44
51
|
text-align: left;
|