@tet/tet-components 1.3.154-staging → 1.3.155-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/tet-accordion_2.cjs.entry.js +6 -6
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +32 -4
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +1 -1
- package/dist/cjs/tet-b2b-service-calculator.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-lines.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +7 -7
- package/dist/cjs/tet-colors.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +5 -5
- package/dist/cjs/tet-datepicker.cjs.entry.js +4 -4
- package/dist/cjs/tet-dropdown_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.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 +1 -1
- package/dist/cjs/tet-label.cjs.entry.js +2 -2
- package/dist/cjs/tet-layout.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-navigation-mobile.cjs.entry.js +3 -3
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +7 -7
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +3 -3
- package/dist/cjs/tet-stepper-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-tab-header.cjs.entry.js +2 -2
- package/dist/cjs/tet-tag_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-textarea.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +2 -2
- package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +32 -4
- package/dist/collection/components/advanced/forms/tet-contact-form/tet-contact-form.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-block/tet-tv-gift-block.js +1 -1
- package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-header/tet-tab-header.js +2 -2
- package/dist/collection/components/basic/buttons/tet-tag/tet-tag.js +2 -2
- package/dist/collection/components/basic/carousel/tet-carousel/tet-carousel.js +7 -7
- package/dist/collection/components/basic/icon/tet-icon.js +1 -1
- package/dist/collection/components/basic/loaders/tet-loader/tet-loader.js +1 -1
- package/dist/collection/components/basic/loaders/tet-placeholder/tet-placeholder.js +1 -1
- package/dist/collection/components/basic/loaders/tet-spinner/tet-spinner.js +3 -3
- package/dist/collection/components/basic/misc/tet-label/tet-label.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.js +2 -2
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.js +1 -1
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.js +4 -4
- package/dist/collection/components/simple/inputs/tet-range-slider/tet-range-slider.js +7 -7
- package/dist/collection/components/simple/inputs/tet-stepper-input/tet-stepper-input.js +1 -1
- package/dist/collection/components/simple/inputs/tet-textarea/tet-textarea.js +2 -2
- package/dist/collection/components/simple/lists/tet-news-card-list/tet-news-card-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +5 -5
- 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.css +5 -5
- package/dist/collection/components/views/tet-b2b-service-calculator/tet-b2b-service-calculator.js +1 -1
- package/dist/collection/components/views/tet-business-lines/tet-business-lines.js +1 -1
- package/dist/collection/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/{p-bd5fc6cb.js → p-00351bb3.js} +1 -1
- package/dist/components/{p-7556136b.js → p-01cbd3bb.js} +1 -1
- package/dist/components/{p-6c463341.js → p-0b96f814.js} +4 -4
- package/dist/components/{p-b0f75d20.js → p-119a13f1.js} +2 -2
- package/dist/components/{p-9782e5c4.js → p-123957bc.js} +1 -1
- package/dist/components/{p-c18138a8.js → p-14288c49.js} +1 -1
- package/dist/components/{p-60d0e1f7.js → p-1512dc60.js} +37 -9
- package/dist/components/{p-fb5ceb0e.js → p-19b25c1c.js} +2 -2
- package/dist/components/{p-eec88245.js → p-1a3d1023.js} +2 -2
- package/dist/components/{p-78dee01e.js → p-1aad0dd8.js} +5 -5
- package/dist/components/{p-f752e23b.js → p-1aba570d.js} +1 -1
- package/dist/components/{p-d26fdfd6.js → p-22a55ad3.js} +1 -1
- package/dist/components/{p-7a99c2a6.js → p-2376ee47.js} +2 -2
- package/dist/components/{p-3d3ad524.js → p-2c7a3d78.js} +1 -1
- package/dist/components/{p-4497f6a3.js → p-2dd801b1.js} +4 -4
- package/dist/components/{p-2cfa5ac5.js → p-34247e22.js} +2 -2
- package/dist/components/{p-598a7cda.js → p-44ac2ae1.js} +1 -1
- package/dist/components/{p-b73be1b2.js → p-5390df74.js} +2 -2
- package/dist/components/{p-a8f280e5.js → p-556f0aa3.js} +1 -1
- package/dist/components/{p-40c772b5.js → p-57254ef4.js} +3 -3
- package/dist/components/{p-7d5ded0e.js → p-64f0f6cb.js} +6 -6
- package/dist/components/{p-95b9de26.js → p-6c499d64.js} +1 -1
- package/dist/components/{p-19e25c47.js → p-6f304db6.js} +5 -5
- package/dist/components/{p-e3520d95.js → p-7ec09b0c.js} +7 -7
- package/dist/components/{p-6d4cd18b.js → p-815aaa96.js} +3 -3
- package/dist/components/{p-7e4ad30e.js → p-8453880f.js} +1 -1
- package/dist/components/{p-b1e5b668.js → p-95253940.js} +3 -3
- package/dist/components/{p-1de4299e.js → p-9760d556.js} +1 -1
- package/dist/components/{p-28d6865c.js → p-99b95710.js} +1 -1
- package/dist/components/{p-7edbbbe4.js → p-9e74fece.js} +3 -3
- package/dist/components/{p-486f6fa7.js → p-a2f3e4b4.js} +1 -1
- package/dist/components/{p-6b80d7f4.js → p-a9584c18.js} +2 -2
- package/dist/components/{p-e0afecc3.js → p-b2e2755e.js} +2 -2
- package/dist/components/{p-4a071c77.js → p-b9352083.js} +1 -1
- package/dist/components/{p-c6b82ba2.js → p-c19d8bb9.js} +3 -3
- package/dist/components/{p-da8c8a43.js → p-c5a2b455.js} +11 -11
- package/dist/components/{p-eda4637f.js → p-cc910b02.js} +6 -6
- package/dist/components/{p-e92015f1.js → p-ce553a17.js} +10 -10
- package/dist/components/{p-3789537e.js → p-e5ac3870.js} +1 -1
- package/dist/components/{p-2b253f12.js → p-ec3ba8ed.js} +2 -2
- package/dist/components/{p-9b1ffc7a.js → p-f0c5b263.js} +5 -5
- package/dist/components/{p-67fd9c6f.js → p-f426e701.js} +3 -3
- package/dist/components/{p-aab6ab36.js → p-ff632c82.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 +21 -21
- 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 +8 -8
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +4 -4
- 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 +17 -17
- package/dist/components/tet-b2b-service-calculator.js +6 -6
- package/dist/components/tet-banner-nav.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-compare-card.js +2 -2
- package/dist/components/tet-business-lines.js +2 -2
- 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 +9 -9
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +6 -6
- package/dist/components/tet-cloud-configurator.js +7 -7
- package/dist/components/tet-colors.js +4 -4
- package/dist/components/tet-compare-card-v2.js +5 -5
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +13 -13
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +5 -5
- package/dist/components/tet-customer-assets.js +2 -2
- 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 +9 -9
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +2 -2
- package/dist/components/tet-expandable-input.js +2 -2
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-filter.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.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +6 -6
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +3 -3
- package/dist/components/tet-navigation-mobile.js +4 -4
- 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-range-slider.js +1 -1
- package/dist/components/tet-referral.js +4 -4
- package/dist/components/tet-round-stepper.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-v2.js +1 -1
- package/dist/components/tet-stepper-v3.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 +2 -2
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-textarea.js +2 -2
- package/dist/components/tet-thank-you-view-v2.js +3 -3
- package/dist/components/tet-thank-you-view-v3.js +3 -3
- package/dist/components/tet-thank-you-view.js +2 -2
- 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 +3 -3
- package/dist/esm/tet-accordion_2.entry.js +6 -6
- package/dist/esm/tet-address-offers-view.entry.js +1 -1
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +32 -4
- package/dist/esm/tet-b2b-configurator.entry.js +1 -1
- package/dist/esm/tet-b2b-service-calculator.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-lines.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +7 -7
- package/dist/esm/tet-colors.entry.js +4 -4
- package/dist/esm/tet-compare-cards_2.entry.js +2 -2
- package/dist/esm/tet-contact-form.entry.js +1 -1
- package/dist/esm/tet-datepicker-header_4.entry.js +5 -5
- package/dist/esm/tet-datepicker.entry.js +4 -4
- package/dist/esm/tet-dropdown_2.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.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 +1 -1
- package/dist/esm/tet-label.entry.js +2 -2
- package/dist/esm/tet-layout.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-navigation-mobile.entry.js +3 -3
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +7 -7
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +3 -3
- package/dist/esm/tet-stepper-input.entry.js +1 -1
- package/dist/esm/tet-tab-header.entry.js +2 -2
- package/dist/esm/tet-tag_2.entry.js +2 -2
- package/dist/esm/tet-textarea.entry.js +2 -2
- package/dist/esm/tet-tv-gift-block.entry.js +1 -1
- package/dist/esm/tet-tv-gift-list.entry.js +2 -2
- package/dist/tet-components/{p-84f99a6d.entry.js → p-009033c6.entry.js} +1 -1
- package/dist/tet-components/{p-c5f3cf38.entry.js → p-1de2f088.entry.js} +1 -1
- package/dist/tet-components/{p-8d29d1e0.entry.js → p-33789894.entry.js} +1 -1
- package/dist/tet-components/{p-38caba5e.entry.js → p-3a70224f.entry.js} +1 -1
- package/dist/tet-components/{p-811222db.entry.js → p-3bc3faa9.entry.js} +1 -1
- package/dist/tet-components/{p-87d3b2f5.entry.js → p-3bc6d640.entry.js} +1 -1
- package/dist/tet-components/{p-5dfaeee4.entry.js → p-3beccfff.entry.js} +1 -1
- package/dist/tet-components/{p-66f54133.entry.js → p-43815545.entry.js} +1 -1
- package/dist/tet-components/{p-af6a1d29.entry.js → p-4387a566.entry.js} +1 -1
- package/dist/tet-components/{p-2fa851a4.entry.js → p-447d9060.entry.js} +1 -1
- package/dist/tet-components/{p-554048e9.entry.js → p-510ca370.entry.js} +1 -1
- package/dist/tet-components/{p-caa1fb4d.entry.js → p-5630b45a.entry.js} +1 -1
- package/dist/tet-components/{p-d95eaef4.entry.js → p-59242535.entry.js} +1 -1
- package/dist/tet-components/{p-26ead5ae.entry.js → p-59e54ef9.entry.js} +1 -1
- package/dist/tet-components/{p-1ccb81d6.entry.js → p-5b9929c2.entry.js} +1 -1
- package/dist/tet-components/{p-16863fb3.entry.js → p-601c034b.entry.js} +1 -1
- package/dist/tet-components/{p-7e53423b.entry.js → p-713326bb.entry.js} +1 -1
- package/dist/tet-components/{p-fbb36c62.entry.js → p-7175505b.entry.js} +1 -1
- package/dist/tet-components/{p-d70b7d35.entry.js → p-7519647f.entry.js} +1 -1
- package/dist/tet-components/{p-431bd2ee.entry.js → p-7dbf0d0f.entry.js} +1 -1
- package/dist/tet-components/{p-8fa0bbba.entry.js → p-8326ee0d.entry.js} +1 -1
- package/dist/tet-components/{p-ca156b2f.entry.js → p-8483ca11.entry.js} +1 -1
- package/dist/tet-components/{p-4f45391c.entry.js → p-94ff7eaf.entry.js} +1 -1
- package/dist/tet-components/{p-08916e95.entry.js → p-964f75d3.entry.js} +1 -1
- package/dist/tet-components/{p-1b0ac117.entry.js → p-97801176.entry.js} +1 -1
- package/dist/tet-components/{p-07de58e9.entry.js → p-9d320497.entry.js} +1 -1
- package/dist/tet-components/{p-134a3a27.entry.js → p-bd24cacd.entry.js} +1 -1
- package/dist/tet-components/{p-6ad4b5d9.entry.js → p-ccd7750d.entry.js} +1 -1
- package/dist/tet-components/{p-0a45f03b.entry.js → p-d1375a82.entry.js} +1 -1
- package/dist/tet-components/{p-50361f7c.entry.js → p-d8a5b744.entry.js} +1 -1
- package/dist/tet-components/{p-51ed09f7.entry.js → p-dbbb7caf.entry.js} +1 -1
- package/dist/tet-components/{p-2b5c3ead.entry.js → p-de517d09.entry.js} +1 -1
- package/dist/tet-components/{p-d6566e42.entry.js → p-f974d78b.entry.js} +1 -1
- package/dist/tet-components/{p-6a9bebe8.entry.js → p-fc15f4ef.entry.js} +1 -1
- package/dist/tet-components/p-fefaa4ec.entry.js +1 -0
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.d.ts +10 -0
- package/package.json +1 -1
- package/dist/tet-components/p-26af11a8.entry.js +0 -1
package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js
CHANGED
|
@@ -105,15 +105,43 @@ export class TetAvailabilityContactForm {
|
|
|
105
105
|
const value = item.querySelector('input').value;
|
|
106
106
|
emitValue = Object.assign(Object.assign({}, emitValue), { [item.id]: value });
|
|
107
107
|
});
|
|
108
|
-
this.submitCheckOutForm.emit(emitValue);
|
|
108
|
+
this.submitCheckOutForm.emit(Object.assign(Object.assign({}, emitValue), this.extraFieldsSubmissionData));
|
|
109
|
+
}
|
|
110
|
+
/** Returns the slotted `extra-fields` input elements with a provided id attribute. */
|
|
111
|
+
get extraFieldsElements() {
|
|
112
|
+
return this.extraFieldsSlotElement
|
|
113
|
+
.assignedElements()
|
|
114
|
+
.flatMap((parentElement) => Array.from(parentElement.querySelectorAll('input[id], tet-input[id]'))
|
|
115
|
+
.filter((element) => element instanceof HTMLInputElement || 'value' in element));
|
|
116
|
+
}
|
|
117
|
+
/** Returns the submission data of all extra fields elements with a provided id attribute. */
|
|
118
|
+
get extraFieldsSubmissionData() {
|
|
119
|
+
return this.extraFieldsElements.reduce((object, element) => {
|
|
120
|
+
object[element.id] = this.getExtraFieldValue(element);
|
|
121
|
+
return object;
|
|
122
|
+
}, {});
|
|
123
|
+
}
|
|
124
|
+
/** Returns the value of a provided extra field element based on it's HTML tag name. */
|
|
125
|
+
getExtraFieldValue(element) {
|
|
126
|
+
switch (element.tagName.toLowerCase()) {
|
|
127
|
+
case 'input': {
|
|
128
|
+
return element.value;
|
|
129
|
+
}
|
|
130
|
+
case 'tet-input': {
|
|
131
|
+
return element.querySelector('input').value;
|
|
132
|
+
}
|
|
133
|
+
default: {
|
|
134
|
+
return '';
|
|
135
|
+
}
|
|
136
|
+
}
|
|
109
137
|
}
|
|
110
138
|
render() {
|
|
111
139
|
const { theme } = this;
|
|
112
|
-
return (h("tet-dialog", { key: '
|
|
140
|
+
return (h("tet-dialog", { key: '0c8a8b0abc3dcdb486ec391884aa9aa581f5a407', class: "modal-form-card", headerTitle: t('components-b2b-check-out-form-header'), theme: theme, closeOnOverlayClick: false, footerDisplay: "right", ref: (el) => {
|
|
113
141
|
this.dialogElement = el;
|
|
114
|
-
} }, h("div", { key: '
|
|
142
|
+
} }, h("div", { key: 'b8927b04f0600d96f487274181916fe81da5f8e0', class: { 'modal-form-card-content': true, [`${theme}`]: true } }, h("div", { key: '24f525eff4beefa20fe8a2ef21991a8706dfbad7', class: "modal-form-card-content-header" }, h("div", { key: 'c322431303bdb06c89404669473c0d0bb8f1c392', class: "icon-wrapper" }, h("tet-icon", { key: 'cfcc78c549359fbd6f98743348b648a6d5e1c892', class: "icon", name: "tc-company-1" })), h("span", { key: '551e0313c7483f8bbcb6008f419278f6e001e9b1', class: "modal-form-card-content-header__title" }, t('components-b2b-check-out-form-title')), h("span", { key: 'bd8f04729297cb8bc6442d20ac8e8dda29c86684', class: "modal-form-card-content-header__description" }, t('components-b2b-check-out-form-description'))), h("div", { key: 'f1bfc4744d32c53d8054fcaadbe4e9e1ac31d491', class: "modal-form-card-content-accordion-wrapper" }, h("slot", { key: '1b74b74177882e3d8ec58130609157188df7ee5a', name: 'cart' })), h("form", { key: 'fb340ee9e178d73775f1547357d2592caa7482cd', id: "checkOutForm", class: "modal-form-card-form", ref: (ref) => (this.checkOutForm = ref) }, h("div", { key: '7e6eb3cfe5eb6e5ffa5047babafc2fc6a9cc6dbc', class: "modal-form-card-input__row" }, this.renderInput('companyRegNr', t('components-b2b-check-out-form-company-registration-number-input-label'), '40000000001'), this.renderInput('companyName', t('components-b2b-check-out-form-company-name-input-label'))), this.renderInput('address', t('components-b2b-check-out-form-address-input-label'), t('components-b2b-check-out-form-address-input-placeholder')), this.renderInput('nameSurname', t('components-b2b-check-out-form-name-input-label')), h("div", { key: 'fd34bf38ea28dbeaec24d2f1896612b87c8fbbe6', class: "modal-form-card-input__row" }, this.renderInput('email', t('components-b2b-check-out-form-email-input-label'), 'contact@company.com'), this.renderInput('phoneNr', t('components-b2b-check-out-form-phone-number-input-label'), '123456789', true)), h("tet-checkbox", { key: '6e2290e56be09fbb77d726b88af427ab42d4a077', class: "modal-form-card-content-checkbox", label: t('components-check-out-form-privacy-policy'), theme: theme }), h("slot", { key: '8db82d172bdf53630bb62a9d5b2b83b371543f8e', name: "extra-fields", ref: (element) => (this.extraFieldsSlotElement = element) }))), h("div", { key: 'e58a5b758f5710cded86e8054a396485d558058e', slot: "footer", class: "modal-form-card-footer" }, h("tet-button", { key: '00899942aee0822148bf57adb85790a09f50dd1b', type: "secondary", size: "medium", theme: theme, onClick: () => {
|
|
115
143
|
this.dialogElement.close();
|
|
116
|
-
} }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: '
|
|
144
|
+
} }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: 'b651ec7b24762dc6a406a5701de568a5ad35bcd1', type: "primary", size: "medium", theme: theme, onClick: () => this.handleSubmit() }, t('components-b2b-check-out-form-submit-button-label')))));
|
|
117
145
|
}
|
|
118
146
|
static get is() { return "tet-b2b-check-out-form"; }
|
|
119
147
|
static get encapsulation() { return "shadow"; }
|
|
@@ -64,7 +64,7 @@ export class TetContactForm {
|
|
|
64
64
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h("div", { key: '
|
|
67
|
+
return (h("div", { key: 'aa73925751c61121515c6024bbcfc67af99a8d08', class: { 'dark-theme': this.darkTheme } }, h("tet-container", { key: '117b6ca9f520597c1792b61a98093bcad5c3d16f', class: "container" }, this.showLoader && this.renderLoader(), h("div", { key: 'ce0c7c329eb46a59c56065563b33d25c9c9c74a6', class: "form-container" }, this.showTitle && h("h2", { key: '1b85342b0de325c12037d5f8c7925cb7d1fcad0a', class: "form-title" }, t('components-contact-form-title')), h("p", { key: '801bf51e1f0e4430de903660e3a88449d3c50575', class: "form-subtitle" }, t(this.subtitle)), h("tet-input", { key: '8254bc713f64a9ec290982fc9ec5578551b6c9a1', class: "form-input", placeholder: "+37122345678", ref: (element) => this.phoneInput = element, validators: this.validators, label: this.showInputLabel ? t('components-contact-form-input-label') : null, theme: this.darkTheme ? 'dark' : 'classic' }), h("tet-button", Object.assign({ key: '8657be6c0585a964a7b2ea9b23d081f07246e38a', class: "form-submit", type: "primary", clickCallback: this.createManualTask, innerHTML: t('components-contact-form-submit') }, this.submitButtonProps))))));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "tet-contact-form"; }
|
|
70
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class TetTvGiftBlock {
|
|
|
32
32
|
this.setContainerSize();
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h(Host, { key: '
|
|
35
|
+
return (h(Host, { key: 'ac8bcd4d4eb55765dd10fa13d9ffff39e81e33d1' }, h("div", { key: 'ec07fae328dd2eddf389c3893e31e4dbf1562595', class: { 'tv-gift': true, [`tv-gift--${this.containerSize}`]: true } }, h("div", { key: '817339745ecb4fbffa8e46ef8ed153917e388c24', class: "tv-gift__header" }, h("slot", { key: '5b6749f6937949fdb6a5574ac11bc2473198dc9f', name: "header" }, this.headerImageSrc && h("img", { key: 'fbeabbdba2044f34fb3fa7b4f8e0edb79c527f2e', class: "tv-gift__header__image", src: this.headerImageSrc }), h("div", { key: '1543107590bbf1f6e5194f6a5fee6e7088ce1ea1', class: "tv-gift__header-text" }, this.headerTitle))), h("div", { key: '3f2cd3ef8f9129ad359fff04be3227cc428df0ce', class: "tv-gift__content" }, h("slot", { key: '2f9a54fec1ed884aeb2eaa75f70120fe11bd11d3' })), h("div", { key: '122782accbb4e3f1a8d99e8c928734edc2872362', class: "tv-gift__footer" }, h("slot", { key: '7966b2ff325ce60bd769e730c3556a12d7ee82c3', name: "footer" }, h("span", { key: '888cea05ac463736ac00cec67d80ad33b63cc625', class: "tv-gift__footer__title" }, this.footerTitle), h("span", { key: '2d563779e213d9de1b01db5b936bb7d434f288a6', class: "tv-gift__footer__text" }, this.footerText))))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "tet-tv-gift-block"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/promotions/tv-gift/tet-tv-gift-list/tet-tv-gift-list.js
CHANGED
|
@@ -34,11 +34,11 @@ export class TetTvGiftList {
|
|
|
34
34
|
this.setContainerSize();
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '3afe457fefc5505386877474b348e1a0d7810590' }, h("div", { key: 'e4d07cf23a27002abd8d3afa29f4fa5cb3605898', class: {
|
|
38
38
|
'tv-gift-list': true,
|
|
39
39
|
[`tv-gift-list--${this.containerSize}`]: true,
|
|
40
40
|
'tv-gift-list--image-list': Boolean(this.imageSource),
|
|
41
|
-
} }, this.imageSource && (h("div", { key: '
|
|
41
|
+
} }, this.imageSource && (h("div", { key: '5d613a501ca2a377e3e9935ea7a021a8cf16d63d', class: "tv-gift-list__image__wrapper" }, h("img", { key: '0c4340f3fef355a839824e1e8f9694452d379f73', class: "tv-gift-list__image", src: this.imageSource }))), h("div", { key: '1f800f68d384723302463f60e2fa60c90ca2838f', class: "tv-gift-list__list__wrapper" }, h("span", { key: '8985c4ea56fb3834adaa260434b9781f320a99f1', class: "tv-gift-list__list__header" }, this.header), h("ul", { key: '20097d16f1c21f6cc4f738b94471a68f3b11471f', class: "tv-gift-list__list" }, this.list.map(item => (h("li", { class: "tv-gift-list__list__item" }, h("tet-icon", { name: this.listBulletIcon }), item))))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "tet-tv-gift-list"; }
|
|
44
44
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js
CHANGED
|
@@ -157,11 +157,11 @@ export class TetTabContent {
|
|
|
157
157
|
this.selectedId = id;
|
|
158
158
|
}
|
|
159
159
|
render() {
|
|
160
|
-
return (h(Host, { key: '
|
|
160
|
+
return (h(Host, { key: 'ed62db4ffe30b80044cf53e77fcab7d97e842ea8' }, h("div", { key: '9085065bf7eaf59031ffb592581a4e8ad1df186c', class: {
|
|
161
161
|
'tet-tab-content': true,
|
|
162
162
|
'use-visibility': this.useVisibility,
|
|
163
163
|
[this.theme]: true
|
|
164
|
-
} }, h("slot", { key: '
|
|
164
|
+
} }, h("slot", { key: 'c9570e911111cc9be74e9ef99622df2d70667c89' }))));
|
|
165
165
|
}
|
|
166
166
|
static get is() { return "tet-tab-content"; }
|
|
167
167
|
static get encapsulation() { return "shadow"; }
|
|
@@ -468,7 +468,7 @@ export class TetTabHeader {
|
|
|
468
468
|
return {};
|
|
469
469
|
}
|
|
470
470
|
render() {
|
|
471
|
-
return (h(Host, { key: '
|
|
471
|
+
return (h(Host, { key: 'd5ec141aa62d1ca98e31dcc34fe954bda12cdba5', "data-id-suffix": this.idSuffix }, h("div", { key: 'f02d170c1d2ece9c78f2b05826c9a5124a56a120', class: {
|
|
472
472
|
'tabs': true,
|
|
473
473
|
'tabs--segmented': this.segmented,
|
|
474
474
|
'dark': this.darkMode,
|
|
@@ -476,7 +476,7 @@ export class TetTabHeader {
|
|
|
476
476
|
[this.theme]: true,
|
|
477
477
|
[this.sizing]: true,
|
|
478
478
|
[this.type]: !!this.type
|
|
479
|
-
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: '
|
|
479
|
+
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: "tablist" }, h("slot", { key: 'cf2991dfdbe50b704b0d6a4c3e417d59e391436d', ref: (slot) => (this.tabContainer = slot) })), h("div", { key: 'ad582424eb6c51c29ac979a81ed1a80c7912820a', class: { 'tabs-line': !this.segmented, 'no-underline': this.hideHeaderUnderline } })));
|
|
480
480
|
}
|
|
481
481
|
static get is() { return "tet-tab-header"; }
|
|
482
482
|
static get encapsulation() { return "shadow"; }
|
|
@@ -20,12 +20,12 @@ export class TetTag {
|
|
|
20
20
|
processTranslations('tet-components', this.language).then(() => forceUpdate(this));
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: 'ab7bbef648448eed0d371f4df1ee32f7c41ef5bf' }, h("button", { key: 'b137d0c7100a92f67b1123f5faa71dbccbf0ed63', class: {
|
|
24
24
|
tag: true,
|
|
25
25
|
'tag-active': this.active,
|
|
26
26
|
'tag--icon': this.showIcon,
|
|
27
27
|
[`theme-${this.theme}`]: true,
|
|
28
|
-
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '
|
|
28
|
+
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '36df61f82fbf4d0ef42718acae6b57ea6ce30f13', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'a33bd28cc9b6eb4a6424266d22b9b1916f498d3b', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: '47673d9c9dff84aca27d0d26ecfc434ee4fe296b', class: "tag-icon", name: "close-circle", part: "icon-selected" }))));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "tet-tag"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -431,23 +431,23 @@ export class TetCarousel {
|
|
|
431
431
|
document.removeEventListener('pointerup', this.onPointerUp);
|
|
432
432
|
}
|
|
433
433
|
render() {
|
|
434
|
-
return (h(Host, { key: '
|
|
434
|
+
return (h(Host, { key: 'cc7785e5ce781064c7fd53cb5f4d624d755d33df' }, h("div", { key: 'bfe9b6b3528a0a08db1dde0a3d9dcedd67ec4980', class: { 'tet-carousel': true, [`${this.theme}`]: true }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '823b75de5ca2a185ead350122234eef6fb002231', class: "tet-carousel__container" }, h("div", { key: 'd7927cf0cd255574c4939f5054cf2f1de7a3c831', class: "tet-carousel__gradient-left", ref: (el) => {
|
|
435
435
|
this.leftGradientRef = el;
|
|
436
|
-
} }), h("div", { key: '
|
|
436
|
+
} }), h("div", { key: '5a604a3084fcb4cac73c74639ef3ca622498754e', class: "tet-carousel__gradient-right", ref: (el) => {
|
|
437
437
|
this.rightGradientRef = el;
|
|
438
|
-
} }), h("div", { key: '
|
|
438
|
+
} }), h("div", { key: '67de66314358e29978696b5ced9b9f3bb52d33c9', class: `tet-carousel__track ${!this._showButtons() && !this._showDots() ? 'tet-carousel__track--center' : ''}`, ref: (el) => (this.trackElement = el), style: {
|
|
439
439
|
transform: `translateX(${this.dragOffset}px)`,
|
|
440
440
|
transition: this.isDragging ? 'none' : `transform ${this.transitionDuration}ms ${this.transitionTiming}`
|
|
441
|
-
}, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '
|
|
441
|
+
}, onPointerDown: this.onPointerDown, onMouseMove: this.onPointerMove, onPointerUp: this.onPointerUp, onMouseLeave: this.onPointerUp }, h("slot", { key: '1449c936f68deaf14b6d5903a55885c0f381c3da' }))), !!this.label && h("div", { key: '96d0b4d134336f39fa7f9d69f1be7c34ebc57376', class: "tet-carousel__label" }, this.label), (this._showButtons() || this._showDots()) && (h("div", { key: 'c3495191eb4e7976a6403a1e33a9c5f81b65690b', class: "tet-carousel__controls" }, this._showButtons() && (h("div", { key: '8e0831510715879ec751d82ed41a460754dbb730', class: "tet-carousel__buttons tet-carousel__buttons--mobile" }, h("tet-button", { key: '372ee4b1aa7f971fb2ce91e18617f145397749d9', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
|
|
442
442
|
if (!this.isDragging)
|
|
443
443
|
this.handlePrev();
|
|
444
|
-
}, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: '
|
|
444
|
+
}, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }))), this._showDots() && (h("div", { key: '7f9185833ad5dc5bede28a19f7b84a66fc8ee480', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
|
|
445
445
|
if (!this.isDragging)
|
|
446
446
|
this.handleDotClick(idx);
|
|
447
|
-
}, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: '
|
|
447
|
+
}, onClick: () => this.handleDotClick(idx) }))))), this._showButtons() && (h("div", { key: 'cbbe188d3e5acef8bea2ec994fe5fe1f97b4faab', class: "tet-carousel__buttons " }, h("tet-button", { key: '91d8366e978bc437047095b2460fa417a44d3dd8', class: "tet-carousel__buttons--desktop tet-carousel__btn ", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconLeft, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
|
|
448
448
|
if (!this.isDragging)
|
|
449
449
|
this.handlePrev();
|
|
450
|
-
}, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '
|
|
450
|
+
}, "aria-label": t('components-carousel-previous'), disabled: this.dotCount <= 1 || this.activeItem === 0 }), h("tet-button", { key: '17d016fe166ad12d1768a3b94213f4fd2b310ffe', class: "tet-carousel__btn", theme: this.theme === 'light' ? 'dark' : 'light', "icon-name": this.buttonIconRight, "icon-mode": true, tabIndex: -1, onPointerDown: (e) => e.stopPropagation(), onPointerUp: () => {
|
|
451
451
|
if (!this.isDragging)
|
|
452
452
|
this.handleNext();
|
|
453
453
|
}, "aria-label": t('components-carousel-next'), disabled: this.dotCount <= 1 ||
|
|
@@ -49,7 +49,7 @@ export class TetIcon {
|
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("span", { key: '
|
|
52
|
+
return (h("span", { key: '3963eb8c5c4fabc9d2c87f9f2063592345975325', class: "icon-wrapper", tabindex: (this.focusable || this.accessibilityLabel) ? 0 : -1 }, h("span", Object.assign({ key: '744c96f0f0cbac249e4d4ffb77981fa6d267e52a', class: {
|
|
53
53
|
'icon-container': true,
|
|
54
54
|
'default-color': this.shouldUseDefaultColor(),
|
|
55
55
|
[this.theme]: true,
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TetLoader {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '09300b685d530e8942f78d9eae8ad9ae5edce4d7', class: "loader" }, h("div", { key: '511652ee404eef66b5a169249959d04be05c8be0', class: "loader-inner" })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tet-loader"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -9,7 +9,7 @@ export class TetPlaceholder {
|
|
|
9
9
|
this.darkTheme = false;
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '4eabc206064cd1ff6f76bd6afc5a84b36587a3fa', style: { width: this.width, height: this.height } }, h("div", { key: '9b0d63300471b673c9a6872c653ee5dc52b1aab9', class: { 'dark-theme': this.darkTheme } }, h("div", { key: 'faa8f1c18dda4dfe7e1d5230816544d96603808c', class: "placeholder", style: { height: this.height } }))));
|
|
13
13
|
}
|
|
14
14
|
static get is() { return "tet-placeholder"; }
|
|
15
15
|
static get encapsulation() { return "shadow"; }
|
|
@@ -47,13 +47,13 @@ export class TetSpinner {
|
|
|
47
47
|
this.setForeignObjectAttributes();
|
|
48
48
|
}
|
|
49
49
|
render() {
|
|
50
|
-
return (h("div", { key: '
|
|
50
|
+
return (h("div", { key: '939bc9a8489618ca09ccd56037ac4bcccffef9f3', ref: element => (this.spinner = element), class: {
|
|
51
51
|
spinner: true,
|
|
52
52
|
[`${this.theme}-theme`]: true,
|
|
53
53
|
[`size--${this.size}`]: true,
|
|
54
54
|
[`spinner--${this.type}`]: true,
|
|
55
|
-
} }, h("svg", { key: '
|
|
56
|
-
0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: '
|
|
55
|
+
} }, h("svg", { key: '55db6e97bfd1b85be83b287e2efac8ff0efe49f6', viewBox: "0 0 40 40" }, h("clipPath", { key: 'ee388a7fcbb01f43058456494f7ccfd2976ed8a7', id: "clip" }, h("path", { key: 'ed2c7dae569da6e3725017431f31bc699da27c3f', d: `M40 20C40 31.0457 31.0457 40 20 40C8.9543 40 0 31.0457 0 20C0 8.9543 8.9543 0 20 0C31.0457
|
|
56
|
+
0 40 8.9543 40 20ZM6 20C6 27.732 12.268 34 20 34C27.732 34 34 27.732 34 20C34 12.268 27.732 6 20 6C12.268 6 6 12.268 6 20Z` })), h("foreignObject", { key: 'c17720fdb456cb616bb019cacc078e8585e150e9' }, h("div", { key: '905c1b463931244539021b13085084d580bd34ee', class: "spinner__gradient" })))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "tet-spinner"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -13,12 +13,12 @@ export class TetLabel {
|
|
|
13
13
|
this.showIcon = false;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(Host, { key: '
|
|
16
|
+
return (h(Host, { key: '189316abb6947c2b80b4a5e122c034428dd585ab' }, h("div", { key: '927a44f2e990687cdce82e616710a44a6e8fdd01', class: {
|
|
17
17
|
label: true,
|
|
18
18
|
'label-active': this.active,
|
|
19
19
|
[`label-type-${this.type}`]: true,
|
|
20
20
|
[`theme-${this.theme}`]: true,
|
|
21
|
-
} }, this.labelTitle && h("p", { key: '
|
|
21
|
+
} }, this.labelTitle && h("p", { key: '52ca2dd70bfb5bfdc87b357a5314bcc841722638', class: "label-title" }, this.translateTitle ? t(this.labelTitle) : this.labelTitle), this.showIcon && h("tet-icon", { key: 'a5e595e998e36527d16d22ef6943c05d1f9bad9c', class: "label-icon", name: "close-circle", part: "icon-selected" }))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "tet-label"; }
|
|
24
24
|
static get encapsulation() { return "shadow"; }
|
|
@@ -51,9 +51,9 @@ export class TetDatepickerHeader {
|
|
|
51
51
|
this.internalDateChanged.emit(newDate);
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: '6b5f27b0570eb16cf7fd96ff5152152d7d8260c1', class: "header" }, this.datepickerView !== 'year'
|
|
55
55
|
? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-left" })))
|
|
56
|
-
: h("div", null), h("div", { key: '
|
|
56
|
+
: h("div", null), h("div", { key: '3cc993fe37d9a3aca9059c8c821a66cfb1a42a74', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: 'defcfa31cfbd9b2202eb70bca6f09445235facf7', class: "chevron-down", name: this.datepickerView === 'month' ? 'chevron-down' : 'chevron-up' })), this.datepickerView !== 'year'
|
|
57
57
|
? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "arrow-right" })))
|
|
58
58
|
: h("div", null)));
|
|
59
59
|
}
|
|
@@ -156,7 +156,7 @@ export class TetDatepickerMonthView {
|
|
|
156
156
|
return date.toDateString() === this.currentDate.toDateString();
|
|
157
157
|
}
|
|
158
158
|
render() {
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '799581ac22a5905c44e0aef6d287a6cff108f62a' }, h("div", { key: 'ca3912658b3aa61bceb790647a8f87263667a768', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'ee0c8cab27294d7ed54f39132597b765c24c2e42', class: "month-dates" }, this.previousMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date.getDate()))), this.monthDates.map(date => h("div", { class: this.getDateContainerClasses(date), onPointerEnter: (event) => this.setInRangeHover(date, event), onPointerLeave: (event) => this.removeInRangeHover(event) }, h("div", { class: this.getDateClasses(date), onClick: () => this.handleDateSelection(date) }, date.getDate()))), this.nextMonthPreviewDates.map((date) => h("div", { class: "date-container" }, h("div", { class: "preview-date" }, date))))));
|
|
160
160
|
}
|
|
161
161
|
static get is() { return "tet-datepicker-month-view"; }
|
|
162
162
|
static get encapsulation() { return "shadow"; }
|
|
@@ -29,7 +29,7 @@ export class TetDatepickerMultiYearView {
|
|
|
29
29
|
this.years = this.getYears(this.internalDate);
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '2b9e6a0532cd99b341adb008806a59ad0e330d71', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "tet-datepicker-multi-year-view"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -34,7 +34,7 @@ export class TetDatepickerYearView {
|
|
|
34
34
|
return this.todayDate.getMonth() === monthIndex;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h("div", { key: '
|
|
37
|
+
return (h("div", { key: '11e53490145bbeae473c6714fcf245c1630f55eb', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "tet-datepicker-year-view"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -94,10 +94,10 @@ export class TetDatepicker {
|
|
|
94
94
|
this.rangeDatesChanged.emit(newDates);
|
|
95
95
|
}
|
|
96
96
|
render() {
|
|
97
|
-
return (h("div", { key: '
|
|
98
|
-
h("tet-datepicker-month-view", { key: '
|
|
99
|
-
h("tet-datepicker-multi-year-view", { key: '
|
|
100
|
-
h("tet-datepicker-year-view", { key: '
|
|
97
|
+
return (h("div", { key: 'b89a2ef91d3b9516d8d80745a5c4105cdc4eb096', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: '07ceb2a2b3ce12ddad14d6a4294218df4c2f95d8', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '033f7baba4ffa0c0576637475f167182257565bc', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
98
|
+
h("tet-datepicker-month-view", { key: 'f29f0e235502958e18b152c63e712fe278e2614a', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
99
|
+
h("tet-datepicker-multi-year-view", { key: '171e871160cea96e173fbba2b99a9b51744200bb', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
100
|
+
h("tet-datepicker-year-view", { key: '31367535b8b5c58aede8c3dd72d2efddc0bb1b52', selectedDate: this.date, internalDate: this.internalDate }))));
|
|
101
101
|
}
|
|
102
102
|
static get is() { return "tet-datepicker"; }
|
|
103
103
|
static get encapsulation() { return "shadow"; }
|
|
@@ -747,31 +747,31 @@ export class TetRangeSlider {
|
|
|
747
747
|
this.updateProgress();
|
|
748
748
|
}
|
|
749
749
|
render() {
|
|
750
|
-
return (h(Host, { key: '
|
|
750
|
+
return (h(Host, { key: '2fd9918402c7fd6646765b003f58207f94e55bd6' }, h("div", { key: '146876c58f3e7ca4590360905e3d48adba41c2da', class: {
|
|
751
751
|
'range-slider': true,
|
|
752
752
|
[`range-slider--${this.containerSize}`]: true,
|
|
753
753
|
[`range-slider--${this.type}`]: true,
|
|
754
754
|
'range-slider--no-controls': !this.withControls,
|
|
755
755
|
'range-slider--no-input': !this.withInput,
|
|
756
756
|
[this.theme]: true,
|
|
757
|
-
} }, h("div", { key: '
|
|
757
|
+
} }, h("div", { key: 'b615781e3e754e7ce56c268c820a34104a8dd62b', class: {
|
|
758
758
|
'range-slider__input-container': true,
|
|
759
759
|
'hidden': !this.withInput,
|
|
760
|
-
} }, h("tet-input", Object.assign({ key: '
|
|
760
|
+
} }, h("tet-input", Object.assign({ key: 'e1c502b4e84bcae1bf5fb7bc0f1446d9edc5c829', "input-class": "range-slider__input", "input-type": "number", "input-value": this.currentValue, ref: inputEl => (this.inputRef = inputEl), theme: this.theme, onInput: this.onInputChange, onKeyDown: (event) => this.onInputKeyDown(event, true), accessibilityLabel: this.numberInputAccessibilityLabel }, (this.containerSize !== 'large' ? { inputTabindex: 3 } : {})))), h("div", { key: 'dc49209286326c4f7e89f4fe89469d7a02969c2b', class: "range-slider__container" }, h("tet-button", Object.assign({ key: '4b58b564ea06c0495408beb10f92e54973b192f6', theme: this.theme, iconMode: true, class: {
|
|
761
761
|
'range-slider__control': true,
|
|
762
762
|
'range-slider__control--left': true,
|
|
763
763
|
'hidden': !this.withControls,
|
|
764
|
-
}, clickCallback: this.onControlPreviousClick }, (this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 2 } : {})), h("tet-icon", { key: '
|
|
764
|
+
}, clickCallback: this.onControlPreviousClick }, (this.reduceButtonAccessibilityLabel ? { accessibilityLabel: this.reduceButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 2 } : {})), h("tet-icon", { key: '7cce8a328d48bd1afc5223f16985f27c6d03f6fe', name: "remove", class: "range-slider__control--icon" })), h("div", { key: '302ce14f3bff9a4affdd70628e4064bc0ba4c76f', onTouchStart: this.onContainerTouchStart, onTouchEnd: this.onContainerTouchEnd, onMouseDown: this.onContainerMouseDown, onScroll: this.onContainerScroll, ref: sliderContainerEl => (this.sliderContainerRef = sliderContainerEl), class: "range-slider__slider-container", draggable: false }, h("div", { key: 'eff01ff14ae1d4f6cad12ff87f182d90e7c98986', class: "range-slider__slider-wrapper" }, h("input", Object.assign({ key: '84b518a1a5d0af0b71cab56eaf70da99ba9037f5', ref: sliderEl => (this.sliderRef = sliderEl), type: "range", min: this.minValue, max: this.maxValue, step: this.step, value: this.defaultValue, list: "steplist", id: "rangeInput", onInput: this.onSliderInput, onChange: this.onSliderChange, onPointerDown: this.onSliderPointerDown, onPointerUp: this.onSliderPointerUp, onKeyDown: this.onInputKeyDown, class: "range-slider__slider" }, (this.sliderInputAccessibilityLabel ? { "aria-label": this.sliderInputAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 1 } : {})))), h("div", { key: 'a6227baafbd8a95a038b349bfdbf0c82ff16d32e', class: "range-slider__track range-slider__track--background" }), h("div", { key: '67ee06268d066ac19a3168c1c390da759829ecbe', ref: progressTrackEl => (this.progressTrackRef = progressTrackEl), class: "range-slider__track range-slider__track--progress" }), h("div", { key: 'c6ef47bebfe1fa2d324ddca291796d7d9dddf757', ref: tickContainerEl => (this.tickContainerRef = tickContainerEl), class: "range-slider__tick-container" }), h("div", { key: '5c9b34e1b9f14c8229038244f3af9f8c429c4a0b', ref: dataLabelEl => (this.dataLabelRef = dataLabelEl), class: {
|
|
765
765
|
'range-slider__data-label-container': true,
|
|
766
766
|
'hidden': this.type === 'secondary' && this.containerSize === 'small',
|
|
767
|
-
} })), h("div", { key: '
|
|
767
|
+
} })), h("div", { key: '822ebaa3ba6dbfdb8e1dc5b389500bf153a24838', class: {
|
|
768
768
|
'range-slider__current-step-container': true,
|
|
769
769
|
'hidden': !this.withCurrentStepCounter,
|
|
770
|
-
} }, h("div", { key: '
|
|
770
|
+
} }, h("div", { key: 'b2df015bf74c75402e7ff2214421f640222fbe79', class: "range-slider__current-step", "aria-live": "polite" }, this.dataSet.indexOf(this.getClosestOverrideDataPoint()) + 1, "/", this.dataPoints.length)), h("div", { key: 'c5e29b80359672b9ae5947fd7d0423b9babe28e0', ref: toolbarHandleEl => (this.tooltipHandleRef = toolbarHandleEl), class: "range-slider__tooltip-handle" }, h("div", { key: 'be6b64554b6c49e80bb3d36ff24ed2800c580a5f', class: "range-slider__tooltip translation-none", style: { [`--tooltip-offset`]: `${this.tooltipOffset}rem` }, "aria-live": "polite" }, this.getTooltipValue())), h("tet-button", Object.assign({ key: '4afb1fcdfabe0a51c131d206795a514c03619548', theme: this.theme, iconMode: true, class: {
|
|
771
771
|
'range-slider__control': true,
|
|
772
772
|
'range-slider__control--right': true,
|
|
773
773
|
'hidden': !this.withControls,
|
|
774
|
-
}, clickCallback: this.onControlNextClick }, (this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 4 } : {})), h("tet-icon", { key: '
|
|
774
|
+
}, clickCallback: this.onControlNextClick }, (this.addButtonAccessibilityLabel ? { accessibilityLabel: this.addButtonAccessibilityLabel } : {}), (this.containerSize !== 'large' ? { tabindex: 4 } : {})), h("tet-icon", { key: '71a65900ae93e08dbf724090f66b0e1d383124d7', name: "add", class: "range-slider__control--icon" }))))));
|
|
775
775
|
}
|
|
776
776
|
static get is() { return "tet-range-slider"; }
|
|
777
777
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,7 +123,7 @@ export class TetStepperInput {
|
|
|
123
123
|
*/
|
|
124
124
|
render() {
|
|
125
125
|
const { onMinusClick, value, onPlusClick } = this;
|
|
126
|
-
return (h("div", { key: '
|
|
126
|
+
return (h("div", { key: 'e96aa70ddd07c636ce7ee350b0d308318acca733', class: { 'stepper-input': true, [this.theme]: !!this.theme } }, h("tet-button", { key: 'b7cd698c41b5089f8199dac74f80e67866bc0b57', type: "secondary", iconMode: true, theme: this.theme, size: 'small', accessibilityLabel: t('components-number-input-decrease'), onKeyDown: this.handleOptionKeydown(onMinusClick), onClick: onMinusClick }, h("tet-icon", { key: '915b5d63e35b7584cf9773d6dfee2ace4db1164e', name: "remove" })), h("input", Object.assign({ key: 'f94749e198ffae317e35acb08de385b73436f28d', ref: (htmlInputElement) => (this.inputElement = htmlInputElement), class: "stepper-input__value", value: value, type: "number" }, (this.accessibilityLabel ? { "aria-label": this.accessibilityLabel } : {}))), h("tet-button", { key: 'c8b8a88436a61708bfea2fe522b8d180a9327448', type: "secondary", iconMode: true, theme: this.theme, size: 'small', accessibilityLabel: t('components-number-input-increase'), onKeyDown: this.handleOptionKeydown(onPlusClick), onClick: onPlusClick }, h("tet-icon", { key: '2254b7c8ccc1658317d2d0d5adbca9dd3e1b4c85', name: "add" }))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "tet-stepper-input"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,8 +50,8 @@ export class TetTextarea {
|
|
|
50
50
|
'error': (errorMessages.length > 0),
|
|
51
51
|
'keyboard-focus': this.focusVisible,
|
|
52
52
|
};
|
|
53
|
-
return (h(Host, { key: '
|
|
54
|
-
h("span", { key: '
|
|
53
|
+
return (h(Host, { key: 'a87402023963e5e972e19ce6e25a1f6b00c80721' }, h("label", { key: 'ee87158030fbb41a663ff24cee0d7694c01d8b65', class: { [`${theme}`]: true } }, label &&
|
|
54
|
+
h("span", { key: '54abeed36abd6e61f8531e9fdbcbbe5902733b0f', class: { 'tet-textarea__label': true, [`tet-textarea__${theme}`]: true } }, label), h("div", { key: '2d59267b0aa9e15e8b1bab9c3f7ed5d6b9b981dd', class: { 'textarea-container': true, [`tet-textarea__${theme}`]: true } }, h("textarea", { key: '7a6a2f8feeff9abb6a187f2fe0f393b8ef441513', onFocus: this.addKeyboardFocus, onFocusout: this.removeKeyboardFocus, id: "textarea", class: textareaClasses, placeholder: placeholder, disabled: disabled, autocomplete: "off" }, value))), (this.errorMessages.length > 0) && renderErrorMessages()));
|
|
55
55
|
}
|
|
56
56
|
static get is() { return "tet-textarea"; }
|
|
57
57
|
static get encapsulation() { return "shadow"; }
|
|
@@ -65,7 +65,7 @@ export class TetNewsCardList {
|
|
|
65
65
|
scrollFullWidth,
|
|
66
66
|
controlScrollAmount,
|
|
67
67
|
};
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: 'f9177ab3ca9aa92548820179ca3731669285102f' }, h("tet-card-list", Object.assign({ key: '94f9a204f48a6c33eaa039c8fd8a699cbb36b1d1', theme: this.theme, part: "card-list-component", exportparts: "card-list, card-list-container", withOverflowOpacity: true }, props), this.items.map((item, index) => this.renderListCard(item, index)))));
|
|
69
69
|
}
|
|
70
70
|
static get is() { return "tet-news-card-list"; }
|
|
71
71
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js
CHANGED
|
@@ -54,13 +54,13 @@ export class TetNavigationMobile {
|
|
|
54
54
|
this.mainDropdownToggle.emit(isTogglerExpanded);
|
|
55
55
|
}
|
|
56
56
|
render() {
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: 'e6c968b7ca4f7958739d66a53c11b0644eeabdf2' }, h("navigation", { key: '24490a07460c08cb599a2abd378281512af29b84', class: {
|
|
58
58
|
'navigation': true,
|
|
59
59
|
'navigation--dark': this.darkMode
|
|
60
|
-
} }, h("div", { key: '
|
|
60
|
+
} }, h("div", { key: 'c04f1582f0c0e72e5d5b1b82defbdf7ffe7d7db7', class: "navigation__nav-bar" }, h("slot", { key: '1250cc97415a50379c08cbe67442d0347a50865a' })), this.isTogglerVisible && (h("span", { key: 'e76f066965f62de22fa0e2c4cc75ecf710238c3a', class: "navigation__toggler", onClick: this.onTogglerClick, onKeyDown: (e) => this.handleKeyDown(e), tabIndex: 0 }, h("tet-icon", { key: '4d0d26bbbfa8b1aed3cbfe4daeb8714266a97b30', theme: this.darkMode ? "dark" : "light", name: this.isTogglerExpanded ? "close" : "burger" }))), h("div", { key: 'a1d5060ff612dfdab70e0c1b406382d1f7932c94', class: {
|
|
61
61
|
'navigation__dropdown': true,
|
|
62
62
|
'navigation__dropdown--expanded': this.isTogglerExpanded,
|
|
63
|
-
}, inert: !this.isTogglerExpanded }, h("slot", { key: '
|
|
63
|
+
}, inert: !this.isTogglerExpanded }, h("slot", { key: '0159d73960c28c7c77fee11c17f4bd3c0d659f2f', name: "dropdown" })))));
|
|
64
64
|
}
|
|
65
65
|
static get is() { return "tet-navigation-mobile"; }
|
|
66
66
|
static get encapsulation() { return "shadow"; }
|
|
@@ -109,21 +109,21 @@ export class TetAccordion {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
render() {
|
|
112
|
-
return (h(Host, { key: '
|
|
112
|
+
return (h(Host, { key: 'cf9081d01cb3aa3dd0c713aeb098873d748bd477' }, h("div", { key: '54f7ce82ec1b6c6f171ae3dab74cfff44cb41256', class: {
|
|
113
113
|
'tet-accordion': true,
|
|
114
114
|
'tet-accordion--border': this.withBorder,
|
|
115
115
|
[`${this.theme}-theme`]: true,
|
|
116
116
|
[`tet-accordion--breakpoint-${this.breakpoint}`]: true,
|
|
117
117
|
'transparent-bg': this.transparentBackground,
|
|
118
|
-
} }, h("div", { key: '
|
|
118
|
+
} }, h("div", { key: 'ec48bcb9bf9104104ea94e809fdf11ad327f6839', class: { "tet-accordion__header": true, [this.theme]: true }, onClick: this.toggleOpenState, onKeyDown: this.toggleAccessibilityOpenState, tabIndex: 0 }, h("slot", { key: 'c925326230cfca6dda33f8de35edd242ec1d75b4', name: "header" }, this.headerImageSrc && this.headerImageSrc !== '' && (h("img", { key: 'dcaa36fb20dcdb2b9a5bf504142eb715281a1c3e', src: this.headerImageSrc, alt: this.headerImageAlt ? this.headerImageAlt : undefined, class: "tet-accordion__header-image" })), this.renderHeading(), h("tet-icon", { key: '3de81beabd68962a81b6d14b43836522ed42adf5', name: `chevron-${this.indicatorDirection}`, class: {
|
|
119
119
|
'tet-accordion__icon': true,
|
|
120
120
|
'open': this.isOpen
|
|
121
|
-
} }))), h("div", { key: '
|
|
121
|
+
} }))), h("div", { key: 'c36d811dce6e7f75943cf6ebc3efc9c5e59992ba', ref: (element) => (this.contentWrapperElement = element), class: {
|
|
122
122
|
'tet-accordion__content-wrapper': true,
|
|
123
123
|
'visible': this.isOpen
|
|
124
|
-
}, inert: !this.isOpen }, h("div", { key: '
|
|
124
|
+
}, inert: !this.isOpen }, h("div", { key: 'b0eb8bde4f2dcc4485e4ac7438e4e10c0665223f', ref: (element) => (this.contentElement = element), class: {
|
|
125
125
|
'tet-accordion__content': true
|
|
126
|
-
} }, h("slot", { key: '
|
|
126
|
+
} }, h("slot", { key: '30549eb3dd9bcdd2bf1fc604a582d71d1ebfafad' }))))));
|
|
127
127
|
}
|
|
128
128
|
static get is() { return "tet-accordion"; }
|
|
129
129
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js
CHANGED
|
@@ -63,7 +63,7 @@ export class TetExpansionPanel {
|
|
|
63
63
|
return this.state;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h("div", { key: '
|
|
66
|
+
return (h("div", { key: 'bd845f20dc3891dea5b3a05a545a7c3a723c79f0', class: { 'tet-expansion-panel': true, 'open': this.state === 'open' } }, h("div", { key: '32989a1dd3c8d2a7ab4bf0391623e48858150a68', class: "tet-expansion-panel-content" }, h("slot", { key: 'ee2496a37cc35893d1bbcd8b7aa047ef6368858b' }))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "tet-expansion-panel"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -116,7 +116,7 @@ export class TetNotification {
|
|
|
116
116
|
}
|
|
117
117
|
render() {
|
|
118
118
|
const { headerTitle, content } = this;
|
|
119
|
-
return (h(Host, { key: '
|
|
119
|
+
return (h(Host, { key: '3ad67a5d65a80d5ab0e062a14ddeae4c34063c41' }, h("div", { key: '69c7fed9473334a39f65acd7592cf2180110e265', class: { notification: true, [this.theme]: true } }, h("div", { key: '0e1ae217e9b47282f3af1e4cb2eae524d10c6e72', class: { item: true, [this.type]: true } }, h("div", { key: 'd5af5b9363034c25224bbe1f5529aad8a410ee1e', class: "header" }, this.renderTypeIcon(), h("div", { key: 'ca1c5f69b0fe81a785d650304e4d42ac00f9f3b0', class: "title" }, headerTitle), this.renderCloseButton()), h("div", { key: '7fc0bf1cc2b623c4255ef2745595aa6f83210779', class: "content" }, h("span", { key: 'f914bad800ff00fc58e7cd90a91aa3b2aa753f0e', innerHTML: content }), h("div", { key: 'a713f6e9b18b179a576a822bffca7930d021476a' }, h("slot", { key: '5873086c00b01ea63803576827b7aab2c5a9e979', name: "button" })))))));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "tet-notification"; }
|
|
122
122
|
static get encapsulation() { return "shadow"; }
|
|
@@ -351,7 +351,7 @@ export class TetTooltip {
|
|
|
351
351
|
return isTooltipOutOfBounds;
|
|
352
352
|
}
|
|
353
353
|
render() {
|
|
354
|
-
return h(Host, { key: '
|
|
354
|
+
return h(Host, { key: '0c83c0260ccb60dbacae07d2938a961d2d5b843f', class: { visible: this.showTooltip } }, this.renderTooltip());
|
|
355
355
|
}
|
|
356
356
|
static get is() { return "tet-tooltip"; }
|
|
357
357
|
static get encapsulation() { return "shadow"; }
|
|
@@ -129,7 +129,7 @@ export class TetAddressOffersView {
|
|
|
129
129
|
return h(Fragment, null);
|
|
130
130
|
}
|
|
131
131
|
render() {
|
|
132
|
-
return (h(Host, { key: '
|
|
132
|
+
return (h(Host, { key: '027d4397d35bb9d3953ff6fa0b4fb2150950e9f4' }, this.renderContactForm(), this.renderHeader(), this.address && this.renderBody()));
|
|
133
133
|
}
|
|
134
134
|
static get is() { return "tet-address-offers-view"; }
|
|
135
135
|
static get encapsulation() { return "shadow"; }
|
|
@@ -408,15 +408,15 @@ button.button-reset {
|
|
|
408
408
|
flex: 0 0 calc(30% - 0.75rem);
|
|
409
409
|
position: sticky;
|
|
410
410
|
}
|
|
411
|
-
@media screen and (min-width: 64rem) {
|
|
412
|
-
.cart {
|
|
413
|
-
max-width: calc(30% - 0.75rem);
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
411
|
.cart--edit {
|
|
417
412
|
bottom: -1px;
|
|
418
413
|
top: calc(var(--b2b-cart-sticky-top) + var(--b2b-cart-offset-top));
|
|
419
414
|
}
|
|
415
|
+
@media screen and (min-width: 64rem) {
|
|
416
|
+
.cart--edit {
|
|
417
|
+
max-width: calc(30% - 0.75rem);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
420
|
.cart--empty {
|
|
421
421
|
display: none;
|
|
422
422
|
}
|