@tet/tet-components 1.4.146-testing → 1.4.147-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{http-codes-D7ffzpYW.js → http-codes-Dr-iFaJ9.js} +1 -1
- package/dist/cjs/{index-Dzs7Nkbj.js → index-BEOR8cIU.js} +1 -1
- package/dist/cjs/{index-BL_zVDFC.js → index-DRNSo5RU.js} +9 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{product-comparison-DUzqZuWv.js → product-comparison-_8BsEWy8.js} +1 -1
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/tet-address-offers-filters-products_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_5.cjs.entry.js +5 -5
- package/dist/cjs/tet-assembler.cjs.entry.js +4 -4
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +6 -6
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-banner-nav.cjs.entry.js +3 -3
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +9 -9
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +101 -8
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +3 -3
- package/dist/cjs/tet-colors.cjs.entry.js +5 -5
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-card-v3.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 +5 -5
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-countdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +6 -6
- package/dist/cjs/tet-datepicker.cjs.entry.js +5 -5
- package/dist/cjs/tet-dialog.cjs.entry.js +3 -3
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-feedback-form.cjs.entry.js +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 +2 -2
- package/dist/cjs/tet-fonts.cjs.entry.js +2 -2
- package/dist/cjs/tet-grid.cjs.entry.js +2 -2
- package/dist/cjs/tet-icon.cjs.entry.js +3 -3
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +6 -6
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-news-card.cjs.entry.js +91 -0
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-paginator.cjs.entry.js +103 -0
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-range-slider.cjs.entry.js +8 -8
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-spinner.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +2 -2
- package/dist/cjs/tet-support-search.cjs.entry.js +1 -1
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +5 -5
- package/dist/cjs/tet-text-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +3 -3
- package/dist/cjs/{translations-Uvcq4kv8.js → translations-Dgrvj2-A.js} +1 -1
- package/dist/collection/assets/icons/tc/tc-calendar-check.svg +8 -0
- package/dist/collection/assets/icons/tc/tc-change.svg +3 -0
- package/dist/collection/assets/icons/tc/tc-sparkle-person.svg +6 -0
- package/dist/collection/assets/icons/tc-icons.svg +14 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/advanced/cards/tet-assembler/tet-assembler.css +2 -0
- package/dist/collection/components/advanced/cards/tet-compare-card/tet-compare-card.css +2 -0
- package/dist/collection/components/advanced/cards/tet-compare-card-v2/tet-compare-card-v2.css +2 -0
- package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.css +556 -0
- package/dist/collection/components/advanced/cards/tet-news-card/tet-news-card.js +298 -0
- package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js +1 -1
- package/dist/collection/components/advanced/forms/tet-availability-contact-form/tet-availability-contact-form.js +1 -1
- package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js +3 -3
- 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 +6 -6
- 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-countdown/tet-countdown.js +1 -1
- 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-dropdown/tet-dropdown.css +123 -19
- package/dist/collection/components/simple/inputs/tet-dropdown/tet-dropdown.js +160 -5
- 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/lists/tet-text-list/tet-text-list.css +2 -0
- package/dist/collection/components/simple/menu/tet-navigation-mobile/tet-navigation-mobile.js +3 -3
- package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.css +91 -0
- package/dist/collection/components/simple/menu/tet-paginator/tet-paginator.js +231 -0
- package/dist/collection/components/simple/misc/tet-sticky-offer/tet-sticky-offer.js +1 -1
- package/dist/collection/components/simple/structural/tet-accordion/tet-accordion.js +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-notification/tet-notification.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-tooltip/tet-tooltip.js +1 -1
- package/dist/collection/components/views/tet-address-offers-view/tet-address-offers-view.js +1 -1
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/collection/services/utils/index.js +1 -0
- package/dist/collection/services/utils/visibility-observer.js +25 -0
- package/dist/collection/tet-components-core.css +1 -1
- package/dist/components/assets/icons/tc/tc-calendar-check.svg +8 -0
- package/dist/components/assets/icons/tc/tc-change.svg +3 -0
- package/dist/components/assets/icons/tc/tc-sparkle-person.svg +6 -0
- package/dist/components/assets/icons/tc-icons.svg +14 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-KagFBuv9.js → p-1p6NLY3L.js} +1 -1
- package/dist/components/{p-BSgeKEN8.js → p-4VAmcbbD.js} +1 -1
- package/dist/components/{p-iksDLWwk.js → p-8uYXXlUm.js} +1 -1
- package/dist/components/{p-CDDvHWDu.js → p-B47k32IE.js} +1 -1
- package/dist/components/{p-JZAHJ9gF.js → p-B7f6XRIi.js} +1 -1
- package/dist/components/{p-Cn_UPY3P.js → p-BD-Y27Mc.js} +1 -1
- package/dist/components/{p-BkFKgYOW.js → p-BQw2uyjD.js} +1 -1
- package/dist/components/{p-uriK4wxp.js → p-BS4rutIJ.js} +1 -1
- package/dist/components/{p-UVdgsuUF.js → p-BaMmaDio.js} +1 -1
- package/dist/components/{p-DT8tgMUV.js → p-Bj3MY3sZ.js} +1 -1
- package/dist/components/{p-CY1tO1HE.js → p-Bl1o5Jqh.js} +1 -1
- package/dist/components/{p-SprieIc0.js → p-BlbXAHDI.js} +1 -1
- package/dist/components/p-Bmg6LXgQ.js +1 -0
- package/dist/components/{p-vLpvVmb8.js → p-Bp0DRkjc.js} +1 -1
- package/dist/components/{p-DsTbwBba.js → p-C-YSHga5.js} +1 -1
- package/dist/components/{p-BPQNPw6e.js → p-CDjsibd6.js} +1 -1
- package/dist/components/{p-CNsxz-TF.js → p-CFfL7mQk.js} +1 -1
- package/dist/components/{p-BtMYZdep.js → p-CRVDRsD-.js} +1 -1
- package/dist/components/{p-m0PlnnJG.js → p-CSz0Js4x.js} +1 -1
- package/dist/components/{p-ZPHtvw0Z.js → p-CTARWop4.js} +1 -1
- package/dist/components/{p-B5shOn6R.js → p-CWoVcI9u.js} +1 -1
- package/dist/components/{p-lEX8wezw.js → p-CXP2jsSO.js} +1 -1
- package/dist/components/{p-CH_CJUiq.js → p-Ccea8RQU.js} +1 -1
- package/dist/components/{p-BN2sV9-A.js → p-CdCuscbi.js} +1 -1
- package/dist/components/{p-BDPxVbYN.js → p-Ch4sy5g_.js} +1 -1
- package/dist/components/{p-DeyD67la.js → p-CnY4Q6FV.js} +1 -1
- package/dist/components/p-Cp3n2oZP.js +1 -0
- package/dist/components/{p-BrD5Af4p.js → p-D2QgjtAE.js} +1 -1
- package/dist/components/{p-NAR5FXDl.js → p-DHG2oc6Q.js} +1 -1
- package/dist/components/{p-C-TWSM4z.js → p-DHcWHxAS.js} +1 -1
- package/dist/components/{p-Cdi7KDBd.js → p-DIyhqSTP.js} +1 -1
- package/dist/components/p-DJmm7-c6.js +1 -0
- package/dist/components/{p-BGrd_jXc.js → p-DNc4uxD3.js} +1 -1
- package/dist/components/{p-CzRzXWH6.js → p-DXcp45sU.js} +1 -1
- package/dist/components/{p-CUOgW7ZG.js → p-DY0QLpmd.js} +1 -1
- package/dist/components/{p-B9bE6qY-.js → p-DZ6ri3Ez.js} +1 -1
- package/dist/components/{p-D6kNR-cR.js → p-D_HAhWIZ.js} +1 -1
- package/dist/components/{p-5kTi8PjH.js → p-DeydZ8cH.js} +1 -1
- package/dist/components/{p-COVrKFTj.js → p-Dh4sPOZp.js} +1 -1
- package/dist/components/{p-BY4VWk_A.js → p-DupIaie7.js} +1 -1
- package/dist/components/{p-Jzy65bod.js → p-DyK3pU3P.js} +1 -1
- package/dist/components/{p-Cy7tiOgd.js → p-Dz2n5zqC.js} +1 -1
- package/dist/components/{p-BKlEhiGf.js → p-RdeHFmIo.js} +1 -1
- package/dist/components/{p-BebUippY.js → p-Xexyaprq.js} +1 -1
- package/dist/components/{p-B4CDhWR6.js → p-d-Rv1Rhi.js} +1 -1
- package/dist/components/{p-Br4jWI9B.js → p-dg7EpwKx.js} +1 -1
- package/dist/components/{p-C31HYpo5.js → p-hddOTT87.js} +1 -1
- package/dist/components/{p-CLtgu35N.js → p-mCh3SGgn.js} +1 -1
- package/dist/components/{p-BAkWN1D6.js → p-stVsF2Eb.js} +1 -1
- package/dist/components/{p-BTSQyL7G.js → p-wcsGFLu0.js} +1 -1
- package/dist/components/{p-zWNDOP2j.js → p-yTZZPJz0.js} +1 -1
- package/dist/components/{p-PYYBcx0f.js → p-ycwaDwH3.js} +1 -1
- package/dist/components/tet-accordion.js +1 -1
- package/dist/components/tet-address-offers-filters-products.js +1 -1
- package/dist/components/tet-address-offers-filters.js +1 -1
- package/dist/components/tet-address-offers-view.js +1 -1
- package/dist/components/tet-address-offers.js +1 -1
- package/dist/components/tet-address-search.js +1 -1
- package/dist/components/tet-assembler.js +1 -1
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +1 -1
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-check-out-form.js +1 -1
- package/dist/components/tet-b2b-compare-card.js +1 -1
- package/dist/components/tet-b2b-configurator-cart.js +1 -1
- package/dist/components/tet-b2b-configurator.js +1 -1
- package/dist/components/tet-banner-nav.js +1 -1
- package/dist/components/tet-bar-graph.js +1 -1
- package/dist/components/tet-border-radius.js +1 -1
- package/dist/components/tet-business-card.js +1 -1
- package/dist/components/tet-business-compare-card.js +1 -1
- package/dist/components/tet-business-navigation.js +1 -1
- package/dist/components/tet-business-round-stepper.js +1 -1
- package/dist/components/tet-business-summary-card.js +1 -1
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +1 -1
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +1 -1
- package/dist/components/tet-cloud-configurator.js +1 -1
- package/dist/components/tet-colors.js +1 -1
- package/dist/components/tet-compare-card-v2.js +1 -1
- package/dist/components/tet-compare-card-v3.js +1 -1
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +1 -1
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-countdown.js +1 -1
- package/dist/components/tet-counter.js +1 -1
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +1 -1
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-display.js +1 -1
- package/dist/components/tet-divider.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.js +1 -1
- package/dist/components/tet-expandable-input.js +1 -1
- package/dist/components/tet-expansion-panel.js +1 -1
- package/dist/components/tet-feedback-form.js +1 -1
- package/dist/components/tet-filter.js +1 -1
- package/dist/components/tet-floating-block.js +1 -1
- package/dist/components/tet-font-weight.js +1 -1
- package/dist/components/tet-fonts.js +1 -1
- package/dist/components/tet-grid.js +1 -1
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +1 -1
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-layout.js +1 -1
- package/dist/components/tet-link-card-list.js +1 -1
- package/dist/components/tet-link.js +1 -1
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-menu-mobile.js +1 -1
- package/dist/components/tet-menu.js +1 -1
- package/dist/components/tet-mini-compare-card.js +1 -1
- package/dist/components/tet-multi-step-dialog.js +1 -1
- package/dist/components/tet-navigation-mobile.js +1 -1
- package/dist/components/tet-news-card-list.js +1 -1
- package/dist/components/tet-news-card.d.ts +11 -0
- package/dist/components/tet-news-card.js +1 -0
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-paginator.d.ts +11 -0
- package/dist/components/tet-paginator.js +1 -0
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-sticky-offer.js +1 -1
- package/dist/components/tet-support-search.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +1 -1
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v3.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/esm/{http-codes-BQGPgOl6.js → http-codes-DP6cQyLI.js} +1 -1
- package/dist/esm/{index-DScZlZas.js → index-BTdj-C2n.js} +1 -1
- package/dist/esm/{index-BGB6gNkz.js → index-BWP8psSS.js} +9 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{product-comparison-DUVV7BFR.js → product-comparison-CBuVYKp-.js} +1 -1
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/tet-address-offers-filters-products_2.entry.js +4 -4
- package/dist/esm/tet-address-offers-view.entry.js +4 -4
- package/dist/esm/tet-address-offers_5.entry.js +5 -5
- package/dist/esm/tet-assembler.entry.js +4 -4
- package/dist/esm/tet-autocomplete-dropdown.entry.js +1 -1
- package/dist/esm/tet-autocomplete_2.entry.js +2 -2
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +6 -6
- package/dist/esm/tet-b2b-configurator.entry.js +4 -4
- package/dist/esm/tet-banner-nav.entry.js +3 -3
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +9 -9
- package/dist/esm/tet-checkbox_3.entry.js +101 -8
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +3 -3
- package/dist/esm/tet-cloud-configurator.entry.js +3 -3
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-card-v2.entry.js +4 -4
- package/dist/esm/tet-compare-card-v3.entry.js +3 -3
- package/dist/esm/tet-compare-cards-tab.entry.js +3 -3
- package/dist/esm/tet-compare-cards_2.entry.js +5 -5
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-container_2.entry.js +1 -1
- package/dist/esm/tet-countdown.entry.js +2 -2
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-datepicker-header_4.entry.js +6 -6
- package/dist/esm/tet-datepicker.entry.js +5 -5
- package/dist/esm/tet-dialog.entry.js +3 -3
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-feedback-form.entry.js +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 +2 -2
- package/dist/esm/tet-fonts.entry.js +2 -2
- package/dist/esm/tet-grid.entry.js +2 -2
- package/dist/esm/tet-icon.entry.js +3 -3
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +3 -3
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +6 -6
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-news-card.entry.js +89 -0
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-paginator.entry.js +101 -0
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-blocks.entry.js +1 -1
- package/dist/esm/tet-radio_2.entry.js +3 -3
- package/dist/esm/tet-range-slider.entry.js +8 -8
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +3 -3
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-spinner.entry.js +4 -4
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +2 -2
- package/dist/esm/tet-support-search.entry.js +1 -1
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +5 -5
- package/dist/esm/tet-text-list.entry.js +2 -2
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v3.entry.js +3 -3
- package/dist/esm/{translations-Dc2OQnbI.js → translations-BxuQY6H_.js} +1 -1
- package/dist/tet-components/assets/icons/tc/tc-calendar-check.svg +8 -0
- package/dist/tet-components/assets/icons/tc/tc-change.svg +3 -0
- package/dist/tet-components/assets/icons/tc/tc-sparkle-person.svg +6 -0
- package/dist/tet-components/assets/icons/tc-icons.svg +14 -0
- package/dist/tet-components/{p-7ac2babd.entry.js → p-000d62f0.entry.js} +1 -1
- package/dist/tet-components/{p-3f533c77.entry.js → p-014e79de.entry.js} +1 -1
- package/dist/tet-components/{p-c44052cb.entry.js → p-09825c82.entry.js} +1 -1
- package/dist/tet-components/{p-96438761.entry.js → p-0b2a0a11.entry.js} +1 -1
- package/dist/tet-components/{p-37c83d33.entry.js → p-0bb47e76.entry.js} +1 -1
- package/dist/tet-components/{p-9ae4f442.entry.js → p-0e4c6e2c.entry.js} +1 -1
- package/dist/tet-components/{p-3996e0b7.entry.js → p-0e9ae429.entry.js} +1 -1
- package/dist/tet-components/{p-8eed24d3.entry.js → p-1a00251e.entry.js} +1 -1
- package/dist/tet-components/p-1e222bb7.entry.js +1 -0
- package/dist/tet-components/{p-a74562c2.entry.js → p-2554725a.entry.js} +1 -1
- package/dist/tet-components/{p-3ce7cda9.entry.js → p-27213d06.entry.js} +1 -1
- package/dist/tet-components/{p-c0c302fe.entry.js → p-277304a3.entry.js} +1 -1
- package/dist/tet-components/{p-d2bb410e.entry.js → p-2e5144eb.entry.js} +1 -1
- package/dist/tet-components/{p-19525e17.entry.js → p-32492c9c.entry.js} +1 -1
- package/dist/tet-components/{p-5bac849e.entry.js → p-331e1a1d.entry.js} +1 -1
- package/dist/tet-components/{p-49ba40a1.entry.js → p-34a661a6.entry.js} +1 -1
- package/dist/tet-components/{p-cfdad238.entry.js → p-3556eb79.entry.js} +1 -1
- package/dist/tet-components/{p-1be85243.entry.js → p-35d587d8.entry.js} +1 -1
- package/dist/tet-components/{p-f21e5e14.entry.js → p-35f0994e.entry.js} +1 -1
- package/dist/tet-components/{p-cdb8c877.entry.js → p-3f0547b8.entry.js} +1 -1
- package/dist/tet-components/{p-97ce6978.entry.js → p-44f60fbb.entry.js} +1 -1
- package/dist/tet-components/{p-304026be.entry.js → p-45e2b67c.entry.js} +1 -1
- package/dist/tet-components/{p-b7263345.entry.js → p-461b9623.entry.js} +1 -1
- package/dist/tet-components/{p-56f99297.entry.js → p-4a2cbbd6.entry.js} +1 -1
- package/dist/tet-components/{p-71fa80d7.entry.js → p-4a7e69fc.entry.js} +1 -1
- package/dist/tet-components/{p-d8b4261d.entry.js → p-4d00acd4.entry.js} +1 -1
- package/dist/tet-components/{p-e2d4e5c3.entry.js → p-4f339642.entry.js} +1 -1
- package/dist/tet-components/{p-3af65955.entry.js → p-52cc694d.entry.js} +1 -1
- package/dist/tet-components/{p-83be5dad.entry.js → p-571d6428.entry.js} +1 -1
- package/dist/tet-components/{p-35e3a3ec.entry.js → p-579fdd6e.entry.js} +1 -1
- package/dist/tet-components/{p-01336e7a.entry.js → p-5883cc02.entry.js} +1 -1
- package/dist/tet-components/{p-2cfcf7df.entry.js → p-5c121a95.entry.js} +1 -1
- package/dist/tet-components/{p-9183aa09.entry.js → p-602efd1a.entry.js} +1 -1
- package/dist/tet-components/{p-ec4710dd.entry.js → p-60789dda.entry.js} +1 -1
- package/dist/tet-components/{p-915b2507.entry.js → p-62e35581.entry.js} +1 -1
- package/dist/tet-components/{p-085ec974.entry.js → p-63238349.entry.js} +1 -1
- package/dist/tet-components/{p-8ab2df2d.entry.js → p-67a8fbf3.entry.js} +1 -1
- package/dist/tet-components/{p-fcfc7424.entry.js → p-68b67382.entry.js} +1 -1
- package/dist/tet-components/{p-830d6a1b.entry.js → p-6957eb2b.entry.js} +1 -1
- package/dist/tet-components/{p-c9f14568.entry.js → p-72306953.entry.js} +1 -1
- package/dist/tet-components/{p-597ccbc1.entry.js → p-77a8a330.entry.js} +1 -1
- package/dist/tet-components/{p-df0e988a.entry.js → p-7f75d9c2.entry.js} +1 -1
- package/dist/tet-components/{p-20f6ad3e.entry.js → p-8148aabf.entry.js} +1 -1
- package/dist/tet-components/{p-9761bc72.entry.js → p-84f85d36.entry.js} +1 -1
- package/dist/tet-components/{p-c541b10f.entry.js → p-854d09d1.entry.js} +1 -1
- package/dist/tet-components/{p-4215dec8.entry.js → p-8a7a46f5.entry.js} +1 -1
- package/dist/tet-components/{p-b86022d7.entry.js → p-8ae75070.entry.js} +1 -1
- package/dist/tet-components/{p-aae1bc5a.entry.js → p-8cc50193.entry.js} +1 -1
- package/dist/tet-components/{p-67bb4d53.entry.js → p-933a6d56.entry.js} +1 -1
- package/dist/tet-components/p-9e248284.entry.js +1 -0
- package/dist/tet-components/{p-BGB6gNkz.js → p-BWP8psSS.js} +1 -1
- package/dist/tet-components/p-Bi5WA4Eb.js +1 -0
- package/dist/tet-components/{p-DX1IQAn5.js → p-CEkiSmjX.js} +1 -1
- package/dist/tet-components/p-D5A3ic42.js +1 -0
- package/dist/tet-components/{p-DbJll7nz.js → p-Ojgt8vhK.js} +1 -1
- package/dist/tet-components/p-a5ff24fa.entry.js +1 -0
- package/dist/tet-components/{p-6946ba58.entry.js → p-a69bb0e1.entry.js} +1 -1
- package/dist/tet-components/{p-499bf719.entry.js → p-ad89b9d6.entry.js} +1 -1
- package/dist/tet-components/{p-be2a472c.entry.js → p-aff00bdc.entry.js} +1 -1
- package/dist/tet-components/{p-06d237de.entry.js → p-b1839d78.entry.js} +1 -1
- package/dist/tet-components/{p-4e018c17.entry.js → p-b2573ec9.entry.js} +1 -1
- package/dist/tet-components/{p-632d382c.entry.js → p-b64f4147.entry.js} +1 -1
- package/dist/tet-components/p-b669634a.entry.js +1 -0
- package/dist/tet-components/{p-1be8a5bc.entry.js → p-b7538f5c.entry.js} +1 -1
- package/dist/tet-components/{p-6eb089d0.entry.js → p-c1a67216.entry.js} +1 -1
- package/dist/tet-components/{p-df68eb4e.entry.js → p-c31ded4f.entry.js} +1 -1
- package/dist/tet-components/p-c89c195a.entry.js +1 -0
- package/dist/tet-components/{p-6c28d6ac.entry.js → p-ce34b837.entry.js} +1 -1
- package/dist/tet-components/{p-e564d494.entry.js → p-ce5b5cc5.entry.js} +1 -1
- package/dist/tet-components/{p-5e458bfa.entry.js → p-cfa1ad4d.entry.js} +1 -1
- package/dist/tet-components/{p-cd7efc99.entry.js → p-d2179734.entry.js} +1 -1
- package/dist/tet-components/{p-3d845492.entry.js → p-d4d67a2b.entry.js} +1 -1
- package/dist/tet-components/{p-c37ccaaa.entry.js → p-d5fb7930.entry.js} +1 -1
- package/dist/tet-components/{p-7bccaeee.entry.js → p-d6058854.entry.js} +1 -1
- package/dist/tet-components/p-d9c37f8c.entry.js +1 -0
- package/dist/tet-components/{p-9d7fbd42.entry.js → p-dda875b1.entry.js} +1 -1
- package/dist/tet-components/{p-b4f3985e.entry.js → p-e068d247.entry.js} +1 -1
- package/dist/tet-components/{p-c9e434c1.entry.js → p-e5d1e096.entry.js} +1 -1
- package/dist/tet-components/p-ea819db7.entry.js +1 -0
- package/dist/tet-components/{p-e7e18cc4.entry.js → p-eb219b3a.entry.js} +1 -1
- package/dist/tet-components/{p-973193d0.entry.js → p-edcd3af7.entry.js} +1 -1
- package/dist/tet-components/{p-27f233a6.entry.js → p-f0c1ae81.entry.js} +1 -1
- package/dist/tet-components/{p-f5d610ea.entry.js → p-f2173351.entry.js} +1 -1
- package/dist/tet-components/{p-24058988.entry.js → p-f6d3abd5.entry.js} +1 -1
- package/dist/tet-components/{p-3698d8ff.entry.js → p-f6f7436d.entry.js} +1 -1
- package/dist/tet-components/{p-b5e665c7.entry.js → p-f80d84ea.entry.js} +1 -1
- package/dist/tet-components/tet-components-core.css +1 -1
- package/dist/tet-components/tet-components.css +2 -2
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/cards/tet-news-card/tet-news-card.d.ts +34 -0
- package/dist/types/components/simple/inputs/tet-dropdown/tet-dropdown.d.ts +16 -0
- package/dist/types/components/simple/menu/tet-paginator/tet-paginator.d.ts +28 -0
- package/dist/types/components.d.ts +269 -0
- package/dist/types/services/utils/index.d.ts +1 -0
- package/dist/types/services/utils/visibility-observer.d.ts +2 -0
- package/package.json +1 -1
- package/dist/components/p-CbqipjNj.js +0 -1
- package/dist/components/p-DIqowNgr.js +0 -1
- package/dist/components/p-DTeQFROq.js +0 -1
- package/dist/tet-components/p-138b551e.entry.js +0 -1
- package/dist/tet-components/p-3bf29f89.entry.js +0 -1
- package/dist/tet-components/p-7e2fa50e.entry.js +0 -1
- package/dist/tet-components/p-BzLFf73g.js +0 -1
- package/dist/tet-components/p-C1XJmhDH.js +0 -1
- package/dist/tet-components/p-c27be82c.entry.js +0 -1
- package/dist/tet-components/p-ee489b61.entry.js +0 -1
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { observeOnce } from "../../../../services/utils/visibility-observer";
|
|
3
|
+
/**
|
|
4
|
+
* A card for news content.
|
|
5
|
+
*/
|
|
6
|
+
export class TetNewsCard {
|
|
7
|
+
element;
|
|
8
|
+
imageVisible = false;
|
|
9
|
+
stopObservingImage;
|
|
10
|
+
/** The card color theme. */
|
|
11
|
+
theme = 'light';
|
|
12
|
+
/** The card size. */
|
|
13
|
+
cardSize = 'medium';
|
|
14
|
+
/** The card color variant. */
|
|
15
|
+
colorTheme = 'grey';
|
|
16
|
+
/** The news card title. */
|
|
17
|
+
cardTitle = '';
|
|
18
|
+
/** The publication date. */
|
|
19
|
+
date = '';
|
|
20
|
+
/** The image URL. */
|
|
21
|
+
imageSrc = '';
|
|
22
|
+
/** The image alternative text. */
|
|
23
|
+
imageAlt = '';
|
|
24
|
+
/** The button label. */
|
|
25
|
+
buttonLabel = '';
|
|
26
|
+
/** The button destination URL. */
|
|
27
|
+
buttonUrl = '';
|
|
28
|
+
/** The button URL target. */
|
|
29
|
+
buttonUrlTarget = '_self';
|
|
30
|
+
/** The news category badges. */
|
|
31
|
+
badges = [];
|
|
32
|
+
connectedCallback() {
|
|
33
|
+
if (this.imageSrc && !this.imageVisible) {
|
|
34
|
+
this.stopObservingImage?.();
|
|
35
|
+
this.stopObservingImage = observeOnce(this.element, () => {
|
|
36
|
+
this.imageVisible = true;
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
disconnectedCallback() {
|
|
41
|
+
this.stopObservingImage?.();
|
|
42
|
+
this.stopObservingImage = undefined;
|
|
43
|
+
}
|
|
44
|
+
renderButton() {
|
|
45
|
+
const label = this.buttonLabel.trim();
|
|
46
|
+
const url = this.buttonUrl.trim();
|
|
47
|
+
if (!label || !url) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return (h("tet-button", { class: "news-card__button", theme: this.theme, colorTheme: "adaptive-yellow", url: url, urlTarget: this.buttonUrlTarget, iconName: "tc-arrow-right", size: "small", breakpointConfig: {
|
|
51
|
+
md: { size: 'medium' },
|
|
52
|
+
lg: { size: this.cardSize === 'large' ? 'large' : 'medium' },
|
|
53
|
+
} }, label));
|
|
54
|
+
}
|
|
55
|
+
render() {
|
|
56
|
+
return (h(Host, { key: '561a0fdd520c24656a84a41875431d56e5caba3a' }, h("article", { key: '9be96a7bd935a64cf92a37a4b49c5b2f3c81a1eb', class: { "news-card": true, [`news-card--${this.cardSize}`]: true }, "aria-labelledby": "card-title" }, h("div", { key: '69822e35620002730619f19573d5b628e4a9e350', class: "news-card__image-container" }, h("img", { key: 'caa4f09d95ef2f1cfc09aedc342454d2b10c84a4', class: "news-card__image", src: this.imageVisible ? this.imageSrc || undefined : undefined, alt: this.imageAlt, decoding: "async" }), h("div", { key: '1e0b457ac06cc22b185dbd0bb9371d8f5c7c77d4', class: "news-card__badges-container" }, this.badges.map((badge) => (h("div", { class: "news-card__badge" }, badge))))), h("div", { key: '7ceecb3f42ec10dafec7935ceeff1c212a4bbd94', class: { "news-card__text-container": true, [`news-card__text-container--${this.colorTheme}`]: true, } }, h("span", { key: 'e63a234c16adad261313b2d7be67d88fd5df1213', class: "news-card__date" }, this.date), h("h2", { key: 'b38945fd84f27b82b22db2ff5ac05c70ce52b17a', class: "news-card__title", id: "card-title" }, this.cardTitle), this.renderButton()))));
|
|
57
|
+
}
|
|
58
|
+
static get is() { return "tet-news-card"; }
|
|
59
|
+
static get encapsulation() { return "shadow"; }
|
|
60
|
+
static get originalStyleUrls() {
|
|
61
|
+
return {
|
|
62
|
+
"$": ["tet-news-card.scss"]
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
static get styleUrls() {
|
|
66
|
+
return {
|
|
67
|
+
"$": ["tet-news-card.css"]
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
static get properties() {
|
|
71
|
+
return {
|
|
72
|
+
"theme": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "'light' | 'dark'",
|
|
77
|
+
"resolved": "\"dark\" | \"light\"",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "The card color theme."
|
|
85
|
+
},
|
|
86
|
+
"getter": false,
|
|
87
|
+
"setter": false,
|
|
88
|
+
"reflect": true,
|
|
89
|
+
"attribute": "theme",
|
|
90
|
+
"defaultValue": "'light'"
|
|
91
|
+
},
|
|
92
|
+
"cardSize": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"mutable": false,
|
|
95
|
+
"complexType": {
|
|
96
|
+
"original": "'small' | 'medium' | 'large'",
|
|
97
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
98
|
+
"references": {}
|
|
99
|
+
},
|
|
100
|
+
"required": false,
|
|
101
|
+
"optional": false,
|
|
102
|
+
"docs": {
|
|
103
|
+
"tags": [],
|
|
104
|
+
"text": "The card size."
|
|
105
|
+
},
|
|
106
|
+
"getter": false,
|
|
107
|
+
"setter": false,
|
|
108
|
+
"reflect": false,
|
|
109
|
+
"attribute": "card-size",
|
|
110
|
+
"defaultValue": "'medium'"
|
|
111
|
+
},
|
|
112
|
+
"colorTheme": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"mutable": false,
|
|
115
|
+
"complexType": {
|
|
116
|
+
"original": "'grey' | 'yellow'",
|
|
117
|
+
"resolved": "\"grey\" | \"yellow\"",
|
|
118
|
+
"references": {}
|
|
119
|
+
},
|
|
120
|
+
"required": false,
|
|
121
|
+
"optional": false,
|
|
122
|
+
"docs": {
|
|
123
|
+
"tags": [],
|
|
124
|
+
"text": "The card color variant."
|
|
125
|
+
},
|
|
126
|
+
"getter": false,
|
|
127
|
+
"setter": false,
|
|
128
|
+
"reflect": false,
|
|
129
|
+
"attribute": "color-theme",
|
|
130
|
+
"defaultValue": "'grey'"
|
|
131
|
+
},
|
|
132
|
+
"cardTitle": {
|
|
133
|
+
"type": "string",
|
|
134
|
+
"mutable": false,
|
|
135
|
+
"complexType": {
|
|
136
|
+
"original": "string",
|
|
137
|
+
"resolved": "string",
|
|
138
|
+
"references": {}
|
|
139
|
+
},
|
|
140
|
+
"required": false,
|
|
141
|
+
"optional": false,
|
|
142
|
+
"docs": {
|
|
143
|
+
"tags": [],
|
|
144
|
+
"text": "The news card title."
|
|
145
|
+
},
|
|
146
|
+
"getter": false,
|
|
147
|
+
"setter": false,
|
|
148
|
+
"reflect": false,
|
|
149
|
+
"attribute": "card-title",
|
|
150
|
+
"defaultValue": "''"
|
|
151
|
+
},
|
|
152
|
+
"date": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"mutable": false,
|
|
155
|
+
"complexType": {
|
|
156
|
+
"original": "string",
|
|
157
|
+
"resolved": "string",
|
|
158
|
+
"references": {}
|
|
159
|
+
},
|
|
160
|
+
"required": false,
|
|
161
|
+
"optional": false,
|
|
162
|
+
"docs": {
|
|
163
|
+
"tags": [],
|
|
164
|
+
"text": "The publication date."
|
|
165
|
+
},
|
|
166
|
+
"getter": false,
|
|
167
|
+
"setter": false,
|
|
168
|
+
"reflect": false,
|
|
169
|
+
"attribute": "date",
|
|
170
|
+
"defaultValue": "''"
|
|
171
|
+
},
|
|
172
|
+
"imageSrc": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"mutable": false,
|
|
175
|
+
"complexType": {
|
|
176
|
+
"original": "string",
|
|
177
|
+
"resolved": "string",
|
|
178
|
+
"references": {}
|
|
179
|
+
},
|
|
180
|
+
"required": false,
|
|
181
|
+
"optional": false,
|
|
182
|
+
"docs": {
|
|
183
|
+
"tags": [],
|
|
184
|
+
"text": "The image URL."
|
|
185
|
+
},
|
|
186
|
+
"getter": false,
|
|
187
|
+
"setter": false,
|
|
188
|
+
"reflect": false,
|
|
189
|
+
"attribute": "image-src",
|
|
190
|
+
"defaultValue": "''"
|
|
191
|
+
},
|
|
192
|
+
"imageAlt": {
|
|
193
|
+
"type": "string",
|
|
194
|
+
"mutable": false,
|
|
195
|
+
"complexType": {
|
|
196
|
+
"original": "string",
|
|
197
|
+
"resolved": "string",
|
|
198
|
+
"references": {}
|
|
199
|
+
},
|
|
200
|
+
"required": false,
|
|
201
|
+
"optional": false,
|
|
202
|
+
"docs": {
|
|
203
|
+
"tags": [],
|
|
204
|
+
"text": "The image alternative text."
|
|
205
|
+
},
|
|
206
|
+
"getter": false,
|
|
207
|
+
"setter": false,
|
|
208
|
+
"reflect": false,
|
|
209
|
+
"attribute": "image-alt",
|
|
210
|
+
"defaultValue": "''"
|
|
211
|
+
},
|
|
212
|
+
"buttonLabel": {
|
|
213
|
+
"type": "string",
|
|
214
|
+
"mutable": false,
|
|
215
|
+
"complexType": {
|
|
216
|
+
"original": "string",
|
|
217
|
+
"resolved": "string",
|
|
218
|
+
"references": {}
|
|
219
|
+
},
|
|
220
|
+
"required": false,
|
|
221
|
+
"optional": false,
|
|
222
|
+
"docs": {
|
|
223
|
+
"tags": [],
|
|
224
|
+
"text": "The button label."
|
|
225
|
+
},
|
|
226
|
+
"getter": false,
|
|
227
|
+
"setter": false,
|
|
228
|
+
"reflect": false,
|
|
229
|
+
"attribute": "button-label",
|
|
230
|
+
"defaultValue": "''"
|
|
231
|
+
},
|
|
232
|
+
"buttonUrl": {
|
|
233
|
+
"type": "string",
|
|
234
|
+
"mutable": false,
|
|
235
|
+
"complexType": {
|
|
236
|
+
"original": "string",
|
|
237
|
+
"resolved": "string",
|
|
238
|
+
"references": {}
|
|
239
|
+
},
|
|
240
|
+
"required": false,
|
|
241
|
+
"optional": false,
|
|
242
|
+
"docs": {
|
|
243
|
+
"tags": [],
|
|
244
|
+
"text": "The button destination URL."
|
|
245
|
+
},
|
|
246
|
+
"getter": false,
|
|
247
|
+
"setter": false,
|
|
248
|
+
"reflect": false,
|
|
249
|
+
"attribute": "button-url",
|
|
250
|
+
"defaultValue": "''"
|
|
251
|
+
},
|
|
252
|
+
"buttonUrlTarget": {
|
|
253
|
+
"type": "string",
|
|
254
|
+
"mutable": false,
|
|
255
|
+
"complexType": {
|
|
256
|
+
"original": "'_blank' | '_self'",
|
|
257
|
+
"resolved": "\"_blank\" | \"_self\"",
|
|
258
|
+
"references": {}
|
|
259
|
+
},
|
|
260
|
+
"required": false,
|
|
261
|
+
"optional": false,
|
|
262
|
+
"docs": {
|
|
263
|
+
"tags": [],
|
|
264
|
+
"text": "The button URL target."
|
|
265
|
+
},
|
|
266
|
+
"getter": false,
|
|
267
|
+
"setter": false,
|
|
268
|
+
"reflect": false,
|
|
269
|
+
"attribute": "button-url-target",
|
|
270
|
+
"defaultValue": "'_self'"
|
|
271
|
+
},
|
|
272
|
+
"badges": {
|
|
273
|
+
"type": "unknown",
|
|
274
|
+
"mutable": false,
|
|
275
|
+
"complexType": {
|
|
276
|
+
"original": "string[]",
|
|
277
|
+
"resolved": "string[]",
|
|
278
|
+
"references": {}
|
|
279
|
+
},
|
|
280
|
+
"required": false,
|
|
281
|
+
"optional": false,
|
|
282
|
+
"docs": {
|
|
283
|
+
"tags": [],
|
|
284
|
+
"text": "The news category badges."
|
|
285
|
+
},
|
|
286
|
+
"getter": false,
|
|
287
|
+
"setter": false,
|
|
288
|
+
"defaultValue": "[]"
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
static get states() {
|
|
293
|
+
return {
|
|
294
|
+
"imageVisible": {}
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
static get elementRef() { return "element"; }
|
|
298
|
+
}
|
package/dist/collection/components/advanced/dialog/tet-multi-step-dialog/tet-multi-step-dialog.js
CHANGED
|
@@ -152,7 +152,7 @@ export class TetMultiStepDialog {
|
|
|
152
152
|
return (h("div", { innerHTML: step, "data-step": Number(index) + 1, class: "multi-step-dialog__step", ref: this.setStepBlocks }));
|
|
153
153
|
}
|
|
154
154
|
render() {
|
|
155
|
-
return (h(Host, { key: '
|
|
155
|
+
return (h(Host, { key: '86981a0ba86e84a6d6d71bd6b3d8ac71b3f6c3ec', class: "multi-step-dialog" }, h("tet-dialog", { key: '958f590c9213e9551b1213082168625cee2d95f4', class: this.tetDialogClass, "is-open": this.isOpen, "data-screen-key": this.dialogDataScreenKey, "footer-display": "right", ref: el => this.tetDialog = el, theme: this.theme, onCloseDialog: this.handleCloseDialog, onOpenDialog: this.handleOpenDialog }, h("div", { key: '380bbd65ba2ad6015b37e01cc9cd045a618d9c25', innerHTML: this.content }), this.steps.map((step, index) => (this.renderStep(step, index))), h("tet-button", { key: '910b20e6c1fef0801c2f62efe48f45bab675c6fd', class: "footer-button", slot: "footer", size: "medium", theme: this.theme, type: "secondary", ref: el => this.prevButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-go-back')), h("tet-button", { key: '11fe392d9a729a46a7e2b11bb71fe204f271e20c', class: "footer-button", slot: "footer", size: "medium", theme: this.theme, ref: el => this.nextButton = el, onKeyDown: (e) => this.handleKeydownEvent(e) }, t('components-next-step')))));
|
|
156
156
|
}
|
|
157
157
|
static get is() { return "tet-multi-step-dialog"; }
|
|
158
158
|
static get properties() {
|
|
@@ -144,7 +144,7 @@ export class TetAvailabilityContactForm {
|
|
|
144
144
|
return (h("div", null, h("tet-dialog", { ref: (element) => this.dialogElement = element, "footer-display": "hidden", "is-open": this.showAvailabilityContactForm, closeOnEscape: true, closeOnOverlayClick: true }, h("div", { class: "form-container" }, h("tet-icon", { name: "confirm-md", class: "icon icon-success icon-size" }), this.showTitle && h("h2", { class: "form-title" }, t('components-availability-contact-form-success-title')), h("p", { class: "form-subtitle" }, t('components-availability-contact-form-success-subtitle')), h("tet-button", { class: "form-container-close", clickCallback: this.closeDialogElement, size: "medium", type: "primary", theme: "light" }, h("span", null, t('components-availability-contact-form-success-close')))))));
|
|
145
145
|
}
|
|
146
146
|
render() {
|
|
147
|
-
return (h("div", { key: '
|
|
147
|
+
return (h("div", { key: '7a593b68092c39ff5c4ed560c7c18da6b063778f', class: { 'dark-theme': this.darkTheme } }, this.success ? this.renderSuccessStep() : this.renderForm()));
|
|
148
148
|
}
|
|
149
149
|
static get is() { return "tet-availability-contact-form"; }
|
|
150
150
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/advanced/forms/tet-b2b-check-out-form/tet-b2b-check-out-form.js
CHANGED
|
@@ -150,11 +150,11 @@ export class TetAvailabilityContactForm {
|
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
152
|
const { theme } = this;
|
|
153
|
-
return (h("tet-dialog", { key: '
|
|
153
|
+
return (h("tet-dialog", { key: '68288935e644cd57a9a97fd4a5878700d864cf6c', class: "modal-form-card", headerTitle: t('components-b2b-check-out-form-header'), theme: theme, closeOnOverlayClick: false, footerDisplay: "right", ref: (el) => {
|
|
154
154
|
this.dialogElement = el;
|
|
155
|
-
} }, h("div", { key: '
|
|
155
|
+
} }, h("div", { key: '85495fd0c7bce856f0ab1d2c650bebf01ad4c474', class: { 'modal-form-card-content': true, [`${theme}`]: true } }, h("div", { key: 'cd03969bf71ad1dfe8416e2defd55194dff8143e', class: "modal-form-card-content-header" }, h("div", { key: '179720e8bbd754d8af458df07989afbcbaa6e4d4', class: "icon-wrapper" }, h("tet-icon", { key: 'e3097e566b9c9aa7409f8e2fbd0096464a995d7d', class: "icon", name: "tc-company-1" })), h("span", { key: '4c7c6887f6c252267a8bc567f06e4e1bbd325883', class: "modal-form-card-content-header__title" }, t('components-b2b-check-out-form-title')), h("span", { key: 'c94264cc4baac4c493892a061ebe9cf7c50701a1', class: "modal-form-card-content-header__description" }, t('components-b2b-check-out-form-description'))), h("div", { key: 'e5308576e550729aaba50be40482d0c593ee9bbb', class: "modal-form-card-content-accordion-wrapper" }, h("slot", { key: '375b0de3a0c391bf488b1e1cb9805a83783b162e', name: "cart" })), h("form", { key: '3fb5fa1b29552745dc54cd2fb9ef96a2508d678b', id: "checkOutForm", class: "modal-form-card-form", ref: (ref) => (this.checkOutForm = ref) }, h("div", { key: '7d9ba6d7dcac4ee678e2ed727ebbcb7b9f964165', class: "modal-form-card-input__row" }, this.renderInput('companyRegNr', t('components-b2b-check-out-form-company-registration-number-input-label'), '40000000001', 'company-reg', '11'), 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'), '', 'name'), h("div", { key: '5a7f4a917add7d206fb6282abc509ea23675900b', class: "modal-form-card-input__row" }, this.renderInput('email', t('components-b2b-check-out-form-email-input-label'), 'contact@company.com', 'email'), this.renderInput('phoneNr', t('components-b2b-check-out-form-phone-number-input-label'), '22222222', 'phone', '8')), h("tet-checkbox", { key: '8a2884190ad43a7fd89b92415fe11ca14ea6dac2', class: "modal-form-card-content-checkbox", label: t('components-check-out-form-privacy-policy'), theme: theme }), h("slot", { key: '8844d790a5a8c02ed2c57a3ac35942f726432245', name: "extra-fields", ref: (element) => (this.extraFieldsSlotElement = element) }))), h("div", { key: '7d2b7d17b0dacf4aa1a4a0a03936ab6a3c4f99be', slot: "footer", class: "modal-form-card-footer" }, h("tet-button", { key: '132137edb7197379947a2c3ef62a202908d83994', type: "secondary", size: "medium", theme: theme, onClick: () => {
|
|
156
156
|
this.dialogElement.close();
|
|
157
|
-
} }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: '
|
|
157
|
+
} }, t('components-b2b-check-out-form-close-button-label')), h("tet-button", { key: '49dd0e429f83fe35b01a1bb6ecc15e1019e21e77', type: "primary", size: "medium", theme: theme, onClick: () => this.handleSubmit() }, t('components-b2b-check-out-form-submit-button-label')))));
|
|
158
158
|
}
|
|
159
159
|
static get is() { return "tet-b2b-check-out-form"; }
|
|
160
160
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/basic/buttons/tet-tabs/tet-tab-content/tet-tab-content.js
CHANGED
|
@@ -172,11 +172,11 @@ export class TetTabContent {
|
|
|
172
172
|
this.selectedId = id;
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h(Host, { key: '
|
|
175
|
+
return (h(Host, { key: '52de38ecea1d89e866b2628a0b2c10c1f046f3e6' }, h("div", { key: '03a68f02feeeebeb3fc0e422f43f15c236b61487', class: {
|
|
176
176
|
'tet-tab-content': true,
|
|
177
177
|
'use-visibility': this.useVisibility,
|
|
178
178
|
[this.theme]: true
|
|
179
|
-
} }, h("slot", { key: '
|
|
179
|
+
} }, h("slot", { key: '3ca1dcf0ae33e3c1359ccf8b5e3fdb5c6c7461c8', onSlotchange: this.onSlotChange }))));
|
|
180
180
|
}
|
|
181
181
|
static get is() { return "tet-tab-content"; }
|
|
182
182
|
static get encapsulation() { return "shadow"; }
|
|
@@ -699,7 +699,7 @@ export class TetTabHeader {
|
|
|
699
699
|
}
|
|
700
700
|
render() {
|
|
701
701
|
const shouldRenderOverflowGradients = this.showOverflowGradients;
|
|
702
|
-
return (h(Host, { key: '
|
|
702
|
+
return (h(Host, { key: '31881a8c785ee9a6d5ea92c62091ba5a3753966c', "data-id-suffix": this.idSuffix }, h("div", { key: 'e53fbfa94b91f2bf6dacbb8e83e49a0ab1fbc5a8', class: {
|
|
703
703
|
'tabs': true,
|
|
704
704
|
'tabs--segmented': this.segmented,
|
|
705
705
|
'tabs--disabled': this.isSwitchDisabled,
|
|
@@ -709,7 +709,7 @@ export class TetTabHeader {
|
|
|
709
709
|
[this.theme]: true,
|
|
710
710
|
[this.sizing]: true,
|
|
711
711
|
[this.type]: !!this.type
|
|
712
|
-
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: this.isSwitchMode ? 'radiogroup' : 'tablist', "aria-label": this.isSwitchMode && this.accessibilityLabel ? this.accessibilityLabel : undefined, "aria-orientation": this.isSwitchMode ? 'horizontal' : undefined, "aria-disabled": this.isSwitchDisabled ? 'true' : undefined }, shouldRenderOverflowGradients && h("div", { key: '
|
|
712
|
+
}, onMouseDown: this.onContainerMouseDown, style: this.getStyle(), ref: (ref) => (this.tabElement = ref), role: this.isSwitchMode ? 'radiogroup' : 'tablist', "aria-label": this.isSwitchMode && this.accessibilityLabel ? this.accessibilityLabel : undefined, "aria-orientation": this.isSwitchMode ? 'horizontal' : undefined, "aria-disabled": this.isSwitchDisabled ? 'true' : undefined }, shouldRenderOverflowGradients && h("div", { key: 'c3891c0624db1e3dca0a63f118818414461f2644', class: "tabs-gradient tabs-gradient-left", "aria-hidden": "true" }), h("slot", { key: 'd495389bbd9b6e799683f89cafbb7e1fe5f63a84', onSlotchange: this.onSlotChange, ref: (slot) => (this.tabContainer = slot) }), shouldRenderOverflowGradients && h("div", { key: 'b2943ed5dd7966235f33e76f8ee43114194a015a', class: "tabs-gradient tabs-gradient-right", "aria-hidden": "true" })), h("div", { key: '148c4c36b237bb8eff2e4ce97647b4db2c5a95e7', class: {
|
|
713
713
|
'tabs-line': !this.segmented,
|
|
714
714
|
'no-underline': this.hideHeaderUnderline || this.isScrollableType,
|
|
715
715
|
[this.theme]: true
|
|
@@ -26,12 +26,12 @@ export class TetTag {
|
|
|
26
26
|
await processTranslations('tet-components', this.language);
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h(Host, { key: '
|
|
29
|
+
return (h(Host, { key: 'c0220462a6319a5cc941945c6f48043e009fe13b' }, h("button", { key: 'b80cbd789897d703af3fef8e8066c19416bcda9f', class: {
|
|
30
30
|
tag: true,
|
|
31
31
|
'tag-active': this.active,
|
|
32
32
|
'tag--icon': this.showIcon,
|
|
33
33
|
[`theme-${this.theme}`]: true,
|
|
34
|
-
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '
|
|
34
|
+
}, "aria-pressed": this.active.toString(), disabled: this.disabled }, this.tagTitle && h("p", { key: '05d1321725fec21a63cc23321c377329d22c49f9', class: "tag-title" }, t(this.tagTitle)), this.count !== null && this.count !== undefined && h("span", { key: 'b0f0f0c45c43d3ef86bfbc0b9ed5da3db9461a2e', class: "tag-count" }, this.count), this.showIcon && h("tet-icon", { key: 'c6c865f9884de258922ea6ca3070337924846c93', class: "tag-icon", name: "tc-close-circle", part: "icon-selected" }))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "tet-tag"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|
|
@@ -997,22 +997,22 @@ export class TetCarousel {
|
|
|
997
997
|
trackTransition = 'none';
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
|
-
return (h(Host, { key: '
|
|
1000
|
+
return (h(Host, { key: '629922704f141df0186d3423a0fb455a90e2dfe1' }, h("div", { key: 'f9d9abd0209e5c9c7fc261d7834d69dd75579523', class: { 'tet-carousel': true, [`${this.theme}`]: true, 'tet-carousel--unified-buttons': this.unifiedButtons }, ref: (el) => (this.container = el), part: "carousel" }, h("div", { key: '2abe411497f13ac0349ccf19d91142cebf8916fc', class: "tet-carousel__container" }, h("div", { key: 'eb4a6fe8c444c194ef16bcbfd0a1f31692e6cdb9', class: "tet-carousel__gradient-left", ref: (el) => {
|
|
1001
1001
|
this.leftGradientRef = el;
|
|
1002
|
-
} }), h("div", { key: '
|
|
1002
|
+
} }), h("div", { key: '9f9a052f04aa86c5e5bbaaa473456634f1bd0b35', class: "tet-carousel__gradient-right", ref: (el) => {
|
|
1003
1003
|
this.rightGradientRef = el;
|
|
1004
|
-
} }), h("div", { key: '
|
|
1004
|
+
} }), h("div", { key: 'a52a253c9c49cab6c136c96ea529430b2d5b29df', class: `tet-carousel__track ${showControls ? '' : 'tet-carousel__track--center'}`, ref: (el) => (this.trackElement = el), style: {
|
|
1005
1005
|
transform: `translate3d(${this.dragOffset}px, 0, 0)`,
|
|
1006
1006
|
transition: trackTransition,
|
|
1007
1007
|
willChange: 'transform'
|
|
1008
|
-
}, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: '
|
|
1008
|
+
}, onPointerDown: this.onPointerDown, onPointerUp: this.onPointerUp }, h("div", { key: 'f77114f4d8a43e306d857628d8893095d09d3d4e', class: {
|
|
1009
1009
|
'tet-carousel__track-content': true,
|
|
1010
1010
|
'tet-carousel__track-content--nudge': this.isNudgeAnimating
|
|
1011
1011
|
}, ref: (el) => (this.trackContentElement = el), style: {
|
|
1012
1012
|
'--tet-carousel-nudge-distance': `${TetCarousel.NUDGE_DISTANCE_PX}px`
|
|
1013
|
-
}, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: '
|
|
1013
|
+
}, onAnimationEnd: this.onNudgeAnimationEnd }, h("slot", { key: '6613674191c8c4278a1c170d0b3f8c979dab7a79' })))), !!this.label && h("div", { key: '2f3bccab43c5f3f1e4ebd5ecde11273679b920ac', class: "tet-carousel__label" }, this.label), showControls && (h("div", { key: 'cc7b66dbfde9b21c6a02b78f58a1a8ad65894adb', class: "tet-carousel__controls" }, showButtons && (h("div", { key: '28997495ac3ca678400ce4d6789fd6220c156412', class: "tet-carousel__buttons tet-carousel__buttons--mobile", ref: (el) => (this.mobileBackButtonWrapper = el) }, h("tet-button", { key: '7c18198fe303841fc92890ba4100897d1b423a7d', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }))), showDots && (h("div", { key: '10d73cdcc40a12cb1f36a4ed75afe4aeae8147b4', class: "tet-carousel__dots" }, Array.from({ length: this.dotCount }).map((_, idx) => (h("button", { type: "button", tabIndex: idx === this.activeDotIndex ? 0 : -1, class: `tet-carousel__dot${idx === this.activeDotIndex ? ' active' : ''}`, key: idx, "aria-label": `${idx === this.activeDotIndex
|
|
1014
1014
|
? t('components-carousel-indicator-button-active')
|
|
1015
|
-
: t('components-carousel-indicator-button')} ${idx + 1}/${this.dotCount}`, "aria-current": idx === this.activeDotIndex ? 'true' : undefined, onPointerDown: (e) => e.stopPropagation(), onKeyDown: (event) => this.handleDotKeyDown(event, idx), onClick: () => this.handleDotClick(idx) }))))), showButtons && (h("div", { key: '
|
|
1015
|
+
: t('components-carousel-indicator-button')} ${idx + 1}/${this.dotCount}`, "aria-current": idx === this.activeDotIndex ? 'true' : undefined, onPointerDown: (e) => e.stopPropagation(), onKeyDown: (event) => this.handleDotKeyDown(event, idx), onClick: () => this.handleDotClick(idx) }))))), showButtons && (h("div", { key: 'cb2aad669f5964991806a29b7e989e101ab472e1', class: "tet-carousel__buttons" }, h("tet-button", { key: 'f2e3a3d935b07f163961197936f01c8b18fe81dd', class: "tet-carousel__buttons--desktop", theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconLeft, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handlePrev(), accessibilityLabel: t('components-carousel-previous'), disabled: this.isLeftNavigationDisabled() }), h("tet-button", { key: '4afcbff5c2128e298a8989c29d9437d95f8842ec', theme: this.theme, type: "secondary", size: "medium", "icon-name": this.buttonIconRight, "icon-mode": true, onPointerDown: (e) => e.stopPropagation(), onClick: () => this.handleNext(), accessibilityLabel: t('components-carousel-next'), disabled: this.isRightNavigationDisabled() }))))))));
|
|
1016
1016
|
}
|
|
1017
1017
|
static get is() { return "tet-carousel"; }
|
|
1018
1018
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '55f39bed250b39239ea497383fe7f0e17fa1043e', class: "loader" }, h("div", { key: '37b24abef8ece9f60b4e1703ced0afa59c20590f', class: "loader-inner" })));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "tet-loader"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
|
@@ -10,7 +10,7 @@ export class TetPlaceholder {
|
|
|
10
10
|
/** The color theme of the component. */
|
|
11
11
|
darkTheme = false;
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '527b1a879684326384bcef75648c5680a868f0a5', style: { width: this.width, height: this.height } }, h("div", { key: 'f653443bba756cd89679fbce1a4ad4d3e4ebb923', class: { 'placeholder': true, 'dark-theme': this.darkTheme }, style: { height: this.height } })));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "tet-placeholder"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|
|
@@ -50,13 +50,13 @@ export class TetSpinner {
|
|
|
50
50
|
foreignObject.setAttribute('clip-path', 'url(#clip)');
|
|
51
51
|
};
|
|
52
52
|
render() {
|
|
53
|
-
return (h("div", { key: '
|
|
53
|
+
return (h("div", { key: '5d99798356a8904210121addd88a91fa2137285d', ref: element => (this.spinner = element), class: {
|
|
54
54
|
spinner: true,
|
|
55
55
|
[`${this.theme}-theme`]: true,
|
|
56
56
|
[`size--${this.size}`]: true,
|
|
57
57
|
[`spinner--${this.type}`]: true,
|
|
58
|
-
} }, h("svg", { key: '
|
|
59
|
-
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: '
|
|
58
|
+
} }, h("svg", { key: 'b3160e095dfd47f6b6d95fe92a84de2613e97e3a', viewBox: "0 0 40 40" }, h("clipPath", { key: 'ddf180fd8fc04c48f2302ad407d7a4ecd13f21ee', id: "clip" }, h("path", { key: '57213ce2049796c28afb0223649a3cf02781b40e', 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
|
|
59
|
+
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: '895a9b5681218945cad5430ad9059944f2cd3e48' }, h("div", { key: 'ec06a60cd6a76f3b432d6d4dda8ac6fb3d39cdcc', class: "spinner__gradient" })))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "tet-spinner"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
|
@@ -121,7 +121,7 @@ export class TetCountdown {
|
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
123
|
const hostClass = `static-text-color-${this.staticTextColor}`;
|
|
124
|
-
return (h(Host, { key: '
|
|
124
|
+
return (h(Host, { key: '6f0ef7af909968fff3b96351aefc53c54ae91050', class: hostClass }, this.countdownTitle && (h("div", { key: '38c6e15d83bf14132e5ac862cfde65933bda4936', class: "countdown-title", part: "title", "aria-hidden": "true" }, this.countdownTitle)), h("div", { key: 'be5eca0b19f3cfb3048c4f55eb7b6c2dc9272141', class: "countdown", part: "countdown", "aria-hidden": "true" }, this.renderUnit(this.countdown.days, this.getUnitLabel('days', this.countdown.days), 'days'), this.renderUnit(this.countdown.hours, this.getUnitLabel('hours', this.countdown.hours), 'hours'), this.renderUnit(this.countdown.minutes, this.getUnitLabel('minutes', this.countdown.minutes), 'minutes'), this.renderUnit(this.countdown.seconds, this.getUnitLabel('seconds', this.countdown.seconds), 'seconds')), h("div", { key: '15a9a22f780d8ee0edf0b0fe7058e93221477a5e', class: "sr-only" }, this.getCountdownAriaLabel())));
|
|
125
125
|
}
|
|
126
126
|
static get is() { return "tet-countdown"; }
|
|
127
127
|
static get encapsulation() { return "shadow"; }
|
|
@@ -57,9 +57,9 @@ export class TetDatepickerHeader {
|
|
|
57
57
|
this.datepickerViewChanged.emit(view);
|
|
58
58
|
};
|
|
59
59
|
render() {
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: 'c7912b856d4480b06da01d570e72adc30a176b9f', class: "header" }, this.datepickerView !== 'year'
|
|
61
61
|
? (h("div", { class: "icon-container", onClick: () => this.subtractDates() }, h("tet-icon", { class: "arrow-left", name: "tc-arrow-left" })))
|
|
62
|
-
: h("div", null), h("div", { key: '
|
|
62
|
+
: h("div", null), h("div", { key: 'eb5fdd122742a0190b07499a254ffe88539148b8', class: "control-button", onClick: () => this.changeDatepickerView() }, this.getControlButtonDate(), h("tet-icon", { key: '3df1e0f607f054ec6053ed56f815450f97def3ce', class: "chevron-down", name: this.datepickerView === 'month' ? 'tc-chevron-down' : 'tc-chevron-up' })), this.datepickerView !== 'year'
|
|
63
63
|
? (h("div", { class: "icon-container", onClick: () => this.addDates() }, h("tet-icon", { class: "arrow-left", name: "tc-arrow-right" })))
|
|
64
64
|
: h("div", null)));
|
|
65
65
|
}
|
|
@@ -162,7 +162,7 @@ export class TetDatepickerMonthView {
|
|
|
162
162
|
};
|
|
163
163
|
};
|
|
164
164
|
render() {
|
|
165
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '2b18bdb791bc02d03c9a0c62b7cad408d6299937' }, h("div", { key: '18b0cb2ecf3d1861d7d2fd5058d31c41c80bb567', class: "weekday-header" }, this.days.map((day) => h("div", { class: "day" }, day))), h("div", { key: 'e76a0e676672c8dfdd7d1ff82934c461df0d0e70', 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))))));
|
|
166
166
|
}
|
|
167
167
|
static get is() { return "tet-datepicker-month-view"; }
|
|
168
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -32,7 +32,7 @@ export class TetDatepickerMultiYearView {
|
|
|
32
32
|
return { year: true, current: year === currentYear, selected: this.isSelectedYear(year) };
|
|
33
33
|
};
|
|
34
34
|
render() {
|
|
35
|
-
return (h("div", { key: '
|
|
35
|
+
return (h("div", { key: '441d0ac145ae44c4432686dcc22021ad42c314a9', class: "container" }, this.years.map((year) => h("div", { class: this.getYearClasses(year), onClick: () => this.handleYearSelection(year) }, year))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "tet-datepicker-multi-year-view"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class TetDatepickerYearView {
|
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '96643e9b5aea2cff467f4d836ccf1c145d44e306', class: "container" }, this.months.map((month, index) => h("div", { class: "month-container" }, h("div", { class: this.getMonthClasses(index), onClick: () => this.handleMonthSelection(index) }, month)))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "tet-datepicker-year-view"; }
|
|
45
45
|
static get encapsulation() { return "shadow"; }
|
|
@@ -108,10 +108,10 @@ export class TetDatepicker {
|
|
|
108
108
|
return { overlay: true, closed: !this.isOpen, 'overlay-effect': this.overlayEffect };
|
|
109
109
|
};
|
|
110
110
|
render() {
|
|
111
|
-
return (h("div", { key: '
|
|
112
|
-
h("tet-datepicker-month-view", { key: '
|
|
113
|
-
h("tet-datepicker-multi-year-view", { key: '
|
|
114
|
-
h("tet-datepicker-year-view", { key: '
|
|
111
|
+
return (h("div", { key: '707f87222476023f76c62f105123a2a72b52acf2', class: this.getOverlayClasses(), onClick: this.handleDatepickerClose }, h("div", { key: '54e0dabce50cf196ac85bd47ef8a0c6d14d03358', class: "container", ref: (el) => this.datepickerContainer = el }, h("tet-datepicker-header", { key: '5563c731b866ca3010d86075ec7d1f93c0cc7b35', selectedDate: this.date, internalDate: this.internalDate, locale: this.locale, datepickerView: this.datepickerView }), this.datepickerView === 'month' &&
|
|
112
|
+
h("tet-datepicker-month-view", { key: '3f49a900f5eee573bed6be5e57324caf57c10dc3', selectedDate: this.date, internalDate: this.internalDate, rangePickerMode: this.rangePickerMode, rangeDates: this.rangeDates }), this.datepickerView === 'multi-year' &&
|
|
113
|
+
h("tet-datepicker-multi-year-view", { key: '2142b41a51f2a136df2134d61bccc84a05414971', selectedDate: this.date, internalDate: this.internalDate }), this.datepickerView === 'year' &&
|
|
114
|
+
h("tet-datepicker-year-view", { key: '782176c62c793a73ca64c790d502e705d7906a97', selectedDate: this.date, internalDate: this.internalDate }))));
|
|
115
115
|
}
|
|
116
116
|
static get is() { return "tet-datepicker"; }
|
|
117
117
|
static get encapsulation() { return "shadow"; }
|