@tet/tet-components 1.3.112-testing → 1.3.113-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-d2b7628d.js → address-86670c33.js} +1 -1
- package/dist/cjs/{assets-cf19c33d.js → assets-44d8d688.js} +1 -1
- package/dist/cjs/{async-request-433f54e5.js → async-request-b7023cc7.js} +1 -1
- package/dist/cjs/{http-codes-c2a24ff3.js → http-codes-e46d4b01.js} +3 -2
- package/dist/cjs/{index-84ede372.js → index-457201e1.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-66913c99.js} +25 -13
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-1a20fe25.js → old-utils-7667ffaa.js} +1 -1
- package/dist/cjs/{phone-c264803a.js → phone-4aadc5b9.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-d753e207.js} +2 -2
- package/dist/cjs/{translations-571bba05.js → translations-ed4a53af.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-a5ed2a57.js → p-0832f5aa.js} +3 -3
- package/dist/components/{p-ca24a2b9.js → p-0db91e85.js} +6 -6
- package/dist/{esm/http-codes-03b4e7fe.js → components/p-0f3158fd.js} +47 -45
- package/dist/components/{p-8de02db3.js → p-14a1ad7c.js} +1 -1
- package/dist/components/{p-00f53046.js → p-17e69e3a.js} +4 -4
- package/dist/components/{p-e0fcd0d0.js → p-18c88a11.js} +4 -4
- package/dist/components/{p-b92cb98d.js → p-1d5f78ed.js} +10 -10
- package/dist/components/{p-a96cb71f.js → p-271b9297.js} +3 -3
- package/dist/components/{p-bce2db0b.js → p-2af997d2.js} +14 -14
- package/dist/components/{p-c4f3dcb1.js → p-2d12d3cc.js} +1 -1
- package/dist/components/{p-c3ddbe1d.js → p-36afc9d0.js} +7 -7
- package/dist/components/{p-a0d406ca.js → p-4d00761a.js} +1 -1
- package/dist/components/{p-413f5db2.js → p-4e77196b.js} +3 -3
- package/dist/components/p-54202f73.js +169 -0
- package/dist/components/{p-f5ecf4be.js → p-56afe36a.js} +5 -5
- package/dist/components/{p-816f13b1.js → p-571e3251.js} +2 -2
- package/dist/components/{p-37ed3ebb.js → p-599035b8.js} +1 -1
- package/dist/components/{p-0354523f.js → p-5cb8f0f9.js} +3 -3
- package/dist/components/{p-ccd56026.js → p-60140397.js} +3 -3
- package/dist/components/{p-c5705423.js → p-618442a2.js} +2 -2
- package/dist/components/{p-659824f8.js → p-642d5f4a.js} +1 -1
- package/dist/components/{p-1a7f8491.js → p-657d3ace.js} +2 -2
- package/dist/components/{p-488c6bcd.js → p-668d8ce8.js} +1 -1
- package/dist/components/{p-cc60fdfc.js → p-6ea57810.js} +60 -29
- package/dist/components/{p-aae5dd07.js → p-7526b39a.js} +7 -7
- package/dist/components/{p-942f2f2f.js → p-76950bcc.js} +3 -3
- package/dist/components/{p-b04f1884.js → p-7ab0047d.js} +3 -3
- package/dist/components/{p-cbcafcc1.js → p-7ff8145b.js} +7 -7
- package/dist/components/{p-0dbcf33c.js → p-80dee0f7.js} +7 -7
- package/dist/components/{p-ef961ffc.js → p-82525b58.js} +1 -1
- package/dist/components/{p-3d4d41b6.js → p-88a4574a.js} +2 -2
- package/dist/components/{p-f4f1fda6.js → p-8cbcbaa3.js} +2 -2
- package/dist/components/{p-f42eb28d.js → p-9273cd8b.js} +3 -3
- package/dist/components/{p-f319e831.js → p-9620c891.js} +10 -10
- package/dist/components/{p-7751f5b3.js → p-9dc29063.js} +2 -2
- package/dist/components/{p-a3a3d769.js → p-a24316dc.js} +2 -2
- package/dist/components/{p-da0686a7.js → p-a348eea2.js} +3 -3
- package/dist/components/{p-718290ba.js → p-a92e8daf.js} +1 -1
- package/dist/components/{p-e654a1e3.js → p-ac5fceaf.js} +2 -2
- package/dist/components/{p-aa90e33b.js → p-b8a43772.js} +1 -1
- package/dist/components/{p-88b42c67.js → p-bd781cf7.js} +1 -1
- package/dist/components/{p-c6ece8b8.js → p-c1124e8b.js} +2 -2
- package/dist/components/{p-066b5f7f.js → p-c96d6546.js} +3 -3
- package/dist/components/{p-8584be85.js → p-cf01507c.js} +6 -6
- package/dist/components/{p-705296ed.js → p-cffd5888.js} +1 -1
- package/dist/components/{p-ec271fad.js → p-d120fe4e.js} +3 -3
- package/dist/components/{p-1169a5db.js → p-d22364a1.js} +2 -2
- package/dist/components/{p-c24c8135.js → p-d8721d5f.js} +2 -2
- package/dist/components/{p-0ba4b141.js → p-e3eb7228.js} +2 -2
- package/dist/components/{p-aa2e4bac.js → p-eaeda9ee.js} +11 -11
- package/dist/components/{p-b5a7f393.js → p-f11ec31c.js} +9 -9
- package/dist/components/{p-d3236077.js → p-fd3516f1.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-b0117ba0.js} +1 -1
- package/dist/esm/{assets-9f343e6e.js → assets-37a5c8c3.js} +1 -1
- package/dist/esm/{async-request-5b1897cb.js → async-request-cf9b4a3e.js} +1 -1
- package/dist/{components/p-195cefb5.js → esm/http-codes-81b59da4.js} +46 -46
- package/dist/esm/{index-7f1e2a22.js → index-ce62f11b.js} +25 -13
- package/dist/esm/{index-1bf36cb9.js → index-d502e34e.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-13592797.js → old-utils-d4195669.js} +1 -1
- package/dist/esm/{phone-36ef7090.js → phone-92480bd8.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-bf063190.js} +2 -2
- package/dist/esm/{translations-11287bda.js → translations-4ce15979.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-75693c62.js → p-010882b8.js} +1 -1
- package/dist/tet-components/{p-e8411d46.entry.js → p-02f33ac1.entry.js} +1 -1
- package/dist/tet-components/{p-fd4c0831.entry.js → p-0f54e651.entry.js} +1 -1
- package/dist/tet-components/{p-964aa776.entry.js → p-102f23ff.entry.js} +1 -1
- package/dist/tet-components/{p-51a13ab5.entry.js → p-106fa96e.entry.js} +1 -1
- package/dist/tet-components/{p-8fc703e5.entry.js → p-15fbf2b6.entry.js} +1 -1
- package/dist/tet-components/{p-370989ca.entry.js → p-1a8a60ac.entry.js} +1 -1
- package/dist/tet-components/{p-ef2c9d65.entry.js → p-1b3b74b9.entry.js} +1 -1
- package/dist/tet-components/p-1d14c865.js +2 -0
- package/dist/tet-components/{p-1af40e05.entry.js → p-1e82f209.entry.js} +1 -1
- package/dist/tet-components/p-2230b86a.entry.js +1 -0
- package/dist/tet-components/p-22a8a7cc.entry.js +1 -0
- package/dist/tet-components/{p-e7388a99.entry.js → p-25cde975.entry.js} +1 -1
- package/dist/tet-components/{p-a89a8dca.entry.js → p-292d2657.entry.js} +1 -1
- package/dist/tet-components/{p-30381b58.entry.js → p-2c5055af.entry.js} +1 -1
- package/dist/tet-components/{p-f864a0d9.entry.js → p-3075e452.entry.js} +1 -1
- package/dist/tet-components/{p-118bad7e.entry.js → p-317c3cf0.entry.js} +1 -1
- package/dist/tet-components/{p-73cb9d90.entry.js → p-31c4177c.entry.js} +1 -1
- package/dist/tet-components/{p-66eaa633.js → p-34a97f00.js} +1 -1
- package/dist/tet-components/{p-a98b7b04.entry.js → p-3517bd2b.entry.js} +1 -1
- package/dist/tet-components/{p-15f4bafd.entry.js → p-3e5a0308.entry.js} +1 -1
- package/dist/tet-components/{p-f76f171b.entry.js → p-3e8c7e1f.entry.js} +1 -1
- package/dist/tet-components/p-4074482b.entry.js +1 -0
- package/dist/tet-components/{p-a07b07db.entry.js → p-44ace246.entry.js} +1 -1
- package/dist/tet-components/{p-2b582c3d.entry.js → p-4510a50a.entry.js} +1 -1
- package/dist/tet-components/{p-d1608c63.js → p-4659d37a.js} +1 -1
- package/dist/tet-components/{p-7a89815d.entry.js → p-476faca5.entry.js} +1 -1
- package/dist/tet-components/{p-4f47b1ba.entry.js → p-486383f7.entry.js} +1 -1
- package/dist/tet-components/{p-60cca146.entry.js → p-4b6e0078.entry.js} +1 -1
- package/dist/tet-components/{p-c79e0e7a.entry.js → p-50b61730.entry.js} +1 -1
- package/dist/tet-components/{p-759be092.entry.js → p-52d88a30.entry.js} +1 -1
- package/dist/tet-components/{p-beeb3cae.entry.js → p-536ebeaa.entry.js} +1 -1
- package/dist/tet-components/{p-c9d2d8f6.entry.js → p-5a3ea6ce.entry.js} +1 -1
- package/dist/tet-components/p-5c57bab3.entry.js +1 -0
- package/dist/tet-components/p-61ca5b01.entry.js +1 -0
- package/dist/tet-components/{p-583a5b04.entry.js → p-61ee03a9.entry.js} +1 -1
- package/dist/tet-components/{p-272a180d.entry.js → p-645606a4.entry.js} +1 -1
- package/dist/tet-components/{p-96d9e17e.entry.js → p-6b0c3899.entry.js} +1 -1
- package/dist/tet-components/{p-dfe87119.entry.js → p-6fab0aec.entry.js} +1 -1
- package/dist/tet-components/{p-86a38845.entry.js → p-79068803.entry.js} +1 -1
- package/dist/tet-components/{p-3cffaf02.entry.js → p-7a9e7772.entry.js} +1 -1
- package/dist/tet-components/{p-e106f5a0.entry.js → p-7f80fe87.entry.js} +1 -1
- package/dist/tet-components/{p-96b88c24.entry.js → p-82ba6285.entry.js} +1 -1
- package/dist/tet-components/{p-3019fe9e.entry.js → p-8336e612.entry.js} +1 -1
- package/dist/tet-components/{p-93fcdf8f.entry.js → p-8848f88f.entry.js} +1 -1
- package/dist/tet-components/{p-eff5f830.entry.js → p-89125992.entry.js} +1 -1
- package/dist/tet-components/{p-f8288c41.entry.js → p-8b8e658d.entry.js} +1 -1
- package/dist/tet-components/p-8b9f2ed6.js +1 -0
- package/dist/tet-components/p-8fdf79e7.entry.js +1 -0
- package/dist/tet-components/{p-f187837a.entry.js → p-94b957c3.entry.js} +1 -1
- package/dist/tet-components/{p-ea2b3ea1.js → p-9506192e.js} +1 -1
- package/dist/tet-components/{p-0543b211.entry.js → p-958a6ba0.entry.js} +1 -1
- package/dist/tet-components/{p-7ed0df9e.entry.js → p-96a1d750.entry.js} +1 -1
- package/dist/tet-components/{p-5c542afa.entry.js → p-9727e33f.entry.js} +1 -1
- package/dist/tet-components/{p-e0b4320d.entry.js → p-979914a2.entry.js} +1 -1
- package/dist/tet-components/{p-e5bc2402.entry.js → p-98277c90.entry.js} +1 -1
- package/dist/tet-components/{p-ebb36c6a.entry.js → p-9f281ca5.entry.js} +1 -1
- package/dist/tet-components/{p-04a794db.entry.js → p-a0a53bfe.entry.js} +1 -1
- package/dist/tet-components/{p-a7c0fd47.entry.js → p-a2648f6a.entry.js} +1 -1
- package/dist/tet-components/{p-5b360a66.entry.js → p-a4a01207.entry.js} +1 -1
- package/dist/tet-components/{p-316ae4e2.entry.js → p-a7764c8f.entry.js} +1 -1
- package/dist/tet-components/{p-8ee9bb5c.entry.js → p-ab149c6c.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-aba811f3.js} +1 -1
- package/dist/tet-components/{p-c4812370.entry.js → p-b0c3808f.entry.js} +1 -1
- package/dist/tet-components/{p-cbec683e.entry.js → p-b2bb8175.entry.js} +1 -1
- package/dist/tet-components/{p-fdb22604.entry.js → p-b7f82689.entry.js} +1 -1
- package/dist/tet-components/{p-68870ce2.entry.js → p-b81187a0.entry.js} +1 -1
- package/dist/tet-components/{p-ff4beaee.entry.js → p-b9b66d86.entry.js} +1 -1
- package/dist/tet-components/{p-3ead04a2.entry.js → p-bd53e3e0.entry.js} +1 -1
- package/dist/tet-components/{p-281dbdb7.entry.js → p-c3bb6c49.entry.js} +1 -1
- package/dist/tet-components/{p-091e774d.entry.js → p-c47543e1.entry.js} +1 -1
- package/dist/tet-components/{p-3ea5e48b.entry.js → p-c9b8d9e5.entry.js} +1 -1
- package/dist/tet-components/{p-13bc3403.entry.js → p-cb24fe73.entry.js} +1 -1
- package/dist/tet-components/{p-59db86cf.entry.js → p-ce8db103.entry.js} +1 -1
- package/dist/tet-components/{p-90ff9242.entry.js → p-d04ef670.entry.js} +1 -1
- package/dist/tet-components/{p-a7f3696d.entry.js → p-d2bcb315.entry.js} +1 -1
- package/dist/tet-components/p-d7c992b5.entry.js +1 -0
- package/dist/tet-components/{p-83d4cc1a.entry.js → p-d95679b7.entry.js} +1 -1
- package/dist/tet-components/{p-36c1f441.entry.js → p-df570014.entry.js} +1 -1
- package/dist/tet-components/{p-ca704b45.entry.js → p-dfe5e9b6.entry.js} +1 -1
- package/dist/tet-components/{p-767e3602.entry.js → p-e03d947b.entry.js} +1 -1
- package/dist/tet-components/{p-fd4d1ca5.js → p-e4275fa3.js} +1 -1
- package/dist/tet-components/{p-406551c3.entry.js → p-e62ddf2e.entry.js} +1 -1
- package/dist/tet-components/{p-ef909de3.js → p-ea0b2e6d.js} +1 -1
- package/dist/tet-components/{p-0d4242c6.entry.js → p-ec92e5b7.entry.js} +1 -1
- package/dist/tet-components/{p-44bd9249.js → p-ec9cfda2.js} +1 -1
- package/dist/tet-components/{p-d583f423.entry.js → p-ed23ebf6.entry.js} +1 -1
- package/dist/tet-components/{p-b80782f2.entry.js → p-f02bfffd.entry.js} +1 -1
- package/dist/tet-components/{p-7e9c8900.entry.js → p-f7b95248.entry.js} +1 -1
- package/dist/tet-components/{p-c0f44eed.entry.js → p-f9f96d38.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-1ec7f341.js +0 -2
- 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,354 @@
|
|
|
1
|
+
import { forceUpdate, h } from "@stencil/core";
|
|
2
|
+
import { processTranslations, t } from "../../../../services/translations/index";
|
|
3
|
+
import { a11yBtnClick } from "../../../../services/utils/a11y";
|
|
4
|
+
export class TetBusinessSummaryCardComponent {
|
|
5
|
+
constructor() {
|
|
6
|
+
/** Function to render stepper label if provided */
|
|
7
|
+
this.renderLabel = (withValue) => {
|
|
8
|
+
const { stepperLabel, value } = this;
|
|
9
|
+
if (!stepperLabel) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
if (withValue) {
|
|
13
|
+
return (h("span", { class: "contract-term" }, stepperLabel, ": ", value));
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
return h("span", { class: "stepper-label" }, stepperLabel);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
/** Render stepper if necessary */
|
|
20
|
+
this.renderStepper = () => {
|
|
21
|
+
const { withStepper, theme, value, minValue, maxValue } = this;
|
|
22
|
+
if (!withStepper) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
return (h("div", { class: "stepper-wrapper" }, this.renderLabel(false), h("tet-stepper-input", { class: "business-summary-card__stepper", theme: theme, value: value, step: 1, min: minValue, max: maxValue, onInputValueChanged: (e) => {
|
|
26
|
+
this.value = e.detail;
|
|
27
|
+
this.amountChange.emit(e);
|
|
28
|
+
} })));
|
|
29
|
+
};
|
|
30
|
+
/** Render Edit or Delete Icon Button */
|
|
31
|
+
this.renderIconButton = (type) => {
|
|
32
|
+
const buttonType = type === 'tc-edit-box' ? 'edit' : 'delete';
|
|
33
|
+
const buttonClickEvent = (e) => {
|
|
34
|
+
type === 'tc-edit-box' ? this.editButtonClick.emit(e) : this.deleteButtonClick.emit(e);
|
|
35
|
+
};
|
|
36
|
+
return (h("button", { class: "icon-button", onClick: (e) => buttonClickEvent(e), onKeyDown: a11yBtnClick }, h("tet-icon", { class: buttonType, name: type, focusable: false })));
|
|
37
|
+
};
|
|
38
|
+
this.productName = undefined;
|
|
39
|
+
this.price = undefined;
|
|
40
|
+
this.productDescription = undefined;
|
|
41
|
+
this.discountPrice = undefined;
|
|
42
|
+
this.currency = undefined;
|
|
43
|
+
this.contractTerm = undefined;
|
|
44
|
+
this.theme = 'light';
|
|
45
|
+
this.withStepper = false;
|
|
46
|
+
this.value = undefined;
|
|
47
|
+
this.minValue = undefined;
|
|
48
|
+
this.maxValue = undefined;
|
|
49
|
+
this.stepperLabel = undefined;
|
|
50
|
+
this.language = 'lv';
|
|
51
|
+
}
|
|
52
|
+
async componentWillLoad() {
|
|
53
|
+
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
54
|
+
}
|
|
55
|
+
/** Return functional Component */
|
|
56
|
+
render() {
|
|
57
|
+
const { productName, price, productDescription, discountPrice, currency, contractTerm, theme } = this;
|
|
58
|
+
return (h("div", { key: 'c7c92be736090e0d7b5702045cda3f5dc784b2c9', class: { 'business-summary-card': true, [`theme-${theme}`]: true } }, h("div", { key: 'b5899323a164f8484141a07b3d04636d5a7e18e1', class: "business-summary-card-content" }, h("div", { key: 'af2fc75db34cdd8833e22712dca27b1bc6822f69', class: "business-summary-card-content__left" }, h("div", { key: 'b9114bde0c949e321804bf33482b32ad697f5de9', class: "content-wrapper" }, h("span", { key: 'd3500b1342152862c46a142d410f4dfe64d2a2ac', class: "title" }, productName), h("span", { key: 'c57433c937da7b8c65a6f472cb0d2128080c3a6e', class: "description" }, productDescription))), h("div", { key: 'bcfc79eca402d9173c4e4cd5cd14a10d569152fc', class: "business-summary-card-content__right" }, h("div", { key: '46d73a513e4083173c824c55291eafda92af27e7', class: "content-wrapper" }, h("span", { key: '5d4d8554314ca980d3f229b062274e03a0af0ad0', class: "title" }, `${discountPrice || price} ${currency}`), !!discountPrice && (h("span", { key: '1140290797f6f2545f0e5950f269f5614bcb67f7', class: { description: true, price: !!discountPrice } }, `${price} ${currency}`))))), h("div", { key: 'c24af0be30e6ce0192bbcccb591b8e4e743f08c4', class: "business-summary-card-content" }, h("span", { key: '6d4ef2b56afd23636039420c1fba0e7a839fa106', class: "contract-term" }, t('components-offers-contract-terms-label'), ": ", contractTerm), this.renderLabel(true)), h("div", { key: 'bab7eacc4035bd1ed01dce2445216e5c8dae3688', class: "business-summary-card-content" }, h("div", { key: '8013600fa979a22191aa18ee617810576bf99eb7', class: "business-summary-card-content__left" }, this.renderStepper()), h("div", { key: '5c31eb0aa9674294b5e8139be678dd16255024bc', class: "business-summary-card-content__right" }, h("div", { key: 'bea910fe9f206b186b2f31a4028e981fae5f1ff2', class: "button-wrapper" }, this.renderIconButton('tc-edit-box'), this.renderIconButton('tc-trash-can'))))));
|
|
59
|
+
}
|
|
60
|
+
static get is() { return "tet-business-summary-card"; }
|
|
61
|
+
static get encapsulation() { return "shadow"; }
|
|
62
|
+
static get originalStyleUrls() {
|
|
63
|
+
return {
|
|
64
|
+
"$": ["tet-business-summary-card.scss"]
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
static get styleUrls() {
|
|
68
|
+
return {
|
|
69
|
+
"$": ["tet-business-summary-card.css"]
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
static get properties() {
|
|
73
|
+
return {
|
|
74
|
+
"productName": {
|
|
75
|
+
"type": "string",
|
|
76
|
+
"mutable": false,
|
|
77
|
+
"complexType": {
|
|
78
|
+
"original": "string",
|
|
79
|
+
"resolved": "string",
|
|
80
|
+
"references": {}
|
|
81
|
+
},
|
|
82
|
+
"required": false,
|
|
83
|
+
"optional": false,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": "Product title"
|
|
87
|
+
},
|
|
88
|
+
"attribute": "product-name",
|
|
89
|
+
"reflect": false
|
|
90
|
+
},
|
|
91
|
+
"price": {
|
|
92
|
+
"type": "number",
|
|
93
|
+
"mutable": false,
|
|
94
|
+
"complexType": {
|
|
95
|
+
"original": "number",
|
|
96
|
+
"resolved": "number",
|
|
97
|
+
"references": {}
|
|
98
|
+
},
|
|
99
|
+
"required": false,
|
|
100
|
+
"optional": false,
|
|
101
|
+
"docs": {
|
|
102
|
+
"tags": [],
|
|
103
|
+
"text": "Product standard price"
|
|
104
|
+
},
|
|
105
|
+
"attribute": "price",
|
|
106
|
+
"reflect": false
|
|
107
|
+
},
|
|
108
|
+
"productDescription": {
|
|
109
|
+
"type": "string",
|
|
110
|
+
"mutable": false,
|
|
111
|
+
"complexType": {
|
|
112
|
+
"original": "string",
|
|
113
|
+
"resolved": "string",
|
|
114
|
+
"references": {}
|
|
115
|
+
},
|
|
116
|
+
"required": false,
|
|
117
|
+
"optional": false,
|
|
118
|
+
"docs": {
|
|
119
|
+
"tags": [],
|
|
120
|
+
"text": "Product description"
|
|
121
|
+
},
|
|
122
|
+
"attribute": "product-description",
|
|
123
|
+
"reflect": false
|
|
124
|
+
},
|
|
125
|
+
"discountPrice": {
|
|
126
|
+
"type": "number",
|
|
127
|
+
"mutable": false,
|
|
128
|
+
"complexType": {
|
|
129
|
+
"original": "number",
|
|
130
|
+
"resolved": "number",
|
|
131
|
+
"references": {}
|
|
132
|
+
},
|
|
133
|
+
"required": false,
|
|
134
|
+
"optional": true,
|
|
135
|
+
"docs": {
|
|
136
|
+
"tags": [],
|
|
137
|
+
"text": "Product discount price"
|
|
138
|
+
},
|
|
139
|
+
"attribute": "discount-price",
|
|
140
|
+
"reflect": false
|
|
141
|
+
},
|
|
142
|
+
"currency": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"mutable": false,
|
|
145
|
+
"complexType": {
|
|
146
|
+
"original": "string",
|
|
147
|
+
"resolved": "string",
|
|
148
|
+
"references": {}
|
|
149
|
+
},
|
|
150
|
+
"required": false,
|
|
151
|
+
"optional": false,
|
|
152
|
+
"docs": {
|
|
153
|
+
"tags": [],
|
|
154
|
+
"text": "Currency for given price."
|
|
155
|
+
},
|
|
156
|
+
"attribute": "currency",
|
|
157
|
+
"reflect": false
|
|
158
|
+
},
|
|
159
|
+
"contractTerm": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"mutable": false,
|
|
162
|
+
"complexType": {
|
|
163
|
+
"original": "string",
|
|
164
|
+
"resolved": "string",
|
|
165
|
+
"references": {}
|
|
166
|
+
},
|
|
167
|
+
"required": false,
|
|
168
|
+
"optional": false,
|
|
169
|
+
"docs": {
|
|
170
|
+
"tags": [],
|
|
171
|
+
"text": "Contract term"
|
|
172
|
+
},
|
|
173
|
+
"attribute": "contract-term",
|
|
174
|
+
"reflect": false
|
|
175
|
+
},
|
|
176
|
+
"theme": {
|
|
177
|
+
"type": "string",
|
|
178
|
+
"mutable": false,
|
|
179
|
+
"complexType": {
|
|
180
|
+
"original": "'light' | 'dark'",
|
|
181
|
+
"resolved": "\"dark\" | \"light\"",
|
|
182
|
+
"references": {}
|
|
183
|
+
},
|
|
184
|
+
"required": false,
|
|
185
|
+
"optional": false,
|
|
186
|
+
"docs": {
|
|
187
|
+
"tags": [],
|
|
188
|
+
"text": "Business summary card theme"
|
|
189
|
+
},
|
|
190
|
+
"attribute": "theme",
|
|
191
|
+
"reflect": false,
|
|
192
|
+
"defaultValue": "'light'"
|
|
193
|
+
},
|
|
194
|
+
"withStepper": {
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"mutable": false,
|
|
197
|
+
"complexType": {
|
|
198
|
+
"original": "boolean",
|
|
199
|
+
"resolved": "boolean",
|
|
200
|
+
"references": {}
|
|
201
|
+
},
|
|
202
|
+
"required": false,
|
|
203
|
+
"optional": true,
|
|
204
|
+
"docs": {
|
|
205
|
+
"tags": [],
|
|
206
|
+
"text": "Detects if counting stepper should be rendered."
|
|
207
|
+
},
|
|
208
|
+
"attribute": "with-stepper",
|
|
209
|
+
"reflect": false,
|
|
210
|
+
"defaultValue": "false"
|
|
211
|
+
},
|
|
212
|
+
"value": {
|
|
213
|
+
"type": "number",
|
|
214
|
+
"mutable": false,
|
|
215
|
+
"complexType": {
|
|
216
|
+
"original": "number",
|
|
217
|
+
"resolved": "number",
|
|
218
|
+
"references": {}
|
|
219
|
+
},
|
|
220
|
+
"required": false,
|
|
221
|
+
"optional": true,
|
|
222
|
+
"docs": {
|
|
223
|
+
"tags": [],
|
|
224
|
+
"text": "Number of added products"
|
|
225
|
+
},
|
|
226
|
+
"attribute": "value",
|
|
227
|
+
"reflect": false
|
|
228
|
+
},
|
|
229
|
+
"minValue": {
|
|
230
|
+
"type": "number",
|
|
231
|
+
"mutable": false,
|
|
232
|
+
"complexType": {
|
|
233
|
+
"original": "number",
|
|
234
|
+
"resolved": "number",
|
|
235
|
+
"references": {}
|
|
236
|
+
},
|
|
237
|
+
"required": false,
|
|
238
|
+
"optional": true,
|
|
239
|
+
"docs": {
|
|
240
|
+
"tags": [],
|
|
241
|
+
"text": "Min amount of added products"
|
|
242
|
+
},
|
|
243
|
+
"attribute": "min-value",
|
|
244
|
+
"reflect": false
|
|
245
|
+
},
|
|
246
|
+
"maxValue": {
|
|
247
|
+
"type": "number",
|
|
248
|
+
"mutable": false,
|
|
249
|
+
"complexType": {
|
|
250
|
+
"original": "number",
|
|
251
|
+
"resolved": "number",
|
|
252
|
+
"references": {}
|
|
253
|
+
},
|
|
254
|
+
"required": false,
|
|
255
|
+
"optional": true,
|
|
256
|
+
"docs": {
|
|
257
|
+
"tags": [],
|
|
258
|
+
"text": "Max possible amount of added products"
|
|
259
|
+
},
|
|
260
|
+
"attribute": "max-value",
|
|
261
|
+
"reflect": false
|
|
262
|
+
},
|
|
263
|
+
"stepperLabel": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"mutable": false,
|
|
266
|
+
"complexType": {
|
|
267
|
+
"original": "string",
|
|
268
|
+
"resolved": "string",
|
|
269
|
+
"references": {}
|
|
270
|
+
},
|
|
271
|
+
"required": false,
|
|
272
|
+
"optional": true,
|
|
273
|
+
"docs": {
|
|
274
|
+
"tags": [],
|
|
275
|
+
"text": "Label for stepper"
|
|
276
|
+
},
|
|
277
|
+
"attribute": "stepper-label",
|
|
278
|
+
"reflect": false
|
|
279
|
+
},
|
|
280
|
+
"language": {
|
|
281
|
+
"type": "string",
|
|
282
|
+
"mutable": false,
|
|
283
|
+
"complexType": {
|
|
284
|
+
"original": "Language",
|
|
285
|
+
"resolved": "\"en\" | \"lv\" | \"ru\"",
|
|
286
|
+
"references": {
|
|
287
|
+
"Language": {
|
|
288
|
+
"location": "import",
|
|
289
|
+
"path": "@services/translations",
|
|
290
|
+
"id": "src/services/translations/index.ts::Language"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": false,
|
|
295
|
+
"optional": false,
|
|
296
|
+
"docs": {
|
|
297
|
+
"tags": [],
|
|
298
|
+
"text": "Summary card language"
|
|
299
|
+
},
|
|
300
|
+
"attribute": "language",
|
|
301
|
+
"reflect": false,
|
|
302
|
+
"defaultValue": "'lv'"
|
|
303
|
+
}
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
static get events() {
|
|
307
|
+
return [{
|
|
308
|
+
"method": "editButtonClick",
|
|
309
|
+
"name": "editButtonClick",
|
|
310
|
+
"bubbles": true,
|
|
311
|
+
"cancelable": true,
|
|
312
|
+
"composed": true,
|
|
313
|
+
"docs": {
|
|
314
|
+
"tags": [],
|
|
315
|
+
"text": "Emit event when Edit button clicked"
|
|
316
|
+
},
|
|
317
|
+
"complexType": {
|
|
318
|
+
"original": "any",
|
|
319
|
+
"resolved": "any",
|
|
320
|
+
"references": {}
|
|
321
|
+
}
|
|
322
|
+
}, {
|
|
323
|
+
"method": "deleteButtonClick",
|
|
324
|
+
"name": "deleteButtonClick",
|
|
325
|
+
"bubbles": true,
|
|
326
|
+
"cancelable": true,
|
|
327
|
+
"composed": true,
|
|
328
|
+
"docs": {
|
|
329
|
+
"tags": [],
|
|
330
|
+
"text": "Emit event when Delete button clicked"
|
|
331
|
+
},
|
|
332
|
+
"complexType": {
|
|
333
|
+
"original": "any",
|
|
334
|
+
"resolved": "any",
|
|
335
|
+
"references": {}
|
|
336
|
+
}
|
|
337
|
+
}, {
|
|
338
|
+
"method": "amountChange",
|
|
339
|
+
"name": "amountChange",
|
|
340
|
+
"bubbles": true,
|
|
341
|
+
"cancelable": true,
|
|
342
|
+
"composed": true,
|
|
343
|
+
"docs": {
|
|
344
|
+
"tags": [],
|
|
345
|
+
"text": "Emit event when amount of products changed"
|
|
346
|
+
},
|
|
347
|
+
"complexType": {
|
|
348
|
+
"original": "any",
|
|
349
|
+
"resolved": "any",
|
|
350
|
+
"references": {}
|
|
351
|
+
}
|
|
352
|
+
}];
|
|
353
|
+
}
|
|
354
|
+
}
|
|
@@ -646,19 +646,19 @@ export class TetCardList {
|
|
|
646
646
|
this.dimensions.element.width = elementRect.width;
|
|
647
647
|
}
|
|
648
648
|
render() {
|
|
649
|
-
return (h(Host, { key: '
|
|
649
|
+
return (h(Host, { key: '2a2742ebc725c162e25aebbce41b04b7e764866b' }, h("div", { key: '88d75ab041af49be4212a6fa9e7e44a9ec368d4f', class: {
|
|
650
650
|
'tet-card-list__container': true,
|
|
651
651
|
'tet-card-list--no-scroll': this.disableScroll,
|
|
652
652
|
[this.theme]: true,
|
|
653
|
-
}, part: "card-list-container" }, h("div", { key: '
|
|
653
|
+
}, part: "card-list-container" }, h("div", { key: '8df5045f19a2432be163fc53193f40825cdaab96', class: "tet-card-list__scroll-container" }, h("div", { key: 'fdb372952f15ff9b4ee72542488838229b04d9bb', part: "card-list", ref: el => (this.scrollContainerRef = el) }, h("slot", { key: '5eab40577260ab187f04ffc8f22f38aeed8ec673' }))), h("tet-button", { key: '8d232e883eb0150ff09cfbe1f24c08c7d14bc00e', theme: this.theme, iconMode: true, class: {
|
|
654
654
|
'tet-card-list__control': true,
|
|
655
655
|
'tet-card-list__control--left': true,
|
|
656
656
|
'tet-card-list__control--hidden': !this.controlVisibility.left,
|
|
657
|
-
}, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleLeftControl, onKeyUp: this.handleLeftControlKeyUp }, h("tet-icon", { key: '
|
|
657
|
+
}, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleLeftControl, onKeyUp: this.handleLeftControlKeyUp }, h("tet-icon", { key: '8796b6b377b659781e724bee4a4cd7d78775d4a6', name: this.iconPrev && this.iconPrev !== '' ? this.iconPrev : 'chevron-left', class: "tet-card-list__control__icon" })), h("tet-button", { key: 'b18f692776c2c39f5c18e5b8a21a0f0a1dc3850e', theme: this.theme, iconMode: true, class: {
|
|
658
658
|
'tet-card-list__control': true,
|
|
659
659
|
'tet-card-list__control--right': true,
|
|
660
660
|
'tet-card-list__control--hidden': !this.controlVisibility.right,
|
|
661
|
-
}, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleRightControl, onKeyUp: this.handleRightControlKeyUp }, h("tet-icon", { key: '
|
|
661
|
+
}, onPointerDown: this.handleControlPointerDown, onPointerUp: this.handleRightControl, onKeyUp: this.handleRightControlKeyUp }, h("tet-icon", { key: 'c33e1c8f49f29b1eb3b62e47c8299dd1ecb554be', name: this.iconNext && this.iconNext !== '' ? this.iconNext : 'chevron-right', class: "tet-card-list__control__icon" })), h("div", { key: '136d81acfa4231eb5708ee0800350c2c35bbb24e', class: { 'tet-card-list__scroll': true, 'tet-card-list--hidden': !this.withScrollbar } }, h("div", { key: 'f23d9f2e55dde3a240ed6856d67fc3825f2d2726', class: "tet-card-list__scroll--thumb", ref: el => (this.scrollbarRef = el) })))));
|
|
662
662
|
}
|
|
663
663
|
static get is() { return "tet-card-list"; }
|
|
664
664
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7201,6 +7201,7 @@
|
|
|
7201
7201
|
--tc-button-primary-background-inverse-pressed-dark: rgba(38, 41, 44, 0.8);
|
|
7202
7202
|
--tc-button-primary-background-inverse-disabled-dark: rgba(38, 41, 44, 0.3);
|
|
7203
7203
|
--tc-button-secondary-background-hover-dark: rgba(236, 237, 238, 0.15);
|
|
7204
|
+
--tc-button-secondary-outline-background-hover-dark: rgba(255, 255, 255, 0.1);
|
|
7204
7205
|
--tc-button-secondary-background-pressed-dark: rgba(236, 237, 238, 0.3);
|
|
7205
7206
|
--tc-button-secondary-background-inverse-hover-dark: rgba(38, 41, 44, 0.12);
|
|
7206
7207
|
--tc-button-secondary-background-inverse-pressed-dark: rgba(38, 41, 44, 0.3);
|
|
@@ -7464,6 +7465,7 @@
|
|
|
7464
7465
|
--tc-button-primary-background-inverse-pressed: rgba(236, 237, 238, 0.8);
|
|
7465
7466
|
--tc-button-primary-background-inverse-disabled: rgba(236, 237, 238, 0.3);
|
|
7466
7467
|
--tc-button-secondary-background-hover: rgba(38, 41, 44, 0.12);
|
|
7468
|
+
--tc-button-secondary-outline-background-hover: rgba(12, 12, 14, 0.1);
|
|
7467
7469
|
--tc-button-secondary-background-pressed: rgba(38, 41, 44, 0.3);
|
|
7468
7470
|
--tc-button-secondary-background-inverse-hover: rgba(236, 237, 238, 0.15);
|
|
7469
7471
|
--tc-button-secondary-background-inverse-pressed: rgba(236, 237, 238, 0.3);
|
|
@@ -56,9 +56,6 @@ export class TetDynamicCard {
|
|
|
56
56
|
(_f = this.buttonRef) === null || _f === void 0 ? void 0 : _f.setAttribute('size', 'large');
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
|
-
this.handleButtonClick = () => {
|
|
60
|
-
this.tetDynamicCardClickEvent.emit();
|
|
61
|
-
};
|
|
62
59
|
this.handleClick = (event) => {
|
|
63
60
|
var _a;
|
|
64
61
|
const path = event.composedPath();
|
|
@@ -71,6 +68,9 @@ export class TetDynamicCard {
|
|
|
71
68
|
}
|
|
72
69
|
}
|
|
73
70
|
}
|
|
71
|
+
else {
|
|
72
|
+
this.tetDynamicCardClickEvent.emit();
|
|
73
|
+
}
|
|
74
74
|
};
|
|
75
75
|
this.theme = 'light';
|
|
76
76
|
this.size = 'S';
|
|
@@ -88,11 +88,9 @@ export class TetDynamicCard {
|
|
|
88
88
|
backgroundLight: 'white',
|
|
89
89
|
backgroundDark: 'black'
|
|
90
90
|
};
|
|
91
|
-
this.linkType = undefined;
|
|
92
91
|
this.linkHref = undefined;
|
|
93
92
|
this.linkText = undefined;
|
|
94
93
|
this.linkNewTab = false;
|
|
95
|
-
this.modalId = undefined;
|
|
96
94
|
this.index = undefined;
|
|
97
95
|
this.isFocused = false;
|
|
98
96
|
this.originalSize = null;
|
|
@@ -209,25 +207,23 @@ export class TetDynamicCard {
|
|
|
209
207
|
return (h("div", { class: "price", part: "price" }, h("tet-price-view", { ref: elm => { this.priceViewRef = elm; }, font: this.priceTagOptions.font || "Gilroy, Arial, sans-serif", background: priceBackground, size: "S", "heading-text": this.priceTagOptions.headingText, "price-type": this.priceTagOptions.priceType, "euro-price": (_b = this.priceTagOptions.euroPrice) === null || _b === void 0 ? void 0 : _b.toString(), "cents-price": (_c = this.priceTagOptions.centsPrice) === null || _c === void 0 ? void 0 : _c.toString(), "footer-text": this.priceTagOptions.footerText, "footer-text-type": this.priceTagOptions.footerTextType })));
|
|
210
208
|
}
|
|
211
209
|
renderButton() {
|
|
212
|
-
if (!this.
|
|
210
|
+
if (!this.linkText)
|
|
213
211
|
return null;
|
|
214
|
-
const buttonProps =
|
|
212
|
+
const buttonProps = {
|
|
213
|
+
type: 'primary',
|
|
214
|
+
size: 'small',
|
|
215
|
+
theme: this.theme,
|
|
215
216
|
url: this.linkHref,
|
|
216
217
|
'url-target': this.linkNewTab ? '_blank' : '_self',
|
|
217
218
|
'accessibility-label': this.linkText
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
}));
|
|
221
|
-
return (h("div", { class: "button", part: "button", onClick: () => this.handleButtonClick, onKeyUp: (event) => {
|
|
222
|
-
if (event.key === 'Enter')
|
|
223
|
-
this.handleButtonClick();
|
|
224
|
-
} }, h("tet-button", Object.assign({}, buttonProps, { ref: elm => { this.buttonRef = elm; } }), this.linkText)));
|
|
219
|
+
};
|
|
220
|
+
return (h("div", { class: "button", part: "button" }, h("tet-button", Object.assign({}, buttonProps, { ref: elm => { this.buttonRef = elm; } }), this.linkText)));
|
|
225
221
|
}
|
|
226
222
|
render() {
|
|
227
|
-
return (h(Host, { key: '
|
|
223
|
+
return (h(Host, { key: 'f86480ab3b52ec1ab8c1417fb4553091dc98d535', class: {
|
|
228
224
|
'dynamic-card': true,
|
|
229
225
|
'is-focused': this.isFocused
|
|
230
|
-
}, "data-index": this.index, ref: (elm) => { this.rootElementRef = elm; } }, h("div", { key: '
|
|
226
|
+
}, "data-index": this.index, ref: (elm) => { this.rootElementRef = elm; } }, h("div", { key: '1cba5d287d2087de888ef6f2324bb64bdd6e3561', class: `card
|
|
231
227
|
theme-${this.theme}
|
|
232
228
|
size-${this.currentSize}
|
|
233
229
|
position-${this.pictureLayoutShiftPosition}
|
|
@@ -235,7 +231,7 @@ export class TetDynamicCard {
|
|
|
235
231
|
`, onClick: this.handleClick, onKeyUp: (event) => {
|
|
236
232
|
if (event.key === 'Enter')
|
|
237
233
|
this.handleClick(event);
|
|
238
|
-
}, tabindex: 0, part: "card", "aria-labelledby": this.cardTitle }, h("div", { key: '
|
|
234
|
+
}, tabindex: 0, part: "card", "aria-labelledby": this.cardTitle }, h("div", { key: '9ddfa38175c6cee5bd8c309f3a1c18b8e3319fc5', class: "image", part: "image" }, h("slot", { key: 'cd009cfe69c9f61de0e17c13b1f88e167f2d8660', name: "image" }), this.renderPrice(), this.renderTags()), h("div", { key: '850bc434c2c30c8adbaed0ac2e2645840dc5109e', class: "content-container" }, h("div", { key: '26891d1407edc24fb5f87c4353a7f4ecfa4fb073', class: "content", part: "content" }, this.cardTitle && (h("h3", { key: '60e6b695a68054dd5adb0d2210b4925d47edf926', class: "title", part: "title" }, this.cardTitle)), this.subtitle && (h("p", { key: 'e25bc54d28f3b0fc2fe698cf84c33f69f9ba50f9', class: "subtitle", part: "subtitle" }, this.subtitle))), this.renderButton()))));
|
|
239
235
|
}
|
|
240
236
|
static get is() { return "tet-dynamic-card"; }
|
|
241
237
|
static get encapsulation() { return "shadow"; }
|
|
@@ -500,29 +496,6 @@ export class TetDynamicCard {
|
|
|
500
496
|
},
|
|
501
497
|
"defaultValue": "{\n show: false,\n backgroundLight: 'white',\n backgroundDark: 'black'\n }"
|
|
502
498
|
},
|
|
503
|
-
"linkType": {
|
|
504
|
-
"type": "string",
|
|
505
|
-
"mutable": false,
|
|
506
|
-
"complexType": {
|
|
507
|
-
"original": "CardLinkType",
|
|
508
|
-
"resolved": "\"modal\" | \"url\"",
|
|
509
|
-
"references": {
|
|
510
|
-
"CardLinkType": {
|
|
511
|
-
"location": "local",
|
|
512
|
-
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx",
|
|
513
|
-
"id": "src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx::CardLinkType"
|
|
514
|
-
}
|
|
515
|
-
}
|
|
516
|
-
},
|
|
517
|
-
"required": false,
|
|
518
|
-
"optional": true,
|
|
519
|
-
"docs": {
|
|
520
|
-
"tags": [],
|
|
521
|
-
"text": "Type of link"
|
|
522
|
-
},
|
|
523
|
-
"attribute": "link-type",
|
|
524
|
-
"reflect": false
|
|
525
|
-
},
|
|
526
499
|
"linkHref": {
|
|
527
500
|
"type": "string",
|
|
528
501
|
"mutable": false,
|
|
@@ -575,23 +548,6 @@ export class TetDynamicCard {
|
|
|
575
548
|
"reflect": false,
|
|
576
549
|
"defaultValue": "false"
|
|
577
550
|
},
|
|
578
|
-
"modalId": {
|
|
579
|
-
"type": "string",
|
|
580
|
-
"mutable": false,
|
|
581
|
-
"complexType": {
|
|
582
|
-
"original": "string",
|
|
583
|
-
"resolved": "string",
|
|
584
|
-
"references": {}
|
|
585
|
-
},
|
|
586
|
-
"required": false,
|
|
587
|
-
"optional": true,
|
|
588
|
-
"docs": {
|
|
589
|
-
"tags": [],
|
|
590
|
-
"text": "Modal ID for link type 'modal'"
|
|
591
|
-
},
|
|
592
|
-
"attribute": "modal-id",
|
|
593
|
-
"reflect": false
|
|
594
|
-
},
|
|
595
551
|
"index": {
|
|
596
552
|
"type": "number",
|
|
597
553
|
"mutable": false,
|
package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js
CHANGED
|
@@ -117,7 +117,7 @@ export class TetCustomerAssets {
|
|
|
117
117
|
return provisioningStatus === 'Active' && tetProductType !== 'ConsumerGoods';
|
|
118
118
|
}
|
|
119
119
|
render() {
|
|
120
|
-
return (h(Host, { key: '
|
|
120
|
+
return (h(Host, { key: 'c86f9048b146ec725d600772063d0dc73a071422' }, h("div", { key: '9449fb4dd61135c2c7486f593b271cc45342e9ee', class: { wrapper: this.showLoader && this.singleLoader, 'dark-theme': this.darkTheme } }, this.showLoader && this.singleLoader
|
|
121
121
|
? h("tet-loader", { class: "loader-single" })
|
|
122
122
|
: this.showLoader ? this.renderLoader() : this.renderAssetsList())));
|
|
123
123
|
}
|
|
@@ -42,9 +42,9 @@ export class TetReferral {
|
|
|
42
42
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '88faefdaef3a17a08d2e3ab5cdf14e8e608580b9' }, h("div", { key: 'ebc91b687e12a49141b9237511e872e321ec5ed6', class: "wrapper" }, h(ThemeWrapper, { key: '1b5a412f7c9c8d1837674d0061abcb4a5c9ae777', theme: this.theme }, h("div", { key: '612a198b490e50b1d5bb9ca7f181263da64c7e97', class: "image-container" }, h("img", { key: '76e99a010ebaa07bcf743f6b6dfbc02d76d242ad', src: t('components-referral-image-url'), alt: "" })), h("div", { key: '5f00091e26b1e25369e1212e75bafb06513937fa', class: "subtitle-container" }, t('components-referral-subtitle')), h("div", { key: 'abb5f8fdb11b7f997068af7af91a787d5f1af37e', class: "description-container", innerHTML: t('components-referral-description') }), h("div", { key: '032579889583d28e7b8924b6149f2c1ea0969e8d', class: "referral-block" }, h("div", { key: 'a466b100406ec54999774be522b733c1ef419441', class: "url-wrapper" }, h("div", { key: '6d7823e1a7d26dbe6d2132335ed5c12acf7fb5c2', class: "referral-url" }, this.getReferralUrl()), h("div", { key: '93007dcfc5caf4242589f5cef11e1a923adacb88' }, h("div", { key: 'e598b4d9323b89041d3e3e93ac5e8948a1aee659', class: "button-wrapper" }, h("tet-tooltip", { key: '1d79208498cecc060614f33263b3517daa419669', theme: this.theme, class: "tooltip", doNotShowOnHover: true, ref: (el) => {
|
|
46
46
|
this.tooltip = el;
|
|
47
|
-
} }, t('components-referral-tooltip')), h("tet-button", { key: '
|
|
47
|
+
} }, t('components-referral-tooltip')), h("tet-button", { key: '876c9d1d7d15ec26d47840ebe7a26fe5fc0148da', clickCallback: this.copyToClipBoard, type: "primary", theme: this.theme }, t('components-referral-copy-button-label'))))))))));
|
|
48
48
|
}
|
|
49
49
|
static get is() { return "tet-referral"; }
|
|
50
50
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js
CHANGED
|
@@ -108,7 +108,7 @@ export class TetMultiStepDialog {
|
|
|
108
108
|
return (h("div", { innerHTML: step, "data-step": Number(index) + 1, class: "multi-step-dialog__step", ref: this.setStepBlocks }));
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '841ac9530356a2532e5e59f0e951ec65a2afc56e', class: "multi-step-dialog" }, h("tet-dialog", { key: 'd2f3257fcc90c4912d58333212b47a440cd3468d', class: this.tetDialogClass, "is-open": this.isOpen, "data-screen-key": this.dialogDataScreenKey, "footer-display": "right", ref: el => this.tetDialog = el, theme: this.theme }, h("div", { key: 'fc26d15ad7dc63bd15a873e99c4522b75bbe9c91', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: '809ddb2d23910baa1ff3a57aecdc075226e85290', class: "footer-button", slot: "footer", size: "medium", theme: this.theme, type: "secondary", ref: el => this.prevButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-go-back')), h("tet-button", { key: '2ce6ffa4e8434636ecc0e1fb4ee652a6d3748b11', class: "footer-button", slot: "footer", size: "medium", theme: this.theme, ref: el => this.nextButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-next-step')))));
|
|
112
112
|
}
|
|
113
113
|
static get is() { return "tet-multi-step-dialog"; }
|
|
114
114
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class TetAvailabilityContactForm {
|
|
|
121
121
|
return (h("div", null, h("tet-dialog", { ref: (element) => this.dialogElement = element, "footer-display": "hidden", "is-open": this.showAvailabilityContactForm, closeOnEscape: true, closeOnOverlayClick: true }, h("div", { class: "form-container" }, h("tet-icon", { name: "confirm-md", class: "icon icon-success icon-size" }), this.showTitle && h("h2", { class: "form-title" }, t('components-availability-contact-form-success-title')), h("p", { class: "form-subtitle" }, t('components-availability-contact-form-success-subtitle')), h("tet-button", { class: "form-container-close", clickCallback: this.closeDialogElement, size: "medium", type: "primary", theme: "light" }, h("span", null, t('components-availability-contact-form-success-close')))))));
|
|
122
122
|
}
|
|
123
123
|
render() {
|
|
124
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: 'df25de96adc2a53487535618c26d6017ded53c80', class: { 'dark-theme': this.darkTheme } }, this.success ? this.renderSuccessStep() : this.renderForm()));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "tet-availability-contact-form"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -64,7 +64,7 @@ export class TetContactForm {
|
|
|
64
64
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: '9774149aa693d5229678c65f57b1a530107e08b5', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: 'd7e345d2a8d7424643db834e9ac0c9f6b7c8d669', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: 'e4d8d8c23c70ba6255e45edde45b8c79b788eca3', class: "form-container" }, this.showTitle && h("h2", { key: 'b4f2acf590040f7dc400562d82d85955b0dc6953', class: "form-title" }, t('components-contact-form-title')), h("p", { key: '78fb23adeb197ae96e6a3f046e78b74e8fc757ea', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '013ed3a12cc1aeb575fc0bd2dcb1401a2aeb843e', class: "form-input", placeholder: "+37122345678", ref: (element) => this.phoneInput = element, validators: this.validators, label: this.showInputLabel ? t('components-contact-form-input-label') : null, theme: this.darkTheme ? 'dark' : 'classic' }), h("tet-button", Object.assign({ key: 'b9866d69268b1f1106620f12637f1c5628dce4d7', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit') }, this.submitButtonProps))))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "tet-contact-form"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class TetTvGiftBlock {
|
|
|
32
32
|
this.setContainerSize();
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'ca946b5563d3f0ed97056322ac4b1b30e2a4c0bb' }, h("div", { key: '1fd7c3d573abc6c43a2cc0a0726b40aba49aad2e', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: 'e48b1378e7c5bfac6799d91a59ade532d7afa266', class: "tv-gift__header" }, h("slot", { key: '7e8419794f801684769579bfb50d88c1920fadaf', name: "header" }, this.headerImageSrc && h("img", { key: '79f53b9bef4f0832cc4a6978638b26c39f7bf273', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: 'a35e422b3de9ed91960c79e087b57293339fdb77', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: 'bd5e4a10739005b72cc6c0d324b04f03c90f3f8e', class: "tv-gift__content" }, h("slot", { key: '06431e7884030a8f022585b9fd85927182914ba5' })), h("div", { key: '46cc76411f6a8f0d38e471c0d6e0fd36d6368eff', class: "tv-gift__footer" }, h("slot", { key: 'c0e52f339f08cedcf821812ccc059411abebfa05', name: "footer" }, h("span", { key: '8c08c30b5d6b932e305a65f1ede1d1db31063464', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: '531c4c4cafab9d284b6792f6dc44a1ccc6207229', class: "tv-gift__footer__text" }, this.footerText))))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "tet-tv-gift-block"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js
CHANGED
|
@@ -34,11 +34,11 @@ export class TetTvGiftList {
|
|
|
34
34
|
this.setContainerSize();
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: 'c5291d51b1874784b8ecf0e8dd8f5d1480f5b0d7' }, h("div", { key: '1347f2c03627550e52669dfda266a1ed9cbe9a27', class: {
|
|
38
38
|
'tv-gift-list': true,
|
|
39
39
|
[`tv-gift-list--${this.containerSize}`]: true,
|
|
40
40
|
'tv-gift-list--image-list': Boolean(this.imageSource),
|
|
41
|
-
} }, this.imageSource && (h("div", { key: '
|
|
41
|
+
} }, this.imageSource && (h("div", { key: 'ff86b7908cd5e83e23ecba120b6cab4e10141f78', class: "tv-gift-list__image__wrapper" }, h("img", { key: '4ededbed0da1ecbe36bbeac3980348fbb92ef887', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: '93ee9a7bbb87b30cf2b0583753c874ff5df903ed', class: "tv-gift-list__list__wrapper" }, h("span", { key: '5c62bda439b140e06034340f3d37f4e5a4783c50', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: 'fb6a2919ca5ce8e6c68b4696111b0a37ace28d64', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tet-tv-gift-list"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|