@tet/tet-components 1.4.133-testing → 1.4.134-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/{http-codes-C-IXSZGG.js → http-codes-D0eSyfH-.js} +1 -1
- package/dist/cjs/{index-DKg1QTRW.js → index-CbS7RiVd.js} +5 -9
- package/dist/cjs/{index-Bo0hF6YQ.js → index-DaKfTj-9.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{product-comparison-f-u42TDe.js → product-comparison-ed-KZo7G.js} +1 -1
- package/dist/cjs/{string-D0kCSyUd.js → string-CL-wkThZ.js} +0 -4
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +5 -5
- package/dist/cjs/tet-address-offers_5.cjs.entry.js +6 -6
- package/dist/cjs/tet-assembler.cjs.entry.js +4 -4
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +5 -5
- package/dist/cjs/tet-banner-nav.cjs.entry.js +4 -4
- 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-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 +4 -4
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +2 -2
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-colors.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-compare-card-v3.cjs.entry.js +32 -18
- 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 +2 -2
- package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-feedback-form.cjs.entry.js +4 -4
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-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 +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-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 +4 -4
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +120 -0
- package/dist/cjs/tet-support-search.cjs.entry.js +2 -2
- 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 +4 -4
- 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 +4 -4
- package/dist/cjs/{translations-f2lO6WcB.js → translations-CpNdr9Fz.js} +2 -2
- package/dist/cjs/{typecheck--Bs-bZ_K.js → typecheck-Do6mN8Vg.js} +0 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js +59 -15
- package/dist/collection/components/simple/{inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.css → misc/tet-sticky-offer/tet-sticky-offer.css} +150 -90
- package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +319 -0
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/components/views/tet-b2b-configurator/tet-b2b-configurator.js +1 -1
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-BwuKRxa0.js → p-6XFF19Nr.js} +1 -1
- package/dist/components/{p-D0VEBguO.js → p-BMwNC33n.js} +1 -1
- package/dist/components/p-BTndlvfE.js +1 -0
- package/dist/components/{p-DJQWSjRR.js → p-BXYUK59l.js} +1 -1
- package/dist/components/{p-DHOPNeBR.js → p-B_LwYeuy.js} +1 -1
- package/dist/components/p-BeNFSjnX.js +1 -0
- package/dist/components/{p-H56BMng-.js → p-BeRz75BI.js} +1 -1
- package/dist/components/{p-gxqUI4FR.js → p-BfSHvjkT.js} +1 -1
- package/dist/components/p-Bme7YRKY.js +1 -0
- package/dist/components/{p-gpfz6eY4.js → p-Bol8C7pI.js} +1 -1
- package/dist/components/{p-B-nwyAfL.js → p-BqI9GOe9.js} +1 -1
- package/dist/components/{p-DpCspv5M.js → p-BvtO7BDA.js} +1 -1
- package/dist/components/{p-BGcqCtfK.js → p-Bxxbf-Oz.js} +1 -1
- package/dist/components/{p-BW48_rii.js → p-C3VQ2jnV.js} +1 -1
- package/dist/components/{p-CZWykfnF.js → p-CWllkExs.js} +1 -1
- package/dist/components/{p-B_RQCK28.js → p-CdOMJGTE.js} +1 -1
- package/dist/components/{p-D9FmDb4L.js → p-Cdo2SJTt.js} +1 -1
- package/dist/components/{p-Dp6LvdrN.js → p-Ck3hZxtx.js} +1 -1
- package/dist/components/{p-D5plublb.js → p-CwITlyZ1.js} +1 -1
- package/dist/components/{p-DRJ0zjoF.js → p-CxWSFzrp.js} +1 -1
- package/dist/components/{p-BBMx2Nbt.js → p-D-0UTSXy.js} +1 -1
- package/dist/components/{p-CfIyvV8F.js → p-DCziOcQZ.js} +1 -1
- package/dist/components/{p-D4mimikO.js → p-DK2JQPO5.js} +1 -1
- package/dist/components/{p-BWmFtcLN.js → p-DKBs405f.js} +1 -1
- package/dist/components/{p-85IQWbFs.js → p-DNZTxThN.js} +1 -1
- package/dist/components/{p-CDTZ2TSu.js → p-DNx5RCMF.js} +1 -1
- package/dist/components/{p-B0yDw7Me.js → p-DRl2lSRQ.js} +1 -1
- package/dist/components/p-DSg1RagT.js +1 -0
- package/dist/components/{p-B1rkpH0w.js → p-DXpqN8W8.js} +1 -1
- package/dist/components/{p-CwXqN-k6.js → p-Dafhs1bg.js} +1 -1
- package/dist/components/{p-B4fOuNpD.js → p-DbFXQxtx.js} +1 -1
- package/dist/components/{p-0m6VLm4E.js → p-DmJDpBw3.js} +1 -1
- package/dist/components/{p-KBNSpMwX.js → p-DrcVsjAJ.js} +1 -1
- package/dist/components/{p-D2Lwh60X.js → p-Dzsvzn-Z.js} +1 -1
- package/dist/components/{p-DQ-DPsSd.js → p-EJdSgDk0.js} +1 -1
- package/dist/components/{p-Dc2kc0WA.js → p-EqgDyiQ3.js} +1 -1
- package/dist/components/{p-CBm8zIRJ.js → p-Fvwr9YOw.js} +1 -1
- package/dist/components/{p-BZ9cVPPC.js → p-HAvODPLk.js} +1 -1
- package/dist/components/{p-B70tbyf1.js → p-Q3HIcffg.js} +1 -1
- package/dist/components/{p-BZ0uDmYr.js → p-QPymGNaM.js} +1 -1
- package/dist/components/{p-4OtGLxTM.js → p-SWy-pabH.js} +1 -1
- package/dist/components/{p-5bU9w0Qe.js → p-Uhi1kZOJ.js} +1 -1
- package/dist/components/{p-HFiQLGgZ.js → p-VduP2Zh9.js} +1 -1
- package/dist/components/{p-CefLDPbf.js → p-W3PIrJRJ.js} +1 -1
- package/dist/components/p-_2UzwYR8.js +1 -0
- package/dist/components/{p-zkmKLYHg.js → p-i2wF1G8t.js} +1 -1
- package/dist/components/{p-B8ElCfnM.js → p-khIxWxRF.js} +1 -1
- package/dist/components/{p-BXZCgW0z.js → p-l87lCPu1.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-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-datepicker.d.ts → tet-sticky-offer.d.ts} +4 -4
- package/dist/components/tet-sticky-offer.js +1 -0
- 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-BIwnNday.js} +1 -1
- package/dist/esm/{index-DfBhGuuz.js → index-DFwTKM0O.js} +1 -1
- package/dist/esm/{index-ClX9TYQY.js → index-DRLfH-G3.js} +5 -9
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{product-comparison-DJko3TwF.js → product-comparison-BLY2XeQZ.js} +1 -1
- package/dist/esm/{string-D0GJDW-O.js → string-C9BlrGW8.js} +1 -4
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
- package/dist/esm/tet-address-offers-view.entry.js +5 -5
- package/dist/esm/tet-address-offers_5.entry.js +6 -6
- package/dist/esm/tet-assembler.entry.js +4 -4
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete_2.entry.js +3 -3
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +4 -4
- package/dist/esm/tet-b2b-configurator.entry.js +5 -5
- package/dist/esm/tet-banner-nav.entry.js +4 -4
- 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-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 +4 -4
- package/dist/esm/tet-checkbox_3.entry.js +2 -2
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +4 -4
- package/dist/esm/tet-cloud-configurator.entry.js +4 -4
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- package/dist/esm/tet-compare-card-v3.entry.js +32 -18
- 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 +2 -2
- package/dist/esm/tet-countdown.entry.js +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +4 -4
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-feedback-form.entry.js +4 -4
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +4 -4
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-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 +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +4 -4
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-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 +4 -4
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +118 -0
- package/dist/esm/tet-support-search.entry.js +2 -2
- 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 +4 -4
- 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 +4 -4
- package/dist/esm/{translations-4zQUcigP.js → translations-DlbHIyQg.js} +2 -2
- package/dist/esm/{typecheck-Bvqcvhjw.js → typecheck-CaZKtSyx.js} +1 -2
- package/dist/tet-components/{p-0b930d4c.entry.js → p-001782bf.entry.js} +1 -1
- package/dist/tet-components/{p-772a2957.entry.js → p-09289fa1.entry.js} +1 -1
- package/dist/tet-components/p-0dcca890.entry.js +1 -0
- package/dist/tet-components/{p-f5315eaf.entry.js → p-0ec02698.entry.js} +1 -1
- package/dist/tet-components/{p-eca2fc2f.entry.js → p-0ee97792.entry.js} +1 -1
- package/dist/tet-components/{p-1d997c7d.entry.js → p-1652ed96.entry.js} +1 -1
- package/dist/tet-components/{p-7fdd634a.entry.js → p-19cf7e5a.entry.js} +1 -1
- package/dist/tet-components/{p-baf6ba9e.entry.js → p-1a559db5.entry.js} +1 -1
- package/dist/tet-components/{p-73aca8b1.entry.js → p-1a8c6e45.entry.js} +1 -1
- package/dist/tet-components/{p-e13f06c4.entry.js → p-23f7e7c9.entry.js} +1 -1
- package/dist/tet-components/{p-8091cf4b.entry.js → p-2c344868.entry.js} +1 -1
- package/dist/tet-components/{p-616d3818.entry.js → p-2d821378.entry.js} +1 -1
- package/dist/tet-components/{p-591a092a.entry.js → p-2ee60b13.entry.js} +1 -1
- package/dist/tet-components/{p-d7d0ea5a.entry.js → p-33fbdaff.entry.js} +1 -1
- package/dist/tet-components/{p-affc9d7e.entry.js → p-38896daf.entry.js} +1 -1
- package/dist/tet-components/{p-b315a1c8.entry.js → p-39118ce2.entry.js} +1 -1
- package/dist/tet-components/{p-aedfdd66.entry.js → p-3f9f1252.entry.js} +1 -1
- package/dist/tet-components/{p-39be547b.entry.js → p-443b131b.entry.js} +1 -1
- package/dist/tet-components/{p-47484c33.entry.js → p-4538e30b.entry.js} +1 -1
- package/dist/tet-components/{p-8436df88.entry.js → p-4569b8bc.entry.js} +1 -1
- package/dist/tet-components/{p-15bddc3d.entry.js → p-4b94b11b.entry.js} +1 -1
- package/dist/tet-components/{p-f0e3da32.entry.js → p-4cd9856e.entry.js} +1 -1
- package/dist/tet-components/{p-7ffa074d.entry.js → p-5356548e.entry.js} +1 -1
- package/dist/tet-components/{p-4f47079e.entry.js → p-535de739.entry.js} +1 -1
- package/dist/tet-components/{p-43d1f956.entry.js → p-53ddf6d9.entry.js} +1 -1
- package/dist/tet-components/{p-2bd1b7ec.entry.js → p-54baa574.entry.js} +1 -1
- package/dist/tet-components/{p-139d4cad.entry.js → p-55253942.entry.js} +1 -1
- package/dist/tet-components/{p-29948163.entry.js → p-570f744c.entry.js} +1 -1
- package/dist/tet-components/{p-2e7cb093.entry.js → p-5926d29a.entry.js} +1 -1
- package/dist/tet-components/{p-f79c8697.entry.js → p-5a31ce02.entry.js} +1 -1
- package/dist/tet-components/{p-53b4947e.entry.js → p-5bb5e9bf.entry.js} +1 -1
- package/dist/tet-components/{p-dfdf946f.entry.js → p-5c4d6ad0.entry.js} +1 -1
- package/dist/tet-components/{p-8bdcb714.entry.js → p-5e7ef84f.entry.js} +1 -1
- package/dist/tet-components/{p-f5a86256.entry.js → p-5ffae43b.entry.js} +1 -1
- package/dist/tet-components/{p-a0340287.entry.js → p-6370d477.entry.js} +1 -1
- package/dist/tet-components/{p-4a22c9a8.entry.js → p-644d19eb.entry.js} +1 -1
- package/dist/tet-components/{p-5fcc2e1e.entry.js → p-6700d26f.entry.js} +1 -1
- package/dist/tet-components/{p-77ae360e.entry.js → p-6788614b.entry.js} +1 -1
- package/dist/tet-components/{p-499ff632.entry.js → p-6837420f.entry.js} +1 -1
- package/dist/tet-components/{p-24bdeb37.entry.js → p-72f10abe.entry.js} +1 -1
- package/dist/tet-components/{p-cd267067.entry.js → p-74e87653.entry.js} +1 -1
- package/dist/tet-components/{p-7105253e.entry.js → p-7e55881a.entry.js} +1 -1
- package/dist/tet-components/p-7f0e7265.entry.js +1 -0
- package/dist/tet-components/{p-2e4e81a5.entry.js → p-7fae4d11.entry.js} +1 -1
- package/dist/tet-components/{p-87d015b3.entry.js → p-80eb8975.entry.js} +1 -1
- package/dist/tet-components/{p-d2abe02d.entry.js → p-863b9c4f.entry.js} +1 -1
- package/dist/tet-components/{p-b4c45d6b.entry.js → p-87379696.entry.js} +1 -1
- package/dist/tet-components/{p-98ae4292.entry.js → p-89aa61b4.entry.js} +1 -1
- package/dist/tet-components/{p-b5efc6d4.entry.js → p-931af84a.entry.js} +1 -1
- package/dist/tet-components/{p-306ff942.entry.js → p-9491b52d.entry.js} +1 -1
- package/dist/tet-components/{p-tf8lKgfD.js → p-B0ZtMor0.js} +1 -1
- package/dist/tet-components/p-C9BlrGW8.js +1 -0
- package/dist/tet-components/p-CaZKtSyx.js +1 -0
- package/dist/{components/p-DePtMqzY.js → tet-components/p-DHhdzkdo.js} +1 -1
- package/dist/tet-components/p-DRLfH-G3.js +3 -0
- package/dist/tet-components/{p-1260d6fa.entry.js → p-a5f552c8.entry.js} +1 -1
- package/dist/tet-components/p-a7Y8PX2f.js +1 -0
- package/dist/tet-components/{p-92ef3a39.entry.js → p-ba792152.entry.js} +1 -1
- package/dist/tet-components/{p-ec905a5c.entry.js → p-bb003b93.entry.js} +1 -1
- package/dist/tet-components/{p-394b9c6b.entry.js → p-bb4b016d.entry.js} +1 -1
- package/dist/tet-components/{p-10e789d9.entry.js → p-bc5450cb.entry.js} +1 -1
- package/dist/tet-components/{p-eb3a8119.entry.js → p-bd94906d.entry.js} +1 -1
- package/dist/tet-components/{p-bd42d182.entry.js → p-bf441a6f.entry.js} +1 -1
- package/dist/tet-components/{p-cb1c05ab.entry.js → p-bf79a574.entry.js} +1 -1
- package/dist/tet-components/{p-c989a64d.entry.js → p-c21eb460.entry.js} +1 -1
- package/dist/tet-components/{p-79e4a166.entry.js → p-c444f4bc.entry.js} +1 -1
- package/dist/tet-components/{p-dca1a4c2.entry.js → p-c5c88bf8.entry.js} +1 -1
- package/dist/tet-components/{p-3242f182.entry.js → p-cbbb2f74.entry.js} +1 -1
- package/dist/tet-components/{p-8a9d5ef1.entry.js → p-ce59d1cb.entry.js} +1 -1
- package/dist/tet-components/{p-a0d9cb0e.entry.js → p-d450dfc2.entry.js} +1 -1
- package/dist/tet-components/{p-7a2bf234.entry.js → p-d527b903.entry.js} +1 -1
- package/dist/tet-components/{p-5a31f21d.entry.js → p-d9e7883d.entry.js} +1 -1
- package/dist/tet-components/{p-21a59a4f.entry.js → p-debd1123.entry.js} +1 -1
- package/dist/tet-components/{p-d44bea09.entry.js → p-df12fcae.entry.js} +1 -1
- package/dist/tet-components/{p-b8c0433c.entry.js → p-e78ed300.entry.js} +1 -1
- package/dist/tet-components/p-e8a03fda.entry.js +1 -0
- package/dist/tet-components/p-ea9668c8.entry.js +1 -0
- package/dist/tet-components/{p-c32edb32.entry.js → p-ec9bbd9c.entry.js} +1 -1
- package/dist/tet-components/{p-47b6721e.entry.js → p-f1672161.entry.js} +1 -1
- package/dist/tet-components/{p-1deb89e1.entry.js → p-f34234f1.entry.js} +1 -1
- package/dist/tet-components/{p-d6856b93.entry.js → p-f359076b.entry.js} +1 -1
- package/dist/tet-components/{p-a410109c.entry.js → p-f519649a.entry.js} +1 -1
- package/dist/tet-components/{p-8b3ea797.entry.js → p-f60aa760.entry.js} +1 -1
- package/dist/tet-components/{p-B8Zjo2sa.js → p-v8vRDDsl.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.d.ts +10 -1
- package/dist/types/components/simple/misc/tet-sticky-offer/tet-sticky-offer.d.ts +35 -0
- package/dist/types/components.d.ts +140 -385
- package/package.json +6 -6
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +0 -387
- package/dist/cjs/tet-datepicker.cjs.entry.js +0 -132
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.css +0 -393
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.css +0 -382
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.css +0 -382
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.css +0 -380
- package/dist/components/p-1M2reaCU.js +0 -1
- package/dist/components/p-9ItXFJZ6.js +0 -1
- package/dist/components/p-CQfy7CVi.js +0 -1
- package/dist/components/p-Cef0hbKH.js +0 -1
- package/dist/components/p-CoQ-OVcl.js +0 -1
- package/dist/components/p-D0GJDW-O.js +0 -1
- package/dist/components/p-DLBQ7YzN.js +0 -1
- package/dist/components/p-LkN4wIlk.js +0 -1
- package/dist/components/p-j3gczqFU.js +0 -1
- package/dist/components/p-nb3MHK7A.js +0 -1
- package/dist/components/tet-datepicker-header.d.ts +0 -11
- package/dist/components/tet-datepicker-header.js +0 -1
- package/dist/components/tet-datepicker-month-view.d.ts +0 -11
- package/dist/components/tet-datepicker-month-view.js +0 -1
- package/dist/components/tet-datepicker-multi-year-view.d.ts +0 -11
- package/dist/components/tet-datepicker-multi-year-view.js +0 -1
- package/dist/components/tet-datepicker-year-view.d.ts +0 -11
- package/dist/components/tet-datepicker-year-view.js +0 -1
- package/dist/components/tet-datepicker.js +0 -1
- package/dist/esm/tet-datepicker-header_4.entry.js +0 -382
- package/dist/esm/tet-datepicker.entry.js +0 -130
- package/dist/tet-components/p-4aa2dbc8.entry.js +0 -1
- package/dist/tet-components/p-BGrvDoTj.js +0 -1
- package/dist/tet-components/p-Bvqcvhjw.js +0 -1
- package/dist/tet-components/p-ClX9TYQY.js +0 -3
- package/dist/tet-components/p-D0GJDW-O.js +0 -1
- package/dist/tet-components/p-a23f558f.entry.js +0 -1
- package/dist/tet-components/p-b849774e.entry.js +0 -1
- package/dist/tet-components/p-d61a10d3.entry.js +0 -1
- package/dist/tet-components/p-ea8a2595.entry.js +0 -1
- package/dist/tet-components/p-t-BNeeWq.js +0 -1
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.d.ts +0 -21
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.d.ts +0 -45
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.d.ts +0 -20
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.d.ts +0 -20
- package/dist/types/components/simple/inputs/tet-datepicker/tet-datepicker.d.ts +0 -47
package/dist/collection/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.js
CHANGED
|
@@ -191,6 +191,22 @@ export class TetCompareCardV3 {
|
|
|
191
191
|
return [...productOptions, ...(option.dropdownOptions?.length ? option.dropdownOptions : [option])];
|
|
192
192
|
}, []);
|
|
193
193
|
}
|
|
194
|
+
/** Returns loaded API product data with a complete form URL for each contract term. */
|
|
195
|
+
async getProductByCode(code) {
|
|
196
|
+
const option = this.getProductOptions().find(option => option.productCode === code);
|
|
197
|
+
const product = option ? this.allProductData[this.getOptionId(option)] : undefined;
|
|
198
|
+
if (!product) {
|
|
199
|
+
return undefined;
|
|
200
|
+
}
|
|
201
|
+
const baseUrl = product.formUrl?.[this.language] ?? '';
|
|
202
|
+
return {
|
|
203
|
+
...product,
|
|
204
|
+
contractTerms: product.contractTerms?.map(term => ({
|
|
205
|
+
...term,
|
|
206
|
+
completeUrl: this.getCompleteUrl(baseUrl, code, term)
|
|
207
|
+
}))
|
|
208
|
+
};
|
|
209
|
+
}
|
|
194
210
|
getSelectedOption() {
|
|
195
211
|
const selectedOption = this.getOptionById(this.selectedProductId);
|
|
196
212
|
const dropdownOptions = selectedOption?.dropdownOptions ?? [];
|
|
@@ -508,7 +524,15 @@ export class TetCompareCardV3 {
|
|
|
508
524
|
'single-option': isSingleCard && isSingleOption,
|
|
509
525
|
} }, this.controlsTitle)), control));
|
|
510
526
|
}
|
|
511
|
-
|
|
527
|
+
getCompleteUrl(baseUrl, productCode, contractTermData) {
|
|
528
|
+
const params = new URLSearchParams({ sourceUrl: globalThis.location?.href ?? '' });
|
|
529
|
+
if (productCode !== null) {
|
|
530
|
+
params.set('contractTerm', String(contractTermData?.term ?? ''));
|
|
531
|
+
params.set('product', productCode);
|
|
532
|
+
params.set('promotion', contractTermData?.promotionCode ?? '');
|
|
533
|
+
params.set('lang', this.language ?? '');
|
|
534
|
+
params.set('from', 'tet.lv');
|
|
535
|
+
}
|
|
512
536
|
try {
|
|
513
537
|
const url = new URL(baseUrl);
|
|
514
538
|
if (!['http:', 'https:'].includes(url.protocol)) {
|
|
@@ -540,24 +564,14 @@ export class TetCompareCardV3 {
|
|
|
540
564
|
const overrideProductName = comparisonData?.attributes?.find(attr => attr.key === 'overrideProductName')?.value;
|
|
541
565
|
const mainTitle = manualProductData?.name ?? overrideProductName ?? comparisonData?.name?.[this.language];
|
|
542
566
|
const priceData = this.getPriceData(manualProductData, comparisonData, contractTermData);
|
|
543
|
-
const promotionCode = contractTermData?.promotionCode ?? '';
|
|
544
|
-
const term = contractTermData?.term ?? '';
|
|
545
567
|
const secondaryLink = this.secondaryLink || manualProductData?.contractUrl || contractTermData?.contract || '';
|
|
546
568
|
const shouldRenderSecondaryLink = !!secondaryLink && !!this.secondaryLinkText;
|
|
547
569
|
const secondaryLinkTarget = this.secondaryLinkOpenBlank ? '_blank' : undefined;
|
|
548
570
|
const secondaryLinkRel = this.secondaryLinkOpenBlank ? 'noopener noreferrer' : undefined;
|
|
549
571
|
const baseUrl = comparisonData?.formUrl?.[this.language] || '';
|
|
550
|
-
const
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
if (!manualProductData) {
|
|
554
|
-
params.set('contractTerm', term?.toString() ?? '');
|
|
555
|
-
params.set('product', selectedOption?.productCode ?? '');
|
|
556
|
-
params.set('promotion', promotionCode ?? '');
|
|
557
|
-
params.set('lang', this.language ?? '');
|
|
558
|
-
params.set('from', 'tet.lv');
|
|
559
|
-
}
|
|
560
|
-
const link = manualProductData ? this.buildLinkWithParams(manualProductData.formUrl, params) : this.buildLinkWithParams(baseUrl, params);
|
|
572
|
+
const link = manualProductData
|
|
573
|
+
? this.getCompleteUrl(manualProductData.formUrl, null)
|
|
574
|
+
: this.getCompleteUrl(baseUrl, selectedOption?.productCode ?? '', contractTermData);
|
|
561
575
|
const titleBadgeText = selectedOption?.titleBadge;
|
|
562
576
|
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)))));
|
|
563
577
|
}
|
|
@@ -589,7 +603,7 @@ export class TetCompareCardV3 {
|
|
|
589
603
|
return (h("tet-placeholder", { class: { 'card__placeholder': true, 'single-card': this.cardType === 'single-card' }, height: "100%", width: "100%", darkTheme: this.theme === 'dark' }));
|
|
590
604
|
}
|
|
591
605
|
render() {
|
|
592
|
-
return (h(Host, { key: '
|
|
606
|
+
return (h(Host, { key: 'db2a0399e7903acc8a4f3065211cab95a02b8179', "data-contains-focusable-content": true }, this.showLoader ? this.renderLoader() : this.renderCard()));
|
|
593
607
|
}
|
|
594
608
|
static get is() { return "tet-compare-card-v3"; }
|
|
595
609
|
static get encapsulation() { return "shadow"; }
|
|
@@ -998,6 +1012,36 @@ export class TetCompareCardV3 {
|
|
|
998
1012
|
}
|
|
999
1013
|
}];
|
|
1000
1014
|
}
|
|
1015
|
+
static get methods() {
|
|
1016
|
+
return {
|
|
1017
|
+
"getProductByCode": {
|
|
1018
|
+
"complexType": {
|
|
1019
|
+
"signature": "(code: string) => Promise<ProductComparisonWithCompleteUrl | undefined>",
|
|
1020
|
+
"parameters": [{
|
|
1021
|
+
"name": "code",
|
|
1022
|
+
"type": "string",
|
|
1023
|
+
"docs": ""
|
|
1024
|
+
}],
|
|
1025
|
+
"references": {
|
|
1026
|
+
"Promise": {
|
|
1027
|
+
"location": "global",
|
|
1028
|
+
"id": "global::Promise"
|
|
1029
|
+
},
|
|
1030
|
+
"ProductComparisonWithCompleteUrl": {
|
|
1031
|
+
"location": "local",
|
|
1032
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.tsx",
|
|
1033
|
+
"id": "src/components/advanced/cards/tet-compare-card-v3/tet-compare-card-v3.tsx::ProductComparisonWithCompleteUrl"
|
|
1034
|
+
}
|
|
1035
|
+
},
|
|
1036
|
+
"return": "Promise<ProductComparisonWithCompleteUrl>"
|
|
1037
|
+
},
|
|
1038
|
+
"docs": {
|
|
1039
|
+
"text": "Returns loaded API product data with a complete form URL for each contract term.",
|
|
1040
|
+
"tags": []
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
};
|
|
1044
|
+
}
|
|
1001
1045
|
static get listeners() {
|
|
1002
1046
|
return [{
|
|
1003
1047
|
"name": "optionSelected",
|
|
@@ -349,107 +349,167 @@
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
:host {
|
|
352
|
+
--animation-duration: 600ms;
|
|
353
|
+
--bottom-offset: 2.5rem;
|
|
352
354
|
display: block;
|
|
353
|
-
-
|
|
355
|
+
max-width: 113.5rem;
|
|
356
|
+
position: fixed;
|
|
357
|
+
bottom: var(--bottom-offset);
|
|
358
|
+
right: 0.5rem;
|
|
359
|
+
left: 0.5rem;
|
|
360
|
+
z-index: 10;
|
|
361
|
+
margin: 0 auto;
|
|
362
|
+
transform: translateY(calc(100% + var(--bottom-offset) + 0.125rem));
|
|
363
|
+
visibility: hidden;
|
|
364
|
+
pointer-events: none;
|
|
365
|
+
transition: transform var(--animation-duration) ease, visibility 0s linear var(--animation-duration);
|
|
366
|
+
}
|
|
367
|
+
@media screen and (min-width: 31.25rem) {
|
|
368
|
+
:host {
|
|
369
|
+
right: 1rem;
|
|
370
|
+
left: 1rem;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
@media screen and (min-width: 80rem) {
|
|
374
|
+
:host {
|
|
375
|
+
right: 2rem;
|
|
376
|
+
left: 2rem;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
@media screen and (min-width: 80rem) {
|
|
380
|
+
:host {
|
|
381
|
+
right: 2.25rem;
|
|
382
|
+
left: 2.25rem;
|
|
383
|
+
}
|
|
354
384
|
}
|
|
355
385
|
|
|
356
|
-
.
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
justify-content: center;
|
|
363
|
-
align-items: center;
|
|
364
|
-
height: 100%;
|
|
365
|
-
width: 100%;
|
|
366
|
-
aspect-ratio: 1/1;
|
|
386
|
+
:host([visible]:not(.scroll-hidden)) {
|
|
387
|
+
transform: translateY(0);
|
|
388
|
+
visibility: visible;
|
|
389
|
+
pointer-events: auto;
|
|
390
|
+
transition: visibility 0s;
|
|
391
|
+
animation: sticky-offer-slide-in var(--animation-duration) ease;
|
|
367
392
|
}
|
|
368
393
|
|
|
369
|
-
.
|
|
370
|
-
|
|
371
|
-
grid-template-columns: repeat(7, 1fr);
|
|
372
|
-
row-gap: 0.25rem;
|
|
373
|
-
font: 500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";
|
|
374
|
-
}
|
|
375
|
-
.month-dates .date-container {
|
|
376
|
-
border: dashed transparent;
|
|
377
|
-
border-width: 0.09375rem 0;
|
|
378
|
-
}
|
|
379
|
-
.month-dates .date-container.range-start {
|
|
380
|
-
border-radius: 5rem 0 0 5rem;
|
|
381
|
-
border-color: rgb(10, 11, 13);
|
|
382
|
-
}
|
|
383
|
-
.month-dates .date-container.range-start .date {
|
|
384
|
-
background: rgb(10, 11, 13);
|
|
385
|
-
color: var(--text-color-primary-light) !important;
|
|
386
|
-
}
|
|
387
|
-
.month-dates .date-container.range-start .date:hover {
|
|
388
|
-
background: rgb(153, 160, 174) !important;
|
|
389
|
-
}
|
|
390
|
-
.month-dates .date-container.range-start.in-range-selected {
|
|
391
|
-
border-color: transparent;
|
|
392
|
-
}
|
|
393
|
-
.month-dates .date-container.range-start.range-end {
|
|
394
|
-
background: transparent;
|
|
395
|
-
}
|
|
396
|
-
.month-dates .date-container.range-end {
|
|
397
|
-
border-radius: 0 5rem 5rem 0;
|
|
398
|
-
border-color: rgb(10, 11, 13);
|
|
399
|
-
}
|
|
400
|
-
.month-dates .date-container.range-end .date {
|
|
401
|
-
background: rgb(10, 11, 13);
|
|
402
|
-
color: var(--text-color-primary-light) !important;
|
|
403
|
-
}
|
|
404
|
-
.month-dates .date-container.range-end .date:hover {
|
|
405
|
-
background: rgb(153, 160, 174) !important;
|
|
406
|
-
}
|
|
407
|
-
.month-dates .date-container.range-end.in-range-selected {
|
|
408
|
-
border-color: transparent;
|
|
394
|
+
:host([visible].scroll-hidden) {
|
|
395
|
+
visibility: visible;
|
|
409
396
|
}
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
.month-dates .date-container.in-range-selected {
|
|
414
|
-
background: rgb(215, 219, 224);
|
|
415
|
-
}
|
|
416
|
-
.month-dates .date-container.in-range-selected .date {
|
|
417
|
-
color: rgb(67, 75, 86);
|
|
418
|
-
}
|
|
419
|
-
.month-dates .date-container.in-range-hover {
|
|
420
|
-
border-radius: 0 5rem 5rem 0;
|
|
421
|
-
border-color: rgb(10, 11, 13);
|
|
422
|
-
}
|
|
423
|
-
.month-dates .date-container.in-range-hover .date:hover {
|
|
424
|
-
color: var(--text-color-primary-light);
|
|
425
|
-
background: rgb(153, 160, 174) !important;
|
|
397
|
+
|
|
398
|
+
:host([visible]:not(.scroll-hidden)) .sticky-offer {
|
|
399
|
+
box-shadow: 0 4px 28.8px 0 rgba(0, 0, 0, 0.25);
|
|
426
400
|
}
|
|
427
|
-
|
|
401
|
+
|
|
402
|
+
@media (prefers-reduced-motion: reduce) {
|
|
403
|
+
:host,
|
|
404
|
+
:host([visible]:not(.scroll-hidden)) {
|
|
405
|
+
transition: none;
|
|
406
|
+
animation: none;
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
.sticky-offer {
|
|
428
410
|
display: flex;
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
411
|
+
flex-direction: column;
|
|
412
|
+
gap: 0.5rem;
|
|
413
|
+
padding: 0.75rem 1rem;
|
|
414
|
+
background: var(--tc-layer-permanent-yellow);
|
|
415
|
+
color: var(--tc-text-black-permanent);
|
|
416
|
+
border-radius: 0.5rem;
|
|
417
|
+
overflow: hidden;
|
|
418
|
+
}
|
|
419
|
+
@media screen and (min-width: 48rem) {
|
|
420
|
+
.sticky-offer {
|
|
421
|
+
flex-direction: row;
|
|
422
|
+
align-items: center;
|
|
423
|
+
padding: 1.125rem 1.5rem;
|
|
424
|
+
gap: 2rem;
|
|
425
|
+
border-radius: 1rem;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
@media screen and (min-width: 64rem) {
|
|
429
|
+
.sticky-offer {
|
|
430
|
+
padding: 1rem 1.5rem;
|
|
431
|
+
gap: 2.5rem;
|
|
432
|
+
min-height: 5rem;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
@media screen and (min-width: 80rem) {
|
|
436
|
+
.sticky-offer {
|
|
437
|
+
padding: 1rem 2.5rem;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
.sticky-offer__inner-container {
|
|
437
441
|
display: flex;
|
|
438
|
-
justify-content:
|
|
442
|
+
justify-content: space-between;
|
|
439
443
|
align-items: center;
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
444
|
+
gap: 1rem;
|
|
445
|
+
}
|
|
446
|
+
@media screen and (min-width: 64rem) {
|
|
447
|
+
.sticky-offer__inner-container {
|
|
448
|
+
gap: 1.5rem;
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
.sticky-offer__name {
|
|
452
|
+
font: 600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif";
|
|
453
|
+
font-size: 0.875rem;
|
|
454
|
+
line-height: 1.25rem;
|
|
455
|
+
letter-spacing: -0.003125rem;
|
|
456
|
+
flex: 1;
|
|
457
|
+
}
|
|
458
|
+
@media screen and (min-width: 31.25rem) {
|
|
459
|
+
.sticky-offer__name {
|
|
460
|
+
font-size: 1rem;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
@media screen and (min-width: 48rem) {
|
|
464
|
+
.sticky-offer__name {
|
|
465
|
+
font: 600 1.25rem/1.5rem "Gilroy", "Gilroy, Arial, sans-serif";
|
|
466
|
+
letter-spacing: 0;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
@media screen and (min-width: 64rem) {
|
|
470
|
+
.sticky-offer__name {
|
|
471
|
+
font-size: 1.5rem;
|
|
472
|
+
line-height: 1.75rem;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
@media screen and (min-width: 80rem) {
|
|
476
|
+
.sticky-offer__name {
|
|
477
|
+
font: 600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif";
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
.sticky-offer__price-container {
|
|
481
|
+
display: flex;
|
|
482
|
+
gap: 0.25rem;
|
|
445
483
|
}
|
|
446
|
-
.
|
|
447
|
-
|
|
484
|
+
.sticky-offer__price {
|
|
485
|
+
font: 600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif";
|
|
486
|
+
white-space: nowrap;
|
|
487
|
+
}
|
|
488
|
+
@media screen and (min-width: 80rem) {
|
|
489
|
+
.sticky-offer__price {
|
|
490
|
+
font: 600 2.5rem/3rem "Gilroy", "Gilroy, Arial, sans-serif";
|
|
491
|
+
}
|
|
448
492
|
}
|
|
449
|
-
.
|
|
450
|
-
|
|
451
|
-
|
|
493
|
+
.sticky-offer__price-suffix {
|
|
494
|
+
font: 500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";
|
|
495
|
+
align-self: flex-end;
|
|
496
|
+
white-space: nowrap;
|
|
452
497
|
}
|
|
453
|
-
|
|
454
|
-
|
|
498
|
+
@media screen and (min-width: 64rem) {
|
|
499
|
+
.sticky-offer__price-suffix {
|
|
500
|
+
font: 500 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif";
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
@media screen and (min-width: 80rem) {
|
|
504
|
+
.sticky-offer__price-suffix {
|
|
505
|
+
padding: 0.1875rem 0;
|
|
506
|
+
}
|
|
507
|
+
}
|
|
508
|
+
@keyframes sticky-offer-slide-in {
|
|
509
|
+
from {
|
|
510
|
+
transform: translateY(calc(100% + var(--bottom-offset) + 0.125rem));
|
|
511
|
+
}
|
|
512
|
+
to {
|
|
513
|
+
transform: translateY(0);
|
|
514
|
+
}
|
|
455
515
|
}
|
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
const HIDE_SCROLL_DISTANCE = 205;
|
|
3
|
+
const SHOW_SCROLL_DISTANCE = 24;
|
|
4
|
+
/** Offer anchored to the bottom of the viewport. */
|
|
5
|
+
export class TetStickyOffer {
|
|
6
|
+
host;
|
|
7
|
+
/** Shows the offer when true and slides it out of view when false. */
|
|
8
|
+
visible = true;
|
|
9
|
+
/** Hides the offer after scrolling down and shows it when scrolling up. Set to false to disable. */
|
|
10
|
+
hideOnScroll = true;
|
|
11
|
+
/** Offer name displayed in the banner. */
|
|
12
|
+
offerName = '';
|
|
13
|
+
/** Formatted price amount, without the suffix. */
|
|
14
|
+
price = '';
|
|
15
|
+
/** Text displayed after the price, such as a currency and billing period. */
|
|
16
|
+
priceSuffix = '';
|
|
17
|
+
/** Label displayed on the offer action. */
|
|
18
|
+
actionLabel = 'Pieteikt';
|
|
19
|
+
/** Destination of the offer action. */
|
|
20
|
+
actionUrl = '';
|
|
21
|
+
/** Browsing context for actionUrl when it is set. */
|
|
22
|
+
actionTarget = '_self';
|
|
23
|
+
scrollHidden = false;
|
|
24
|
+
/** Emitted when the offer action is activated. */
|
|
25
|
+
applyClick;
|
|
26
|
+
lastScrollY = 0;
|
|
27
|
+
scrollDistance = 0;
|
|
28
|
+
scrollDirection = 0;
|
|
29
|
+
scrollFrame = null;
|
|
30
|
+
connectedCallback() {
|
|
31
|
+
this.resetScrollVisibility();
|
|
32
|
+
}
|
|
33
|
+
disconnectedCallback() {
|
|
34
|
+
if (this.scrollFrame !== null) {
|
|
35
|
+
cancelAnimationFrame(this.scrollFrame);
|
|
36
|
+
this.scrollFrame = null;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
resetScrollVisibility() {
|
|
40
|
+
if (this.scrollFrame !== null) {
|
|
41
|
+
cancelAnimationFrame(this.scrollFrame);
|
|
42
|
+
this.scrollFrame = null;
|
|
43
|
+
}
|
|
44
|
+
this.scrollHidden = false;
|
|
45
|
+
this.scrollDistance = 0;
|
|
46
|
+
this.scrollDirection = 0;
|
|
47
|
+
this.lastScrollY = Math.max(0, window.scrollY);
|
|
48
|
+
}
|
|
49
|
+
onWindowScroll() {
|
|
50
|
+
if (!this.visible || !this.hideOnScroll || this.scrollFrame !== null) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
this.scrollFrame = requestAnimationFrame(() => this.updateScrollVisibility());
|
|
54
|
+
}
|
|
55
|
+
updateScrollVisibility() {
|
|
56
|
+
this.scrollFrame = null;
|
|
57
|
+
const scrollY = Math.max(0, window.scrollY);
|
|
58
|
+
const delta = scrollY - this.lastScrollY;
|
|
59
|
+
this.lastScrollY = scrollY;
|
|
60
|
+
if (scrollY === 0) {
|
|
61
|
+
this.scrollDistance = 0;
|
|
62
|
+
this.scrollDirection = 0;
|
|
63
|
+
this.scrollHidden = false;
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const direction = Math.sign(delta);
|
|
67
|
+
if (!direction) {
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
if (document.activeElement === this.host || this.host.contains(document.activeElement)) {
|
|
71
|
+
this.scrollDistance = 0;
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
this.scrollDistance = direction === this.scrollDirection
|
|
75
|
+
? this.scrollDistance + Math.abs(delta)
|
|
76
|
+
: Math.abs(delta);
|
|
77
|
+
this.scrollDirection = direction;
|
|
78
|
+
if (direction > 0 && !this.scrollHidden && this.scrollDistance >= HIDE_SCROLL_DISTANCE) {
|
|
79
|
+
this.scrollHidden = true;
|
|
80
|
+
}
|
|
81
|
+
else if (direction < 0 && this.scrollHidden && this.scrollDistance >= SHOW_SCROLL_DISTANCE) {
|
|
82
|
+
this.scrollHidden = false;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
this.scrollDistance = 0;
|
|
88
|
+
}
|
|
89
|
+
onFocusIn() {
|
|
90
|
+
if (this.scrollHidden) {
|
|
91
|
+
this.scrollHidden = false;
|
|
92
|
+
this.scrollDistance = 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
render() {
|
|
96
|
+
return (h(Host, { key: 'df8407b0c6a2ef2b539108b0ff8c202c2f75dfd9', class: { 'scroll-hidden': this.scrollHidden } }, h("div", { key: '85d98d839c44d2ab2723589defafa054c292947f', class: "sticky-offer", inert: !this.visible, onFocusin: () => this.onFocusIn() }, h("span", { key: '0a9047d9e55b8a40db916f40e54261b672297880', class: "sticky-offer__name", "aria-live": "polite", "aria-atomic": "true" }, this.offerName), h("div", { key: '6b399fcf03572ff7693255225b11c38b4dff5b2a', class: "sticky-offer__inner-container" }, h("div", { key: '16e1bb38b3bdd21f32e544356b4d13016fd5ddc3', class: "sticky-offer__price-container", "aria-live": "polite", "aria-atomic": "true" }, h("span", { key: 'a5bb9bb9e3b339c9e7fd51c8bba836ed89799bab', class: "sticky-offer__price" }, this.price), this.priceSuffix && (h("span", { key: '6e69524d1c1dda31341339c720868d82cfe04700', class: "sticky-offer__price-suffix" }, this.priceSuffix))), h("tet-button", { key: '20a730481339a21ee5037f2795f0a64f5059e3cf', size: "small", theme: "light", breakpointConfig: {
|
|
97
|
+
lg: { size: 'medium' },
|
|
98
|
+
xl: { size: 'large' },
|
|
99
|
+
}, url: this.actionUrl, urlTarget: this.actionTarget, onClick: () => this.applyClick.emit() }, this.actionLabel)))));
|
|
100
|
+
}
|
|
101
|
+
static get is() { return "tet-sticky-offer"; }
|
|
102
|
+
static get encapsulation() { return "shadow"; }
|
|
103
|
+
static get originalStyleUrls() {
|
|
104
|
+
return {
|
|
105
|
+
"$": ["tet-sticky-offer.scss"]
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
static get styleUrls() {
|
|
109
|
+
return {
|
|
110
|
+
"$": ["tet-sticky-offer.css"]
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
static get properties() {
|
|
114
|
+
return {
|
|
115
|
+
"visible": {
|
|
116
|
+
"type": "boolean",
|
|
117
|
+
"mutable": false,
|
|
118
|
+
"complexType": {
|
|
119
|
+
"original": "boolean",
|
|
120
|
+
"resolved": "boolean",
|
|
121
|
+
"references": {}
|
|
122
|
+
},
|
|
123
|
+
"required": false,
|
|
124
|
+
"optional": false,
|
|
125
|
+
"docs": {
|
|
126
|
+
"tags": [],
|
|
127
|
+
"text": "Shows the offer when true and slides it out of view when false."
|
|
128
|
+
},
|
|
129
|
+
"getter": false,
|
|
130
|
+
"setter": false,
|
|
131
|
+
"reflect": true,
|
|
132
|
+
"attribute": "visible",
|
|
133
|
+
"defaultValue": "true"
|
|
134
|
+
},
|
|
135
|
+
"hideOnScroll": {
|
|
136
|
+
"type": "boolean",
|
|
137
|
+
"mutable": false,
|
|
138
|
+
"complexType": {
|
|
139
|
+
"original": "boolean",
|
|
140
|
+
"resolved": "boolean",
|
|
141
|
+
"references": {}
|
|
142
|
+
},
|
|
143
|
+
"required": false,
|
|
144
|
+
"optional": false,
|
|
145
|
+
"docs": {
|
|
146
|
+
"tags": [],
|
|
147
|
+
"text": "Hides the offer after scrolling down and shows it when scrolling up. Set to false to disable."
|
|
148
|
+
},
|
|
149
|
+
"getter": false,
|
|
150
|
+
"setter": false,
|
|
151
|
+
"reflect": false,
|
|
152
|
+
"attribute": "hide-on-scroll",
|
|
153
|
+
"defaultValue": "true"
|
|
154
|
+
},
|
|
155
|
+
"offerName": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"mutable": false,
|
|
158
|
+
"complexType": {
|
|
159
|
+
"original": "string",
|
|
160
|
+
"resolved": "string",
|
|
161
|
+
"references": {}
|
|
162
|
+
},
|
|
163
|
+
"required": false,
|
|
164
|
+
"optional": false,
|
|
165
|
+
"docs": {
|
|
166
|
+
"tags": [],
|
|
167
|
+
"text": "Offer name displayed in the banner."
|
|
168
|
+
},
|
|
169
|
+
"getter": false,
|
|
170
|
+
"setter": false,
|
|
171
|
+
"reflect": false,
|
|
172
|
+
"attribute": "offer-name",
|
|
173
|
+
"defaultValue": "''"
|
|
174
|
+
},
|
|
175
|
+
"price": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"mutable": false,
|
|
178
|
+
"complexType": {
|
|
179
|
+
"original": "string",
|
|
180
|
+
"resolved": "string",
|
|
181
|
+
"references": {}
|
|
182
|
+
},
|
|
183
|
+
"required": false,
|
|
184
|
+
"optional": false,
|
|
185
|
+
"docs": {
|
|
186
|
+
"tags": [],
|
|
187
|
+
"text": "Formatted price amount, without the suffix."
|
|
188
|
+
},
|
|
189
|
+
"getter": false,
|
|
190
|
+
"setter": false,
|
|
191
|
+
"reflect": false,
|
|
192
|
+
"attribute": "price",
|
|
193
|
+
"defaultValue": "''"
|
|
194
|
+
},
|
|
195
|
+
"priceSuffix": {
|
|
196
|
+
"type": "string",
|
|
197
|
+
"mutable": false,
|
|
198
|
+
"complexType": {
|
|
199
|
+
"original": "string",
|
|
200
|
+
"resolved": "string",
|
|
201
|
+
"references": {}
|
|
202
|
+
},
|
|
203
|
+
"required": false,
|
|
204
|
+
"optional": false,
|
|
205
|
+
"docs": {
|
|
206
|
+
"tags": [],
|
|
207
|
+
"text": "Text displayed after the price, such as a currency and billing period."
|
|
208
|
+
},
|
|
209
|
+
"getter": false,
|
|
210
|
+
"setter": false,
|
|
211
|
+
"reflect": false,
|
|
212
|
+
"attribute": "price-suffix",
|
|
213
|
+
"defaultValue": "''"
|
|
214
|
+
},
|
|
215
|
+
"actionLabel": {
|
|
216
|
+
"type": "string",
|
|
217
|
+
"mutable": false,
|
|
218
|
+
"complexType": {
|
|
219
|
+
"original": "string",
|
|
220
|
+
"resolved": "string",
|
|
221
|
+
"references": {}
|
|
222
|
+
},
|
|
223
|
+
"required": false,
|
|
224
|
+
"optional": false,
|
|
225
|
+
"docs": {
|
|
226
|
+
"tags": [],
|
|
227
|
+
"text": "Label displayed on the offer action."
|
|
228
|
+
},
|
|
229
|
+
"getter": false,
|
|
230
|
+
"setter": false,
|
|
231
|
+
"reflect": false,
|
|
232
|
+
"attribute": "action-label",
|
|
233
|
+
"defaultValue": "'Pieteikt'"
|
|
234
|
+
},
|
|
235
|
+
"actionUrl": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"mutable": false,
|
|
238
|
+
"complexType": {
|
|
239
|
+
"original": "string",
|
|
240
|
+
"resolved": "string",
|
|
241
|
+
"references": {}
|
|
242
|
+
},
|
|
243
|
+
"required": false,
|
|
244
|
+
"optional": false,
|
|
245
|
+
"docs": {
|
|
246
|
+
"tags": [],
|
|
247
|
+
"text": "Destination of the offer action."
|
|
248
|
+
},
|
|
249
|
+
"getter": false,
|
|
250
|
+
"setter": false,
|
|
251
|
+
"reflect": false,
|
|
252
|
+
"attribute": "action-url",
|
|
253
|
+
"defaultValue": "''"
|
|
254
|
+
},
|
|
255
|
+
"actionTarget": {
|
|
256
|
+
"type": "string",
|
|
257
|
+
"mutable": false,
|
|
258
|
+
"complexType": {
|
|
259
|
+
"original": "'_blank' | '_self'",
|
|
260
|
+
"resolved": "\"_blank\" | \"_self\"",
|
|
261
|
+
"references": {}
|
|
262
|
+
},
|
|
263
|
+
"required": false,
|
|
264
|
+
"optional": false,
|
|
265
|
+
"docs": {
|
|
266
|
+
"tags": [],
|
|
267
|
+
"text": "Browsing context for actionUrl when it is set."
|
|
268
|
+
},
|
|
269
|
+
"getter": false,
|
|
270
|
+
"setter": false,
|
|
271
|
+
"reflect": false,
|
|
272
|
+
"attribute": "action-target",
|
|
273
|
+
"defaultValue": "'_self'"
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
}
|
|
277
|
+
static get states() {
|
|
278
|
+
return {
|
|
279
|
+
"scrollHidden": {}
|
|
280
|
+
};
|
|
281
|
+
}
|
|
282
|
+
static get events() {
|
|
283
|
+
return [{
|
|
284
|
+
"method": "applyClick",
|
|
285
|
+
"name": "applyClick",
|
|
286
|
+
"bubbles": true,
|
|
287
|
+
"cancelable": true,
|
|
288
|
+
"composed": true,
|
|
289
|
+
"docs": {
|
|
290
|
+
"tags": [],
|
|
291
|
+
"text": "Emitted when the offer action is activated."
|
|
292
|
+
},
|
|
293
|
+
"complexType": {
|
|
294
|
+
"original": "void",
|
|
295
|
+
"resolved": "void",
|
|
296
|
+
"references": {}
|
|
297
|
+
}
|
|
298
|
+
}];
|
|
299
|
+
}
|
|
300
|
+
static get elementRef() { return "host"; }
|
|
301
|
+
static get watchers() {
|
|
302
|
+
return [{
|
|
303
|
+
"propName": "visible",
|
|
304
|
+
"methodName": "resetScrollVisibility"
|
|
305
|
+
}, {
|
|
306
|
+
"propName": "hideOnScroll",
|
|
307
|
+
"methodName": "resetScrollVisibility"
|
|
308
|
+
}];
|
|
309
|
+
}
|
|
310
|
+
static get listeners() {
|
|
311
|
+
return [{
|
|
312
|
+
"name": "scroll",
|
|
313
|
+
"method": "onWindowScroll",
|
|
314
|
+
"target": "window",
|
|
315
|
+
"capture": false,
|
|
316
|
+
"passive": true
|
|
317
|
+
}];
|
|
318
|
+
}
|
|
319
|
+
}
|