403Webshell
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/mixins/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/js/sale/checkout/view/mixins/dist/registry.bundle.js
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 (exports,sale_checkout_const,main_loader) {
    'use strict';

    var loader = {
      methods: {
        changeStatus: function changeStatus() {
          if (this.config.status === sale_checkout_const.Loader.status.wait) {
            this.loader.show(this.$refs.container);
          } else {
            this.loader.hide();
          }
        },
        initLoader: function initLoader() {
          this.loader = new main_loader.Loader({
            size: 64
          });
        }
      },
      computed: {
        getStatus: function getStatus() {
          return this.config.status;
        }
      },
      watch: {
        getStatus: function getStatus() {
          this.changeStatus();
        }
      },
      created: function created() {
        this.initLoader();
      },
      mounted: function mounted() {
        if (this.config.status === sale_checkout_const.Loader.status.wait) {
          this.loader.show(this.$refs.container);
        }
      }
    };

    var buttonWait = {
      data: function data() {
        return {
          wait: false
        };
      },
      methods: {
        setWait: function setWait() {
          this.wait = true;
        }
      },
      computed: {
        getObjectClass: function getObjectClass() {
          var classes = ['btn', 'btn-checkout-order-status', 'btn-md', 'rounded-pill'];

          if (this.wait) {
            classes.push('btn-wait');
          }

          return classes;
        }
      }
    };

    var productItemEdit = {
      computed: {
        getSrc: function getSrc() {
          return encodeURI(this.item.product.picture);
        }
      },
      methods: {
        hasSkyTree: function hasSkyTree() {
          var _this$item$sku$tree$S;

          var tree = (_this$item$sku$tree$S = this.item.sku.tree.SELECTED_VALUES) !== null && _this$item$sku$tree$S !== void 0 ? _this$item$sku$tree$S : {};
          return Object.keys(tree).length > 0;
        },
        hasProps: function hasProps() {
          return this.item.props.length > 0;
        }
      }
    };

    exports.MixinLoader = loader;
    exports.MixinButtonWait = buttonWait;
    exports.MixinProductItemEdit = productItemEdit;

}((this.BX.Sale.Checkout.View.Mixins = this.BX.Sale.Checkout.View.Mixins || {}),BX.Sale.Checkout.Const,BX));
//# sourceMappingURL=registry.bundle.js.map

Youez - 2016 - github.com/yon3zu
LinuXploit