-
Notifications
You must be signed in to change notification settings - Fork 1
/
DOCS es19.0cb71eee40c7d7b6716e.js
943 lines (785 loc) · 68 KB
/
DOCS es19.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
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[84],{
/***/ 841:
/***/ (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/date-picker.md?vue&type=template&id=45b7e404
const date_pickervue_type_template_id_45b7e404_hoisted_1 = {
class: "content element-doc"
};
const date_pickervue_type_template_id_45b7e404_hoisted_2 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("DatePicker ");
const date_pickervue_type_template_id_45b7e404_hoisted_3 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Utilice Date Picker para introducir la fecha.", -1);
const date_pickervue_type_template_id_45b7e404_hoisted_4 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Ingresar Fecha ");
const date_pickervue_type_template_id_45b7e404_hoisted_5 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Date Picker básico por \"día\".", -1);
const date_pickervue_type_template_id_45b7e404_hoisted_6 = /*#__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"])("La medida está determinada por el atributo "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "type"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" . You can enable quick options via "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "shortcuts"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" property. La fecha desactivada se ajusta mediante "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "disabledDate"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", que es una función.")])], -1);
const date_pickervue_type_template_id_45b7e404_hoisted_7 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div class=\"block\">\n <span class=\"demonstration\">Default</span>\n <el-date-picker v-model=\"value1\" type=\"date\" placeholder=\"Pick a day\">\n </el-date-picker>\n </div>\n <div class=\"block\">\n <span class=\"demonstration\">Picker with quick options</span>\n <el-date-picker\n v-model=\"value2\"\n type=\"date\"\n placeholder=\"Pick a day\"\n :disabled-date=\"disabledDate\"\n :shortcuts=\"shortcuts\"\n >\n </el-date-picker>\n </div>\n</template>\n\n<script>\n export default {\n data() {\n return {\n disabledDate(time) {\n return time.getTime() > Date.now()\n },\n shortcuts: [\n {\n text: 'Today',\n value: new Date(),\n },\n {\n text: 'Yesterday',\n value: () => {\n const date = new Date()\n date.setTime(date.getTime() - 3600 * 1000 * 24)\n return date\n },\n },\n {\n text: 'A week ago',\n value: () => {\n const date = new Date()\n date.setTime(date.getTime() - 3600 * 1000 * 24 * 7)\n return date\n },\n },\n ],\n value1: '',\n value2: '',\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, reactive, toRefs } from 'vue';\n\n export default defineComponent({\n setup() {\n const state = reactive({\n disabledDate(time) {\n return time.getTime() > Date.now();\n },\n shortcuts: [\n {\n text: 'Today',\n value: new Date(),\n },\n {\n text: 'Yesterday',\n value: () => {\n const date = new Date();\n date.setTime(date.getTime() - 3600 * 1000 * 24);\n return date;\n },\n },\n {\n text: 'A week ago',\n value: () => {\n const date = new Date();\n date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);\n return date;\n },\n },\n ],\n value1: '',\n value2: '',\n });\n\n return {\n ...toRefs(state),\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const date_pickervue_type_template_id_45b7e404_hoisted_8 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Otras mediciones ");
const date_pickervue_type_template_id_45b7e404_hoisted_9 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Puede elegir la semana, el mes, el año o varias fechas ampliando el componente estándar del selector de fechas.", -1);
const date_pickervue_type_template_id_45b7e404_hoisted_10 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<div class=\"container\">\n <div class=\"block\">\n <span class=\"demonstration\">Week</span>\n <el-date-picker\n v-model=\"value1\"\n type=\"week\"\n format=\"[Week] ww\"\n placeholder=\"Pick a week\"\n >\n </el-date-picker>\n </div>\n <div class=\"block\">\n <span class=\"demonstration\">Month</span>\n <el-date-picker v-model=\"value2\" type=\"month\" placeholder=\"Pick a month\">\n </el-date-picker>\n </div>\n</div>\n<div class=\"container\">\n <div class=\"block\">\n <span class=\"demonstration\">Year</span>\n <el-date-picker v-model=\"value3\" type=\"year\" placeholder=\"Pick a year\">\n </el-date-picker>\n </div>\n <div class=\"block\">\n <span class=\"demonstration\">Dates</span>\n <el-date-picker\n type=\"dates\"\n v-model=\"value4\"\n placeholder=\"Pick one or more dates\"\n >\n </el-date-picker>\n </div>\n</div>\n\n<script>\n export default {\n data() {\n return {\n value1: '',\n value2: '',\n value3: '',\n value4: '',\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, reactive, toRefs } from 'vue';\n\n export default defineComponent({\n setup() {\n const state = reactive({\n value1: '',\n value2: '',\n value3: '',\n value4: '',\n });\n\n return {\n ...toRefs(state),\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_11 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Rango de fechas ");
const _hoisted_12 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Se soporta la selección de un rango de fechas.", -1);
const _hoisted_13 = /*#__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"])("En modo de rango, los paneles izquierdo y derecho están vinculados por defecto. Si desea que los dos paneles cambien los meses actuales de forma independiente, puede utilizar el atributo "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "unlink-panels"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")])], -1);
const _hoisted_14 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div class=\"block\">\n <span class=\"demonstration\">Default</span>\n <el-date-picker\n v-model=\"value1\"\n type=\"daterange\"\n range-separator=\"To\"\n start-placeholder=\"Start date\"\n end-placeholder=\"End date\"\n >\n </el-date-picker>\n </div>\n <div class=\"block\">\n <span class=\"demonstration\">With quick options</span>\n <el-date-picker\n v-model=\"value2\"\n type=\"daterange\"\n unlink-panels\n range-separator=\"To\"\n start-placeholder=\"Start date\"\n end-placeholder=\"End date\"\n :shortcuts=\"shortcuts\"\n >\n </el-date-picker>\n </div>\n</template>\n\n<script>\n export default {\n data() {\n return {\n shortcuts: [\n {\n text: 'Last week',\n value: () => {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 7)\n return [start, end]\n },\n },\n {\n text: 'Last month',\n value: () => {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 30)\n return [start, end]\n },\n },\n {\n text: 'Last 3 months',\n value: () => {\n const end = new Date()\n const start = new Date()\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 90)\n return [start, end]\n },\n },\n ],\n value1: '',\n value2: '',\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, reactive, toRefs } from 'vue';\n\n export default defineComponent({\n setup() {\n const state = reactive({\n shortcuts: [\n {\n text: 'Last week',\n value: () => {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);\n return [start, end];\n },\n },\n {\n text: 'Last month',\n value: () => {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);\n return [start, end];\n },\n },\n {\n text: 'Last 3 months',\n value: () => {\n const end = new Date();\n const start = new Date();\n start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);\n return [start, end];\n },\n },\n ],\n value1: '',\n value2: '',\n });\n\n return {\n ...toRefs(state),\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_15 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Rango de mes ");
const _hoisted_16 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Se admite la selección de un intervalo de un mes.", -1);
const _hoisted_17 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Cuando se encuentra en el modo de rango, los paneles izquierdo y derecho están enlazados de forma predeterminada. Si desea que los dos paneles cambien de año en curso de forma independiente, puede utilizar el atributo unlink-panels.")], -1);
const _hoisted_18 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div class=\"block\">\n <span class=\"demonstration\">Default</span>\n <el-date-picker\n v-model=\"value1\"\n type=\"monthrange\"\n range-separator=\"To\"\n start-placeholder=\"Start month\"\n end-placeholder=\"End month\"\n >\n </el-date-picker>\n </div>\n <div class=\"block\">\n <span class=\"demonstration\">With quick options</span>\n <el-date-picker\n v-model=\"value2\"\n type=\"monthrange\"\n unlink-panels\n range-separator=\"To\"\n start-placeholder=\"Start month\"\n end-placeholder=\"End month\"\n :shortcuts=\"shortcuts\"\n >\n </el-date-picker>\n </div>\n</template>\n\n<script>\n export default {\n data() {\n return {\n shortcuts: [\n {\n text: 'This month',\n value: [new Date(), new Date()],\n },\n {\n text: 'This year',\n value: () => {\n const end = new Date()\n const start = new Date(new Date().getFullYear(), 0)\n return [start, end]\n },\n },\n {\n text: 'Last 6 months',\n value: () => {\n const end = new Date()\n const start = new Date()\n start.setMonth(start.getMonth() - 6)\n return [start, end]\n },\n },\n ],\n value1: '',\n value2: '',\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, reactive, toRefs } from 'vue';\n\n export default defineComponent({\n setup() {\n const state = reactive({\n shortcuts: [\n {\n text: 'This month',\n value: [new Date(), new Date()],\n },\n {\n text: 'This year',\n value: () => {\n const end = new Date();\n const start = new Date(new Date().getFullYear(), 0);\n return [start, end];\n },\n },\n {\n text: 'Last 6 months',\n value: () => {\n const end = new Date();\n const start = new Date();\n start.setMonth(start.getMonth() - 6);\n return [start, end];\n },\n },\n ],\n value1: '',\n value2: '',\n });\n\n return {\n ...toRefs(state),\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_19 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Valor por defecto ");
const _hoisted_20 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Si el usuario no ha escogido una fecha, muestra el calendario de hoy por defecto. Puede utilizar "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "default-value"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" para fijar otra fecha. Su valor debe ser definido por "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "new Date()"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(".")], -1);
const _hoisted_21 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Si el tipo es "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "daterange"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(", "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "default-value"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" establece el calendario del lado izquierdo.")], -1);
const _hoisted_22 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div class=\"block\">\n <span class=\"demonstration\">date</span>\n <el-date-picker\n v-model=\"value1\"\n type=\"date\"\n placeholder=\"Pick a date\"\n :default-value=\"new Date(2010, 9, 1)\"\n >\n </el-date-picker>\n </div>\n <div class=\"block\">\n <span class=\"demonstration\">daterange</span>\n <el-date-picker\n v-model=\"value2\"\n type=\"daterange\"\n start-placeholder=\"Start Date\"\n end-placeholder=\"End Date\"\n :default-value=\"[new Date(2010, 9, 1), new Date(2010, 10, 1)]\"\n >\n </el-date-picker>\n </div>\n</template>\n\n<script>\n export default {\n data() {\n return {\n value1: '',\n value2: '',\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const value1 = ref('');\n const value2 = ref('');\n\n return {\n value1,\n value2,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_23 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Formatos de Date ");
const _hoisted_24 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Utilice "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "format"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" para controlar el formato del texto visualizado en el input. Utilice "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "value-format"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" para controlar el formato del valor vinculado.")], -1);
const _hoisted_25 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Por defecto, el componente acepta y emite un objeto Date.", -1);
const _hoisted_26 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Check the list ");
const _hoisted_27 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("here");
const _hoisted_28 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" of all available formats of Day.js.");
const _hoisted_29 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("div", {
class: "warning"
}, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Preste atención a la capitalización")], -1);
const _hoisted_30 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div class=\"block\">\n <span class=\"demonstration\">Emits Date object</span>\n <div class=\"demonstration\">Value: {{ value1 }}</div>\n <el-date-picker\n v-model=\"value1\"\n type=\"date\"\n placeholder=\"Pick a Date\"\n format=\"YYYY/MM/DD\"\n >\n </el-date-picker>\n </div>\n <div class=\"block\">\n <span class=\"demonstration\">Use value-format</span>\n <div class=\"demonstration\">Value:{{ value2 }}</div>\n <el-date-picker\n v-model=\"value2\"\n type=\"date\"\n placeholder=\"Pick a Date\"\n format=\"YYYY/MM/DD\"\n value-format=\"YYYY-MM-DD\"\n >\n </el-date-picker>\n </div>\n <div class=\"block\">\n <span class=\"demonstration\">Timestamp</span>\n <div class=\"demonstration\">Value:{{ value3 }}</div>\n <el-date-picker\n v-model=\"value3\"\n type=\"date\"\n placeholder=\"Pick a Date\"\n format=\"YYYY/MM/DD\"\n value-format=\"x\"\n >\n </el-date-picker>\n </div>\n</template>\n\n<script>\n export default {\n data() {\n return {\n value1: '',\n value2: '',\n value3: '',\n }\n },\n }\n</script>\n<!--\n<setup>\n\n import { defineComponent, ref } from 'vue';\n\n export default defineComponent({\n setup() {\n const value1 = ref('');\n const value2 = ref('');\n const value3 = ref('');\n\n return {\n value1,\n value2,\n value3,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_31 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Hora por defecto para comienzo y fin de fecha ");
const _hoisted_32 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("p", null, "Al seleccionar un intervalo de fechas, puede asignar la hora para la fecha de inicio y la fecha final.", -1);
const _hoisted_33 = /*#__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"])("Por defecto, la hora de la fecha de inicio y final es "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "00:00:00"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(". Configurar "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "default-time"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" puede cambiar la hora respectivamente. Acepta un array de Date dos cadenas. La primera cadena fija la hora para la fecha de inicio y la segunda para la fecha final.")])], -1);
const _hoisted_34 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("pre", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", {
class: "html"
}, "<template>\n <div class=\"block\">\n <p>Component value:{{ value }}</p>\n <el-date-picker\n v-model=\"value\"\n type=\"daterange\"\n start-placeholder=\"Start date\"\n end-placeholder=\"End date\"\n :default-time=\"defaultTime\"\n ></el-date-picker>\n </div>\n</template>\n\n<script>\n export default {\n data() {\n return {\n value: '',\n defaultTime: [\n new Date(2000, 1, 1, 0, 0, 0),\n new Date(2000, 2, 1, 23, 59, 59),\n ], // '00:00:00', '23:59:59'\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('');\n const defaultTime = ref([\n new Date(2000, 1, 1, 0, 0, 0),\n new Date(2000, 2, 1, 23, 59, 59),\n ]); // '00:00:00', '23:59:59'\n\n return {\n value,\n defaultTime,\n };\n },\n });\n\n</setup>\n-->\n")], -1);
const _hoisted_35 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Localization ");
const _hoisted_36 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("The default locale of is English, if you need to use other languages, please check ");
const _hoisted_37 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Internationalization");
const _hoisted_38 = /*#__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_39 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Atributos ");
const _hoisted_40 = /*#__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, "Atributo"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Descripción"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Tipo"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Valores aceptados"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Por defecto")])], -1);
const _hoisted_41 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "model-value / v-model"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "valor enlazado"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "date(DatePicker) / array(DateRangePicker)"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_42 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "readonly"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "si DatePicker es solo de lectura"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "false")], -1);
const _hoisted_43 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "disabled"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "si DatePicker esta deshabilitado"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "false")], -1);
const _hoisted_44 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "size"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "tamaño del input"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "large/medium/small/mini"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "large")], -1);
const _hoisted_45 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "editable"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "si el input es editable"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "true")], -1);
const _hoisted_46 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "clearable"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "si se muestra el botón de borrado"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "true")], -1);
const _hoisted_47 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "placeholder"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "placeholder cuando el modo NO es rango"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_48 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "start-placeholder"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "placeholder para la fecha de inicio en modo rango"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_49 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "end-placeholder"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "placeholder para la fecha final en modo rango"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_50 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "type"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "tipo de picker"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "year/month/date/dates/datetime/ week/datetimerange/daterange/ monthrange"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "date")], -1);
const _hoisted_51 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "format", -1);
const _hoisted_52 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "formato en que se muestra el valor en el input", -1);
const _hoisted_53 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string", -1);
const _hoisted_54 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("ver ");
const _hoisted_55 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("date formats");
const _hoisted_56 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "yyyy-MM-dd", -1);
const _hoisted_57 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "popper-class"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "nombre de clase personalizada para el dropdown de DatePicker"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_58 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "range-separator"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "separador de rangos"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "'-'")], -1);
const _hoisted_59 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "default-value"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "opcional, valor por defecto para el calendario"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Date"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("cualquiera aceptado por "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "new Date()")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_60 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "default-time"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "optional, the time value to use when selecting date range"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Date[]"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Array with length 2, each item is a Date. The first item for the start date and then second item for the end date"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_61 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "value-format", -1);
const _hoisted_62 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "opcional, formato del valor enlazado. Si no esta especificado, el valor enlazado será un objeto Date.", -1);
const _hoisted_63 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string", -1);
const _hoisted_64 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("ver ");
const _hoisted_65 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("date formats");
const _hoisted_66 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—", -1);
const _hoisted_67 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "name"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("igual que "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "name"), /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])(" en el input nativo")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_68 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "unlink-panels"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "desvincular los dos paneles de fecha en el range-picker"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "boolean"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "false")], -1);
const _hoisted_69 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "prefix-icon"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Clase personalizada para el icono prefijado"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "el-icon-date")], -1);
const _hoisted_70 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "clear-icon"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Clase personalizada para el icono "), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("code", null, "clear")]), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "string"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "el-icon-circle-close")], -1);
const _hoisted_71 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "disabledDate"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "una función que determina si una fecha está desactivada con esa fecha como parámetro. Debería devolver un valor booleano"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "function"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_72 = /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [/*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "shortcuts"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "un array de objetos para establecer opciones de acceso directo"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "object[{ text: string, value: date / function }]"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")], -1);
const _hoisted_73 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Eventos ");
const _hoisted_74 = /*#__PURE__*/Object(vue_esm_browser_prod["createStaticVNode"])("<table><thead><tr><th>Nombre</th><th>Descripción</th><th>Parametros</th></tr></thead><tbody><tr><td>change</td><td>se dispara cuando el usuario confirma el valor</td><td>valor enlazado al componente</td></tr><tr><td>blur</td><td>se dispara cuando el input pierde el foco</td><td>instancia del componente</td></tr><tr><td>focus</td><td>se dispara cuando el input obtiene el foco</td><td>instancia del componente</td></tr><tr><td>calendar-change</td><td>se dispara cuando se cambia la fecha seleccionada. Solamente para <code>daterange</code></td><td>[Date, Date]</td></tr></tbody></table>", 1);
const _hoisted_75 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Metodos ");
const _hoisted_76 = /*#__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, "Metodo"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Descripción"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Parameteros")])]), /*#__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, "focus"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "coloca el foco en el input"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "—")])])], -1);
const _hoisted_77 = /*#__PURE__*/Object(vue_esm_browser_prod["createTextVNode"])("Slots ");
const _hoisted_78 = /*#__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, "Name"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("th", null, "Description")])]), /*#__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, "range-separator"), /*#__PURE__*/Object(vue_esm_browser_prod["createElementVNode"])("td", null, "Separador de los rangos personalizado")])])], -1);
function date_pickervue_type_template_id_45b7e404_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_element_demo4 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo4");
const _component_element_demo5 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo5");
const _component_element_demo6 = Object(vue_esm_browser_prod["resolveComponent"])("element-demo6");
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", date_pickervue_type_template_id_45b7e404_hoisted_1, [Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "datepicker",
content: "DatePicker",
href: "#datepicker",
level: "2"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [date_pickervue_type_template_id_45b7e404_hoisted_2, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#datepicker"
})]),
_: 1
}), date_pickervue_type_template_id_45b7e404_hoisted_3, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "ingresar-fecha",
content: "Ingresar Fecha",
href: "#ingresar-fecha",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [date_pickervue_type_template_id_45b7e404_hoisted_4, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#ingresar-fecha"
})]),
_: 1
}), date_pickervue_type_template_id_45b7e404_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"])(() => [date_pickervue_type_template_id_45b7e404_hoisted_7]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [date_pickervue_type_template_id_45b7e404_hoisted_6]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "otras-mediciones",
content: "Otras mediciones",
href: "#otras-mediciones",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [date_pickervue_type_template_id_45b7e404_hoisted_8, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#otras-mediciones"
})]),
_: 1
}), date_pickervue_type_template_id_45b7e404_hoisted_9, 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"])(() => [date_pickervue_type_template_id_45b7e404_hoisted_10]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "rango-de-fechas",
content: "Rango de fechas",
href: "#rango-de-fechas",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_11, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#rango-de-fechas"
})]),
_: 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_14]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_13]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "rango-de-mes",
content: "Rango de mes",
href: "#rango-de-mes",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_15, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#rango-de-mes"
})]),
_: 1
}), _hoisted_16, 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_18]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_17]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "valor-por-defecto",
content: "Valor por defecto",
href: "#valor-por-defecto",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_19, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#valor-por-defecto"
})]),
_: 1
}), _hoisted_20, _hoisted_21, 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_demo4)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_22]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "formatos-de-date",
content: "Formatos de Date",
href: "#formatos-de-date",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_23, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#formatos-de-date"
})]),
_: 1
}), _hoisted_24, _hoisted_25, Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_26, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "https://day.js.org/docs/en/display/format#list-of-all-available-formats"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_27]),
_: 1
}), _hoisted_28]), _hoisted_29, 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_demo5)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_30]),
_: 1
}), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "hora-por-defecto-para-comienzo-y-fin-de-fecha",
content: "Hora por defecto para comienzo y fin de fecha",
href: "#hora-por-defecto-para-comienzo-y-fin-de-fecha",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_31, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#hora-por-defecto-para-comienzo-y-fin-de-fecha"
})]),
_: 1
}), _hoisted_32, 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_demo6)]),
highlight: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_34]),
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_33]),
_: 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_35, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#localization"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("p", null, [_hoisted_36, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "#/es/component/i18n"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_37]),
_: 1
})]), _hoisted_38, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "atributos",
content: "Atributos",
href: "#atributos",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_39, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#atributos"
})]),
_: 1
}), Object(vue_esm_browser_prod["createElementVNode"])("table", null, [_hoisted_40, Object(vue_esm_browser_prod["createElementVNode"])("tbody", null, [_hoisted_41, _hoisted_42, _hoisted_43, _hoisted_44, _hoisted_45, _hoisted_46, _hoisted_47, _hoisted_48, _hoisted_49, _hoisted_50, Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [_hoisted_51, _hoisted_52, _hoisted_53, Object(vue_esm_browser_prod["createElementVNode"])("td", null, [_hoisted_54, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "#/es/component/date-picker#date-formats"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_55]),
_: 1
})]), _hoisted_56]), _hoisted_57, _hoisted_58, _hoisted_59, _hoisted_60, Object(vue_esm_browser_prod["createElementVNode"])("tr", null, [_hoisted_61, _hoisted_62, _hoisted_63, Object(vue_esm_browser_prod["createElementVNode"])("td", null, [_hoisted_64, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
href: "#/es/component/date-picker#date-formats"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_65]),
_: 1
})]), _hoisted_66]), _hoisted_67, _hoisted_68, _hoisted_69, _hoisted_70, _hoisted_71, _hoisted_72])]), Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "eventos",
content: "Eventos",
href: "#eventos",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_73, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#eventos"
})]),
_: 1
}), _hoisted_74, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "metodos",
content: "Metodos",
href: "#metodos",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_75, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#metodos"
})]),
_: 1
}), _hoisted_76, Object(vue_esm_browser_prod["createVNode"])(_component_app_heading, {
id: "slots",
content: "Slots",
href: "#slots",
level: "3"
}, {
default: Object(vue_esm_browser_prod["withCtx"])(() => [_hoisted_77, Object(vue_esm_browser_prod["createVNode"])(_component_app_link, {
class: "header-anchor",
href: "#slots"
})]),
_: 1
}), _hoisted_78, Object(vue_esm_browser_prod["createVNode"])(_component_right_nav)]);
}
// CONCATENATED MODULE: ./website/docs/es/date-picker.md?vue&type=template&id=45b7e404
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/dist??ref--3-0!./website/md-loader!./website/docs/es/date-picker.md?vue&type=script&lang=ts
/* harmony default export */ var date_pickervue_type_script_lang_ts = ({
name: 'component-doc',
components: {
"element-demo0": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
class: "block"
};
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Default", -1);
const _hoisted_3 = {
class: "block"
};
const _hoisted_4 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Picker with quick options", -1);
function render(_ctx, _cache) {
const _component_el_date_picker = _resolveComponent("el-date-picker");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_hoisted_2, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value1,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.value1 = $event),
type: "date",
placeholder: "Pick a day"
}, null, 8, ["modelValue"])]), _createElementVNode("div", _hoisted_3, [_hoisted_4, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value2,
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.value2 = $event),
type: "date",
placeholder: "Pick a day",
"disabled-date": _ctx.disabledDate,
shortcuts: _ctx.shortcuts
}, null, 8, ["modelValue", "disabled-date", "shortcuts"])])]);
}
const democomponentExport = {
data() {
return {
disabledDate(time) {
return time.getTime() > Date.now();
},
shortcuts: [{
text: 'Today',
value: new Date()
}, {
text: 'Yesterday',
value: () => {
const date = new Date();
date.setTime(date.getTime() - 3600 * 1000 * 24);
return date;
}
}, {
text: 'A week ago',
value: () => {
const date = new Date();
date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
return date;
}
}],
value1: '',
value2: ''
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo1": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
class: "container"
};
const _hoisted_2 = {
class: "block"
};
const _hoisted_3 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Week", -1);
const _hoisted_4 = {
class: "block"
};
const _hoisted_5 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Month", -1);
const _hoisted_6 = {
class: "container"
};
const _hoisted_7 = {
class: "block"
};
const _hoisted_8 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Year", -1);
const _hoisted_9 = {
class: "block"
};
const _hoisted_10 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Dates", -1);
function render(_ctx, _cache) {
const _component_el_date_picker = _resolveComponent("el-date-picker");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_createElementVNode("div", _hoisted_2, [_hoisted_3, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value1,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.value1 = $event),
type: "week",
format: "[Week] ww",
placeholder: "Pick a week"
}, null, 8, ["modelValue"])]), _createElementVNode("div", _hoisted_4, [_hoisted_5, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value2,
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.value2 = $event),
type: "month",
placeholder: "Pick a month"
}, null, 8, ["modelValue"])])]), _createElementVNode("div", _hoisted_6, [_createElementVNode("div", _hoisted_7, [_hoisted_8, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value3,
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.value3 = $event),
type: "year",
placeholder: "Pick a year"
}, null, 8, ["modelValue"])]), _createElementVNode("div", _hoisted_9, [_hoisted_10, _createVNode(_component_el_date_picker, {
type: "dates",
modelValue: _ctx.value4,
"onUpdate:modelValue": _cache[3] || (_cache[3] = $event => _ctx.value4 = $event),
placeholder: "Pick one or more dates"
}, null, 8, ["modelValue"])])])]);
}
const democomponentExport = {
data() {
return {
value1: '',
value2: '',
value3: '',
value4: ''
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo2": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
class: "block"
};
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Default", -1);
const _hoisted_3 = {
class: "block"
};
const _hoisted_4 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "With quick options", -1);
function render(_ctx, _cache) {
const _component_el_date_picker = _resolveComponent("el-date-picker");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_hoisted_2, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value1,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.value1 = $event),
type: "daterange",
"range-separator": "To",
"start-placeholder": "Start date",
"end-placeholder": "End date"
}, null, 8, ["modelValue"])]), _createElementVNode("div", _hoisted_3, [_hoisted_4, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value2,
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.value2 = $event),
type: "daterange",
"unlink-panels": "",
"range-separator": "To",
"start-placeholder": "Start date",
"end-placeholder": "End date",
shortcuts: _ctx.shortcuts
}, null, 8, ["modelValue", "shortcuts"])])]);
}
const democomponentExport = {
data() {
return {
shortcuts: [{
text: 'Last week',
value: () => {
const end = new Date();
const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
return [start, end];
}
}, {
text: 'Last month',
value: () => {
const end = new Date();
const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
return [start, end];
}
}, {
text: 'Last 3 months',
value: () => {
const end = new Date();
const start = new Date();
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
return [start, end];
}
}],
value1: '',
value2: ''
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo3": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
class: "block"
};
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Default", -1);
const _hoisted_3 = {
class: "block"
};
const _hoisted_4 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "With quick options", -1);
function render(_ctx, _cache) {
const _component_el_date_picker = _resolveComponent("el-date-picker");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_hoisted_2, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value1,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.value1 = $event),
type: "monthrange",
"range-separator": "To",
"start-placeholder": "Start month",
"end-placeholder": "End month"
}, null, 8, ["modelValue"])]), _createElementVNode("div", _hoisted_3, [_hoisted_4, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value2,
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.value2 = $event),
type: "monthrange",
"unlink-panels": "",
"range-separator": "To",
"start-placeholder": "Start month",
"end-placeholder": "End month",
shortcuts: _ctx.shortcuts
}, null, 8, ["modelValue", "shortcuts"])])]);
}
const democomponentExport = {
data() {
return {
shortcuts: [{
text: 'This month',
value: [new Date(), new Date()]
}, {
text: 'This year',
value: () => {
const end = new Date();
const start = new Date(new Date().getFullYear(), 0);
return [start, end];
}
}, {
text: 'Last 6 months',
value: () => {
const end = new Date();
const start = new Date();
start.setMonth(start.getMonth() - 6);
return [start, end];
}
}],
value1: '',
value2: ''
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo4": function () {
const {
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
class: "block"
};
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "date", -1);
const _hoisted_3 = {
class: "block"
};
const _hoisted_4 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "daterange", -1);
function render(_ctx, _cache) {
const _component_el_date_picker = _resolveComponent("el-date-picker");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_hoisted_2, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value1,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.value1 = $event),
type: "date",
placeholder: "Pick a date",
"default-value": new Date(2010, 9, 1)
}, null, 8, ["modelValue", "default-value"])]), _createElementVNode("div", _hoisted_3, [_hoisted_4, _createVNode(_component_el_date_picker, {
modelValue: _ctx.value2,
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.value2 = $event),
type: "daterange",
"start-placeholder": "Start Date",
"end-placeholder": "End Date",
"default-value": [new Date(2010, 9, 1), new Date(2010, 10, 1)]
}, null, 8, ["modelValue", "default-value"])])]);
}
const democomponentExport = {
data() {
return {
value1: '',
value2: ''
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo5": function () {
const {
createElementVNode: _createElementVNode,
toDisplayString: _toDisplayString,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
class: "block"
};
const _hoisted_2 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Emits Date object", -1);
const _hoisted_3 = {
class: "demonstration"
};
const _hoisted_4 = {
class: "block"
};
const _hoisted_5 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Use value-format", -1);
const _hoisted_6 = {
class: "demonstration"
};
const _hoisted_7 = {
class: "block"
};
const _hoisted_8 = /*#__PURE__*/_createElementVNode("span", {
class: "demonstration"
}, "Timestamp", -1);
const _hoisted_9 = {
class: "demonstration"
};
function render(_ctx, _cache) {
const _component_el_date_picker = _resolveComponent("el-date-picker");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_hoisted_2, _createElementVNode("div", _hoisted_3, "Value: " + _toDisplayString(_ctx.value1), 1), _createVNode(_component_el_date_picker, {
modelValue: _ctx.value1,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.value1 = $event),
type: "date",
placeholder: "Pick a Date",
format: "YYYY/MM/DD"
}, null, 8, ["modelValue"])]), _createElementVNode("div", _hoisted_4, [_hoisted_5, _createElementVNode("div", _hoisted_6, "Value:" + _toDisplayString(_ctx.value2), 1), _createVNode(_component_el_date_picker, {
modelValue: _ctx.value2,
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => _ctx.value2 = $event),
type: "date",
placeholder: "Pick a Date",
format: "YYYY/MM/DD",
"value-format": "YYYY-MM-DD"
}, null, 8, ["modelValue"])]), _createElementVNode("div", _hoisted_7, [_hoisted_8, _createElementVNode("div", _hoisted_9, "Value:" + _toDisplayString(_ctx.value3), 1), _createVNode(_component_el_date_picker, {
modelValue: _ctx.value3,
"onUpdate:modelValue": _cache[2] || (_cache[2] = $event => _ctx.value3 = $event),
type: "date",
placeholder: "Pick a Date",
format: "YYYY/MM/DD",
"value-format": "x"
}, null, 8, ["modelValue"])])]);
}
const democomponentExport = {
data() {
return {
value1: '',
value2: '',
value3: ''
};
}
};
return {
render,
...democomponentExport
};
}(),
"element-demo6": function () {
const {
toDisplayString: _toDisplayString,
createElementVNode: _createElementVNode,
resolveComponent: _resolveComponent,
createVNode: _createVNode,
openBlock: _openBlock,
createElementBlock: _createElementBlock
} = vue_esm_browser_prod;
const _hoisted_1 = {
class: "block"
};
function render(_ctx, _cache) {
const _component_el_date_picker = _resolveComponent("el-date-picker");
return _openBlock(), _createElementBlock("div", null, [_createElementVNode("div", _hoisted_1, [_createElementVNode("p", null, "Component value:" + _toDisplayString(_ctx.value), 1), _createVNode(_component_el_date_picker, {
modelValue: _ctx.value,
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.value = $event),
type: "daterange",
"start-placeholder": "Start date",
"end-placeholder": "End date",
"default-time": _ctx.defaultTime
}, null, 8, ["modelValue", "default-time"])])]);
}
const democomponentExport = {
data() {
return {
value: '',
defaultTime: [new Date(2000, 1, 1, 0, 0, 0), new Date(2000, 2, 1, 23, 59, 59)] // '00:00:00', '23:59:59'
};
}
};
return {
render,
...democomponentExport
};
}()
}
});
// CONCATENATED MODULE: ./website/docs/es/date-picker.md?vue&type=script&lang=ts
// CONCATENATED MODULE: ./website/docs/es/date-picker.md
date_pickervue_type_script_lang_ts.render = date_pickervue_type_template_id_45b7e404_render
/* harmony default export */ var date_picker = __webpack_exports__["default"] = (date_pickervue_type_script_lang_ts);
/***/ })
}]);