@tet/tet-components 1.4.68-testing → 1.4.69-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{address-656e77f6.js → address-f852270f.js} +1 -1
- package/dist/cjs/{assets-f64f0e16.js → assets-b9d36649.js} +1 -1
- package/dist/cjs/{async-request-fcf33aba.js → async-request-4517f566.js} +1 -1
- package/dist/cjs/{http-codes-40da1e61.js → http-codes-062f76cf.js} +1 -1
- package/dist/cjs/{index-4b423f33.js → index-19a7608f.js} +1 -1
- package/dist/cjs/{index-3242ff3f.js → index-faec4c52.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{phone-055efd07.js → phone-d6be0dd2.js} +2 -2
- package/dist/cjs/{product-comparison-88a89820.js → product-comparison-aa80a77c.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +3 -3
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-search.cjs.entry.js +4 -4
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +3 -3
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +3 -3
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +4 -4
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
- package/dist/cjs/tet-checkbox_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-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-contact-form.cjs.entry.js +5 -5
- package/dist/cjs/tet-contact-info.cjs.entry.js +1 -1
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-customer-assets.cjs.entry.js +3 -3
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker.cjs.entry.js +1 -1
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +3 -3
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-loader.cjs.entry.js +1 -1
- package/dist/cjs/tet-macd-view.cjs.entry.js +6 -6
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-referral.cjs.entry.js +5 -5
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-badge.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +8 -5
- package/dist/cjs/tet-snicker-card.cjs.entry.js +8 -7
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-tab-header.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +1 -1
- package/dist/cjs/{theme-wrapper-66880718.js → theme-wrapper-46514846.js} +2 -2
- package/dist/cjs/{translations-03c9de64.js → translations-89a0ec3d.js} +1 -1
- package/dist/collection/components/advanced/cards/tet-snicker-card/tet-snicker-card.js +24 -5
- package/dist/collection/components/advanced/cards/tet-snicker-card-group/tet-snicker-card-group.js +7 -4
- package/dist/components/index.js +1 -1
- package/dist/components/{p-8803338b.js → p-05f9e34d.js} +1 -1
- package/dist/components/{p-42d78188.js → p-08612744.js} +7 -7
- package/dist/components/{p-22b05881.js → p-0c48b91d.js} +3 -3
- package/dist/components/{p-a57638be.js → p-0dc23dbb.js} +1 -1
- package/dist/components/{p-61ba5ba1.js → p-1585767d.js} +1 -1
- package/dist/components/{p-1942f0f5.js → p-1a0a5e0b.js} +3 -3
- package/dist/components/{p-d840d114.js → p-1bfee463.js} +1 -1
- package/dist/components/{p-c7f783f8.js → p-1c324769.js} +7 -7
- package/dist/components/{p-70a6ba6c.js → p-1cc1a7b5.js} +14 -14
- package/dist/components/{p-4d181fc9.js → p-25538d98.js} +5 -5
- package/dist/components/{p-4468c9e9.js → p-3493f65f.js} +1 -1
- package/dist/components/{p-dab4d025.js → p-3794206a.js} +1 -1
- package/dist/components/{p-79e64e7a.js → p-3a347581.js} +2 -2
- package/dist/components/{p-5a41a155.js → p-3e36e361.js} +4 -4
- package/dist/components/{p-05a4a88a.js → p-3f70a86a.js} +2 -2
- package/dist/components/{p-72215a89.js → p-3fef4912.js} +2 -2
- package/dist/components/{p-de671173.js → p-43ae78c6.js} +1 -1
- package/dist/components/{p-734f67c5.js → p-446fe76d.js} +1 -1
- package/dist/components/{p-a46ed058.js → p-4606f4f9.js} +1 -1
- package/dist/components/{p-23f7b264.js → p-4a8127bf.js} +6 -6
- package/dist/components/{p-7cd73a11.js → p-4ca8db20.js} +3 -3
- package/dist/components/{p-789bee5f.js → p-503abf7a.js} +1 -1
- package/dist/components/{p-b63a7833.js → p-538a0e87.js} +3 -3
- package/dist/components/{p-8cd5cc24.js → p-57b59a16.js} +2 -2
- package/dist/components/{p-eabd73fc.js → p-5c4dbc29.js} +3 -3
- package/dist/components/{p-f6c678ae.js → p-5f9d5d42.js} +2 -2
- package/dist/components/{p-e8595e06.js → p-5fb97604.js} +2 -2
- package/dist/components/{p-69ddd50b.js → p-65955941.js} +6 -6
- package/dist/components/{p-d659d0dc.js → p-6d79283f.js} +1 -1
- package/dist/components/{p-f6e855a8.js → p-6e8583d1.js} +7 -7
- package/dist/components/{p-2f7b2d35.js → p-72ab8bd5.js} +1 -1
- package/dist/components/{p-68c6a6d2.js → p-785629c2.js} +1 -1
- package/dist/components/{p-6b6e4f80.js → p-7f14c72a.js} +1 -1
- package/dist/components/{p-efa3ec10.js → p-89110d69.js} +2 -2
- package/dist/components/{p-a6c51126.js → p-8a9be4ba.js} +2 -2
- package/dist/components/{p-d2906f29.js → p-8e3c606a.js} +3 -3
- package/dist/components/{p-b7eb822d.js → p-926949eb.js} +1 -1
- package/dist/components/{p-8f9ff447.js → p-9568c281.js} +2 -2
- package/dist/components/{p-d5d6ad18.js → p-95b43510.js} +2 -2
- package/dist/components/{p-454eccfc.js → p-9972183e.js} +3 -3
- package/dist/components/{p-d6c8d210.js → p-9ccfc5fc.js} +10 -10
- package/dist/components/{p-e72337be.js → p-9e4881fa.js} +1 -1
- package/dist/components/{p-25ea4db6.js → p-a2b1a79a.js} +1 -1
- package/dist/components/{p-806583bf.js → p-a40527e5.js} +4 -4
- package/dist/components/{p-411270c6.js → p-a4099430.js} +2 -2
- package/dist/components/{p-b51591ec.js → p-a79cb5c9.js} +1 -1
- package/dist/components/{p-25b93e8f.js → p-aa122c92.js} +1 -1
- package/dist/components/{p-189a37d2.js → p-b4ccc509.js} +5 -5
- package/dist/components/{p-1a84e464.js → p-b520b98a.js} +6 -6
- package/dist/components/{p-ac8ad039.js → p-b8e53499.js} +1 -1
- package/dist/components/{p-3c404244.js → p-d0df24b6.js} +1 -1
- package/dist/components/{p-70507bfc.js → p-d2a24b94.js} +1 -1
- package/dist/components/{p-cd88c18e.js → p-d34a8ce6.js} +7 -7
- package/dist/components/{p-ecb62209.js → p-d6e2d762.js} +1 -1
- package/dist/components/{p-a004fba4.js → p-d8eb751f.js} +2 -2
- package/dist/components/{p-2be031c9.js → p-d9008657.js} +9 -9
- package/dist/components/{p-1281b61e.js → p-d92091d6.js} +2 -2
- package/dist/components/{p-8f3097ac.js → p-e7e499ef.js} +10 -10
- package/dist/components/{p-809b2c68.js → p-fcf4aad0.js} +3 -3
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +24 -24
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-asset-addresses.js +13 -13
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +5 -5
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +20 -20
- package/dist/components/tet-b2b-service-calculator.js +8 -8
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +3 -3
- package/dist/components/tet-business-lines.js +5 -5
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +2 -2
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +4 -4
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +8 -8
- package/dist/components/tet-cloud-configurator.js +12 -12
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +9 -9
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +16 -16
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +9 -9
- package/dist/components/tet-contact-info.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +6 -6
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +8 -8
- package/dist/components/tet-divider.js +7 -7
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +4 -4
- package/dist/components/tet-expandable-input.js +3 -3
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +7 -7
- package/dist/components/tet-filter.js +4 -4
- package/dist/components/tet-floating-block.js +3 -3
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +3 -3
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +3 -3
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +10 -10
- package/dist/components/tet-menu-mobile.js +2 -2
- package/dist/components/tet-menu.js +2 -2
- package/dist/components/tet-mini-compare-card.js +3 -3
- package/dist/components/tet-multi-step-dialog.js +5 -5
- package/dist/components/tet-navigation-mobile.js +2 -2
- package/dist/components/tet-news-card-list.js +4 -4
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +7 -7
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +6 -6
- package/dist/components/tet-round-stepper.js +2 -2
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-badge.js +1 -1
- package/dist/components/tet-snicker-card-group.js +8 -5
- package/dist/components/tet-snicker-card.js +17 -15
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-support-search.js +7 -7
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +3 -3
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +7 -7
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v2.js +5 -5
- package/dist/components/tet-thank-you-view-v3.js +5 -5
- package/dist/components/tet-thank-you-view.js +4 -4
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +1 -1
- package/dist/components/tet-tv-gift-list.js +2 -2
- package/dist/esm/{address-1e0810e7.js → address-20e2d850.js} +1 -1
- package/dist/esm/{assets-e1349520.js → assets-894007df.js} +1 -1
- package/dist/esm/{async-request-4c945e13.js → async-request-ae1056de.js} +1 -1
- package/dist/esm/{http-codes-1927ea00.js → http-codes-cf0086d4.js} +1 -1
- package/dist/esm/{index-412df137.js → index-e3209c56.js} +1 -1
- package/dist/esm/{index-aac31bd2.js → index-e933a7d2.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{phone-1a920c5c.js → phone-62660137.js} +2 -2
- package/dist/esm/{product-comparison-dd90c721.js → product-comparison-cb8955f6.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +3 -3
- package/dist/esm/tet-address-offers-view.entry.js +3 -3
- package/dist/esm/tet-address-offers_4.entry.js +7 -7
- package/dist/esm/tet-address-search.entry.js +4 -4
- package/dist/esm/tet-asset-addresses.entry.js +3 -3
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +3 -3
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-b2b-service-calculator.entry.js +3 -3
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +4 -4
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +3 -3
- package/dist/esm/tet-checkbox_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-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-contact-form.entry.js +5 -5
- package/dist/esm/tet-contact-info.entry.js +1 -1
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-countdown.entry.js +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-customer-assets.entry.js +3 -3
- package/dist/esm/tet-datepicker-header_4.entry.js +1 -1
- package/dist/esm/tet-datepicker.entry.js +1 -1
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +3 -3
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-label.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-loader.entry.js +1 -1
- package/dist/esm/tet-macd-view.entry.js +6 -6
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +3 -3
- package/dist/esm/tet-navigation-mobile.entry.js +1 -1
- 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.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-referral.entry.js +5 -5
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-badge.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +8 -5
- package/dist/esm/tet-snicker-card.entry.js +8 -7
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +3 -3
- package/dist/esm/tet-stepper-v2.entry.js +1 -1
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-stepper.entry.js +1 -1
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-tab-header.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +3 -3
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v2.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/tet-thank-you-view.entry.js +1 -1
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +1 -1
- package/dist/esm/{theme-wrapper-72d0b9da.js → theme-wrapper-cf4d7d54.js} +2 -2
- package/dist/esm/{translations-4712c45f.js → translations-e60db8fd.js} +1 -1
- package/dist/tet-components/{p-805fb580.entry.js → p-0416fa6c.entry.js} +1 -1
- package/dist/tet-components/{p-a0baf31a.entry.js → p-0448b5de.entry.js} +1 -1
- package/dist/tet-components/{p-25bb7d4f.entry.js → p-08aeaafd.entry.js} +1 -1
- package/dist/tet-components/{p-84322a3d.entry.js → p-091ba284.entry.js} +1 -1
- package/dist/tet-components/{p-4c6a379b.entry.js → p-0dca3de0.entry.js} +1 -1
- package/dist/tet-components/{p-e93ab3e8.entry.js → p-0f8cdb24.entry.js} +1 -1
- package/dist/tet-components/{p-1080e977.entry.js → p-18c74666.entry.js} +1 -1
- package/dist/tet-components/{p-697d23d7.entry.js → p-1beb018b.entry.js} +1 -1
- package/dist/tet-components/{p-97cff839.entry.js → p-1d7b8a14.entry.js} +1 -1
- package/dist/tet-components/{p-c711cd66.entry.js → p-1fefb3df.entry.js} +1 -1
- package/dist/tet-components/{p-edd42275.entry.js → p-1ff90a2c.entry.js} +1 -1
- package/dist/tet-components/{p-158f319b.entry.js → p-25416a3a.entry.js} +1 -1
- package/dist/tet-components/{p-6693715e.entry.js → p-25d4852b.entry.js} +1 -1
- package/dist/tet-components/{p-e290c65d.entry.js → p-26147420.entry.js} +1 -1
- package/dist/tet-components/{p-f6916bfc.entry.js → p-265701de.entry.js} +1 -1
- package/dist/tet-components/{p-7f18c74c.entry.js → p-278f1d5e.entry.js} +1 -1
- package/dist/tet-components/{p-d06f8b4e.entry.js → p-27a33156.entry.js} +1 -1
- package/dist/tet-components/{p-52949a88.entry.js → p-2bf6d5b3.entry.js} +1 -1
- package/dist/tet-components/{p-ccfa9f31.entry.js → p-2c891567.entry.js} +1 -1
- package/dist/tet-components/{p-d8518d4b.js → p-2dbe670c.js} +1 -1
- package/dist/tet-components/{p-46f6a051.entry.js → p-2f25de81.entry.js} +1 -1
- package/dist/tet-components/{p-724189c2.entry.js → p-31be2161.entry.js} +1 -1
- package/dist/tet-components/{p-64e277c1.entry.js → p-3251b52b.entry.js} +1 -1
- package/dist/tet-components/{p-1fbb7d96.entry.js → p-39ce6062.entry.js} +1 -1
- package/dist/tet-components/{p-778c46a6.js → p-3ac57578.js} +1 -1
- package/dist/tet-components/{p-fc88ce77.entry.js → p-40ed3be9.entry.js} +1 -1
- package/dist/tet-components/{p-f81b3bb0.js → p-4213c1d1.js} +1 -1
- package/dist/tet-components/{p-2b5b2c71.entry.js → p-47a897c5.entry.js} +1 -1
- package/dist/tet-components/{p-6be0549b.entry.js → p-4babd7b2.entry.js} +1 -1
- package/dist/tet-components/{p-d778c1fe.entry.js → p-4e21dd2f.entry.js} +1 -1
- package/dist/tet-components/{p-900bd4e1.entry.js → p-4e9f66a8.entry.js} +1 -1
- package/dist/tet-components/{p-cf3456e2.entry.js → p-51dfe68c.entry.js} +1 -1
- package/dist/tet-components/{p-122f3d3c.entry.js → p-548d7cc1.entry.js} +1 -1
- package/dist/tet-components/{p-003e17a0.entry.js → p-58313d11.entry.js} +1 -1
- package/dist/tet-components/{p-38be49a6.entry.js → p-592f0674.entry.js} +1 -1
- package/dist/tet-components/{p-83f43fdd.js → p-5abb3bea.js} +1 -1
- package/dist/tet-components/{p-b0c62997.entry.js → p-5e8bd119.entry.js} +1 -1
- package/dist/tet-components/{p-d5b36540.entry.js → p-5ec1a6cf.entry.js} +1 -1
- package/dist/tet-components/{p-cde8057a.entry.js → p-60abca86.entry.js} +1 -1
- package/dist/tet-components/{p-480ca12a.entry.js → p-60ef69f6.entry.js} +1 -1
- package/dist/tet-components/{p-8bfd498e.entry.js → p-63f6def9.entry.js} +1 -1
- package/dist/tet-components/{p-2acd5146.entry.js → p-649a4eab.entry.js} +1 -1
- package/dist/tet-components/p-660bdc27.js +1 -0
- package/dist/tet-components/{p-b01405f8.entry.js → p-695ded14.entry.js} +1 -1
- package/dist/tet-components/{p-401e736e.entry.js → p-70448ec8.entry.js} +1 -1
- package/dist/tet-components/{p-0ebbf5ef.js → p-726651bc.js} +1 -1
- package/dist/tet-components/{p-bd9f9dea.entry.js → p-735ca4ae.entry.js} +1 -1
- package/dist/tet-components/{p-b31168fc.entry.js → p-738c3987.entry.js} +1 -1
- package/dist/tet-components/{p-e13c62c8.entry.js → p-78ec990b.entry.js} +1 -1
- package/dist/tet-components/p-7c7330ad.entry.js +1 -0
- package/dist/tet-components/{p-69c58fc4.entry.js → p-81cabfb1.entry.js} +1 -1
- package/dist/tet-components/{p-5fb62a1b.entry.js → p-85fffa05.entry.js} +1 -1
- package/dist/tet-components/{p-949d0eaf.entry.js → p-8998d112.entry.js} +1 -1
- package/dist/tet-components/{p-ba8c6a1c.entry.js → p-89d2d3d9.entry.js} +1 -1
- package/dist/tet-components/{p-46b3fc7f.entry.js → p-8ac7782f.entry.js} +1 -1
- package/dist/tet-components/p-8e72a5cb.entry.js +1 -0
- package/dist/tet-components/{p-be3cb49b.entry.js → p-90d2e87a.entry.js} +1 -1
- package/dist/tet-components/{p-b98f7254.entry.js → p-9c0a5507.entry.js} +1 -1
- package/dist/tet-components/{p-d1035694.entry.js → p-9c34400c.entry.js} +1 -1
- package/dist/tet-components/{p-87221449.entry.js → p-9f921c87.entry.js} +1 -1
- package/dist/tet-components/{p-331e7bf2.entry.js → p-a28e087f.entry.js} +1 -1
- package/dist/tet-components/{p-e6aab016.entry.js → p-a3af708c.entry.js} +1 -1
- package/dist/tet-components/{p-83e4ae9f.entry.js → p-a3b09130.entry.js} +1 -1
- package/dist/tet-components/{p-a8051a99.js → p-a476fd02.js} +1 -1
- package/dist/tet-components/{p-7fc933fe.entry.js → p-aa09ca5f.entry.js} +1 -1
- package/dist/tet-components/{p-9a75ed39.entry.js → p-aba71e2d.entry.js} +1 -1
- package/dist/tet-components/{p-cd86d0b1.entry.js → p-ad38e14e.entry.js} +1 -1
- package/dist/tet-components/{p-b0688983.entry.js → p-b2137624.entry.js} +1 -1
- package/dist/tet-components/{p-7544dfd7.js → p-b39df477.js} +1 -1
- package/dist/tet-components/{p-9c837569.entry.js → p-b4b90473.entry.js} +1 -1
- package/dist/tet-components/{p-93820289.entry.js → p-b4fb5193.entry.js} +1 -1
- package/dist/tet-components/{p-1fd2adaf.js → p-b92dff8a.js} +1 -1
- package/dist/tet-components/{p-2c92d701.entry.js → p-bea999e0.entry.js} +1 -1
- package/dist/tet-components/{p-2fb8ea65.entry.js → p-bf61c059.entry.js} +1 -1
- package/dist/tet-components/{p-f58bb61e.entry.js → p-c07ad1c3.entry.js} +1 -1
- package/dist/tet-components/{p-75bbc14a.entry.js → p-c1955aa6.entry.js} +1 -1
- package/dist/tet-components/{p-cac7dbf9.entry.js → p-c654aa06.entry.js} +1 -1
- package/dist/tet-components/{p-f93ab9f3.entry.js → p-c7e67378.entry.js} +1 -1
- package/dist/tet-components/{p-ed07c65a.entry.js → p-c82904b9.entry.js} +1 -1
- package/dist/tet-components/{p-0c6b6730.js → p-c9ddf890.js} +1 -1
- package/dist/tet-components/{p-1ff1f044.entry.js → p-ceff5b1f.entry.js} +1 -1
- package/dist/tet-components/{p-5c821eef.entry.js → p-cf362ecc.entry.js} +1 -1
- package/dist/tet-components/{p-c9493529.entry.js → p-d451529f.entry.js} +1 -1
- package/dist/tet-components/{p-85f3f726.entry.js → p-d811ee75.entry.js} +1 -1
- package/dist/tet-components/{p-8fa0be45.entry.js → p-dcfc2639.entry.js} +1 -1
- package/dist/tet-components/{p-689e9d36.entry.js → p-e1aa6a4d.entry.js} +1 -1
- package/dist/tet-components/{p-b5315830.entry.js → p-e1bba17c.entry.js} +1 -1
- package/dist/tet-components/{p-5b5001cf.entry.js → p-e1ce8689.entry.js} +1 -1
- package/dist/tet-components/{p-6b088283.entry.js → p-e30eca37.entry.js} +1 -1
- package/dist/tet-components/{p-876009b7.entry.js → p-e3f93dd7.entry.js} +1 -1
- package/dist/tet-components/{p-f9c69d39.entry.js → p-e70a8127.entry.js} +1 -1
- package/dist/tet-components/{p-fa259a3d.entry.js → p-e8ec9d1c.entry.js} +1 -1
- package/dist/tet-components/{p-d091fa60.entry.js → p-ebbeac97.entry.js} +1 -1
- package/dist/tet-components/{p-c9f21fde.entry.js → p-ec5b1040.entry.js} +1 -1
- package/dist/tet-components/{p-e17d0862.entry.js → p-f1771c69.entry.js} +1 -1
- package/dist/tet-components/{p-4b84438a.entry.js → p-f17a4724.entry.js} +1 -1
- package/dist/tet-components/{p-78d6f52c.entry.js → p-f581e4ca.entry.js} +1 -1
- package/dist/tet-components/{p-b44083d7.entry.js → p-f63082c7.entry.js} +1 -1
- package/dist/tet-components/{p-255cd889.entry.js → p-fbc6cc0a.entry.js} +1 -1
- package/dist/tet-components/{p-7e7068af.entry.js → p-fbe053de.entry.js} +1 -1
- package/dist/tet-components/{p-6babde37.entry.js → p-fc81fb8e.entry.js} +1 -1
- package/dist/tet-components/{p-25e48d9f.entry.js → p-fcbb1ac6.entry.js} +1 -1
- package/dist/tet-components/{p-ddce536f.entry.js → p-fd682dea.entry.js} +1 -1
- package/dist/tet-components/{p-c4de9e32.entry.js → p-ff5b0f63.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-snicker-card/tet-snicker-card.d.ts +3 -1
- package/dist/types/components/advanced/cards/tet-snicker-card-group/tet-snicker-card-group.d.ts +1 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +1 -1
- package/dist/tet-components/p-0ce56ec9.entry.js +0 -1
- package/dist/tet-components/p-91f385ae.entry.js +0 -1
- package/dist/tet-components/p-f81d95ae.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,g as e,f as n,h as i,H as r}from"./p-83f43fdd.js";import{p as a,t as s}from"./p-a8051a99.js";import"./p-9a2b6ee2.js";import"./p-0ebbf5ef.js";const f=class{constructor(e){t(this,e),this.ctaButtonClick=o(this,"ctaButtonClick",7),this.stepperData=[],this.icon="check",this.mainBlockTitle=void 0,this.mainBlockDescription=void 0,this.ctaButtonLabel=void 0,this.ctaButtonId="thankYouBackButton",this.ctaButtonSize="large",this.ctaButtonType="primary",this.ctaButtonTheme=void 0,this.language="lv",this.translationGroup="",this.theme="light"}get hostElement(){return e(this)}ctaButtonClick;async onLanguageChange(t){await a(this.translationGroup,t).then((()=>n(this)))}faqSlot;async componentWillLoad(){this.faqSlot=null!==this.hostElement.querySelector('[slot="faq"]')}componentDidLoad(){a(this.translationGroup,this.language).then((()=>n(this)))}ctaButtonCallback=()=>this.ctaButtonClick.emit();renderIcon=()=>this.icon&&"none"!==this.icon&&i("tet-icon",{class:"thank-you-view-v3-icon",name:this.icon,"aria-hidden":"true"});renderInfoBlock=()=>{const t=this.mainBlockDescription&&i("div",{class:"thank-you-view-v3-info-block-description",innerHTML:this.mainBlockDescription&&s(this.mainBlockDescription)});return i("div",{class:"thank-you-view-v3-info-block"},this.renderIcon(),i("div",{class:"thank-you-view-v3-info-block-text"},this.mainBlockTitle&&i("h1",{class:"thank-you-view-v3-info-block-title"},s(this.mainBlockTitle)),t))};renderStepper(){return this.stepperData?.length>0&&i("div",{class:"thank-you-view-v3-stepper"},i("tet-stepper-v3",{stepperData:this.stepperData,theme:this.theme}))}renderCTAButton=()=>this.ctaButtonLabel&&i("nav",{class:"thank-you-view-v3-cta-button","aria-label":"CTA"},i("tet-button",{clickCallback:this.ctaButtonCallback,type:this.ctaButtonType,theme:this.ctaButtonTheme?this.ctaButtonTheme:this.theme,"element-id":this.ctaButtonId,size:this.ctaButtonSize,accessibilityLabel:s(this.ctaButtonLabel)},this.ctaButtonLabel&&s(this.ctaButtonLabel)));renderFAQSlot=()=>this.faqSlot&&i("section",{class:"thank-you-view-v3-faq-slot","aria-label":"FAQ"},i("slot",{name:"faq"}));render(){return i(r,{key:"4ee7ee1e01db0f6442a4aeb172b1ef1e2d8d8418"},i("div",{key:"95093ea8254173b362b34d97e3822ca16ad79bac",class:{"thank-you-view-v3":!0,[this.theme]:!0}},this.renderInfoBlock(),this.renderStepper(),this.renderCTAButton(),this.renderFAQSlot()))}static get watchers(){return{language:["onLanguageChange"]}}};f.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--thank-you-view-icon-color:var(--tc-green-40);--thank-you-view-icon-color-dark:var(--tc-green-40-dark);--thank-you-view-icon-size:3rem;--thank-you-view-title-color:var(--tc-text-primary);--thank-you-view-title-color-dark:var(--tc-text-primary-dark);--thank-you-view-description-color:var(--tc-text-secondary);--thank-you-view-description-color-dark:var(--tc-text-secondary-dark);--thank-you-view-description-strong-color:var(--tc-text-primary);--thank-you-view-description-strong-color-dark:var(--tc-text-primary-dark);--thank-you-view-icon-gap:0.5rem;--thank-you-view-text-gap:0.5rem;--thank-you-view-gap:3rem;--thank-you-view-top-margin:3rem;--thank-you-view-cta-button-margin:0;display:block;margin:0 2rem}@media only screen and (max-width: 31.1875rem){:host{margin:0 1rem}}.thank-you-view-v3{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100%;max-width:53rem;margin:var(--thank-you-view-top-margin) auto 0;gap:var(--thank-you-view-gap)}.thank-you-view-v3.dark{--thank-you-view-icon-color:var(--thank-you-view-icon-color-dark);--thank-you-view-title-color:var(--thank-you-view-title-color-dark);--thank-you-view-description-color:var(--thank-you-view-description-color-dark);--thank-you-view-description-strong-color:var(--thank-you-view-description-strong-color-dark)}.thank-you-view-v3-stepper{width:100%;max-width:45.5rem}.thank-you-view-v3-stepper,.thank-you-view-v3-faq-slot{margin-right:1.5rem}@media only screen and (max-width: 31.1875rem){.thank-you-view-v3-stepper,.thank-you-view-v3-faq-slot{margin-right:0}}@media only screen and (max-width: 63.9375rem){.thank-you-view-v3{max-width:44rem}}.thank-you-view-v3-icon{--icon-color:var(--thank-you-view-icon-color);--icon-size:var(--thank-you-view-icon-size)}.thank-you-view-v3-info-block{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--thank-you-view-icon-gap)}.thank-you-view-v3-info-block-title{text-align:center;color:var(--thank-you-view-title-color);font:600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif"}@media only screen and (max-width: 63.9375rem){.thank-you-view-v3-info-block-title{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media only screen and (max-width: 31.1875rem){.thank-you-view-v3-info-block-title{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}}.thank-you-view-v3-info-block-description{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";max-width:42rem;text-align:center;color:var(--thank-you-view-description-color)}.thank-you-view-v3-info-block-description strong{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";color:var(--thank-you-view-description-strong-color)}@media only screen and (min-width: 63.9375rem){.thank-you-view-v3-info-block-description{font:400 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}.thank-you-view-v3-info-block-description strong{font:500 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}}.thank-you-view-v3-info-block-text{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--thank-you-view-text-gap)}.thank-you-view-v3-cta-button{margin:var(--thank-you-view-cta-button-margin)}.thank-you-view-v3-faq-slot{align-self:stretch}';export{f as tet_thank_you_view_v3}
|
|
1
|
+
import{r as t,c as o,g as e,f as n,h as i,H as r}from"./p-5abb3bea.js";import{p as a,t as s}from"./p-a476fd02.js";import"./p-9a2b6ee2.js";import"./p-726651bc.js";const f=class{constructor(e){t(this,e),this.ctaButtonClick=o(this,"ctaButtonClick",7),this.stepperData=[],this.icon="check",this.mainBlockTitle=void 0,this.mainBlockDescription=void 0,this.ctaButtonLabel=void 0,this.ctaButtonId="thankYouBackButton",this.ctaButtonSize="large",this.ctaButtonType="primary",this.ctaButtonTheme=void 0,this.language="lv",this.translationGroup="",this.theme="light"}get hostElement(){return e(this)}ctaButtonClick;async onLanguageChange(t){await a(this.translationGroup,t).then((()=>n(this)))}faqSlot;async componentWillLoad(){this.faqSlot=null!==this.hostElement.querySelector('[slot="faq"]')}componentDidLoad(){a(this.translationGroup,this.language).then((()=>n(this)))}ctaButtonCallback=()=>this.ctaButtonClick.emit();renderIcon=()=>this.icon&&"none"!==this.icon&&i("tet-icon",{class:"thank-you-view-v3-icon",name:this.icon,"aria-hidden":"true"});renderInfoBlock=()=>{const t=this.mainBlockDescription&&i("div",{class:"thank-you-view-v3-info-block-description",innerHTML:this.mainBlockDescription&&s(this.mainBlockDescription)});return i("div",{class:"thank-you-view-v3-info-block"},this.renderIcon(),i("div",{class:"thank-you-view-v3-info-block-text"},this.mainBlockTitle&&i("h1",{class:"thank-you-view-v3-info-block-title"},s(this.mainBlockTitle)),t))};renderStepper(){return this.stepperData?.length>0&&i("div",{class:"thank-you-view-v3-stepper"},i("tet-stepper-v3",{stepperData:this.stepperData,theme:this.theme}))}renderCTAButton=()=>this.ctaButtonLabel&&i("nav",{class:"thank-you-view-v3-cta-button","aria-label":"CTA"},i("tet-button",{clickCallback:this.ctaButtonCallback,type:this.ctaButtonType,theme:this.ctaButtonTheme?this.ctaButtonTheme:this.theme,"element-id":this.ctaButtonId,size:this.ctaButtonSize,accessibilityLabel:s(this.ctaButtonLabel)},this.ctaButtonLabel&&s(this.ctaButtonLabel)));renderFAQSlot=()=>this.faqSlot&&i("section",{class:"thank-you-view-v3-faq-slot","aria-label":"FAQ"},i("slot",{name:"faq"}));render(){return i(r,{key:"4ee7ee1e01db0f6442a4aeb172b1ef1e2d8d8418"},i("div",{key:"95093ea8254173b362b34d97e3822ca16ad79bac",class:{"thank-you-view-v3":!0,[this.theme]:!0}},this.renderInfoBlock(),this.renderStepper(),this.renderCTAButton(),this.renderFAQSlot()))}static get watchers(){return{language:["onLanguageChange"]}}};f.style=':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--thank-you-view-icon-color:var(--tc-green-40);--thank-you-view-icon-color-dark:var(--tc-green-40-dark);--thank-you-view-icon-size:3rem;--thank-you-view-title-color:var(--tc-text-primary);--thank-you-view-title-color-dark:var(--tc-text-primary-dark);--thank-you-view-description-color:var(--tc-text-secondary);--thank-you-view-description-color-dark:var(--tc-text-secondary-dark);--thank-you-view-description-strong-color:var(--tc-text-primary);--thank-you-view-description-strong-color-dark:var(--tc-text-primary-dark);--thank-you-view-icon-gap:0.5rem;--thank-you-view-text-gap:0.5rem;--thank-you-view-gap:3rem;--thank-you-view-top-margin:3rem;--thank-you-view-cta-button-margin:0;display:block;margin:0 2rem}@media only screen and (max-width: 31.1875rem){:host{margin:0 1rem}}.thank-you-view-v3{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:100%;max-width:53rem;margin:var(--thank-you-view-top-margin) auto 0;gap:var(--thank-you-view-gap)}.thank-you-view-v3.dark{--thank-you-view-icon-color:var(--thank-you-view-icon-color-dark);--thank-you-view-title-color:var(--thank-you-view-title-color-dark);--thank-you-view-description-color:var(--thank-you-view-description-color-dark);--thank-you-view-description-strong-color:var(--thank-you-view-description-strong-color-dark)}.thank-you-view-v3-stepper{width:100%;max-width:45.5rem}.thank-you-view-v3-stepper,.thank-you-view-v3-faq-slot{margin-right:1.5rem}@media only screen and (max-width: 31.1875rem){.thank-you-view-v3-stepper,.thank-you-view-v3-faq-slot{margin-right:0}}@media only screen and (max-width: 63.9375rem){.thank-you-view-v3{max-width:44rem}}.thank-you-view-v3-icon{--icon-color:var(--thank-you-view-icon-color);--icon-size:var(--thank-you-view-icon-size)}.thank-you-view-v3-info-block{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--thank-you-view-icon-gap)}.thank-you-view-v3-info-block-title{text-align:center;color:var(--thank-you-view-title-color);font:600 2rem/2.25rem "Gilroy", "Gilroy, Arial, sans-serif"}@media only screen and (max-width: 63.9375rem){.thank-you-view-v3-info-block-title{font:600 1.75rem/2rem "Gilroy", "Gilroy, Arial, sans-serif"}}@media only screen and (max-width: 31.1875rem){.thank-you-view-v3-info-block-title{font:600 1.5rem/1.75rem "Gilroy", "Gilroy, Arial, sans-serif"}}.thank-you-view-v3-info-block-description{font:400 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";max-width:42rem;text-align:center;color:var(--thank-you-view-description-color)}.thank-you-view-v3-info-block-description strong{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";color:var(--thank-you-view-description-strong-color)}@media only screen and (min-width: 63.9375rem){.thank-you-view-v3-info-block-description{font:400 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}.thank-you-view-v3-info-block-description strong{font:500 1.125rem/1.75rem "Inter", "Gilroy, Arial, sans-serif"}}.thank-you-view-v3-info-block-text{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--thank-you-view-text-gap)}.thank-you-view-v3-cta-button{margin:var(--thank-you-view-cta-button-margin)}.thank-you-view-v3-faq-slot{align-self:stretch}';export{f as tet_thank_you_view_v3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{E as t}from"./p-83f43fdd.js";class e{url;options;data;errorFallbackValue;defaultOptions={mode:"cors"};setUrl(t){return this.url=t,this}setOptions(t){return this.options=t,this}setData(t){return this.data=t,this}setErrorFallbackValue(t){return this.errorFallbackValue=t,this}execute(t=!1){return fetch(this.url,{...this.defaultOptions,...this.options,body:JSON.stringify(this.data)}).then((async e=>t?e:(await e.json())?.data)).catch((t=>{if(void 0!==this.errorFallbackValue)return this.errorFallbackValue;throw t}))}}const n={endpoints:{operations:"/operations/",address:"/addresses/",addressSearch:"/addresses/search/",translations:"/translations/",queryCustomer:"/customer/data/",customerAssets:"/customer/assets/",productComparison:"/v2/sac/product-data",catalogOffers:"/catalog/offers/",createCallCenterTask:"/tasks/create-callcenter-task/",componentData:"/web-components/data/",macdOrderTypes:"/assets/macd/order-types",tvPlatformChannels:"/tv/channels/platform/",tvPackages:"/tv/packages/",businessLines:"/products/business-lines",metastoreProducts:"/metastore/products",cloudConfigurator:"/metastore/cloud-calculator-fields",serviceAvailabilityServices:"/sac/available-services",b2bConfigurator:"/metastore/b2b/configurator"},testing:{baseUrl:"https://tst-gateway.tet.lv/api"},staging:{baseUrl:"https://uat-gateway.tet.lv/api"},production:{baseUrl:"https://gateway.tet.lv/api"}},i=n.endpoints,s=n[t.environment]??{},r=Object.keys(i??[]).reduce(((t,e)=>({...t,[e]:`${s.baseUrl}${i[e]}`})),{})??{};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a.apply(this,arguments)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function d(t,e){return d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},d(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=f(t);if(e){var s=f(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}var p=function(){function t(){h(this,t)}return c(t,[{key:"listenForWhisper",value:function(t,e){return this.listen(".client-"+t,e)}},{key:"notification",value:function(t){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",t)}},{key:"stopListeningForWhisper",value:function(t,e){return this.stopListening(".client-"+t,e)}}]),t}(),w=function(){function t(e){h(this,t),this.namespace=e}return c(t,[{key:"format",value:function(t){return[".","\\"].includes(t.charAt(0))?t.substring(1):(this.namespace&&(t=this.namespace+"."+t),t.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(t){this.namespace=t}}]),t}(),b=function(){l(e,p);var t=v(e);function e(n,i,s){var r;return h(this,e),(r=t.call(this)).name=i,r.pusher=n,r.options=s,r.eventFormatter=new w(r.options.namespace),r.subscribe(),r}return c(e,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(t,e){return this.on(this.eventFormatter.format(t),e),this}},{key:"listenToAll",value:function(t){var e=this;return this.subscription.bind_global((function(n,i){if(!n.startsWith("pusher:")){var s=e.options.namespace.replace(/\./g,"\\"),r=n.startsWith(s)?n.substring(s.length+1):"."+n;t(r,i)}})),this}},{key:"stopListening",value:function(t,e){return e?this.subscription.unbind(this.eventFormatter.format(t),e):this.subscription.unbind(this.eventFormatter.format(t)),this}},{key:"stopListeningToAll",value:function(t){return t?this.subscription.unbind_global(t):this.subscription.unbind_global(),this}},{key:"subscribed",value:function(t){return this.on("pusher:subscription_succeeded",(function(){t()})),this}},{key:"error",value:function(t){return this.on("pusher:subscription_error",(function(e){t(e)})),this}},{key:"on",value:function(t,e){return this.subscription.bind(t,e),this}}]),e}(),y=function(){l(e,b);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}}]),e}(),g=function(){l(e,b);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}}]),e}(),k=function(){l(e,b);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"here",value:function(t){return this.on("pusher:subscription_succeeded",(function(e){t(Object.keys(e.members).map((function(t){return e.members[t]})))})),this}},{key:"joining",value:function(t){return this.on("pusher:member_added",(function(e){t(e.info)})),this}},{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}},{key:"leaving",value:function(t){return this.on("pusher:member_removed",(function(e){t(e.info)})),this}}]),e}(),m=function(){l(e,p);var t=v(e);function e(n,i,s){var r;return h(this,e),(r=t.call(this)).events={},r.listeners={},r.name=i,r.socket=n,r.options=s,r.eventFormatter=new w(r.options.namespace),r.subscribe(),r}return c(e,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(t,e){return this.on(this.eventFormatter.format(t),e),this}},{key:"stopListening",value:function(t,e){return this.unbindEvent(this.eventFormatter.format(t),e),this}},{key:"subscribed",value:function(t){return this.on("connect",(function(e){t(e)})),this}},{key:"error",value:function(){return this}},{key:"on",value:function(t,e){var n=this;return this.listeners[t]=this.listeners[t]||[],this.events[t]||(this.events[t]=function(e,i){n.name===e&&n.listeners[t]&&n.listeners[t].forEach((function(t){return t(i)}))},this.socket.on(t,this.events[t])),this.listeners[t].push(e),this}},{key:"unbind",value:function(){var t=this;Object.keys(this.events).forEach((function(e){t.unbindEvent(e)}))}},{key:"unbindEvent",value:function(t,e){this.listeners[t]=this.listeners[t]||[],e&&(this.listeners[t]=this.listeners[t].filter((function(t){return t!==e}))),e&&0!==this.listeners[t].length||(this.events[t]&&(this.socket.removeListener(t,this.events[t]),delete this.events[t]),delete this.listeners[t])}}]),e}(),S=function(){l(e,m);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"whisper",value:function(t,e){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(t),data:e}),this}}]),e}(),_=function(){l(e,S);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"here",value:function(t){return this.on("presence:subscribed",(function(e){t(e.map((function(t){return t.user_info})))})),this}},{key:"joining",value:function(t){return this.on("presence:joining",(function(e){return t(e.user_info)})),this}},{key:"whisper",value:function(t,e){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(t),data:e}),this}},{key:"leaving",value:function(t){return this.on("presence:leaving",(function(e){return t(e.user_info)})),this}}]),e}(),j=function(){l(e,p);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(){return this}},{key:"listenToAll",value:function(){return this}},{key:"stopListening",value:function(){return this}},{key:"subscribed",value:function(){return this}},{key:"error",value:function(){return this}},{key:"on",value:function(){return this}}]),e}(),C=function(){l(e,j);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"whisper",value:function(){return this}}]),e}(),O=function(){l(e,j);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"here",value:function(){return this}},{key:"joining",value:function(){return this}},{key:"whisper",value:function(){return this}},{key:"leaving",value:function(){return this}}]),e}(),E=function(){function t(e){h(this,t),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",userAuthentication:{endpoint:"/broadcasting/user-auth",headers:{}},broadcaster:"pusher",csrfToken:null,bearerToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(e),this.connect()}return c(t,[{key:"setOptions",value:function(t){this.options=a(this._defaultOptions,t);var e=this.csrfToken();return e&&(this.options.auth.headers["X-CSRF-TOKEN"]=e,this.options.userAuthentication.headers["X-CSRF-TOKEN"]=e),(e=this.options.bearerToken)&&(this.options.auth.headers.Authorization="Bearer "+e,this.options.userAuthentication.headers.Authorization="Bearer "+e),t}},{key:"csrfToken",value:function(){var t;return"undefined"!=typeof window&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:"undefined"!=typeof document&&"function"==typeof document.querySelector&&(t=document.querySelector('meta[name="csrf-token"]'))?t.getAttribute("content"):null}}]),t}(),T=function(){l(e,E);var t=v(e);function e(){var n;return h(this,e),(n=t.apply(this,arguments)).channels={},n}return c(e,[{key:"connect",value:function(){this.pusher=void 0!==this.options.client?this.options.client:this.options.Pusher?new this.options.Pusher(this.options.key,this.options):new Pusher(this.options.key,this.options)}},{key:"signin",value:function(){this.pusher.signin()}},{key:"listen",value:function(t,e,n){return this.channel(t).listen(e,n)}},{key:"channel",value:function(t){return this.channels[t]||(this.channels[t]=new b(this.pusher,t,this.options)),this.channels[t]}},{key:"privateChannel",value:function(t){return this.channels["private-"+t]||(this.channels["private-"+t]=new y(this.pusher,"private-"+t,this.options)),this.channels["private-"+t]}},{key:"encryptedPrivateChannel",value:function(t){return this.channels["private-encrypted-"+t]||(this.channels["private-encrypted-"+t]=new g(this.pusher,"private-encrypted-"+t,this.options)),this.channels["private-encrypted-"+t]}},{key:"presenceChannel",value:function(t){return this.channels["presence-"+t]||(this.channels["presence-"+t]=new k(this.pusher,"presence-"+t,this.options)),this.channels["presence-"+t]}},{key:"leave",value:function(t){var e=this;[t,"private-"+t,"private-encrypted-"+t,"presence-"+t].forEach((function(t){e.leaveChannel(t)}))}},{key:"leaveChannel",value:function(t){this.channels[t]&&(this.channels[t].unsubscribe(),delete this.channels[t])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),e}(),x=function(){l(e,E);var t=v(e);function e(){var n;return h(this,e),(n=t.apply(this,arguments)).channels={},n}return c(e,[{key:"connect",value:function(){var t=this,e=this.getSocketIO();return this.socket=e(this.options.host,this.options),this.socket.on("reconnect",(function(){Object.values(t.channels).forEach((function(t){t.subscribe()}))})),this.socket}},{key:"getSocketIO",value:function(){if(void 0!==this.options.client)return this.options.client;if("undefined"!=typeof io)return io;throw new Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(t,e,n){return this.channel(t).listen(e,n)}},{key:"channel",value:function(t){return this.channels[t]||(this.channels[t]=new m(this.socket,t,this.options)),this.channels[t]}},{key:"privateChannel",value:function(t){return this.channels["private-"+t]||(this.channels["private-"+t]=new S(this.socket,"private-"+t,this.options)),this.channels["private-"+t]}},{key:"presenceChannel",value:function(t){return this.channels["presence-"+t]||(this.channels["presence-"+t]=new _(this.socket,"presence-"+t,this.options)),this.channels["presence-"+t]}},{key:"leave",value:function(t){var e=this;[t,"private-"+t,"presence-"+t].forEach((function(t){e.leaveChannel(t)}))}},{key:"leaveChannel",value:function(t){this.channels[t]&&(this.channels[t].unsubscribe(),delete this.channels[t])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),e}(),P=function(){l(e,E);var t=v(e);function e(){var n;return h(this,e),(n=t.apply(this,arguments)).channels={},n}return c(e,[{key:"connect",value:function(){}},{key:"listen",value:function(){return new j}},{key:"channel",value:function(){return new j}},{key:"privateChannel",value:function(){return new C}},{key:"encryptedPrivateChannel",value:function(){return new C}},{key:"presenceChannel",value:function(){return new O}},{key:"leave",value:function(){}},{key:"leaveChannel",value:function(){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),e}(),R=function(){function t(e){h(this,t),this.options=e,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return c(t,[{key:"channel",value:function(t){return this.connector.channel(t)}},{key:"connect",value:function(){if("reverb"==this.options.broadcaster)this.connector=new T(a(a({},this.options),{cluster:""}));else if("pusher"==this.options.broadcaster)this.connector=new T(this.options);else if("socket.io"==this.options.broadcaster)this.connector=new x(this.options);else if("null"==this.options.broadcaster)this.connector=new P(this.options);else{if("function"!=typeof this.options.broadcaster)throw new Error("Broadcaster ".concat(o(this.options.broadcaster)," ").concat(this.options.broadcaster," is not supported."));this.connector=new this.options.broadcaster(this.options)}}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(t){return this.connector.presenceChannel(t)}},{key:"leave",value:function(t){this.connector.leave(t)}},{key:"leaveChannel",value:function(t){this.connector.leaveChannel(t)}},{key:"leaveAllChannels",value:function(){for(var t in this.connector.channels)this.leaveChannel(t)}},{key:"listen",value:function(t,e,n){return this.connector.listen(t,e,n)}},{key:"private",value:function(t){return this.connector.privateChannel(t)}},{key:"encryptedPrivate",value:function(t){return this.connector.encryptedPrivateChannel(t)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){"function"==typeof Vue&&Vue.http&&this.registerVueRequestInterceptor(),"function"==typeof axios&&this.registerAxiosRequestInterceptor(),"function"==typeof jQuery&&this.registerjQueryAjaxSetup(),"object"===("undefined"==typeof Turbo?"undefined":o(Turbo))&&this.registerTurboRequestInterceptor()}},{key:"registerVueRequestInterceptor",value:function(){var t=this;Vue.http.interceptors.push((function(e,n){t.socketId()&&e.headers.set("X-Socket-ID",t.socketId()),n()}))}},{key:"registerAxiosRequestInterceptor",value:function(){var t=this;axios.interceptors.request.use((function(e){return t.socketId()&&(e.headers["X-Socket-Id"]=t.socketId()),e}))}},{key:"registerjQueryAjaxSetup",value:function(){var t=this;void 0!==jQuery.ajax&&jQuery.ajaxPrefilter((function(e,n,i){t.socketId()&&i.setRequestHeader("X-Socket-Id",t.socketId())}))}},{key:"registerTurboRequestInterceptor",value:function(){var t=this;document.addEventListener("turbo:before-fetch-request",(function(e){e.detail.fetchOptions.headers["X-Socket-Id"]=t.socketId()}))}}]),t}();function I(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var A,N={exports:{}};
|
|
1
|
+
import{E as t}from"./p-5abb3bea.js";class e{url;options;data;errorFallbackValue;defaultOptions={mode:"cors"};setUrl(t){return this.url=t,this}setOptions(t){return this.options=t,this}setData(t){return this.data=t,this}setErrorFallbackValue(t){return this.errorFallbackValue=t,this}execute(t=!1){return fetch(this.url,{...this.defaultOptions,...this.options,body:JSON.stringify(this.data)}).then((async e=>t?e:(await e.json())?.data)).catch((t=>{if(void 0!==this.errorFallbackValue)return this.errorFallbackValue;throw t}))}}const n={endpoints:{operations:"/operations/",address:"/addresses/",addressSearch:"/addresses/search/",translations:"/translations/",queryCustomer:"/customer/data/",customerAssets:"/customer/assets/",productComparison:"/v2/sac/product-data",catalogOffers:"/catalog/offers/",createCallCenterTask:"/tasks/create-callcenter-task/",componentData:"/web-components/data/",macdOrderTypes:"/assets/macd/order-types",tvPlatformChannels:"/tv/channels/platform/",tvPackages:"/tv/packages/",businessLines:"/products/business-lines",metastoreProducts:"/metastore/products",cloudConfigurator:"/metastore/cloud-calculator-fields",serviceAvailabilityServices:"/sac/available-services",b2bConfigurator:"/metastore/b2b/configurator"},testing:{baseUrl:"https://tst-gateway.tet.lv/api"},staging:{baseUrl:"https://uat-gateway.tet.lv/api"},production:{baseUrl:"https://gateway.tet.lv/api"}},i=n.endpoints,s=n[t.environment]??{},r=Object.keys(i??[]).reduce(((t,e)=>({...t,[e]:`${s.baseUrl}${i[e]}`})),{})??{};function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(){return a=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a.apply(this,arguments)}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&d(t,e)}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function d(t,e){return d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},d(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=f(t);if(e){var s=f(this).constructor;n=Reflect.construct(i,arguments,s)}else n=i.apply(this,arguments);return function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}var p=function(){function t(){h(this,t)}return c(t,[{key:"listenForWhisper",value:function(t,e){return this.listen(".client-"+t,e)}},{key:"notification",value:function(t){return this.listen(".Illuminate\\Notifications\\Events\\BroadcastNotificationCreated",t)}},{key:"stopListeningForWhisper",value:function(t,e){return this.stopListening(".client-"+t,e)}}]),t}(),w=function(){function t(e){h(this,t),this.namespace=e}return c(t,[{key:"format",value:function(t){return[".","\\"].includes(t.charAt(0))?t.substring(1):(this.namespace&&(t=this.namespace+"."+t),t.replace(/\./g,"\\"))}},{key:"setNamespace",value:function(t){this.namespace=t}}]),t}(),b=function(){l(e,p);var t=v(e);function e(n,i,s){var r;return h(this,e),(r=t.call(this)).name=i,r.pusher=n,r.options=s,r.eventFormatter=new w(r.options.namespace),r.subscribe(),r}return c(e,[{key:"subscribe",value:function(){this.subscription=this.pusher.subscribe(this.name)}},{key:"unsubscribe",value:function(){this.pusher.unsubscribe(this.name)}},{key:"listen",value:function(t,e){return this.on(this.eventFormatter.format(t),e),this}},{key:"listenToAll",value:function(t){var e=this;return this.subscription.bind_global((function(n,i){if(!n.startsWith("pusher:")){var s=e.options.namespace.replace(/\./g,"\\"),r=n.startsWith(s)?n.substring(s.length+1):"."+n;t(r,i)}})),this}},{key:"stopListening",value:function(t,e){return e?this.subscription.unbind(this.eventFormatter.format(t),e):this.subscription.unbind(this.eventFormatter.format(t)),this}},{key:"stopListeningToAll",value:function(t){return t?this.subscription.unbind_global(t):this.subscription.unbind_global(),this}},{key:"subscribed",value:function(t){return this.on("pusher:subscription_succeeded",(function(){t()})),this}},{key:"error",value:function(t){return this.on("pusher:subscription_error",(function(e){t(e)})),this}},{key:"on",value:function(t,e){return this.subscription.bind(t,e),this}}]),e}(),y=function(){l(e,b);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}}]),e}(),g=function(){l(e,b);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}}]),e}(),k=function(){l(e,b);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"here",value:function(t){return this.on("pusher:subscription_succeeded",(function(e){t(Object.keys(e.members).map((function(t){return e.members[t]})))})),this}},{key:"joining",value:function(t){return this.on("pusher:member_added",(function(e){t(e.info)})),this}},{key:"whisper",value:function(t,e){return this.pusher.channels.channels[this.name].trigger("client-".concat(t),e),this}},{key:"leaving",value:function(t){return this.on("pusher:member_removed",(function(e){t(e.info)})),this}}]),e}(),m=function(){l(e,p);var t=v(e);function e(n,i,s){var r;return h(this,e),(r=t.call(this)).events={},r.listeners={},r.name=i,r.socket=n,r.options=s,r.eventFormatter=new w(r.options.namespace),r.subscribe(),r}return c(e,[{key:"subscribe",value:function(){this.socket.emit("subscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"unsubscribe",value:function(){this.unbind(),this.socket.emit("unsubscribe",{channel:this.name,auth:this.options.auth||{}})}},{key:"listen",value:function(t,e){return this.on(this.eventFormatter.format(t),e),this}},{key:"stopListening",value:function(t,e){return this.unbindEvent(this.eventFormatter.format(t),e),this}},{key:"subscribed",value:function(t){return this.on("connect",(function(e){t(e)})),this}},{key:"error",value:function(){return this}},{key:"on",value:function(t,e){var n=this;return this.listeners[t]=this.listeners[t]||[],this.events[t]||(this.events[t]=function(e,i){n.name===e&&n.listeners[t]&&n.listeners[t].forEach((function(t){return t(i)}))},this.socket.on(t,this.events[t])),this.listeners[t].push(e),this}},{key:"unbind",value:function(){var t=this;Object.keys(this.events).forEach((function(e){t.unbindEvent(e)}))}},{key:"unbindEvent",value:function(t,e){this.listeners[t]=this.listeners[t]||[],e&&(this.listeners[t]=this.listeners[t].filter((function(t){return t!==e}))),e&&0!==this.listeners[t].length||(this.events[t]&&(this.socket.removeListener(t,this.events[t]),delete this.events[t]),delete this.listeners[t])}}]),e}(),S=function(){l(e,m);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"whisper",value:function(t,e){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(t),data:e}),this}}]),e}(),_=function(){l(e,S);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"here",value:function(t){return this.on("presence:subscribed",(function(e){t(e.map((function(t){return t.user_info})))})),this}},{key:"joining",value:function(t){return this.on("presence:joining",(function(e){return t(e.user_info)})),this}},{key:"whisper",value:function(t,e){return this.socket.emit("client event",{channel:this.name,event:"client-".concat(t),data:e}),this}},{key:"leaving",value:function(t){return this.on("presence:leaving",(function(e){return t(e.user_info)})),this}}]),e}(),j=function(){l(e,p);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"subscribe",value:function(){}},{key:"unsubscribe",value:function(){}},{key:"listen",value:function(){return this}},{key:"listenToAll",value:function(){return this}},{key:"stopListening",value:function(){return this}},{key:"subscribed",value:function(){return this}},{key:"error",value:function(){return this}},{key:"on",value:function(){return this}}]),e}(),C=function(){l(e,j);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"whisper",value:function(){return this}}]),e}(),O=function(){l(e,j);var t=v(e);function e(){return h(this,e),t.apply(this,arguments)}return c(e,[{key:"here",value:function(){return this}},{key:"joining",value:function(){return this}},{key:"whisper",value:function(){return this}},{key:"leaving",value:function(){return this}}]),e}(),E=function(){function t(e){h(this,t),this._defaultOptions={auth:{headers:{}},authEndpoint:"/broadcasting/auth",userAuthentication:{endpoint:"/broadcasting/user-auth",headers:{}},broadcaster:"pusher",csrfToken:null,bearerToken:null,host:null,key:null,namespace:"App.Events"},this.setOptions(e),this.connect()}return c(t,[{key:"setOptions",value:function(t){this.options=a(this._defaultOptions,t);var e=this.csrfToken();return e&&(this.options.auth.headers["X-CSRF-TOKEN"]=e,this.options.userAuthentication.headers["X-CSRF-TOKEN"]=e),(e=this.options.bearerToken)&&(this.options.auth.headers.Authorization="Bearer "+e,this.options.userAuthentication.headers.Authorization="Bearer "+e),t}},{key:"csrfToken",value:function(){var t;return"undefined"!=typeof window&&window.Laravel&&window.Laravel.csrfToken?window.Laravel.csrfToken:this.options.csrfToken?this.options.csrfToken:"undefined"!=typeof document&&"function"==typeof document.querySelector&&(t=document.querySelector('meta[name="csrf-token"]'))?t.getAttribute("content"):null}}]),t}(),T=function(){l(e,E);var t=v(e);function e(){var n;return h(this,e),(n=t.apply(this,arguments)).channels={},n}return c(e,[{key:"connect",value:function(){this.pusher=void 0!==this.options.client?this.options.client:this.options.Pusher?new this.options.Pusher(this.options.key,this.options):new Pusher(this.options.key,this.options)}},{key:"signin",value:function(){this.pusher.signin()}},{key:"listen",value:function(t,e,n){return this.channel(t).listen(e,n)}},{key:"channel",value:function(t){return this.channels[t]||(this.channels[t]=new b(this.pusher,t,this.options)),this.channels[t]}},{key:"privateChannel",value:function(t){return this.channels["private-"+t]||(this.channels["private-"+t]=new y(this.pusher,"private-"+t,this.options)),this.channels["private-"+t]}},{key:"encryptedPrivateChannel",value:function(t){return this.channels["private-encrypted-"+t]||(this.channels["private-encrypted-"+t]=new g(this.pusher,"private-encrypted-"+t,this.options)),this.channels["private-encrypted-"+t]}},{key:"presenceChannel",value:function(t){return this.channels["presence-"+t]||(this.channels["presence-"+t]=new k(this.pusher,"presence-"+t,this.options)),this.channels["presence-"+t]}},{key:"leave",value:function(t){var e=this;[t,"private-"+t,"private-encrypted-"+t,"presence-"+t].forEach((function(t){e.leaveChannel(t)}))}},{key:"leaveChannel",value:function(t){this.channels[t]&&(this.channels[t].unsubscribe(),delete this.channels[t])}},{key:"socketId",value:function(){return this.pusher.connection.socket_id}},{key:"disconnect",value:function(){this.pusher.disconnect()}}]),e}(),x=function(){l(e,E);var t=v(e);function e(){var n;return h(this,e),(n=t.apply(this,arguments)).channels={},n}return c(e,[{key:"connect",value:function(){var t=this,e=this.getSocketIO();return this.socket=e(this.options.host,this.options),this.socket.on("reconnect",(function(){Object.values(t.channels).forEach((function(t){t.subscribe()}))})),this.socket}},{key:"getSocketIO",value:function(){if(void 0!==this.options.client)return this.options.client;if("undefined"!=typeof io)return io;throw new Error("Socket.io client not found. Should be globally available or passed via options.client")}},{key:"listen",value:function(t,e,n){return this.channel(t).listen(e,n)}},{key:"channel",value:function(t){return this.channels[t]||(this.channels[t]=new m(this.socket,t,this.options)),this.channels[t]}},{key:"privateChannel",value:function(t){return this.channels["private-"+t]||(this.channels["private-"+t]=new S(this.socket,"private-"+t,this.options)),this.channels["private-"+t]}},{key:"presenceChannel",value:function(t){return this.channels["presence-"+t]||(this.channels["presence-"+t]=new _(this.socket,"presence-"+t,this.options)),this.channels["presence-"+t]}},{key:"leave",value:function(t){var e=this;[t,"private-"+t,"presence-"+t].forEach((function(t){e.leaveChannel(t)}))}},{key:"leaveChannel",value:function(t){this.channels[t]&&(this.channels[t].unsubscribe(),delete this.channels[t])}},{key:"socketId",value:function(){return this.socket.id}},{key:"disconnect",value:function(){this.socket.disconnect()}}]),e}(),P=function(){l(e,E);var t=v(e);function e(){var n;return h(this,e),(n=t.apply(this,arguments)).channels={},n}return c(e,[{key:"connect",value:function(){}},{key:"listen",value:function(){return new j}},{key:"channel",value:function(){return new j}},{key:"privateChannel",value:function(){return new C}},{key:"encryptedPrivateChannel",value:function(){return new C}},{key:"presenceChannel",value:function(){return new O}},{key:"leave",value:function(){}},{key:"leaveChannel",value:function(){}},{key:"socketId",value:function(){return"fake-socket-id"}},{key:"disconnect",value:function(){}}]),e}(),R=function(){function t(e){h(this,t),this.options=e,this.connect(),this.options.withoutInterceptors||this.registerInterceptors()}return c(t,[{key:"channel",value:function(t){return this.connector.channel(t)}},{key:"connect",value:function(){if("reverb"==this.options.broadcaster)this.connector=new T(a(a({},this.options),{cluster:""}));else if("pusher"==this.options.broadcaster)this.connector=new T(this.options);else if("socket.io"==this.options.broadcaster)this.connector=new x(this.options);else if("null"==this.options.broadcaster)this.connector=new P(this.options);else{if("function"!=typeof this.options.broadcaster)throw new Error("Broadcaster ".concat(o(this.options.broadcaster)," ").concat(this.options.broadcaster," is not supported."));this.connector=new this.options.broadcaster(this.options)}}},{key:"disconnect",value:function(){this.connector.disconnect()}},{key:"join",value:function(t){return this.connector.presenceChannel(t)}},{key:"leave",value:function(t){this.connector.leave(t)}},{key:"leaveChannel",value:function(t){this.connector.leaveChannel(t)}},{key:"leaveAllChannels",value:function(){for(var t in this.connector.channels)this.leaveChannel(t)}},{key:"listen",value:function(t,e,n){return this.connector.listen(t,e,n)}},{key:"private",value:function(t){return this.connector.privateChannel(t)}},{key:"encryptedPrivate",value:function(t){return this.connector.encryptedPrivateChannel(t)}},{key:"socketId",value:function(){return this.connector.socketId()}},{key:"registerInterceptors",value:function(){"function"==typeof Vue&&Vue.http&&this.registerVueRequestInterceptor(),"function"==typeof axios&&this.registerAxiosRequestInterceptor(),"function"==typeof jQuery&&this.registerjQueryAjaxSetup(),"object"===("undefined"==typeof Turbo?"undefined":o(Turbo))&&this.registerTurboRequestInterceptor()}},{key:"registerVueRequestInterceptor",value:function(){var t=this;Vue.http.interceptors.push((function(e,n){t.socketId()&&e.headers.set("X-Socket-ID",t.socketId()),n()}))}},{key:"registerAxiosRequestInterceptor",value:function(){var t=this;axios.interceptors.request.use((function(e){return t.socketId()&&(e.headers["X-Socket-Id"]=t.socketId()),e}))}},{key:"registerjQueryAjaxSetup",value:function(){var t=this;void 0!==jQuery.ajax&&jQuery.ajaxPrefilter((function(e,n,i){t.socketId()&&i.setRequestHeader("X-Socket-Id",t.socketId())}))}},{key:"registerTurboRequestInterceptor",value:function(){var t=this;document.addEventListener("turbo:before-fetch-request",(function(e){e.detail.fetchOptions.headers["X-Socket-Id"]=t.socketId()}))}}]),t}();function I(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var A,N={exports:{}};
|
|
2
2
|
/*!
|
|
3
3
|
* Pusher JavaScript Library v8.3.0
|
|
4
4
|
* https://pusher.com/
|