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/rospirotorg.ru/bitrix/js/sale/checkout/view/total/dist/ |
Upload File : |
this.BX=this.BX||{};this.BX.Sale=this.BX.Sale||{};this.BX.Sale.Checkout=this.BX.Sale.Checkout||{};(function(t,e,a,c,o){"use strict";c.BitrixVue.component("sale-checkout-view-total-basket",{props:["total"],computed:{localize:function t(){return Object.freeze(c.BitrixVue.getFilteredPhrases("CHECKOUT_VIEW_TOTAL_"))},basePriceFormatted:function t(){return o.CurrencyCore.currencyFormat(this.total.basePrice,this.total.currency,true)}},template:'\n <tr class="checkout-basket-total-item checkout-basket-total-item-subtotal">\n <td>\n <div class="checkout-basket-total-item-summary">\n <span>{{localize.CHECKOUT_VIEW_TOTAL_TOTAL_ITEMS}}</span>\n </div>\n </td>\n <td>\n <div class="checkout-basket-total-item-price-block">\n <span class="checkout-basket-total-item-price" v-html="basePriceFormatted"/>\n </div>\n </td>\n </tr>\n '});c.BitrixVue.component("sale-checkout-view-total-discount",{props:["total"],computed:{localize:function t(){return Object.freeze(c.BitrixVue.getFilteredPhrases("CHECKOUT_VIEW_TOTAL_"))},discountSumFormatted:function t(){return o.CurrencyCore.currencyFormat(this.total.discount.sum,this.total.currency,true)}},template:'\n <tr class="checkout-basket-total-item checkout-basket-total-item-discount">\n <td>\n <div class="checkout-basket-total-item-summary">\n <span>{{localize.CHECKOUT_VIEW_TOTAL_TOTAL_PROFIT}}</span>\n </div>\n </td>\n <td>\n <div class="checkout-basket-total-price-block">\n <span class="checkout-basket-total-item-price-discount" v-html="\'-\' + discountSumFormatted"/>\n </div>\n </td>\n </tr>\n '});c.BitrixVue.component("sale-checkout-view-total-summary",{props:["total"],computed:{localize:function t(){return Object.freeze(c.BitrixVue.getFilteredPhrases("CHECKOUT_VIEW_TOTAL_"))},priceFormatted:function t(){return o.CurrencyCore.currencyFormat(this.total.price,this.total.currency,true)}},template:'\n <tr class="checkout-basket-total-item checkout-basket-total-item-total">\n <td>\n <div class="checkout-basket-total-item-summary">\n <span>{{localize.CHECKOUT_VIEW_TOTAL_TOTAL_SUMMARY}}</span>\n </div>\n </td>\n <td>\n <div class="checkout-basket-total-price-block">\n <span class="checkout-basket-total-item-price" v-html="priceFormatted"/>\n </div>\n </td>\n </tr>\n '});c.BitrixVue.component("sale-checkout-view-total",{props:["total","showBackdrop"],computed:{localize:function t(){return Object.freeze(c.BitrixVue.getFilteredPhrases("CHECKOUT_VIEW_TOTAL_CLOSE"))},hasDiscount:function t(){return this.total.discount.sum!==0},getObjectClass:function t(){var e=["checkout-basket-total-container"];if(this.isBackdrop){e.push("active")}return e},isBackdrop:function t(){return this.showBackdrop==="Y"}},methods:{backdropTotalClose:function t(){a.EventEmitter.emit(e.EventType.basket.backdropTotalClose)}},template:'\n <div :class="getObjectClass">\n\t\t <div class="checkout-basket-total-overlay" @click="backdropTotalClose"></div>\n <div class="checkout-basket-total-backdrop-container">\n <div class="checkout-basket-total-backdrop-header justify-content-between align-items-center checkout-basket-mobile-only">\n <div class="checkout-basket-total-backdrop-header-separate"></div>\n <div class="checkout-basket-total-backdrop-swipe-btn-container">\n <div class="checkout-basket-total-backdrop-swipe-btn"></div>\n </div>\n <div class="checkout-basket-total-backdrop-close-btn-container" @click="backdropTotalClose">\n\t\t\t\t<span class="checkout-basket-total-backdrop-close-btn">\n\t\t\t\t\t<span class="checkout-basket-total-backdrop-close-btn-text" >{{localize.CHECKOUT_VIEW_TOTAL_CLOSE}}</span>\n\t\t\t\t</span>\n </div>\n </div>\n\t\t\t <div class="checkout-basket-total-inner">\n\t\t\t\t\t<table class="checkout-basket-total-list">\n\t\t\t\t\t\t<sale-checkout-view-total-basket :total="total"/>\n\t\t\t\t\t\t<sale-checkout-view-total-discount :total="total" v-if="hasDiscount"/>\n\t\t\t\t\t\t<sale-checkout-view-total-summary :total="total"/>\n\t\t\t\t\t</table>\n\t\t\t </div>\n\t\t </div>\n </div>\n\t'})})(this.BX.Sale.Checkout.View=this.BX.Sale.Checkout.View||{},BX.Sale.Checkout.Const,BX.Event,BX,BX.Currency); //# sourceMappingURL=total.bundle.map.js