-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCS en-US29.0cb71eee40c7d7b6716e.js
545 lines (445 loc) · 28.3 KB
/
DOCS en-US29.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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[23],{
/***/ 783:
/***/ (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/icon.md?vue&type=template&id=4fc04237
const iconvue_type_template_id_4fc04237_hoisted_1 = {
class: "content element-doc"
};
const iconvue_type_template_id_4fc04237_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Icon");
const iconvue_type_template_id_4fc04237_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Element Plus provides a set of common icons.", -1);
const iconvue_type_template_id_4fc04237_hoisted_4 = {
class: "warning"
};
const _hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Element Plus team is replacing all ");
const _hoisted_6 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("strong", null, "Font Icon", -1);
const _hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" in the previously built components to ");
const _hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("strong", null, "SVG Icon", -1);
const _hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", please keep you eyes on ");
const _hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("ChangeLog");
const _hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", for getting latest updates, ");
const _hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("strong", null, "Font Icon", -1);
const _hoisted_13 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" will be deprecated after the first stable release.");
const _hoisted_14 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("SvgIcon Usage ");
const _hoisted_15 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("If you want to ");
const _hoisted_16 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("strong", null, "use directly", -1);
const _hoisted_17 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" like the example, you need to ");
const _hoisted_18 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("globally register");
const _hoisted_19 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" the components before using it.");
const _hoisted_20 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("If you want to see all available SVG icons please check ");
const _hoisted_21 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("@element-plus/icons");
const _hoisted_22 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" and the source ");
const _hoisted_23 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Github/ElementPlus/icons");
const _hoisted_24 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" out or ");
const _hoisted_25 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("SVG icons");
const _hoisted_26 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Installation ");
const _hoisted_27 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("The current icon is only targeted to ");
const _hoisted_28 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Vue3");
const _hoisted_29 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".");
const _hoisted_30 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Using packaging manager ");
const _hoisted_31 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<pre class=\"example-code\"><code class=\"hljs language-shell\"><span class=\"hljs-meta\">$</span><span class=\"bash\"> yarn add @element-plus/icons</span>\n<span class=\"hljs-meta\">#</span><span class=\"bash\"> or</span>\n<span class=\"hljs-meta\">$</span><span class=\"bash\"> npm install @element-plus/icons</span>\n</code><span class=\"lang-mark\">sh</span></pre>", 1);
const _hoisted_32 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Simple usage ");
const _hoisted_33 = {
class: "warning"
};
const _hoisted_34 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Because HTML standard has already defined a tag named ");
const _hoisted_35 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("menu");
const _hoisted_36 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", so you need to use an alias in order to render the icon, if you register ");
const _hoisted_37 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "Menu", -1);
const _hoisted_38 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" directly it will not work.");
const _hoisted_39 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<pre class=\"example-code\"><code class=\"hljs language-html\"><span class=\"hljs-comment\"><!-- Use el-icon to provide attributes to SVG icon --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">el-icon</span> <span class=\"hljs-attr\">:size</span>=<span class=\"hljs-string\">"size"</span> <span class=\"hljs-attr\">:color</span>=<span class=\"hljs-string\">"color"</span>></span>\n <span class=\"hljs-tag\"><<span class=\"hljs-name\">edit</span> /></span>\n<span class=\"hljs-tag\"></<span class=\"hljs-name\">el-icon</span>></span>\n<span class=\"hljs-comment\"><!-- Or use it independently without derive attributes from parent --></span>\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">edit</span> /></span>\n\n<span class=\"hljs-tag\"><<span class=\"hljs-name\">script</span> <span class=\"hljs-attr\">lang</span>=<span class=\"hljs-string\">"ts"</span>></span><span class=\"javascript\">\n <span class=\"hljs-keyword\">import</span> { Edit } <span class=\"hljs-keyword\">from</span> <span class=\"hljs-string\">'@element-plus/icons'</span>\n\n <span class=\"hljs-keyword\">export</span> <span class=\"hljs-keyword\">default</span> defineComponent({\n <span class=\"hljs-attr\">components</span>: {\n <span class=\"hljs-comment\">// or Shorthanded,</span>\n Edit,\n },\n })\n</span><span class=\"hljs-tag\"></<span class=\"hljs-name\">script</span>></span>\n</code><span class=\"lang-mark\">html</span></pre>", 1);
const _hoisted_40 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Combined with el-icon ");
const _hoisted_41 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "el-icon"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" provides extra attributes for raw SVG icon, for more detail, please read to the end.")])], -1);
const _hoisted_42 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<p>\n with extra class <b>is-loading</b>, your icon is able to rotate 360 deg in 2\n seconds, you can also override this\n</p>\n<el-icon :size=\"20\">\n <edit />\n</el-icon>\n<el-icon color=\"#409EFC\" class=\"no-inherit\">\n <share />\n</el-icon>\n<el-icon>\n <delete />\n</el-icon>\n<el-icon class=\"is-loading\">\n <loading />\n</el-icon>\n<el-button type=\"primary\">\n <el-icon style=\"vertical-align: middle;\">\n <search />\n </el-icon>\n <span style=\"vertical-align: middle;\"> Search </span>\n</el-button>\n")], -1);
const _hoisted_43 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Using SVG icon directly ");
const _hoisted_44 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<div style=\"font-size: 20px;\">\n <!-- Since svg icons do not carry any attributes by default -->\n <!-- You need to provide attributes directly -->\n <edit style=\"width: 1em; height: 1em; margin-right: 8px;\" />\n <share style=\"width: 1em; height: 1em; margin-right: 8px;\" />\n <delete style=\"width: 1em; height: 1em; margin-right: 8px;\" />\n <search style=\"width: 1em; height: 1em; margin-right: 8px;\" />\n</div>\n")], -1);
const _hoisted_45 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("SVG Icons collection ");
const _hoisted_46 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", {
class: "tip"
}, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("This collection is updated after [email protected](included), you can only use "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "el-icon"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" to wrap it after [email protected](included), or directly use it without version constrains")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("strong", null, "You can use SVG icon in any version"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" as long as you install it")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("strong", null, "You can click the icon to copy it")])], -1);
const _hoisted_47 = {
class: "icon-list"
};
const _hoisted_48 = ["onClick"];
const _hoisted_49 = {
class: "demo-svg-icon"
};
const _hoisted_50 = {
class: "icon-name"
};
const _hoisted_51 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Font Icon Basic usage ");
const _hoisted_52 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Just assign the class name to "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "el-icon-iconName"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")], -1);
const _hoisted_53 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<i class=\"el-icon-edit\"></i>\n<i class=\"el-icon-share\"></i>\n<i class=\"el-icon-delete\"></i>\n<el-button type=\"primary\" icon=\"el-icon-search\">Search</el-button>\n")], -1);
const _hoisted_54 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Font Icons ");
const _hoisted_55 = {
class: "icon-list"
};
const _hoisted_56 = {
class: "icon-name"
};
const _hoisted_57 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("SVG Icon Attributes ");
const _hoisted_58 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Attribute</th><th>Description</th><th>Type</th><th>Acceptable Value</th><th>Default</th></tr></thead><tbody><tr><td>color</td><td>SVG tag's fill attribute</td><td>Pick<CSSProperties, 'color'></td><td>-</td><td>inherit from color</td></tr><tr><td>size</td><td>SVG icon size, size x size</td><td>number</td><td>-</td><td>inherit from font size</td></tr></tbody></table>", 1);
function iconvue_type_template_id_4fc04237_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_app_heading = Object(vue_esm_browser_prod["resolveComponent"])("app-heading");
const _component_app_link = Object(vue_esm_browser_prod["resolveComponent"])("app-link");
const _component_element_demo0 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo0");
const _component_demo_block = Object(vue_esm_browser_prod["resolveComponent"])("demo-block");
const _component_element_demo1 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo1");
const _component_el_icon = Object(vue_esm_browser_prod["resolveComponent"])("el-icon");
const _component_element_demo2 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo2");
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", iconvue_type_template_id_4fc04237_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
content: "Icon",
href: "",
level: "1"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [iconvue_type_template_id_4fc04237_hoisted_2]),
_: 1
}), iconvue_type_template_id_4fc04237_hoisted_3, Object(vue_esm_browser_prod["createElementVNode"])("div", iconvue_type_template_id_4fc04237_hoisted_4, [Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_5, _hoisted_6, _hoisted_7, _hoisted_8, _hoisted_9, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "/#/en-US/component/changelog"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_10]),
_: 1
}), _hoisted_11, _hoisted_12, _hoisted_13])]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "svgicon-usage",
content: "SvgIcon Usage",
href: "#svgicon-usage",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_14, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#svgicon-usage"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("ul", null, [Object(vue_esm_browser_prod["createElementVNode"])("li", null, [Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_15, _hoisted_16, _hoisted_17, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://v3.vuejs.org/guide/component-registration.html#global-registration"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_18]),
_: 1
}), _hoisted_19])]), Object(vue_esm_browser_prod["createElementVNode"])("li", null, [Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_20, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://unpkg.com/browse/@element-plus/icons@latest/lib/"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_21]),
_: 1
}), _hoisted_22, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://github.com/element-plus/element-plus-icons"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_23]),
_: 1
}), _hoisted_24, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "/#/en-US/component/icon#svg-tu-biao-ji-he"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_25]),
_: 1
})])])]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "installation",
content: "Installation",
href: "#installation",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_26, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#installation"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_27, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://v3.vuejs.org"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_28]),
_: 1
}), _hoisted_29]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "using-packaging-manager",
content: "Using packaging manager",
href: "#using-packaging-manager",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_30, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#using-packaging-manager"
})]),
_: 1
}), _hoisted_31, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "simple-usage",
content: "Simple usage",
href: "#simple-usage",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_32, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#simple-usage"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("div", _hoisted_33, [Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_34, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_35]),
_: 1
}), _hoisted_36, _hoisted_37, _hoisted_38])]), _hoisted_39, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "combined-with-el-icon",
content: "Combined with el-icon",
href: "#combined-with-el-icon",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_40, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#combined-with-el-icon"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo0)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_42]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_41]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "using-svg-icon-directly",
content: "Using SVG icon directly",
href: "#using-svg-icon-directly",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_43, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#using-svg-icon-directly"
})]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo1)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_44]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "svg-icons-collection",
content: "SVG Icons collection",
href: "#svg-icons-collection",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_45, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#svg-icons-collection"
})]),
_: 1
}), _hoisted_46, Object(vue_esm_browser_prod["createElementVNode"])("ul", _hoisted_47, [(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"])(_ctx.$svgIcons, component => {
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("li", {
key: component,
onClick: $event => _ctx.$copySvgIcon(component)
}, [Object(vue_esm_browser_prod["createElementVNode"])("span", _hoisted_49, [Object(vue_esm_browser_prod["createVNode"])(_component_el_icon, {
color: "#000"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [(Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createBlock"])(Object(vue_esm_browser_prod["resolveDynamicComponent"])(component)))]),
_: 2
}, 1024), Object(vue_esm_browser_prod["createElementVNode"])("span", _hoisted_50, Object(vue_esm_browser_prod["toDisplayString"])(component), 1)])], 8, _hoisted_48);
}), 128))]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "font-icon-basic-usage",
content: "Font Icon Basic usage",
href: "#font-icon-basic-usage",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_51, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#font-icon-basic-usage"
})]),
_: 1
}), _hoisted_52, Object(vue_esm_browser_prod["createVNode"])(_component_demo_block, null, {
source: Object(vue_esm_browser_prod["withCtx"])(() => [Object(vue_esm_browser_prod["createVNode"])(_component_element_demo2)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_53]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "font-icons",
content: "Font Icons",
href: "#font-icons",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_54, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#font-icons"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("ul", _hoisted_55, [(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"])(_ctx.$icon, name => {
return Object(vue_esm_browser_prod["openBlock"])(), Object(vue_esm_browser_prod["createElementBlock"])("li", {
key: name
}, [Object(vue_esm_browser_prod["createElementVNode"])("span", null, [Object(vue_esm_browser_prod["createElementVNode"])("i", {
class: Object(vue_esm_browser_prod["normalizeClass"])('el-icon-' + name)
}, null, 2), Object(vue_esm_browser_prod["createElementVNode"])("span", _hoisted_56, Object(vue_esm_browser_prod["toDisplayString"])('el-icon-' + name), 1)])]);
}), 128))]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "svg-icon-attributes",
content: "SVG Icon Attributes",
href: "#svg-icon-attributes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_57, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#svg-icon-attributes"
})]),
_: 1
}), _hoisted_58, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/en-US/icon.md?vue&type=template&id=4fc04237
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/en-US/icon.md?vue&type=script&lang=ts
/* harmony default export */ var iconvue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
createElementVNode: _createElementVNode,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
withCtx: _withCtx,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("p", null, [/*#__PURE__*/_createTextVNode(" with extra class "), /*#__PURE__*/_createElementVNode("b", null, "is-loading"), /*#__PURE__*/_createTextVNode(", your icon is able to rotate 360 deg in 2 seconds, you can also override this ")], -1);
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", {
style: {
"vertical-align": "middle"
}
}, " Search ", -1);
function render(_ctx, _cache) {
const _component_edit = _resolveComponent("edit");
const _component_el_icon = _resolveComponent("el-icon");
const _component_share = _resolveComponent("share");
const _component_delete = _resolveComponent("delete");
const _component_loading = _resolveComponent("loading");
const _component_search = _resolveComponent("search");
const _component_el_button = _resolveComponent("el-button");
return _openBlock(), _createElementBlock("div", null, [_hoisted_1, _createVNode(_component_el_icon, {
size: 20
}, {
default: _withCtx(() => [_createVNode(_component_edit)]),
_: 1
}), _createVNode(_component_el_icon, {
color: "#409EFC",
class: "no-inherit"
}, {
default: _withCtx(() => [_createVNode(_component_share)]),
_: 1
}), _createVNode(_component_el_icon, null, {
default: _withCtx(() => [_createVNode(_component_delete)]),
_: 1
}), _createVNode(_component_el_icon, {
class: "is-loading"
}, {
default: _withCtx(() => [_createVNode(_component_loading)]),
_: 1
}), _createVNode(_component_el_button, {
type: "primary"
}, {
default: _withCtx(() => [_createVNode(_component_el_icon, {
style: {
"vertical-align": "middle"
}
}, {
default: _withCtx(() => [_createVNode(_component_search)]),
_: 1
}), _hoisted_2]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
createElementVNode: _createElementVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
style: {
"font-size": "20px"
}
};
function render(_ctx, _cache) {
const _component_edit = _resolveComponent("edit");
const _component_share = _resolveComponent("share");
const _component_delete = _resolveComponent("delete");
const _component_search = _resolveComponent("search");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_createVNode(_component_edit, {
style: {
"width": "1em",
"height": "1em",
"margin-right": "8px"
}
}), _createVNode(_component_share, {
style: {
"width": "1em",
"height": "1em",
"margin-right": "8px"
}
}), _createVNode(_component_delete, {
style: {
"width": "1em",
"height": "1em",
"margin-right": "8px"
}
}), _createVNode(_component_search, {
style: {
"width": "1em",
"height": "1em",
"margin-right": "8px"
}
})])]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo2": function () {
const {
createElementVNode: _createElementVNode,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-edit"
}, null, -1);
const _hoisted_2 = /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-share"
}, null, -1);
const _hoisted_3 = /*#__PURE__*/_createElementVNode("i", {
class: "el-icon-delete"
}, null, -1);
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Search");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
return _openBlock(), _createElementBlock("div", null, [_hoisted_1, _hoisted_2, _hoisted_3, _createVNode(_component_el_button, {
type: "primary",
icon: "el-icon-search"
}, {
default: _withCtx(() => [_hoisted_4]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/en-US/icon.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/en-US/icon.md
iconvue_type_script_lang_ts.render = iconvue_type_template_id_4fc04237_render
/* harmony default export */ var icon = __webpack_exports__["default"] = (iconvue_type_script_lang_ts);
/***/ })
}]);