@varlet/ui 2.1.0 → 2.2.0-alpha.1667670228109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1885 -1885
- package/es/checkbox/checkbox.css +1 -1
- package/es/counter/Counter.js +5 -5
- package/es/counter/counter.css +1 -1
- package/es/form/index.js +4 -0
- package/es/form-details/FormDetails.js +39 -8
- package/es/form-details/formDetails.css +1 -1
- package/es/form-details/props.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/input/Input.js +3 -3
- package/es/input/input.css +1 -1
- package/es/locale/en-US.d.ts +5 -5
- package/es/locale/zh-CN.d.ts +5 -5
- package/es/radio/radio.css +1 -1
- package/es/select/select.css +1 -1
- package/es/style.css +1 -1
- package/es/themes/dark/index.d.ts +5 -5
- package/es/uploader/Uploader.js +2 -2
- package/es/varlet.esm.js +1971 -1933
- package/highlight/attributes.json +820 -0
- package/highlight/tags.json +265 -30
- package/highlight/web-types.json +3344 -1050
- package/json/area.json +10706 -10706
- package/lib/checkbox/checkbox.css +1 -1
- package/lib/counter/Counter.js +5 -5
- package/lib/counter/counter.css +1 -1
- package/lib/date-picker/src/day-picker-panel.js +13 -13
- package/lib/date-picker/src/month-picker-panel.js +11 -11
- package/lib/date-picker/src/year-picker-panel.js +3 -3
- package/lib/form/index.js +6 -0
- package/lib/form-details/FormDetails.js +38 -7
- package/lib/form-details/formDetails.css +1 -1
- package/lib/form-details/props.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/input/Input.js +3 -3
- package/lib/input/input.css +1 -1
- package/lib/locale/en-US.d.ts +5 -5
- package/lib/locale/zh-CN.d.ts +5 -5
- package/lib/radio/radio.css +1 -1
- package/lib/select/select.css +1 -1
- package/lib/style.css +1 -1
- package/lib/themes/dark/index.d.ts +5 -5
- package/lib/uploader/Uploader.js +2 -2
- package/package.json +5 -5
- package/types/form.d.ts +28 -1
- package/types/formDetails.d.ts +12 -0
- package/types/index.d.ts +2 -0
- package/types/lazy.d.ts +5 -5
- package/types/ripple.d.ts +5 -5
- package/types/varDirective.d.ts +12 -12
- package/umd/varlet.js +7 -7
package/highlight/tags.json
CHANGED
|
@@ -1,15 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"var-action-sheet": {
|
|
3
|
-
"attributes": [
|
|
3
|
+
"attributes": [
|
|
4
|
+
"v-model:show",
|
|
5
|
+
"actions",
|
|
6
|
+
"title",
|
|
7
|
+
"overlay",
|
|
8
|
+
"overlay-class",
|
|
9
|
+
"overlay-style",
|
|
10
|
+
"lock-scroll",
|
|
11
|
+
"close-on-click-action",
|
|
12
|
+
"close-on-click-overlay",
|
|
13
|
+
"teleport"
|
|
14
|
+
]
|
|
4
15
|
},
|
|
5
16
|
"var-app-bar": {
|
|
6
|
-
"attributes": [
|
|
17
|
+
"attributes": [
|
|
18
|
+
"color",
|
|
19
|
+
"text-color",
|
|
20
|
+
"title",
|
|
21
|
+
"title-position",
|
|
22
|
+
"elevation"
|
|
23
|
+
]
|
|
7
24
|
},
|
|
8
25
|
"var-back-top": {
|
|
9
|
-
"attributes": [
|
|
26
|
+
"attributes": [
|
|
27
|
+
"target",
|
|
28
|
+
"visibility-height",
|
|
29
|
+
"bottom",
|
|
30
|
+
"right",
|
|
31
|
+
"duration"
|
|
32
|
+
]
|
|
10
33
|
},
|
|
11
34
|
"var-badge": {
|
|
12
|
-
"attributes": [
|
|
35
|
+
"attributes": [
|
|
36
|
+
"type",
|
|
37
|
+
"dot",
|
|
38
|
+
"value",
|
|
39
|
+
"max-value",
|
|
40
|
+
"position",
|
|
41
|
+
"color",
|
|
42
|
+
"icon"
|
|
43
|
+
]
|
|
13
44
|
},
|
|
14
45
|
"var-bottom-navigation": {
|
|
15
46
|
"attributes": [
|
|
@@ -24,7 +55,13 @@
|
|
|
24
55
|
]
|
|
25
56
|
},
|
|
26
57
|
"var-bottom-navigation-item": {
|
|
27
|
-
"attributes": [
|
|
58
|
+
"attributes": [
|
|
59
|
+
"name",
|
|
60
|
+
"icon",
|
|
61
|
+
"label",
|
|
62
|
+
"namespace",
|
|
63
|
+
"badge"
|
|
64
|
+
]
|
|
28
65
|
},
|
|
29
66
|
"var-button": {
|
|
30
67
|
"attributes": [
|
|
@@ -76,13 +113,39 @@
|
|
|
76
113
|
]
|
|
77
114
|
},
|
|
78
115
|
"var-checkbox": {
|
|
79
|
-
"attributes": [
|
|
116
|
+
"attributes": [
|
|
117
|
+
"v-model",
|
|
118
|
+
"checked-value",
|
|
119
|
+
"unchecked-value",
|
|
120
|
+
"checked-color",
|
|
121
|
+
"unchecked-color",
|
|
122
|
+
"icon-size",
|
|
123
|
+
"disabled",
|
|
124
|
+
"readonly",
|
|
125
|
+
"ripple",
|
|
126
|
+
"rules"
|
|
127
|
+
]
|
|
80
128
|
},
|
|
81
129
|
"var-checkbox-group": {
|
|
82
|
-
"attributes": [
|
|
130
|
+
"attributes": [
|
|
131
|
+
"v-model",
|
|
132
|
+
"max",
|
|
133
|
+
"direction",
|
|
134
|
+
"rules"
|
|
135
|
+
]
|
|
83
136
|
},
|
|
84
137
|
"var-chip": {
|
|
85
|
-
"attributes": [
|
|
138
|
+
"attributes": [
|
|
139
|
+
"type",
|
|
140
|
+
"size",
|
|
141
|
+
"plain",
|
|
142
|
+
"round",
|
|
143
|
+
"block",
|
|
144
|
+
"closeable",
|
|
145
|
+
"close-name",
|
|
146
|
+
"color",
|
|
147
|
+
"text-color"
|
|
148
|
+
]
|
|
86
149
|
},
|
|
87
150
|
"var-col": {
|
|
88
151
|
"attributes": [
|
|
@@ -104,13 +167,43 @@
|
|
|
104
167
|
]
|
|
105
168
|
},
|
|
106
169
|
"var-collapse-item": {
|
|
107
|
-
"attributes": [
|
|
170
|
+
"attributes": [
|
|
171
|
+
"name",
|
|
172
|
+
"title",
|
|
173
|
+
"icon",
|
|
174
|
+
"disabled"
|
|
175
|
+
]
|
|
108
176
|
},
|
|
109
177
|
"var-countdown": {
|
|
110
|
-
"attributes": [
|
|
178
|
+
"attributes": [
|
|
179
|
+
"time",
|
|
180
|
+
"format",
|
|
181
|
+
"auto-start"
|
|
182
|
+
]
|
|
111
183
|
},
|
|
112
184
|
"var-counter": {
|
|
113
|
-
"attributes": [
|
|
185
|
+
"attributes": [
|
|
186
|
+
"v-model",
|
|
187
|
+
"min",
|
|
188
|
+
"max",
|
|
189
|
+
"step",
|
|
190
|
+
"decimal-length",
|
|
191
|
+
"color",
|
|
192
|
+
"input-width",
|
|
193
|
+
"input-text-size",
|
|
194
|
+
"button-size",
|
|
195
|
+
"readonly",
|
|
196
|
+
"disabled",
|
|
197
|
+
"disable-increment",
|
|
198
|
+
"disable-decrement",
|
|
199
|
+
"disable-input",
|
|
200
|
+
"increment-button",
|
|
201
|
+
"decrement-button",
|
|
202
|
+
"press",
|
|
203
|
+
"ripple",
|
|
204
|
+
"validate-trigger",
|
|
205
|
+
"rules"
|
|
206
|
+
]
|
|
114
207
|
},
|
|
115
208
|
"var-date-picker": {
|
|
116
209
|
"attributes": [
|
|
@@ -165,13 +258,22 @@
|
|
|
165
258
|
]
|
|
166
259
|
},
|
|
167
260
|
"var-form": {
|
|
168
|
-
"attributes": [
|
|
261
|
+
"attributes": [
|
|
262
|
+
"readonly",
|
|
263
|
+
"disabled"
|
|
264
|
+
]
|
|
169
265
|
},
|
|
170
266
|
"var-form-details": {
|
|
171
267
|
"attributes": []
|
|
172
268
|
},
|
|
173
269
|
"var-icon": {
|
|
174
|
-
"attributes": [
|
|
270
|
+
"attributes": [
|
|
271
|
+
"name",
|
|
272
|
+
"size",
|
|
273
|
+
"color",
|
|
274
|
+
"namespace",
|
|
275
|
+
"transition"
|
|
276
|
+
]
|
|
175
277
|
},
|
|
176
278
|
"var-image": {
|
|
177
279
|
"attributes": [
|
|
@@ -190,10 +292,22 @@
|
|
|
190
292
|
]
|
|
191
293
|
},
|
|
192
294
|
"var-image-preview": {
|
|
193
|
-
"attributes": [
|
|
295
|
+
"attributes": [
|
|
296
|
+
"show",
|
|
297
|
+
"images",
|
|
298
|
+
"current",
|
|
299
|
+
"zoom",
|
|
300
|
+
"closeable",
|
|
301
|
+
"loop",
|
|
302
|
+
"indicator",
|
|
303
|
+
"lock-scroll",
|
|
304
|
+
"teleport"
|
|
305
|
+
]
|
|
194
306
|
},
|
|
195
307
|
"var-index-anchor": {
|
|
196
|
-
"attributes": [
|
|
308
|
+
"attributes": [
|
|
309
|
+
"index"
|
|
310
|
+
]
|
|
197
311
|
},
|
|
198
312
|
"var-index-bar": {
|
|
199
313
|
"attributes": [
|
|
@@ -232,7 +346,16 @@
|
|
|
232
346
|
"attributes": []
|
|
233
347
|
},
|
|
234
348
|
"var-list": {
|
|
235
|
-
"attributes": [
|
|
349
|
+
"attributes": [
|
|
350
|
+
"v-model:loading",
|
|
351
|
+
"v-model:error",
|
|
352
|
+
"immediate-check",
|
|
353
|
+
"finished",
|
|
354
|
+
"offset",
|
|
355
|
+
"loading-text",
|
|
356
|
+
"finished-text",
|
|
357
|
+
"error-text"
|
|
358
|
+
]
|
|
236
359
|
},
|
|
237
360
|
"var-loading": {
|
|
238
361
|
"attributes": [
|
|
@@ -260,7 +383,10 @@
|
|
|
260
383
|
]
|
|
261
384
|
},
|
|
262
385
|
"var-option": {
|
|
263
|
-
"attributes": [
|
|
386
|
+
"attributes": [
|
|
387
|
+
"label",
|
|
388
|
+
"value"
|
|
389
|
+
]
|
|
264
390
|
},
|
|
265
391
|
"var-pagination": {
|
|
266
392
|
"attributes": [
|
|
@@ -277,10 +403,34 @@
|
|
|
277
403
|
]
|
|
278
404
|
},
|
|
279
405
|
"var-picker": {
|
|
280
|
-
"attributes": [
|
|
406
|
+
"attributes": [
|
|
407
|
+
"columns",
|
|
408
|
+
"title",
|
|
409
|
+
"text-key",
|
|
410
|
+
"toolbar",
|
|
411
|
+
"cascade",
|
|
412
|
+
"cascade-initial-indexes",
|
|
413
|
+
"text-formatter",
|
|
414
|
+
"option-height",
|
|
415
|
+
"option-count",
|
|
416
|
+
"confirm-button-text",
|
|
417
|
+
"cancel-button-text",
|
|
418
|
+
"confirm-button-text-color",
|
|
419
|
+
"cancel-button-text-color"
|
|
420
|
+
]
|
|
281
421
|
},
|
|
282
422
|
"var-popup": {
|
|
283
|
-
"attributes": [
|
|
423
|
+
"attributes": [
|
|
424
|
+
"v-model:show",
|
|
425
|
+
"position",
|
|
426
|
+
"overlay",
|
|
427
|
+
"overlay-class",
|
|
428
|
+
"overlay-style",
|
|
429
|
+
"transition",
|
|
430
|
+
"lock-scroll",
|
|
431
|
+
"close-on-click-overlay",
|
|
432
|
+
"teleport"
|
|
433
|
+
]
|
|
284
434
|
},
|
|
285
435
|
"var-progress": {
|
|
286
436
|
"attributes": [
|
|
@@ -298,13 +448,37 @@
|
|
|
298
448
|
]
|
|
299
449
|
},
|
|
300
450
|
"var-pull-refresh": {
|
|
301
|
-
"attributes": [
|
|
451
|
+
"attributes": [
|
|
452
|
+
"v-model",
|
|
453
|
+
"disabled",
|
|
454
|
+
"animation-duration",
|
|
455
|
+
"success-duration",
|
|
456
|
+
"bg-color",
|
|
457
|
+
"color",
|
|
458
|
+
"success-bg-color",
|
|
459
|
+
"success-color"
|
|
460
|
+
]
|
|
302
461
|
},
|
|
303
462
|
"var-radio": {
|
|
304
|
-
"attributes": [
|
|
463
|
+
"attributes": [
|
|
464
|
+
"v-model",
|
|
465
|
+
"checked-value",
|
|
466
|
+
"unchecked-value",
|
|
467
|
+
"checked-color",
|
|
468
|
+
"unchecked-color",
|
|
469
|
+
"icon-size",
|
|
470
|
+
"disabled",
|
|
471
|
+
"readonly",
|
|
472
|
+
"ripple",
|
|
473
|
+
"rules"
|
|
474
|
+
]
|
|
305
475
|
},
|
|
306
476
|
"var-radio-group": {
|
|
307
|
-
"attributes": [
|
|
477
|
+
"attributes": [
|
|
478
|
+
"v-model",
|
|
479
|
+
"direction",
|
|
480
|
+
"rules"
|
|
481
|
+
]
|
|
308
482
|
},
|
|
309
483
|
"var-rate": {
|
|
310
484
|
"attributes": [
|
|
@@ -356,7 +530,19 @@
|
|
|
356
530
|
]
|
|
357
531
|
},
|
|
358
532
|
"var-skeleton": {
|
|
359
|
-
"attributes": [
|
|
533
|
+
"attributes": [
|
|
534
|
+
"loading",
|
|
535
|
+
"title",
|
|
536
|
+
"card",
|
|
537
|
+
"avatar",
|
|
538
|
+
"fullscreen",
|
|
539
|
+
"fullscreen-z-index",
|
|
540
|
+
"title-width",
|
|
541
|
+
"card-height",
|
|
542
|
+
"avatar-size",
|
|
543
|
+
"rows",
|
|
544
|
+
"rows-width"
|
|
545
|
+
]
|
|
360
546
|
},
|
|
361
547
|
"var-slider": {
|
|
362
548
|
"attributes": [
|
|
@@ -397,10 +583,21 @@
|
|
|
397
583
|
]
|
|
398
584
|
},
|
|
399
585
|
"var-space": {
|
|
400
|
-
"attributes": [
|
|
586
|
+
"attributes": [
|
|
587
|
+
"align",
|
|
588
|
+
"justify",
|
|
589
|
+
"size",
|
|
590
|
+
"wrap",
|
|
591
|
+
"direction",
|
|
592
|
+
"inline"
|
|
593
|
+
]
|
|
401
594
|
},
|
|
402
595
|
"var-step": {
|
|
403
|
-
"attributes": [
|
|
596
|
+
"attributes": [
|
|
597
|
+
"active-icon",
|
|
598
|
+
"current-icon",
|
|
599
|
+
"inactive-icon"
|
|
600
|
+
]
|
|
404
601
|
},
|
|
405
602
|
"var-steps": {
|
|
406
603
|
"attributes": [
|
|
@@ -411,7 +608,12 @@
|
|
|
411
608
|
]
|
|
412
609
|
},
|
|
413
610
|
"var-sticky": {
|
|
414
|
-
"attributes": [
|
|
611
|
+
"attributes": [
|
|
612
|
+
"offset-top",
|
|
613
|
+
"z-index",
|
|
614
|
+
"css-mode",
|
|
615
|
+
"disabled"
|
|
616
|
+
]
|
|
415
617
|
},
|
|
416
618
|
"var-style-provider": {
|
|
417
619
|
"attributes": [
|
|
@@ -438,10 +640,26 @@
|
|
|
438
640
|
"attributes": []
|
|
439
641
|
},
|
|
440
642
|
"var-switch": {
|
|
441
|
-
"attributes": [
|
|
643
|
+
"attributes": [
|
|
644
|
+
"v-model",
|
|
645
|
+
"active-value",
|
|
646
|
+
"inactive-value",
|
|
647
|
+
"disabled",
|
|
648
|
+
"readonly",
|
|
649
|
+
"loading",
|
|
650
|
+
"ripple",
|
|
651
|
+
"color",
|
|
652
|
+
"loading-color",
|
|
653
|
+
"close-color",
|
|
654
|
+
"size",
|
|
655
|
+
"rules"
|
|
656
|
+
]
|
|
442
657
|
},
|
|
443
658
|
"var-tab": {
|
|
444
|
-
"attributes": [
|
|
659
|
+
"attributes": [
|
|
660
|
+
"name",
|
|
661
|
+
"disabled"
|
|
662
|
+
]
|
|
445
663
|
},
|
|
446
664
|
"var-tab-item": {
|
|
447
665
|
"attributes": [
|
|
@@ -449,7 +667,9 @@
|
|
|
449
667
|
]
|
|
450
668
|
},
|
|
451
669
|
"var-table": {
|
|
452
|
-
"attributes": [
|
|
670
|
+
"attributes": [
|
|
671
|
+
"full-width"
|
|
672
|
+
]
|
|
453
673
|
},
|
|
454
674
|
"var-tabs": {
|
|
455
675
|
"attributes": [
|
|
@@ -494,6 +714,21 @@
|
|
|
494
714
|
]
|
|
495
715
|
},
|
|
496
716
|
"var-uploader": {
|
|
497
|
-
"attributes": [
|
|
717
|
+
"attributes": [
|
|
718
|
+
"v-model",
|
|
719
|
+
"accept",
|
|
720
|
+
"capture",
|
|
721
|
+
"multiple",
|
|
722
|
+
"readonly",
|
|
723
|
+
"disabled",
|
|
724
|
+
"removable",
|
|
725
|
+
"maxlength",
|
|
726
|
+
"maxsize",
|
|
727
|
+
"previewed",
|
|
728
|
+
"ripple",
|
|
729
|
+
"hide-list",
|
|
730
|
+
"validate-trigger",
|
|
731
|
+
"rules"
|
|
732
|
+
]
|
|
498
733
|
}
|
|
499
734
|
}
|