@tet/tet-components 1.3.90-testing → 1.3.91-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{address-d2b7628d.js → address-f800d248.js} +1 -1
- package/dist/cjs/{assets-cf19c33d.js → assets-dbbd6868.js} +1 -1
- package/dist/cjs/{async-request-433f54e5.js → async-request-651012cd.js} +1 -1
- package/dist/cjs/{http-codes-c2a24ff3.js → http-codes-7221e231.js} +1 -1
- package/dist/cjs/{index-84ede372.js → index-cac5ef8f.js} +1 -1
- package/dist/cjs/{index-f559cb2e.js → index-d323e22a.js} +17 -9
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{old-utils-1a20fe25.js → old-utils-71d2c672.js} +1 -1
- package/dist/cjs/{phone-c264803a.js → phone-b5021632.js} +2 -2
- package/dist/cjs/tet-accordion.cjs.entry.js +7 -7
- package/dist/cjs/{tet-address-offers-filters-products_4.cjs.entry.js → tet-address-offers-filters-products_3.cjs.entry.js} +6 -31
- package/dist/cjs/tet-address-offers-view.cjs.entry.js +4 -4
- package/dist/cjs/tet-address-offers_4.cjs.entry.js +10 -10
- package/dist/cjs/tet-address-search.cjs.entry.js +26 -28
- package/dist/cjs/tet-asset-addresses.cjs.entry.js +4 -4
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +7 -7
- package/dist/cjs/tet-b2b-service-calculator.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 +4 -4
- package/dist/cjs/tet-border-radius.cjs.entry.js +2 -2
- package/dist/cjs/tet-business-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +3 -3
- package/dist/cjs/tet-business-lines.cjs.entry.js +5 -5
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-button.cjs.entry.js +2 -2
- package/dist/cjs/tet-card-list.cjs.entry.js +5 -5
- package/dist/cjs/tet-carousel.cjs.entry.js +3 -3
- package/dist/cjs/tet-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +5 -5
- 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-cards-tab.cjs.entry.js +4 -4
- package/dist/cjs/tet-compare-cards_2.cjs.entry.js +6 -6
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-contact-form.cjs.entry.js +6 -6
- package/dist/cjs/tet-contact-info.cjs.entry.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-customer-assets.cjs.entry.js +4 -4
- 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 +4 -4
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +245 -0
- package/dist/cjs/tet-expandable-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +2 -2
- package/dist/cjs/tet-filter.cjs.entry.js +46 -0
- 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 +3 -3
- package/dist/cjs/tet-input.cjs.entry.js +3 -3
- package/dist/cjs/tet-label.cjs.entry.js +5 -5
- package/dist/cjs/tet-layout.cjs.entry.js +2 -2
- package/dist/cjs/tet-link.cjs.entry.js +2 -2
- package/dist/cjs/tet-loader.cjs.entry.js +2 -2
- package/dist/cjs/tet-macd-view.cjs.entry.js +7 -7
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +2 -2
- package/dist/cjs/tet-menu.cjs.entry.js +2 -2
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
- package/dist/cjs/tet-news-card-list.cjs.entry.js +2 -2
- package/dist/cjs/tet-notification.cjs.entry.js +2 -2
- package/dist/cjs/tet-number-input_2.cjs.entry.js +6 -6
- package/dist/cjs/tet-placeholder.cjs.entry.js +2 -2
- package/dist/cjs/tet-price-view.cjs.entry.js +118 -84
- package/dist/cjs/tet-radio.cjs.entry.js +2 -2
- package/dist/cjs/tet-range-slider_2.cjs.entry.js +9 -9
- package/dist/cjs/tet-referral.cjs.entry.js +7 -7
- package/dist/cjs/tet-round-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-spacing.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper-v2.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +2 -2
- package/dist/cjs/tet-stepper.cjs.entry.js +2 -2
- package/dist/cjs/tet-tab-header.cjs.entry.js +3 -3
- package/dist/cjs/tet-table.cjs.entry.js +2 -2
- package/dist/cjs/{tet-tag.cjs.entry.js → tet-tag_2.cjs.entry.js} +31 -6
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +3 -3
- package/dist/cjs/tet-thank-you-view-v2.cjs.entry.js +4 -4
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
- package/dist/cjs/tet-thank-you-view.cjs.entry.js +2 -2
- package/dist/cjs/tet-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-block.cjs.entry.js +2 -2
- package/dist/cjs/tet-tv-gift-list.cjs.entry.js +3 -3
- package/dist/cjs/{theme-wrapper-a5bbadf6.js → theme-wrapper-a1abdef5.js} +2 -2
- package/dist/cjs/{translations-571bba05.js → translations-819a9427.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/advanced/address/tet-address-offers-filters/tet-address-offers-filters.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-offers-filters-products/tet-address-offers-filters-products.js +1 -1
- package/dist/collection/components/advanced/address/tet-address-search/tet-address-search.js +22 -24
- package/dist/collection/components/advanced/address/tet-autocomplete/tet-autocomplete.js +3 -3
- package/dist/collection/components/advanced/address/tet-autocomplete-dropdown/tet-autocomplete-dropdown.js +1 -1
- package/dist/collection/components/advanced/cards/tet-business-card/tet-business-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-business-compare-card/tet-business-compare-card.js +2 -2
- package/dist/collection/components/advanced/cards/tet-card-list/tet-card-list.js +4 -4
- package/dist/collection/components/advanced/cards/tet-compare-cards/tet-compare-cards.js +1 -1
- package/dist/collection/components/advanced/cards/tet-compare-cards-tab/tet-compare-cards-tab.js +1 -1
- package/dist/collection/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.css +332 -0
- package/dist/collection/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.js +654 -0
- package/dist/collection/components/advanced/customer/tet-asset-addresses/tet-asset-addresses.js +1 -1
- package/dist/collection/components/advanced/customer/tet-asset-availability-addresses/tet-asset-availability-addresses.js +1 -1
- package/dist/collection/components/advanced/customer/tet-customer-assets/tet-customer-assets.js +1 -1
- package/dist/collection/components/advanced/customer/tet-referral/tet-referral.js +2 -2
- 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-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-button/tet-button.js +1 -1
- package/dist/collection/components/basic/buttons/tet-checkbox/tet-checkbox.js +1 -1
- package/dist/collection/components/basic/buttons/tet-radio/tet-radio.js +1 -1
- package/dist/collection/components/basic/buttons/tet-switch/tet-switch.js +1 -1
- 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 +2 -2
- package/dist/collection/components/basic/container/tet-container/tet-container.js +2 -2
- 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/basic/steppers/tet-business-round-stepper/tet-business-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-round-stepper/tet-round-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper/tet-stepper.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v2/tet-stepper-v2.js +1 -1
- package/dist/collection/components/basic/steppers/tet-stepper-v3/tet-stepper-v3.js +1 -1
- package/dist/collection/components/simple/filter/tet-filter/tet-filter.css +410 -0
- package/dist/collection/components/simple/filter/tet-filter/tet-filter.js +160 -0
- 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.js +1 -1
- package/dist/collection/components/simple/inputs/tet-expandable-input/tet-expandable-input.js +2 -2
- package/dist/collection/components/simple/inputs/tet-number-input/tet-number-input.js +2 -2
- 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-selection-list/tet-selection-list.js +1 -1
- package/dist/collection/components/simple/menu/tet-menu/tet-menu.js +1 -1
- package/dist/collection/components/simple/menu/tet-menu-mobile/tet-menu-mobile.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 +6 -6
- package/dist/collection/components/simple/structural/tet-expansion-panel/tet-expansion-panel.js +1 -1
- package/dist/collection/components/simple/tables-and-graphs/tet-bar-graph/tet-bar-graph.js +3 -3
- package/dist/collection/components/simple/tables-and-graphs/tet-table/tet-table.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-cloud-application-form-dialog/tet-cloud-application-form-dialog.js +2 -2
- package/dist/collection/components/simple/text-blocks/tet-dialog/tet-dialog.js +1 -1
- package/dist/collection/components/simple/text-blocks/tet-inline-message/tet-inline-message.js +2 -2
- 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-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/components/views/tet-contact-info/tet-contact-info.js +1 -1
- package/dist/collection/components/views/tet-macd-view/tet-macd-view.js +1 -1
- package/dist/collection/components/views/tet-price-view/tet-price-view.css +9 -5
- package/dist/collection/components/views/tet-price-view/tet-price-view.js +116 -82
- package/dist/collection/components/views/tet-thank-you-view/tet-thank-you-view.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v2/tet-thank-you-view-v2.js +1 -1
- package/dist/collection/components/views/tet-thank-you-view-v3/tet-thank-you-view-v3.js +1 -1
- package/dist/collection/docs/styling/border-radius/tet-border-radius.js +1 -1
- package/dist/collection/docs/styling/colors/tet-colors.js +4 -4
- package/dist/collection/docs/styling/font-weight/tet-font-weight.js +1 -1
- package/dist/collection/docs/styling/fonts/tet-fonts.js +1 -1
- package/dist/collection/docs/styling/layout/tet-layout.js +1 -1
- package/dist/collection/docs/styling/link/tet-link.js +1 -1
- package/dist/collection/docs/styling/spacing/tet-spacing.js +1 -1
- package/dist/collection/docs/styling/tet-grid/tet-grid.js +1 -1
- package/dist/components/index.js +5 -1
- package/dist/components/{p-5e5e2378.js → p-0a2c673b.js} +11 -11
- package/dist/components/{p-8de02db3.js → p-0da9bb5e.js} +1 -1
- package/dist/components/{p-9d6df162.js → p-160a05e0.js} +6 -6
- package/dist/components/{p-a127b5a9.js → p-21840a0e.js} +5 -5
- package/dist/components/{p-8bc9ed46.js → p-2a21077d.js} +2 -2
- package/dist/components/{p-aa90e33b.js → p-2c88aea8.js} +1 -1
- package/dist/components/{p-570f5c5c.js → p-2e82886e.js} +2 -2
- package/dist/components/{p-1cac5e2d.js → p-3025046c.js} +2 -2
- package/dist/components/{p-60144e74.js → p-34465909.js} +2 -2
- package/dist/components/{p-fd4f2fd4.js → p-365f8e20.js} +4 -4
- package/dist/components/{p-c0abba70.js → p-3ed47651.js} +7 -7
- package/dist/components/{p-8038eca2.js → p-3f6dc9b2.js} +32 -34
- package/dist/components/{p-9fd01e23.js → p-46035e46.js} +3 -3
- package/dist/components/{p-2d310087.js → p-4b626d8b.js} +3 -3
- package/dist/components/{p-b215fe36.js → p-4e278314.js} +3 -3
- package/dist/components/{p-ea771f64.js → p-52f95904.js} +3 -3
- package/dist/components/{p-58e2a406.js → p-5356d6ea.js} +3 -3
- package/dist/components/{p-37ed3ebb.js → p-5749376d.js} +1 -1
- package/dist/components/{p-72dc8bb7.js → p-5ba028f4.js} +2 -2
- package/dist/components/{p-e49897ca.js → p-68379b02.js} +5 -5
- package/dist/components/{p-39a72ff0.js → p-71138ef7.js} +4 -4
- package/dist/components/{p-1952daa9.js → p-793706a3.js} +7 -7
- package/dist/components/{p-505538ab.js → p-7ff9c172.js} +4 -4
- package/dist/components/{p-195cefb5.js → p-813a10ca.js} +2 -2
- package/dist/components/{p-233eaf5d.js → p-8346427e.js} +10 -10
- package/dist/components/{p-a0d406ca.js → p-8f91eb96.js} +1 -1
- package/dist/components/{p-e0e2d2e4.js → p-940e62d9.js} +10 -10
- package/dist/components/{p-f854817f.js → p-975cf3f9.js} +2 -2
- package/dist/components/{p-67657579.js → p-97d2c4a4.js} +3 -3
- package/dist/components/{p-ff9b7dae.js → p-9e83bce2.js} +3 -3
- package/dist/components/{p-c5705423.js → p-a1be49b6.js} +2 -2
- package/dist/components/{p-9fc1fda3.js → p-b45f25dc.js} +3 -3
- package/dist/components/{p-718290ba.js → p-b6a1eba5.js} +1 -1
- package/dist/components/{p-2c70ca9e.js → p-ba2b4e4a.js} +4 -4
- package/dist/components/{p-eeb3391e.js → p-bbf02f3d.js} +14 -14
- package/dist/components/{p-bbd89b0f.js → p-c6983a78.js} +8 -8
- package/dist/components/{p-6f457b76.js → p-c843c652.js} +2 -2
- package/dist/components/{p-1a8c88e6.js → p-c8af3050.js} +5 -5
- package/dist/components/{p-8c37c237.js → p-d0537f8e.js} +2 -2
- package/dist/components/{p-1b7e89c0.js → p-d4342c50.js} +1 -1
- package/dist/components/{p-6a78c61b.js → p-d48c937f.js} +2 -2
- package/dist/components/{p-dd23e2fa.js → p-d723f59d.js} +8 -8
- package/dist/components/{p-ac12bd59.js → p-dbaecfbf.js} +3 -3
- package/dist/components/{p-574d8623.js → p-dbd46bd4.js} +6 -6
- package/dist/components/{p-9902eef0.js → p-dd27bf8c.js} +2 -2
- package/dist/components/{p-ed63de8a.js → p-e2135eef.js} +2 -2
- package/dist/components/{p-74b93686.js → p-e2516898.js} +2 -2
- package/dist/components/p-e9653705.js +204 -0
- package/dist/components/{p-d3236077.js → p-ed9d4ac5.js} +1 -1
- package/dist/components/{p-2146439d.js → p-f26f7498.js} +3 -3
- package/dist/components/{p-6e95c577.js → p-f77caae1.js} +3 -3
- package/dist/components/tet-accordion.js +8 -8
- 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 +26 -26
- 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 +14 -14
- package/dist/components/tet-asset-availability-addresses.js +1 -1
- package/dist/components/tet-autocomplete-dropdown.js +6 -6
- package/dist/components/tet-autocomplete.js +1 -1
- package/dist/components/tet-availability-contact-form.js +1 -1
- package/dist/components/tet-b2b-service-calculator.js +9 -9
- package/dist/components/tet-banner-nav.js +3 -3
- package/dist/components/tet-bar-graph.js +4 -4
- package/dist/components/tet-border-radius.js +2 -2
- package/dist/components/tet-business-card.js +3 -3
- package/dist/components/tet-business-compare-card.js +5 -5
- package/dist/components/tet-business-lines.js +6 -6
- package/dist/components/tet-business-round-stepper.js +3 -3
- package/dist/components/tet-button.js +1 -1
- package/dist/components/tet-card-list.js +1 -1
- package/dist/components/tet-carousel.js +5 -5
- package/dist/components/tet-checkbox.js +1 -1
- package/dist/components/tet-cloud-application-form-dialog.js +10 -10
- package/dist/components/tet-cloud-configurator.js +11 -11
- package/dist/components/tet-colors.js +5 -5
- package/dist/components/tet-compare-card.js +1 -1
- package/dist/components/tet-compare-cards-tab.js +16 -16
- package/dist/components/tet-compare-cards.js +1 -1
- package/dist/components/tet-contact-form.js +10 -10
- package/dist/components/tet-contact-info.js +2 -2
- package/dist/components/tet-container.js +1 -1
- package/dist/components/tet-customer-assets.js +9 -9
- package/dist/components/tet-datepicker-header.js +1 -1
- package/dist/components/tet-datepicker-month-view.js +1 -1
- package/dist/components/tet-datepicker-multi-year-view.js +1 -1
- package/dist/components/tet-datepicker-year-view.js +1 -1
- package/dist/components/tet-datepicker.js +10 -10
- package/dist/components/tet-dialog.js +1 -1
- package/dist/components/tet-dropdown.js +1 -1
- package/dist/components/tet-dynamic-card.d.ts +11 -0
- package/dist/components/tet-dynamic-card.js +302 -0
- package/dist/components/tet-expandable-input.js +5 -5
- package/dist/components/tet-expansion-panel.js +2 -2
- package/dist/components/tet-filter.d.ts +11 -0
- package/dist/components/tet-filter.js +86 -0
- package/dist/components/tet-font-weight.js +2 -2
- package/dist/components/tet-fonts.js +2 -2
- package/dist/components/tet-grid.js +2 -2
- package/dist/components/tet-icon.js +1 -1
- package/dist/components/tet-inline-message.js +4 -4
- package/dist/components/tet-input.js +1 -1
- package/dist/components/tet-label.js +5 -5
- package/dist/components/tet-layout.js +2 -2
- package/dist/components/tet-link.js +2 -2
- package/dist/components/tet-loader.js +1 -1
- package/dist/components/tet-macd-view.js +12 -12
- package/dist/components/tet-menu-mobile.js +3 -3
- package/dist/components/tet-menu.js +3 -3
- package/dist/components/tet-multi-step-dialog.js +6 -6
- package/dist/components/tet-navigation-mobile.js +5 -5
- package/dist/components/tet-news-card-list.js +5 -5
- 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-price-view.js +1 -168
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-referral.js +9 -9
- package/dist/components/tet-round-stepper.js +3 -3
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-spacing.js +2 -2
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v2.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-stepper.js +1 -1
- package/dist/components/tet-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 +4 -4
- 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 +3 -3
- package/dist/components/tet-thank-you-view-v2.js +6 -6
- package/dist/components/tet-thank-you-view-v3.js +6 -6
- package/dist/components/tet-thank-you-view.js +5 -5
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/components/tet-tv-gift-block.js +2 -2
- package/dist/components/tet-tv-gift-list.js +4 -4
- package/dist/esm/{address-6bae95f7.js → address-831d7f2b.js} +1 -1
- package/dist/esm/{assets-9f343e6e.js → assets-f127b411.js} +1 -1
- package/dist/esm/{async-request-5b1897cb.js → async-request-c6a64673.js} +1 -1
- package/dist/esm/{http-codes-03b4e7fe.js → http-codes-dfcbf3f3.js} +1 -1
- package/dist/esm/{index-7f1e2a22.js → index-8ac89426.js} +17 -9
- package/dist/esm/{index-1bf36cb9.js → index-a7cd7688.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{old-utils-13592797.js → old-utils-65209321.js} +1 -1
- package/dist/esm/{phone-36ef7090.js → phone-8bb9a3bb.js} +2 -2
- package/dist/esm/tet-accordion.entry.js +7 -7
- package/dist/esm/{tet-address-offers-filters-products_4.entry.js → tet-address-offers-filters-products_3.entry.js} +7 -31
- package/dist/esm/tet-address-offers-view.entry.js +5 -5
- package/dist/esm/tet-address-offers_4.entry.js +11 -11
- package/dist/esm/tet-address-search.entry.js +27 -29
- package/dist/esm/tet-asset-addresses.entry.js +4 -4
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete_2.entry.js +8 -8
- package/dist/esm/tet-b2b-service-calculator.entry.js +5 -5
- package/dist/esm/tet-banner-nav.entry.js +4 -4
- package/dist/esm/tet-bar-graph.entry.js +4 -4
- package/dist/esm/tet-border-radius.entry.js +2 -2
- package/dist/esm/tet-business-card.entry.js +3 -3
- package/dist/esm/tet-business-compare-card.entry.js +3 -3
- package/dist/esm/tet-business-lines.entry.js +6 -6
- package/dist/esm/tet-business-round-stepper.entry.js +2 -2
- package/dist/esm/tet-button.entry.js +2 -2
- package/dist/esm/tet-card-list.entry.js +5 -5
- package/dist/esm/tet-carousel.entry.js +3 -3
- package/dist/esm/tet-checkbox.entry.js +2 -2
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +6 -6
- package/dist/esm/tet-cloud-configurator.entry.js +4 -4
- package/dist/esm/tet-colors.entry.js +5 -5
- package/dist/esm/tet-compare-cards-tab.entry.js +4 -4
- package/dist/esm/tet-compare-cards_2.entry.js +6 -6
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-contact-form.entry.js +7 -7
- package/dist/esm/tet-contact-info.entry.js +2 -2
- package/dist/esm/tet-container_2.entry.js +5 -5
- package/dist/esm/tet-customer-assets.entry.js +4 -4
- package/dist/esm/tet-datepicker-header_4.entry.js +7 -7
- package/dist/esm/tet-datepicker.entry.js +6 -6
- package/dist/esm/tet-dialog.entry.js +5 -5
- package/dist/esm/tet-dynamic-card.entry.js +241 -0
- package/dist/esm/tet-expandable-input.entry.js +3 -3
- package/dist/esm/tet-expansion-panel.entry.js +2 -2
- package/dist/esm/tet-filter.entry.js +42 -0
- 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 +3 -3
- package/dist/esm/tet-input.entry.js +4 -4
- package/dist/esm/tet-label.entry.js +6 -6
- package/dist/esm/tet-layout.entry.js +2 -2
- package/dist/esm/tet-link.entry.js +2 -2
- package/dist/esm/tet-loader.entry.js +2 -2
- package/dist/esm/tet-macd-view.entry.js +8 -8
- package/dist/esm/tet-menu-mobile.entry.js +2 -2
- package/dist/esm/tet-menu.entry.js +2 -2
- package/dist/esm/tet-multi-step-dialog.entry.js +5 -5
- package/dist/esm/tet-navigation-mobile.entry.js +4 -4
- package/dist/esm/tet-news-card-list.entry.js +2 -2
- package/dist/esm/tet-notification.entry.js +2 -2
- package/dist/esm/tet-number-input_2.entry.js +7 -7
- package/dist/esm/tet-placeholder.entry.js +2 -2
- package/dist/esm/tet-price-view.entry.js +118 -84
- package/dist/esm/tet-radio.entry.js +2 -2
- package/dist/esm/tet-range-slider_2.entry.js +9 -9
- package/dist/esm/tet-referral.entry.js +8 -8
- package/dist/esm/tet-round-stepper.entry.js +2 -2
- package/dist/esm/tet-spacing.entry.js +2 -2
- package/dist/esm/tet-stepper-v2.entry.js +2 -2
- package/dist/esm/tet-stepper-v3.entry.js +2 -2
- package/dist/esm/tet-stepper.entry.js +2 -2
- package/dist/esm/tet-tab-header.entry.js +3 -3
- package/dist/esm/tet-table.entry.js +2 -2
- package/dist/esm/{tet-tag.entry.js → tet-tag_2.entry.js} +31 -7
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +3 -3
- package/dist/esm/tet-thank-you-view-v2.entry.js +5 -5
- package/dist/esm/tet-thank-you-view-v3.entry.js +5 -5
- package/dist/esm/tet-thank-you-view.entry.js +2 -2
- package/dist/esm/tet-tooltip.entry.js +2 -2
- package/dist/esm/tet-tv-gift-block.entry.js +2 -2
- package/dist/esm/tet-tv-gift-list.entry.js +3 -3
- package/dist/esm/{theme-wrapper-6e6b2089.js → theme-wrapper-de71af98.js} +2 -2
- package/dist/esm/{translations-e2047d6d.js → translations-ff288b3c.js} +2 -2
- package/dist/esm/{typecheck-4abf0258.js → typecheck-31fd6c02.js} +1 -1
- package/dist/tet-components/p-0790dea0.entry.js +1 -0
- package/dist/tet-components/{p-baf9687e.entry.js → p-07d64dfb.entry.js} +1 -1
- package/dist/tet-components/{p-99dfcd9d.entry.js → p-0c2a6941.entry.js} +1 -1
- package/dist/tet-components/{p-1b545c54.entry.js → p-1421d6b3.entry.js} +1 -1
- package/dist/tet-components/{p-fd4d1ca5.js → p-18c16e72.js} +1 -1
- package/dist/tet-components/{p-239465ee.entry.js → p-197ee900.entry.js} +1 -1
- package/dist/tet-components/{p-d1608c63.js → p-1d59aac8.js} +1 -1
- package/dist/tet-components/p-21be240f.entry.js +1 -0
- package/dist/tet-components/{p-a03ebbd7.entry.js → p-27fcc282.entry.js} +1 -1
- package/dist/tet-components/{p-b756636e.entry.js → p-2a107de0.entry.js} +1 -1
- package/dist/tet-components/{p-6b2ba8bc.entry.js → p-2adf61ca.entry.js} +1 -1
- package/dist/tet-components/{p-739b8b0b.entry.js → p-2bc48f0b.entry.js} +1 -1
- package/dist/tet-components/{p-a3524932.entry.js → p-2fde91be.entry.js} +1 -1
- package/dist/tet-components/{p-b3f28b76.entry.js → p-2fe86c52.entry.js} +1 -1
- package/dist/tet-components/{p-44bd9249.js → p-320cdec7.js} +1 -1
- package/dist/tet-components/{p-b1b5ba69.entry.js → p-361b8718.entry.js} +1 -1
- package/dist/tet-components/{p-cd2a7a99.entry.js → p-36deb588.entry.js} +1 -1
- package/dist/tet-components/{p-fd3b7d67.entry.js → p-37ba2bee.entry.js} +1 -1
- package/dist/tet-components/{p-faaf4f9e.entry.js → p-3dd6ba70.entry.js} +1 -1
- package/dist/tet-components/{p-9eafff73.entry.js → p-3ebb7712.entry.js} +1 -1
- package/dist/tet-components/{p-e5ecf291.entry.js → p-3f37b437.entry.js} +1 -1
- package/dist/tet-components/{p-ee151ec4.entry.js → p-3f930a68.entry.js} +1 -1
- package/dist/tet-components/{p-66ae2229.entry.js → p-3f9d700a.entry.js} +1 -1
- package/dist/tet-components/{p-a534c221.entry.js → p-414bda92.entry.js} +1 -1
- package/dist/tet-components/{p-afdf0143.entry.js → p-4558e50a.entry.js} +1 -1
- package/dist/tet-components/{p-4b3fc9e2.entry.js → p-48b5a7d3.entry.js} +1 -1
- package/dist/tet-components/{p-d51fb8f0.entry.js → p-4a57690d.entry.js} +1 -1
- package/dist/tet-components/{p-ea2b3ea1.js → p-4c7683cf.js} +1 -1
- package/dist/tet-components/p-4f924069.entry.js +1 -0
- package/dist/tet-components/p-50166859.entry.js +1 -0
- package/dist/tet-components/{p-54a54f63.entry.js → p-5487475b.entry.js} +1 -1
- package/dist/tet-components/{p-9eb9a289.entry.js → p-57a0491b.entry.js} +1 -1
- package/dist/tet-components/{p-66eaa633.js → p-5a05fdcc.js} +1 -1
- package/dist/tet-components/{p-e65a947c.entry.js → p-5b31051b.entry.js} +1 -1
- package/dist/tet-components/p-5c48423e.entry.js +1 -0
- package/dist/tet-components/{p-b34f4fd9.entry.js → p-5edb6085.entry.js} +1 -1
- package/dist/tet-components/{p-b48fe909.entry.js → p-61c233ef.entry.js} +1 -1
- package/dist/tet-components/{p-d25e2676.entry.js → p-64283c41.entry.js} +1 -1
- package/dist/tet-components/{p-1c99e6c2.entry.js → p-676b0b24.entry.js} +1 -1
- package/dist/tet-components/{p-1ec7f341.js → p-67c5dc0a.js} +1 -1
- package/dist/tet-components/{p-c4f3ffee.entry.js → p-68746ae4.entry.js} +1 -1
- package/dist/tet-components/{p-62e8511d.entry.js → p-6887d30e.entry.js} +1 -1
- package/dist/tet-components/{p-ef909de3.js → p-6b127571.js} +1 -1
- package/dist/tet-components/p-6c7df4e7.entry.js +1 -0
- package/dist/tet-components/{p-66648344.entry.js → p-7821af66.entry.js} +1 -1
- package/dist/tet-components/{p-ebeb43ef.entry.js → p-84957e6d.entry.js} +1 -1
- package/dist/tet-components/{p-670d3ba6.entry.js → p-87ffd0eb.entry.js} +1 -1
- package/dist/tet-components/{p-3b5a822d.entry.js → p-881317a4.entry.js} +1 -1
- package/dist/tet-components/{p-11d5cdb7.entry.js → p-8ba094c1.entry.js} +1 -1
- package/dist/tet-components/{p-130e62cf.entry.js → p-8e43b2c9.entry.js} +1 -1
- package/dist/tet-components/{p-1338b2c9.entry.js → p-8f0e5262.entry.js} +1 -1
- package/dist/tet-components/{p-81ea07a1.entry.js → p-94d85410.entry.js} +1 -1
- package/dist/tet-components/{p-82a0bc71.entry.js → p-96f2711a.entry.js} +1 -1
- package/dist/tet-components/{p-eb79c22a.entry.js → p-9a0b394c.entry.js} +1 -1
- package/dist/tet-components/{p-71be8e98.entry.js → p-a2ca3fbd.entry.js} +1 -1
- package/dist/tet-components/{p-3527768f.entry.js → p-a46f25c3.entry.js} +1 -1
- package/dist/tet-components/{p-e5a15112.entry.js → p-ac67729e.entry.js} +1 -1
- package/dist/tet-components/{p-5786fab1.entry.js → p-ac6aaa07.entry.js} +1 -1
- package/dist/tet-components/{p-74682080.entry.js → p-ac7cbacd.entry.js} +1 -1
- package/dist/tet-components/{p-138065a5.entry.js → p-ad723a83.entry.js} +1 -1
- package/dist/tet-components/{p-4bee4cc4.entry.js → p-af0ce418.entry.js} +1 -1
- package/dist/tet-components/{p-d67850cc.entry.js → p-b0035b9e.entry.js} +1 -1
- package/dist/tet-components/{p-c3d09fd0.entry.js → p-b0ad6fa8.entry.js} +1 -1
- package/dist/tet-components/{p-25498380.entry.js → p-b3335236.entry.js} +1 -1
- package/dist/tet-components/p-b604ca3e.js +1 -0
- package/dist/tet-components/{p-383bae84.entry.js → p-b6682ae8.entry.js} +1 -1
- package/dist/tet-components/{p-10271e23.entry.js → p-b9905359.entry.js} +1 -1
- package/dist/tet-components/{p-937242c6.entry.js → p-ba977e8f.entry.js} +1 -1
- package/dist/tet-components/{p-77372984.js → p-baa9231f.js} +1 -1
- package/dist/tet-components/{p-8d01373f.entry.js → p-c16f599f.entry.js} +1 -1
- package/dist/tet-components/{p-be37c2ef.entry.js → p-c1ee306c.entry.js} +1 -1
- package/dist/tet-components/{p-3358dc16.entry.js → p-c2c96303.entry.js} +1 -1
- package/dist/tet-components/{p-816428cd.entry.js → p-cd13a9e5.entry.js} +1 -1
- package/dist/tet-components/p-d0d6a340.js +1 -0
- package/dist/tet-components/{p-09a7f550.entry.js → p-d81c7569.entry.js} +1 -1
- package/dist/tet-components/{p-0edddbd6.entry.js → p-d9668257.entry.js} +1 -1
- package/dist/tet-components/{p-b831146e.entry.js → p-e398b65a.entry.js} +1 -1
- package/dist/tet-components/{p-82bd28b4.js → p-e649ab36.js} +1 -1
- package/dist/tet-components/{p-af16e30a.entry.js → p-e6aed38d.entry.js} +1 -1
- package/dist/tet-components/{p-8ec02104.entry.js → p-e9cb676e.entry.js} +1 -1
- package/dist/tet-components/{p-15309672.entry.js → p-ea8fa585.entry.js} +1 -1
- package/dist/tet-components/{p-1420c858.entry.js → p-f6532c63.entry.js} +1 -1
- package/dist/tet-components/{p-0bd0aca6.entry.js → p-fb60b92b.entry.js} +1 -1
- package/dist/tet-components/p-fb836712.entry.js +1 -0
- package/dist/tet-components/{p-f793ec04.entry.js → p-fb90f240.entry.js} +1 -1
- package/dist/tet-components/{p-e96daa21.entry.js → p-fc75f3a3.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/advanced/address/tet-address-search/tet-address-search.d.ts +0 -5
- package/dist/types/components/advanced/address/tet-autocomplete/tet-autocomplete.d.ts +1 -0
- package/dist/types/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.d.ts +101 -0
- package/dist/types/components/simple/filter/tet-filter/tet-filter.d.ts +33 -0
- package/dist/types/components.d.ts +278 -4
- package/package.json +1 -1
- package/dist/tet-components/p-041113bf.entry.js +0 -1
- package/dist/tet-components/p-2f051837.entry.js +0 -1
- package/dist/tet-components/p-3778eb73.entry.js +0 -1
- package/dist/tet-components/p-9a2b6ee2.js +0 -1
- package/dist/tet-components/p-b2b384d2.js +0 -1
- package/dist/tet-components/p-c46b5a3a.entry.js +0 -1
- package/dist/tet-components/p-d980c816.entry.js +0 -1
|
@@ -0,0 +1,654 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* Dynamic card component that displays content in a card format with optional image,
|
|
4
|
+
* price, tags, and action button.
|
|
5
|
+
*
|
|
6
|
+
* @part card - The main card container
|
|
7
|
+
* @part image - The image container
|
|
8
|
+
* @part content - The content container
|
|
9
|
+
* @part title - The title element
|
|
10
|
+
* @part subtitle - The subtitle element
|
|
11
|
+
* @part button - The action button container
|
|
12
|
+
* @part tags - The tags container
|
|
13
|
+
*/
|
|
14
|
+
export class TetDynamicCard {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.priceViewRef = null;
|
|
17
|
+
this.buttonRef = null;
|
|
18
|
+
this.dateTagColorRef = null;
|
|
19
|
+
this.rootElementRef = null;
|
|
20
|
+
this.BREAKPOINTS = {
|
|
21
|
+
MOBILE: 768,
|
|
22
|
+
TABLET: 1440,
|
|
23
|
+
DESKTOP: 1920
|
|
24
|
+
};
|
|
25
|
+
this.CARD_SIZES = {
|
|
26
|
+
standard: {
|
|
27
|
+
'S': 'fit-content',
|
|
28
|
+
'M': 'calc(50% - 0.75rem)',
|
|
29
|
+
'XL': '100%',
|
|
30
|
+
},
|
|
31
|
+
responsive: {
|
|
32
|
+
mobile: '100%',
|
|
33
|
+
tablet: 'calc(100% - var(--card-width-tablet) - 1.5rem - 2px)',
|
|
34
|
+
desktop: 'calc(100% - var(--card-width-desktop) - 1.5rem - 2px)',
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
this.resizeCard = (width) => {
|
|
38
|
+
this.currentSize = this.getCardSize(width);
|
|
39
|
+
this.rootElementRef.style.minWidth = this.getMinWidth(width);
|
|
40
|
+
this.rootElementRef.style.width = this.getCardWidth(this.currentSize, width);
|
|
41
|
+
};
|
|
42
|
+
this.resizeObserver = new ResizeObserver(() => {
|
|
43
|
+
var _a, _b, _c, _d, _e, _f;
|
|
44
|
+
const width = window.innerWidth;
|
|
45
|
+
this.resizeCard(width);
|
|
46
|
+
if (width < 768) {
|
|
47
|
+
(_a = this.priceViewRef) === null || _a === void 0 ? void 0 : _a.setAttribute('size', 'S');
|
|
48
|
+
(_b = this.buttonRef) === null || _b === void 0 ? void 0 : _b.setAttribute('size', 'small');
|
|
49
|
+
}
|
|
50
|
+
else if (width < 1920) {
|
|
51
|
+
(_c = this.priceViewRef) === null || _c === void 0 ? void 0 : _c.setAttribute('size', 'M');
|
|
52
|
+
(_d = this.buttonRef) === null || _d === void 0 ? void 0 : _d.setAttribute('size', 'medium');
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
(_e = this.priceViewRef) === null || _e === void 0 ? void 0 : _e.setAttribute('size', 'M');
|
|
56
|
+
(_f = this.buttonRef) === null || _f === void 0 ? void 0 : _f.setAttribute('size', 'large');
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
this.handleButtonClick = (event) => {
|
|
60
|
+
this.tetDynamicCardClickEvent.emit(event);
|
|
61
|
+
};
|
|
62
|
+
this.handleClick = (event) => {
|
|
63
|
+
var _a;
|
|
64
|
+
const path = event.composedPath();
|
|
65
|
+
const isButtonClick = path.some(el => { var _a; return el instanceof HTMLElement && ((_a = el.classList) === null || _a === void 0 ? void 0 : _a.contains('button')); });
|
|
66
|
+
if (!isButtonClick) {
|
|
67
|
+
if (this.buttonRef && this.linkHref) {
|
|
68
|
+
const button = (_a = this.buttonRef.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('button');
|
|
69
|
+
if (button) {
|
|
70
|
+
button.click();
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
this.theme = 'light';
|
|
76
|
+
this.size = 'S';
|
|
77
|
+
this.sizeChangeBreakpoint = 'None';
|
|
78
|
+
this.isInCarousel = false;
|
|
79
|
+
this.pictureLayoutShiftPosition = 'left';
|
|
80
|
+
this.cardTitle = undefined;
|
|
81
|
+
this.subtitle = undefined;
|
|
82
|
+
this.tags = undefined;
|
|
83
|
+
this.dateTag = undefined;
|
|
84
|
+
this.dateTagColorLight = 'black';
|
|
85
|
+
this.dateTagColorDark = 'white';
|
|
86
|
+
this.priceTagOptions = {
|
|
87
|
+
show: false,
|
|
88
|
+
backgroundLight: 'white',
|
|
89
|
+
backgroundDark: 'black'
|
|
90
|
+
};
|
|
91
|
+
this.linkType = undefined;
|
|
92
|
+
this.linkHref = undefined;
|
|
93
|
+
this.linkText = undefined;
|
|
94
|
+
this.linkNewTab = false;
|
|
95
|
+
this.modalId = undefined;
|
|
96
|
+
this.index = undefined;
|
|
97
|
+
this.isFocused = false;
|
|
98
|
+
this.originalSize = null;
|
|
99
|
+
this.currentSize = null;
|
|
100
|
+
}
|
|
101
|
+
onThemeChanged(theme) {
|
|
102
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
103
|
+
if (theme === 'dark') {
|
|
104
|
+
(_a = this.priceViewRef) === null || _a === void 0 ? void 0 : _a.setAttribute('background', (_b = this.priceTagOptions) === null || _b === void 0 ? void 0 : _b.backgroundDark);
|
|
105
|
+
(_c = this.dateTagColorRef) === null || _c === void 0 ? void 0 : _c.classList.remove(`tag--${this.dateTagColorLight}`);
|
|
106
|
+
(_d = this.dateTagColorRef) === null || _d === void 0 ? void 0 : _d.classList.add(`tag--${this.dateTagColorDark}`);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
(_e = this.priceViewRef) === null || _e === void 0 ? void 0 : _e.setAttribute('background', (_f = this.priceTagOptions) === null || _f === void 0 ? void 0 : _f.backgroundLight);
|
|
110
|
+
(_g = this.dateTagColorRef) === null || _g === void 0 ? void 0 : _g.classList.remove(`tag--${this.dateTagColorDark}`);
|
|
111
|
+
(_h = this.dateTagColorRef) === null || _h === void 0 ? void 0 : _h.classList.add(`tag--${this.dateTagColorLight}`);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
onSizeChange() {
|
|
115
|
+
this.originalSize = this.size;
|
|
116
|
+
this.resizeCard(window.innerWidth);
|
|
117
|
+
}
|
|
118
|
+
getCardSize(width) {
|
|
119
|
+
if (this.originalSize === 'L') {
|
|
120
|
+
if (width < this.BREAKPOINTS.MOBILE) {
|
|
121
|
+
return (this.sizeChangeBreakpoint === 'Mob' || this.sizeChangeBreakpoint === 'Tab') ? 'S' : 'XL';
|
|
122
|
+
}
|
|
123
|
+
else if (width < this.BREAKPOINTS.TABLET) {
|
|
124
|
+
return this.sizeChangeBreakpoint === 'Tab' ? 'S' : 'XL';
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
return this.originalSize;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
else if (this.originalSize === 'M') {
|
|
131
|
+
if (width < this.BREAKPOINTS.MOBILE) {
|
|
132
|
+
return (this.sizeChangeBreakpoint === 'Mob' || this.sizeChangeBreakpoint === 'Tab') ? 'S' : 'XL';
|
|
133
|
+
}
|
|
134
|
+
else if (width < this.BREAKPOINTS.TABLET) {
|
|
135
|
+
return this.sizeChangeBreakpoint === 'Tab' ? 'S' : this.originalSize;
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
return this.originalSize;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
return this.originalSize;
|
|
142
|
+
}
|
|
143
|
+
getMinWidth(width) {
|
|
144
|
+
if (width < this.BREAKPOINTS.MOBILE) {
|
|
145
|
+
return 'calc(var(--card-width-mobile)-2rem)';
|
|
146
|
+
}
|
|
147
|
+
else if (width < this.BREAKPOINTS.TABLET) {
|
|
148
|
+
return 'calc(var(--card-width-tablet)-2rem)';
|
|
149
|
+
}
|
|
150
|
+
else if (width < this.BREAKPOINTS.DESKTOP) {
|
|
151
|
+
return 'var(--card-width-tablet)';
|
|
152
|
+
}
|
|
153
|
+
else {
|
|
154
|
+
return 'var(--card-width-desktop)';
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
getCardWidth(size, width) {
|
|
158
|
+
if (this.isInCarousel) {
|
|
159
|
+
return 'fit-content';
|
|
160
|
+
}
|
|
161
|
+
const adaptiveSize = this.originalSize === 'L' || this.originalSize === 'M';
|
|
162
|
+
if (width < this.BREAKPOINTS.MOBILE) {
|
|
163
|
+
if (adaptiveSize && (this.sizeChangeBreakpoint === 'Mob' || this.sizeChangeBreakpoint === 'Tab')) {
|
|
164
|
+
return 'fit-content';
|
|
165
|
+
}
|
|
166
|
+
// Special handling
|
|
167
|
+
if (size === 'L' || size === 'M') {
|
|
168
|
+
return this.CARD_SIZES.responsive.mobile;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
else if (width < this.BREAKPOINTS.TABLET) {
|
|
172
|
+
if (adaptiveSize && this.sizeChangeBreakpoint === 'Tab') {
|
|
173
|
+
return 'fit-content';
|
|
174
|
+
}
|
|
175
|
+
if (size === 'L') {
|
|
176
|
+
return this.CARD_SIZES.responsive.tablet;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
else if (width < this.BREAKPOINTS.DESKTOP) {
|
|
180
|
+
if (size === 'L') {
|
|
181
|
+
return this.CARD_SIZES.responsive.tablet;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
if (size === 'L') {
|
|
186
|
+
return this.CARD_SIZES.responsive.desktop;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
return this.CARD_SIZES.standard[size] || 'fit-content';
|
|
190
|
+
}
|
|
191
|
+
componentWillLoad() {
|
|
192
|
+
this.originalSize = this.size;
|
|
193
|
+
this.currentSize = this.size;
|
|
194
|
+
}
|
|
195
|
+
componentDidLoad() {
|
|
196
|
+
this.onThemeChanged(this.theme);
|
|
197
|
+
this.resizeObserver.observe(window.document.body);
|
|
198
|
+
}
|
|
199
|
+
renderTags() {
|
|
200
|
+
var _a;
|
|
201
|
+
const dateTagColor = this.theme === 'dark' ? this.dateTagColorDark : this.dateTagColorLight;
|
|
202
|
+
return (h("div", { class: "tags-container", part: "tags" }, ((_a = this.tags) === null || _a === void 0 ? void 0 : _a.length) > 0 && (h("div", { class: "tags" }, this.tags.map(tag => (h("span", { class: "tag" }, tag))))), this.dateTag && (h("div", { class: "tags" }, h("div", { class: `tag colored colored--${dateTagColor}`, ref: (elm) => { this.dateTagColorRef = elm; } }, h("span", { class: "date-tag-text" }, this.dateTag))))));
|
|
203
|
+
}
|
|
204
|
+
renderPrice() {
|
|
205
|
+
var _a, _b, _c;
|
|
206
|
+
if (!((_a = this.priceTagOptions) === null || _a === void 0 ? void 0 : _a.show))
|
|
207
|
+
return null;
|
|
208
|
+
const priceBackground = this.theme === 'dark' ? this.priceTagOptions.backgroundDark : this.priceTagOptions.backgroundLight;
|
|
209
|
+
return (h("div", { class: "price", part: "price" }, h("tet-price-view", { ref: elm => { this.priceViewRef = elm; }, font: this.priceTagOptions.font || "Gilroy, Arial, sans-serif", background: priceBackground, size: "S", "heading-text": this.priceTagOptions.headingText, "price-type": this.priceTagOptions.priceType, "euro-price": (_b = this.priceTagOptions.euroPrice) === null || _b === void 0 ? void 0 : _b.toString(), "cents-price": (_c = this.priceTagOptions.centsPrice) === null || _c === void 0 ? void 0 : _c.toString(), "footer-text": this.priceTagOptions.footerText, "footer-text-type": this.priceTagOptions.footerTextType })));
|
|
210
|
+
}
|
|
211
|
+
renderButton() {
|
|
212
|
+
if (!this.linkType || (!this.linkHref && !this.modalId))
|
|
213
|
+
return null;
|
|
214
|
+
const buttonProps = Object.assign({ type: 'primary', size: 'small', theme: this.theme }, (this.linkType === 'url' ? {
|
|
215
|
+
url: this.linkHref,
|
|
216
|
+
'url-target': this.linkNewTab ? '_blank' : '_self',
|
|
217
|
+
'accessibility-label': this.linkText
|
|
218
|
+
} : {
|
|
219
|
+
'data-modal-screen-key': this.modalId
|
|
220
|
+
}));
|
|
221
|
+
return (h("div", { class: "button", part: "button", onClick: this.handleButtonClick, onKeyUp: (event) => {
|
|
222
|
+
if (event.key === 'Enter')
|
|
223
|
+
this.handleButtonClick(event);
|
|
224
|
+
} }, h("tet-button", Object.assign({}, buttonProps, { ref: elm => { this.buttonRef = elm; } }), this.linkText)));
|
|
225
|
+
}
|
|
226
|
+
render() {
|
|
227
|
+
return (h(Host, { key: 'ee4d48576d500ebfa9ae214f70e09cea2e7c0295', class: {
|
|
228
|
+
'dynamic-card': true,
|
|
229
|
+
'is-focused': this.isFocused
|
|
230
|
+
}, "data-index": this.index, ref: (elm) => { this.rootElementRef = elm; } }, h("div", { key: 'f1a997b6c257ebc6f0129dc613a8d2deeb9b3c8a', class: `card
|
|
231
|
+
theme-${this.theme}
|
|
232
|
+
size-${this.currentSize}
|
|
233
|
+
position-${this.pictureLayoutShiftPosition}
|
|
234
|
+
carousel-${this.isInCarousel}
|
|
235
|
+
`, onClick: this.handleClick, onKeyUp: (event) => {
|
|
236
|
+
if (event.key === 'Enter')
|
|
237
|
+
this.handleClick(event);
|
|
238
|
+
}, tabindex: 0, part: "card", "aria-labelledby": this.cardTitle }, h("div", { key: '2eb747ef0192e5f003d62d14866367a100c412e8', class: "image", part: "image" }, h("slot", { key: 'f8dd1d2429e27da0983ea4625d6b65ae555e7afd', name: "image" }), this.renderPrice(), this.renderTags()), h("div", { key: 'ccaba0459f9bc7ea3ff7faa103ba0139ea9742b4', class: "content-container" }, h("div", { key: '1f6262627078cdc2413a1dabf78dbdc5d35cb4a5', class: "content", part: "content" }, this.cardTitle && (h("h3", { key: 'f5f26d6db81a0df0b101c617c80603aa2d0e3321', class: "title", part: "title" }, this.cardTitle)), this.subtitle && (h("p", { key: 'eb3e7aa190be7cca5e7576834d4982643f4eb8e7', class: "subtitle", part: "subtitle" }, this.subtitle))), this.renderButton()))));
|
|
239
|
+
}
|
|
240
|
+
static get is() { return "tet-dynamic-card"; }
|
|
241
|
+
static get encapsulation() { return "shadow"; }
|
|
242
|
+
static get originalStyleUrls() {
|
|
243
|
+
return {
|
|
244
|
+
"$": ["tet-dynamic-card.scss"]
|
|
245
|
+
};
|
|
246
|
+
}
|
|
247
|
+
static get styleUrls() {
|
|
248
|
+
return {
|
|
249
|
+
"$": ["tet-dynamic-card.css"]
|
|
250
|
+
};
|
|
251
|
+
}
|
|
252
|
+
static get properties() {
|
|
253
|
+
return {
|
|
254
|
+
"theme": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"mutable": false,
|
|
257
|
+
"complexType": {
|
|
258
|
+
"original": "ButtonTheme",
|
|
259
|
+
"resolved": "\"dark\" | \"light\"",
|
|
260
|
+
"references": {
|
|
261
|
+
"ButtonTheme": {
|
|
262
|
+
"location": "global",
|
|
263
|
+
"id": "global::ButtonTheme"
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": false,
|
|
268
|
+
"optional": false,
|
|
269
|
+
"docs": {
|
|
270
|
+
"tags": [],
|
|
271
|
+
"text": "The theme of the component"
|
|
272
|
+
},
|
|
273
|
+
"attribute": "theme",
|
|
274
|
+
"reflect": false,
|
|
275
|
+
"defaultValue": "'light'"
|
|
276
|
+
},
|
|
277
|
+
"size": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"mutable": false,
|
|
280
|
+
"complexType": {
|
|
281
|
+
"original": "CardSize",
|
|
282
|
+
"resolved": "\"L\" | \"M\" | \"S\" | \"XL\"",
|
|
283
|
+
"references": {
|
|
284
|
+
"CardSize": {
|
|
285
|
+
"location": "local",
|
|
286
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx",
|
|
287
|
+
"id": "src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx::CardSize"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"required": false,
|
|
292
|
+
"optional": true,
|
|
293
|
+
"docs": {
|
|
294
|
+
"tags": [],
|
|
295
|
+
"text": "The size of the card"
|
|
296
|
+
},
|
|
297
|
+
"attribute": "size",
|
|
298
|
+
"reflect": false,
|
|
299
|
+
"defaultValue": "'S'"
|
|
300
|
+
},
|
|
301
|
+
"sizeChangeBreakpoint": {
|
|
302
|
+
"type": "string",
|
|
303
|
+
"mutable": false,
|
|
304
|
+
"complexType": {
|
|
305
|
+
"original": "SizeChangeBreakpointType",
|
|
306
|
+
"resolved": "\"Mob\" | \"None\" | \"Tab\"",
|
|
307
|
+
"references": {
|
|
308
|
+
"SizeChangeBreakpointType": {
|
|
309
|
+
"location": "local",
|
|
310
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx",
|
|
311
|
+
"id": "src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx::SizeChangeBreakpointType"
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"required": false,
|
|
316
|
+
"optional": true,
|
|
317
|
+
"docs": {
|
|
318
|
+
"tags": [],
|
|
319
|
+
"text": "The size of the card"
|
|
320
|
+
},
|
|
321
|
+
"attribute": "size-change-breakpoint",
|
|
322
|
+
"reflect": false,
|
|
323
|
+
"defaultValue": "'None'"
|
|
324
|
+
},
|
|
325
|
+
"isInCarousel": {
|
|
326
|
+
"type": "boolean",
|
|
327
|
+
"mutable": false,
|
|
328
|
+
"complexType": {
|
|
329
|
+
"original": "boolean",
|
|
330
|
+
"resolved": "boolean",
|
|
331
|
+
"references": {}
|
|
332
|
+
},
|
|
333
|
+
"required": false,
|
|
334
|
+
"optional": false,
|
|
335
|
+
"docs": {
|
|
336
|
+
"tags": [],
|
|
337
|
+
"text": "Is in carousel"
|
|
338
|
+
},
|
|
339
|
+
"attribute": "is-in-carousel",
|
|
340
|
+
"reflect": false,
|
|
341
|
+
"defaultValue": "false"
|
|
342
|
+
},
|
|
343
|
+
"pictureLayoutShiftPosition": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"mutable": false,
|
|
346
|
+
"complexType": {
|
|
347
|
+
"original": "pictureLayoutShiftPositionType",
|
|
348
|
+
"resolved": "\"left\" | \"right\"",
|
|
349
|
+
"references": {
|
|
350
|
+
"pictureLayoutShiftPositionType": {
|
|
351
|
+
"location": "local",
|
|
352
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx",
|
|
353
|
+
"id": "src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx::pictureLayoutShiftPositionType"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
"required": false,
|
|
358
|
+
"optional": true,
|
|
359
|
+
"docs": {
|
|
360
|
+
"tags": [],
|
|
361
|
+
"text": "The position of a picture during layout shift"
|
|
362
|
+
},
|
|
363
|
+
"attribute": "picture-layout-shift-position",
|
|
364
|
+
"reflect": false,
|
|
365
|
+
"defaultValue": "'left'"
|
|
366
|
+
},
|
|
367
|
+
"cardTitle": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"mutable": false,
|
|
370
|
+
"complexType": {
|
|
371
|
+
"original": "string",
|
|
372
|
+
"resolved": "string",
|
|
373
|
+
"references": {}
|
|
374
|
+
},
|
|
375
|
+
"required": false,
|
|
376
|
+
"optional": true,
|
|
377
|
+
"docs": {
|
|
378
|
+
"tags": [],
|
|
379
|
+
"text": "The title of the card"
|
|
380
|
+
},
|
|
381
|
+
"attribute": "card-title",
|
|
382
|
+
"reflect": false
|
|
383
|
+
},
|
|
384
|
+
"subtitle": {
|
|
385
|
+
"type": "string",
|
|
386
|
+
"mutable": false,
|
|
387
|
+
"complexType": {
|
|
388
|
+
"original": "string",
|
|
389
|
+
"resolved": "string",
|
|
390
|
+
"references": {}
|
|
391
|
+
},
|
|
392
|
+
"required": false,
|
|
393
|
+
"optional": true,
|
|
394
|
+
"docs": {
|
|
395
|
+
"tags": [],
|
|
396
|
+
"text": "The subtitle of the card"
|
|
397
|
+
},
|
|
398
|
+
"attribute": "subtitle",
|
|
399
|
+
"reflect": false
|
|
400
|
+
},
|
|
401
|
+
"tags": {
|
|
402
|
+
"type": "unknown",
|
|
403
|
+
"mutable": false,
|
|
404
|
+
"complexType": {
|
|
405
|
+
"original": "string[]",
|
|
406
|
+
"resolved": "string[]",
|
|
407
|
+
"references": {}
|
|
408
|
+
},
|
|
409
|
+
"required": false,
|
|
410
|
+
"optional": true,
|
|
411
|
+
"docs": {
|
|
412
|
+
"tags": [],
|
|
413
|
+
"text": "Array of tags to display"
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
"dateTag": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"mutable": false,
|
|
419
|
+
"complexType": {
|
|
420
|
+
"original": "string",
|
|
421
|
+
"resolved": "string",
|
|
422
|
+
"references": {}
|
|
423
|
+
},
|
|
424
|
+
"required": false,
|
|
425
|
+
"optional": true,
|
|
426
|
+
"docs": {
|
|
427
|
+
"tags": [],
|
|
428
|
+
"text": "Secondary tag date"
|
|
429
|
+
},
|
|
430
|
+
"attribute": "date-tag",
|
|
431
|
+
"reflect": false
|
|
432
|
+
},
|
|
433
|
+
"dateTagColorLight": {
|
|
434
|
+
"type": "string",
|
|
435
|
+
"mutable": false,
|
|
436
|
+
"complexType": {
|
|
437
|
+
"original": "TagType",
|
|
438
|
+
"resolved": "\"black\" | \"white\" | \"yellow\"",
|
|
439
|
+
"references": {
|
|
440
|
+
"TagType": {
|
|
441
|
+
"location": "local",
|
|
442
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx",
|
|
443
|
+
"id": "src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx::TagType"
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
"required": false,
|
|
448
|
+
"optional": true,
|
|
449
|
+
"docs": {
|
|
450
|
+
"tags": [],
|
|
451
|
+
"text": "The color of the date tag in light theme."
|
|
452
|
+
},
|
|
453
|
+
"attribute": "date-tag-color-light",
|
|
454
|
+
"reflect": false,
|
|
455
|
+
"defaultValue": "'black'"
|
|
456
|
+
},
|
|
457
|
+
"dateTagColorDark": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"mutable": false,
|
|
460
|
+
"complexType": {
|
|
461
|
+
"original": "TagType",
|
|
462
|
+
"resolved": "\"black\" | \"white\" | \"yellow\"",
|
|
463
|
+
"references": {
|
|
464
|
+
"TagType": {
|
|
465
|
+
"location": "local",
|
|
466
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx",
|
|
467
|
+
"id": "src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx::TagType"
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
},
|
|
471
|
+
"required": false,
|
|
472
|
+
"optional": true,
|
|
473
|
+
"docs": {
|
|
474
|
+
"tags": [],
|
|
475
|
+
"text": "The color of the date tag in dark theme."
|
|
476
|
+
},
|
|
477
|
+
"attribute": "date-tag-color-dark",
|
|
478
|
+
"reflect": false,
|
|
479
|
+
"defaultValue": "'white'"
|
|
480
|
+
},
|
|
481
|
+
"priceTagOptions": {
|
|
482
|
+
"type": "unknown",
|
|
483
|
+
"mutable": false,
|
|
484
|
+
"complexType": {
|
|
485
|
+
"original": "PriceTagOptions",
|
|
486
|
+
"resolved": "PriceTagOptions",
|
|
487
|
+
"references": {
|
|
488
|
+
"PriceTagOptions": {
|
|
489
|
+
"location": "local",
|
|
490
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx",
|
|
491
|
+
"id": "src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx::PriceTagOptions"
|
|
492
|
+
}
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"required": false,
|
|
496
|
+
"optional": true,
|
|
497
|
+
"docs": {
|
|
498
|
+
"tags": [],
|
|
499
|
+
"text": "Price tag options"
|
|
500
|
+
},
|
|
501
|
+
"defaultValue": "{\n show: false,\n backgroundLight: 'white',\n backgroundDark: 'black'\n }"
|
|
502
|
+
},
|
|
503
|
+
"linkType": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"mutable": false,
|
|
506
|
+
"complexType": {
|
|
507
|
+
"original": "CardLinkType",
|
|
508
|
+
"resolved": "\"modal\" | \"url\"",
|
|
509
|
+
"references": {
|
|
510
|
+
"CardLinkType": {
|
|
511
|
+
"location": "local",
|
|
512
|
+
"path": "/__w/internal-tet-web-components-tet-components/internal-tet-web-components-tet-components/src/src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx",
|
|
513
|
+
"id": "src/components/advanced/cards/tet-dynamic-card/tet-dynamic-card.tsx::CardLinkType"
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
"required": false,
|
|
518
|
+
"optional": true,
|
|
519
|
+
"docs": {
|
|
520
|
+
"tags": [],
|
|
521
|
+
"text": "Type of link"
|
|
522
|
+
},
|
|
523
|
+
"attribute": "link-type",
|
|
524
|
+
"reflect": false
|
|
525
|
+
},
|
|
526
|
+
"linkHref": {
|
|
527
|
+
"type": "string",
|
|
528
|
+
"mutable": false,
|
|
529
|
+
"complexType": {
|
|
530
|
+
"original": "string",
|
|
531
|
+
"resolved": "string",
|
|
532
|
+
"references": {}
|
|
533
|
+
},
|
|
534
|
+
"required": false,
|
|
535
|
+
"optional": true,
|
|
536
|
+
"docs": {
|
|
537
|
+
"tags": [],
|
|
538
|
+
"text": "URL for link type 'url'"
|
|
539
|
+
},
|
|
540
|
+
"attribute": "link-href",
|
|
541
|
+
"reflect": false
|
|
542
|
+
},
|
|
543
|
+
"linkText": {
|
|
544
|
+
"type": "string",
|
|
545
|
+
"mutable": false,
|
|
546
|
+
"complexType": {
|
|
547
|
+
"original": "string",
|
|
548
|
+
"resolved": "string",
|
|
549
|
+
"references": {}
|
|
550
|
+
},
|
|
551
|
+
"required": false,
|
|
552
|
+
"optional": true,
|
|
553
|
+
"docs": {
|
|
554
|
+
"tags": [],
|
|
555
|
+
"text": "Link text"
|
|
556
|
+
},
|
|
557
|
+
"attribute": "link-text",
|
|
558
|
+
"reflect": false
|
|
559
|
+
},
|
|
560
|
+
"linkNewTab": {
|
|
561
|
+
"type": "boolean",
|
|
562
|
+
"mutable": false,
|
|
563
|
+
"complexType": {
|
|
564
|
+
"original": "boolean",
|
|
565
|
+
"resolved": "boolean",
|
|
566
|
+
"references": {}
|
|
567
|
+
},
|
|
568
|
+
"required": false,
|
|
569
|
+
"optional": true,
|
|
570
|
+
"docs": {
|
|
571
|
+
"tags": [],
|
|
572
|
+
"text": "Open link in new tab"
|
|
573
|
+
},
|
|
574
|
+
"attribute": "link-new-tab",
|
|
575
|
+
"reflect": false,
|
|
576
|
+
"defaultValue": "false"
|
|
577
|
+
},
|
|
578
|
+
"modalId": {
|
|
579
|
+
"type": "string",
|
|
580
|
+
"mutable": false,
|
|
581
|
+
"complexType": {
|
|
582
|
+
"original": "string",
|
|
583
|
+
"resolved": "string",
|
|
584
|
+
"references": {}
|
|
585
|
+
},
|
|
586
|
+
"required": false,
|
|
587
|
+
"optional": true,
|
|
588
|
+
"docs": {
|
|
589
|
+
"tags": [],
|
|
590
|
+
"text": "Modal ID for link type 'modal'"
|
|
591
|
+
},
|
|
592
|
+
"attribute": "modal-id",
|
|
593
|
+
"reflect": false
|
|
594
|
+
},
|
|
595
|
+
"index": {
|
|
596
|
+
"type": "number",
|
|
597
|
+
"mutable": false,
|
|
598
|
+
"complexType": {
|
|
599
|
+
"original": "number",
|
|
600
|
+
"resolved": "number",
|
|
601
|
+
"references": {}
|
|
602
|
+
},
|
|
603
|
+
"required": false,
|
|
604
|
+
"optional": true,
|
|
605
|
+
"docs": {
|
|
606
|
+
"tags": [],
|
|
607
|
+
"text": "Index of the card in a list/carousel"
|
|
608
|
+
},
|
|
609
|
+
"attribute": "index",
|
|
610
|
+
"reflect": false
|
|
611
|
+
}
|
|
612
|
+
};
|
|
613
|
+
}
|
|
614
|
+
static get states() {
|
|
615
|
+
return {
|
|
616
|
+
"isFocused": {},
|
|
617
|
+
"originalSize": {},
|
|
618
|
+
"currentSize": {}
|
|
619
|
+
};
|
|
620
|
+
}
|
|
621
|
+
static get events() {
|
|
622
|
+
return [{
|
|
623
|
+
"method": "tetDynamicCardClickEvent",
|
|
624
|
+
"name": "tetDynamicCardClickEvent",
|
|
625
|
+
"bubbles": true,
|
|
626
|
+
"cancelable": true,
|
|
627
|
+
"composed": true,
|
|
628
|
+
"docs": {
|
|
629
|
+
"tags": [],
|
|
630
|
+
"text": "Event emitted when the card is clicked"
|
|
631
|
+
},
|
|
632
|
+
"complexType": {
|
|
633
|
+
"original": "Event",
|
|
634
|
+
"resolved": "Event",
|
|
635
|
+
"references": {
|
|
636
|
+
"Event": {
|
|
637
|
+
"location": "import",
|
|
638
|
+
"path": "@stencil/core",
|
|
639
|
+
"id": ""
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}];
|
|
644
|
+
}
|
|
645
|
+
static get watchers() {
|
|
646
|
+
return [{
|
|
647
|
+
"propName": "theme",
|
|
648
|
+
"methodName": "onThemeChanged"
|
|
649
|
+
}, {
|
|
650
|
+
"propName": "size",
|
|
651
|
+
"methodName": "onSizeChange"
|
|
652
|
+
}];
|
|
653
|
+
}
|
|
654
|
+
}
|
package/dist/collection/components/advanced/customer/tet-asset-addresses/tet-asset-addresses.js
CHANGED
|
@@ -132,7 +132,7 @@ export class TetAssetAddresses {
|
|
|
132
132
|
return this.loadAddresses();
|
|
133
133
|
}
|
|
134
134
|
render() {
|
|
135
|
-
return (h(Host, { key: '
|
|
135
|
+
return (h(Host, { key: '548a110c74ce7c7f4f3ba4142e87f20841a12143', class: { 'asset-adddress-selection': true, [this.theme]: true } }, this.showLoader ? (h("tet-placeholder", { height: "12.5rem", darkTheme: this.theme === 'dark' })) : (this.renderAddressList()), this.isAddressSearchVisible && (h("tet-address-search", { key: 'c566aa6fe62b44a267018fadf487290e76d95582', inputDisabled: !!this.lastAddedKey, language: "lv", placeholder: this.addressSearchPlaceholder, newStyle: true, theme: this.theme }))));
|
|
136
136
|
}
|
|
137
137
|
static get is() { return "tet-asset-addresses"; }
|
|
138
138
|
static get encapsulation() { return "shadow"; }
|
|
@@ -127,7 +127,7 @@ export class TetAssetAvailabilityAddresses {
|
|
|
127
127
|
}
|
|
128
128
|
;
|
|
129
129
|
render() {
|
|
130
|
-
return (h(Host, { key: '
|
|
130
|
+
return (h(Host, { key: '2fbba15f83311348f57c3b367f4aa55bb5eb74a3', class: { 'asset-adddress-selection': true, [this.theme]: true } }, this.showLoader ? (h("tet-placeholder", { height: "12.5rem", darkTheme: this.theme === 'dark' })) : (this.renderAddressList())));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "tet-asset-availability-addresses"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|