@tet/tet-components 1.4.156-production → 1.4.156-testing
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-oHpK-Vsh.js → http-codes-D7ffzpYW.js} +1 -1
- package/dist/cjs/{index-puzHM5yZ.js → index-BL_zVDFC.js} +9 -1
- package/dist/cjs/{index-t4WNVvo_.js → index-Dzs7Nkbj.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{product-comparison-DAR6p-NV.js → product-comparison-DUzqZuWv.js} +1 -1
- package/dist/cjs/{string-CL-wkThZ.js → string-D0kCSyUd.js} +4 -0
- package/dist/cjs/tet-accordion.cjs.entry.js +1 -1
- 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 +6 -6
- package/dist/cjs/tet-assembler.cjs.entry.js +4 -4
- package/dist/cjs/tet-autocomplete-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/tet-autocomplete_2.cjs.entry.js +3 -3
- package/dist/cjs/tet-b2b-check-out-form_5.cjs.entry.js +4 -4
- package/dist/cjs/tet-b2b-configurator.cjs.entry.js +5 -5
- package/dist/cjs/tet-banner-nav.cjs.entry.js +4 -4
- package/dist/cjs/tet-bar-graph.cjs.entry.js +1 -1
- package/dist/cjs/tet-border-radius.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-business-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-button.cjs.entry.js +1 -1
- package/dist/cjs/tet-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-carousel.cjs.entry.js +4 -4
- package/dist/cjs/tet-checkbox_3.cjs.entry.js +1 -1
- package/dist/cjs/tet-cloud-application-form-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-cloud-configurator.cjs.entry.js +4 -4
- package/dist/cjs/tet-colors.cjs.entry.js +1 -1
- package/dist/cjs/tet-compare-card-v2.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/tet-components.cjs.js +2 -2
- package/dist/cjs/tet-container_2.cjs.entry.js +2 -2
- package/dist/cjs/tet-countdown.cjs.entry.js +1 -1
- package/dist/cjs/tet-counter.cjs.entry.js +1 -1
- package/dist/cjs/tet-datepicker-header_4.cjs.entry.js +387 -0
- package/dist/cjs/tet-datepicker.cjs.entry.js +132 -0
- package/dist/cjs/tet-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-display.cjs.entry.js +1 -1
- package/dist/cjs/tet-divider.cjs.entry.js +1 -1
- package/dist/cjs/tet-dynamic-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-expandable-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-expansion-panel.cjs.entry.js +1 -1
- package/dist/cjs/tet-feedback-form.cjs.entry.js +4 -4
- package/dist/cjs/tet-filter.cjs.entry.js +1 -1
- package/dist/cjs/tet-floating-block.cjs.entry.js +1 -1
- package/dist/cjs/tet-font-weight.cjs.entry.js +1 -1
- package/dist/cjs/tet-fonts.cjs.entry.js +1 -1
- package/dist/cjs/tet-grid.cjs.entry.js +1 -1
- package/dist/cjs/tet-icon.cjs.entry.js +2 -2
- package/dist/cjs/tet-inline-message.cjs.entry.js +1 -1
- package/dist/cjs/tet-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-layout.cjs.entry.js +1 -1
- package/dist/cjs/tet-link-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-link.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu-mobile.cjs.entry.js +1 -1
- package/dist/cjs/tet-menu.cjs.entry.js +1 -1
- package/dist/cjs/tet-mini-compare-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-multi-step-dialog.cjs.entry.js +4 -4
- package/dist/cjs/tet-navigation-mobile.cjs.entry.js +4 -4
- package/dist/cjs/tet-news-card-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-news-card.cjs.entry.js +1 -1
- package/dist/cjs/tet-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-paginator.cjs.entry.js +4 -4
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-blocks.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio_2.cjs.entry.js +1 -1
- package/dist/cjs/tet-range-slider.cjs.entry.js +1 -1
- package/dist/cjs/tet-round-stepper.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card-group.cjs.entry.js +1 -1
- package/dist/cjs/tet-snicker-card.cjs.entry.js +4 -4
- package/dist/cjs/tet-spacing.cjs.entry.js +1 -1
- package/dist/cjs/tet-spinner.cjs.entry.js +1 -1
- package/dist/cjs/tet-stepper-input.cjs.entry.js +4 -4
- package/dist/cjs/tet-stepper-v3.cjs.entry.js +1 -1
- package/dist/cjs/tet-sticky-offer.cjs.entry.js +1 -1
- package/dist/cjs/tet-support-search.cjs.entry.js +2 -2
- package/dist/cjs/tet-switch.cjs.entry.js +1 -1
- package/dist/cjs/tet-table.cjs.entry.js +1 -1
- package/dist/cjs/tet-tag_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-text-list.cjs.entry.js +1 -1
- package/dist/cjs/tet-text.cjs.entry.js +1 -1
- package/dist/cjs/tet-textarea.cjs.entry.js +1 -1
- package/dist/cjs/tet-thank-you-view-v3.cjs.entry.js +4 -4
- package/dist/cjs/tet-tv-program-channel-picker_2.cjs.entry.js +4 -4
- package/dist/cjs/tet-tv-program.cjs.entry.js +1 -1
- package/dist/cjs/{translations-D5zHdnnh.js → translations-Uvcq4kv8.js} +2 -2
- package/dist/cjs/{typecheck-Do6mN8Vg.js → typecheck--Bs-bZ_K.js} +2 -0
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.css +393 -0
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.css +455 -0
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.css +382 -0
- package/dist/collection/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.css +382 -0
- package/dist/collection/components/simple/inputs/tet-datepicker/tet-datepicker.css +380 -0
- package/dist/components/index.js +1 -1
- package/dist/components/{p-BIGo0rq3.js → p-1E6motPj.js} +1 -1
- package/dist/components/{p-8pxXtKqI.js → p-20AXKDtg.js} +1 -1
- package/dist/components/p-B0kUlgkD.js +1 -0
- package/dist/components/{p-Ch9O60SQ.js → p-B5Dk5hzj.js} +1 -1
- package/dist/components/{p-BhXr_N4d.js → p-B5y1yfI4.js} +1 -1
- package/dist/components/{p-Ddoy5ttY.js → p-B8YPfVrH.js} +1 -1
- package/dist/components/{p-BDEIj3j6.js → p-B9bE6qY-.js} +1 -1
- package/dist/components/{p-vwGsm9v4.js → p-BKqEPSBf.js} +1 -1
- package/dist/components/{p-D67l6-0a.js → p-BUZAWbGM.js} +1 -1
- package/dist/components/{p-BOBphMbp.js → p-BUyuNqM6.js} +1 -1
- package/dist/components/{p-Dz0s7ewh.js → p-Ba5cZk_W.js} +1 -1
- package/dist/components/{p-C5d7kQcA.js → p-Bc4oqt_L.js} +1 -1
- package/dist/components/{p-XAZAnDvX.js → p-BdN4p8Qa.js} +1 -1
- package/dist/components/{p-CpyGYYPQ.js → p-BpfMADD6.js} +1 -1
- package/dist/components/{p-fUGNvavt.js → p-Br4jWI9B.js} +1 -1
- package/dist/components/{p-DobMlMDf.js → p-Bsqoxd9G.js} +1 -1
- package/dist/components/{p-sp4th_AU.js → p-Bw-D7nPx.js} +1 -1
- package/dist/components/{p-BAf_O-kb.js → p-BztqMLE1.js} +1 -1
- package/dist/components/{p-CU8Cp-HR.js → p-C0RZDFyg.js} +1 -1
- package/dist/components/{p-D4MolLd8.js → p-C4uKGuRj.js} +1 -1
- package/dist/components/{p-BOS_HT6p.js → p-C5khLmO4.js} +1 -1
- package/dist/components/{p-DTOuhcpL.js → p-C61jDpta.js} +1 -1
- package/dist/components/p-C8u5HEb4.js +1 -0
- package/dist/components/p-CAsIFNv3.js +1 -0
- package/dist/components/{p-DTXQQ3yQ.js → p-CHVoAVzT.js} +1 -1
- package/dist/components/{p-C50q8-fi.js → p-CJnk1Plz.js} +1 -1
- package/dist/components/p-CKSiwKh_.js +1 -0
- package/dist/components/{p-CKWJROPt.js → p-CMxcvnRv.js} +1 -1
- package/dist/components/{p-Baz1tNCV.js → p-CNhW7KE6.js} +1 -1
- package/dist/components/{p-uKtVLC1S.js → p-CQBhFzqI.js} +1 -1
- package/dist/components/{p-B7F8WcB_.js → p-CV0h6H20.js} +1 -1
- package/dist/components/p-Cdi7KDBd.js +1 -0
- package/dist/components/p-Cef0hbKH.js +1 -0
- package/dist/components/{p-79Qa1DK2.js → p-CjbC3Ym3.js} +1 -1
- package/dist/components/{p-CZKkgmI5.js → p-Ckf6mMEf.js} +1 -1
- package/dist/components/{p-BHwwcLhF.js → p-Cmi0CN7v.js} +1 -1
- package/dist/components/{p-C8PVLroR.js → p-CnVl55e4.js} +1 -1
- package/dist/components/p-CoQ-OVcl.js +1 -0
- package/dist/components/{p-DaYJPQ1g.js → p-Cqjpl-r4.js} +1 -1
- package/dist/components/{p-CeMqexKQ.js → p-CvISLoYA.js} +1 -1
- package/dist/components/{p-DnYku8t4.js → p-CxypAmpV.js} +1 -1
- package/dist/components/p-D-hVxt6M.js +1 -0
- package/dist/components/p-D0GJDW-O.js +1 -0
- package/dist/components/{p-CpJ_GE1B.js → p-DKZxpjnL.js} +1 -1
- package/dist/components/{p-DZRioc0D.js → p-DN2JwXg9.js} +1 -1
- package/dist/components/p-DUxOWNca.js +1 -0
- package/dist/components/{p-bpJ--0b-.js → p-DcRCMBBc.js} +1 -1
- package/dist/components/{p-DGv9agNo.js → p-Dhe7PE-h.js} +1 -1
- package/dist/components/{p-Bcv8ei49.js → p-Dke4zCyb.js} +1 -1
- package/dist/components/{p-DDYXXKzr.js → p-Dmu5eHbY.js} +1 -1
- package/dist/components/{p-QlyBltAE.js → p-Mpe-2CVQ.js} +1 -1
- package/dist/components/{p-AzSj-eml.js → p-d31bvRM6.js} +1 -1
- package/dist/components/p-euiyLrT6.js +1 -0
- package/dist/{tet-components/p-OiVa1VV1.js → components/p-lEX8wezw.js} +1 -1
- package/dist/components/{p-BMX43eZF.js → p-tMXV3IB5.js} +1 -1
- package/dist/components/{p-CEyoGS5R.js → p-t_FgKIcd.js} +1 -1
- package/dist/components/{p-CioY7Olt.js → p-w1igWoTx.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.d.ts +11 -0
- package/dist/components/tet-datepicker-header.js +1 -0
- package/dist/components/tet-datepicker-month-view.d.ts +11 -0
- package/dist/components/tet-datepicker-month-view.js +1 -0
- package/dist/components/tet-datepicker-multi-year-view.d.ts +11 -0
- package/dist/components/tet-datepicker-multi-year-view.js +1 -0
- package/dist/components/tet-datepicker-year-view.d.ts +11 -0
- package/dist/components/tet-datepicker-year-view.js +1 -0
- package/dist/components/tet-datepicker.d.ts +11 -0
- package/dist/components/tet-datepicker.js +1 -0
- 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.js +1 -1
- package/dist/components/tet-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-paginator.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-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/components/tet-tv-program-channel-picker.js +1 -1
- package/dist/components/tet-tv-program-date-picker.js +1 -1
- package/dist/components/tet-tv-program.js +1 -1
- package/dist/esm/{http-codes-Db3nijH5.js → http-codes-BQGPgOl6.js} +1 -1
- package/dist/esm/{index-Pqdi2xbP.js → index-BGB6gNkz.js} +9 -1
- package/dist/esm/{index-BwDyy0_n.js → index-DScZlZas.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{product-comparison-dUap5wKc.js → product-comparison-DUVV7BFR.js} +1 -1
- package/dist/esm/{string-C9BlrGW8.js → string-D0GJDW-O.js} +4 -1
- package/dist/esm/tet-accordion.entry.js +1 -1
- 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 +6 -6
- package/dist/esm/tet-assembler.entry.js +4 -4
- package/dist/esm/tet-autocomplete-dropdown.entry.js +2 -2
- package/dist/esm/tet-autocomplete_2.entry.js +3 -3
- package/dist/esm/tet-b2b-check-out-form_5.entry.js +4 -4
- package/dist/esm/tet-b2b-configurator.entry.js +5 -5
- package/dist/esm/tet-banner-nav.entry.js +4 -4
- package/dist/esm/tet-bar-graph.entry.js +1 -1
- package/dist/esm/tet-border-radius.entry.js +1 -1
- package/dist/esm/tet-business-card.entry.js +1 -1
- package/dist/esm/tet-business-compare-card.entry.js +1 -1
- package/dist/esm/tet-business-round-stepper.entry.js +1 -1
- package/dist/esm/tet-button.entry.js +1 -1
- package/dist/esm/tet-card-list.entry.js +1 -1
- package/dist/esm/tet-carousel.entry.js +4 -4
- package/dist/esm/tet-checkbox_3.entry.js +1 -1
- package/dist/esm/tet-cloud-application-form-dialog.entry.js +4 -4
- package/dist/esm/tet-cloud-configurator.entry.js +4 -4
- package/dist/esm/tet-colors.entry.js +1 -1
- package/dist/esm/tet-compare-card-v2.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/tet-components.js +3 -3
- package/dist/esm/tet-container_2.entry.js +2 -2
- package/dist/esm/tet-countdown.entry.js +1 -1
- package/dist/esm/tet-counter.entry.js +1 -1
- package/dist/esm/tet-datepicker-header_4.entry.js +382 -0
- package/dist/esm/tet-datepicker.entry.js +130 -0
- package/dist/esm/tet-dialog.entry.js +4 -4
- package/dist/esm/tet-display.entry.js +1 -1
- package/dist/esm/tet-divider.entry.js +1 -1
- package/dist/esm/tet-dynamic-card.entry.js +1 -1
- package/dist/esm/tet-expandable-input.entry.js +1 -1
- package/dist/esm/tet-expansion-panel.entry.js +1 -1
- package/dist/esm/tet-feedback-form.entry.js +4 -4
- package/dist/esm/tet-filter.entry.js +1 -1
- package/dist/esm/tet-floating-block.entry.js +1 -1
- package/dist/esm/tet-font-weight.entry.js +1 -1
- package/dist/esm/tet-fonts.entry.js +1 -1
- package/dist/esm/tet-grid.entry.js +1 -1
- package/dist/esm/tet-icon.entry.js +2 -2
- package/dist/esm/tet-inline-message.entry.js +1 -1
- package/dist/esm/tet-input.entry.js +4 -4
- package/dist/esm/tet-layout.entry.js +1 -1
- package/dist/esm/tet-link-card-list.entry.js +1 -1
- package/dist/esm/tet-link.entry.js +1 -1
- package/dist/esm/tet-menu-mobile.entry.js +1 -1
- package/dist/esm/tet-menu.entry.js +1 -1
- package/dist/esm/tet-mini-compare-card.entry.js +1 -1
- package/dist/esm/tet-multi-step-dialog.entry.js +4 -4
- package/dist/esm/tet-navigation-mobile.entry.js +4 -4
- package/dist/esm/tet-news-card-list.entry.js +1 -1
- package/dist/esm/tet-news-card.entry.js +1 -1
- package/dist/esm/tet-notification.entry.js +1 -1
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-paginator.entry.js +4 -4
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-blocks.entry.js +1 -1
- package/dist/esm/tet-radio_2.entry.js +1 -1
- package/dist/esm/tet-range-slider.entry.js +1 -1
- package/dist/esm/tet-round-stepper.entry.js +1 -1
- package/dist/esm/tet-snicker-card-group.entry.js +1 -1
- package/dist/esm/tet-snicker-card.entry.js +4 -4
- package/dist/esm/tet-spacing.entry.js +1 -1
- package/dist/esm/tet-spinner.entry.js +1 -1
- package/dist/esm/tet-stepper-input.entry.js +4 -4
- package/dist/esm/tet-stepper-v3.entry.js +1 -1
- package/dist/esm/tet-sticky-offer.entry.js +1 -1
- package/dist/esm/tet-support-search.entry.js +2 -2
- package/dist/esm/tet-switch.entry.js +1 -1
- package/dist/esm/tet-table.entry.js +1 -1
- package/dist/esm/tet-tag_2.entry.js +4 -4
- package/dist/esm/tet-text-list.entry.js +1 -1
- package/dist/esm/tet-text.entry.js +1 -1
- package/dist/esm/tet-textarea.entry.js +1 -1
- package/dist/esm/tet-thank-you-view-v3.entry.js +4 -4
- package/dist/esm/tet-tv-program-channel-picker_2.entry.js +4 -4
- package/dist/esm/tet-tv-program.entry.js +1 -1
- package/dist/esm/{translations-86O17evG.js → translations-Dc2OQnbI.js} +2 -2
- package/dist/esm/{typecheck-CaZKtSyx.js → typecheck-Bvqcvhjw.js} +2 -1
- package/dist/tet-components/{p-12631d81.entry.js → p-01577a41.entry.js} +1 -1
- package/dist/tet-components/{p-386eca79.entry.js → p-067e0001.entry.js} +1 -1
- package/dist/tet-components/{p-9cd7e838.entry.js → p-0996dd5a.entry.js} +1 -1
- package/dist/tet-components/{p-0033b358.entry.js → p-0c0dec4c.entry.js} +1 -1
- package/dist/tet-components/{p-d7db3443.entry.js → p-0cb2775f.entry.js} +1 -1
- package/dist/tet-components/{p-c055c92b.entry.js → p-11ed5b55.entry.js} +1 -1
- package/dist/tet-components/{p-ceccc970.entry.js → p-129027b6.entry.js} +1 -1
- package/dist/tet-components/{p-8a703ca7.entry.js → p-137a5837.entry.js} +1 -1
- package/dist/tet-components/{p-33e92f72.entry.js → p-16199435.entry.js} +1 -1
- package/dist/tet-components/{p-9ce84cc8.entry.js → p-17d3a7ff.entry.js} +1 -1
- package/dist/tet-components/{p-e3f77ab0.entry.js → p-185e98b4.entry.js} +1 -1
- package/dist/tet-components/{p-e53dee37.entry.js → p-1b29e5f2.entry.js} +1 -1
- package/dist/tet-components/{p-eaf808b1.entry.js → p-24058988.entry.js} +1 -1
- package/dist/tet-components/{p-88a85db8.entry.js → p-299c7600.entry.js} +1 -1
- package/dist/tet-components/{p-7411c26d.entry.js → p-2c84bff1.entry.js} +1 -1
- package/dist/tet-components/{p-aa538d1c.entry.js → p-2d285624.entry.js} +1 -1
- package/dist/tet-components/{p-b239d172.entry.js → p-2d36b8a7.entry.js} +1 -1
- package/dist/tet-components/{p-a1adcc35.entry.js → p-3005a902.entry.js} +1 -1
- package/dist/tet-components/{p-b09e9aa4.entry.js → p-368fb50a.entry.js} +1 -1
- package/dist/tet-components/{p-724e2781.entry.js → p-37c3f4c6.entry.js} +1 -1
- package/dist/tet-components/{p-37a1db2e.entry.js → p-380c13f1.entry.js} +1 -1
- package/dist/tet-components/{p-8b0a8ab1.entry.js → p-38459b69.entry.js} +1 -1
- package/dist/tet-components/{p-5de0dfcb.entry.js → p-386be2d5.entry.js} +1 -1
- package/dist/tet-components/{p-e23942f5.entry.js → p-39a59573.entry.js} +1 -1
- package/dist/tet-components/{p-08b02e0e.entry.js → p-3ae8cca8.entry.js} +1 -1
- package/dist/tet-components/{p-2f1fb5d8.entry.js → p-3af65955.entry.js} +1 -1
- package/dist/tet-components/{p-188ce1dd.entry.js → p-3bb8e0ec.entry.js} +1 -1
- package/dist/tet-components/{p-8796553b.entry.js → p-40503431.entry.js} +1 -1
- package/dist/tet-components/{p-413bdca4.entry.js → p-41763924.entry.js} +1 -1
- package/dist/tet-components/{p-dc106bf5.entry.js → p-41ef37c5.entry.js} +1 -1
- package/dist/tet-components/{p-eba7482b.entry.js → p-45c01709.entry.js} +1 -1
- package/dist/tet-components/{p-613a9c50.entry.js → p-45c896dd.entry.js} +1 -1
- package/dist/tet-components/{p-b0073cd0.entry.js → p-49ba40a1.entry.js} +1 -1
- package/dist/tet-components/{p-e76ea04f.entry.js → p-4a39f6bc.entry.js} +1 -1
- package/dist/tet-components/{p-c1af090d.entry.js → p-4b92e8e6.entry.js} +1 -1
- package/dist/tet-components/{p-8814294c.entry.js → p-5a14b088.entry.js} +1 -1
- package/dist/tet-components/{p-2b3f3308.entry.js → p-632d382c.entry.js} +1 -1
- package/dist/tet-components/{p-87eab542.entry.js → p-66287f28.entry.js} +1 -1
- package/dist/tet-components/{p-6687eb0c.entry.js → p-6a8f5935.entry.js} +1 -1
- package/dist/tet-components/{p-50b880c4.entry.js → p-6bc9b958.entry.js} +1 -1
- package/dist/tet-components/{p-95e8359c.entry.js → p-6d7c406e.entry.js} +1 -1
- package/dist/tet-components/{p-28df50ce.entry.js → p-72b23f6a.entry.js} +1 -1
- package/dist/tet-components/{p-af90f478.entry.js → p-7338bab9.entry.js} +1 -1
- package/dist/tet-components/{p-0dc7e52f.entry.js → p-74ccd606.entry.js} +1 -1
- package/dist/tet-components/{p-e5ade6a8.entry.js → p-784dd089.entry.js} +1 -1
- package/dist/tet-components/{p-63576f32.entry.js → p-79be83b2.entry.js} +1 -1
- package/dist/tet-components/{p-ddb6d6c1.entry.js → p-7ae4195d.entry.js} +1 -1
- package/dist/tet-components/{p-160bf328.entry.js → p-830e4fe6.entry.js} +1 -1
- package/dist/tet-components/{p-44274421.entry.js → p-8310d42d.entry.js} +1 -1
- package/dist/tet-components/p-87f4d9b1.entry.js +1 -0
- package/dist/tet-components/{p-48080fa2.entry.js → p-94b2efaa.entry.js} +1 -1
- package/dist/tet-components/{p-c0d9e9e8.entry.js → p-952b6065.entry.js} +1 -1
- package/dist/tet-components/{p-43f24feb.entry.js → p-954dc5fa.entry.js} +1 -1
- package/dist/tet-components/p-97d1416f.entry.js +1 -0
- package/dist/tet-components/{p-d790f6de.entry.js → p-9beb88d9.entry.js} +1 -1
- package/dist/tet-components/{p-a10e05b0.entry.js → p-9cee887f.entry.js} +1 -1
- package/dist/tet-components/{p-7cc1f029.entry.js → p-9d103705.entry.js} +1 -1
- package/dist/tet-components/p-BGB6gNkz.js +3 -0
- package/dist/tet-components/p-Bvqcvhjw.js +1 -0
- package/dist/tet-components/p-BzLFf73g.js +1 -0
- package/dist/tet-components/p-C1XJmhDH.js +1 -0
- package/dist/tet-components/p-D0GJDW-O.js +1 -0
- package/dist/tet-components/{p-CZm2B2F9.js → p-DX1IQAn5.js} +1 -1
- package/dist/tet-components/{p-B7QSqkXs.js → p-DbJll7nz.js} +1 -1
- package/dist/tet-components/{p-11e0a4c1.entry.js → p-a037e4df.entry.js} +1 -1
- package/dist/tet-components/{p-fff9e103.entry.js → p-a32ada3d.entry.js} +1 -1
- package/dist/tet-components/{p-3f524c8d.entry.js → p-a560fec1.entry.js} +1 -1
- package/dist/tet-components/{p-36a4d956.entry.js → p-ad0b78d5.entry.js} +1 -1
- package/dist/tet-components/{p-86952753.entry.js → p-ad8622a2.entry.js} +1 -1
- package/dist/tet-components/{p-d2b05a14.entry.js → p-b3acb430.entry.js} +1 -1
- package/dist/tet-components/{p-227c5237.entry.js → p-bac0cda3.entry.js} +1 -1
- package/dist/tet-components/{p-0d5fcbc7.entry.js → p-be07df58.entry.js} +1 -1
- package/dist/tet-components/{p-8c4ab7a1.entry.js → p-c2d6ac75.entry.js} +1 -1
- package/dist/tet-components/{p-974ed233.entry.js → p-c96c5b96.entry.js} +1 -1
- package/dist/tet-components/{p-12cda941.entry.js → p-c97d7c52.entry.js} +1 -1
- package/dist/tet-components/{p-26583aa4.entry.js → p-c9c4656e.entry.js} +1 -1
- package/dist/tet-components/{p-5eb7d25a.entry.js → p-cc3e87fe.entry.js} +1 -1
- package/dist/tet-components/{p-817159e1.entry.js → p-cd7efc99.entry.js} +1 -1
- package/dist/tet-components/{p-7809088d.entry.js → p-d62eecdb.entry.js} +1 -1
- package/dist/tet-components/{p-3072df67.entry.js → p-d851b8e5.entry.js} +1 -1
- package/dist/tet-components/{p-6cc6a8db.entry.js → p-d8a0eaaa.entry.js} +1 -1
- package/dist/tet-components/{p-6f8eeb3e.entry.js → p-de6f9fd9.entry.js} +1 -1
- package/dist/tet-components/{p-6de668f5.entry.js → p-e0752dc6.entry.js} +1 -1
- package/dist/tet-components/{p-dccf260d.entry.js → p-e2d4e5c3.entry.js} +1 -1
- package/dist/tet-components/{p-c46fa871.entry.js → p-e3e02e3b.entry.js} +1 -1
- package/dist/tet-components/{p-66c3e3df.entry.js → p-e7e18cc4.entry.js} +1 -1
- package/dist/tet-components/{p-6d3543e5.entry.js → p-ee45806d.entry.js} +1 -1
- package/dist/tet-components/{p-8742a416.entry.js → p-f1608c27.entry.js} +1 -1
- package/dist/tet-components/{p-38a487ff.entry.js → p-fbb45705.entry.js} +1 -1
- package/dist/tet-components/{p-530b5ad5.entry.js → p-fd71a027.entry.js} +1 -1
- package/dist/tet-components/tet-components.esm.js +1 -1
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-header/tet-datepicker-header.d.ts +21 -0
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-month-view/tet-datepicker-month-view.d.ts +45 -0
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-multi-year-view/tet-datepicker-multi-year-view.d.ts +20 -0
- package/dist/types/components/simple/inputs/tet-datepicker/partials/tet-datepicker-year-view/tet-datepicker-year-view.d.ts +20 -0
- package/dist/types/components/simple/inputs/tet-datepicker/tet-datepicker.d.ts +47 -0
- package/dist/types/components.d.ts +383 -0
- package/package.json +1 -1
- package/dist/components/p-BdMiAoro.js +0 -1
- package/dist/components/p-CEbqKP1h.js +0 -1
- package/dist/components/p-CWuhYFDW.js +0 -1
- package/dist/components/p-DuHCcTbE.js +0 -1
- package/dist/components/p-_2UzwYR8.js +0 -1
- package/dist/components/p-e4DwrsCE.js +0 -1
- package/dist/tet-components/p-BxMAl4Ol.js +0 -1
- package/dist/tet-components/p-C9BlrGW8.js +0 -1
- package/dist/tet-components/p-CaZKtSyx.js +0 -1
- package/dist/tet-components/p-Pqdi2xbP.js +0 -3
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
/* Tet design styles */
|
|
2
|
+
:host {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
*,
|
|
7
|
+
*:before,
|
|
8
|
+
*:after {
|
|
9
|
+
box-sizing: inherit;
|
|
10
|
+
padding: 0;
|
|
11
|
+
margin: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
:host {
|
|
15
|
+
--color-gray-light: #cdd2de;
|
|
16
|
+
--color-ta070: #f5f6f8;
|
|
17
|
+
--color-ta080: #e6e8ee;
|
|
18
|
+
--color-ta100: #cdd2de;
|
|
19
|
+
--color-ta200: #9ba5be;
|
|
20
|
+
--color-ta300: #69789c;
|
|
21
|
+
--color-ta500: #1e356a;
|
|
22
|
+
--color-ta600: #051d59;
|
|
23
|
+
--color-tc090: #d6e6fd;
|
|
24
|
+
--color-tc100: #d1dffe;
|
|
25
|
+
--color-tc300: #75a1fb;
|
|
26
|
+
--color-tc500: #1a70f6;
|
|
27
|
+
--color-tc600: #0060f5;
|
|
28
|
+
--color-td500: #00F1F2;
|
|
29
|
+
--color-td600: #01cbe0;
|
|
30
|
+
--color-tf600: #f53b2a;
|
|
31
|
+
--color-tg300: #2b3036;
|
|
32
|
+
--color-tg400: #1d2128;
|
|
33
|
+
--color-tg500: #12171e;
|
|
34
|
+
--color-tg600: #01050c;
|
|
35
|
+
--color-th500: #f5f5f5;
|
|
36
|
+
--color-ti500: #869198;
|
|
37
|
+
--color-ti600: #aeb7bc;
|
|
38
|
+
--text-font: Gilroy, serif;
|
|
39
|
+
--text-color-darker: var(--color-ta600);
|
|
40
|
+
--text-color-dark: var(--color-ta500);
|
|
41
|
+
--text-color-dark-theme: var(--color-th500);
|
|
42
|
+
--icons-font: Tet Icons, serif;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.icon.tet-search {
|
|
46
|
+
font-family: var(--icons-font);
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-size: 1.25rem;
|
|
50
|
+
display: inline-block;
|
|
51
|
+
line-height: 1;
|
|
52
|
+
text-transform: none;
|
|
53
|
+
letter-spacing: normal;
|
|
54
|
+
word-wrap: normal;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
direction: ltr;
|
|
57
|
+
speak: none;
|
|
58
|
+
-webkit-font-smoothing: antialiased;
|
|
59
|
+
text-rendering: optimizeLegibility;
|
|
60
|
+
-moz-osx-font-smoothing: grayscale;
|
|
61
|
+
}
|
|
62
|
+
.icon.tet-search::before {
|
|
63
|
+
content: "\e86e";
|
|
64
|
+
}
|
|
65
|
+
.icon.tet-close-circled {
|
|
66
|
+
font-family: var(--icons-font);
|
|
67
|
+
font-weight: 400;
|
|
68
|
+
font-style: normal;
|
|
69
|
+
font-size: 1.25rem;
|
|
70
|
+
display: inline-block;
|
|
71
|
+
line-height: 1;
|
|
72
|
+
text-transform: none;
|
|
73
|
+
letter-spacing: normal;
|
|
74
|
+
word-wrap: normal;
|
|
75
|
+
white-space: nowrap;
|
|
76
|
+
direction: ltr;
|
|
77
|
+
speak: none;
|
|
78
|
+
-webkit-font-smoothing: antialiased;
|
|
79
|
+
text-rendering: optimizeLegibility;
|
|
80
|
+
-moz-osx-font-smoothing: grayscale;
|
|
81
|
+
}
|
|
82
|
+
.icon.tet-close-circled::before {
|
|
83
|
+
content: "\e85a";
|
|
84
|
+
}
|
|
85
|
+
.icon.tet-close {
|
|
86
|
+
font-family: var(--icons-font);
|
|
87
|
+
font-weight: 400;
|
|
88
|
+
font-style: normal;
|
|
89
|
+
font-size: 1.25rem;
|
|
90
|
+
display: inline-block;
|
|
91
|
+
line-height: 1;
|
|
92
|
+
text-transform: none;
|
|
93
|
+
letter-spacing: normal;
|
|
94
|
+
word-wrap: normal;
|
|
95
|
+
white-space: nowrap;
|
|
96
|
+
direction: ltr;
|
|
97
|
+
speak: none;
|
|
98
|
+
-webkit-font-smoothing: antialiased;
|
|
99
|
+
text-rendering: optimizeLegibility;
|
|
100
|
+
-moz-osx-font-smoothing: grayscale;
|
|
101
|
+
}
|
|
102
|
+
.icon.tet-close::before {
|
|
103
|
+
content: "\e85b";
|
|
104
|
+
}
|
|
105
|
+
.icon.tet-check-circled {
|
|
106
|
+
font-family: var(--icons-font);
|
|
107
|
+
font-weight: 400;
|
|
108
|
+
font-style: normal;
|
|
109
|
+
font-size: 1.25rem;
|
|
110
|
+
display: inline-block;
|
|
111
|
+
line-height: 1;
|
|
112
|
+
text-transform: none;
|
|
113
|
+
letter-spacing: normal;
|
|
114
|
+
word-wrap: normal;
|
|
115
|
+
white-space: nowrap;
|
|
116
|
+
direction: ltr;
|
|
117
|
+
speak: none;
|
|
118
|
+
-webkit-font-smoothing: antialiased;
|
|
119
|
+
text-rendering: optimizeLegibility;
|
|
120
|
+
-moz-osx-font-smoothing: grayscale;
|
|
121
|
+
}
|
|
122
|
+
.icon.tet-check-circled::before {
|
|
123
|
+
content: "\e86c";
|
|
124
|
+
}
|
|
125
|
+
.icon.tet-check {
|
|
126
|
+
font-family: var(--icons-font);
|
|
127
|
+
font-weight: 400;
|
|
128
|
+
font-style: normal;
|
|
129
|
+
font-size: 1.25rem;
|
|
130
|
+
display: inline-block;
|
|
131
|
+
line-height: 1;
|
|
132
|
+
text-transform: none;
|
|
133
|
+
letter-spacing: normal;
|
|
134
|
+
word-wrap: normal;
|
|
135
|
+
white-space: nowrap;
|
|
136
|
+
direction: ltr;
|
|
137
|
+
speak: none;
|
|
138
|
+
-webkit-font-smoothing: antialiased;
|
|
139
|
+
text-rendering: optimizeLegibility;
|
|
140
|
+
-moz-osx-font-smoothing: grayscale;
|
|
141
|
+
}
|
|
142
|
+
.icon.tet-check::before {
|
|
143
|
+
content: "\e855";
|
|
144
|
+
}
|
|
145
|
+
.icon.tet-chevron-up {
|
|
146
|
+
font-family: var(--icons-font);
|
|
147
|
+
font-weight: 400;
|
|
148
|
+
font-style: normal;
|
|
149
|
+
font-size: 1.25rem;
|
|
150
|
+
display: inline-block;
|
|
151
|
+
line-height: 1;
|
|
152
|
+
text-transform: none;
|
|
153
|
+
letter-spacing: normal;
|
|
154
|
+
word-wrap: normal;
|
|
155
|
+
white-space: nowrap;
|
|
156
|
+
direction: ltr;
|
|
157
|
+
speak: none;
|
|
158
|
+
-webkit-font-smoothing: antialiased;
|
|
159
|
+
text-rendering: optimizeLegibility;
|
|
160
|
+
-moz-osx-font-smoothing: grayscale;
|
|
161
|
+
}
|
|
162
|
+
.icon.tet-chevron-up::before {
|
|
163
|
+
content: "\e859";
|
|
164
|
+
}
|
|
165
|
+
.icon.tet-chevron-down {
|
|
166
|
+
font-family: var(--icons-font);
|
|
167
|
+
font-weight: 400;
|
|
168
|
+
font-style: normal;
|
|
169
|
+
font-size: 1.25rem;
|
|
170
|
+
display: inline-block;
|
|
171
|
+
line-height: 1;
|
|
172
|
+
text-transform: none;
|
|
173
|
+
letter-spacing: normal;
|
|
174
|
+
word-wrap: normal;
|
|
175
|
+
white-space: nowrap;
|
|
176
|
+
direction: ltr;
|
|
177
|
+
speak: none;
|
|
178
|
+
-webkit-font-smoothing: antialiased;
|
|
179
|
+
text-rendering: optimizeLegibility;
|
|
180
|
+
-moz-osx-font-smoothing: grayscale;
|
|
181
|
+
}
|
|
182
|
+
.icon.tet-chevron-down::before {
|
|
183
|
+
content: "\e856";
|
|
184
|
+
}
|
|
185
|
+
.icon.tet-clipboard {
|
|
186
|
+
font-family: var(--icons-font);
|
|
187
|
+
font-weight: 400;
|
|
188
|
+
font-style: normal;
|
|
189
|
+
font-size: 1.25rem;
|
|
190
|
+
display: inline-block;
|
|
191
|
+
line-height: 1;
|
|
192
|
+
text-transform: none;
|
|
193
|
+
letter-spacing: normal;
|
|
194
|
+
word-wrap: normal;
|
|
195
|
+
white-space: nowrap;
|
|
196
|
+
direction: ltr;
|
|
197
|
+
speak: none;
|
|
198
|
+
-webkit-font-smoothing: antialiased;
|
|
199
|
+
text-rendering: optimizeLegibility;
|
|
200
|
+
-moz-osx-font-smoothing: grayscale;
|
|
201
|
+
}
|
|
202
|
+
.icon.tet-clipboard::before {
|
|
203
|
+
content: "\e86a";
|
|
204
|
+
}
|
|
205
|
+
.icon.tet-info {
|
|
206
|
+
font-family: var(--icons-font);
|
|
207
|
+
font-weight: 400;
|
|
208
|
+
font-style: normal;
|
|
209
|
+
font-size: 1.25rem;
|
|
210
|
+
display: inline-block;
|
|
211
|
+
line-height: 1;
|
|
212
|
+
text-transform: none;
|
|
213
|
+
letter-spacing: normal;
|
|
214
|
+
word-wrap: normal;
|
|
215
|
+
white-space: nowrap;
|
|
216
|
+
direction: ltr;
|
|
217
|
+
speak: none;
|
|
218
|
+
-webkit-font-smoothing: antialiased;
|
|
219
|
+
text-rendering: optimizeLegibility;
|
|
220
|
+
-moz-osx-font-smoothing: grayscale;
|
|
221
|
+
}
|
|
222
|
+
.icon.tet-info::before {
|
|
223
|
+
content: "\e81d";
|
|
224
|
+
}
|
|
225
|
+
.icon.tet-done {
|
|
226
|
+
font-family: var(--icons-font);
|
|
227
|
+
font-weight: 400;
|
|
228
|
+
font-style: normal;
|
|
229
|
+
font-size: 1.25rem;
|
|
230
|
+
display: inline-block;
|
|
231
|
+
line-height: 1;
|
|
232
|
+
text-transform: none;
|
|
233
|
+
letter-spacing: normal;
|
|
234
|
+
word-wrap: normal;
|
|
235
|
+
white-space: nowrap;
|
|
236
|
+
direction: ltr;
|
|
237
|
+
speak: none;
|
|
238
|
+
-webkit-font-smoothing: antialiased;
|
|
239
|
+
text-rendering: optimizeLegibility;
|
|
240
|
+
-moz-osx-font-smoothing: grayscale;
|
|
241
|
+
}
|
|
242
|
+
.icon.tet-done::before {
|
|
243
|
+
content: "\e867";
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@font-face {
|
|
247
|
+
font-family: "Gilroy";
|
|
248
|
+
font-style: normal;
|
|
249
|
+
font-weight: 400;
|
|
250
|
+
font-display: swap;
|
|
251
|
+
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
252
|
+
}
|
|
253
|
+
@font-face {
|
|
254
|
+
font-family: "Gilroy";
|
|
255
|
+
font-style: normal;
|
|
256
|
+
font-weight: 500;
|
|
257
|
+
font-display: swap;
|
|
258
|
+
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
259
|
+
}
|
|
260
|
+
@font-face {
|
|
261
|
+
font-family: "Gilroy";
|
|
262
|
+
font-style: normal;
|
|
263
|
+
font-weight: 600;
|
|
264
|
+
font-display: swap;
|
|
265
|
+
src: url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff");
|
|
266
|
+
}
|
|
267
|
+
@font-face {
|
|
268
|
+
font-family: "Gilroy";
|
|
269
|
+
font-style: normal;
|
|
270
|
+
font-weight: 700;
|
|
271
|
+
font-display: swap;
|
|
272
|
+
src: url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff");
|
|
273
|
+
}
|
|
274
|
+
@font-face {
|
|
275
|
+
font-family: "Inter";
|
|
276
|
+
font-style: normal;
|
|
277
|
+
font-weight: 400;
|
|
278
|
+
font-display: swap;
|
|
279
|
+
src: url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff");
|
|
280
|
+
}
|
|
281
|
+
@font-face {
|
|
282
|
+
font-family: "Inter";
|
|
283
|
+
font-style: normal;
|
|
284
|
+
font-weight: 500;
|
|
285
|
+
font-display: swap;
|
|
286
|
+
src: url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff");
|
|
287
|
+
}
|
|
288
|
+
@font-face {
|
|
289
|
+
font-family: "Inter";
|
|
290
|
+
font-style: normal;
|
|
291
|
+
font-weight: 600;
|
|
292
|
+
font-display: swap;
|
|
293
|
+
src: url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff");
|
|
294
|
+
}
|
|
295
|
+
@font-face {
|
|
296
|
+
font-family: "Gilroy";
|
|
297
|
+
font-style: normal;
|
|
298
|
+
font-weight: 400;
|
|
299
|
+
font-display: swap;
|
|
300
|
+
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
301
|
+
}
|
|
302
|
+
@font-face {
|
|
303
|
+
font-family: "Gilroy";
|
|
304
|
+
font-style: normal;
|
|
305
|
+
font-weight: 500;
|
|
306
|
+
font-display: swap;
|
|
307
|
+
src: url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff");
|
|
308
|
+
}
|
|
309
|
+
@font-face {
|
|
310
|
+
font-family: "Gilroy";
|
|
311
|
+
font-style: normal;
|
|
312
|
+
font-weight: 600;
|
|
313
|
+
font-display: swap;
|
|
314
|
+
src: url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff");
|
|
315
|
+
}
|
|
316
|
+
@font-face {
|
|
317
|
+
font-family: "Gilroy";
|
|
318
|
+
font-style: normal;
|
|
319
|
+
font-weight: 700;
|
|
320
|
+
font-display: swap;
|
|
321
|
+
src: url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff");
|
|
322
|
+
}
|
|
323
|
+
@font-face {
|
|
324
|
+
font-family: "Inter";
|
|
325
|
+
font-style: normal;
|
|
326
|
+
font-weight: 400;
|
|
327
|
+
font-display: swap;
|
|
328
|
+
src: url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff");
|
|
329
|
+
}
|
|
330
|
+
@font-face {
|
|
331
|
+
font-family: "Inter";
|
|
332
|
+
font-style: normal;
|
|
333
|
+
font-weight: 500;
|
|
334
|
+
font-display: swap;
|
|
335
|
+
src: url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff");
|
|
336
|
+
}
|
|
337
|
+
@font-face {
|
|
338
|
+
font-family: "Inter";
|
|
339
|
+
font-style: normal;
|
|
340
|
+
font-weight: 600;
|
|
341
|
+
font-display: swap;
|
|
342
|
+
src: url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff");
|
|
343
|
+
}
|
|
344
|
+
:host {
|
|
345
|
+
--font-family-fallback: Gilroy, Arial, sans-serif;
|
|
346
|
+
--font-family-headline: Gilroy;
|
|
347
|
+
--font-family-content: Inter, var(--font-family-fallback);
|
|
348
|
+
font-family: var(--font-family-content);
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
:host {
|
|
352
|
+
display: block;
|
|
353
|
+
--light-theme-elevation-3: 0 0.0625rem 0.125rem rgba(10, 11, 13, 0.05), 0 0.3125rem 0.6875rem rgba(10, 11, 13, 0.12);
|
|
354
|
+
--text-color-primary-light: #f6f7f8;
|
|
355
|
+
--interaction-state-gray: rgba(89, 99, 115, 0.08);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.overlay {
|
|
359
|
+
position: fixed;
|
|
360
|
+
z-index: 100;
|
|
361
|
+
inset: 0;
|
|
362
|
+
}
|
|
363
|
+
.overlay-effect {
|
|
364
|
+
background: rgba(10, 11, 13, 0.4);
|
|
365
|
+
}
|
|
366
|
+
.overlay.closed {
|
|
367
|
+
display: none;
|
|
368
|
+
}
|
|
369
|
+
.overlay .container {
|
|
370
|
+
max-width: 22rem;
|
|
371
|
+
min-height: 20rem;
|
|
372
|
+
height: auto;
|
|
373
|
+
width: 100%;
|
|
374
|
+
background: rgb(255, 255, 255);
|
|
375
|
+
border: 0.0625rem solid rgb(192, 197, 206);
|
|
376
|
+
box-shadow: var(--light-theme-elevation-3);
|
|
377
|
+
border-radius: 0.875rem;
|
|
378
|
+
padding: 0.5rem;
|
|
379
|
+
position: absolute;
|
|
380
|
+
}
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t}from"./p-
|
|
1
|
+
import{t}from"./p-Cdi7KDBd.js";export{g as getAssetPath,r as render,s as setAssetPath,a as setNonce,b as setPlatformOptions}from"./p-Cdi7KDBd.js";import{TetAccordion as o}from"./tet-accordion.js";import{TetAddressOffers as m}from"./tet-address-offers.js";import{TetAddressOffersFilters as e}from"./tet-address-offers-filters.js";import{TetAddressOffersFiltersProducts as i}from"./tet-address-offers-filters-products.js";import{TetAddressOffersView as p}from"./tet-address-offers-view.js";import{TetAddressSearch as f}from"./tet-address-search.js";import{TetAssembler as j}from"./tet-assembler.js";import{TetAssetAvailabilityAddresses as c}from"./tet-asset-availability-addresses.js";import{TetAutocomplete as n}from"./tet-autocomplete.js";import{TetAutocompleteDropdown as d}from"./tet-autocomplete-dropdown.js";import{TetAvailabilityContactForm as l}from"./tet-availability-contact-form.js";import{TetB2bCheckOutForm as u}from"./tet-b2b-check-out-form.js";import{TetB2bCompareCard as v}from"./tet-b2b-compare-card.js";import{TetB2bConfigurator as k}from"./tet-b2b-configurator.js";import{TetB2bConfiguratorCart as h}from"./tet-b2b-configurator-cart.js";import{TetBannerNav as w}from"./tet-banner-nav.js";import{TetBarGraph as y}from"./tet-bar-graph.js";import{TetBorderRadius as x}from"./tet-border-radius.js";import{TetBusinessCard as E}from"./tet-business-card.js";import{TetBusinessCompareCard as P}from"./tet-business-compare-card.js";import{TetBusinessNavigation as A}from"./tet-business-navigation.js";import{TetBusinessRoundStepper as B}from"./tet-business-round-stepper.js";import{TetBusinessSummaryCard as C}from"./tet-business-summary-card.js";import{TetButton as D}from"./tet-button.js";import{TetCardList as K}from"./tet-card-list.js";import{TetCarousel as N}from"./tet-carousel.js";import{TetCheckbox as O}from"./tet-checkbox.js";import{TetCloudApplicationFormDialog as q}from"./tet-cloud-application-form-dialog.js";import{TetCloudConfigurator as z}from"./tet-cloud-configurator.js";import{TetColors as F}from"./tet-colors.js";import{TetCompareCard as G}from"./tet-compare-card.js";import{TetCompareCardV2 as H}from"./tet-compare-card-v2.js";import{TetCompareCardV3 as I}from"./tet-compare-card-v3.js";import{TetCompareCards as J}from"./tet-compare-cards.js";import{TetCompareCardsTab as L}from"./tet-compare-cards-tab.js";import{TetContainer as M}from"./tet-container.js";import{TetCountdown as Q}from"./tet-countdown.js";import{TetCounter as R}from"./tet-counter.js";import{TetDatepicker as S}from"./tet-datepicker.js";import{TetDatepickerHeader as T}from"./tet-datepicker-header.js";import{TetDatepickerMonthView as U}from"./tet-datepicker-month-view.js";import{TetDatepickerMultiYearView as V}from"./tet-datepicker-multi-year-view.js";import{TetDatepickerYearView as W}from"./tet-datepicker-year-view.js";import{TetDialog as X}from"./tet-dialog.js";import{TetDisplay as Y}from"./tet-display.js";import{TetDivider as Z}from"./tet-divider.js";import{TetDropdown as $}from"./tet-dropdown.js";import{TetDynamicCard as _}from"./tet-dynamic-card.js";import{TetExpandableInput as tt}from"./tet-expandable-input.js";import{TetExpansionPanel as rt}from"./tet-expansion-panel.js";import{TetFeedbackForm as ot}from"./tet-feedback-form.js";import{TetFilter as mt}from"./tet-filter.js";import{TetFloatingBlock as et}from"./tet-floating-block.js";import{TetFontWeight as st}from"./tet-font-weight.js";import{TetFonts as it}from"./tet-fonts.js";import{TetGrid as pt}from"./tet-grid.js";import{TetIcon as ft}from"./tet-icon.js";import{TetInlineMessage as at}from"./tet-inline-message.js";import{TetInput as jt}from"./tet-input.js";import{TetLayout as ct}from"./tet-layout.js";import{TetLink as nt}from"./tet-link.js";import{TetLinkCardList as dt}from"./tet-link-card-list.js";import{TetLoader as lt}from"./tet-loader.js";import{TetMenu as ut}from"./tet-menu.js";import{TetMenuMobile as bt}from"./tet-menu-mobile.js";import{TetMiniCompareCard as gt}from"./tet-mini-compare-card.js";import{TetMultiStepDialog as vt}from"./tet-multi-step-dialog.js";import{TetNavigationMobile as kt}from"./tet-navigation-mobile.js";import{TetNewsCard as ht}from"./tet-news-card.js";import{TetNewsCardList as wt}from"./tet-news-card-list.js";import{TetNotification as yt}from"./tet-notification.js";import{TetNumberInput as xt}from"./tet-number-input.js";import{TetPaginator as Et}from"./tet-paginator.js";import{TetPlaceholder as Pt}from"./tet-placeholder.js";import{TetPosition as At}from"./tet-position.js";import{TetPriceView as Bt}from"./tet-price-view.js";import{TetRadio as Ct}from"./tet-radio.js";import{TetRadioBlocks as Dt}from"./tet-radio-blocks.js";import{TetRangeSlider as Kt}from"./tet-range-slider.js";import{TetRoundStepper as Nt}from"./tet-round-stepper.js";import{TetSelectionList as Ot}from"./tet-selection-list.js";import{TetSnickerCard as qt}from"./tet-snicker-card.js";import{TetSnickerCardGroup as zt}from"./tet-snicker-card-group.js";import{TetSpacing as Ft}from"./tet-spacing.js";import{TetSpinner as Gt}from"./tet-spinner.js";import{TetStepperInput as Ht}from"./tet-stepper-input.js";import{TetStepperV3 as It}from"./tet-stepper-v3.js";import{TetStickyOffer as Jt}from"./tet-sticky-offer.js";import{TetSupportSearch as Lt}from"./tet-support-search.js";import{TetSwitch as Mt}from"./tet-switch.js";import{TetTabContent as Qt}from"./tet-tab-content.js";import{TetTabHeader as Rt}from"./tet-tab-header.js";import{TetTable as St}from"./tet-table.js";import{TetTag as Tt}from"./tet-tag.js";import{TetTagGroup as Ut}from"./tet-tag-group.js";import{TetText as Vt}from"./tet-text.js";import{TetTextList as Wt}from"./tet-text-list.js";import{TetTextarea as Xt}from"./tet-textarea.js";import{TetThankYouViewV3 as Yt}from"./tet-thank-you-view-v3.js";import{TetTooltip as Zt}from"./tet-tooltip.js";import{TetTvProgram as $t}from"./tet-tv-program.js";import{TetTvProgramChannelPicker as _t}from"./tet-tv-program-channel-picker.js";import{TetTvProgramDatePicker as tr}from"./tet-tv-program-date-picker.js";const rr=r=>{"undefined"!=typeof customElements&&[o,m,e,i,p,f,j,c,n,d,l,u,v,k,h,w,y,x,E,P,A,B,C,D,K,N,O,q,z,F,G,H,I,J,L,M,Q,R,S,T,U,V,W,X,Y,Z,$,_,tt,rt,ot,mt,et,st,it,pt,ft,at,jt,ct,nt,dt,lt,ut,bt,gt,vt,kt,ht,wt,yt,xt,Et,Pt,At,Bt,Ct,Dt,Kt,Nt,Ot,qt,zt,Ft,Gt,Ht,It,Jt,Lt,Mt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Yt,Zt,$t,_t,tr].forEach((o=>{customElements.get(t(o.is))||customElements.define(t(o.is),o,r)}))};export{rr as defineCustomElements}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,d as n,h as r,c as i,t as o}from"./p-CWuhYFDW.js";import{o as a}from"./p-DdqamPtp.js";import{d as s}from"./p-Bcv8ei49.js";const l="tv-channel-picker__list--dragging",c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.channelSelected=n(this,"channelSelected")}theme="light";channels=[];disabled=!1;loading=!1;showGradients=!1;selectedChannel;focusedChannel;failedImageSources=[];visibleChannelIds=[];canScrollLeft=!1;canScrollRight=!1;channelSelected;channelList;renderedSelectedChannel;renderedLoading=!1;drag;suppressChannelClick=!1;resizeObserver;imageObservations=new Map;onThemeChange(){this.visibleChannelIds=[];for(const t of this.imageObservations.values())t();this.imageObservations.clear()}onChannelsChange(){const t=new Set(this.channels.map((t=>t.id)));this.visibleChannelIds=this.visibleChannelIds.filter((e=>t.has(e))),this.channels.some((t=>t.id===this.selectedChannel))||(this.selectedChannel=this.channels[0]?.id),this.channels.some((t=>t.id===this.focusedChannel))||(this.focusedChannel=void 0)}async setChannel(t){const e=this.channels.find((e=>e.id===t))??this.channels[0];e?.id===this.selectedChannel?this.centerChannel():this.selectedChannel=e?.id}connectedCallback(){this.channelList&&(this.resizeObserver?.observe(this.channelList),this.observeChannelImages())}componentWillLoad(){this.onChannelsChange()}componentDidLoad(){this.channelList&&"function"==typeof globalThis.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{this.drag||this.centerChannel(),this.updateScrollEdges()})),this.resizeObserver.observe(this.channelList))}componentDidRender(){const t=this.renderedSelectedChannel!==this.selectedChannel,e=this.renderedLoading&&!this.loading;this.renderedSelectedChannel=this.selectedChannel,this.renderedLoading=this.loading,(t||e)&&this.centerChannel(),this.updateScrollEdges(),this.observeChannelImages()}disconnectedCallback(){this.resizeObserver?.disconnect();for(const t of this.imageObservations.values())t();this.imageObservations.clear(),this.drag&&this.handlePointerEnd(this.drag.pointerId),this.suppressChannelClick=!1}handlePointerDown(t){this.suppressChannelClick=!1,"mouse"===t.pointerType&&0===t.button&&this.channelList&&(this.drag={pointerId:t.pointerId,startX:t.clientX,scrollLeft:this.channelList.scrollLeft,active:!1})}handlePointerMove(t){const e=this.drag,n=this.channelList;if(!e||!n||t.pointerId!==e.pointerId)return;if(!(1&t.buttons))return void this.handlePointerEnd(t.pointerId);const r=t.clientX-e.startX;!e.active&&Math.abs(r)<5||(e.active||(e.active=!0,this.suppressChannelClick=!0,n.classList.add(l),n.setPointerCapture(t.pointerId)),t.preventDefault(),n.scrollLeft=e.scrollLeft-r)}handlePointerEnd(t){this.drag?.pointerId===t&&(this.drag=void 0,this.channelList?.classList.remove(l),this.channelList?.hasPointerCapture(t)&&this.channelList.releasePointerCapture(t))}handleChannelButtonClick(t,e){this.suppressChannelClick&&0!==e.detail||this.handleChannelClick(t)}handleChannelKeyDown(t,e){if(this.disabled||this.loading||t.altKey||t.ctrlKey||t.metaKey||!["ArrowLeft","ArrowRight","Home","End"].includes(t.key))return;t.preventDefault();const n=this.channels.findIndex((t=>t.id===e.id)),r={ArrowLeft:n-1,ArrowRight:n+1,Home:0,End:this.channels.length-1}[t.key],i=n>=0?this.channels[r]:void 0;i&&(this.channelList?.querySelectorAll("button")[r]?.focus({preventScroll:!0}),this.centerChannel(i.id))}handleChannelFocus(t,e){this.focusedChannel=e.id,!this.drag&&t.currentTarget instanceof Element&&t.currentTarget.matches(":focus-visible")&&this.centerChannel(e.id)}handleFocusOut(t){const e=t.relatedTarget;e instanceof Node&&this.channelList?.contains(e)||(this.focusedChannel=void 0,this.centerChannel())}observeChannelImages(){const t=this.channelList;if(t){for(const[e,n]of this.imageObservations)t.contains(e)&&!this.visibleChannelIds.includes(e.dataset.channelId??"")||(n(),this.imageObservations.delete(e));for(const e of Array.from(t.querySelectorAll("button[data-channel-id]"))){const n=e.dataset.channelId;if(n&&!this.visibleChannelIds.includes(n)&&!this.imageObservations.has(e)&&e.querySelector("img")){const r=this.theme,i=a(e,(()=>{this.theme===r&&t.contains(e)&&!this.visibleChannelIds.includes(n)&&(this.visibleChannelIds=[...this.visibleChannelIds,n])}));this.imageObservations.set(e,i)}}}}updateScrollEdges(){const t=this.channelList;this.canScrollLeft=!!t&&t.scrollLeft>1,this.canScrollRight=!!t&&t.scrollWidth-t.clientWidth-t.scrollLeft>1}centerChannel(t=this.selectedChannel){const e=this.channelList,n=this.channels.findIndex((e=>e.id===t)),r=e?.querySelectorAll("button")[n];if(e&&r){const t=e.getBoundingClientRect(),n=r.getBoundingClientRect(),i=e.scrollLeft+(n.left-t.left-e.clientLeft)-(e.clientWidth-n.width)/2,o=Math.max(0,e.scrollWidth-e.clientWidth);e.scrollLeft=Math.max(0,Math.min(i,o))}}handleChannelClick(t){this.disabled||this.loading||(t.id!==this.selectedChannel?(this.selectedChannel=t.id,this.channelSelected.emit(t.id)):this.centerChannel())}renderChannelPlaceholders(){return Array.from({length:16},((t,e)=>r("li",{class:"tv-channel-picker__item",key:`loading-${e}`,"aria-hidden":"true"},r("div",{class:"tv-channel-picker__placeholder"},r("tet-placeholder",{width:"100%",height:"100%",darkTheme:"dark"===this.theme})))))}renderChannelButtons(){return this.channels.map((t=>{const e=this.selectedChannel===t.id,n="dark"===this.theme?t.imageSourceDark??t.imageSource:t.imageSource;return r("li",{class:"tv-channel-picker__item",key:t.id},r("button",{type:"button",class:"tv-channel-picker__button","data-channel-id":t.id,disabled:this.disabled,"aria-label":t.name,"aria-pressed":e?"true":"false",tabIndex:(this.focusedChannel??this.selectedChannel)===t.id?0:-1,onFocus:e=>this.handleChannelFocus(e,t),onClick:e=>this.handleChannelButtonClick(t,e),onKeyDown:e=>this.handleChannelKeyDown(e,t)},!n||this.failedImageSources.includes(n)?r("span",{class:"tv-channel-picker__fallback"},t.name):r("img",{class:"tv-channel-picker__image",src:this.visibleChannelIds.includes(t.id)?n:void 0,alt:"",draggable:!1,onError:()=>{this.failedImageSources.includes(n)||(this.failedImageSources=[...this.failedImageSources,n])}})),e&&r("div",{class:"tv-channel-picker__button-underline"}))}))}render(){return r(i,{key:"b39ec97eedb9e2c0b349b7436ff5c3d5da4f573f"},r("div",{key:"a0f1936c84f99a4ad51f92c62fdd93b1b6ee0295",class:{"tv-channel-picker":!0,"tv-channel-picker--gradients":this.showGradients,"tv-channel-picker--gradient-left":this.showGradients&&this.canScrollLeft,"tv-channel-picker--gradient-right":this.showGradients&&this.canScrollRight}},r("ul",{key:"fa85fbac4fe8a7f5d736cafa3c6bc8413b9c2624",class:"tv-channel-picker__list",tabIndex:-1,"aria-busy":this.loading?"true":"false",ref:t=>{this.channelList=t},onScroll:()=>this.updateScrollEdges(),onFocusout:t=>this.handleFocusOut(t),onPointerDown:t=>this.handlePointerDown(t),onPointerMove:t=>this.handlePointerMove(t),onPointerUp:t=>this.handlePointerEnd(t.pointerId),onPointerCancel:t=>this.handlePointerEnd(t.pointerId),onLostPointerCapture:t=>this.handlePointerEnd(t.pointerId)},this.loading?this.renderChannelPlaceholders():this.renderChannelButtons())))}static get watchers(){return{theme:[{onThemeChange:0}],channels:[{onChannelsChange:0}]}}static get style(){return'@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--tv-channel-picker-text-primary-color:var(--tc-text-primary);--tv-channel-picker-button-background-color:var(--tc-layer-grey-primary);--tv-channel-picker-button-hover-background-color:var(--tc-layer-grey-secondary);--tv-channel-picker-button-active-background-color:var(--tc-layer-grey-tertiary);--tv-channel-picker-focus-outline-color:var(--tc-blue-40);--tv-channel-picker-gradient-color:var(--tc-background-primary);display:block;height:3.875rem}:host([theme=dark]){--tv-channel-picker-text-primary-color:var(--tc-text-primary-dark);--tv-channel-picker-button-background-color:var(--tc-layer-grey-primary-dark);--tv-channel-picker-button-hover-background-color:var(--tc-layer-grey-secondary-dark);--tv-channel-picker-button-active-background-color:var(--tc-layer-grey-tertiary-dark);--tv-channel-picker-focus-outline-color:var(--tc-blue-40-dark);--tv-channel-picker-gradient-color:var(--tc-background-primary-dark)}.tv-channel-picker{position:relative;display:flex;align-items:center;max-width:100%;height:100%}.tv-channel-picker--gradients::before,.tv-channel-picker--gradients::after{content:"";position:absolute;top:0;bottom:0;width:119px;pointer-events:none;z-index:2;opacity:0}.tv-channel-picker--gradients::before{left:0;background:linear-gradient(to right, var(--tv-channel-picker-gradient-color), transparent)}.tv-channel-picker--gradients::after{right:0;background:linear-gradient(to left, var(--tv-channel-picker-gradient-color), transparent)}.tv-channel-picker--gradient-left::before,.tv-channel-picker--gradient-right::after{opacity:1}.tv-channel-picker__list{display:flex;flex:1;flex-direction:row;justify-content:safe center;gap:0.5rem;height:100%;min-width:0;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;-webkit-user-select:none;user-select:none}.tv-channel-picker__list--dragging{scroll-behavior:auto;scroll-snap-type:none}.tv-channel-picker__list--dragging,.tv-channel-picker__list--dragging .tv-channel-picker__button{cursor:grabbing}@media (prefers-reduced-motion: reduce){.tv-channel-picker__list{scroll-behavior:auto}}.tv-channel-picker__list::-webkit-scrollbar{display:none}.tv-channel-picker__item{display:flex;flex-direction:column;gap:0.25rem;list-style:none;width:6.25rem;height:100%;flex-shrink:0}.tv-channel-picker__image{display:block;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-select:none}.tv-channel-picker__fallback{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";align-self:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tv-channel-picker__button,.tv-channel-picker__placeholder{width:100%;align-self:center;height:3.375rem}.tv-channel-picker__button{display:flex;justify-content:center;align-items:center;border:none;cursor:pointer;border-radius:0.5rem;padding:0.5rem 0.625rem;color:var(--tv-channel-picker-text-primary-color);background-color:var(--tv-channel-picker-button-background-color)}.tv-channel-picker__button:hover{background-color:var(--tv-channel-picker-button-hover-background-color)}.tv-channel-picker__button:active,.tv-channel-picker__button[aria-pressed=true]{background-color:var(--tv-channel-picker-button-active-background-color)}.tv-channel-picker__button:disabled{pointer-events:none}.tv-channel-picker__button:focus-visible{outline:0.125rem solid var(--tv-channel-picker-focus-outline-color);outline-offset:-0.125rem}.tv-channel-picker__placeholder tet-placeholder{--placeholder-border-radius:0.5rem}.tv-channel-picker__button-underline{height:0.25rem;border-radius:0.5rem;background-color:var(--tv-channel-picker-button-active-background-color)}'}},[513,"tet-tv-program-channel-picker",{theme:[513],channels:[16],disabled:[516],loading:[4],showGradients:[4,"show-gradients"],selectedChannel:[32],focusedChannel:[32],failedImageSources:[32],visibleChannelIds:[32],canScrollLeft:[32],canScrollRight:[32],setChannel:[64]},void 0,{theme:[{onThemeChange:0}],channels:[{onChannelsChange:0}]}]);function h(){"undefined"!=typeof customElements&&["tet-tv-program-channel-picker","tet-placeholder"].forEach((t=>{switch(t){case"tet-tv-program-channel-picker":customElements.get(o(t))||customElements.define(o(t),c);break;case"tet-placeholder":customElements.get(o(t))||s()}}))}export{c as T,h as d}
|
|
1
|
+
import{p as t,H as e,d as n,h as r,c as i,t as o}from"./p-Cdi7KDBd.js";import{o as a}from"./p-DdqamPtp.js";import{d as s}from"./p-Dke4zCyb.js";const l="tv-channel-picker__list--dragging",c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.channelSelected=n(this,"channelSelected")}theme="light";channels=[];disabled=!1;loading=!1;showGradients=!1;selectedChannel;focusedChannel;failedImageSources=[];visibleChannelIds=[];canScrollLeft=!1;canScrollRight=!1;channelSelected;channelList;renderedSelectedChannel;renderedLoading=!1;drag;suppressChannelClick=!1;resizeObserver;imageObservations=new Map;onThemeChange(){this.visibleChannelIds=[];for(const t of this.imageObservations.values())t();this.imageObservations.clear()}onChannelsChange(){const t=new Set(this.channels.map((t=>t.id)));this.visibleChannelIds=this.visibleChannelIds.filter((e=>t.has(e))),this.channels.some((t=>t.id===this.selectedChannel))||(this.selectedChannel=this.channels[0]?.id),this.channels.some((t=>t.id===this.focusedChannel))||(this.focusedChannel=void 0)}async setChannel(t){const e=this.channels.find((e=>e.id===t))??this.channels[0];e?.id===this.selectedChannel?this.centerChannel():this.selectedChannel=e?.id}connectedCallback(){this.channelList&&(this.resizeObserver?.observe(this.channelList),this.observeChannelImages())}componentWillLoad(){this.onChannelsChange()}componentDidLoad(){this.channelList&&"function"==typeof globalThis.ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>{this.drag||this.centerChannel(),this.updateScrollEdges()})),this.resizeObserver.observe(this.channelList))}componentDidRender(){const t=this.renderedSelectedChannel!==this.selectedChannel,e=this.renderedLoading&&!this.loading;this.renderedSelectedChannel=this.selectedChannel,this.renderedLoading=this.loading,(t||e)&&this.centerChannel(),this.updateScrollEdges(),this.observeChannelImages()}disconnectedCallback(){this.resizeObserver?.disconnect();for(const t of this.imageObservations.values())t();this.imageObservations.clear(),this.drag&&this.handlePointerEnd(this.drag.pointerId),this.suppressChannelClick=!1}handlePointerDown(t){this.suppressChannelClick=!1,"mouse"===t.pointerType&&0===t.button&&this.channelList&&(this.drag={pointerId:t.pointerId,startX:t.clientX,scrollLeft:this.channelList.scrollLeft,active:!1})}handlePointerMove(t){const e=this.drag,n=this.channelList;if(!e||!n||t.pointerId!==e.pointerId)return;if(!(1&t.buttons))return void this.handlePointerEnd(t.pointerId);const r=t.clientX-e.startX;!e.active&&Math.abs(r)<5||(e.active||(e.active=!0,this.suppressChannelClick=!0,n.classList.add(l),n.setPointerCapture(t.pointerId)),t.preventDefault(),n.scrollLeft=e.scrollLeft-r)}handlePointerEnd(t){this.drag?.pointerId===t&&(this.drag=void 0,this.channelList?.classList.remove(l),this.channelList?.hasPointerCapture(t)&&this.channelList.releasePointerCapture(t))}handleChannelButtonClick(t,e){this.suppressChannelClick&&0!==e.detail||this.handleChannelClick(t)}handleChannelKeyDown(t,e){if(this.disabled||this.loading||t.altKey||t.ctrlKey||t.metaKey||!["ArrowLeft","ArrowRight","Home","End"].includes(t.key))return;t.preventDefault();const n=this.channels.findIndex((t=>t.id===e.id)),r={ArrowLeft:n-1,ArrowRight:n+1,Home:0,End:this.channels.length-1}[t.key],i=n>=0?this.channels[r]:void 0;i&&(this.channelList?.querySelectorAll("button")[r]?.focus({preventScroll:!0}),this.centerChannel(i.id))}handleChannelFocus(t,e){this.focusedChannel=e.id,!this.drag&&t.currentTarget instanceof Element&&t.currentTarget.matches(":focus-visible")&&this.centerChannel(e.id)}handleFocusOut(t){const e=t.relatedTarget;e instanceof Node&&this.channelList?.contains(e)||(this.focusedChannel=void 0,this.centerChannel())}observeChannelImages(){const t=this.channelList;if(t){for(const[e,n]of this.imageObservations)t.contains(e)&&!this.visibleChannelIds.includes(e.dataset.channelId??"")||(n(),this.imageObservations.delete(e));for(const e of Array.from(t.querySelectorAll("button[data-channel-id]"))){const n=e.dataset.channelId;if(n&&!this.visibleChannelIds.includes(n)&&!this.imageObservations.has(e)&&e.querySelector("img")){const r=this.theme,i=a(e,(()=>{this.theme===r&&t.contains(e)&&!this.visibleChannelIds.includes(n)&&(this.visibleChannelIds=[...this.visibleChannelIds,n])}));this.imageObservations.set(e,i)}}}}updateScrollEdges(){const t=this.channelList;this.canScrollLeft=!!t&&t.scrollLeft>1,this.canScrollRight=!!t&&t.scrollWidth-t.clientWidth-t.scrollLeft>1}centerChannel(t=this.selectedChannel){const e=this.channelList,n=this.channels.findIndex((e=>e.id===t)),r=e?.querySelectorAll("button")[n];if(e&&r){const t=e.getBoundingClientRect(),n=r.getBoundingClientRect(),i=e.scrollLeft+(n.left-t.left-e.clientLeft)-(e.clientWidth-n.width)/2,o=Math.max(0,e.scrollWidth-e.clientWidth);e.scrollLeft=Math.max(0,Math.min(i,o))}}handleChannelClick(t){this.disabled||this.loading||(t.id!==this.selectedChannel?(this.selectedChannel=t.id,this.channelSelected.emit(t.id)):this.centerChannel())}renderChannelPlaceholders(){return Array.from({length:16},((t,e)=>r("li",{class:"tv-channel-picker__item",key:`loading-${e}`,"aria-hidden":"true"},r("div",{class:"tv-channel-picker__placeholder"},r("tet-placeholder",{width:"100%",height:"100%",darkTheme:"dark"===this.theme})))))}renderChannelButtons(){return this.channels.map((t=>{const e=this.selectedChannel===t.id,n="dark"===this.theme?t.imageSourceDark??t.imageSource:t.imageSource;return r("li",{class:"tv-channel-picker__item",key:t.id},r("button",{type:"button",class:"tv-channel-picker__button","data-channel-id":t.id,disabled:this.disabled,"aria-label":t.name,"aria-pressed":e?"true":"false",tabIndex:(this.focusedChannel??this.selectedChannel)===t.id?0:-1,onFocus:e=>this.handleChannelFocus(e,t),onClick:e=>this.handleChannelButtonClick(t,e),onKeyDown:e=>this.handleChannelKeyDown(e,t)},!n||this.failedImageSources.includes(n)?r("span",{class:"tv-channel-picker__fallback"},t.name):r("img",{class:"tv-channel-picker__image",src:this.visibleChannelIds.includes(t.id)?n:void 0,alt:"",draggable:!1,onError:()=>{this.failedImageSources.includes(n)||(this.failedImageSources=[...this.failedImageSources,n])}})),e&&r("div",{class:"tv-channel-picker__button-underline"}))}))}render(){return r(i,{key:"b39ec97eedb9e2c0b349b7436ff5c3d5da4f573f"},r("div",{key:"a0f1936c84f99a4ad51f92c62fdd93b1b6ee0295",class:{"tv-channel-picker":!0,"tv-channel-picker--gradients":this.showGradients,"tv-channel-picker--gradient-left":this.showGradients&&this.canScrollLeft,"tv-channel-picker--gradient-right":this.showGradients&&this.canScrollRight}},r("ul",{key:"fa85fbac4fe8a7f5d736cafa3c6bc8413b9c2624",class:"tv-channel-picker__list",tabIndex:-1,"aria-busy":this.loading?"true":"false",ref:t=>{this.channelList=t},onScroll:()=>this.updateScrollEdges(),onFocusout:t=>this.handleFocusOut(t),onPointerDown:t=>this.handlePointerDown(t),onPointerMove:t=>this.handlePointerMove(t),onPointerUp:t=>this.handlePointerEnd(t.pointerId),onPointerCancel:t=>this.handlePointerEnd(t.pointerId),onLostPointerCapture:t=>this.handlePointerEnd(t.pointerId)},this.loading?this.renderChannelPlaceholders():this.renderChannelButtons())))}static get watchers(){return{theme:[{onThemeChange:0}],channels:[{onChannelsChange:0}]}}static get style(){return'@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--tv-channel-picker-text-primary-color:var(--tc-text-primary);--tv-channel-picker-button-background-color:var(--tc-layer-grey-primary);--tv-channel-picker-button-hover-background-color:var(--tc-layer-grey-secondary);--tv-channel-picker-button-active-background-color:var(--tc-layer-grey-tertiary);--tv-channel-picker-focus-outline-color:var(--tc-blue-40);--tv-channel-picker-gradient-color:var(--tc-background-primary);display:block;height:3.875rem}:host([theme=dark]){--tv-channel-picker-text-primary-color:var(--tc-text-primary-dark);--tv-channel-picker-button-background-color:var(--tc-layer-grey-primary-dark);--tv-channel-picker-button-hover-background-color:var(--tc-layer-grey-secondary-dark);--tv-channel-picker-button-active-background-color:var(--tc-layer-grey-tertiary-dark);--tv-channel-picker-focus-outline-color:var(--tc-blue-40-dark);--tv-channel-picker-gradient-color:var(--tc-background-primary-dark)}.tv-channel-picker{position:relative;display:flex;align-items:center;max-width:100%;height:100%}.tv-channel-picker--gradients::before,.tv-channel-picker--gradients::after{content:"";position:absolute;top:0;bottom:0;width:119px;pointer-events:none;z-index:2;opacity:0}.tv-channel-picker--gradients::before{left:0;background:linear-gradient(to right, var(--tv-channel-picker-gradient-color), transparent)}.tv-channel-picker--gradients::after{right:0;background:linear-gradient(to left, var(--tv-channel-picker-gradient-color), transparent)}.tv-channel-picker--gradient-left::before,.tv-channel-picker--gradient-right::after{opacity:1}.tv-channel-picker__list{display:flex;flex:1;flex-direction:row;justify-content:safe center;gap:0.5rem;height:100%;min-width:0;overflow-x:auto;scroll-behavior:smooth;scrollbar-width:none;-webkit-user-select:none;user-select:none}.tv-channel-picker__list--dragging{scroll-behavior:auto;scroll-snap-type:none}.tv-channel-picker__list--dragging,.tv-channel-picker__list--dragging .tv-channel-picker__button{cursor:grabbing}@media (prefers-reduced-motion: reduce){.tv-channel-picker__list{scroll-behavior:auto}}.tv-channel-picker__list::-webkit-scrollbar{display:none}.tv-channel-picker__item{display:flex;flex-direction:column;gap:0.25rem;list-style:none;width:6.25rem;height:100%;flex-shrink:0}.tv-channel-picker__image{display:block;max-width:100%;max-height:100%;object-fit:contain;user-select:none;-webkit-user-select:none}.tv-channel-picker__fallback{font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif";align-self:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tv-channel-picker__button,.tv-channel-picker__placeholder{width:100%;align-self:center;height:3.375rem}.tv-channel-picker__button{display:flex;justify-content:center;align-items:center;border:none;cursor:pointer;border-radius:0.5rem;padding:0.5rem 0.625rem;color:var(--tv-channel-picker-text-primary-color);background-color:var(--tv-channel-picker-button-background-color)}.tv-channel-picker__button:hover{background-color:var(--tv-channel-picker-button-hover-background-color)}.tv-channel-picker__button:active,.tv-channel-picker__button[aria-pressed=true]{background-color:var(--tv-channel-picker-button-active-background-color)}.tv-channel-picker__button:disabled{pointer-events:none}.tv-channel-picker__button:focus-visible{outline:0.125rem solid var(--tv-channel-picker-focus-outline-color);outline-offset:-0.125rem}.tv-channel-picker__placeholder tet-placeholder{--placeholder-border-radius:0.5rem}.tv-channel-picker__button-underline{height:0.25rem;border-radius:0.5rem;background-color:var(--tv-channel-picker-button-active-background-color)}'}},[513,"tet-tv-program-channel-picker",{theme:[513],channels:[16],disabled:[516],loading:[4],showGradients:[4,"show-gradients"],selectedChannel:[32],focusedChannel:[32],failedImageSources:[32],visibleChannelIds:[32],canScrollLeft:[32],canScrollRight:[32],setChannel:[64]},void 0,{theme:[{onThemeChange:0}],channels:[{onChannelsChange:0}]}]);function h(){"undefined"!=typeof customElements&&["tet-tv-program-channel-picker","tet-placeholder"].forEach((t=>{switch(t){case"tet-tv-program-channel-picker":customElements.get(o(t))||customElements.define(o(t),c);break;case"tet-placeholder":customElements.get(o(t))||s()}}))}export{c as T,h as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as o,f as e,h as r,c as a,t as n}from"./p-CWuhYFDW.js";import{p as i,t as l}from"./p-BDEIj3j6.js";import{d as s}from"./p-DobMlMDf.js";const f=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}tagTitle;count;active=!1;theme="classic";showIcon=!1;disabled=!1;language="lv";async onLanguageChange(t){await i("tet-components",t),e(this)}async componentWillLoad(){await i("tet-components",this.language)}render(){return r(a,{key:"1d53b28eb22670333548b6bf3d1da79788950ac9"},r("button",{key:"fd3dbd0deffc541b67be9ad1d49c664c2ae5e927",class:{tag:!0,"tag-active":this.active,"tag--icon":this.showIcon,[`theme-${this.theme}`]:!0},"aria-pressed":this.active.toString(),disabled:this.disabled},this.tagTitle&&r("p",{key:"3158fc7124b82f4c3c780d6344c4eda563261ee4",class:"tag-title"},l(this.tagTitle)),null!=this.count&&r("span",{key:"9d9205cf27a7180408cdeefc89e17650ff34255d",class:"tag-count"},this.count),this.showIcon&&r("tet-icon",{key:"8ca6c5e61624f3baf0aeb86735db564839033de2",class:"tag-icon",name:"tc-close-circle",part:"icon-selected"})))}static get watchers(){return{language:[{onLanguageChange:0}]}}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:inline-block;--tag-background-color:rgb(255, 255, 255);--tag-hover-background-color:linear-gradient(rgba(88, 99, 116, 0.08), rgba(88, 99, 116, 0.08)), linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255));--tag-active-background-color:rgb(10, 11, 13);--tag-border-color:rgb(153, 160, 174);--tag-active-border-color:rgb(10, 11, 13);--tag-disabled-border-color:var(--tc-button-border-disabled);--tag-text-color:rgb(10, 11, 13);--tag-active-text-color:rgb(255, 255, 255);--tag-focus-outline-color:var(--tc-blue-40);--tag-disabled-text-color:var(--tc-button-text-secondary-disabled);--tag-padding:0.375rem 0.75rem}.tag{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";cursor:pointer;display:flex;align-items:center;gap:0.25rem;padding:var(--tag-padding);color:var(--tag-text-color);border-radius:0.625rem;background:var(--tag-background-color);border:0.0625rem solid var(--tag-border-color)}.tag:hover:not(:disabled){background:var(--tag-hover-background-color)}.tag:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0rem;transition:outline 0s;outline-color:var(--tag-focus-outline-color);border-color:transparent}.tag:active:not(:disabled),.tag.tag-active:not(:disabled){color:var(--tag-active-text-color);background:var(--tag-active-background-color);border-color:var(--tag-active-border-color)}.tag:active:not(:disabled) .tag-icon,.tag.tag-active:not(:disabled) .tag-icon{--icon-color:var(--tag-active-text-color)}.tag:disabled{border-color:var(--tag-disabled-border-color);color:var(--tag-disabled-text-color);cursor:not-allowed;background:transparent}.tag--icon{padding:0.375rem 0.625rem 0.365rem 0.75rem}.tag.theme-light{--tag-background-color:var(--tc-layer-primary);--tag-hover-background-color:var(--tc-button-primary-background-inverse-hover);--tag-active-background-color:var(--tc-layer-inverse-primary);--tag-border-color:var(--tc-border-secondary);--tag-active-border-color:var(--tc-button-primary-background-default);--tag-focus-outline-color:var(--tc-blue-40);--tag-disabled-border-color:var(--tc-button-border-disabled);--tag-text-color:var(--tc-button-text-secondary);--tag-active-text-color:var(--tc-button-text-primary);--tag-disabled-text-color:var(--tc-button-text-secondary-disabled)}.tag.theme-dark{--tag-background-color:var(--tc-layer-primary-dark);--tag-hover-background-color:var(--tc-button-primary-background-inverse-hover-dark);--tag-active-background-color:var(--tc-layer-inverse-primary-dark);--tag-border-color:var(--tc-border-secondary-dark);--tag-active-border-color:var(--tc-button-primary-background-default-dark);--tag-focus-outline-color:var(--tc-blue-40-dark);--tag-disabled-border-color:var(--tc-button-border-disabled-dark);--tag-text-color:var(--tc-button-text-secondary-dark);--tag-active-text-color:var(--tc-button-text-primary-dark);--tag-disabled-text-color:var(--tc-button-text-secondary-disabled-dark)}.tag.theme-mint{--tag-background-color:rgb(35, 40, 46);--tag-hover-background-color:linear-gradient(rgba(26, 213, 219, 0.08), rgba(26, 213, 219, 0.08)), linear-gradient(rgb(35, 40, 46), rgb(35, 40, 46));--tag-active-background-color:rgb(26, 213, 219);--tag-border-color:rgb(26, 213, 219);--tag-active-border-color:rgb(26, 213, 219);--tag-disabled-border-color:var(--tc-button-border-disabled-dark);--tag-text-color:rgb(255, 255, 255);--tag-active-text-color:rgb(10, 11, 13);--tag-disabled-text-color:var(--tc-button-text-secondary-disabled-dark)}.tag .tag-icon{--icon-size:1rem;--icon-color:var(--tag-text-color);display:flex}'}},[513,"tet-tag",{tagTitle:[1,"tag-title"],count:[2],active:[4],theme:[1],showIcon:[4,"show-icon"],disabled:[4],language:[1]},void 0,{language:[{onLanguageChange:0}]}]);function c(){"undefined"!=typeof customElements&&["tet-tag","tet-icon"].forEach((t=>{switch(t){case"tet-tag":customElements.get(n(t))||customElements.define(n(t),f);break;case"tet-icon":customElements.get(n(t))||s()}}))}export{f as T,c as d}
|
|
1
|
+
import{p as t,H as o,f as e,h as r,c as a,t as n}from"./p-Cdi7KDBd.js";import{p as i,t as l}from"./p-B9bE6qY-.js";import{d as s}from"./p-Bsqoxd9G.js";const f=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}tagTitle;count;active=!1;theme="classic";showIcon=!1;disabled=!1;language="lv";async onLanguageChange(t){await i("tet-components",t),e(this)}async componentWillLoad(){await i("tet-components",this.language)}render(){return r(a,{key:"1d53b28eb22670333548b6bf3d1da79788950ac9"},r("button",{key:"fd3dbd0deffc541b67be9ad1d49c664c2ae5e927",class:{tag:!0,"tag-active":this.active,"tag--icon":this.showIcon,[`theme-${this.theme}`]:!0},"aria-pressed":this.active.toString(),disabled:this.disabled},this.tagTitle&&r("p",{key:"3158fc7124b82f4c3c780d6344c4eda563261ee4",class:"tag-title"},l(this.tagTitle)),null!=this.count&&r("span",{key:"9d9205cf27a7180408cdeefc89e17650ff34255d",class:"tag-count"},this.count),this.showIcon&&r("tet-icon",{key:"8ca6c5e61624f3baf0aeb86735db564839033de2",class:"tag-icon",name:"tc-close-circle",part:"icon-selected"})))}static get watchers(){return{language:[{onLanguageChange:0}]}}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:inline-block;--tag-background-color:rgb(255, 255, 255);--tag-hover-background-color:linear-gradient(rgba(88, 99, 116, 0.08), rgba(88, 99, 116, 0.08)), linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255));--tag-active-background-color:rgb(10, 11, 13);--tag-border-color:rgb(153, 160, 174);--tag-active-border-color:rgb(10, 11, 13);--tag-disabled-border-color:var(--tc-button-border-disabled);--tag-text-color:rgb(10, 11, 13);--tag-active-text-color:rgb(255, 255, 255);--tag-focus-outline-color:var(--tc-blue-40);--tag-disabled-text-color:var(--tc-button-text-secondary-disabled);--tag-padding:0.375rem 0.75rem}.tag{font:500 1rem/1.5rem "Inter", "Gilroy, Arial, sans-serif";cursor:pointer;display:flex;align-items:center;gap:0.25rem;padding:var(--tag-padding);color:var(--tag-text-color);border-radius:0.625rem;background:var(--tag-background-color);border:0.0625rem solid var(--tag-border-color)}.tag:hover:not(:disabled){background:var(--tag-hover-background-color)}.tag:focus-visible{outline:0.125rem solid var(--tc-blue-40);outline-offset:0rem;transition:outline 0s;outline-color:var(--tag-focus-outline-color);border-color:transparent}.tag:active:not(:disabled),.tag.tag-active:not(:disabled){color:var(--tag-active-text-color);background:var(--tag-active-background-color);border-color:var(--tag-active-border-color)}.tag:active:not(:disabled) .tag-icon,.tag.tag-active:not(:disabled) .tag-icon{--icon-color:var(--tag-active-text-color)}.tag:disabled{border-color:var(--tag-disabled-border-color);color:var(--tag-disabled-text-color);cursor:not-allowed;background:transparent}.tag--icon{padding:0.375rem 0.625rem 0.365rem 0.75rem}.tag.theme-light{--tag-background-color:var(--tc-layer-primary);--tag-hover-background-color:var(--tc-button-primary-background-inverse-hover);--tag-active-background-color:var(--tc-layer-inverse-primary);--tag-border-color:var(--tc-border-secondary);--tag-active-border-color:var(--tc-button-primary-background-default);--tag-focus-outline-color:var(--tc-blue-40);--tag-disabled-border-color:var(--tc-button-border-disabled);--tag-text-color:var(--tc-button-text-secondary);--tag-active-text-color:var(--tc-button-text-primary);--tag-disabled-text-color:var(--tc-button-text-secondary-disabled)}.tag.theme-dark{--tag-background-color:var(--tc-layer-primary-dark);--tag-hover-background-color:var(--tc-button-primary-background-inverse-hover-dark);--tag-active-background-color:var(--tc-layer-inverse-primary-dark);--tag-border-color:var(--tc-border-secondary-dark);--tag-active-border-color:var(--tc-button-primary-background-default-dark);--tag-focus-outline-color:var(--tc-blue-40-dark);--tag-disabled-border-color:var(--tc-button-border-disabled-dark);--tag-text-color:var(--tc-button-text-secondary-dark);--tag-active-text-color:var(--tc-button-text-primary-dark);--tag-disabled-text-color:var(--tc-button-text-secondary-disabled-dark)}.tag.theme-mint{--tag-background-color:rgb(35, 40, 46);--tag-hover-background-color:linear-gradient(rgba(26, 213, 219, 0.08), rgba(26, 213, 219, 0.08)), linear-gradient(rgb(35, 40, 46), rgb(35, 40, 46));--tag-active-background-color:rgb(26, 213, 219);--tag-border-color:rgb(26, 213, 219);--tag-active-border-color:rgb(26, 213, 219);--tag-disabled-border-color:var(--tc-button-border-disabled-dark);--tag-text-color:rgb(255, 255, 255);--tag-active-text-color:rgb(10, 11, 13);--tag-disabled-text-color:var(--tc-button-text-secondary-disabled-dark)}.tag .tag-icon{--icon-size:1rem;--icon-color:var(--tag-text-color);display:flex}'}},[513,"tet-tag",{tagTitle:[1,"tag-title"],count:[2],active:[4],theme:[1],showIcon:[4,"show-icon"],disabled:[4],language:[1]},void 0,{language:[{onLanguageChange:0}]}]);function c(){"undefined"!=typeof customElements&&["tet-tag","tet-icon"].forEach((t=>{switch(t){case"tet-tag":customElements.get(n(t))||customElements.define(n(t),f);break;case"tet-icon":customElements.get(n(t))||s()}}))}export{f as T,c as d}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as t,H as o,d as e,h as n,t as i}from"./p-Cdi7KDBd.js";import{a as r}from"./p-CoQ-OVcl.js";import{i as a}from"./p-Cef0hbKH.js";const f=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.internalDateChanged=e(this,"internalDateChanged"),this.datepickerViewChanged=e(this,"datepickerViewChanged")}months=r;todayDate;selectedDate;internalDate;internalDateChanged;datepickerViewChanged;componentWillLoad(){this.todayDate=new Date}isCurrentMonth(t){return this.todayDate.getMonth()===t}handleMonthSelection=t=>{const o=new Date(this.internalDate.setMonth(t));this.internalDateChanged.emit(o),this.datepickerViewChanged.emit("month")};isMonthSelected=t=>{if(a(this.selectedDate))return!1;const o=this.selectedDate.getFullYear()===this.internalDate.getFullYear(),e=this.selectedDate.getMonth()===t;return o&&e};getMonthClasses=t=>({month:!0,current:this.isCurrentMonth(t),selected:this.isMonthSelected(t)});render(){return n("div",{key:"11e53490145bbeae473c6714fcf245c1630f55eb",class:"container"},this.months.map(((t,o)=>n("div",{class:"month-container"},n("div",{class:this.getMonthClasses(o),onClick:()=>this.handleMonthSelection(o)},t)))))}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{display:block;-webkit-tap-highlight-color:transparent}.container{display:grid;grid-template-columns:repeat(3, 1fr);row-gap:2rem;column-gap:0.25rem;margin:1.25rem 0.5rem 0.75rem 0;font:500 0.875rem/1.25rem "Inter", "Gilroy, Arial, sans-serif"}.container .month{display:flex;width:100%;height:2.875rem;align-items:center;justify-content:center;border-radius:1.5rem;cursor:pointer}.container .month.current:not(.container .month.selected,.container .month:active){border:0.09375rem solid rgb(153, 160, 174)}.container .month:active,.container .month.selected{color:var(--text-color-primary-light);background:rgb(10, 11, 13)}.container .month:hover:not(.container .month.selected,.container .month:active){background:var(--interaction-state-gray)}'}},[513,"tet-datepicker-year-view",{selectedDate:[16],internalDate:[16]}]);function s(){"undefined"!=typeof customElements&&["tet-datepicker-year-view"].forEach((t=>{"tet-datepicker-year-view"===t&&(customElements.get(i(t))||customElements.define(i(t),f))}))}export{f as T,s as d}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as e,d as o,h as n,t as i}from"./p-CWuhYFDW.js";import{b as s}from"./p-_2UzwYR8.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.itemSelected=o(this,"itemSelected"),this.selectionListRendered=o(this,"selectionListRendered")}items=[];preSelectedItems=[];onPreselectedItemsChanged(t){t.forEach(this.toggleItem)}multipleSelections=!0;itemRenderFunction=t=>t?.toString();identifier;selectedItems=[];itemSelected;selectionListRendered;componentWillLoad(){this.preSelectedItems.forEach(this.toggleItem)}componentDidRender(){this.selectionListRendered.emit(this.identifier)}async unsetSelectedItems(){this.selectedItems=[]}async getSelectedItems(){return this.selectedItems}toggleItem=t=>{(this.multipleSelections?this.multipleSelectionToggle:this.singleSelectionToggle)(t),this.itemSelected.emit(t),this.selectedItems=[...this.selectedItems]};multipleSelectionToggle=t=>{this.selectedItems.includes(t)?this.selectedItems.splice(this.selectedItems.indexOf(t),1):this.selectedItems.push(t)};singleSelectionToggle=t=>{this.selectedItems.includes(t)||(this.selectedItems=[]),this.selectedItems.push(t)};getListItemContext=t=>({selected:this.selectedItems.includes(t)});renderListItem=t=>{const e=this.getListItemContext(t),o=this.itemRenderFunction(t,e),i=s(o)?o:n("div",{innerHTML:o});return n("li",{class:"list-item",part:"selection-list-item",onClick:()=>this.toggleItem(t)},i)};render(){return n("ul",{key:"e86083856c8499495f841e2a4598c9d15aff08b7",class:"list",part:"selection-list"},this.items.map(this.renderListItem))}static get watchers(){return{preSelectedItems:[{onPreselectedItemsChanged:0}]}}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--selection-list-display:flex;--selection-list-margin:0;--selection-list-max-width:none;--orientation:column;--item-spacing:1em;--selection-list-max-items-per-row:1;--selection-list-wrapping:wrap;--selection-list-justify-content:space-evenly;--selection-list-item-cursor:pointer;display:block;-ms-overflow-style:none;scrollbar-width:none}:host::-webkit-scrollbar{display:none}.list{list-style:none;display:var(--selection-list-display);margin:var(--selection-list-margin);max-width:var(--selection-list-max-width);flex-direction:var(--orientation);flex-wrap:var(--selection-list-wrapping);justify-content:var(--selection-list-justify-content);gap:var(--item-spacing);-webkit-tap-highlight-color:transparent}.list-item{flex:1 0 calc((100% - (var(--selection-list-max-items-per-row) - 1) * var(--item-spacing)) / var(--selection-list-max-items-per-row));cursor:var(--selection-list-item-cursor)}'}},[513,"tet-selection-list",{items:[16],preSelectedItems:[16],multipleSelections:[4,"multiple-selections"],itemRenderFunction:[16],identifier:[1],selectedItems:[32],unsetSelectedItems:[64],getSelectedItems:[64]},void 0,{preSelectedItems:[{onPreselectedItemsChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["tet-selection-list"].forEach((t=>{"tet-selection-list"===t&&(customElements.get(i(t))||customElements.define(i(t),r))}))}export{r as T,l as d}
|
|
1
|
+
import{p as t,H as e,d as o,h as n,t as i}from"./p-Cdi7KDBd.js";import{c as s}from"./p-Cef0hbKH.js";const r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.itemSelected=o(this,"itemSelected"),this.selectionListRendered=o(this,"selectionListRendered")}items=[];preSelectedItems=[];onPreselectedItemsChanged(t){t.forEach(this.toggleItem)}multipleSelections=!0;itemRenderFunction=t=>t?.toString();identifier;selectedItems=[];itemSelected;selectionListRendered;componentWillLoad(){this.preSelectedItems.forEach(this.toggleItem)}componentDidRender(){this.selectionListRendered.emit(this.identifier)}async unsetSelectedItems(){this.selectedItems=[]}async getSelectedItems(){return this.selectedItems}toggleItem=t=>{(this.multipleSelections?this.multipleSelectionToggle:this.singleSelectionToggle)(t),this.itemSelected.emit(t),this.selectedItems=[...this.selectedItems]};multipleSelectionToggle=t=>{this.selectedItems.includes(t)?this.selectedItems.splice(this.selectedItems.indexOf(t),1):this.selectedItems.push(t)};singleSelectionToggle=t=>{this.selectedItems.includes(t)||(this.selectedItems=[]),this.selectedItems.push(t)};getListItemContext=t=>({selected:this.selectedItems.includes(t)});renderListItem=t=>{const e=this.getListItemContext(t),o=this.itemRenderFunction(t,e),i=s(o)?o:n("div",{innerHTML:o});return n("li",{class:"list-item",part:"selection-list-item",onClick:()=>this.toggleItem(t)},i)};render(){return n("ul",{key:"e86083856c8499495f841e2a4598c9d15aff08b7",class:"list",part:"selection-list"},this.items.map(this.renderListItem))}static get watchers(){return{preSelectedItems:[{onPreselectedItemsChanged:0}]}}static get style(){return':host{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit;padding:0;margin:0}:host{--color-gray-light:#cdd2de;--color-ta070:#f5f6f8;--color-ta080:#e6e8ee;--color-ta100:#cdd2de;--color-ta200:#9ba5be;--color-ta300:#69789c;--color-ta500:#1e356a;--color-ta600:#051d59;--color-tc090:#d6e6fd;--color-tc100:#d1dffe;--color-tc300:#75a1fb;--color-tc500:#1a70f6;--color-tc600:#0060f5;--color-td500:#00F1F2;--color-td600:#01cbe0;--color-tf600:#f53b2a;--color-tg300:#2b3036;--color-tg400:#1d2128;--color-tg500:#12171e;--color-tg600:#01050c;--color-th500:#f5f5f5;--color-ti500:#869198;--color-ti600:#aeb7bc;--text-font:Gilroy, serif;--text-color-darker:var(--color-ta600);--text-color-dark:var(--color-ta500);--text-color-dark-theme:var(--color-th500);--icons-font:Tet Icons, serif}.icon.tet-search{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-search::before{content:"\\e86e"}.icon.tet-close-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close-circled::before{content:"\\e85a"}.icon.tet-close{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-close::before{content:"\\e85b"}.icon.tet-check-circled{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check-circled::before{content:"\\e86c"}.icon.tet-check{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-check::before{content:"\\e855"}.icon.tet-chevron-up{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-up::before{content:"\\e859"}.icon.tet-chevron-down{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-chevron-down::before{content:"\\e856"}.icon.tet-clipboard{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-clipboard::before{content:"\\e86a"}.icon.tet-info{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-info::before{content:"\\e81d"}.icon.tet-done{font-family:var(--icons-font);font-weight:400;font-style:normal;font-size:1.25rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;speak:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale}.icon.tet-done::before{content:"\\e867"}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Gilroy-W05-Medium.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Medium.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Gilroy-W05-Semibold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Semibold.woff") format("woff")}@font-face{font-family:"Gilroy";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Gilroy-W05-Bold.woff2") format("woff2"), url("assets/fonts/Gilroy-W05-Bold.woff") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Inter-Regular.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Regular.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Inter-Medium.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-Medium.woff?v=3.19") format("woff")}@font-face{font-family:"Inter";font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/Inter-SemiBold.woff2?v=3.19") format("woff2"), url("assets/fonts/Inter-SemiBold.woff?v=3.19") format("woff")}:host{--font-family-fallback:Gilroy, Arial, sans-serif;--font-family-headline:Gilroy;--font-family-content:Inter, var(--font-family-fallback);font-family:var(--font-family-content)}:host{--selection-list-display:flex;--selection-list-margin:0;--selection-list-max-width:none;--orientation:column;--item-spacing:1em;--selection-list-max-items-per-row:1;--selection-list-wrapping:wrap;--selection-list-justify-content:space-evenly;--selection-list-item-cursor:pointer;display:block;-ms-overflow-style:none;scrollbar-width:none}:host::-webkit-scrollbar{display:none}.list{list-style:none;display:var(--selection-list-display);margin:var(--selection-list-margin);max-width:var(--selection-list-max-width);flex-direction:var(--orientation);flex-wrap:var(--selection-list-wrapping);justify-content:var(--selection-list-justify-content);gap:var(--item-spacing);-webkit-tap-highlight-color:transparent}.list-item{flex:1 0 calc((100% - (var(--selection-list-max-items-per-row) - 1) * var(--item-spacing)) / var(--selection-list-max-items-per-row));cursor:var(--selection-list-item-cursor)}'}},[513,"tet-selection-list",{items:[16],preSelectedItems:[16],multipleSelections:[4,"multiple-selections"],itemRenderFunction:[16],identifier:[1],selectedItems:[32],unsetSelectedItems:[64],getSelectedItems:[64]},void 0,{preSelectedItems:[{onPreselectedItemsChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["tet-selection-list"].forEach((t=>{"tet-selection-list"===t&&(customElements.get(i(t))||customElements.define(i(t),r))}))}export{r as T,l as d}
|