-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCS es13.0cb71eee40c7d7b6716e.js
448 lines (362 loc) · 30.4 KB
/
DOCS es13.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
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[78],{
/***/ 836:
/***/ (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/es/collapse.md?vue&type=template&id=4b5e68ce
const collapsevue_type_template_id_4b5e68ce_hoisted_1 = {
class: "content element-doc"
};
const collapsevue_type_template_id_4b5e68ce_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Collapse ");
const collapsevue_type_template_id_4b5e68ce_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Use Collapse para almacenar contenidos.", -1);
const collapsevue_type_template_id_4b5e68ce_hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Uso básico ");
const collapsevue_type_template_id_4b5e68ce_hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Puede expandir varios paneles", -1);
const collapsevue_type_template_id_4b5e68ce_hoisted_6 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-collapse v-model=\"activeNames\" @change=\"handleChange\">\n <el-collapse-item title=\"Consistency\" name=\"1\">\n <div>\n Consistent with real life: in line with the process and logic of real\n life, and comply with languages and habits that the users are used to;\n </div>\n <div>\n Consistent within interface: all elements should be consistent, such as:\n design style, icons and texts, position of elements, etc.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Feedback\" name=\"2\">\n <div>\n Operation feedback: enable the users to clearly perceive their operations\n by style updates and interactive effects;\n </div>\n <div>\n Visual feedback: reflect current state by updating or rearranging elements\n of the page.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Efficiency\" name=\"3\">\n <div>\n Simplify the process: keep operating process simple and intuitive;\n </div>\n <div>\n Definite and clear: enunciate your intentions clearly so that the users\n can quickly understand and make decisions;\n </div>\n <div>\n Easy to identify: the interface should be straightforward, which helps the\n users to identify and frees them from memorizing and recalling.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Controllability\" name=\"4\">\n <div>\n Decision making: giving advices about operations is acceptable, but do not\n make decisions for the users;\n </div>\n <div>\n Controlled consequences: users should be granted the freedom to operate,\n including canceling, aborting or terminating current operation.\n </div>\n </el-collapse-item>\n</el-collapse>\n<script>\n export default {\n data() {\n return {\n activeNames: ['1'],\n }\n },\n methods: {\n handleChange(val) {\n console.log(val)\n },\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const activeNames = ref(['1']);\n const handleChange = (val) => {\n console.log(val);\n };\n return {\n activeNames,\n handleChange,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const collapsevue_type_template_id_4b5e68ce_hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Acordeón ");
const collapsevue_type_template_id_4b5e68ce_hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "En modo acordeón sólo un panel puede ser expandido a la vez", -1);
const collapsevue_type_template_id_4b5e68ce_hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Activa el modo acordeón usado el atributo "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "accordion"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")])], -1);
const collapsevue_type_template_id_4b5e68ce_hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-collapse v-model=\"activeName\" accordion>\n <el-collapse-item title=\"Consistency\" name=\"1\">\n <div>\n Consistent with real life: in line with the process and logic of real\n life, and comply with languages and habits that the users are used to;\n </div>\n <div>\n Consistent within interface: all elements should be consistent, such as:\n design style, icons and texts, position of elements, etc.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Feedback\" name=\"2\">\n <div>\n Operation feedback: enable the users to clearly perceive their operations\n by style updates and interactive effects;\n </div>\n <div>\n Visual feedback: reflect current state by updating or rearranging elements\n of the page.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Efficiency\" name=\"3\">\n <div>\n Simplify the process: keep operating process simple and intuitive;\n </div>\n <div>\n Definite and clear: enunciate your intentions clearly so that the users\n can quickly understand and make decisions;\n </div>\n <div>\n Easy to identify: the interface should be straightforward, which helps the\n users to identify and frees them from memorizing and recalling.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Controllability\" name=\"4\">\n <div>\n Decision making: giving advices about operations is acceptable, but do not\n make decisions for the users;\n </div>\n <div>\n Controlled consequences: users should be granted the freedom to operate,\n including canceling, aborting or terminating current operation.\n </div>\n </el-collapse-item>\n</el-collapse>\n<script>\n export default {\n data() {\n return {\n activeName: '1',\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const activeName = ref('1');\n\n return {\n activeName,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const collapsevue_type_template_id_4b5e68ce_hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Título personalizado ");
const _hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Además de usar el atributo "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "title"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", se puede personalizar el título del panel con slots con nombre, esto hace posible agregar contenido personalizado, por ejemplo: iconos.")], -1);
const _hoisted_13 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-collapse accordion>\n <el-collapse-item name=\"1\">\n <template #title>\n Consistency<i class=\"header-icon el-icon-information\"></i>\n </template>\n <div>\n Consistent with real life: in line with the process and logic of real\n life, and comply with languages and habits that the users are used to;\n </div>\n <div>\n Consistent within interface: all elements should be consistent, such as:\n design style, icons and texts, position of elements, etc.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Feedback\" name=\"2\">\n <div>\n Operation feedback: enable the users to clearly perceive their operations\n by style updates and interactive effects;\n </div>\n <div>\n Visual feedback: reflect current state by updating or rearranging elements\n of the page.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Efficiency\" name=\"3\">\n <div>\n Simplify the process: keep operating process simple and intuitive;\n </div>\n <div>\n Definite and clear: enunciate your intentions clearly so that the users\n can quickly understand and make decisions;\n </div>\n <div>\n Easy to identify: the interface should be straightforward, which helps the\n users to identify and frees them from memorizing and recalling.\n </div>\n </el-collapse-item>\n <el-collapse-item title=\"Controllability\" name=\"4\">\n <div>\n Decision making: giving advices about operations is acceptable, but do not\n make decisions for the users;\n </div>\n <div>\n Controlled consequences: users should be granted the freedom to operate,\n including canceling, aborting or terminating current operation.\n </div>\n </el-collapse-item>\n</el-collapse>\n")], -1);
const _hoisted_14 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Atributos de Collapse ");
const _hoisted_15 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Atributo</th><th>Descripción</th><th>Tipo</th><th>Valores aceptados</th><th>Por defecto</th></tr></thead><tbody><tr><td>model-value / v-model</td><td>panel activo</td><td>string (modo acordeón) / array (No modo acordeón)</td><td>—</td><td>—</td></tr><tr><td>accordion</td><td>especifica si activa el modo acordeón</td><td>boolean</td><td>—</td><td>false</td></tr></tbody></table>", 1);
const _hoisted_16 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Eventos de Collapse ");
const _hoisted_17 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("table", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("thead", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Nombre de Evento"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Descripción"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Parametros")])]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tbody", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "change"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "se dispara cuando los paneles activos cambian"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "(activeNames: array (No modo acordeón) / string (modo acordeón))")])])], -1);
const _hoisted_18 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Atributos de Collapse Item ");
const _hoisted_19 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Atributo</th><th>Descripción</th><th>Tipo</th><th>Valores aceptados</th><th>Por defecto</th></tr></thead><tbody><tr><td>name</td><td>identificador único del panel</td><td>string/number</td><td>—</td><td>—</td></tr><tr><td>title</td><td>título del panel</td><td>string</td><td>—</td><td>—</td></tr><tr><td>disabled</td><td>deshabilita el collapse ítem</td><td>boolean</td><td>—</td><td>—</td></tr></tbody></table>", 1);
const _hoisted_20 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Collapse Item Slot ");
const _hoisted_21 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("table", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("thead", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Nombre"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Descripcíon")])]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tbody", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "contenido de Collapse ítem")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "title"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "contenido del título de Collapse ítem")])])], -1);
function collapsevue_type_template_id_4b5e68ce_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_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_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", collapsevue_type_template_id_4b5e68ce_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "collapse",
content: "Collapse",
href: "#collapse",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [collapsevue_type_template_id_4b5e68ce_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#collapse"
})]),
_: 1
}), collapsevue_type_template_id_4b5e68ce_hoisted_3, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "uso-basico",
content: "Uso básico",
href: "#uso-basico",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [collapsevue_type_template_id_4b5e68ce_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#uso-basico"
})]),
_: 1
}), collapsevue_type_template_id_4b5e68ce_hoisted_5, 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"])(() => [collapsevue_type_template_id_4b5e68ce_hoisted_6]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "acordeon",
content: "Acordeón",
href: "#acordeon",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [collapsevue_type_template_id_4b5e68ce_hoisted_7, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#acordeon"
})]),
_: 1
}), collapsevue_type_template_id_4b5e68ce_hoisted_8, 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"])(() => [collapsevue_type_template_id_4b5e68ce_hoisted_10]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [collapsevue_type_template_id_4b5e68ce_hoisted_9]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "titulo-personalizado",
content: "Título personalizado",
href: "#titulo-personalizado",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [collapsevue_type_template_id_4b5e68ce_hoisted_11, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#titulo-personalizado"
})]),
_: 1
}), _hoisted_12, 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_13]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "atributos-de-collapse",
content: "Atributos de Collapse",
href: "#atributos-de-collapse",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_14, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#atributos-de-collapse"
})]),
_: 1
}), _hoisted_15, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "eventos-de-collapse",
content: "Eventos de Collapse",
href: "#eventos-de-collapse",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_16, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#eventos-de-collapse"
})]),
_: 1
}), _hoisted_17, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "atributos-de-collapse-item",
content: "Atributos de Collapse Item",
href: "#atributos-de-collapse-item",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_18, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#atributos-de-collapse-item"
})]),
_: 1
}), _hoisted_19, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "collapse-item-slot",
content: "Collapse Item Slot",
href: "#collapse-item-slot",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_20, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#collapse-item-slot"
})]),
_: 1
}), _hoisted_21, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/es/collapse.md?vue&type=template&id=4b5e68ce
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/es/collapse.md?vue&type=script&lang=ts
/* harmony default export */ var collapsevue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("div", null, " Consistent with real life: in line with the process and logic of real life, and comply with languages and habits that the users are used to; ", -1);
const _hoisted_2 = /*#__PURE__*/_createElementVNode("div", null, " Consistent within interface: all elements should be consistent, such as: design style, icons and texts, position of elements, etc. ", -1);
const _hoisted_3 = /*#__PURE__*/_createElementVNode("div", null, " Operation feedback: enable the users to clearly perceive their operations by style updates and interactive effects; ", -1);
const _hoisted_4 = /*#__PURE__*/_createElementVNode("div", null, " Visual feedback: reflect current state by updating or rearranging elements of the page. ", -1);
const _hoisted_5 = /*#__PURE__*/_createElementVNode("div", null, " Simplify the process: keep operating process simple and intuitive; ", -1);
const _hoisted_6 = /*#__PURE__*/_createElementVNode("div", null, " Definite and clear: enunciate your intentions clearly so that the users can quickly understand and make decisions; ", -1);
const _hoisted_7 = /*#__PURE__*/_createElementVNode("div", null, " Easy to identify: the interface should be straightforward, which helps the users to identify and frees them from memorizing and recalling. ", -1);
const _hoisted_8 = /*#__PURE__*/_createElementVNode("div", null, " Decision making: giving advices about operations is acceptable, but do not make decisions for the users; ", -1);
const _hoisted_9 = /*#__PURE__*/_createElementVNode("div", null, " Controlled consequences: users should be granted the freedom to operate, including canceling, aborting or terminating current operation. ", -1);
function render(_ctx, _cache) {
const _component_el_collapse_item = _resolveComponent("el-collapse-item");
const _component_el_collapse = _resolveComponent("el-collapse");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_collapse, {
modelValue: _ctx.activeNames,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.activeNames = $event),
onChange: _ctx.handleChange
}, {
default: _withCtx(() => [_createVNode(_component_el_collapse_item, {
title: "Consistency",
name: "1"
}, {
default: _withCtx(() => [_hoisted_1, _hoisted_2]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Feedback",
name: "2"
}, {
default: _withCtx(() => [_hoisted_3, _hoisted_4]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Efficiency",
name: "3"
}, {
default: _withCtx(() => [_hoisted_5, _hoisted_6, _hoisted_7]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Controllability",
name: "4"
}, {
default: _withCtx(() => [_hoisted_8, _hoisted_9]),
_: 1
})]),
_: 1
}, 8, ["modelValue", "onChange"])]);
}
const democomponentExport = {
data() {
return {
activeNames: ['1']
};
},
methods: {
handleChange(val) {
console.log(val);
}
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("div", null, " Consistent with real life: in line with the process and logic of real life, and comply with languages and habits that the users are used to; ", -1);
const _hoisted_2 = /*#__PURE__*/_createElementVNode("div", null, " Consistent within interface: all elements should be consistent, such as: design style, icons and texts, position of elements, etc. ", -1);
const _hoisted_3 = /*#__PURE__*/_createElementVNode("div", null, " Operation feedback: enable the users to clearly perceive their operations by style updates and interactive effects; ", -1);
const _hoisted_4 = /*#__PURE__*/_createElementVNode("div", null, " Visual feedback: reflect current state by updating or rearranging elements of the page. ", -1);
const _hoisted_5 = /*#__PURE__*/_createElementVNode("div", null, " Simplify the process: keep operating process simple and intuitive; ", -1);
const _hoisted_6 = /*#__PURE__*/_createElementVNode("div", null, " Definite and clear: enunciate your intentions clearly so that the users can quickly understand and make decisions; ", -1);
const _hoisted_7 = /*#__PURE__*/_createElementVNode("div", null, " Easy to identify: the interface should be straightforward, which helps the users to identify and frees them from memorizing and recalling. ", -1);
const _hoisted_8 = /*#__PURE__*/_createElementVNode("div", null, " Decision making: giving advices about operations is acceptable, but do not make decisions for the users; ", -1);
const _hoisted_9 = /*#__PURE__*/_createElementVNode("div", null, " Controlled consequences: users should be granted the freedom to operate, including canceling, aborting or terminating current operation. ", -1);
function render(_ctx, _cache) {
const _component_el_collapse_item = _resolveComponent("el-collapse-item");
const _component_el_collapse = _resolveComponent("el-collapse");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_collapse, {
modelValue: _ctx.activeName,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.activeName = $event),
accordion: ""
}, {
default: _withCtx(() => [_createVNode(_component_el_collapse_item, {
title: "Consistency",
name: "1"
}, {
default: _withCtx(() => [_hoisted_1, _hoisted_2]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Feedback",
name: "2"
}, {
default: _withCtx(() => [_hoisted_3, _hoisted_4]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Efficiency",
name: "3"
}, {
default: _withCtx(() => [_hoisted_5, _hoisted_6, _hoisted_7]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Controllability",
name: "4"
}, {
default: _withCtx(() => [_hoisted_8, _hoisted_9]),
_: 1
})]),
_: 1
}, 8, ["modelValue"])]);
}
const democomponentExport = {
data() {
return {
activeName: '1'
};
}
};
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__*/_createTextVNode(" Consistency");
const _hoisted_2 = /*#__PURE__*/_createElementVNode("i", {
class: "header-icon el-icon-information"
}, null, -1);
const _hoisted_3 = /*#__PURE__*/_createElementVNode("div", null, " Consistent with real life: in line with the process and logic of real life, and comply with languages and habits that the users are used to; ", -1);
const _hoisted_4 = /*#__PURE__*/_createElementVNode("div", null, " Consistent within interface: all elements should be consistent, such as: design style, icons and texts, position of elements, etc. ", -1);
const _hoisted_5 = /*#__PURE__*/_createElementVNode("div", null, " Operation feedback: enable the users to clearly perceive their operations by style updates and interactive effects; ", -1);
const _hoisted_6 = /*#__PURE__*/_createElementVNode("div", null, " Visual feedback: reflect current state by updating or rearranging elements of the page. ", -1);
const _hoisted_7 = /*#__PURE__*/_createElementVNode("div", null, " Simplify the process: keep operating process simple and intuitive; ", -1);
const _hoisted_8 = /*#__PURE__*/_createElementVNode("div", null, " Definite and clear: enunciate your intentions clearly so that the users can quickly understand and make decisions; ", -1);
const _hoisted_9 = /*#__PURE__*/_createElementVNode("div", null, " Easy to identify: the interface should be straightforward, which helps the users to identify and frees them from memorizing and recalling. ", -1);
const _hoisted_10 = /*#__PURE__*/_createElementVNode("div", null, " Decision making: giving advices about operations is acceptable, but do not make decisions for the users; ", -1);
const _hoisted_11 = /*#__PURE__*/_createElementVNode("div", null, " Controlled consequences: users should be granted the freedom to operate, including canceling, aborting or terminating current operation. ", -1);
function render(_ctx, _cache) {
const _component_el_collapse_item = _resolveComponent("el-collapse-item");
const _component_el_collapse = _resolveComponent("el-collapse");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_collapse, {
accordion: ""
}, {
default: _withCtx(() => [_createVNode(_component_el_collapse_item, {
name: "1"
}, {
title: _withCtx(() => [_hoisted_1, _hoisted_2]),
default: _withCtx(() => [_hoisted_3, _hoisted_4]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Feedback",
name: "2"
}, {
default: _withCtx(() => [_hoisted_5, _hoisted_6]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Efficiency",
name: "3"
}, {
default: _withCtx(() => [_hoisted_7, _hoisted_8, _hoisted_9]),
_: 1
}), _createVNode(_component_el_collapse_item, {
title: "Controllability",
name: "4"
}, {
default: _withCtx(() => [_hoisted_10, _hoisted_11]),
_: 1
})]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/es/collapse.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/es/collapse.md
collapsevue_type_script_lang_ts.render = collapsevue_type_template_id_4b5e68ce_render
/* harmony default export */ var collapse = __webpack_exports__["default"] = (collapsevue_type_script_lang_ts);
/***/ })
}]);