UNPKG

element-ui

Version:

A Component Library for Vue.js.

127 lines (92 loc) 2.91 kB
module.exports = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) /******/ return installedModules[moduleId].exports; /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ exports: {}, /******/ id: moduleId, /******/ loaded: false /******/ }; /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ // Flag the module as loaded /******/ module.loaded = true; /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ // __webpack_public_path__ /******/ __webpack_require__.p = "/dist/"; /******/ // Load entry module and return exports /******/ return __webpack_require__(0); /******/ }) /************************************************************************/ /******/ ({ /***/ 0: /***/ function(module, exports, __webpack_require__) { module.exports = __webpack_require__(257); /***/ }, /***/ 257: /***/ function(module, exports, __webpack_require__) { 'use strict'; exports.__esModule = true; var _row = __webpack_require__(258); var _row2 = _interopRequireDefault(_row); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } /* istanbul ignore next */ _row2.default.install = function (Vue) { Vue.component(_row2.default.name, _row2.default); }; exports.default = _row2.default; /***/ }, /***/ 258: /***/ function(module, exports) { 'use strict'; exports.__esModule = true; exports.default = { name: 'ElRow', componentName: 'ElRow', props: { tag: { type: String, default: 'div' }, gutter: Number, type: String, justify: { type: String, default: 'start' }, align: { type: String, default: 'top' } }, computed: { style: function style() { var ret = {}; if (this.gutter) { ret.marginLeft = '-' + this.gutter / 2 + 'px'; ret.marginRight = ret.marginLeft; } return ret; } }, render: function render(h) { return h(this.tag, { class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align !== 'top' ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }], style: this.style }, this.$slots.default); } }; /***/ } /******/ });