@tet/tet-components 1.4.140-testing → 1.4.141-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/{http-codes-C-IXSZGG.js → http-codes-M3UINy7t.js} +1 -1
- package/dist/cjs/{index-DKg1QTRW.js → index-BGnwL8G_.js} +1 -1
- package/dist/cjs/{index-Bo0hF6YQ.js → index-CabrFqSe.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{product-comparison-f-u42TDe.js → product-comparison-1cTUG5Si.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_5.cjs.entry.js +4 -4
- package/dist/cjs/tet-assembler.cjs.entry.js +14 -5
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +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 +1 -1
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +10 -6
- package/dist/cjs/tet-compare-cards-tab.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +3 -3
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +139 -72
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/{translations-f2lO6WcB.js → translations-MNaGVsId.js} +1 -1
- package/dist/collection/components/advanced/cards/tet-assembler/tet-assembler.js +41 -2
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +24 -3
- package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.css +22 -13
- package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +212 -92
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CIMNJ4X2.js → p-B36OnKxA.js} +1 -1
- package/dist/components/{p-BLY0RO0L.js → p-B5gZt66l.js} +1 -1
- package/dist/components/{p-DePtMqzY.js → p-B8FP4SAH.js} +1 -1
- package/dist/components/{p-P_J147mb.js → p-BCS3Q4O-.js} +1 -1
- package/dist/components/{p-cnUvPtFj.js → p-BFRbl437.js} +1 -1
- package/dist/components/{p-BgpTlgXX.js → p-BJyEjHQx.js} +1 -1
- package/dist/components/{p-DKavMVSi.js → p-BKPQnaRw.js} +1 -1
- package/dist/components/{p-Cwu8jtXG.js → p-BKT3j81W.js} +1 -1
- package/dist/components/{p-KBNSpMwX.js → p-BMd3uvm2.js} +1 -1
- package/dist/components/{p-Be5i4YJ4.js → p-BXDq6r9O.js} +1 -1
- package/dist/components/{p-CIPUn8d2.js → p-BtQDYhdb.js} +1 -1
- package/dist/components/{p-DgcBdohb.js → p-BtSNSrDr.js} +1 -1
- package/dist/components/{p-Bdt0k-v8.js → p-BvciW7tt.js} +1 -1
- package/dist/components/{p-DHOPNeBR.js → p-C2Vn0VjX.js} +1 -1
- package/dist/components/{p-DcqGjbQO.js → p-CDm2kZUj.js} +1 -1
- package/dist/components/{p-Cfy46lS6.js → p-CO0VSTHD.js} +1 -1
- package/dist/components/{p-CKvGKHDE.js → p-COSlMg29.js} +1 -1
- package/dist/components/{p-c36Z0_hK.js → p-CP-a_UPI.js} +1 -1
- package/dist/components/{p-D9qys4GX.js → p-CPB6HceB.js} +1 -1
- package/dist/components/{p-Dzb-TXLO.js → p-CRJmHkRm.js} +1 -1
- package/dist/components/{p-1M2reaCU.js → p-CVKvk6QH.js} +1 -1
- package/dist/components/{p-B8ElCfnM.js → p-CYfNgSDa.js} +1 -1
- package/dist/components/{p-DEbU6YKQ.js → p-Cezz6oU6.js} +1 -1
- package/dist/components/{p-CFDvtl5l.js → p-CfmV2Jgh.js} +1 -1
- package/dist/components/{p-nb3MHK7A.js → p-ChxhsA_J.js} +1 -1
- package/dist/components/{p-9ItXFJZ6.js → p-ClZGNJ8K.js} +1 -1
- package/dist/components/{p-CjOuXGOS.js → p-CrSRJXyV.js} +1 -1
- package/dist/components/{p-B2Xg3DH0.js → p-CuMXHleS.js} +1 -1
- package/dist/components/{p-BsNlQtYx.js → p-CwSl5E57.js} +1 -1
- package/dist/components/{p-zkmKLYHg.js → p-DDjtysF3.js} +1 -1
- package/dist/components/{p-B_RQCK28.js → p-DF_X_yCR.js} +1 -1
- package/dist/components/{p-BZ9cVPPC.js → p-DMha5T5b.js} +1 -1
- package/dist/components/{p-CMbAQKoe.js → p-DULF82L1.js} +1 -1
- package/dist/components/{p-B4MTqXan.js → p-DWm7jq2J.js} +1 -1
- package/dist/components/{p-DH1iZWF5.js → p-D_0fYn3l.js} +1 -1
- package/dist/components/{p-ClWTLrk_.js → p-Df7zWrR3.js} +1 -1
- package/dist/components/{p-BBMx2Nbt.js → p-DftHVfCt.js} +1 -1
- package/dist/components/{p-ChbxhvnA.js → p-DvUWnsVA.js} +1 -1
- package/dist/components/{p-lmIrgmgo.js → p-Dy5X-F_i.js} +1 -1
- package/dist/components/{p-Do_1srPW.js → p-DyW5hKus.js} +1 -1
- package/dist/components/{p-BOavyx-7.js → p-Jr4xP8U0.js} +1 -1
- package/dist/components/{p-DeFz-G5N.js → p-JxsG9Eqn.js} +1 -1
- package/dist/components/{p-CQfy7CVi.js → p-STr2Oh_2.js} +1 -1
- package/dist/components/{p-DQaNW2BX.js → p-TrvYXEJ_.js} +1 -1
- package/dist/components/{p-Bq1skzzY.js → p-Vo_9U06w.js} +1 -1
- package/dist/components/{p-BZ0uDmYr.js → p-YbtFFhcU.js} +1 -1
- package/dist/components/{p-DRJ0zjoF.js → p-cb20nj-c.js} +1 -1
- package/dist/components/{p-tQ4vjHQ1.js → p-nZe5s9iw.js} +1 -1
- package/dist/components/{p-CT-Ge0pF.js → p-nfGM0aGC.js} +1 -1
- package/dist/components/{p-BWmFtcLN.js → p-v3jmLiwp.js} +1 -1
- package/dist/components/{p-Dvk7syez.js → p-vTo56FQh.js} +1 -1
- package/dist/components/{p-Clw2OLNj.js → p-x60Po9AL.js} +1 -1
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +1 -1
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +1 -1
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +1 -1
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +1 -1
- package/dist/components/tet-banner-nav.js +1 -1
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +1 -1
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +1 -1
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +1 -1
- package/dist/components/tet-cloud-configurator.js +1 -1
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +1 -1
- package/dist/components/tet-compare-card-v3.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +1 -1
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-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 +1 -1
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +1 -1
- package/dist/components/tet-divider.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +1 -1
- package/dist/components/tet-expandable-input.js +1 -1
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +1 -1
- package/dist/components/tet-filter.js +1 -1
- package/dist/components/tet-floating-block.js +1 -1
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-mini-compare-card.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +1 -1
- package/dist/components/tet-navigation-mobile.js +1 -1
- package/dist/components/tet-news-card-list.js +1 -1
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-sticky-offer.js +1 -1
- package/dist/components/tet-support-search.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 +1 -1
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v3.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/esm/{http-codes-DchfPj1v.js → http-codes-CMh_eKUC.js} +1 -1
- package/dist/esm/{index-DfBhGuuz.js → index-DScKyiML.js} +1 -1
- package/dist/esm/{index-ClX9TYQY.js → index-st4TD55I.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{product-comparison-DJko3TwF.js → product-comparison-BHzU1-QK.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_5.entry.js +4 -4
- package/dist/esm/tet-assembler.entry.js +14 -5
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +3 -3
- package/dist/esm/tet-checkbox_3.entry.js +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 +1 -1
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-card-v3.entry.js +10 -6
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +3 -3
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-countdown.entry.js +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +3 -3
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-blocks.entry.js +1 -1
- package/dist/esm/tet-radio_2.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +3 -3
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +139 -72
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/{translations-4zQUcigP.js → translations-CkBHYZxq.js} +1 -1
- package/dist/tet-components/{p-53b4947e.entry.js → p-016d6dd4.entry.js} +1 -1
- package/dist/tet-components/{p-f5315eaf.entry.js → p-041f46b1.entry.js} +1 -1
- package/dist/tet-components/{p-29948163.entry.js → p-104a465c.entry.js} +1 -1
- package/dist/tet-components/{p-517168f6.entry.js → p-1095d7d6.entry.js} +1 -1
- package/dist/tet-components/{p-eb3a8119.entry.js → p-11363389.entry.js} +1 -1
- package/dist/tet-components/{p-a2a4917a.entry.js → p-129762b3.entry.js} +1 -1
- package/dist/tet-components/{p-79e4a166.entry.js → p-1633a0b1.entry.js} +1 -1
- package/dist/tet-components/p-19a69be3.entry.js +1 -0
- package/dist/tet-components/{p-43d1f956.entry.js → p-1c627ac0.entry.js} +1 -1
- package/dist/tet-components/{p-tf8lKgfD.js → p-2BDVUFcI.js} +1 -1
- package/dist/tet-components/{p-26dd3cb0.entry.js → p-3204266c.entry.js} +1 -1
- package/dist/tet-components/p-371e754f.entry.js +1 -0
- package/dist/tet-components/p-3814dc31.entry.js +1 -0
- package/dist/tet-components/{p-B8Zjo2sa.js → p-3AR12uVQ.js} +1 -1
- package/dist/tet-components/{p-b4c45d6b.entry.js → p-3d981a11.entry.js} +1 -1
- package/dist/tet-components/{p-4aa2dbc8.entry.js → p-4051e024.entry.js} +1 -1
- package/dist/tet-components/{p-19343cc6.entry.js → p-42346043.entry.js} +1 -1
- package/dist/tet-components/{p-1d997c7d.entry.js → p-47c15f9c.entry.js} +1 -1
- package/dist/tet-components/{p-d2db496b.entry.js → p-4b7c2be5.entry.js} +1 -1
- package/dist/tet-components/{p-3ab52911.entry.js → p-4bd72575.entry.js} +1 -1
- package/dist/tet-components/{p-10e789d9.entry.js → p-4e65a282.entry.js} +1 -1
- package/dist/tet-components/{p-4a22c9a8.entry.js → p-50c5e01e.entry.js} +1 -1
- package/dist/tet-components/{p-21a59a4f.entry.js → p-52c129e9.entry.js} +1 -1
- package/dist/tet-components/{p-77ae360e.entry.js → p-537faa1c.entry.js} +1 -1
- package/dist/tet-components/{p-b5efc6d4.entry.js → p-54c98af8.entry.js} +1 -1
- package/dist/tet-components/{p-8c39d824.entry.js → p-595c36d0.entry.js} +1 -1
- package/dist/tet-components/{p-7105253e.entry.js → p-631721d5.entry.js} +1 -1
- package/dist/tet-components/{p-7fdd634a.entry.js → p-648fe9fe.entry.js} +1 -1
- package/dist/tet-components/{p-d88d8689.entry.js → p-668c2484.entry.js} +1 -1
- package/dist/tet-components/{p-9ab737dd.entry.js → p-6a2ed4f0.entry.js} +1 -1
- package/dist/tet-components/{p-47b6721e.entry.js → p-6b27edab.entry.js} +1 -1
- package/dist/tet-components/{p-b8c0433c.entry.js → p-6d7506fe.entry.js} +1 -1
- package/dist/tet-components/{p-98ae4292.entry.js → p-6f09c992.entry.js} +1 -1
- package/dist/tet-components/{p-f79c8697.entry.js → p-6fc08d81.entry.js} +1 -1
- package/dist/tet-components/{p-8436df88.entry.js → p-7366cfd6.entry.js} +1 -1
- package/dist/tet-components/{p-d2abe02d.entry.js → p-76b13aec.entry.js} +1 -1
- package/dist/tet-components/{p-2bd1b7ec.entry.js → p-79388d8a.entry.js} +1 -1
- package/dist/tet-components/{p-dca1a4c2.entry.js → p-7a9e715e.entry.js} +1 -1
- package/dist/tet-components/{p-15bddc3d.entry.js → p-7dba08b3.entry.js} +1 -1
- package/dist/tet-components/{p-d89ae495.entry.js → p-7fc4c174.entry.js} +1 -1
- package/dist/tet-components/{p-616d3818.entry.js → p-854c146d.entry.js} +1 -1
- package/dist/tet-components/{p-dfdf946f.entry.js → p-86614def.entry.js} +1 -1
- package/dist/tet-components/{p-92ef3a39.entry.js → p-87e315d4.entry.js} +1 -1
- package/dist/tet-components/{p-c32edb32.entry.js → p-891cff98.entry.js} +1 -1
- package/dist/tet-components/{p-2e7cb093.entry.js → p-8b5ee723.entry.js} +1 -1
- package/dist/tet-components/{p-93283513.entry.js → p-904ffd64.entry.js} +1 -1
- package/dist/tet-components/{p-d44bea09.entry.js → p-937c99dd.entry.js} +1 -1
- package/dist/tet-components/{p-cd267067.entry.js → p-9691d0a9.entry.js} +1 -1
- package/dist/tet-components/{p-a410109c.entry.js → p-96e57ac6.entry.js} +1 -1
- package/dist/tet-components/{p-394b9c6b.entry.js → p-9a491f9a.entry.js} +1 -1
- package/dist/tet-components/{p-3d8635c1.entry.js → p-9d704250.entry.js} +1 -1
- package/dist/tet-components/p-C8CA8-C8.js +1 -0
- package/dist/tet-components/{p-t-BNeeWq.js → p-CjkCTYSi.js} +1 -1
- package/dist/tet-components/{p-2e4e81a5.entry.js → p-a28d27a1.entry.js} +1 -1
- package/dist/tet-components/{p-7ffa074d.entry.js → p-a631d8c5.entry.js} +1 -1
- package/dist/tet-components/{p-baf6ba9e.entry.js → p-a7f8ef9f.entry.js} +1 -1
- package/dist/tet-components/{p-47484c33.entry.js → p-a86ca759.entry.js} +1 -1
- package/dist/tet-components/{p-1556076a.entry.js → p-abb2da28.entry.js} +1 -1
- package/dist/tet-components/{p-8b3ea797.entry.js → p-af0e9ee6.entry.js} +1 -1
- package/dist/tet-components/{p-306ff942.entry.js → p-b066e773.entry.js} +1 -1
- package/dist/tet-components/{p-cb1c05ab.entry.js → p-b1037e46.entry.js} +1 -1
- package/dist/tet-components/{p-73aca8b1.entry.js → p-b2d61826.entry.js} +1 -1
- package/dist/tet-components/{p-b315a1c8.entry.js → p-ba878c01.entry.js} +1 -1
- package/dist/tet-components/{p-fa381f41.entry.js → p-bad31105.entry.js} +1 -1
- package/dist/tet-components/{p-39be547b.entry.js → p-c3862ffb.entry.js} +1 -1
- package/dist/tet-components/{p-5a31f21d.entry.js → p-c7741572.entry.js} +1 -1
- package/dist/tet-components/{p-1deb89e1.entry.js → p-c7f0f9f4.entry.js} +1 -1
- package/dist/tet-components/{p-591a092a.entry.js → p-c9bc7e1c.entry.js} +1 -1
- package/dist/tet-components/{p-e13f06c4.entry.js → p-ca111c70.entry.js} +1 -1
- package/dist/tet-components/{p-3242f182.entry.js → p-cf0f0d6e.entry.js} +1 -1
- package/dist/tet-components/{p-24bdeb37.entry.js → p-d1a9ded7.entry.js} +1 -1
- package/dist/tet-components/{p-f7e3a24b.entry.js → p-d1f560a6.entry.js} +1 -1
- package/dist/tet-components/{p-5bd0a0c8.entry.js → p-dac6ad5c.entry.js} +1 -1
- package/dist/tet-components/p-e029d839.entry.js +1 -0
- package/dist/tet-components/{p-4f47079e.entry.js → p-e2d09b10.entry.js} +1 -1
- package/dist/tet-components/{p-139d4cad.entry.js → p-e624df8a.entry.js} +1 -1
- package/dist/tet-components/{p-8bdcb714.entry.js → p-e87a7b06.entry.js} +1 -1
- package/dist/tet-components/{p-bd42d182.entry.js → p-ea5a63a1.entry.js} +1 -1
- package/dist/tet-components/{p-b849774e.entry.js → p-ee844459.entry.js} +1 -1
- package/dist/tet-components/{p-bb325aa4.entry.js → p-f2bd28a0.entry.js} +1 -1
- package/dist/tet-components/{p-a0340287.entry.js → p-f4cfb3a5.entry.js} +1 -1
- package/dist/tet-components/{p-f5a86256.entry.js → p-f96c8acc.entry.js} +1 -1
- package/dist/tet-components/{p-87d015b3.entry.js → p-feccd822.entry.js} +1 -1
- package/dist/tet-components/{p-ClX9TYQY.js → p-st4TD55I.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-assembler/tet-assembler.d.ts +2 -0
- package/dist/types/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.d.ts +2 -0
- package/dist/types/components/simple/misc/tet-sticky-offer/tet-sticky-offer.d.ts +27 -13
- package/dist/types/components.d.ts +28 -7
- package/package.json +1 -1
- package/dist/tet-components/p-0690117e.entry.js +0 -1
- package/dist/tet-components/p-8a9d5ef1.entry.js +0 -1
- package/dist/tet-components/p-BGrvDoTj.js +0 -1
- package/dist/tet-components/p-b17d4f71.entry.js +0 -1
- package/dist/tet-components/p-c989a64d.entry.js +0 -1
package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js
CHANGED
|
@@ -214,6 +214,10 @@ export class TetCompareCardV3 {
|
|
|
214
214
|
return [...productOptions, ...(option.dropdownOptions?.length ? option.dropdownOptions : [option])];
|
|
215
215
|
}, []);
|
|
216
216
|
}
|
|
217
|
+
/** Returns whether the initial loaded render has completed and cardLoaded has been emitted. */
|
|
218
|
+
async isLoaded() {
|
|
219
|
+
return this.didEmitCardLoaded;
|
|
220
|
+
}
|
|
217
221
|
/** Returns loaded API product data with a complete form URL for each contract term. */
|
|
218
222
|
async getProductByCode(code) {
|
|
219
223
|
const option = this.getProductOptions().find(option => option.productCode === code);
|
|
@@ -625,10 +629,10 @@ export class TetCompareCardV3 {
|
|
|
625
629
|
? this.getCompleteUrl(manualProductData.formUrl, null)
|
|
626
630
|
: this.getCompleteUrl(baseUrl, selectedOption?.productCode ?? '', contractTermData);
|
|
627
631
|
const titleBadgeText = selectedOption?.titleBadge;
|
|
628
|
-
return (h("div", { class: "content content__top" }, (mainTitle || titleBadgeText) && (h("div", { class: "title-container" }, mainTitle && h("h3", { class: "title" }, mainTitle), titleBadgeText && (h("span", { class: "title-badge" }, h("tet-icon", { class: "title-badge__icon", name: "tc-info-circle" }), titleBadgeText)))), this.renderPrice(priceData), this.renderCardLabel(selectedOption), h("div", { class: "button-wrapper" }, h("tet-button", { class: "button", type: "primary", theme: "light", size: this.buttonSize, url: link, urlTarget: this.linkOpenBlank ? '_blank' : '_self' }, this.buttonTitle)), shouldRenderSecondaryLink && (h("div", { class: "secondary-link" }, h("a", { class: "tet-link", href: secondaryLink, target: secondaryLinkTarget, rel: secondaryLinkRel }, this.secondaryLinkText)))));
|
|
632
|
+
return (h("div", { key: "content-top", class: "content content__top" }, (mainTitle || titleBadgeText) && (h("div", { class: "title-container" }, mainTitle && h("h3", { class: "title" }, mainTitle), titleBadgeText && (h("span", { class: "title-badge" }, h("tet-icon", { class: "title-badge__icon", name: "tc-info-circle" }), titleBadgeText)))), this.renderPrice(priceData), this.renderCardLabel(selectedOption), h("div", { class: "button-wrapper" }, h("tet-button", { class: "button", type: "primary", theme: "light", size: this.buttonSize, url: link, urlTarget: this.linkOpenBlank ? '_blank' : '_self' }, this.buttonTitle)), shouldRenderSecondaryLink && (h("div", { class: "secondary-link" }, h("a", { class: "tet-link", href: secondaryLink, target: secondaryLinkTarget, rel: secondaryLinkRel }, this.secondaryLinkText)))));
|
|
629
633
|
}
|
|
630
634
|
renderContentBottom() {
|
|
631
|
-
return (h("div", { class: "content content__bottom" }, this.showControlsFirst
|
|
635
|
+
return (h("div", { key: "content-bottom", class: "content content__bottom" }, this.showControlsFirst
|
|
632
636
|
? [this.renderControls(), this.renderBonuses()]
|
|
633
637
|
: [this.renderBonuses(), this.renderControls()]));
|
|
634
638
|
}
|
|
@@ -655,7 +659,7 @@ export class TetCompareCardV3 {
|
|
|
655
659
|
return (h("tet-placeholder", { class: { 'card__placeholder': true, 'single-card': this.cardType === 'single-card' }, height: "100%", width: "100%", darkTheme: this.theme === 'dark' }));
|
|
656
660
|
}
|
|
657
661
|
render() {
|
|
658
|
-
return (h(Host, { key: '
|
|
662
|
+
return (h(Host, { key: '681b0b3acd21c3eeb254b3789708ac511f6c8cf9', "data-contains-focusable-content": true }, this.showLoader ? this.renderLoader() : this.renderCard()));
|
|
659
663
|
}
|
|
660
664
|
static get is() { return "tet-compare-card-v3"; }
|
|
661
665
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1088,6 +1092,23 @@ export class TetCompareCardV3 {
|
|
|
1088
1092
|
}
|
|
1089
1093
|
static get methods() {
|
|
1090
1094
|
return {
|
|
1095
|
+
"isLoaded": {
|
|
1096
|
+
"complexType": {
|
|
1097
|
+
"signature": "() => Promise<boolean>",
|
|
1098
|
+
"parameters": [],
|
|
1099
|
+
"references": {
|
|
1100
|
+
"Promise": {
|
|
1101
|
+
"location": "global",
|
|
1102
|
+
"id": "global::Promise"
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
"return": "Promise<boolean>"
|
|
1106
|
+
},
|
|
1107
|
+
"docs": {
|
|
1108
|
+
"text": "Returns whether the initial loaded render has completed and cardLoaded has been emitted.",
|
|
1109
|
+
"tags": []
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1091
1112
|
"getProductByCode": {
|
|
1092
1113
|
"complexType": {
|
|
1093
1114
|
"signature": "(code: string) => Promise<ProductComparisonWithCompleteUrl | undefined>",
|
|
@@ -354,15 +354,14 @@
|
|
|
354
354
|
display: block;
|
|
355
355
|
max-width: 113.5rem;
|
|
356
356
|
position: fixed;
|
|
357
|
-
bottom: var(--bottom-offset);
|
|
357
|
+
bottom: calc(var(--bottom-offset) + var(--boundary-bottom, 0rem));
|
|
358
358
|
right: 0.5rem;
|
|
359
359
|
left: 0.5rem;
|
|
360
360
|
z-index: 10;
|
|
361
361
|
margin: 0 auto;
|
|
362
|
-
transform: translateY(calc(100% + var(--bottom-offset) + 0.125rem));
|
|
363
|
-
visibility: hidden;
|
|
362
|
+
transform: translateY(calc(100% + var(--bottom-offset) + var(--boundary-bottom, 0rem) + 0.125rem));
|
|
364
363
|
pointer-events: none;
|
|
365
|
-
transition: transform var(--animation-duration) ease
|
|
364
|
+
transition: transform var(--animation-duration) ease;
|
|
366
365
|
}
|
|
367
366
|
@media screen and (min-width: 31.25rem) {
|
|
368
367
|
:host {
|
|
@@ -376,37 +375,47 @@
|
|
|
376
375
|
left: 2rem;
|
|
377
376
|
}
|
|
378
377
|
}
|
|
379
|
-
@media screen and (min-width:
|
|
378
|
+
@media screen and (min-width: 90rem) {
|
|
380
379
|
:host {
|
|
381
380
|
right: 2.25rem;
|
|
382
381
|
left: 2.25rem;
|
|
383
382
|
}
|
|
384
383
|
}
|
|
385
384
|
|
|
386
|
-
:host(
|
|
385
|
+
:host(.offer-docked) {
|
|
386
|
+
position: relative;
|
|
387
|
+
left: var(--dock-left);
|
|
388
|
+
right: auto;
|
|
389
|
+
width: var(--dock-width);
|
|
390
|
+
bottom: auto;
|
|
391
|
+
margin: 0;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
:host(.offer-visible) {
|
|
387
395
|
transform: translateY(0);
|
|
388
|
-
visibility: visible;
|
|
389
396
|
pointer-events: auto;
|
|
390
|
-
transition:
|
|
397
|
+
transition: none;
|
|
391
398
|
animation: sticky-offer-slide-in var(--animation-duration) ease;
|
|
392
399
|
}
|
|
393
400
|
|
|
394
|
-
:host(
|
|
401
|
+
:host(.offer-visible) .sticky-offer {
|
|
395
402
|
visibility: visible;
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
:host([visible]:not(.scroll-hidden)) .sticky-offer {
|
|
403
|
+
transition: visibility 0s;
|
|
399
404
|
box-shadow: 0 4px 28.8px 0 rgba(0, 0, 0, 0.25);
|
|
400
405
|
}
|
|
401
406
|
|
|
402
407
|
@media (prefers-reduced-motion: reduce) {
|
|
403
408
|
:host,
|
|
404
|
-
:host(
|
|
409
|
+
:host(.offer-visible),
|
|
410
|
+
.sticky-offer,
|
|
411
|
+
:host(.offer-visible) .sticky-offer {
|
|
405
412
|
transition: none;
|
|
406
413
|
animation: none;
|
|
407
414
|
}
|
|
408
415
|
}
|
|
409
416
|
.sticky-offer {
|
|
417
|
+
visibility: hidden;
|
|
418
|
+
transition: visibility 0s linear var(--animation-duration);
|
|
410
419
|
display: flex;
|
|
411
420
|
flex-direction: column;
|
|
412
421
|
gap: 0.5rem;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
const HIDE_SCROLL_DISTANCE = 205;
|
|
3
|
-
const SHOW_SCROLL_DISTANCE = 24;
|
|
4
2
|
/** Offer anchored to the bottom of the viewport. */
|
|
5
3
|
export class TetStickyOffer {
|
|
6
4
|
host;
|
|
7
5
|
/** Shows the offer when true and slides it out of view when false. */
|
|
8
6
|
visible = true;
|
|
9
|
-
/** Hides the offer after scrolling down and shows it when scrolling up. Set to false to disable. */
|
|
10
|
-
hideOnScroll = true;
|
|
11
7
|
/** Offer name displayed in the banner. */
|
|
12
8
|
offerName = '';
|
|
13
9
|
/** Formatted price amount, without the suffix. */
|
|
@@ -20,93 +16,158 @@ export class TetStickyOffer {
|
|
|
20
16
|
actionUrl = '';
|
|
21
17
|
/** Browsing context for actionUrl when it is set. */
|
|
22
18
|
actionTarget = '_self';
|
|
23
|
-
|
|
19
|
+
/** Scrolling element whose top must pass above the top boundary's bottom before the offer appears. */
|
|
20
|
+
triggerElement;
|
|
21
|
+
/** Element whose bottom defines the visibility threshold when a trigger is provided. Defaults to the viewport top. */
|
|
22
|
+
topBoundaryElement;
|
|
23
|
+
/** Footer before which the offer docks, matching the preceding module's bottom padding. */
|
|
24
|
+
bottomBoundaryElement;
|
|
24
25
|
/** Emitted when the offer action is activated. */
|
|
25
26
|
applyClick;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
boundaryVisible = true;
|
|
28
|
+
boundaryBottom = 0;
|
|
29
|
+
docked = false;
|
|
30
|
+
dockingSpace;
|
|
31
|
+
moving = false;
|
|
32
|
+
fixedBottomOffset = 0;
|
|
33
|
+
refreshDockSize = false;
|
|
34
|
+
boundaryObserver;
|
|
35
|
+
boundaryFrame = null;
|
|
36
|
+
hasLoaded = false;
|
|
37
|
+
detectedModule = null;
|
|
38
|
+
componentWillLoad() {
|
|
39
|
+
this.updateBoundaries();
|
|
33
40
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
this.scrollFrame = null;
|
|
38
|
-
}
|
|
41
|
+
componentDidLoad() {
|
|
42
|
+
this.hasLoaded = true;
|
|
43
|
+
this.setupDockingSpace();
|
|
39
44
|
}
|
|
40
|
-
|
|
41
|
-
if (this.
|
|
42
|
-
|
|
43
|
-
this.scrollFrame = null;
|
|
45
|
+
connectedCallback() {
|
|
46
|
+
if (this.hasLoaded && !this.moving) {
|
|
47
|
+
this.setupDockingSpace();
|
|
44
48
|
}
|
|
45
|
-
this.scrollHidden = false;
|
|
46
|
-
this.scrollDistance = 0;
|
|
47
|
-
this.scrollDirection = 0;
|
|
48
|
-
this.lastScrollY = Math.max(0, window.scrollY);
|
|
49
|
-
this.lastDocumentHeight = this.getDocumentHeight();
|
|
50
49
|
}
|
|
51
|
-
|
|
52
|
-
if (
|
|
50
|
+
disconnectedCallback() {
|
|
51
|
+
if (this.moving) {
|
|
53
52
|
return;
|
|
54
53
|
}
|
|
55
|
-
this.
|
|
54
|
+
this.dockingSpace?.remove();
|
|
55
|
+
this.dockingSpace = undefined;
|
|
56
|
+
this.detectedModule = null;
|
|
57
|
+
this.docked = false;
|
|
58
|
+
this.host.classList.remove('offer-docked');
|
|
59
|
+
this.boundaryObserver?.disconnect();
|
|
60
|
+
if (this.boundaryFrame !== null) {
|
|
61
|
+
cancelAnimationFrame(this.boundaryFrame);
|
|
62
|
+
this.boundaryFrame = null;
|
|
63
|
+
}
|
|
56
64
|
}
|
|
57
|
-
|
|
58
|
-
this.
|
|
59
|
-
const scrollY = Math.max(0, window.scrollY);
|
|
60
|
-
const documentHeight = this.getDocumentHeight();
|
|
61
|
-
if (documentHeight !== this.lastDocumentHeight) {
|
|
62
|
-
this.lastDocumentHeight = documentHeight;
|
|
63
|
-
this.lastScrollY = scrollY;
|
|
64
|
-
this.scrollDistance = 0;
|
|
65
|
-
this.scrollDirection = 0;
|
|
65
|
+
setupDockingSpace() {
|
|
66
|
+
if (!this.hasLoaded || this.dockingSpace) {
|
|
66
67
|
return;
|
|
67
68
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
this.
|
|
72
|
-
this.
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
if (this.bottomBoundaryElement?.parentNode) {
|
|
70
|
+
this.dockingSpace = document.createElement('div');
|
|
71
|
+
this.dockingSpace.style.boxSizing = 'border-box';
|
|
72
|
+
this.bottomBoundaryElement.parentNode.insertBefore(this.dockingSpace, this.bottomBoundaryElement);
|
|
73
|
+
this.moving = true;
|
|
74
|
+
try {
|
|
75
|
+
this.dockingSpace.appendChild(this.host);
|
|
76
|
+
}
|
|
77
|
+
finally {
|
|
78
|
+
this.moving = false;
|
|
79
|
+
}
|
|
75
80
|
}
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
this.observeBoundaries();
|
|
82
|
+
}
|
|
83
|
+
observeBoundaries() {
|
|
84
|
+
if (!this.hasLoaded) {
|
|
78
85
|
return;
|
|
79
86
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
87
|
+
this.boundaryObserver?.disconnect();
|
|
88
|
+
if (this.triggerElement || this.bottomBoundaryElement) {
|
|
89
|
+
this.boundaryObserver = new ResizeObserver(() => this.scheduleBoundaryUpdate(true));
|
|
90
|
+
const elements = [this.host, this.triggerElement, this.topBoundaryElement, this.bottomBoundaryElement, document.body];
|
|
91
|
+
for (const element of elements) {
|
|
92
|
+
if (element) {
|
|
93
|
+
this.boundaryObserver.observe(element);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
83
96
|
}
|
|
84
|
-
this.
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
this.
|
|
88
|
-
|
|
89
|
-
|
|
97
|
+
this.updateBoundaries();
|
|
98
|
+
}
|
|
99
|
+
updateBoundaries() {
|
|
100
|
+
this.boundaryVisible = this.triggerElement
|
|
101
|
+
? this.triggerElement.getBoundingClientRect().top <= (this.topBoundaryElement?.getBoundingClientRect().bottom ?? 0)
|
|
102
|
+
: true;
|
|
103
|
+
if (this.dockingSpace) {
|
|
104
|
+
this.boundaryBottom = 0;
|
|
105
|
+
this.updateDocking();
|
|
106
|
+
return;
|
|
90
107
|
}
|
|
91
|
-
|
|
92
|
-
|
|
108
|
+
this.boundaryBottom = this.bottomBoundaryElement
|
|
109
|
+
? Math.max(0, window.innerHeight - this.bottomBoundaryElement.getBoundingClientRect().top)
|
|
110
|
+
: 0;
|
|
111
|
+
}
|
|
112
|
+
onScroll() {
|
|
113
|
+
if (this.dockingSpace) {
|
|
114
|
+
this.updateBoundaries();
|
|
93
115
|
}
|
|
94
116
|
else {
|
|
117
|
+
this.scheduleBoundaryUpdate();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
onResize() {
|
|
121
|
+
this.scheduleBoundaryUpdate(true);
|
|
122
|
+
}
|
|
123
|
+
scheduleBoundaryUpdate(refreshDockSize = false) {
|
|
124
|
+
this.refreshDockSize ||= refreshDockSize;
|
|
125
|
+
if ((!this.triggerElement && !this.bottomBoundaryElement) || this.boundaryFrame !== null) {
|
|
95
126
|
return;
|
|
96
127
|
}
|
|
97
|
-
this.
|
|
128
|
+
this.boundaryFrame = requestAnimationFrame(() => {
|
|
129
|
+
this.boundaryFrame = null;
|
|
130
|
+
this.updateBoundaries();
|
|
131
|
+
this.refreshDockSize = false;
|
|
132
|
+
});
|
|
98
133
|
}
|
|
99
|
-
|
|
100
|
-
|
|
134
|
+
updateDocking() {
|
|
135
|
+
if (!this.dockingSpace)
|
|
136
|
+
return;
|
|
137
|
+
const space = this.dockingSpace;
|
|
138
|
+
const spaceRect = space.getBoundingClientRect();
|
|
139
|
+
const module = this.getModuleAboveDock(spaceRect);
|
|
140
|
+
if (!this.docked || this.refreshDockSize) {
|
|
141
|
+
this.host.classList.remove('offer-docked');
|
|
142
|
+
const rect = this.host.getBoundingClientRect();
|
|
143
|
+
this.fixedBottomOffset = Number.parseFloat(getComputedStyle(this.host).bottom) || 0;
|
|
144
|
+
space.style.setProperty('--dock-left', `${rect.left - spaceRect.left}px`);
|
|
145
|
+
space.style.setProperty('--dock-width', `${rect.width}px`);
|
|
146
|
+
if (this.docked) {
|
|
147
|
+
this.host.classList.add('offer-docked');
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
const gap = (module ? Number.parseFloat(getComputedStyle(module).paddingBottom) : 0) || this.fixedBottomOffset;
|
|
151
|
+
const height = this.host.getBoundingClientRect().height;
|
|
152
|
+
const show = this.visible && this.boundaryVisible;
|
|
153
|
+
space.style.minHeight = `${show ? height + gap : 0}px`;
|
|
154
|
+
space.style.paddingBottom = `${show ? gap : 0}px`;
|
|
155
|
+
const viewportHeight = document.documentElement.clientHeight || window.innerHeight;
|
|
156
|
+
this.docked = show && spaceRect.top <= viewportHeight - height - this.fixedBottomOffset;
|
|
157
|
+
this.host.classList[this.docked ? 'add' : 'remove']('offer-docked');
|
|
101
158
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
this.
|
|
105
|
-
|
|
159
|
+
getModuleAboveDock(rect) {
|
|
160
|
+
const module = document.elementsFromPoint(rect.left + rect.width / 2, rect.top - 1)
|
|
161
|
+
.filter(element => element !== this.host && !this.host.contains(element) && element !== this.dockingSpace)
|
|
162
|
+
.map(element => element.closest('.module-inner'))
|
|
163
|
+
.find(element => element && element.getBoundingClientRect().height > 0);
|
|
164
|
+
if (module) {
|
|
165
|
+
this.detectedModule = module;
|
|
106
166
|
}
|
|
167
|
+
return this.detectedModule;
|
|
107
168
|
}
|
|
108
169
|
render() {
|
|
109
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: '050e9efaa967642b61ef5af7af8a4352a46677f1', class: { 'offer-visible': this.visible && this.boundaryVisible }, style: { '--boundary-bottom': `${this.boundaryBottom}px` } }, h("div", { key: 'ca93b30409a5adb481d88197268981e4942730f3', class: "sticky-offer", inert: !this.visible || !this.boundaryVisible }, h("span", { key: 'b7f96b13d94d9138ccf6bd221c67a49bb57ab479', class: "sticky-offer__name", "aria-live": "polite", "aria-atomic": "true" }, this.offerName), h("div", { key: '9522bf5ad6df226b09ff3cc338217d2863c883f8', class: "sticky-offer__inner-container" }, h("div", { key: 'c7650ad7d5b115a51dfc0f510febb7a9116d57bb', class: "sticky-offer__price-container", "aria-live": "polite", "aria-atomic": "true" }, h("span", { key: '56a29f81f29d3ef7acced8755dbd327b895d4901', class: "sticky-offer__price" }, this.price), this.priceSuffix && (h("span", { key: '20c863ee368d698e4ec34c009914306feb33a719', class: "sticky-offer__price-suffix" }, this.priceSuffix))), h("tet-button", { key: '871d4e641f1c507656f10343dce8abc919922c85', size: "small", theme: "light", breakpointConfig: {
|
|
110
171
|
lg: { size: 'medium' },
|
|
111
172
|
xl: { size: 'large' },
|
|
112
173
|
}, url: this.actionUrl, urlTarget: this.actionTarget, onClick: () => this.applyClick.emit() }, this.actionLabel)))));
|
|
@@ -145,26 +206,6 @@ export class TetStickyOffer {
|
|
|
145
206
|
"attribute": "visible",
|
|
146
207
|
"defaultValue": "true"
|
|
147
208
|
},
|
|
148
|
-
"hideOnScroll": {
|
|
149
|
-
"type": "boolean",
|
|
150
|
-
"mutable": false,
|
|
151
|
-
"complexType": {
|
|
152
|
-
"original": "boolean",
|
|
153
|
-
"resolved": "boolean",
|
|
154
|
-
"references": {}
|
|
155
|
-
},
|
|
156
|
-
"required": false,
|
|
157
|
-
"optional": false,
|
|
158
|
-
"docs": {
|
|
159
|
-
"tags": [],
|
|
160
|
-
"text": "Hides the offer after scrolling down and shows it when scrolling up. Set to false to disable."
|
|
161
|
-
},
|
|
162
|
-
"getter": false,
|
|
163
|
-
"setter": false,
|
|
164
|
-
"reflect": false,
|
|
165
|
-
"attribute": "hide-on-scroll",
|
|
166
|
-
"defaultValue": "true"
|
|
167
|
-
},
|
|
168
209
|
"offerName": {
|
|
169
210
|
"type": "string",
|
|
170
211
|
"mutable": false,
|
|
@@ -284,12 +325,79 @@ export class TetStickyOffer {
|
|
|
284
325
|
"reflect": false,
|
|
285
326
|
"attribute": "action-target",
|
|
286
327
|
"defaultValue": "'_self'"
|
|
328
|
+
},
|
|
329
|
+
"triggerElement": {
|
|
330
|
+
"type": "unknown",
|
|
331
|
+
"mutable": false,
|
|
332
|
+
"complexType": {
|
|
333
|
+
"original": "HTMLElement",
|
|
334
|
+
"resolved": "HTMLElement",
|
|
335
|
+
"references": {
|
|
336
|
+
"HTMLElement": {
|
|
337
|
+
"location": "global",
|
|
338
|
+
"id": "global::HTMLElement"
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"required": false,
|
|
343
|
+
"optional": true,
|
|
344
|
+
"docs": {
|
|
345
|
+
"tags": [],
|
|
346
|
+
"text": "Scrolling element whose top must pass above the top boundary's bottom before the offer appears."
|
|
347
|
+
},
|
|
348
|
+
"getter": false,
|
|
349
|
+
"setter": false
|
|
350
|
+
},
|
|
351
|
+
"topBoundaryElement": {
|
|
352
|
+
"type": "unknown",
|
|
353
|
+
"mutable": false,
|
|
354
|
+
"complexType": {
|
|
355
|
+
"original": "HTMLElement",
|
|
356
|
+
"resolved": "HTMLElement",
|
|
357
|
+
"references": {
|
|
358
|
+
"HTMLElement": {
|
|
359
|
+
"location": "global",
|
|
360
|
+
"id": "global::HTMLElement"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
"required": false,
|
|
365
|
+
"optional": true,
|
|
366
|
+
"docs": {
|
|
367
|
+
"tags": [],
|
|
368
|
+
"text": "Element whose bottom defines the visibility threshold when a trigger is provided. Defaults to the viewport top."
|
|
369
|
+
},
|
|
370
|
+
"getter": false,
|
|
371
|
+
"setter": false
|
|
372
|
+
},
|
|
373
|
+
"bottomBoundaryElement": {
|
|
374
|
+
"type": "unknown",
|
|
375
|
+
"mutable": false,
|
|
376
|
+
"complexType": {
|
|
377
|
+
"original": "HTMLElement",
|
|
378
|
+
"resolved": "HTMLElement",
|
|
379
|
+
"references": {
|
|
380
|
+
"HTMLElement": {
|
|
381
|
+
"location": "global",
|
|
382
|
+
"id": "global::HTMLElement"
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
},
|
|
386
|
+
"required": false,
|
|
387
|
+
"optional": true,
|
|
388
|
+
"docs": {
|
|
389
|
+
"tags": [],
|
|
390
|
+
"text": "Footer before which the offer docks, matching the preceding module's bottom padding."
|
|
391
|
+
},
|
|
392
|
+
"getter": false,
|
|
393
|
+
"setter": false
|
|
287
394
|
}
|
|
288
395
|
};
|
|
289
396
|
}
|
|
290
397
|
static get states() {
|
|
291
398
|
return {
|
|
292
|
-
"
|
|
399
|
+
"boundaryVisible": {},
|
|
400
|
+
"boundaryBottom": {}
|
|
293
401
|
};
|
|
294
402
|
}
|
|
295
403
|
static get events() {
|
|
@@ -313,17 +421,29 @@ export class TetStickyOffer {
|
|
|
313
421
|
static get elementRef() { return "host"; }
|
|
314
422
|
static get watchers() {
|
|
315
423
|
return [{
|
|
316
|
-
"propName": "
|
|
317
|
-
"methodName": "
|
|
424
|
+
"propName": "bottomBoundaryElement",
|
|
425
|
+
"methodName": "setupDockingSpace"
|
|
426
|
+
}, {
|
|
427
|
+
"propName": "triggerElement",
|
|
428
|
+
"methodName": "observeBoundaries"
|
|
429
|
+
}, {
|
|
430
|
+
"propName": "topBoundaryElement",
|
|
431
|
+
"methodName": "observeBoundaries"
|
|
318
432
|
}, {
|
|
319
|
-
"propName": "
|
|
320
|
-
"methodName": "
|
|
433
|
+
"propName": "visible",
|
|
434
|
+
"methodName": "updateBoundaries"
|
|
321
435
|
}];
|
|
322
436
|
}
|
|
323
437
|
static get listeners() {
|
|
324
438
|
return [{
|
|
325
439
|
"name": "scroll",
|
|
326
|
-
"method": "
|
|
440
|
+
"method": "onScroll",
|
|
441
|
+
"target": "window",
|
|
442
|
+
"capture": true,
|
|
443
|
+
"passive": true
|
|
444
|
+
}, {
|
|
445
|
+
"name": "resize",
|
|
446
|
+
"method": "onResize",
|
|
327
447
|
"target": "window",
|
|
328
448
|
"capture": false,
|
|
329
449
|
"passive": true
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t}from"./p-
|
|
1
|
+
import{t}from"./p-ChxhsA_J.js";export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-ChxhsA_J.js";import{TetAccordion as o}from"./tet-accordion.js";import{TetAddressOffers as m}from"./tet-address-offers.js";import{TetAddressOffersFilters as e}from"./tet-address-offers-filters.js";import{TetAddressOffersFiltersProducts as i}from"./tet-address-offers-filters-products.js";import{TetAddressOffersView as p}from"./tet-address-offers-view.js";import{TetAddressSearch as f}from"./tet-address-search.js";import{TetAssembler as j}from"./tet-assembler.js";import{TetAssetAvailabilityAddresses as c}from"./tet-asset-availability-addresses.js";import{TetAutocomplete as n}from"./tet-autocomplete.js";import{TetAutocompleteDropdown as d}from"./tet-autocomplete-dropdown.js";import{TetAvailabilityContactForm as l}from"./tet-availability-contact-form.js";import{TetB2bCheckOutForm as u}from"./tet-b2b-check-out-form.js";import{TetB2bCompareCard as h}from"./tet-b2b-compare-card.js";import{TetB2bConfigurator as k}from"./tet-b2b-configurator.js";import{TetB2bConfiguratorCart as v}from"./tet-b2b-configurator-cart.js";import{TetBannerNav as w}from"./tet-banner-nav.js";import{TetBarGraph as y}from"./tet-bar-graph.js";import{TetBorderRadius as x}from"./tet-border-radius.js";import{TetBusinessCard as A}from"./tet-business-card.js";import{TetBusinessCompareCard as E}from"./tet-business-compare-card.js";import{TetBusinessNavigation as P}from"./tet-business-navigation.js";import{TetBusinessRoundStepper as C}from"./tet-business-round-stepper.js";import{TetBusinessSummaryCard as J}from"./tet-business-summary-card.js";import{TetButton as _}from"./tet-button.js";import{TetCardList as N}from"./tet-card-list.js";import{TetCarousel as O}from"./tet-carousel.js";import{TetCheckbox as q}from"./tet-checkbox.js";import{TetCloudApplicationFormDialog as z}from"./tet-cloud-application-form-dialog.js";import{TetCloudConfigurator as B}from"./tet-cloud-configurator.js";import{TetColors as D}from"./tet-colors.js";import{TetCompareCard as F}from"./tet-compare-card.js";import{TetCompareCardV2 as G}from"./tet-compare-card-v2.js";import{TetCompareCardV3 as H}from"./tet-compare-card-v3.js";import{TetCompareCards as I}from"./tet-compare-cards.js";import{TetCompareCardsTab as K}from"./tet-compare-cards-tab.js";import{TetContainer as L}from"./tet-container.js";import{TetCountdown as M}from"./tet-countdown.js";import{TetCounter as Q}from"./tet-counter.js";import{TetDatepicker as R}from"./tet-datepicker.js";import{TetDatepickerHeader as S}from"./tet-datepicker-header.js";import{TetDatepickerMonthView as T}from"./tet-datepicker-month-view.js";import{TetDatepickerMultiYearView as U}from"./tet-datepicker-multi-year-view.js";import{TetDatepickerYearView as V}from"./tet-datepicker-year-view.js";import{TetDialog as W}from"./tet-dialog.js";import{TetDisplay as X}from"./tet-display.js";import{TetDivider as Y}from"./tet-divider.js";import{TetDropdown as Z}from"./tet-dropdown.js";import{TetDynamicCard as $}from"./tet-dynamic-card.js";import{TetExpandableInput as tt}from"./tet-expandable-input.js";import{TetExpansionPanel as rt}from"./tet-expansion-panel.js";import{TetFeedbackForm as ot}from"./tet-feedback-form.js";import{TetFilter as mt}from"./tet-filter.js";import{TetFloatingBlock as et}from"./tet-floating-block.js";import{TetFontWeight as st}from"./tet-font-weight.js";import{TetFonts as it}from"./tet-fonts.js";import{TetGrid as pt}from"./tet-grid.js";import{TetIcon as ft}from"./tet-icon.js";import{TetInlineMessage as at}from"./tet-inline-message.js";import{TetInput as jt}from"./tet-input.js";import{TetLayout as ct}from"./tet-layout.js";import{TetLink as nt}from"./tet-link.js";import{TetLinkCardList as dt}from"./tet-link-card-list.js";import{TetLoader as lt}from"./tet-loader.js";import{TetMenu as ut}from"./tet-menu.js";import{TetMenuMobile as bt}from"./tet-menu-mobile.js";import{TetMiniCompareCard as gt}from"./tet-mini-compare-card.js";import{TetMultiStepDialog as ht}from"./tet-multi-step-dialog.js";import{TetNavigationMobile as kt}from"./tet-navigation-mobile.js";import{TetNewsCardList as vt}from"./tet-news-card-list.js";import{TetNotification as wt}from"./tet-notification.js";import{TetNumberInput as yt}from"./tet-number-input.js";import{TetPlaceholder as xt}from"./tet-placeholder.js";import{TetPosition as At}from"./tet-position.js";import{TetPriceView as Et}from"./tet-price-view.js";import{TetRadio as Pt}from"./tet-radio.js";import{TetRadioBlocks as Ct}from"./tet-radio-blocks.js";import{TetRangeSlider as Jt}from"./tet-range-slider.js";import{TetRoundStepper as _t}from"./tet-round-stepper.js";import{TetSelectionList as Nt}from"./tet-selection-list.js";import{TetSnickerCard as Ot}from"./tet-snicker-card.js";import{TetSnickerCardGroup as qt}from"./tet-snicker-card-group.js";import{TetSpacing as zt}from"./tet-spacing.js";import{TetSpinner as Bt}from"./tet-spinner.js";import{TetStepperInput as Dt}from"./tet-stepper-input.js";import{TetStepperV3 as Ft}from"./tet-stepper-v3.js";import{TetStickyOffer as Gt}from"./tet-sticky-offer.js";import{TetSupportSearch as Ht}from"./tet-support-search.js";import{TetSwitch as It}from"./tet-switch.js";import{TetTabContent as Kt}from"./tet-tab-content.js";import{TetTabHeader as Lt}from"./tet-tab-header.js";import{TetTable as Mt}from"./tet-table.js";import{TetTag as Qt}from"./tet-tag.js";import{TetTagGroup as Rt}from"./tet-tag-group.js";import{TetText as St}from"./tet-text.js";import{TetTextList as Tt}from"./tet-text-list.js";import{TetTextarea as Ut}from"./tet-textarea.js";import{TetThankYouViewV3 as Vt}from"./tet-thank-you-view-v3.js";import{TetTooltip as Wt}from"./tet-tooltip.js";const Xt=r=>{"undefined"!=typeof customElements&&[o,m,e,i,p,f,j,c,n,d,l,u,h,k,v,w,y,x,A,E,P,C,J,_,N,O,q,z,B,D,F,G,H,I,K,L,M,Q,R,S,T,U,V,W,X,Y,Z,$,tt,rt,ot,mt,et,st,it,pt,ft,at,jt,ct,nt,dt,lt,ut,bt,gt,ht,kt,vt,wt,yt,xt,At,Et,Pt,Ct,Jt,_t,Nt,Ot,qt,zt,Bt,Dt,Ft,Gt,Ht,It,Kt,Lt,Mt,Qt,Rt,St,Tt,Ut,Vt,Wt].forEach((o=>{customElements.get(t(o.is))||customElements.define(t(o.is),o,r)}))};export{Xt as defineCustomElements}
|