UNPKG

3.85 kBJavaScriptView Raw
1module.exports =
2/******/ (function(modules) { // webpackBootstrap
3/******/ // The module cache
4/******/ var installedModules = {};
5/******/
6/******/ // The require function
7/******/ function __webpack_require__(moduleId) {
8/******/
9/******/ // Check if module is in cache
10/******/ if(installedModules[moduleId]) {
11/******/ return installedModules[moduleId].exports;
12/******/ }
13/******/ // Create a new module (and put it into the cache)
14/******/ var module = installedModules[moduleId] = {
15/******/ i: moduleId,
16/******/ l: false,
17/******/ exports: {}
18/******/ };
19/******/
20/******/ // Execute the module function
21/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
22/******/
23/******/ // Flag the module as loaded
24/******/ module.l = true;
25/******/
26/******/ // Return the exports of the module
27/******/ return module.exports;
28/******/ }
29/******/
30/******/
31/******/ // expose the modules object (__webpack_modules__)
32/******/ __webpack_require__.m = modules;
33/******/
34/******/ // expose the module cache
35/******/ __webpack_require__.c = installedModules;
36/******/
37/******/ // define getter function for harmony exports
38/******/ __webpack_require__.d = function(exports, name, getter) {
39/******/ if(!__webpack_require__.o(exports, name)) {
40/******/ Object.defineProperty(exports, name, {
41/******/ configurable: false,
42/******/ enumerable: true,
43/******/ get: getter
44/******/ });
45/******/ }
46/******/ };
47/******/
48/******/ // getDefaultExport function for compatibility with non-harmony modules
49/******/ __webpack_require__.n = function(module) {
50/******/ var getter = module && module.__esModule ?
51/******/ function getDefault() { return module['default']; } :
52/******/ function getModuleExports() { return module; };
53/******/ __webpack_require__.d(getter, 'a', getter);
54/******/ return getter;
55/******/ };
56/******/
57/******/ // Object.prototype.hasOwnProperty.call
58/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
59/******/
60/******/ // __webpack_public_path__
61/******/ __webpack_require__.p = "/dist/";
62/******/
63/******/ // Load entry module and return exports
64/******/ return __webpack_require__(__webpack_require__.s = 283);
65/******/ })
66/************************************************************************/
67/******/ ({
68
69/***/ 283:
70/***/ (function(module, exports, __webpack_require__) {
71
72"use strict";
73
74
75exports.__esModule = true;
76
77var _row = __webpack_require__(284);
78
79var _row2 = _interopRequireDefault(_row);
80
81function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
82
83/* istanbul ignore next */
84_row2.default.install = function (Vue) {
85 Vue.component(_row2.default.name, _row2.default);
86};
87
88exports.default = _row2.default;
89
90/***/ }),
91
92/***/ 284:
93/***/ (function(module, exports, __webpack_require__) {
94
95"use strict";
96
97
98exports.__esModule = true;
99exports.default = {
100 name: 'ElRow',
101
102 componentName: 'ElRow',
103
104 props: {
105 tag: {
106 type: String,
107 default: 'div'
108 },
109 gutter: Number,
110 type: String,
111 justify: {
112 type: String,
113 default: 'start'
114 },
115 align: {
116 type: String,
117 default: 'top'
118 }
119 },
120
121 computed: {
122 style: function style() {
123 var ret = {};
124
125 if (this.gutter) {
126 ret.marginLeft = '-' + this.gutter / 2 + 'px';
127 ret.marginRight = ret.marginLeft;
128 }
129
130 return ret;
131 }
132 },
133
134 render: function render(h) {
135 return h(this.tag, {
136 class: ['el-row', this.justify !== 'start' ? 'is-justify-' + this.justify : '', this.align !== 'top' ? 'is-align-' + this.align : '', { 'el-row--flex': this.type === 'flex' }],
137 style: this.style
138 }, this.$slots.default);
139 }
140};
141
142/***/ })
143
144/******/ });
\No newline at end of file