@tet/tet-components 1.4.138-production → 1.4.138-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-D0eSyfH-.js → http-codes-C-IXSZGG.js} +1 -1
- package/dist/cjs/{index-DaKfTj-9.js → index-Bo0hF6YQ.js} +1 -1
- package/dist/cjs/{index-CbS7RiVd.js → index-DKg1QTRW.js} +9 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{product-comparison-ed-KZo7G.js → product-comparison-f-u42TDe.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-notification.cjs.entry.js +1 -1
- package/dist/cjs/tet-number-input.cjs.entry.js +1 -1
- package/dist/cjs/tet-placeholder.cjs.entry.js +1 -1
- package/dist/cjs/tet-position.cjs.entry.js +1 -1
- package/dist/cjs/tet-price-view.cjs.entry.js +1 -1
- package/dist/cjs/tet-radio-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/{translations-CpNdr9Fz.js → translations-f2lO6WcB.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-1M2reaCU.js +1 -0
- package/dist/components/{p-SWy-pabH.js → p-4OtGLxTM.js} +1 -1
- package/dist/components/p-9ItXFJZ6.js +1 -0
- package/dist/components/{p-C-vuu8-B.js → p-B4MTqXan.js} +1 -1
- package/dist/components/{p-khIxWxRF.js → p-B8ElCfnM.js} +1 -1
- package/dist/components/{p-D-0UTSXy.js → p-BBMx2Nbt.js} +1 -1
- package/dist/components/{p-D0M4DEGd.js → p-BLY0RO0L.js} +1 -1
- package/dist/components/{p-BWuEHM7o.js → p-BOavyx-7.js} +1 -1
- package/dist/components/{p-DKBs405f.js → p-BWmFtcLN.js} +1 -1
- package/dist/components/{p-QPymGNaM.js → p-BZ0uDmYr.js} +1 -1
- package/dist/components/{p-HAvODPLk.js → p-BZ9cVPPC.js} +1 -1
- package/dist/components/{p-CdOMJGTE.js → p-B_RQCK28.js} +1 -1
- package/dist/components/{p-Bu96kzmm.js → p-Bdt0k-v8.js} +1 -1
- package/dist/components/{p-BE1nqGHm.js → p-Be5i4YJ4.js} +1 -1
- package/dist/components/{p-BOgw-zg9.js → p-BgpTlgXX.js} +1 -1
- package/dist/components/{p-CnQt3T29.js → p-Bq1skzzY.js} +1 -1
- package/dist/components/{p-BPthlQbg.js → p-BsNlQtYx.js} +1 -1
- package/dist/components/{p-CSMiNRZ8.js → p-CFDvtl5l.js} +1 -1
- package/dist/components/{p-Cb8FVu3R.js → p-CIMNJ4X2.js} +1 -1
- package/dist/components/{p-BZpTinTH.js → p-CIPUn8d2.js} +1 -1
- package/dist/components/{p-Dzsvzn-Z.js → p-CMbAQKoe.js} +1 -1
- package/dist/components/p-CQfy7CVi.js +1 -0
- package/dist/components/{p-CS6PYnk4.js → p-CT-Ge0pF.js} +1 -1
- package/dist/components/p-Cef0hbKH.js +1 -0
- package/dist/components/{p-BiJHAF1q.js → p-Cfy46lS6.js} +1 -1
- package/dist/components/{p-CE_CfOmS.js → p-ChbxhvnA.js} +1 -1
- package/dist/components/{p-DpLTu8KM.js → p-CjOuXGOS.js} +1 -1
- package/dist/components/{p-gfxVW_EU.js → p-ClWTLrk_.js} +1 -1
- package/dist/components/{p-DYiqWFDE.js → p-Clw2OLNj.js} +1 -1
- package/dist/components/p-CoQ-OVcl.js +1 -0
- package/dist/components/p-Cwu8jtXG.js +1 -0
- package/dist/components/p-D0GJDW-O.js +1 -0
- package/dist/components/p-D9qys4GX.js +1 -0
- package/dist/components/{p-8h1tapoC.js → p-DH1iZWF5.js} +1 -1
- package/dist/components/{p-B_LwYeuy.js → p-DHOPNeBR.js} +1 -1
- package/dist/components/{p-BXYUK59l.js → p-DJQWSjRR.js} +1 -1
- package/dist/components/{p-CsfBw8Mq.js → p-DKavMVSi.js} +1 -1
- package/dist/components/{p-DyKy62G1.js → p-DQaNW2BX.js} +1 -1
- package/dist/components/{p-CxWSFzrp.js → p-DRJ0zjoF.js} +1 -1
- package/dist/components/{p-xdqErcm4.js → p-DcqGjbQO.js} +1 -1
- package/dist/components/{p-BDPrGRUz.js → p-DeFz-G5N.js} +1 -1
- package/dist/{tet-components/p-DHhdzkdo.js → components/p-DePtMqzY.js} +1 -1
- package/dist/components/{p-PbCJkJAg.js → p-DgcBdohb.js} +1 -1
- package/dist/components/{p-DBcEGlbO.js → p-Do_1srPW.js} +1 -1
- package/dist/components/{p-BGcOLcpC.js → p-Dvk7syez.js} +1 -1
- package/dist/components/{p-FAwanRiM.js → p-Dzb-TXLO.js} +1 -1
- package/dist/components/{p-DrcVsjAJ.js → p-KBNSpMwX.js} +1 -1
- package/dist/components/{p-BYCkBBh3.js → p-P_J147mb.js} +1 -1
- package/dist/components/{p-Ck43CGtD.js → p-c36Z0_hK.js} +1 -1
- package/dist/components/p-cnUvPtFj.js +1 -0
- package/dist/components/{p-DdqbLotc.js → p-lmIrgmgo.js} +1 -1
- package/dist/components/p-nb3MHK7A.js +1 -0
- package/dist/components/p-tQ4vjHQ1.js +1 -0
- package/dist/components/{p-i2wF1G8t.js → p-zkmKLYHg.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-notification.js +1 -1
- package/dist/components/tet-number-input.js +1 -1
- package/dist/components/tet-placeholder.js +1 -1
- package/dist/components/tet-position.js +1 -1
- package/dist/components/tet-price-view.js +1 -1
- package/dist/components/tet-radio-blocks.js +1 -1
- package/dist/components/tet-radio.js +1 -1
- package/dist/components/tet-range-slider.js +1 -1
- package/dist/components/tet-round-stepper.js +1 -1
- package/dist/components/tet-selection-list.js +1 -1
- package/dist/components/tet-snicker-card-group.js +1 -1
- package/dist/components/tet-snicker-card.js +1 -1
- package/dist/components/tet-spacing.js +1 -1
- package/dist/components/tet-spinner.js +1 -1
- package/dist/components/tet-stepper-input.js +1 -1
- package/dist/components/tet-stepper-v3.js +1 -1
- package/dist/components/tet-sticky-offer.js +1 -1
- package/dist/components/tet-support-search.js +1 -1
- package/dist/components/tet-switch.js +1 -1
- package/dist/components/tet-tab-content.js +1 -1
- package/dist/components/tet-tab-header.js +1 -1
- package/dist/components/tet-table.js +1 -1
- package/dist/components/tet-tag-group.js +1 -1
- package/dist/components/tet-tag.js +1 -1
- package/dist/components/tet-text-list.js +1 -1
- package/dist/components/tet-text.js +1 -1
- package/dist/components/tet-textarea.js +1 -1
- package/dist/components/tet-thank-you-view-v3.js +1 -1
- package/dist/components/tet-tooltip.js +1 -1
- package/dist/esm/{http-codes-BIwnNday.js → http-codes-DchfPj1v.js} +1 -1
- package/dist/esm/{index-DRLfH-G3.js → index-ClX9TYQY.js} +9 -1
- package/dist/esm/{index-DFwTKM0O.js → index-DfBhGuuz.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{product-comparison-BLY2XeQZ.js → product-comparison-DJko3TwF.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-notification.entry.js +1 -1
- package/dist/esm/tet-number-input.entry.js +1 -1
- package/dist/esm/tet-placeholder.entry.js +1 -1
- package/dist/esm/tet-position.entry.js +1 -1
- package/dist/esm/tet-price-view.entry.js +1 -1
- package/dist/esm/tet-radio-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/{translations-DlbHIyQg.js → translations-4zQUcigP.js} +2 -2
- package/dist/esm/{typecheck-CaZKtSyx.js → typecheck-Bvqcvhjw.js} +2 -1
- package/dist/tet-components/{p-39efe805.entry.js → p-0690117e.entry.js} +1 -1
- package/dist/tet-components/{p-bc5450cb.entry.js → p-10e789d9.entry.js} +1 -1
- package/dist/tet-components/{p-55253942.entry.js → p-139d4cad.entry.js} +1 -1
- package/dist/tet-components/{p-33fbdaff.entry.js → p-1556076a.entry.js} +1 -1
- package/dist/tet-components/{p-4b94b11b.entry.js → p-15bddc3d.entry.js} +1 -1
- package/dist/tet-components/{p-d527b903.entry.js → p-19343cc6.entry.js} +1 -1
- package/dist/tet-components/{p-1652ed96.entry.js → p-1d997c7d.entry.js} +1 -1
- package/dist/tet-components/{p-f34234f1.entry.js → p-1deb89e1.entry.js} +1 -1
- package/dist/tet-components/{p-debd1123.entry.js → p-21a59a4f.entry.js} +1 -1
- package/dist/tet-components/{p-72f10abe.entry.js → p-24bdeb37.entry.js} +1 -1
- package/dist/tet-components/{p-4cd9856e.entry.js → p-26dd3cb0.entry.js} +1 -1
- package/dist/tet-components/{p-570f744c.entry.js → p-29948163.entry.js} +1 -1
- package/dist/tet-components/{p-54baa574.entry.js → p-2bd1b7ec.entry.js} +1 -1
- package/dist/tet-components/{p-7fae4d11.entry.js → p-2e4e81a5.entry.js} +1 -1
- package/dist/tet-components/{p-5926d29a.entry.js → p-2e7cb093.entry.js} +1 -1
- package/dist/tet-components/{p-9491b52d.entry.js → p-306ff942.entry.js} +1 -1
- package/dist/tet-components/{p-cbbb2f74.entry.js → p-3242f182.entry.js} +1 -1
- package/dist/tet-components/{p-bb4b016d.entry.js → p-394b9c6b.entry.js} +1 -1
- package/dist/tet-components/{p-443b131b.entry.js → p-39be547b.entry.js} +1 -1
- package/dist/tet-components/{p-f359076b.entry.js → p-3ab52911.entry.js} +1 -1
- package/dist/tet-components/{p-38896daf.entry.js → p-3d8635c1.entry.js} +1 -1
- package/dist/tet-components/{p-53ddf6d9.entry.js → p-43d1f956.entry.js} +1 -1
- package/dist/tet-components/{p-4538e30b.entry.js → p-47484c33.entry.js} +1 -1
- package/dist/tet-components/{p-f1672161.entry.js → p-47b6721e.entry.js} +1 -1
- package/dist/tet-components/{p-6837420f.entry.js → p-499ff632.entry.js} +1 -1
- package/dist/tet-components/{p-644d19eb.entry.js → p-4a22c9a8.entry.js} +1 -1
- package/dist/tet-components/p-4aa2dbc8.entry.js +1 -0
- package/dist/tet-components/{p-535de739.entry.js → p-4f47079e.entry.js} +1 -1
- package/dist/tet-components/{p-7f0e7265.entry.js → p-517168f6.entry.js} +1 -1
- package/dist/tet-components/{p-5bb5e9bf.entry.js → p-53b4947e.entry.js} +1 -1
- package/dist/tet-components/{p-2ee60b13.entry.js → p-591a092a.entry.js} +1 -1
- package/dist/tet-components/{p-d9e7883d.entry.js → p-5a31f21d.entry.js} +1 -1
- package/dist/tet-components/{p-a5f552c8.entry.js → p-5bd0a0c8.entry.js} +1 -1
- package/dist/tet-components/{p-2d821378.entry.js → p-616d3818.entry.js} +1 -1
- package/dist/tet-components/{p-7e55881a.entry.js → p-7105253e.entry.js} +1 -1
- package/dist/tet-components/{p-1a8c6e45.entry.js → p-73aca8b1.entry.js} +1 -1
- package/dist/tet-components/{p-6788614b.entry.js → p-77ae360e.entry.js} +1 -1
- package/dist/tet-components/{p-c444f4bc.entry.js → p-79e4a166.entry.js} +1 -1
- package/dist/tet-components/{p-19cf7e5a.entry.js → p-7fdd634a.entry.js} +1 -1
- package/dist/tet-components/{p-5356548e.entry.js → p-7ffa074d.entry.js} +1 -1
- package/dist/tet-components/{p-2c344868.entry.js → p-8091cf4b.entry.js} +1 -1
- package/dist/tet-components/{p-4569b8bc.entry.js → p-8436df88.entry.js} +1 -1
- package/dist/tet-components/{p-80eb8975.entry.js → p-87d015b3.entry.js} +1 -1
- package/dist/tet-components/{p-ce59d1cb.entry.js → p-8a9d5ef1.entry.js} +1 -1
- package/dist/tet-components/{p-f60aa760.entry.js → p-8b3ea797.entry.js} +1 -1
- package/dist/tet-components/{p-5e7ef84f.entry.js → p-8bdcb714.entry.js} +1 -1
- package/dist/tet-components/{p-ba792152.entry.js → p-92ef3a39.entry.js} +1 -1
- package/dist/tet-components/{p-89aa61b4.entry.js → p-98ae4292.entry.js} +1 -1
- package/dist/tet-components/{p-d450dfc2.entry.js → p-9ab737dd.entry.js} +1 -1
- package/dist/tet-components/{p-v8vRDDsl.js → p-B8Zjo2sa.js} +1 -1
- package/dist/tet-components/p-BGrvDoTj.js +1 -0
- package/dist/tet-components/p-Bvqcvhjw.js +1 -0
- package/dist/tet-components/p-ClX9TYQY.js +3 -0
- package/dist/tet-components/p-D0GJDW-O.js +1 -0
- package/dist/tet-components/{p-6370d477.entry.js → p-a0340287.entry.js} +1 -1
- package/dist/tet-components/{p-8f76849e.entry.js → p-a2a4917a.entry.js} +1 -1
- package/dist/tet-components/{p-f519649a.entry.js → p-a410109c.entry.js} +1 -1
- package/dist/tet-components/{p-39118ce2.entry.js → p-b315a1c8.entry.js} +1 -1
- package/dist/tet-components/{p-87379696.entry.js → p-b4c45d6b.entry.js} +1 -1
- package/dist/tet-components/{p-931af84a.entry.js → p-b5efc6d4.entry.js} +1 -1
- package/dist/tet-components/p-b849774e.entry.js +1 -0
- package/dist/tet-components/{p-e78ed300.entry.js → p-b8c0433c.entry.js} +1 -1
- package/dist/tet-components/{p-1a559db5.entry.js → p-baf6ba9e.entry.js} +1 -1
- package/dist/tet-components/{p-0dcca890.entry.js → p-bb325aa4.entry.js} +1 -1
- package/dist/tet-components/{p-bf441a6f.entry.js → p-bd42d182.entry.js} +1 -1
- package/dist/tet-components/{p-ec9bbd9c.entry.js → p-c32edb32.entry.js} +1 -1
- package/dist/tet-components/{p-c21eb460.entry.js → p-c989a64d.entry.js} +1 -1
- package/dist/tet-components/{p-bf79a574.entry.js → p-cb1c05ab.entry.js} +1 -1
- package/dist/tet-components/{p-74e87653.entry.js → p-cd267067.entry.js} +1 -1
- package/dist/tet-components/{p-863b9c4f.entry.js → p-d2abe02d.entry.js} +1 -1
- package/dist/tet-components/{p-09289fa1.entry.js → p-d2db496b.entry.js} +1 -1
- package/dist/tet-components/{p-df12fcae.entry.js → p-d44bea09.entry.js} +1 -1
- package/dist/tet-components/{p-bb003b93.entry.js → p-d88d8689.entry.js} +1 -1
- package/dist/tet-components/{p-001782bf.entry.js → p-d89ae495.entry.js} +1 -1
- package/dist/tet-components/{p-c5c88bf8.entry.js → p-dca1a4c2.entry.js} +1 -1
- package/dist/tet-components/{p-5c4d6ad0.entry.js → p-dfdf946f.entry.js} +1 -1
- package/dist/tet-components/{p-23f7e7c9.entry.js → p-e13f06c4.entry.js} +1 -1
- package/dist/tet-components/{p-ea9668c8.entry.js → p-e5c07d62.entry.js} +1 -1
- package/dist/tet-components/{p-bd94906d.entry.js → p-eb3a8119.entry.js} +1 -1
- package/dist/tet-components/{p-0ee97792.entry.js → p-eca2fc2f.entry.js} +1 -1
- package/dist/tet-components/{p-0ec02698.entry.js → p-f5315eaf.entry.js} +1 -1
- package/dist/tet-components/{p-5ffae43b.entry.js → p-f5a86256.entry.js} +1 -1
- package/dist/tet-components/{p-5a31ce02.entry.js → p-f79c8697.entry.js} +1 -1
- package/dist/tet-components/{p-3f9f1252.entry.js → p-f7e3a24b.entry.js} +1 -1
- package/dist/tet-components/p-t-BNeeWq.js +1 -0
- package/dist/tet-components/{p-B0ZtMor0.js → p-tf8lKgfD.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-BTndlvfE.js +0 -1
- package/dist/components/p-Bme7YRKY.js +0 -1
- package/dist/components/p-D7VzbrYI.js +0 -1
- package/dist/components/p-DWykMdv1.js +0 -1
- package/dist/components/p-_2UzwYR8.js +0 -1
- package/dist/components/p-fqxag4j9.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-DRLfH-G3.js +0 -3
- package/dist/tet-components/p-a7Y8PX2f.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as t,H as o,d as e,f as r,h as a,F as n,c as i,t as l}from"./p-BTndlvfE.js";import{t as s,p as c}from"./p-Bme7YRKY.js";import{e as u,A as d}from"./p-DrcVsjAJ.js";import{d as m}from"./p-BPthlQbg.js";import{d as f}from"./p-Ck43CGtD.js";import{d as g}from"./p-CSMiNRZ8.js";import{d as p}from"./p-DYiqWFDE.js";import{d as h}from"./p-DdqbLotc.js";import{d as y}from"./p-CdOMJGTE.js";import{d as _}from"./p-CsfBw8Mq.js";import{d as b}from"./p-BGcOLcpC.js";import{d as w}from"./p-BXYUK59l.js";var v,x,k;!function(t){t.SMALL="small",t.AVERAGE="average",t.LARGE="large",t.INDIVIDUAL="custom"}(v||(v={})),function(t){t.HOURLY="hourly",t.MONTHLY="monthly"}(x||(x={})),function(t){t.V_CPU="vcpu",t.V_RAM="vram",t.STORAGE="storage",t.EXTRA_STORAGE="extra-storage",t.LICENSE="license",t.MS_LICENSE="ms_license",t.BANDWIDTH="bandwidth"}(k||(k={}));const G={v_cpu_standard:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_cpu_performance:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_ram:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0}],storage_bronze:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_silver:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_gold:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_platinum:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_backup:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_object:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],license_windows:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],license_veeam:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_rds:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_dc_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_professional_plus:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],cis_suite_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],project_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sharepoint_server:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],bandwidth_ip:[{name:"components-cloud-configurator-unit-ip",value:1,default:!0}],bandwidth_capacity:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],ddos_protection_bandwidth:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],bandwidth_router:[{name:"components-cloud-configurator-unit-nsx-router",value:1,default:!0},{name:"components-cloud-configurator-unit-not-required",value:0}]},I={storage_bronze:"components-cloud-configurator-unit-of-measure",storage_silver:"components-cloud-configurator-unit-of-measure",storage_gold:"components-cloud-configurator-unit-of-measure",storage_platinum:"components-cloud-configurator-unit-of-measure",storage_backup:"components-cloud-configurator-unit-of-measure",storage_object:"components-cloud-configurator-unit-of-measure",bandwidth_router:"components-cloud-configurator-select-device"},z={[k.V_CPU]:"components-cloud-configurator-summary-group-vcpu",[k.V_RAM]:"components-cloud-configurator-summary-group-vram",[k.STORAGE]:"components-cloud-configurator-summary-group-storage",[k.EXTRA_STORAGE]:"components-cloud-configurator-summary-group-extra-storage",[k.LICENSE]:"components-cloud-configurator-summary-group-license",[k.MS_LICENSE]:"components-cloud-configurator-summary-group-ms-license",[k.BANDWIDTH]:"components-cloud-configurator-summary-group-bandwidth"},C=["v_cpu_standard","v_cpu_performance","v_ram","storage_bronze","storage_silver","storage_gold","storage_platinum","storage_backup","storage_object","license_windows","license_veeam","sql_server_standard_core","win_rds","win_server_standard_core","win_server_dc_core","sql_server_standard","office_standard","office_professional_plus","cis_suite_standard_core","project_standard","sharepoint_server","bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_enabled","ddos_protection_bandwidth"];function j(t){const o={};for(const e of C)o[e]=t[e];return o}function L(t){const o=G[t];if(o)return o.forEach((t=>{t.name=s(t.name)})),o}function T(t){const o=I[t];if(o)return s(o)}function A(t){const o=L(t);if(o)return o.find((t=>t.default))}function S(t,o){return t.toFixed(o===x.MONTHLY?2:8).replace(".",",")}const E=async()=>{let t;try{t=new URL(u.cloudConfigurator).href}catch(t){return console.error(t),Promise.reject("Cloud Configurator endpoint URL generation failed.")}const o=(new d).setUrl(t).setOptions({method:"GET"}).setErrorFallbackValue([]);return await o.execute()},R=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.cloudCalculatorSubmit=e(this,"cloudCalculatorSubmit")}get root(){return this}headerObserver;footerObserver=new IntersectionObserver((([t])=>{this.isFloatingSummary=0===t.intersectionRatio}));fields=null;language="lv";containerSelector="";theme="light";selectOnFocus;isLoading=!0;headerRef;footerRef;formValues={};selectedTab=v.SMALL;selectedPeriod=x.MONTHLY;isFloatingSummary=!1;isListExpanded=!1;parentElement;cloudCalculatorSubmit;async componentWillLoad(){this.parentElement=this.containerSelector?document.querySelector(this.containerSelector):this.root.parentElement,this.headerObserver=new IntersectionObserver((([t])=>{0!==t.intersectionRatio&&t.target.classList.toggle("header--is-pinned",t.intersectionRatio<1)}),{rootMargin:`-${this.parentElement.offsetTop+1}px 0px 0px 0px`,root:document,threshold:1}),this.fetchData()}onisLoadingChange(t){t||this.setDefaultValues()}onHeaderRefChange(t){t&&(this.headerRef.style.top=this.parentElement.offsetTop-1+"px",this.headerObserver.observe(this.headerRef))}onFooterRefChange(t){t&&this.footerObserver.observe(this.footerRef)}onSelectedTabChange(){this.setDefaultValues()}async onLanguageChange(t){await c("cloud-calculator",t),r(this)}onTabSelected=t=>{this.selectedTab=t.detail.new};onExpandableListToggle=()=>{this.isListExpanded=!this.isListExpanded};onSummaryPeriodChange=t=>{this.selectedPeriod=t.detail.value};onDdosProtectionEnabledCheck=t=>{const{checked:o}=t.detail;this.formValues.ddos_protection_enabled.value=o?1:0,this.setDefaultValue("bandwidth_capacity"),this.setDefaultValue("ddos_protection_bandwidth"),this.formValues={...this.formValues}};onNumberValueChanged=(t,o)=>{const{min:e}=this.fields[o],r=this.formValues[o];let a=t.value;t.suffix||(t.suffix=A(o)),r?.suffix?.value!==t.suffix.value&&(a=0===t.suffix.value?0:e);const n=this.getPrices(o,a,t.suffix);this.formValues[o]={...r,value:a,suffix:t.suffix,...n},this.formValues={...this.formValues}};onFormSubmit=()=>{const t=j(this.formValues),o=this.formValues.ddos_protection_enabled?.value;o?delete t.bandwidth_capacity:delete t.ddos_protection_bandwidth;const e={formValues:t,totals:this.getTotals()};this.cloudCalculatorSubmit.emit(e)};fetchData=async()=>{const t=await Promise.all([E(),c("cloud-calculator",this.language)]);this.fields=t[0],this.isLoading=!1};setDefaultValues=()=>{for(const t of Object.keys(this.fields))this.setDefaultValue(t);const t=j(this.formValues);this.formValues={...t},this.root.shadowRoot.querySelectorAll("tet-number-input").forEach((t=>t.resetSuffix()))};setDefaultValue=t=>{const o=this.fields[t],e=o.default[this.selectedTab]||o.min,r=A(o.key),a=this.getPrices(o.key,e,r);this.formValues[o.key]={key:o.key,value:e,title:o.name.lv,groupKey:o.group,groupName:s(z[o.group]),...a,suffix:A(o.key)}};getFieldKeysByGroup(t){return Object.values(this.fields).filter((o=>o.group===t)).map((t=>t.key))}getTotals(){const t=!!this.formValues.ddos_protection_enabled?.value,o={hourly:0,monthly:0};for(const e of Object.values(this.formValues))"bandwidth_capacity"===e.key&&t||("ddos_protection_bandwidth"!==e.key||t)&&(o.hourly+=e.hourly,o.monthly+=e.monthly);return o}getPrices(t,o,e){const{priceHourly:r,priceMonthly:a}=this.fields[t];let n=1;return e?.value&&(n=e.value),"bandwidth_ip"===t?{monthly:(o-1)*a*n,hourly:(o-1)*r*n}:{monthly:o*a*n,hourly:o*r*n}}getMinValue(t){const o=this.fields[t],e=this.formValues[t];return o?0===e?.suffix?.value?0:o.min:null}getMaxValue(t){const o=this.fields[t],e=this.formValues[t];return o&&e?e.suffix?o.max/e.suffix.value:o.max:null}getLabel(t){if(["v_ram"].includes(t))return null;const o=this.fields[t];return o?o.name[this.language]:null}getHelperText(t){const o=this.fields[t];return o?o.description[this.language]:null}renderTitle=()=>a(n,null,a("p",{class:"content__subtitle"},s(`components-cloud-configurator-${this.selectedTab}-subtitle`)));renderNumberInput(t,o){return!0===o?.hidden?null:a("div",{class:"form__input"},a("tet-number-input",{min:this.getMinValue(t),max:this.getMaxValue(t),label:this.getLabel(t),"accessibility-label":this.getHelperText(t),"button-accessibility-label":T(t),helperText:this.getHelperText(t),value:this.formValues[t]?.value,disabled:o?.disabled,suffixes:L(t),onInputValueChanged:o=>this.onNumberValueChanged(o.detail,t),selectOnFocus:this.selectOnFocus,theme:this.theme}))}renderExpandableItem(t){const o=this.fields[t];return a("div",{class:"expandable-item"},a("div",{class:"expandable-item__description"},a("div",{class:"expandable-item__title"},o.name[this.language]),a("div",{class:"expandable-item__helper"},o.description[this.language])),a("tet-stepper-input",{min:this.getMinValue(t),max:this.getMaxValue(t),step:1,value:this.formValues[t]?.value,language:this.language,onInputValueChanged:o=>this.onNumberValueChanged({value:o.detail},t),selectOnFocus:this.selectOnFocus,"accessibility-label":o.name[this.language],theme:this.theme}))}renderSummaryTable(){return a("div",{class:"summary-table"},this.renderSummaryRow(k.V_CPU,null,"x "+s("components-cloud-configurator-unit-cores")),this.renderSummaryRow(k.V_RAM),this.renderSummaryRow(k.STORAGE),this.renderSummaryRow(k.EXTRA_STORAGE),this.renderSummaryRow(k.LICENSE),this.renderSummaryRow(k.MS_LICENSE,null,s("components-cloud-configurator-unit-pieces")),this.renderSummaryRow(k.BANDWIDTH,["bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_bandwidth"]))}renderSummaryRow(t,o,e){let r,n=z[t];if(r=o||this.getFieldKeysByGroup(t),t===k.BANDWIDTH&&(r=r.filter((t=>"ddos_protection_enabled"!==t)),this.formValues.ddos_protection_enabled?.value?(r=r.filter((t=>"bandwidth_capacity"!==t)),n="components-cloud-configurator-group-bandwidth-ddos"):r=r.filter((t=>"ddos_protection_bandwidth"!==t))),!Object.entries(this.fields).some((t=>r.includes(t[0]))))return null;const i=[a("div",{class:"summary-table__header"},s(n))];let l=!0;for(const t of r){const o=this.formValues[t];if(!this.fields[t]||!o||!o[this.selectedPeriod])continue;l||i.push(a("div",{class:"summary-table__header"}));const r=this.getLabel(t),n=e||o.suffix?.name;i.push(a("div",{class:"summary-table__label"},!!r&&a("span",null,r+","),a("span",null,`${o?.value}${n}`)));const c=o[this.selectedPeriod]||0,u=s(this.selectedPeriod===x.MONTHLY?"components-cloud-configurator-price-suffix-montly":"components-cloud-configurator-price-suffix-hourly");i.push(a("div",{class:"summary-table__value"},`${S(c,this.selectedPeriod)} ${u}`)),l=!1}return 1===i.length?null:a("div",{class:"summary-table__row"},i.map((t=>t)))}renderFloatingSummary(){const t=this.getFieldKeysByGroup(k.V_CPU),o=this.getFieldKeysByGroup(k.V_RAM),e=this.getFieldKeysByGroup(k.STORAGE),r=this.getFieldKeysByGroup(k.EXTRA_STORAGE),n=this.getFieldKeysByGroup(k.LICENSE),i=this.getFieldKeysByGroup(k.BANDWIDTH),l=this.getFieldKeysByGroup(k.MS_LICENSE),c=Object.values(this.formValues),u=c.reduce(((r,a)=>(t.includes(a.key)?r.cpu+=a.value:o.includes(a.key)?r.ram+=a.value:e.includes(a.key)&&(r.storage+=a.value*(a.suffix?.value||1)),r)),{cpu:0,ram:0,storage:0});let d=0;c.some((t=>n.includes(t.key)&&t.value))&&(d+=1),c.some((t=>i.includes(t.key)&&t.value))&&(d+=1),c.some((t=>l.includes(t.key)&&t.value))&&(d+=1),c.some((t=>r.includes(t.key)&&t.value))&&(d+=1);const m=this.getTotals();return a("div",{class:"floating-summary__container"},this.isFloatingSummary&&a("div",{class:"floating-summary__count"},a("span",{class:"floating-summary__count--item"},`${u.cpu} ${s("components-cloud-configurator-summary-cpu")},`),a("span",{class:"floating-summary__count--item"},`${u.ram} ${s("components-cloud-configurator-unit-gigabyte")} ${s("components-cloud-configurator-summary-ram")},`),a("span",{class:"floating-summary__count--break"}),a("span",{class:"floating-summary__count--item"},`${u.storage} ${s("components-cloud-configurator-unit-gigabyte")} ${s("components-cloud-configurator-summary-storage")}`),a("span",{class:"floating-summary__count--other"},"+"+d)),a("div",{class:"floating-summary__sum"},a("span",{class:"floating-summary__sum--label"},s("components-cloud-configurator-summary-sum")+":"),a("span",{class:"floating-summary__sum--value"},`${S(m[this.selectedPeriod],this.selectedPeriod)} ${s("components-cloud-configurator-price-unit")}`)))}renderPlaceholder(){return a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:"content"},a("div",{class:"content__title"},a("tet-placeholder",{width:"90%",height:"1.75rem",darkTheme:"dark"===this.theme})),a("div",{class:"content__subtitle"},a("tet-placeholder",{width:"100%",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme}))),a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"})))),a("div",{class:"header",part:"header"},a("div",{class:"inner-wrapper"},a("tet-placeholder",{width:"25.5rem",height:"2.875rem",darkTheme:"dark"===this.theme})))))}render(){return this.isLoading?this.renderPlaceholder():a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:{header:!0,[this.theme]:!!this.theme},part:"header",ref:t=>this.headerRef=t},a("div",{class:"inner-wrapper"},a("tet-tab-header",{class:"header__segment-switch",segmented:!0,position:"center",defaultTab:"small",theme:this.theme,onTabSelected:this.onTabSelected},a("button",{"data-name":v.SMALL},a("p",null,s("components-cloud-configurator-type-small"))),a("button",{"data-name":v.AVERAGE},a("p",null,s("components-cloud-configurator-type-average"))),a("button",{"data-name":v.LARGE},a("p",null,s("components-cloud-configurator-type-large"))),a("button",{"data-name":v.INDIVIDUAL},a("p",null,s("components-cloud-configurator-type-custom")))))),a("div",{class:"content",part:"content"},this.renderTitle(),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-vcpu")),this.renderNumberInput("v_cpu_standard"),this.renderNumberInput("v_cpu_performance")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-vram")),this.renderNumberInput("v_ram"),a("div",{class:"form__input"})),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-storage")),this.renderNumberInput("storage_bronze"),this.renderNumberInput("storage_silver"),this.renderNumberInput("storage_gold"),this.renderNumberInput("storage_platinum")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-extra-storage")),this.renderNumberInput("storage_backup"),this.renderNumberInput("storage_object")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-license")),this.renderNumberInput("license_windows"),this.renderNumberInput("license_veeam")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-ms-license")),a("div",{class:{"expandable-list":!0,expanded:this.isListExpanded}},this.renderExpandableItem("sql_server_standard_core"),this.renderExpandableItem("win_rds"),this.renderExpandableItem("win_server_standard_core"),this.renderExpandableItem("win_server_dc_core"),this.renderExpandableItem("sql_server_standard"),this.renderExpandableItem("office_standard"),this.renderExpandableItem("office_professional_plus"),this.renderExpandableItem("cis_suite_standard_core"),this.renderExpandableItem("project_standard"),this.renderExpandableItem("sharepoint_server"),a("div",{class:"expandable-list__toggle-row"},this.isListExpanded&&a(n,null,a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},s("components-cloud-configurator-ms-license-collapse")," ",a("tet-icon",{name:"tc-chevron-up",theme:this.theme})),a("div",{innerHTML:s("components-cloud-configurator-ms-license-full-list")})),!this.isListExpanded&&a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},s("components-cloud-configurator-ms-license-expand")," ",a("tet-icon",{name:"tc-chevron-down",theme:this.theme}))))),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-bandwidth")),this.renderNumberInput("bandwidth_ip"),this.renderNumberInput("bandwidth_router"),this.renderNumberInput("bandwidth_capacity",{disabled:!0,hidden:!!this.formValues.ddos_protection_enabled?.value}),this.renderNumberInput("ddos_protection_bandwidth",{hidden:!this.formValues.ddos_protection_enabled?.value}),a("div",{class:"form__input"}),a("div",{class:"form__checkbox"},a("tet-checkbox",{label:this.getLabel("ddos_protection_enabled"),value:this.formValues.ddos_protection_enabled?.value,checked:!!this.formValues.ddos_protection_enabled?.value,onCheck:this.onDdosProtectionEnabledCheck,theme:this.theme}),a("p",{class:"form__checkbox-helper"},this.getHelperText("ddos_protection_enabled"))))),a("div",{class:"summary",part:"summary"},a("h2",{class:"summary__title"},s("components-cloud-configurator-group-summary")),a("div",{class:"summary__toggle",role:"radiogroup"},a("tet-radio",{name:"summary-period",value:x.MONTHLY,checked:this.selectedPeriod===x.MONTHLY,label:s("components-cloud-configurator-summary-period-monthly"),theme:this.theme,onCheck:this.onSummaryPeriodChange}),a("tet-radio",{name:"summary-period",value:x.HOURLY,checked:this.selectedPeriod===x.HOURLY,label:s("components-cloud-configurator-summary-period-hourly"),theme:this.theme,onCheck:this.onSummaryPeriodChange})),this.renderSummaryTable())),a("div",{class:{"floating-summary":!0,"floating-summary--is-pinned":this.isFloatingSummary},part:"floating-summary"},this.renderFloatingSummary()),a("div",{part:"footer",class:"footer",ref:t=>this.footerRef=t},a("tet-button",{class:"footer__button",size:"large",type:"primary",theme:this.theme,onClick:this.onFormSubmit},s("components-cloud-configurator-submit")))))}static get watchers(){return{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],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{--tet-cloud-calculator-border-radius:none;--tet-cloud-calculator-background-primary-color:var(--tc-background-primary);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary);--tet-cloud-calculator-background-floating-summary:var(--tc-layer-inverse-primary);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-inverse-primary);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey);display:block;height:100%;width:100%}.cloud-configurator{position:relative;border-radius:var(--tet-cloud-calculator-border-radius);background-color:var(--tet-cloud-calculator-background-primary-color);display:flex;flex-direction:column;height:100%;width:100%;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator.dark{--tet-cloud-calculator-background-primary-color:var(--tc-background-primary-dark);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary-dark);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary-dark);--tet-cloud-calculator-background-floating-summary:var(--tc-background-tertiary-dark);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary-dark);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary-dark);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-primary-dark);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary-dark);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary-dark);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey-dark)}.cloud-configurator .header{position:-webkit-sticky;position:sticky;top:0;order:-1;z-index:2;margin:1.75rem 0 0;overflow:hidden;padding-bottom:0.25rem}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.5rem 0.75rem;--tabs-headers-segmented-item-margin:0.25rem 0;--tabs-headers-segmended-item-font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{display:flex;justify-content:center;width:100%;padding:0.75rem 0;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .header--is-pinned .inner-wrapper{-moz-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);-webkit-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1)}.cloud-configurator .content{margin:2.5rem 1rem 0}.cloud-configurator .content__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:center;max-width:29.25rem;margin:0 auto 0.5rem}.cloud-configurator .content__subtitle{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);text-align:center;margin:0 auto 3.5rem;max-width:29.25rem}.cloud-configurator .form{display:flex;flex-direction:column;gap:2.5rem;width:100%}.cloud-configurator .form__group{display:flex;flex-wrap:wrap;row-gap:1.5rem;column-gap:2.5rem;padding-bottom:2rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color);justify-content:center}.cloud-configurator .form__group-label{width:100%;min-width:100%;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .form__input{min-width:15.625rem;max-width:21.875rem;flex:1 1 calc(50% - 1.5rem)}.cloud-configurator .form__input>*{width:100%}.cloud-configurator .form__checkbox{margin-top:0.5rem;padding-left:0.25rem;width:100%}.cloud-configurator .form__checkbox tet-checkbox{padding-left:0.25rem;display:flex}.cloud-configurator .form__checkbox-helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);margin-left:2rem;max-width:36.563rem}.cloud-configurator .expandable-list{display:flex;flex-direction:column;width:100%;gap:0.5rem}.cloud-configurator .expandable-list.expanded .expandable-item:nth-child(n+4){display:flex}.cloud-configurator .expandable-list .expandable-item{display:flex;flex-direction:row;width:100%;padding-bottom:0.5rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .expandable-list .expandable-item:nth-child(n+4){display:none}.cloud-configurator .expandable-list .expandable-item__description{display:flex;flex-direction:column;flex:1}.cloud-configurator .expandable-list .expandable-item__label{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list .expandable-item__helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color)}.cloud-configurator .expandable-list__toggle-row{display:flex;justify-content:space-between;flex-direction:column;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;--icon-size:1.25rem}.cloud-configurator .expandable-list__toggle,.cloud-configurator .expandable-list__link{display:flex;align-items:flex-end;gap:0.25rem;padding:0.5rem 0;text-decoration:underline;cursor:pointer;color:var(--tet-cloud-calculator-text-primary-color);border-color:transparent;background:transparent;font-size:inherit}.cloud-configurator .expandable-list__toggle:visited,.cloud-configurator .expandable-list__link:visited{color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list__toggle:hover,.cloud-configurator .expandable-list__link:hover{color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__toggle:hover tet-icon,.cloud-configurator .expandable-list__link:hover tet-icon{--icon-color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__link tet-icon{padding-bottom:0.125rem;--icon-color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .summary{margin:2.5rem 0 0;padding-bottom:1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{display:flex;gap:1.5rem;padding-bottom:1.5rem;justify-content:flex-start;margin:1.5rem 0 1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary-table{display:grid;grid-template-columns:3fr 1fr;width:100%;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .summary-table__row{display:contents}.cloud-configurator .summary-table__row:nth-child(2n)>*{background-color:var(--tet-cloud-calculator-background-secondary-color)}.cloud-configurator .summary-table__row>*{height:100%;padding-bottom:0.125rem}.cloud-configurator .summary-table__row>*.summary-table__header{padding-left:1rem;padding-bottom:0.5rem}.cloud-configurator .summary-table__row>*.summary-table__label{padding-left:1rem}.cloud-configurator .summary-table__row>*.summary-table__value{padding-right:1rem}.cloud-configurator .summary-table__row>*:nth-child(-n+1){padding-top:0.75rem}.cloud-configurator .summary-table__row>*:nth-last-child(-n+2){padding-bottom:0.75rem}.cloud-configurator .summary-table__header{grid-column:span 2;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap}.cloud-configurator .summary-table__header~.summary-table__header{display:none}.cloud-configurator .summary-table__label{grid-column:1;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:left;color:var(--tet-cloud-calculator-text-secondary-color);white-space:nowrap;min-width:10rem;display:flex;justify-content:flex-start;gap:0.5rem;padding-right:0.5rem}.cloud-configurator .summary-table__label>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.cloud-configurator .summary-table__value{grid-column:2;text-align:right;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap;padding-left:0}.cloud-configurator .floating-summary{display:flex;position:-webkit-sticky;position:sticky;z-index:1;bottom:0;background-color:var(--tet-cloud-calculator-background-primary-color);color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .floating-summary--is-pinned{background-color:var(--tet-cloud-calculator-background-floating-summary);color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary__container{padding:0.5rem 1.5rem;display:flex;flex-direction:row;justify-content:space-between;width:100%}.cloud-configurator .floating-summary__count{display:none;align-items:center}.cloud-configurator .floating-summary--is-pinned .floating-summary__count{display:flex;flex-direction:row;column-gap:0.5rem;flex-wrap:wrap;font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--item{color:var(--tet-cloud-calculator-text-blue-grey)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--other{color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--break{flex-basis:100%;height:0}.cloud-configurator .floating-summary__sum{display:flex;flex-direction:row;gap:0.25rem;align-items:flex-end;flex:1 0 auto;font:400 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__sum--label{margin-left:auto}.cloud-configurator .floating-summary__sum--value{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum--value{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{display:flex;flex-direction:row-reverse;margin:0 1rem 2.5rem;padding-top:1rem}.cloud-configurator .footer__button{--button-width:9.375rem}@media all and (min-width: 31.25rem){.cloud-configurator .content{margin:2.5rem 1.5rem 0}.cloud-configurator .content__title{font:500 2.5rem/3rem Gilroy, Gilroy, Arial, sans-serif}.cloud-configurator .expandable-list__toggle-row{flex-direction:row}.cloud-configurator .footer{margin:0 1.5rem 2.5rem}}@media all and (min-width: 48rem){.cloud-configurator .header{margin:1.5rem 0 0}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.375rem 1.5rem;--tabs-headers-segmended-item-font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{padding:1rem 0}.cloud-configurator .content{margin:2.5rem 2rem 0}.cloud-configurator .footer{margin:0 2rem 2.5rem}.cloud-configurator .form__group{padding-bottom:2.5rem}.cloud-configurator .form__group-label{font:500 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{justify-content:flex-end;margin-top:0.5rem}.cloud-configurator .summary__title{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary-table{display:grid;grid-template-columns:2fr 5fr}.cloud-configurator .summary-table__header{grid-column:1}.cloud-configurator .summary-table__row>*.summary-table__header{padding-bottom:unset}.cloud-configurator .summary-table__row>*:nth-child(-n+3){padding-top:0.75rem}.cloud-configurator .summary-table__header~.summary-table__header{display:block}.cloud-configurator .summary-table__label{grid-column:2;text-align:right;justify-content:flex-end}.cloud-configurator .summary-table__value{grid-column:3}.cloud-configurator .floating-summary{height:4rem}.cloud-configurator .floating-summary__container{padding:1rem 2rem}.cloud-configurator .floating-summary__count{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__count--break{display:none}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{align-items:center}.cloud-configurator .floating-summary__sum{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{padding-top:0.5rem}}@media all and (min-width: 64rem){.cloud-configurator .content{margin:2.5rem 2.5rem 0}.cloud-configurator .footer{margin:0 2.5rem 2.5rem}.cloud-configurator .floating-summary__container{padding:1rem 2.5rem}}'}},[513,"tet-cloud-configurator",{language:[1],containerSelector:[1,"container-selector"],theme:[1],selectOnFocus:[4,"select-on-focus"],isLoading:[32],headerRef:[32],footerRef:[32],formValues:[32],selectedTab:[32],selectedPeriod:[32],isFloatingSummary:[32],isListExpanded:[32],parentElement:[32]},void 0,{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],language:[{onLanguageChange:0}]}]),M=R,W=function(){"undefined"!=typeof customElements&&["tet-cloud-configurator","tet-button","tet-checkbox","tet-icon","tet-input","tet-number-input","tet-placeholder","tet-radio","tet-stepper-input","tet-tab-header"].forEach((t=>{switch(t){case"tet-cloud-configurator":customElements.get(l(t))||customElements.define(l(t),R);break;case"tet-button":customElements.get(l(t))||m();break;case"tet-checkbox":customElements.get(l(t))||f();break;case"tet-icon":customElements.get(l(t))||g();break;case"tet-input":customElements.get(l(t))||p();break;case"tet-number-input":customElements.get(l(t))||h();break;case"tet-placeholder":customElements.get(l(t))||y();break;case"tet-radio":customElements.get(l(t))||_();break;case"tet-stepper-input":customElements.get(l(t))||b();break;case"tet-tab-header":customElements.get(l(t))||w()}}))};export{M as TetCloudConfigurator,W as defineCustomElement}
|
|
1
|
+
import{p as t,H as o,d as e,f as r,h as a,F as n,c as i,t as l}from"./p-nb3MHK7A.js";import{t as s,p as c}from"./p-DePtMqzY.js";import{e as u,A as d}from"./p-KBNSpMwX.js";import{d as m}from"./p-BsNlQtYx.js";import{d as f}from"./p-c36Z0_hK.js";import{d as g}from"./p-CFDvtl5l.js";import{d as p}from"./p-Clw2OLNj.js";import{d as h}from"./p-lmIrgmgo.js";import{d as y}from"./p-B_RQCK28.js";import{d as _}from"./p-DKavMVSi.js";import{d as b}from"./p-Dvk7syez.js";import{d as w}from"./p-DJQWSjRR.js";var v,x,k;!function(t){t.SMALL="small",t.AVERAGE="average",t.LARGE="large",t.INDIVIDUAL="custom"}(v||(v={})),function(t){t.HOURLY="hourly",t.MONTHLY="monthly"}(x||(x={})),function(t){t.V_CPU="vcpu",t.V_RAM="vram",t.STORAGE="storage",t.EXTRA_STORAGE="extra-storage",t.LICENSE="license",t.MS_LICENSE="ms_license",t.BANDWIDTH="bandwidth"}(k||(k={}));const G={v_cpu_standard:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_cpu_performance:[{name:"components-cloud-configurator-unit-cores",value:1,default:!0}],v_ram:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0}],storage_bronze:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_silver:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_gold:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_platinum:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_backup:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],storage_object:[{name:"components-cloud-configurator-unit-gigabyte",value:1,default:!0},{name:"components-cloud-configurator-unit-terabyte",value:1e3}],license_windows:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],license_veeam:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_rds:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],win_server_dc_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sql_server_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],office_professional_plus:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],cis_suite_standard_core:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],project_standard:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],sharepoint_server:[{name:"components-cloud-configurator-unit-pieces",value:1,default:!0}],bandwidth_ip:[{name:"components-cloud-configurator-unit-ip",value:1,default:!0}],bandwidth_capacity:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],ddos_protection_bandwidth:[{name:"components-cloud-configurator-unit-mbps",value:1,default:!0}],bandwidth_router:[{name:"components-cloud-configurator-unit-nsx-router",value:1,default:!0},{name:"components-cloud-configurator-unit-not-required",value:0}]},I={storage_bronze:"components-cloud-configurator-unit-of-measure",storage_silver:"components-cloud-configurator-unit-of-measure",storage_gold:"components-cloud-configurator-unit-of-measure",storage_platinum:"components-cloud-configurator-unit-of-measure",storage_backup:"components-cloud-configurator-unit-of-measure",storage_object:"components-cloud-configurator-unit-of-measure",bandwidth_router:"components-cloud-configurator-select-device"},z={[k.V_CPU]:"components-cloud-configurator-summary-group-vcpu",[k.V_RAM]:"components-cloud-configurator-summary-group-vram",[k.STORAGE]:"components-cloud-configurator-summary-group-storage",[k.EXTRA_STORAGE]:"components-cloud-configurator-summary-group-extra-storage",[k.LICENSE]:"components-cloud-configurator-summary-group-license",[k.MS_LICENSE]:"components-cloud-configurator-summary-group-ms-license",[k.BANDWIDTH]:"components-cloud-configurator-summary-group-bandwidth"},j=["v_cpu_standard","v_cpu_performance","v_ram","storage_bronze","storage_silver","storage_gold","storage_platinum","storage_backup","storage_object","license_windows","license_veeam","sql_server_standard_core","win_rds","win_server_standard_core","win_server_dc_core","sql_server_standard","office_standard","office_professional_plus","cis_suite_standard_core","project_standard","sharepoint_server","bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_enabled","ddos_protection_bandwidth"];function C(t){const o={};for(const e of j)o[e]=t[e];return o}function L(t){const o=G[t];if(o)return o.forEach((t=>{t.name=s(t.name)})),o}function S(t){const o=I[t];if(o)return s(o)}function T(t){const o=L(t);if(o)return o.find((t=>t.default))}function A(t,o){return t.toFixed(o===x.MONTHLY?2:8).replace(".",",")}const R=async()=>{let t;try{t=new URL(u.cloudConfigurator).href}catch(t){return console.error(t),Promise.reject("Cloud Configurator endpoint URL generation failed.")}const o=(new d).setUrl(t).setOptions({method:"GET"}).setErrorFallbackValue([]);return await o.execute()},M=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.cloudCalculatorSubmit=e(this,"cloudCalculatorSubmit")}get root(){return this}headerObserver;footerObserver=new IntersectionObserver((([t])=>{this.isFloatingSummary=0===t.intersectionRatio}));fields=null;language="lv";containerSelector="";theme="light";selectOnFocus;isLoading=!0;headerRef;footerRef;formValues={};selectedTab=v.SMALL;selectedPeriod=x.MONTHLY;isFloatingSummary=!1;isListExpanded=!1;parentElement;cloudCalculatorSubmit;async componentWillLoad(){this.parentElement=this.containerSelector?document.querySelector(this.containerSelector):this.root.parentElement,this.headerObserver=new IntersectionObserver((([t])=>{0!==t.intersectionRatio&&t.target.classList.toggle("header--is-pinned",t.intersectionRatio<1)}),{rootMargin:`-${this.parentElement.offsetTop+1}px 0px 0px 0px`,root:document,threshold:1}),this.fetchData()}onisLoadingChange(t){t||this.setDefaultValues()}onHeaderRefChange(t){t&&(this.headerRef.style.top=this.parentElement.offsetTop-1+"px",this.headerObserver.observe(this.headerRef))}onFooterRefChange(t){t&&this.footerObserver.observe(this.footerRef)}onSelectedTabChange(){this.setDefaultValues()}async onLanguageChange(t){await c("cloud-calculator",t),r(this)}onTabSelected=t=>{this.selectedTab=t.detail.new};onExpandableListToggle=()=>{this.isListExpanded=!this.isListExpanded};onSummaryPeriodChange=t=>{this.selectedPeriod=t.detail.value};onDdosProtectionEnabledCheck=t=>{const{checked:o}=t.detail;this.formValues.ddos_protection_enabled.value=o?1:0,this.setDefaultValue("bandwidth_capacity"),this.setDefaultValue("ddos_protection_bandwidth"),this.formValues={...this.formValues}};onNumberValueChanged=(t,o)=>{const{min:e}=this.fields[o],r=this.formValues[o];let a=t.value;t.suffix||(t.suffix=T(o)),r?.suffix?.value!==t.suffix.value&&(a=0===t.suffix.value?0:e);const n=this.getPrices(o,a,t.suffix);this.formValues[o]={...r,value:a,suffix:t.suffix,...n},this.formValues={...this.formValues}};onFormSubmit=()=>{const t=C(this.formValues),o=this.formValues.ddos_protection_enabled?.value;o?delete t.bandwidth_capacity:delete t.ddos_protection_bandwidth;const e={formValues:t,totals:this.getTotals()};this.cloudCalculatorSubmit.emit(e)};fetchData=async()=>{const t=await Promise.all([R(),c("cloud-calculator",this.language)]);this.fields=t[0],this.isLoading=!1};setDefaultValues=()=>{for(const t of Object.keys(this.fields))this.setDefaultValue(t);const t=C(this.formValues);this.formValues={...t},this.root.shadowRoot.querySelectorAll("tet-number-input").forEach((t=>t.resetSuffix()))};setDefaultValue=t=>{const o=this.fields[t],e=o.default[this.selectedTab]||o.min,r=T(o.key),a=this.getPrices(o.key,e,r);this.formValues[o.key]={key:o.key,value:e,title:o.name.lv,groupKey:o.group,groupName:s(z[o.group]),...a,suffix:T(o.key)}};getFieldKeysByGroup(t){return Object.values(this.fields).filter((o=>o.group===t)).map((t=>t.key))}getTotals(){const t=!!this.formValues.ddos_protection_enabled?.value,o={hourly:0,monthly:0};for(const e of Object.values(this.formValues))"bandwidth_capacity"===e.key&&t||("ddos_protection_bandwidth"!==e.key||t)&&(o.hourly+=e.hourly,o.monthly+=e.monthly);return o}getPrices(t,o,e){const{priceHourly:r,priceMonthly:a}=this.fields[t];let n=1;return e?.value&&(n=e.value),"bandwidth_ip"===t?{monthly:(o-1)*a*n,hourly:(o-1)*r*n}:{monthly:o*a*n,hourly:o*r*n}}getMinValue(t){const o=this.fields[t],e=this.formValues[t];return o?0===e?.suffix?.value?0:o.min:null}getMaxValue(t){const o=this.fields[t],e=this.formValues[t];return o&&e?e.suffix?o.max/e.suffix.value:o.max:null}getLabel(t){if(["v_ram"].includes(t))return null;const o=this.fields[t];return o?o.name[this.language]:null}getHelperText(t){const o=this.fields[t];return o?o.description[this.language]:null}renderTitle=()=>a(n,null,a("p",{class:"content__subtitle"},s(`components-cloud-configurator-${this.selectedTab}-subtitle`)));renderNumberInput(t,o){return!0===o?.hidden?null:a("div",{class:"form__input"},a("tet-number-input",{min:this.getMinValue(t),max:this.getMaxValue(t),label:this.getLabel(t),"accessibility-label":this.getHelperText(t),"button-accessibility-label":S(t),helperText:this.getHelperText(t),value:this.formValues[t]?.value,disabled:o?.disabled,suffixes:L(t),onInputValueChanged:o=>this.onNumberValueChanged(o.detail,t),selectOnFocus:this.selectOnFocus,theme:this.theme}))}renderExpandableItem(t){const o=this.fields[t];return a("div",{class:"expandable-item"},a("div",{class:"expandable-item__description"},a("div",{class:"expandable-item__title"},o.name[this.language]),a("div",{class:"expandable-item__helper"},o.description[this.language])),a("tet-stepper-input",{min:this.getMinValue(t),max:this.getMaxValue(t),step:1,value:this.formValues[t]?.value,language:this.language,onInputValueChanged:o=>this.onNumberValueChanged({value:o.detail},t),selectOnFocus:this.selectOnFocus,"accessibility-label":o.name[this.language],theme:this.theme}))}renderSummaryTable(){return a("div",{class:"summary-table"},this.renderSummaryRow(k.V_CPU,null,"x "+s("components-cloud-configurator-unit-cores")),this.renderSummaryRow(k.V_RAM),this.renderSummaryRow(k.STORAGE),this.renderSummaryRow(k.EXTRA_STORAGE),this.renderSummaryRow(k.LICENSE),this.renderSummaryRow(k.MS_LICENSE,null,s("components-cloud-configurator-unit-pieces")),this.renderSummaryRow(k.BANDWIDTH,["bandwidth_ip","bandwidth_router","bandwidth_capacity","ddos_protection_bandwidth"]))}renderSummaryRow(t,o,e){let r,n=z[t];if(r=o||this.getFieldKeysByGroup(t),t===k.BANDWIDTH&&(r=r.filter((t=>"ddos_protection_enabled"!==t)),this.formValues.ddos_protection_enabled?.value?(r=r.filter((t=>"bandwidth_capacity"!==t)),n="components-cloud-configurator-group-bandwidth-ddos"):r=r.filter((t=>"ddos_protection_bandwidth"!==t))),!Object.entries(this.fields).some((t=>r.includes(t[0]))))return null;const i=[a("div",{class:"summary-table__header"},s(n))];let l=!0;for(const t of r){const o=this.formValues[t];if(!this.fields[t]||!o||!o[this.selectedPeriod])continue;l||i.push(a("div",{class:"summary-table__header"}));const r=this.getLabel(t),n=e||o.suffix?.name;i.push(a("div",{class:"summary-table__label"},!!r&&a("span",null,r+","),a("span",null,`${o?.value}${n}`)));const c=o[this.selectedPeriod]||0,u=s(this.selectedPeriod===x.MONTHLY?"components-cloud-configurator-price-suffix-montly":"components-cloud-configurator-price-suffix-hourly");i.push(a("div",{class:"summary-table__value"},`${A(c,this.selectedPeriod)} ${u}`)),l=!1}return 1===i.length?null:a("div",{class:"summary-table__row"},i.map((t=>t)))}renderFloatingSummary(){const t=this.getFieldKeysByGroup(k.V_CPU),o=this.getFieldKeysByGroup(k.V_RAM),e=this.getFieldKeysByGroup(k.STORAGE),r=this.getFieldKeysByGroup(k.EXTRA_STORAGE),n=this.getFieldKeysByGroup(k.LICENSE),i=this.getFieldKeysByGroup(k.BANDWIDTH),l=this.getFieldKeysByGroup(k.MS_LICENSE),c=Object.values(this.formValues),u=c.reduce(((r,a)=>(t.includes(a.key)?r.cpu+=a.value:o.includes(a.key)?r.ram+=a.value:e.includes(a.key)&&(r.storage+=a.value*(a.suffix?.value||1)),r)),{cpu:0,ram:0,storage:0});let d=0;c.some((t=>n.includes(t.key)&&t.value))&&(d+=1),c.some((t=>i.includes(t.key)&&t.value))&&(d+=1),c.some((t=>l.includes(t.key)&&t.value))&&(d+=1),c.some((t=>r.includes(t.key)&&t.value))&&(d+=1);const m=this.getTotals();return a("div",{class:"floating-summary__container"},this.isFloatingSummary&&a("div",{class:"floating-summary__count"},a("span",{class:"floating-summary__count--item"},`${u.cpu} ${s("components-cloud-configurator-summary-cpu")},`),a("span",{class:"floating-summary__count--item"},`${u.ram} ${s("components-cloud-configurator-unit-gigabyte")} ${s("components-cloud-configurator-summary-ram")},`),a("span",{class:"floating-summary__count--break"}),a("span",{class:"floating-summary__count--item"},`${u.storage} ${s("components-cloud-configurator-unit-gigabyte")} ${s("components-cloud-configurator-summary-storage")}`),a("span",{class:"floating-summary__count--other"},"+"+d)),a("div",{class:"floating-summary__sum"},a("span",{class:"floating-summary__sum--label"},s("components-cloud-configurator-summary-sum")+":"),a("span",{class:"floating-summary__sum--value"},`${A(m[this.selectedPeriod],this.selectedPeriod)} ${s("components-cloud-configurator-price-unit")}`)))}renderPlaceholder(){return a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:"content"},a("div",{class:"content__title"},a("tet-placeholder",{width:"90%",height:"1.75rem",darkTheme:"dark"===this.theme})),a("div",{class:"content__subtitle"},a("tet-placeholder",{width:"100%",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme}))),a("div",{class:"form__group"},a("div",{class:"form__group-label"},a("tet-placeholder",{width:"10rem",height:"1rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"},a("tet-placeholder",{width:"100%",height:"2.875rem",darkTheme:"dark"===this.theme})),a("div",{class:"form__input"})))),a("div",{class:"header",part:"header"},a("div",{class:"inner-wrapper"},a("tet-placeholder",{width:"25.5rem",height:"2.875rem",darkTheme:"dark"===this.theme})))))}render(){return this.isLoading?this.renderPlaceholder():a(i,null,a("div",{class:{"cloud-configurator":!0,[this.theme]:!!this.theme}},a("div",{class:{header:!0,[this.theme]:!!this.theme},part:"header",ref:t=>this.headerRef=t},a("div",{class:"inner-wrapper"},a("tet-tab-header",{class:"header__segment-switch",segmented:!0,position:"center",defaultTab:"small",theme:this.theme,onTabSelected:this.onTabSelected},a("button",{"data-name":v.SMALL},a("p",null,s("components-cloud-configurator-type-small"))),a("button",{"data-name":v.AVERAGE},a("p",null,s("components-cloud-configurator-type-average"))),a("button",{"data-name":v.LARGE},a("p",null,s("components-cloud-configurator-type-large"))),a("button",{"data-name":v.INDIVIDUAL},a("p",null,s("components-cloud-configurator-type-custom")))))),a("div",{class:"content",part:"content"},this.renderTitle(),a("div",{class:"form",part:"form"},a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-vcpu")),this.renderNumberInput("v_cpu_standard"),this.renderNumberInput("v_cpu_performance")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-vram")),this.renderNumberInput("v_ram"),a("div",{class:"form__input"})),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-storage")),this.renderNumberInput("storage_bronze"),this.renderNumberInput("storage_silver"),this.renderNumberInput("storage_gold"),this.renderNumberInput("storage_platinum")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-extra-storage")),this.renderNumberInput("storage_backup"),this.renderNumberInput("storage_object")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-license")),this.renderNumberInput("license_windows"),this.renderNumberInput("license_veeam")),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-ms-license")),a("div",{class:{"expandable-list":!0,expanded:this.isListExpanded}},this.renderExpandableItem("sql_server_standard_core"),this.renderExpandableItem("win_rds"),this.renderExpandableItem("win_server_standard_core"),this.renderExpandableItem("win_server_dc_core"),this.renderExpandableItem("sql_server_standard"),this.renderExpandableItem("office_standard"),this.renderExpandableItem("office_professional_plus"),this.renderExpandableItem("cis_suite_standard_core"),this.renderExpandableItem("project_standard"),this.renderExpandableItem("sharepoint_server"),a("div",{class:"expandable-list__toggle-row"},this.isListExpanded&&a(n,null,a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},s("components-cloud-configurator-ms-license-collapse")," ",a("tet-icon",{name:"tc-chevron-up",theme:this.theme})),a("div",{innerHTML:s("components-cloud-configurator-ms-license-full-list")})),!this.isListExpanded&&a("button",{class:"expandable-list__toggle",onClick:this.onExpandableListToggle,tabIndex:0},s("components-cloud-configurator-ms-license-expand")," ",a("tet-icon",{name:"tc-chevron-down",theme:this.theme}))))),a("div",{class:"form__group"},a("h3",{class:"form__group-label"},s("components-cloud-configurator-group-bandwidth")),this.renderNumberInput("bandwidth_ip"),this.renderNumberInput("bandwidth_router"),this.renderNumberInput("bandwidth_capacity",{disabled:!0,hidden:!!this.formValues.ddos_protection_enabled?.value}),this.renderNumberInput("ddos_protection_bandwidth",{hidden:!this.formValues.ddos_protection_enabled?.value}),a("div",{class:"form__input"}),a("div",{class:"form__checkbox"},a("tet-checkbox",{label:this.getLabel("ddos_protection_enabled"),value:this.formValues.ddos_protection_enabled?.value,checked:!!this.formValues.ddos_protection_enabled?.value,onCheck:this.onDdosProtectionEnabledCheck,theme:this.theme}),a("p",{class:"form__checkbox-helper"},this.getHelperText("ddos_protection_enabled"))))),a("div",{class:"summary",part:"summary"},a("h2",{class:"summary__title"},s("components-cloud-configurator-group-summary")),a("div",{class:"summary__toggle",role:"radiogroup"},a("tet-radio",{name:"summary-period",value:x.MONTHLY,checked:this.selectedPeriod===x.MONTHLY,label:s("components-cloud-configurator-summary-period-monthly"),theme:this.theme,onCheck:this.onSummaryPeriodChange}),a("tet-radio",{name:"summary-period",value:x.HOURLY,checked:this.selectedPeriod===x.HOURLY,label:s("components-cloud-configurator-summary-period-hourly"),theme:this.theme,onCheck:this.onSummaryPeriodChange})),this.renderSummaryTable())),a("div",{class:{"floating-summary":!0,"floating-summary--is-pinned":this.isFloatingSummary},part:"floating-summary"},this.renderFloatingSummary()),a("div",{part:"footer",class:"footer",ref:t=>this.footerRef=t},a("tet-button",{class:"footer__button",size:"large",type:"primary",theme:this.theme,onClick:this.onFormSubmit},s("components-cloud-configurator-submit")))))}static get watchers(){return{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],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{--tet-cloud-calculator-border-radius:none;--tet-cloud-calculator-background-primary-color:var(--tc-background-primary);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary);--tet-cloud-calculator-background-floating-summary:var(--tc-layer-inverse-primary);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-inverse-primary);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey);display:block;height:100%;width:100%}.cloud-configurator{position:relative;border-radius:var(--tet-cloud-calculator-border-radius);background-color:var(--tet-cloud-calculator-background-primary-color);display:flex;flex-direction:column;height:100%;width:100%;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator.dark{--tet-cloud-calculator-background-primary-color:var(--tc-background-primary-dark);--tet-cloud-calculator-background-secondary-color:var(--tc-background-secondary-dark);--tet-cloud-calculator-background-tertiary-color:var(--tc-background-tertiary-dark);--tet-cloud-calculator-background-floating-summary:var(--tc-background-tertiary-dark);--tet-cloud-calculator-text-primary-color:var(--tc-text-primary-dark);--tet-cloud-calculator-text-secondary-color:var(--tc-text-secondary-dark);--tet-cloud-calculator-text-inverse-primary:var(--tc-text-primary-dark);--tet-cloud-calculator-border-bottom-color:var(--tc-border-quaternary-dark);--tet-cloud-calculator-tertiary:var(--tc-text-tertiary-dark);--tet-cloud-calculator-text-blue-grey:var(--tc-text-blue-grey-dark)}.cloud-configurator .header{position:-webkit-sticky;position:sticky;top:0;order:-1;z-index:2;margin:1.75rem 0 0;overflow:hidden;padding-bottom:0.25rem}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.5rem 0.75rem;--tabs-headers-segmented-item-margin:0.25rem 0;--tabs-headers-segmended-item-font:500 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{display:flex;justify-content:center;width:100%;padding:0.75rem 0;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .header--is-pinned .inner-wrapper{-moz-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);-webkit-box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1);box-shadow:0 0.063rem 0.25rem rgba(0, 0, 0, 0.1)}.cloud-configurator .content{margin:2.5rem 1rem 0}.cloud-configurator .content__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:center;max-width:29.25rem;margin:0 auto 0.5rem}.cloud-configurator .content__subtitle{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);text-align:center;margin:0 auto 3.5rem;max-width:29.25rem}.cloud-configurator .form{display:flex;flex-direction:column;gap:2.5rem;width:100%}.cloud-configurator .form__group{display:flex;flex-wrap:wrap;row-gap:1.5rem;column-gap:2.5rem;padding-bottom:2rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color);justify-content:center}.cloud-configurator .form__group-label{width:100%;min-width:100%;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .form__input{min-width:15.625rem;max-width:21.875rem;flex:1 1 calc(50% - 1.5rem)}.cloud-configurator .form__input>*{width:100%}.cloud-configurator .form__checkbox{margin-top:0.5rem;padding-left:0.25rem;width:100%}.cloud-configurator .form__checkbox tet-checkbox{padding-left:0.25rem;display:flex}.cloud-configurator .form__checkbox-helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color);margin-left:2rem;max-width:36.563rem}.cloud-configurator .expandable-list{display:flex;flex-direction:column;width:100%;gap:0.5rem}.cloud-configurator .expandable-list.expanded .expandable-item:nth-child(n+4){display:flex}.cloud-configurator .expandable-list .expandable-item{display:flex;flex-direction:row;width:100%;padding-bottom:0.5rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .expandable-list .expandable-item:nth-child(n+4){display:none}.cloud-configurator .expandable-list .expandable-item__description{display:flex;flex-direction:column;flex:1}.cloud-configurator .expandable-list .expandable-item__label{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list .expandable-item__helper{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif;color:var(--tet-cloud-calculator-text-secondary-color)}.cloud-configurator .expandable-list__toggle-row{display:flex;justify-content:space-between;flex-direction:column;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;--icon-size:1.25rem}.cloud-configurator .expandable-list__toggle,.cloud-configurator .expandable-list__link{display:flex;align-items:flex-end;gap:0.25rem;padding:0.5rem 0;text-decoration:underline;cursor:pointer;color:var(--tet-cloud-calculator-text-primary-color);border-color:transparent;background:transparent;font-size:inherit}.cloud-configurator .expandable-list__toggle:visited,.cloud-configurator .expandable-list__link:visited{color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .expandable-list__toggle:hover,.cloud-configurator .expandable-list__link:hover{color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__toggle:hover tet-icon,.cloud-configurator .expandable-list__link:hover tet-icon{--icon-color:var(--tet-cloud-calculator-tertiary)}.cloud-configurator .expandable-list__link tet-icon{padding-bottom:0.125rem;--icon-color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .summary{margin:2.5rem 0 0;padding-bottom:1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary__title{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{display:flex;gap:1.5rem;padding-bottom:1.5rem;justify-content:flex-start;margin:1.5rem 0 1rem;border-bottom:0.031rem solid var(--tet-cloud-calculator-border-bottom-color)}.cloud-configurator .summary-table{display:grid;grid-template-columns:3fr 1fr;width:100%;background-color:var(--tet-cloud-calculator-background-primary-color)}.cloud-configurator .summary-table__row{display:contents}.cloud-configurator .summary-table__row:nth-child(2n)>*{background-color:var(--tet-cloud-calculator-background-secondary-color)}.cloud-configurator .summary-table__row>*{height:100%;padding-bottom:0.125rem}.cloud-configurator .summary-table__row>*.summary-table__header{padding-left:1rem;padding-bottom:0.5rem}.cloud-configurator .summary-table__row>*.summary-table__label{padding-left:1rem}.cloud-configurator .summary-table__row>*.summary-table__value{padding-right:1rem}.cloud-configurator .summary-table__row>*:nth-child(-n+1){padding-top:0.75rem}.cloud-configurator .summary-table__row>*:nth-last-child(-n+2){padding-bottom:0.75rem}.cloud-configurator .summary-table__header{grid-column:span 2;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap}.cloud-configurator .summary-table__header~.summary-table__header{display:none}.cloud-configurator .summary-table__label{grid-column:1;font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;text-align:left;color:var(--tet-cloud-calculator-text-secondary-color);white-space:nowrap;min-width:10rem;display:flex;justify-content:flex-start;gap:0.5rem;padding-right:0.5rem}.cloud-configurator .summary-table__label>span:first-of-type{text-overflow:ellipsis;overflow:hidden}.cloud-configurator .summary-table__value{grid-column:2;text-align:right;font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif;white-space:nowrap;padding-left:0}.cloud-configurator .floating-summary{display:flex;position:-webkit-sticky;position:sticky;z-index:1;bottom:0;background-color:var(--tet-cloud-calculator-background-primary-color);color:var(--tet-cloud-calculator-text-primary-color)}.cloud-configurator .floating-summary--is-pinned{background-color:var(--tet-cloud-calculator-background-floating-summary);color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary__container{padding:0.5rem 1.5rem;display:flex;flex-direction:row;justify-content:space-between;width:100%}.cloud-configurator .floating-summary__count{display:none;align-items:center}.cloud-configurator .floating-summary--is-pinned .floating-summary__count{display:flex;flex-direction:row;column-gap:0.5rem;flex-wrap:wrap;font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--item{color:var(--tet-cloud-calculator-text-blue-grey)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--other{color:var(--tet-cloud-calculator-text-inverse-primary)}.cloud-configurator .floating-summary--is-pinned .floating-summary__count--break{flex-basis:100%;height:0}.cloud-configurator .floating-summary__sum{display:flex;flex-direction:row;gap:0.25rem;align-items:flex-end;flex:1 0 auto;font:400 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__sum--label{margin-left:auto}.cloud-configurator .floating-summary__sum--value{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{font:400 0.875rem/1.25rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum--value{font:500 1.25rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{display:flex;flex-direction:row-reverse;margin:0 1rem 2.5rem;padding-top:1rem}.cloud-configurator .footer__button{--button-width:9.375rem}@media all and (min-width: 31.25rem){.cloud-configurator .content{margin:2.5rem 1.5rem 0}.cloud-configurator .content__title{font:500 2.5rem/3rem Gilroy, Gilroy, Arial, sans-serif}.cloud-configurator .expandable-list__toggle-row{flex-direction:row}.cloud-configurator .footer{margin:0 1.5rem 2.5rem}}@media all and (min-width: 48rem){.cloud-configurator .header{margin:1.5rem 0 0}.cloud-configurator .header__segment-switch{--tabs-headers-segmented-item-padding:0.375rem 1.5rem;--tabs-headers-segmended-item-font:500 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .header .inner-wrapper{padding:1rem 0}.cloud-configurator .content{margin:2.5rem 2rem 0}.cloud-configurator .footer{margin:0 2rem 2.5rem}.cloud-configurator .form__group{padding-bottom:2.5rem}.cloud-configurator .form__group-label{font:500 1.125rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary__toggle{justify-content:flex-end;margin-top:0.5rem}.cloud-configurator .summary__title{font:500 1.5rem/1.75rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .summary-table{display:grid;grid-template-columns:2fr 5fr}.cloud-configurator .summary-table__header{grid-column:1}.cloud-configurator .summary-table__row>*.summary-table__header{padding-bottom:unset}.cloud-configurator .summary-table__row>*:nth-child(-n+3){padding-top:0.75rem}.cloud-configurator .summary-table__header~.summary-table__header{display:block}.cloud-configurator .summary-table__label{grid-column:2;text-align:right;justify-content:flex-end}.cloud-configurator .summary-table__value{grid-column:3}.cloud-configurator .floating-summary{height:4rem}.cloud-configurator .floating-summary__container{padding:1rem 2rem}.cloud-configurator .floating-summary__count{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .floating-summary__count--break{display:none}.cloud-configurator .floating-summary--is-pinned .floating-summary__sum{align-items:center}.cloud-configurator .floating-summary__sum{font:400 1rem/1.5rem Inter, Gilroy, Arial, sans-serif}.cloud-configurator .footer{padding-top:0.5rem}}@media all and (min-width: 64rem){.cloud-configurator .content{margin:2.5rem 2.5rem 0}.cloud-configurator .footer{margin:0 2.5rem 2.5rem}.cloud-configurator .floating-summary__container{padding:1rem 2.5rem}}'}},[513,"tet-cloud-configurator",{language:[1],containerSelector:[1,"container-selector"],theme:[1],selectOnFocus:[4,"select-on-focus"],isLoading:[32],headerRef:[32],footerRef:[32],formValues:[32],selectedTab:[32],selectedPeriod:[32],isFloatingSummary:[32],isListExpanded:[32],parentElement:[32]},void 0,{isLoading:[{onisLoadingChange:0}],headerRef:[{onHeaderRefChange:0}],footerRef:[{onFooterRefChange:0}],selectedTab:[{onSelectedTabChange:0}],language:[{onLanguageChange:0}]}]),E=M,W=function(){"undefined"!=typeof customElements&&["tet-cloud-configurator","tet-button","tet-checkbox","tet-icon","tet-input","tet-number-input","tet-placeholder","tet-radio","tet-stepper-input","tet-tab-header"].forEach((t=>{switch(t){case"tet-cloud-configurator":customElements.get(l(t))||customElements.define(l(t),M);break;case"tet-button":customElements.get(l(t))||m();break;case"tet-checkbox":customElements.get(l(t))||f();break;case"tet-icon":customElements.get(l(t))||g();break;case"tet-input":customElements.get(l(t))||p();break;case"tet-number-input":customElements.get(l(t))||h();break;case"tet-placeholder":customElements.get(l(t))||y();break;case"tet-radio":customElements.get(l(t))||_();break;case"tet-stepper-input":customElements.get(l(t))||b();break;case"tet-tab-header":customElements.get(l(t))||w()}}))};export{E as TetCloudConfigurator,W as defineCustomElement}
|