/*! bxs-vue-ui v3.3.0 */
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

require('../utils/entry-virtual.js');
var normalizeComponent = require('../utils/normalize-component.js');
require('../utils/object-create.js');
require('../utils/html.js');
require('../utils/es.number.constructor.js');
var isNan = require('../utils/is-nan.js');

var script = normalizeComponent.create({
  name: 'loading',
  props: {
    size: {
      type: String,
      default: '19px'
    }
  },
  computed: {
    style: function style() {
      var size = this.size;
      var sizeValue;

      if (isNan._Number$isNaN(Number(size))) {
        sizeValue = size;
      } else {
        sizeValue = size + "px";
      }

      return {
        width: sizeValue,
        height: sizeValue
      };
    }
  }
});

/* script */
var __vue_script__ = script;
/* template */

var __vue_render__ = function __vue_render__() {
  var _vm = this;

  var _h = _vm.$createElement;

  var _c = _vm._self._c || _h;

  return _c('div', {
    staticClass: "bx-loading",
    style: _vm.style
  }, [_c('span', {
    staticClass: "bx-loading-spinner"
  }, _vm._l(12, function (n) {
    return _c('i', {
      key: n,
      staticClass: "bx-loading-wire"
    });
  }))]);
};

var __vue_staticRenderFns__ = [];
/* style */

var __vue_inject_styles__ = undefined;
/* scoped */

var __vue_scope_id__ = undefined;
/* module identifier */

var __vue_module_identifier__ = undefined;
/* functional template */

var __vue_is_functional_template__ = false;
/* style inject */

/* style inject SSR */

var Loading = normalizeComponent.__vue_normalize__({
  render: __vue_render__,
  staticRenderFns: __vue_staticRenderFns__
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, undefined, undefined);

exports.default = Loading;
