Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/cvetdv.ru/bitrix/js/sale/checkout/view/product/dist/ |
Upload File : |
this.BX=this.BX||{};this.BX.Sale=this.BX.Sale||{};this.BX.Sale.Checkout=this.BX.Sale.Checkout||{};this.BX.Sale.Checkout.View=this.BX.Sale.Checkout.View||{};(function(t,e,i,n,c,s,o,a,u,r,l){"use strict";a.BitrixVue.component("sale-checkout-view-product-price",{props:["item"],computed:{hasDiscount:function t(){return this.item.discount.sum!==0}},template:'\n\t\t<div class="checkout-item-price-block">\n\t\t\t<div v-if="hasDiscount"\n\t\t\t\tclass="checkout-item-price-discount-container">\n\t\t\t\t<span class="checkout-item-price-discount">\n\t\t\t\t\t<sale-checkout-view-element-animate_price :sum="this.item.baseSum" :currency="this.item.currency" />\n\t\t\t\t</span>\n\t\t\t\t<span class="checkout-item-price-discount-diff">\n\t\t\t\t\t<sale-checkout-view-element-animate_price :sum="this.item.discount.sum" :currency="this.item.currency" :prefix="\'-\'" />\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t\t<span class="checkout-item-price">\n\t\t\t\t<sale-checkout-view-element-animate_price :sum="this.item.sum" :currency="this.item.currency"/>\n\t\t\t</span>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-props_list",{props:["list"],methods:{isShow:function t(e){return e.name!==""&&e.value!==""}},template:'\n\t\t<div>\n\t\t\t<div v-for="(item, index) in list" v-if="isShow(item)" class="checkout-basket-item-props" :key="index">{{item.name}}: <strong>{{item.value}}</strong></div>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-item_warning_list",{props:["list"],template:'\n\t <div class="checkout-item-warning-container">\n\t \t\t<div class="text-danger" v-for="(item, index) in list" :key="index" >{{item.message}}</div>\n\t </div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-item_backdrop",{props:["item","index","error"],mixins:[c.MixinProductItemEdit],template:'\n\t\t<div class="checkout-basket-item-backdrop-wrapper js-backdrop-open-change-sku" style="">\n\t\t\t<sale-checkout-view-element-button-backdrop_overlay_close class="js-backdrop-open-change-sku" :index="this.index"/>\n\t\t\t<div class="checkout-basket-item-backdrop-container js-backdrop-open-change-sku">\n\t\t\t\t<div class="checkout-basket-item-detail-header justify-content-between align-items-center">\n\t\t\t\t\t<div class="checkout-basket-item-detail-swipe-btn-container" id="bx_3966226736_424_7e1b8e3524755c391129a9d7e6f2d206_prebuy_swipe_btn">\n\t\t\t\t\t\t<div class="checkout-basket-item-detail-swipe-btn"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t\t<div class="checkout-basket-item-backdrop-inner">\n\t\t\t\t\t<div class="checkout-basket-item-backdrop-main">\n\t\t\t\t\t\t<div class="checkout-basket-item-head">\n\t\t\t\t\t\t\t<a :href="item.product.detailPageUrl" class="checkout-basket-item-image-block">\n\t\t\t\t\t\t\t\t<img :src="getSrc" :alt="item.name" class="checkout-basket-item-image">\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t<h2 class="checkout-basket-item-name-block">\n\t\t\t\t\t\t\t\t<a :href="item.product.detailPageUrl" class="checkout-basket-item-name-text">{{item.name}}</a>\n\t\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="checkout-basket-item-info-container" v-if="hasProps() || hasSkyTree()">\n\t\t\t\t\t\t\t<div class="checkout-basket-item-info-block">\n\t\t\t\t\t\t\t\t<sale-checkout-view-product-props_list :list="item.props" v-if="hasProps()"/>\n\t\t\t\t\t\t\t\t<sale-checkout-view-product-sku_tree :tree="item.sku.tree" :index="index" v-if="hasSkyTree()"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<sale-checkout-view-product-item_warning_list :list="error"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="checkout-basket-item-backdrop-bottom">\n\t\t\t\t\t\t<div class="checkout-basket-item-summary-info">\n\t\t\t\t\t\t\t<div class="checkout-item-quantity-block">\n\t\t\t\t\t\t\t\t<div class="checkout-item-quantity-field-container">\n\t\t\t\t\t\t\t\t\t<slot name="button-minus" />\n\t\t\t\t\t\t\t\t\t<div class="checkout-item-quantity-field-block">\n\t\t\t\t\t\t\t\t\t\t<sale-checkout-view-element-input-product_item_quantity :item="item" :index="index"/>\n\t\t\t\t\t\t\t\t\t\t<div class="checkout-item-quantity-field">{{item.quantity}}</div>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t<slot name="button-plus" />\n\t\t\t\t\t\t\t\t\t<slot name="quantity-description" />\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<sale-checkout-view-product-price :item="item" :index="index" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<sale-checkout-view-element-button-backdrop_sku_change :index="index"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-item_deleted",{props:["item","index"],methods:{getSrc:function t(){return encodeURI(this.item.product.picture)}},computed:{localize:function t(){return Object.freeze(a.BitrixVue.getFilteredPhrases("CHECKOUT_VIEW_PRODUCT_INFO_DELETED_"))}},template:'\n\t\t<div class="checkout-table-row">\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<a :href="item.product.detailPageUrl" class="checkout-basket-item-image-block">\n\t\t\t\t\t<img :src="getSrc()" :alt="item.name" class="checkout-basket-item-image">\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<div class="checkout-basket-item-info-container">\n\t\t\t\t\t<h2 class="checkout-basket-item-name-block">\n\t\t\t\t\t\t<span class="checkout-basket-item-name-text"><strong>{{localize.CHECKOUT_VIEW_PRODUCT_INFO_DELETED_WAS_DELETED}}</strong> {{item.name}}</span>\n\t\t\t\t\t</h2>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<sale-checkout-view-element-button-restore :index="index"/>\n\t\t\t</div>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-item_view",{props:["item"],computed:{getSrc:function t(){return encodeURI(this.item.product.picture)}},template:'\n\t\t<div class="checkout-table-row">\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<a :href="item.product.detailPageUrl" class="checkout-basket-item-image-block">\n\t\t\t\t\t<img :src="getSrc" :alt="item.name" class="checkout-basket-item-image">\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<div class="checkout-basket-item-info-container">\n\t\t\t\t\t<h2 class="checkout-basket-item-name-block">\n\t\t\t\t\t\t<a :href="item.product.detailPageUrl" class="checkout-basket-item-name-text">{{item.name}}</a>\n\t\t\t\t\t</h2>\n\t\t\t\t\t<div class="checkout-basket-item-info-block">\n\t\t\t\t\t\t<sale-checkout-view-product-props_list :list="item.props"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<div class="checkout-basket-item-summary-info">\n\t\t\t\t\t<div class="checkout-item-quantity-block">\n\t\t\t\t\t\t<div class="checkout-item-quantity-block-text">{{item.quantity}} {{item.measureText}}</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<sale-checkout-view-product-price :item="item"/>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-item_edit",{props:["item","index","error"],mixins:[c.MixinProductItemEdit],template:'\n\t\t<div class="checkout-table-row">\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<a :href="item.product.detailPageUrl" class="checkout-basket-item-image-block">\n\t\t\t\t\t<img :src="getSrc" :alt="item.name" class="checkout-basket-item-image">\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<div class="checkout-basket-item-info-container">\n\t\t\t\t\t<h2 class="checkout-basket-item-name-block">\n\t\t\t\t\t\t<a :href="item.product.detailPageUrl" class="checkout-basket-item-name-text">{{item.name}}</a>\n\t\t\t\t\t</h2>\n\t\t\t\t\t<div class="checkout-basket-item-info-block">\n\t\t\t\t\t\t<sale-checkout-view-product-props_list :list="item.props" v-if="hasProps()"/>\n\t\t\t\t\t\t<div class="checkout-basket-desktop-only">\n\t\t\t\t\t\t\t<sale-checkout-view-product-sku_tree :tree="item.sku.tree" :index="index" v-if="hasSkyTree()"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<slot name="button-change-sku"/>\n\t\t\t\t\t\t<sale-checkout-view-product-item_warning_list :list="error"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class="checkout-table-td">\n\t\t\t\t<div class="checkout-basket-item-summary-info">\n\t\t\t\t\t<div class="checkout-item-quantity-block">\n\t\t\t\t\t\t<div class="checkout-item-quantity-field-container">\n\t\t\t\t\t\t\t<slot name="button-minus"/>\n\t\t\t\t\t\t\t<div class="checkout-item-quantity-field-block">\n\t\t\t\t\t\t\t\t<sale-checkout-view-element-input-product_item_quantity :item="item" :index="index"/>\n\t\t\t\t\t\t\t\t<div class="checkout-item-quantity-field">{{item.quantity}}</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<slot name="button-plus"/>\n\t\t\t\t\t\t\t<slot name="quantity-description"/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<sale-checkout-view-product-price :item="item"/>\n\t\t\t\t\t<slot name="button-remove"/>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-measure",{props:["item"],template:'\n\t\t<span class="checkout-item-quantity-description">\n\t\t\t<span class="checkout-item-quantity-description-text">{{item.measureText}}</span>\n\t\t\t<span class="checkout-item-quantity-description-price"/>\n\t\t</span>\n\t'});a.BitrixVue.component("sale-checkout-view-product-price_measure",{props:["item"],computed:{priceFormatted:function t(){return n.CurrencyCore.currencyFormat(this.item.price,this.item.currency,true)}},template:'\n\t\t<span class="checkout-item-quantity-description">\n\t\t\t<span class="checkout-item-quantity-description-text">\n\t\t\t\t<div v-html="priceFormatted + \'/\' + item.measureText"/>\n\t\t\t</span>\n\t\t\t<span class="checkout-item-quantity-description-price"/>\n\t\t</span>\n\t'});a.BitrixVue.component("sale-checkout-view-product-row",{props:["item","index","mode","error"],mixins:[c.MixinLoader],data:function t(){return{showBackdropMobileMenu:"N",showBackdropChangeSku:"N"}},methods:{isService:function t(){return e.Product.isService(this.item)}},computed:{config:function t(){return{status:this.item.status}},hasSkuPropsColor:function t(){var e=this.item.sku.tree;return e.hasOwnProperty("EXISTING_VALUES")&&e.EXISTING_VALUES.hasOwnProperty("COLOR_REF")},isBackdropMobileMenu:function t(){return this.showBackdropMobileMenu==="Y"},isBackdropChangeSku:function t(){return this.showBackdropChangeSku==="Y"},isDeleted:function t(){return this.item.deleted==="Y"},isLocked:function t(){return this.item.status===r.Loader.status.wait},getConstMode:function t(){return r.Application.mode},buttonMinusDisabled:function t(){return this.item.quantity-this.item.product.ratio<this.item.product.ratio},buttonPlusDisabled:function t(){return this.item.quantity+this.item.product.ratio>this.item.product.availableQuantity},getObjectClass:function t(){var e=["checkout-table-row-group","checkout-basket-item"];if(this.hasSkuPropsColor){e.push("checkout-basket-item--has-sku-color")}if(this.isDeleted){e.push("checkout-basket-item-deleted")}if(this.isLocked){e.push("checkout-basket-item-locked")}if(this.isBackdropChangeSku){e.push("active-backdrop-open-change-sku")}if(this.isBackdropMobileMenu){e.push("active-backdrop-open-mobile-menu")}return e}},created:function t(){var e=this;l.EventEmitter.subscribe(r.EventType.basket.backdropOpenMobileMenu,(function(t){var i=t.getData().index;if(i===e.index){e.showBackdropMobileMenu="Y"}}));l.EventEmitter.subscribe(r.EventType.basket.backdropOpenChangeSku,(function(t){var i=t.getData().index;if(i===e.index){e.showBackdropChangeSku="Y"}}));l.EventEmitter.subscribe(r.EventType.basket.backdropClose,(function(t){var i=t.getData().index;if(i===e.index){e.showBackdropMobileMenu="N";e.showBackdropChangeSku="N"}}))},beforeDestroy:function t(){},template:'\n\t\t<div :class="getObjectClass" style=\'position: relative;\' ref="container">\n\t\t\t<template v-if="isDeleted">\n\t\t\t\t<sale-checkout-view-product-item_deleted :item="item" :index="index"/>\n\t\t\t</template>\n\t\t\t<template v-else>\n\t\t\t\t<template v-if="mode === getConstMode.edit">\n\t\t\t\t\t<sale-checkout-view-product-item_edit :item="item" :index="index" :mode="mode" :error="error">\n\t\t\t\t\t\t<template v-slot:button-minus><sale-checkout-view-element-button-minus :class="{\'checkout-item-quantity-btn-disabled\': buttonMinusDisabled}" :index="index"/></template>\n\t\t\t\t\t\t<template v-slot:button-plus v-if="isService"><sale-checkout-view-element-button-plus :index="index"/></template>\n\t\t\t\t\t\t<template v-slot:button-plus v-else\t\t\t ><sale-checkout-view-element-button-plus :class="{\'checkout-item-quantity-btn-disabled\': buttonPlusDisabled}" :index="index"/></template>\n\t\t\t\t\t\t<template v-slot:button-remove>\n\t\t\t\t\t\t\t<div class="checkout-basket-item-remove-btn-block">\n\t\t\t\t\t\t\t\t<sale-checkout-view-element-button-remove :index="index"/>\n\t\t\t\t\t\t\t\t<sale-checkout-view-element-button-item_mobile_menu :index="index"/>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t<template v-slot:quantity-description>\n\t\t\t\t\t\t\t<template v-if="buttonMinusDisabled"><sale-checkout-view-product-measure :item="item"/></template>\n\t\t\t\t\t\t\t<template v-else><sale-checkout-view-product-price_measure :item="item"/></template>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t<template v-slot:button-change-sku><sale-checkout-view-element-button-item_change_sku :index="index"/></template>\n\t\t\t\t\t</sale-checkout-view-product-item_edit>\n\t\t\t\t\t<sale-checkout-view-product-item_backdrop_remove :index="index"/>\n\t\t\t\t\t<sale-checkout-view-product-item_backdrop :item="item" :index="index" :error="error">\n\t\t\t\t\t\t<template v-slot:button-minus><sale-checkout-view-element-button-minus :class="{\'checkout-item-quantity-btn-disabled\': buttonMinusDisabled}" :index="index"/></template>\n\t\t\t\t\t\t<template v-slot:button-plus v-if="isService"><sale-checkout-view-element-button-plus :index="index"/></template>\n\t\t\t\t\t\t<template v-slot:button-plus v-else\t\t\t ><sale-checkout-view-element-button-plus :class="{\'checkout-item-quantity-btn-disabled\': buttonPlusDisabled}" :index="index"/></template>\n\t\t\t\t\t</sale-checkout-view-product-item_backdrop>\n\t\t\t\t</template>\n\t\t\t\t<template v-else>\n\t\t\t\t\t<sale-checkout-view-product-item_view :item="item"/>\n\t\t\t\t</template>\n\t\t\t</template>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-list",{props:["items","mode","errors"],methods:{getError:function t(e){var i=this.errors.find((function(t){return t.index===e}));return typeof i!=="undefined"?i.list:null}},template:'\n\t\t<div class="checkout-basket-item-inner">\n\t\t\t<sale-checkout-view-product-row v-for="(item, index) in items" :key="index"\n\t\t\t\t\t\t\t\t\t\t\t:item="item" :index="index" :mode="mode" :error="getError(index)" />\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-summary",{props:["total","mode"],methods:{hasDiscount:function t(){return this.total.discount.sum!==0},backdropTotalOpen:function t(){l.EventEmitter.emit(r.EventType.basket.backdropTotalOpen)}},computed:{localize:function t(){return Object.freeze(a.BitrixVue.getFilteredPhrases("CHECKOUT_VIEW_SUMMARY_"))},getConstMode:function t(){return r.Application.mode}},template:'\n\t\t<div class="checkout-basket-summary-container">\n\t\t\t\x3c!--region mobile --\x3e\n\t\t\t<div class="checkout-basket-mobile-only checkout-basket-summary-discount checkout-summary-item-discount" v-if="hasDiscount()">\n\t\t\t\t<div class="checkout-basket-summary-text">{{localize.CHECKOUT_VIEW_SUMMARY_BASKET_PROFIT}}</div>\n\t\t\t\t<div class="checkout-item-price-block">\n\t\t\t\t\t<span class="checkout-summary-item-price-discount">\n\t\t\t\t\t\t<sale-checkout-view-element-animate_price :sum="this.total.discount.sum" :currency="this.total.currency" :prefix="\'-\'"/>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t\x3c!--endregion--\x3e\n\n\t\t\t\x3c!--region web--\x3e\n\t\t\t<div class="checkout-basket-summary">\n\t\t\t\t<div class="checkout-basket-summary-text">{{localize.CHECKOUT_VIEW_SUMMARY_BASKET_ITEMS}}</div>\n\t\t\t\t<div class="checkout-item-price-block">\n\t\t\t\t\t<div class="checkout-item-price-discount-container checkout-basket-desktop-only" v-if="hasDiscount()">\n\t\t\t\t\t\t<span class="checkout-item-price-discount">\n\t\t\t\t\t\t\t<sale-checkout-view-element-animate_price :sum="this.total.basePrice" :currency="this.total.currency" />\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span class="checkout-item-price-discount-diff">\n\t\t\t\t\t\t\t<sale-checkout-view-element-animate_price :sum="this.total.discount.sum" :currency="this.total.currency" :prefix="\'-\'"/>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<span class="checkout-item-price">\n\t\t\t\t\t\t<sale-checkout-view-element-animate_price :sum="this.total.price" :currency="this.total.currency" />\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<template v-if="mode === getConstMode.view">\n\t\t\t\t\t<div class="d-block w-100 text-right">\n\t\t\t\t\t\t<span class="checkout-basket-total-backdrop-btn checkout-basket-mobile-only" @click="backdropTotalOpen">{{localize.CHECKOUT_VIEW_SUMMARY_DETAILS}}</span>\n\t\t\t\t\t</div>\n\t\t\t\t</template>\n\t\t\t</div>\n\t\t\t\x3c!--endregion--\x3e\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product",{props:["items","total","mode","errors","config"],mixins:[c.MixinLoader],computed:{isLocked:function t(){return this.config.status===r.Loader.status.wait},getObjectClass:function t(){var e=["checkout-basket-list-items","checkout-table"];if(this.mode===r.Application.mode.view){e.push("checkout-basket-list-items-view-mode")}if(this.isLocked){e.push("checkout-basket-item-locked")}return e}},template:'\n \t<div :class="getObjectClass" ref="container">\n\t\t\t<sale-checkout-view-product-list :items="items" :errors="errors" :mode="mode"/>\n\t\t\t<sale-checkout-view-product-summary :total="total" :mode="mode"/>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-item_backdrop_remove",{props:["index"],template:'\n\t\t<div class="checkout-basket-item-backdrop-wrapper js-backdrop-open-mobile-menu">\n\t\t\t<sale-checkout-view-element-button-backdrop_overlay_close class="js-backdrop-open-mobile-menu" :index="index"/>\n\t\t\t<div class="checkout-basket-item-backdrop-container js-backdrop-open-mobile-menu">\n\t\t\t\t<div class="checkout-basket-item-detail-header justify-content-between align-items-center">\n\t\t\t\t\t<div class="checkout-basket-item-detail-header-separate"/>\n\t\t\t\t\t<div class="checkout-basket-item-detail-swipe-btn-container" id="bx_3966226736_424_7e1b8e3524755c391129a9d7e6f2d206_prebuy_swipe_btn">\n\t\t\t\t\t\t<div class="checkout-basket-item-detail-swipe-btn"/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<sale-checkout-view-element-button-backdrop_close :index="index"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="checkout-basket-item-backdrop-inner">\n\t\t\t\t\t<sale-checkout-view-element-button-backdrop_remove_remove :index="index"/>\n\t\t\t\t\t<sale-checkout-view-element-button-backdrop_remove_cancel :index="index"/>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t'});a.BitrixVue.component("sale-checkout-view-product-sku_tree",{props:["tree","index"],data:function t(){return{skuTree:new u.SkuTree({skuTree:this.tree,selectable:true,hideUnselected:false})}},computed:{getHash:function t(){return this.prepareValues(this.tree.SELECTED_VALUES)}},methods:{prepareValues:function t(e){return Object.keys(e).concat(Object.values(e)).join()},appendBlockHtml:function t(){var e=this.$refs.container;e.appendChild(this.skuTree.layout())}},watch:{getHash:function t(){var e=this.tree.SELECTED_VALUES;try{for(var i in e){if(!e.hasOwnProperty(i)){continue}this.skuTree.setSelectedProperty(i,e[i])}}catch(t){}this.skuTree.toggleSkuProperties()}},mounted:function t(){var e=this;this.appendBlockHtml();if(this.skuTree){this.skuTree.subscribe(r.EventType.basket.changeSkuOriginName,(function(t){l.EventEmitter.emit(r.EventType.basket.changeSku,{index:e.index,data:t.getData()})}))}},template:'<div>\n\t \t<div ref="container"/>\n </div>\n\t'})})(this.BX.Sale.Checkout.View.Product=this.BX.Sale.Checkout.View.Product||{},BX.Sale.Checkout.Lib,BX.Sale.Checkout.View.Element.Input,BX.Currency,BX.Sale.Checkout.View.Mixins,BX.Sale.Checkout.View.Element,BX.Sale.Checkout.View.Element,BX,BX.Catalog.SkuTree,BX.Sale.Checkout.Const,BX.Event); //# sourceMappingURL=registry.bundle.map.js