File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/sale/checkout/view/user-consent/dist/user-consent.bundle.min.js
Back
this.BX=this.BX||{};this.BX.Sale=this.BX.Sale||{};this.BX.Sale.Checkout=this.BX.Sale.Checkout||{};(function(e,t,i,n,s){"use strict";var a;t.BitrixVue.component("sale-checkout-view-user_consent",{props:["item"],methods:{getBlockHtml:function e(){var t=this;var o={id:this.item.id,title:this.item.title,isLoaded:this.item.isLoaded,autoSave:this.item.autoSave,isChecked:this.item.isChecked,submitEventName:this.item.submitEventName,fields:this.item.params};i.ajax.runComponentAction(s.Component.bitrixSaleOrderCheckout,s.RestMethod.saleEntityUserConsentRequest,{data:{fields:o}}).then((function(e){if(BX.type.isPlainObject(e.data)&&BX.type.isNotEmptyString(e.data.html)){var o=e.data.html;if(BX.UserConsent!==undefined){var c=t.$refs.consentDiv;c.appendChild(i.Tag.render(a||(a=babelHelpers.taggedTemplateLiteral(["<div>","</div>"])),o));var d=BX.UserConsent.load(c);BX.addCustomEvent(d,BX.UserConsent.events.accepted,(function(){return n.EventEmitter.emit(s.EventType.consent.accepted,{})}));BX.addCustomEvent(d,BX.UserConsent.events.refused,(function(){return n.EventEmitter.emit(s.EventType.consent.refused,{})}))}}}))}},mounted:function e(){this.getBlockHtml()},template:'\n\t <div class="checkout-basket-section checkout-basket-section-consent">\n\t\t<div ref="consentDiv"/>\n </div>\n\t'})})(this.BX.Sale.Checkout.View=this.BX.Sale.Checkout.View||{},BX,BX,BX.Event,BX.Sale.Checkout.Const); //# sourceMappingURL=user-consent.bundle.map.js
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.25 |
proxy
|
phpinfo
|
Settings