-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCS en-US8.0cb71eee40c7d7b6716e.js
409 lines (340 loc) · 22.9 KB
/
DOCS en-US8.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
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[71],{
/***/ 764:
/***/ (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/calendar.md?vue&type=template&id=234c2bef
const calendarvue_type_template_id_234c2bef_hoisted_1 = {
class: "content element-doc"
};
const calendarvue_type_template_id_234c2bef_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Calendar ");
const calendarvue_type_template_id_234c2bef_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Display date.", -1);
const calendarvue_type_template_id_234c2bef_hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Basic ");
const calendarvue_type_template_id_234c2bef_hoisted_5 = /*#__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"])("Set "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "value"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" to specify the currently displayed month. If "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "value"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" is not specified, current month is displayed. "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "value"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" supports two-way binding.")])], -1);
const calendarvue_type_template_id_234c2bef_hoisted_6 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-calendar v-model=\"value\"> </el-calendar>\n\n<script>\n export default {\n data() {\n return {\n value: new Date(),\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const value = ref(new Date());\n\n return {\n value,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Custom Content ");
const _hoisted_8 = /*#__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"])("Customize what is displayed in the calendar cell by setting "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "scoped-slot"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" named "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "dateCell"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(". In "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "scoped-slot"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" you can get the date (the date of the current cell), data (including the type, isSelected, day attribute). For details, please refer to the API documentation below.")])], -1);
const _hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-calendar>\n <template #dateCell=\"{data}\">\n <p :class=\"data.isSelected ? 'is-selected' : ''\">\n {{ data.day.split('-').slice(1).join('-') }} {{ data.isSelected ? '✔️' :\n '' }}\n </p>\n </template>\n</el-calendar>\n<style>\n .is-selected {\n color: #1989fa;\n }\n</style>\n")], -1);
const _hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Range ");
const _hoisted_11 = /*#__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"])("Set the "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "range"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" attribute to specify the display range of the calendar. Start time must be Monday, end time must be Sunday, and the time span cannot exceed two months.")])], -1);
const _hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-calendar :range=\"[new Date(2019, 2, 4), new Date(2019, 2, 24)]\">\n</el-calendar>\n")], -1);
const _hoisted_13 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Custom head ");
const _hoisted_14 = /*#__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"])("by setting the name "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "header"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" of "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "scoped-slot"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" Customize the content displayed in the calendar header. exist "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "scoped-slot"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" You can get date (the date of the current cell). For details, please refer to the API documentation below.")])], -1);
const _hoisted_15 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<el-calendar ref=\"calendar\">\n <template #header=\"{date}\">\n <span>Custom header content</span>\n <span>{{ date }}</span>\n <el-button-group>\n <el-button size=\"mini\" @click=\"selectDate('prev-year')\"\n >Previous Year</el-button\n >\n <el-button size=\"mini\" @click=\"selectDate('prev-month')\"\n >Previous Month</el-button\n >\n <el-button size=\"mini\" @click=\"selectDate('today')\">Today</el-button>\n <el-button size=\"mini\" @click=\"selectDate('next-month')\"\n >Next Month</el-button\n >\n <el-button size=\"mini\" @click=\"selectDate('next-year')\"\n >Next Year</el-button\n >\n </el-button-group>\n </template>\n</el-calendar>\n\n<script>\n export default {\n methods: {\n selectDate(value) {\n this.$refs.calendar.selectDate(value)\n },\n },\n }\n</script>\n")], -1);
const _hoisted_16 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Localization ");
const _hoisted_17 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("The default locale of is English, if you need to use other languages, please check ");
const _hoisted_18 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Internationalization");
const _hoisted_19 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Note, date time locale (month name, first day of the week ...) are also configed in localization.", -1);
const _hoisted_20 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Attributes ");
const _hoisted_21 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Attribute</th><th>Description</th><th>Type</th><th>Accepted Values</th><th>Default</th></tr></thead><tbody><tr><td>model-value / v-model</td><td>binding value</td><td>Date</td><td>—</td><td>—</td></tr><tr><td>range</td><td>time range, including start time and end time. Start time must be start day of week, end time must be end day of week, the time span cannot exceed two months.</td><td>[Date]Array</td><td>—</td><td>—</td></tr></tbody></table>", 1);
const _hoisted_22 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("dateCell scoped slot 参数 ");
const _hoisted_23 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Attribute</th><th>Description</th><th>Type</th><th>Accepted Values</th><th>Default</th></tr></thead><tbody><tr><td>data</td><td>{ type, isSelected, day, date }. <code>type</code> indicates which month the date belongs, optional values are prev-month, current-month, next-month; <code>isSelected</code> indicates whether the date is selected; <code>day</code> is the formatted date in the format YYYY-MM-DD; <code>date</code> is date the cell represents</td><td>Object</td><td>—</td><td>—</td></tr></tbody></table>", 1);
const _hoisted_24 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Methods ");
const _hoisted_25 = /*#__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, "Event Name"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Description"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Attribute")])]), /*#__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, "selectDate"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Switch date"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "today / prev-month / next-month / prev-year / next-year")])])], -1);
function calendarvue_type_template_id_234c2bef_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_element_demo3 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo3");
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", calendarvue_type_template_id_234c2bef_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "calendar",
content: "Calendar",
href: "#calendar",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [calendarvue_type_template_id_234c2bef_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#calendar"
})]),
_: 1
}), calendarvue_type_template_id_234c2bef_hoisted_3, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "basic",
content: "Basic",
href: "#basic",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [calendarvue_type_template_id_234c2bef_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#basic"
})]),
_: 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"])(() => [calendarvue_type_template_id_234c2bef_hoisted_6]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [calendarvue_type_template_id_234c2bef_hoisted_5]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "custom-content",
content: "Custom Content",
href: "#custom-content",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_7, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#custom-content"
})]),
_: 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_9]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_8]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "range",
content: "Range",
href: "#range",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_10, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#range"
})]),
_: 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_demo2)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_12]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_11]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "custom-head",
content: "Custom head",
href: "#custom-head",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_13, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#custom-head"
})]),
_: 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_demo3)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_15]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_14]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "localization",
content: "Localization",
href: "#localization",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_16, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#localization"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_17, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "#/en-US/component/i18n"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_18]),
_: 1
})]), _hoisted_19, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "attributes",
content: "Attributes",
href: "#attributes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_20, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#attributes"
})]),
_: 1
}), _hoisted_21, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "datecell-scoped-slot-can-shu",
content: "dateCell scoped slot 参数",
href: "#datecell-scoped-slot-can-shu",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_22, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#datecell-scoped-slot-can-shu"
})]),
_: 1
}), _hoisted_23, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "methods",
content: "Methods",
href: "#methods",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_24, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#methods"
})]),
_: 1
}), _hoisted_25, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/en-US/calendar.md?vue&type=template&id=234c2bef
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/en-US/calendar.md?vue&type=script&lang=ts
/* harmony default export */ var calendarvue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_calendar = _resolveComponent("el-calendar");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_calendar, {
modelValue: _ctx.value,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.value = $event)
}, null, 8, ["modelValue"])]);
}
const democomponentExport = {
data() {
return {
value: new Date()
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
toDisplayString: _toDisplayString,
normalizeClass: _normalizeClass,
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_calendar = _resolveComponent("el-calendar");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_calendar, null, {
dateCell: _withCtx(({
data
}) => [_createElementVNode("p", {
class: _normalizeClass(data.isSelected ? 'is-selected' : '')
}, _toDisplayString(data.day.split('-').slice(1).join('-')) + " " + _toDisplayString(data.isSelected ? '✔️' : ''), 3)]),
_: 1
})]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo2": function () {
const {
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
function render(_ctx, _cache) {
const _component_el_calendar = _resolveComponent("el-calendar");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_calendar, {
range: [new Date(2019, 2, 4), new Date(2019, 2, 24)]
}, null, 8, ["range"])]);
}
const democomponentExport = {};
return {
render,
...democomponentExport
};
}(),
"element-demo3": function () {
const {
createElementVNode: _createElementVNode,
toDisplayString: _toDisplayString,
createTextVNode: _createTextVNode,
resolveComponent: _resolveComponent,
withCtx: _withCtx,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = /*#__PURE__*/_createElementVNode("span", null, "Custom header content", -1);
const _hoisted_2 = /*#__PURE__*/_createTextVNode("Previous Year");
const _hoisted_3 = /*#__PURE__*/_createTextVNode("Previous Month");
const _hoisted_4 = /*#__PURE__*/_createTextVNode("Today");
const _hoisted_5 = /*#__PURE__*/_createTextVNode("Next Month");
const _hoisted_6 = /*#__PURE__*/_createTextVNode("Next Year");
function render(_ctx, _cache) {
const _component_el_button = _resolveComponent("el-button");
const _component_el_button_group = _resolveComponent("el-button-group");
const _component_el_calendar = _resolveComponent("el-calendar");
return _openBlock(), _createElementBlock("div", null, [_createVNode(_component_el_calendar, {
ref: "calendar"
}, {
header: _withCtx(({
date
}) => [_hoisted_1, _createElementVNode("span", null, _toDisplayString(date), 1), _createVNode(_component_el_button_group, null, {
default: _withCtx(() => [_createVNode(_component_el_button, {
size: "mini",
onClick: _cache[0] || (_cache[0] = $event => _ctx.selectDate('prev-year'))
}, {
default: _withCtx(() => [_hoisted_2]),
_: 1
}), _createVNode(_component_el_button, {
size: "mini",
onClick: _cache[1] || (_cache[1] = $event => _ctx.selectDate('prev-month'))
}, {
default: _withCtx(() => [_hoisted_3]),
_: 1
}), _createVNode(_component_el_button, {
size: "mini",
onClick: _cache[2] || (_cache[2] = $event => _ctx.selectDate('today'))
}, {
default: _withCtx(() => [_hoisted_4]),
_: 1
}), _createVNode(_component_el_button, {
size: "mini",
onClick: _cache[3] || (_cache[3] = $event => _ctx.selectDate('next-month'))
}, {
default: _withCtx(() => [_hoisted_5]),
_: 1
}), _createVNode(_component_el_button, {
size: "mini",
onClick: _cache[4] || (_cache[4] = $event => _ctx.selectDate('next-year'))
}, {
default: _withCtx(() => [_hoisted_6]),
_: 1
})]),
_: 1
})]),
_: 1
}, 512)]);
}
const democomponentExport = {
methods: {
selectDate(value) {
this.$refs.calendar.selectDate(value);
}
}
};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/en-US/calendar.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/en-US/calendar.md
calendarvue_type_script_lang_ts.render = calendarvue_type_template_id_234c2bef_render
/* harmony default export */ var calendar = __webpack_exports__["default"] = (calendarvue_type_script_lang_ts);
/***/ })
}]);