-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCS en-US5.0cb71eee40c7d7b6716e.js
297 lines (228 loc) · 11.6 KB
/
DOCS en-US5.0cb71eee40c7d7b6716e.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[46],{
/***/ 1181:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm-browser.prod.js
var vue_esm_browser_prod = __webpack_require__(0);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--13-0!./website/components/demo/border/radius-box.vue?vue&type=template&id=278ed4e6
const _hoisted_1 = {
class: "title"
};
const _hoisted_2 = {
class: "value"
};
function render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_el_col = Object(vue_esm_browser_prod["resolveComponent"])("el-col");
const _component_el_row = Object(vue_esm_browser_prod["resolveComponent"])("el-row");
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createBlock"])(_component_el_row, {
gutter: 12,
class: "demo-radius"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [(Object(vue_esm_browser_prod["openBlock"])(true), Object(vue_esm_browser_prod["createElementBlock"])(vue_esm_browser_prod["Fragment"], null, Object(vue_esm_browser_prod["renderList"])($props.radiusGroup, (radius, i) => {
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createBlock"])(_component_el_col, {
key: i,
span: 6,
xs: {
span: 12
}
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createElementVNode"])("div", _hoisted_1, Object(vue_esm_browser_prod["toDisplayString"])(radius.name), 1), Object(vue_esm_browser_prod["createElementVNode"])("div", _hoisted_2, [Object(vue_esm_browser_prod["createElementVNode"])("code", null, "border-radius: " + Object(vue_esm_browser_prod["toDisplayString"])($options.getValue(radius.type) || '0px'), 1)]), Object(vue_esm_browser_prod["createElementVNode"])("div", {
class: "radius",
style: Object(vue_esm_browser_prod["normalizeStyle"])({
borderRadius: radius.type ? `var(--el-border-radius-${radius.type})` : ''
})
}, null, 4)]),
_: 2
}, 1024);
}), 128))]),
_: 1
});
}
// CONCATENATED MODULE: ./website/components/demo/border/radius-box.vue?vue&type=template&id=278ed4e6
// EXTERNAL MODULE: ./website/util.js
var util = __webpack_require__(47);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--13-0!./website/components/demo/border/radius-box.vue?vue&type=script&lang=js
/* harmony default export */ var radius_boxvue_type_script_lang_js = ({
props: {
radiusGroup: {
type: Array,
default() {
return [];
}
}
},
methods: {
getValue(type) {
return Object(util["c" /* getCssVarValue */])('border-radius', type);
}
}
});
// CONCATENATED MODULE: ./website/components/demo/border/radius-box.vue?vue&type=script&lang=js
// CONCATENATED MODULE: ./website/components/demo/border/radius-box.vue
radius_boxvue_type_script_lang_js.render = render
/* harmony default export */ var radius_box = __webpack_exports__["a"] = (radius_boxvue_type_script_lang_js);
/***/ }),
/***/ 1182:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm-browser.prod.js
var vue_esm_browser_prod = __webpack_require__(0);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--13-0!./website/components/demo/border/shadow-box.vue?vue&type=template&id=568ea0ec
const _hoisted_1 = {
class: "demo-shadow-text"
};
function render(_ctx, _cache, $props, $setup, $data, $options) {
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("div", null, [(Object(vue_esm_browser_prod["openBlock"])(true), Object(vue_esm_browser_prod["createElementBlock"])(vue_esm_browser_prod["Fragment"], null, Object(vue_esm_browser_prod["renderList"])($props.shadowGroup, (shadow, i) => {
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])(vue_esm_browser_prod["Fragment"], {
key: i
}, [Object(vue_esm_browser_prod["createElementVNode"])("div", {
class: "demo-shadow",
style: Object(vue_esm_browser_prod["normalizeStyle"])({
boxShadow: `var(--el-box-shadow-${shadow.type})`
})
}, null, 4), Object(vue_esm_browser_prod["createElementVNode"])("span", _hoisted_1, [Object(vue_esm_browser_prod["createTextVNode"])(Object(vue_esm_browser_prod["toDisplayString"])(shadow.name) + " ", 1), Object(vue_esm_browser_prod["createElementVNode"])("code", null, "box-shadow: " + Object(vue_esm_browser_prod["toDisplayString"])($options.getValue(shadow.type)), 1)])], 64);
}), 128))]);
}
// CONCATENATED MODULE: ./website/components/demo/border/shadow-box.vue?vue&type=template&id=568ea0ec
// EXTERNAL MODULE: ./website/util.js
var util = __webpack_require__(47);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--13-0!./website/components/demo/border/shadow-box.vue?vue&type=script&lang=js
/* harmony default export */ var shadow_boxvue_type_script_lang_js = ({
props: {
shadowGroup: {
type: Array,
default() {
return [];
}
}
},
methods: {
getValue(type) {
return Object(util["c" /* getCssVarValue */])('box-shadow', type);
}
}
});
// CONCATENATED MODULE: ./website/components/demo/border/shadow-box.vue?vue&type=script&lang=js
// CONCATENATED MODULE: ./website/components/demo/border/shadow-box.vue
shadow_boxvue_type_script_lang_js.render = render
/* harmony default export */ var shadow_box = __webpack_exports__["a"] = (shadow_boxvue_type_script_lang_js);
/***/ }),
/***/ 761:
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.esm-browser.prod.js
var vue_esm_browser_prod = __webpack_require__(0);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist/templateLoader.js??ref--6!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/en-US/border.md?vue&type=template&id=77a23452
const _hoisted_1 = {
class: "content element-doc"
};
const _hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Border ");
const _hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "We standardize the borders that can be used in buttons, cards, pop-ups and other components.", -1);
const _hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Border ");
const _hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<p>There are few border styles to choose.</p><table class=\"demo-border\"><tbody><tr><td class=\"text\">Name</td><td class=\"text\">Thickness</td><td class=\"line\">Demo</td></tr><tr><td class=\"text\">Solid</td><td class=\"text\">1px</td><td class=\"line\"><div></div></td></tr><tr><td class=\"text\">Dashed</td><td class=\"text\">2px</td><td class=\"line\"><div class=\"dashed\"></div></td></tr></tbody></table>", 2);
const _hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Radius ");
const _hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "There are few radius styles to choose.", -1);
const _hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Shadow ");
const _hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "There are few shadow styles to choose.", -1);
function render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_app_link = Object(vue_esm_browser_prod["resolveComponent"])("app-link");
const _component_app_heading = Object(vue_esm_browser_prod["resolveComponent"])("app-heading");
const _component_radius_box = Object(vue_esm_browser_prod["resolveComponent"])("radius-box");
const _component_shadow_box = Object(vue_esm_browser_prod["resolveComponent"])("shadow-box");
const _component_right_nav = Object(vue_esm_browser_prod["resolveComponent"])("right-nav");
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("section", _hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "border",
content: "Border",
href: "#border",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#border"
})]),
_: 1
}), _hoisted_3, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "border-2",
content: "Border",
href: "#border-2",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#border-2"
})]),
_: 1
}), _hoisted_5, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "radius",
content: "Radius",
href: "#radius",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_7, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#radius"
})]),
_: 1
}), _hoisted_8, Object(vue_esm_browser_prod["createVNode"])(_component_radius_box, {
"radius-group": $data.radiusGroup
}, null, 8, ["radius-group"]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "shadow",
content: "Shadow",
href: "#shadow",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_9, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#shadow"
})]),
_: 1
}), _hoisted_10, Object(vue_esm_browser_prod["createVNode"])(_component_shadow_box, {
"shadow-group": $data.shadowGroup
}, null, 8, ["shadow-group"]), Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/en-US/border.md?vue&type=template&id=77a23452
// EXTERNAL MODULE: ./website/components/demo/border/radius-box.vue + 4 modules
var radius_box = __webpack_require__(1181);
// EXTERNAL MODULE: ./website/components/demo/border/shadow-box.vue + 4 modules
var shadow_box = __webpack_require__(1182);
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/en-US/border.md?vue&type=script&lang=js
const radiusGroup = [{
name: 'No Radius',
type: ''
}, {
name: 'Small Radius',
type: 'small'
}, {
name: 'Large Radius',
type: 'base'
}, {
name: 'Round Radius',
type: 'round'
}];
const shadowGroup = [{
name: 'Basic Shadow',
type: 'base'
}, {
name: 'Light Shadow',
type: 'light'
}];
/* harmony default export */ var bordervue_type_script_lang_js = ({
components: {
RadiusBox: radius_box["a" /* default */],
ShadowBox: shadow_box["a" /* default */]
},
data() {
return {
radiusGroup,
shadowGroup
};
}
});
// CONCATENATED MODULE: ./website/docs/en-US/border.md?vue&type=script&lang=js
// CONCATENATED MODULE: ./website/docs/en-US/border.md
bordervue_type_script_lang_js.render = render
/* harmony default export */ var border = __webpack_exports__["default"] = (bordervue_type_script_lang_js);
/***/ })
}]);