vant 3.5.0-beta.1 → 3.5.2
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/LICENSE +10 -0
- package/es/action-bar/ActionBar.d.ts +4 -0
- package/es/action-bar/ActionBar.mjs +13 -2
- package/es/action-bar/index.d.ts +3 -0
- package/es/calendar/Calendar.mjs +3 -0
- package/es/dialog/Dialog.d.ts +8 -0
- package/es/dialog/Dialog.mjs +6 -0
- package/es/dialog/function-call.d.ts +10 -0
- package/es/dialog/function-call.mjs +2 -0
- package/es/dialog/types.d.ts +3 -1
- package/es/field/Field.d.ts +3 -1
- package/es/field/Field.mjs +7 -1
- package/es/field/index.d.ts +3 -1
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/picker/Picker.mjs +1 -1
- package/es/picker/PickerColumn.mjs +2 -0
- package/es/popup/Popup.mjs +1 -1
- package/es/pull-refresh/PullRefresh.d.ts +2 -1
- package/es/pull-refresh/PullRefresh.mjs +5 -1
- package/es/pull-refresh/index.d.ts +2 -1
- package/es/submit-bar/SubmitBar.d.ts +4 -0
- package/es/submit-bar/SubmitBar.mjs +13 -2
- package/es/submit-bar/index.d.ts +3 -0
- package/es/switch/Switch.mjs +2 -1
- package/es/toast/function-call.d.ts +5 -6
- package/es/toast/types.d.ts +10 -1
- package/es/uploader/Uploader.d.ts +3 -3
- package/es/uploader/index.d.ts +2 -2
- package/lib/action-bar/ActionBar.d.ts +4 -0
- package/lib/action-bar/ActionBar.js +12 -1
- package/lib/action-bar/index.d.ts +3 -0
- package/lib/calendar/Calendar.js +3 -0
- package/lib/dialog/Dialog.d.ts +8 -0
- package/lib/dialog/Dialog.js +6 -0
- package/lib/dialog/function-call.d.ts +10 -0
- package/lib/dialog/function-call.js +2 -0
- package/lib/dialog/types.d.ts +3 -1
- package/lib/field/Field.d.ts +3 -1
- package/lib/field/Field.js +7 -1
- package/lib/field/index.d.ts +3 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/picker/Picker.js +1 -1
- package/lib/picker/PickerColumn.js +2 -0
- package/lib/popup/Popup.js +1 -1
- package/lib/pull-refresh/PullRefresh.d.ts +2 -1
- package/lib/pull-refresh/PullRefresh.js +5 -1
- package/lib/pull-refresh/index.d.ts +2 -1
- package/lib/submit-bar/SubmitBar.d.ts +4 -0
- package/lib/submit-bar/SubmitBar.js +12 -1
- package/lib/submit-bar/index.d.ts +3 -0
- package/lib/switch/Switch.js +2 -1
- package/lib/toast/function-call.d.ts +5 -6
- package/lib/toast/types.d.ts +10 -1
- package/lib/uploader/Uploader.d.ts +3 -3
- package/lib/uploader/index.d.ts +2 -2
- package/lib/vant.cjs.js +72 -28
- package/lib/vant.es.js +73 -29
- package/lib/vant.js +73 -29
- package/lib/vant.min.js +1 -1
- package/package.json +3 -3
- package/vetur/attributes.json +212 -196
- package/vetur/tags.json +72 -68
- package/vetur/web-types.json +1061 -994
- package/lib/ssr.js +0 -7
- package/lib/ssr.mjs +0 -1
- package/lib/vant.cjs.min.js +0 -1
- package/lib/vant.es.min.js +0 -14649
package/vetur/web-types.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"framework": "vue",
|
4
4
|
"name": "vant",
|
5
|
-
"version": "3.5.
|
5
|
+
"version": "3.5.2",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
8
8
|
"tags": [
|
@@ -20,6 +20,16 @@
|
|
20
20
|
"type": "boolean",
|
21
21
|
"kind": "expression"
|
22
22
|
}
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"name": "placeholder",
|
26
|
+
"default": "`false`",
|
27
|
+
"description": "Whether to generate a placeholder element",
|
28
|
+
"options": [],
|
29
|
+
"value": {
|
30
|
+
"type": "boolean",
|
31
|
+
"kind": "expression"
|
32
|
+
}
|
23
33
|
}
|
24
34
|
]
|
25
35
|
},
|
@@ -252,115 +262,101 @@
|
|
252
262
|
]
|
253
263
|
},
|
254
264
|
{
|
255
|
-
"name": "van-
|
265
|
+
"name": "van-action-sheet",
|
256
266
|
"slots": [
|
257
267
|
{
|
258
268
|
"name": "default",
|
259
|
-
"description": "Custom content
|
269
|
+
"description": "Custom content"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"name": "description",
|
273
|
+
"description": "Custom description above the options"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"name": "cancel",
|
277
|
+
"description": "Custom the content of cancel button"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"name": "action",
|
281
|
+
"description": "Custom the content of action"
|
260
282
|
}
|
261
283
|
],
|
262
284
|
"events": [
|
263
285
|
{
|
264
|
-
"name": "
|
265
|
-
"description": "Emitted when
|
286
|
+
"name": "select",
|
287
|
+
"description": "Emitted when an option is clicked",
|
266
288
|
"arguments": [
|
267
289
|
{
|
268
|
-
"name": "
|
269
|
-
"type": "
|
270
|
-
}
|
271
|
-
]
|
272
|
-
},
|
273
|
-
{
|
274
|
-
"name": "focus",
|
275
|
-
"description": "Emitted when field is focused",
|
276
|
-
"arguments": [
|
290
|
+
"name": "action",
|
291
|
+
"type": "ActionSheetAction"
|
292
|
+
},
|
277
293
|
{
|
278
|
-
"name": "
|
279
|
-
"type": "
|
294
|
+
"name": "index",
|
295
|
+
"type": "number"
|
280
296
|
}
|
281
297
|
]
|
282
298
|
},
|
283
299
|
{
|
284
|
-
"name": "
|
285
|
-
"description": "Emitted when
|
286
|
-
"arguments": [
|
287
|
-
{
|
288
|
-
"name": "content",
|
289
|
-
"type": "form content"
|
290
|
-
}
|
291
|
-
]
|
300
|
+
"name": "cancel",
|
301
|
+
"description": "Emitted when the cancel button is clicked",
|
302
|
+
"arguments": []
|
292
303
|
},
|
293
304
|
{
|
294
|
-
"name": "
|
295
|
-
"description": "Emitted when
|
296
|
-
"arguments": [
|
297
|
-
{
|
298
|
-
"name": "value",
|
299
|
-
"type": "search content"
|
300
|
-
}
|
301
|
-
]
|
305
|
+
"name": "open",
|
306
|
+
"description": "Emitted when opening ActionSheet",
|
307
|
+
"arguments": []
|
302
308
|
},
|
303
309
|
{
|
304
|
-
"name": "
|
305
|
-
"description": "Emitted when
|
310
|
+
"name": "close",
|
311
|
+
"description": "Emitted when closing ActionSheet",
|
306
312
|
"arguments": []
|
307
313
|
},
|
308
314
|
{
|
309
|
-
"name": "
|
310
|
-
"description": "Emitted when
|
311
|
-
"arguments": [
|
312
|
-
{
|
313
|
-
"name": "values",
|
314
|
-
"type": "area values"
|
315
|
-
}
|
316
|
-
]
|
315
|
+
"name": "opened",
|
316
|
+
"description": "Emitted when ActionSheet is opened",
|
317
|
+
"arguments": []
|
317
318
|
},
|
318
319
|
{
|
319
|
-
"name": "
|
320
|
-
"description": "Emitted when
|
321
|
-
"arguments": [
|
322
|
-
{
|
323
|
-
"name": "value",
|
324
|
-
"type": "address detail"
|
325
|
-
}
|
326
|
-
]
|
320
|
+
"name": "closed",
|
321
|
+
"description": "Emitted when ActionSheet is closed",
|
322
|
+
"arguments": []
|
327
323
|
},
|
328
324
|
{
|
329
|
-
"name": "
|
330
|
-
"description": "Emitted when
|
325
|
+
"name": "click-overlay",
|
326
|
+
"description": "Emitted when overlay is clicked",
|
331
327
|
"arguments": [
|
332
328
|
{
|
333
|
-
"name": "
|
334
|
-
"type": "
|
329
|
+
"name": "event",
|
330
|
+
"type": "MouseEvent"
|
335
331
|
}
|
336
332
|
]
|
337
333
|
}
|
338
334
|
],
|
339
335
|
"attributes": [
|
340
336
|
{
|
341
|
-
"name": "
|
342
|
-
"default": "
|
343
|
-
"description": "
|
337
|
+
"name": "v-model:show",
|
338
|
+
"default": "`false`",
|
339
|
+
"description": "Whether to show ActionSheet",
|
344
340
|
"options": [],
|
345
341
|
"value": {
|
346
|
-
"type": "
|
342
|
+
"type": "boolean",
|
347
343
|
"kind": "expression"
|
348
344
|
}
|
349
345
|
},
|
350
346
|
{
|
351
|
-
"name": "
|
347
|
+
"name": "actions",
|
352
348
|
"default": "`[]`",
|
353
|
-
"description": "
|
349
|
+
"description": "Options",
|
354
350
|
"options": [],
|
355
351
|
"value": {
|
356
|
-
"type": "
|
352
|
+
"type": "ActionSheetAction[]",
|
357
353
|
"kind": "expression"
|
358
354
|
}
|
359
355
|
},
|
360
356
|
{
|
361
|
-
"name": "
|
362
|
-
"default": "
|
363
|
-
"description": "
|
357
|
+
"name": "title",
|
358
|
+
"default": "-",
|
359
|
+
"description": "Title",
|
364
360
|
"options": [],
|
365
361
|
"value": {
|
366
362
|
"type": "string",
|
@@ -368,39 +364,29 @@
|
|
368
364
|
}
|
369
365
|
},
|
370
366
|
{
|
371
|
-
"name": "
|
372
|
-
"default": "
|
373
|
-
"description": "
|
374
|
-
"options": [],
|
375
|
-
"value": {
|
376
|
-
"type": "AddressEditInfo",
|
377
|
-
"kind": "expression"
|
378
|
-
}
|
379
|
-
},
|
380
|
-
{
|
381
|
-
"name": "search-result",
|
382
|
-
"default": "`[]`",
|
383
|
-
"description": "Address search result",
|
367
|
+
"name": "cancel-text",
|
368
|
+
"default": "-",
|
369
|
+
"description": "Text of cancel button",
|
384
370
|
"options": [],
|
385
371
|
"value": {
|
386
|
-
"type": "
|
372
|
+
"type": "string",
|
387
373
|
"kind": "expression"
|
388
374
|
}
|
389
375
|
},
|
390
376
|
{
|
391
|
-
"name": "
|
392
|
-
"default": "
|
393
|
-
"description": "
|
377
|
+
"name": "description",
|
378
|
+
"default": "-",
|
379
|
+
"description": "Description above the options",
|
394
380
|
"options": [],
|
395
381
|
"value": {
|
396
|
-
"type": "
|
382
|
+
"type": "string",
|
397
383
|
"kind": "expression"
|
398
384
|
}
|
399
385
|
},
|
400
386
|
{
|
401
|
-
"name": "
|
402
|
-
"default": "`
|
403
|
-
"description": "Whether to show
|
387
|
+
"name": "closeable",
|
388
|
+
"default": "`true`",
|
389
|
+
"description": "Whether to show close icon",
|
404
390
|
"options": [],
|
405
391
|
"value": {
|
406
392
|
"type": "boolean",
|
@@ -408,29 +394,29 @@
|
|
408
394
|
}
|
409
395
|
},
|
410
396
|
{
|
411
|
-
"name": "
|
412
|
-
"default": "`
|
413
|
-
"description": "
|
397
|
+
"name": "close-icon",
|
398
|
+
"default": "`cross`",
|
399
|
+
"description": "Close icon name",
|
414
400
|
"options": [],
|
415
401
|
"value": {
|
416
|
-
"type": "
|
402
|
+
"type": "string",
|
417
403
|
"kind": "expression"
|
418
404
|
}
|
419
405
|
},
|
420
406
|
{
|
421
|
-
"name": "
|
422
|
-
"default": "`
|
423
|
-
"description": "
|
407
|
+
"name": "duration",
|
408
|
+
"default": "`0.3`",
|
409
|
+
"description": "Transition duration, unit second",
|
424
410
|
"options": [],
|
425
411
|
"value": {
|
426
|
-
"type": "
|
412
|
+
"type": "number | string",
|
427
413
|
"kind": "expression"
|
428
414
|
}
|
429
415
|
},
|
430
416
|
{
|
431
|
-
"name": "
|
417
|
+
"name": "round",
|
432
418
|
"default": "`true`",
|
433
|
-
"description": "Whether to show
|
419
|
+
"description": "Whether to show round corner",
|
434
420
|
"options": [],
|
435
421
|
"value": {
|
436
422
|
"type": "boolean",
|
@@ -438,9 +424,9 @@
|
|
438
424
|
}
|
439
425
|
},
|
440
426
|
{
|
441
|
-
"name": "
|
427
|
+
"name": "overlay",
|
442
428
|
"default": "`true`",
|
443
|
-
"description": "Whether to show
|
429
|
+
"description": "Whether to show overlay",
|
444
430
|
"options": [],
|
445
431
|
"value": {
|
446
432
|
"type": "boolean",
|
@@ -448,59 +434,59 @@
|
|
448
434
|
}
|
449
435
|
},
|
450
436
|
{
|
451
|
-
"name": "
|
452
|
-
"default": "
|
453
|
-
"description": "
|
437
|
+
"name": "overlay-class",
|
438
|
+
"default": "-",
|
439
|
+
"description": "Custom overlay class",
|
454
440
|
"options": [],
|
455
441
|
"value": {
|
456
|
-
"type": "
|
442
|
+
"type": "string | Array | object",
|
457
443
|
"kind": "expression"
|
458
444
|
}
|
459
445
|
},
|
460
446
|
{
|
461
|
-
"name": "
|
462
|
-
"default": "
|
463
|
-
"description": "
|
447
|
+
"name": "overlay-style",
|
448
|
+
"default": "-",
|
449
|
+
"description": "Custom overlay style",
|
464
450
|
"options": [],
|
465
451
|
"value": {
|
466
|
-
"type": "
|
452
|
+
"type": "object",
|
467
453
|
"kind": "expression"
|
468
454
|
}
|
469
455
|
},
|
470
456
|
{
|
471
|
-
"name": "
|
472
|
-
"default": "`
|
473
|
-
"description": "
|
457
|
+
"name": "lock-scroll",
|
458
|
+
"default": "`true`",
|
459
|
+
"description": "Whether to lock background scroll",
|
474
460
|
"options": [],
|
475
461
|
"value": {
|
476
|
-
"type": "
|
462
|
+
"type": "boolean",
|
477
463
|
"kind": "expression"
|
478
464
|
}
|
479
465
|
},
|
480
466
|
{
|
481
|
-
"name": "
|
482
|
-
"default": "`
|
483
|
-
"description": "
|
467
|
+
"name": "lazy-render",
|
468
|
+
"default": "`true`",
|
469
|
+
"description": "Whether to lazy render util appeared",
|
484
470
|
"options": [],
|
485
471
|
"value": {
|
486
|
-
"type": "
|
472
|
+
"type": "boolean",
|
487
473
|
"kind": "expression"
|
488
474
|
}
|
489
475
|
},
|
490
476
|
{
|
491
|
-
"name": "
|
492
|
-
"default": "`
|
493
|
-
"description": "
|
477
|
+
"name": "close-on-popstate",
|
478
|
+
"default": "`true`",
|
479
|
+
"description": "Whether to close when popstate",
|
494
480
|
"options": [],
|
495
481
|
"value": {
|
496
|
-
"type": "
|
482
|
+
"type": "boolean",
|
497
483
|
"kind": "expression"
|
498
484
|
}
|
499
485
|
},
|
500
486
|
{
|
501
|
-
"name": "
|
487
|
+
"name": "close-on-click-action",
|
502
488
|
"default": "`false`",
|
503
|
-
"description": "Whether to
|
489
|
+
"description": "Whether to close when an action is clicked",
|
504
490
|
"options": [],
|
505
491
|
"value": {
|
506
492
|
"type": "boolean",
|
@@ -508,9 +494,9 @@
|
|
508
494
|
}
|
509
495
|
},
|
510
496
|
{
|
511
|
-
"name": "
|
512
|
-
"default": "`
|
513
|
-
"description": "Whether to
|
497
|
+
"name": "close-on-click-overlay",
|
498
|
+
"default": "`true`",
|
499
|
+
"description": "Whether to close when overlay is clicked",
|
514
500
|
"options": [],
|
515
501
|
"value": {
|
516
502
|
"type": "boolean",
|
@@ -518,311 +504,247 @@
|
|
518
504
|
}
|
519
505
|
},
|
520
506
|
{
|
521
|
-
"name": "
|
522
|
-
"default": "
|
523
|
-
"description": "
|
507
|
+
"name": "safe-area-inset-bottom",
|
508
|
+
"default": "`true`",
|
509
|
+
"description": "Whether to enable bottom safe area adaptation",
|
524
510
|
"options": [],
|
525
511
|
"value": {
|
526
|
-
"type": "
|
512
|
+
"type": "boolean",
|
527
513
|
"kind": "expression"
|
528
514
|
}
|
529
515
|
},
|
530
516
|
{
|
531
|
-
"name": "
|
517
|
+
"name": "teleport",
|
532
518
|
"default": "-",
|
533
|
-
"description": "
|
519
|
+
"description": "Specifies a target element where ActionSheet will be mounted",
|
534
520
|
"options": [],
|
535
521
|
"value": {
|
536
|
-
"type": "
|
522
|
+
"type": "string | Element",
|
537
523
|
"kind": "expression"
|
538
524
|
}
|
539
525
|
},
|
540
526
|
{
|
541
|
-
"name": "
|
527
|
+
"name": "before-close",
|
542
528
|
"default": "-",
|
543
|
-
"description": "
|
529
|
+
"description": "Callback function before close",
|
544
530
|
"options": [],
|
545
531
|
"value": {
|
546
|
-
"type": "(
|
532
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
547
533
|
"kind": "expression"
|
548
534
|
}
|
549
|
-
}
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
"value": {
|
556
|
-
"type": "(key, val) => string",
|
557
|
-
"kind": "expression"
|
558
|
-
}
|
559
|
-
}
|
560
|
-
]
|
561
|
-
},
|
562
|
-
{
|
563
|
-
"name": "van-address-list",
|
564
|
-
"slots": [
|
535
|
+
}
|
536
|
+
]
|
537
|
+
},
|
538
|
+
{
|
539
|
+
"name": "van-address-edit",
|
540
|
+
"slots": [
|
565
541
|
{
|
566
542
|
"name": "default",
|
567
|
-
"description": "Custom content
|
568
|
-
},
|
569
|
-
{
|
570
|
-
"name": "top",
|
571
|
-
"description": "Custom content before list"
|
572
|
-
},
|
573
|
-
{
|
574
|
-
"name": "item-bottom",
|
575
|
-
"description": "Custom content after list item"
|
576
|
-
},
|
577
|
-
{
|
578
|
-
"name": "tag",
|
579
|
-
"description": "Custom tag of list item"
|
543
|
+
"description": "Custom content below postal"
|
580
544
|
}
|
581
545
|
],
|
582
546
|
"events": [
|
583
547
|
{
|
584
|
-
"name": "
|
585
|
-
"description": "Emitted when the
|
586
|
-
"arguments": [
|
548
|
+
"name": "save",
|
549
|
+
"description": "Emitted when the save button is clicked",
|
550
|
+
"arguments": [
|
551
|
+
{
|
552
|
+
"name": "content",
|
553
|
+
"type": "form content"
|
554
|
+
}
|
555
|
+
]
|
587
556
|
},
|
588
557
|
{
|
589
|
-
"name": "
|
590
|
-
"description": "Emitted when
|
558
|
+
"name": "focus",
|
559
|
+
"description": "Emitted when field is focused",
|
591
560
|
"arguments": [
|
592
561
|
{
|
593
|
-
"name": "
|
594
|
-
"type": "
|
595
|
-
},
|
596
|
-
{
|
597
|
-
"name": "index",
|
598
|
-
"type": "number"
|
562
|
+
"name": "key",
|
563
|
+
"type": "field name"
|
599
564
|
}
|
600
565
|
]
|
601
566
|
},
|
602
567
|
{
|
603
|
-
"name": "
|
604
|
-
"description": "Emitted when
|
568
|
+
"name": "delete",
|
569
|
+
"description": "Emitted when confirming delete",
|
605
570
|
"arguments": [
|
606
571
|
{
|
607
|
-
"name": "
|
608
|
-
"type": "
|
609
|
-
},
|
610
|
-
{
|
611
|
-
"name": "index",
|
612
|
-
"type": "number"
|
572
|
+
"name": "content",
|
573
|
+
"type": "form content"
|
613
574
|
}
|
614
575
|
]
|
615
576
|
},
|
616
577
|
{
|
617
|
-
"name": "
|
618
|
-
"description": "Emitted when
|
578
|
+
"name": "select-search",
|
579
|
+
"description": "Emitted when a search result is selected",
|
619
580
|
"arguments": [
|
620
581
|
{
|
621
|
-
"name": "
|
622
|
-
"type": "
|
623
|
-
},
|
624
|
-
{
|
625
|
-
"name": "index",
|
626
|
-
"type": "number"
|
582
|
+
"name": "value",
|
583
|
+
"type": "search content"
|
627
584
|
}
|
628
585
|
]
|
629
586
|
},
|
630
587
|
{
|
631
|
-
"name": "
|
632
|
-
"description": "Emitted when
|
588
|
+
"name": "click-area",
|
589
|
+
"description": "Emitted when the area field is clicked",
|
590
|
+
"arguments": []
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"name": "change-area",
|
594
|
+
"description": "Emitted when area changed",
|
633
595
|
"arguments": [
|
634
596
|
{
|
635
|
-
"name": "
|
636
|
-
"type": "
|
637
|
-
},
|
638
|
-
{
|
639
|
-
"name": "index",
|
640
|
-
"type": "number"
|
597
|
+
"name": "values",
|
598
|
+
"type": "area values"
|
641
599
|
}
|
642
600
|
]
|
643
601
|
},
|
644
602
|
{
|
645
|
-
"name": "
|
646
|
-
"description": "Emitted when
|
603
|
+
"name": "change-detail",
|
604
|
+
"description": "Emitted when address detail changed",
|
647
605
|
"arguments": [
|
648
606
|
{
|
649
|
-
"name": "
|
650
|
-
"type": "
|
651
|
-
}
|
607
|
+
"name": "value",
|
608
|
+
"type": "address detail"
|
609
|
+
}
|
610
|
+
]
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"name": "change-default",
|
614
|
+
"description": "Emitted when switching default address",
|
615
|
+
"arguments": [
|
652
616
|
{
|
653
|
-
"name": "
|
654
|
-
"type": "
|
617
|
+
"name": "value",
|
618
|
+
"type": "checked"
|
655
619
|
}
|
656
620
|
]
|
657
621
|
}
|
658
622
|
],
|
659
623
|
"attributes": [
|
660
624
|
{
|
661
|
-
"name": "
|
625
|
+
"name": "area-list",
|
662
626
|
"default": "-",
|
663
|
-
"description": "
|
627
|
+
"description": "Area List",
|
664
628
|
"options": [],
|
665
629
|
"value": {
|
666
|
-
"type": "
|
630
|
+
"type": "object",
|
667
631
|
"kind": "expression"
|
668
632
|
}
|
669
633
|
},
|
670
634
|
{
|
671
|
-
"name": "
|
635
|
+
"name": "area-columns-placeholder",
|
672
636
|
"default": "`[]`",
|
673
|
-
"description": "
|
637
|
+
"description": "placeholder of area columns",
|
674
638
|
"options": [],
|
675
639
|
"value": {
|
676
|
-
"type": "
|
640
|
+
"type": "string[]",
|
677
641
|
"kind": "expression"
|
678
642
|
}
|
679
643
|
},
|
680
644
|
{
|
681
|
-
"name": "
|
682
|
-
"default": "`
|
683
|
-
"description": "
|
645
|
+
"name": "area-placeholder",
|
646
|
+
"default": "`Area`",
|
647
|
+
"description": "placeholder of area input field",
|
684
648
|
"options": [],
|
685
649
|
"value": {
|
686
|
-
"type": "
|
650
|
+
"type": "string",
|
687
651
|
"kind": "expression"
|
688
652
|
}
|
689
653
|
},
|
690
654
|
{
|
691
|
-
"name": "
|
692
|
-
"default": "
|
693
|
-
"description": "
|
655
|
+
"name": "address-info",
|
656
|
+
"default": "`{}`",
|
657
|
+
"description": "Address Info",
|
694
658
|
"options": [],
|
695
659
|
"value": {
|
696
|
-
"type": "
|
660
|
+
"type": "AddressEditInfo",
|
697
661
|
"kind": "expression"
|
698
662
|
}
|
699
663
|
},
|
700
664
|
{
|
701
|
-
"name": "
|
702
|
-
"default": "`
|
703
|
-
"description": "
|
665
|
+
"name": "search-result",
|
666
|
+
"default": "`[]`",
|
667
|
+
"description": "Address search result",
|
704
668
|
"options": [],
|
705
669
|
"value": {
|
706
|
-
"type": "
|
670
|
+
"type": "AddressEditSearchItem[]",
|
707
671
|
"kind": "expression"
|
708
672
|
}
|
709
673
|
},
|
710
674
|
{
|
711
|
-
"name": "
|
712
|
-
"default": "`
|
713
|
-
"description": "
|
675
|
+
"name": "show-postal",
|
676
|
+
"default": "`false`",
|
677
|
+
"description": "Whether to show postal field",
|
714
678
|
"options": [],
|
715
679
|
"value": {
|
716
|
-
"type": "
|
680
|
+
"type": "boolean",
|
717
681
|
"kind": "expression"
|
718
682
|
}
|
719
683
|
},
|
720
684
|
{
|
721
|
-
"name": "
|
722
|
-
"default": "
|
723
|
-
"description": "
|
685
|
+
"name": "show-delete",
|
686
|
+
"default": "`false`",
|
687
|
+
"description": "Whether to show delete button",
|
724
688
|
"options": [],
|
725
689
|
"value": {
|
726
|
-
"type": "
|
690
|
+
"type": "boolean",
|
727
691
|
"kind": "expression"
|
728
692
|
}
|
729
|
-
}
|
730
|
-
]
|
731
|
-
},
|
732
|
-
{
|
733
|
-
"name": "van-area",
|
734
|
-
"slots": [
|
735
|
-
{
|
736
|
-
"name": "toolbar",
|
737
|
-
"description": "Custom toolbar content"
|
738
693
|
},
|
739
694
|
{
|
740
|
-
"name": "
|
741
|
-
"
|
742
|
-
|
743
|
-
|
744
|
-
"
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
"name": "cancel",
|
749
|
-
"description": "Custom cancel button text"
|
750
|
-
},
|
751
|
-
{
|
752
|
-
"name": "columns-top",
|
753
|
-
"description": "Custom content above columns"
|
754
|
-
},
|
755
|
-
{
|
756
|
-
"name": "columns-bottom",
|
757
|
-
"description": "Custom content below columns"
|
758
|
-
}
|
759
|
-
],
|
760
|
-
"events": [
|
761
|
-
{
|
762
|
-
"name": "confirm",
|
763
|
-
"description": "Emitted when the confirm button is clicked",
|
764
|
-
"arguments": [
|
765
|
-
{
|
766
|
-
"name": "result",
|
767
|
-
"type": "ConfirmResult"
|
768
|
-
}
|
769
|
-
]
|
695
|
+
"name": "show-set-default",
|
696
|
+
"default": "`false`",
|
697
|
+
"description": "Whether to show default address switch",
|
698
|
+
"options": [],
|
699
|
+
"value": {
|
700
|
+
"type": "boolean",
|
701
|
+
"kind": "expression"
|
702
|
+
}
|
770
703
|
},
|
771
704
|
{
|
772
|
-
"name": "
|
773
|
-
"
|
774
|
-
"
|
705
|
+
"name": "show-search-result",
|
706
|
+
"default": "`false`",
|
707
|
+
"description": "Whether to show address search result",
|
708
|
+
"options": [],
|
709
|
+
"value": {
|
710
|
+
"type": "boolean",
|
711
|
+
"kind": "expression"
|
712
|
+
}
|
775
713
|
},
|
776
714
|
{
|
777
|
-
"name": "
|
778
|
-
"
|
779
|
-
"
|
780
|
-
{
|
781
|
-
"name": "current",
|
782
|
-
"type": "values"
|
783
|
-
},
|
784
|
-
{
|
785
|
-
"name": "column",
|
786
|
-
"type": "index"
|
787
|
-
}
|
788
|
-
]
|
789
|
-
}
|
790
|
-
],
|
791
|
-
"attributes": [
|
792
|
-
{
|
793
|
-
"name": "value",
|
794
|
-
"default": "-",
|
795
|
-
"description": "the `code` of selected area",
|
715
|
+
"name": "show-area",
|
716
|
+
"default": "`true`",
|
717
|
+
"description": "Whether to show area cell",
|
796
718
|
"options": [],
|
797
719
|
"value": {
|
798
|
-
"type": "
|
720
|
+
"type": "boolean",
|
799
721
|
"kind": "expression"
|
800
722
|
}
|
801
723
|
},
|
802
724
|
{
|
803
|
-
"name": "
|
804
|
-
"default": "
|
805
|
-
"description": "
|
725
|
+
"name": "show-detail",
|
726
|
+
"default": "`true`",
|
727
|
+
"description": "Whether to show detail field",
|
806
728
|
"options": [],
|
807
729
|
"value": {
|
808
|
-
"type": "
|
730
|
+
"type": "boolean",
|
809
731
|
"kind": "expression"
|
810
732
|
}
|
811
733
|
},
|
812
734
|
{
|
813
|
-
"name": "
|
814
|
-
"default": "`
|
815
|
-
"description": "
|
735
|
+
"name": "disable-area",
|
736
|
+
"default": "`false`",
|
737
|
+
"description": "Whether to disable area select",
|
816
738
|
"options": [],
|
817
739
|
"value": {
|
818
|
-
"type": "
|
740
|
+
"type": "boolean",
|
819
741
|
"kind": "expression"
|
820
742
|
}
|
821
743
|
},
|
822
744
|
{
|
823
|
-
"name": "
|
824
|
-
"default": "`
|
825
|
-
"description": "
|
745
|
+
"name": "save-button-text",
|
746
|
+
"default": "`Save`",
|
747
|
+
"description": "Save button text",
|
826
748
|
"options": [],
|
827
749
|
"value": {
|
828
750
|
"type": "string",
|
@@ -830,39 +752,39 @@
|
|
830
752
|
}
|
831
753
|
},
|
832
754
|
{
|
833
|
-
"name": "
|
834
|
-
"default": "
|
835
|
-
"description": "
|
755
|
+
"name": "delete-button-text",
|
756
|
+
"default": "`Delete`",
|
757
|
+
"description": "Delete button text",
|
836
758
|
"options": [],
|
837
759
|
"value": {
|
838
|
-
"type": "
|
760
|
+
"type": "string",
|
839
761
|
"kind": "expression"
|
840
762
|
}
|
841
763
|
},
|
842
764
|
{
|
843
|
-
"name": "
|
844
|
-
"default": "`
|
845
|
-
"description": "
|
765
|
+
"name": "detail-rows",
|
766
|
+
"default": "`1`",
|
767
|
+
"description": "Detail input rows",
|
846
768
|
"options": [],
|
847
769
|
"value": {
|
848
|
-
"type": "string
|
770
|
+
"type": "number | string",
|
849
771
|
"kind": "expression"
|
850
772
|
}
|
851
773
|
},
|
852
774
|
{
|
853
|
-
"name": "
|
854
|
-
"default": "`
|
855
|
-
"description": "
|
775
|
+
"name": "detail-maxlength",
|
776
|
+
"default": "`200`",
|
777
|
+
"description": "Detail maxlength",
|
856
778
|
"options": [],
|
857
779
|
"value": {
|
858
|
-
"type": "
|
780
|
+
"type": "number | string",
|
859
781
|
"kind": "expression"
|
860
782
|
}
|
861
783
|
},
|
862
784
|
{
|
863
|
-
"name": "
|
785
|
+
"name": "is-saving",
|
864
786
|
"default": "`false`",
|
865
|
-
"description": "Whether to
|
787
|
+
"description": "Whether to show save button loading status",
|
866
788
|
"options": [],
|
867
789
|
"value": {
|
868
790
|
"type": "boolean",
|
@@ -870,29 +792,29 @@
|
|
870
792
|
}
|
871
793
|
},
|
872
794
|
{
|
873
|
-
"name": "
|
874
|
-
"default": "`
|
875
|
-
"description": "
|
795
|
+
"name": "is-deleting",
|
796
|
+
"default": "`false`",
|
797
|
+
"description": "Whether to show delete button loading status",
|
876
798
|
"options": [],
|
877
799
|
"value": {
|
878
|
-
"type": "
|
800
|
+
"type": "boolean",
|
879
801
|
"kind": "expression"
|
880
802
|
}
|
881
803
|
},
|
882
804
|
{
|
883
|
-
"name": "
|
884
|
-
"default": "
|
885
|
-
"description": "
|
805
|
+
"name": "tel-validator",
|
806
|
+
"default": "-",
|
807
|
+
"description": "The method to validate tel",
|
886
808
|
"options": [],
|
887
809
|
"value": {
|
888
|
-
"type": "
|
810
|
+
"type": "(tel: string) => boolean",
|
889
811
|
"kind": "expression"
|
890
812
|
}
|
891
813
|
},
|
892
814
|
{
|
893
|
-
"name": "
|
894
|
-
"default": "
|
895
|
-
"description": "
|
815
|
+
"name": "tel-maxlength",
|
816
|
+
"default": "-",
|
817
|
+
"description": "Tel maxlength",
|
896
818
|
"options": [],
|
897
819
|
"value": {
|
898
820
|
"type": "number | string",
|
@@ -900,105 +822,189 @@
|
|
900
822
|
}
|
901
823
|
},
|
902
824
|
{
|
903
|
-
"name": "
|
904
|
-
"default": "
|
905
|
-
"description": "
|
825
|
+
"name": "postal-validator",
|
826
|
+
"default": "-",
|
827
|
+
"description": "The method to validate postal",
|
906
828
|
"options": [],
|
907
829
|
"value": {
|
908
|
-
"type": "
|
830
|
+
"type": "(tel: string) => boolean",
|
909
831
|
"kind": "expression"
|
910
832
|
}
|
911
833
|
},
|
912
834
|
{
|
913
|
-
"name": "
|
835
|
+
"name": "validator",
|
914
836
|
"default": "-",
|
915
|
-
"description": "
|
837
|
+
"description": "Custom validator",
|
916
838
|
"options": [],
|
917
839
|
"value": {
|
918
|
-
"type": "() =>
|
840
|
+
"type": "(key, val) => string",
|
919
841
|
"kind": "expression"
|
920
842
|
}
|
921
843
|
}
|
922
844
|
]
|
923
845
|
},
|
924
846
|
{
|
925
|
-
"name": "van-
|
847
|
+
"name": "van-address-list",
|
926
848
|
"slots": [
|
927
849
|
{
|
928
850
|
"name": "default",
|
929
|
-
"description": "
|
851
|
+
"description": "Custom content after list"
|
930
852
|
},
|
931
853
|
{
|
932
|
-
"name": "
|
933
|
-
"description": "Custom
|
854
|
+
"name": "top",
|
855
|
+
"description": "Custom content before list"
|
856
|
+
},
|
857
|
+
{
|
858
|
+
"name": "item-bottom",
|
859
|
+
"description": "Custom content after list item"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"name": "tag",
|
863
|
+
"description": "Custom tag of list item"
|
864
|
+
}
|
865
|
+
],
|
866
|
+
"events": [
|
867
|
+
{
|
868
|
+
"name": "add",
|
869
|
+
"description": "Emitted when the add button is clicked",
|
870
|
+
"arguments": []
|
871
|
+
},
|
872
|
+
{
|
873
|
+
"name": "edit",
|
874
|
+
"description": "Emitted when the edit icon of address is clicked",
|
875
|
+
"arguments": [
|
876
|
+
{
|
877
|
+
"name": "item",
|
878
|
+
"type": "Address"
|
879
|
+
},
|
880
|
+
{
|
881
|
+
"name": "index",
|
882
|
+
"type": "number"
|
883
|
+
}
|
884
|
+
]
|
885
|
+
},
|
886
|
+
{
|
887
|
+
"name": "select",
|
888
|
+
"description": "Emitted when an address is selected",
|
889
|
+
"arguments": [
|
890
|
+
{
|
891
|
+
"name": "item",
|
892
|
+
"type": "Address"
|
893
|
+
},
|
894
|
+
{
|
895
|
+
"name": "index",
|
896
|
+
"type": "number"
|
897
|
+
}
|
898
|
+
]
|
899
|
+
},
|
900
|
+
{
|
901
|
+
"name": "edit-disabled",
|
902
|
+
"description": "Emitted when the edit icon of disabled address is clicked",
|
903
|
+
"arguments": [
|
904
|
+
{
|
905
|
+
"name": "item",
|
906
|
+
"type": "Address"
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"name": "index",
|
910
|
+
"type": "number"
|
911
|
+
}
|
912
|
+
]
|
913
|
+
},
|
914
|
+
{
|
915
|
+
"name": "select-disabled",
|
916
|
+
"description": "Emitted when a disabled address is selected",
|
917
|
+
"arguments": [
|
918
|
+
{
|
919
|
+
"name": "item",
|
920
|
+
"type": "Address"
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"name": "index",
|
924
|
+
"type": "number"
|
925
|
+
}
|
926
|
+
]
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"name": "click-item",
|
930
|
+
"description": "Emitted when an address item is clicked",
|
931
|
+
"arguments": [
|
932
|
+
{
|
933
|
+
"name": "item",
|
934
|
+
"type": "Address"
|
935
|
+
},
|
936
|
+
{
|
937
|
+
"name": "index",
|
938
|
+
"type": "number"
|
939
|
+
}
|
940
|
+
]
|
934
941
|
}
|
935
942
|
],
|
936
|
-
"events": [],
|
937
943
|
"attributes": [
|
938
944
|
{
|
939
|
-
"name": "
|
945
|
+
"name": "v-model",
|
940
946
|
"default": "-",
|
941
|
-
"description": "
|
947
|
+
"description": "Id of chosen address",
|
942
948
|
"options": [],
|
943
949
|
"value": {
|
944
|
-
"type": "
|
950
|
+
"type": "string",
|
945
951
|
"kind": "expression"
|
946
952
|
}
|
947
953
|
},
|
948
954
|
{
|
949
|
-
"name": "
|
950
|
-
"default": "
|
951
|
-
"description": "
|
955
|
+
"name": "list",
|
956
|
+
"default": "`[]`",
|
957
|
+
"description": "Address list",
|
952
958
|
"options": [],
|
953
959
|
"value": {
|
954
|
-
"type": "
|
960
|
+
"type": "Address[]",
|
955
961
|
"kind": "expression"
|
956
962
|
}
|
957
963
|
},
|
958
964
|
{
|
959
|
-
"name": "
|
960
|
-
"default": "`
|
961
|
-
"description": "
|
965
|
+
"name": "disabled-list",
|
966
|
+
"default": "`[]`",
|
967
|
+
"description": "Disabled address list",
|
962
968
|
"options": [],
|
963
969
|
"value": {
|
964
|
-
"type": "
|
970
|
+
"type": "Address[]",
|
965
971
|
"kind": "expression"
|
966
972
|
}
|
967
973
|
},
|
968
974
|
{
|
969
|
-
"name": "
|
975
|
+
"name": "disabled-text",
|
970
976
|
"default": "-",
|
971
|
-
"description": "
|
977
|
+
"description": "Disabled text",
|
972
978
|
"options": [],
|
973
979
|
"value": {
|
974
|
-
"type": "
|
980
|
+
"type": "string",
|
975
981
|
"kind": "expression"
|
976
982
|
}
|
977
983
|
},
|
978
984
|
{
|
979
|
-
"name": "
|
980
|
-
"default": "
|
981
|
-
"description": "
|
985
|
+
"name": "switchable",
|
986
|
+
"default": "`true`",
|
987
|
+
"description": "Whether to allow switch address",
|
982
988
|
"options": [],
|
983
989
|
"value": {
|
984
|
-
"type": "
|
990
|
+
"type": "boolean",
|
985
991
|
"kind": "expression"
|
986
992
|
}
|
987
993
|
},
|
988
994
|
{
|
989
|
-
"name": "
|
990
|
-
"default": "`
|
991
|
-
"description": "
|
995
|
+
"name": "add-button-text",
|
996
|
+
"default": "`Add new address`",
|
997
|
+
"description": "Add button text",
|
992
998
|
"options": [],
|
993
999
|
"value": {
|
994
|
-
"type": "
|
1000
|
+
"type": "string",
|
995
1001
|
"kind": "expression"
|
996
1002
|
}
|
997
1003
|
},
|
998
1004
|
{
|
999
|
-
"name": "
|
1000
|
-
"default": "
|
1001
|
-
"description": "
|
1005
|
+
"name": "default-tag-text",
|
1006
|
+
"default": "-",
|
1007
|
+
"description": "Default tag text",
|
1002
1008
|
"options": [],
|
1003
1009
|
"value": {
|
1004
1010
|
"type": "string",
|
@@ -1008,48 +1014,69 @@
|
|
1008
1014
|
]
|
1009
1015
|
},
|
1010
1016
|
{
|
1011
|
-
"name": "van-
|
1017
|
+
"name": "van-area",
|
1012
1018
|
"slots": [
|
1013
1019
|
{
|
1014
|
-
"name": "
|
1015
|
-
"description": "
|
1020
|
+
"name": "toolbar",
|
1021
|
+
"description": "Custom toolbar content"
|
1016
1022
|
},
|
1017
1023
|
{
|
1018
|
-
"name": "
|
1019
|
-
"description": "Custom
|
1024
|
+
"name": "title",
|
1025
|
+
"description": "Custom title"
|
1020
1026
|
},
|
1021
1027
|
{
|
1022
|
-
"name": "
|
1023
|
-
"description": "Custom
|
1028
|
+
"name": "confirm",
|
1029
|
+
"description": "Custom confirm button text"
|
1030
|
+
},
|
1031
|
+
{
|
1032
|
+
"name": "cancel",
|
1033
|
+
"description": "Custom cancel button text"
|
1034
|
+
},
|
1035
|
+
{
|
1036
|
+
"name": "columns-top",
|
1037
|
+
"description": "Custom content above columns"
|
1038
|
+
},
|
1039
|
+
{
|
1040
|
+
"name": "columns-bottom",
|
1041
|
+
"description": "Custom content below columns"
|
1024
1042
|
}
|
1025
1043
|
],
|
1026
1044
|
"events": [
|
1027
1045
|
{
|
1028
|
-
"name": "
|
1029
|
-
"description": "Emitted when button is clicked
|
1046
|
+
"name": "confirm",
|
1047
|
+
"description": "Emitted when the confirm button is clicked",
|
1030
1048
|
"arguments": [
|
1031
1049
|
{
|
1032
|
-
"name": "
|
1033
|
-
"type": "
|
1050
|
+
"name": "result",
|
1051
|
+
"type": "ConfirmResult"
|
1034
1052
|
}
|
1035
1053
|
]
|
1036
1054
|
},
|
1037
1055
|
{
|
1038
|
-
"name": "
|
1039
|
-
"description": "Emitted when button is
|
1056
|
+
"name": "cancel",
|
1057
|
+
"description": "Emitted when the cancel button is clicked",
|
1058
|
+
"arguments": []
|
1059
|
+
},
|
1060
|
+
{
|
1061
|
+
"name": "change",
|
1062
|
+
"description": "Emitted when current option changed",
|
1040
1063
|
"arguments": [
|
1041
1064
|
{
|
1042
|
-
"name": "
|
1043
|
-
"type": "
|
1065
|
+
"name": "current",
|
1066
|
+
"type": "values"
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"name": "column",
|
1070
|
+
"type": "index"
|
1044
1071
|
}
|
1045
1072
|
]
|
1046
1073
|
}
|
1047
1074
|
],
|
1048
1075
|
"attributes": [
|
1049
1076
|
{
|
1050
|
-
"name": "
|
1051
|
-
"default": "
|
1052
|
-
"description": "
|
1077
|
+
"name": "value",
|
1078
|
+
"default": "-",
|
1079
|
+
"description": "the `code` of selected area",
|
1053
1080
|
"options": [],
|
1054
1081
|
"value": {
|
1055
1082
|
"type": "string",
|
@@ -1057,9 +1084,9 @@
|
|
1057
1084
|
}
|
1058
1085
|
},
|
1059
1086
|
{
|
1060
|
-
"name": "
|
1061
|
-
"default": "
|
1062
|
-
"description": "
|
1087
|
+
"name": "title",
|
1088
|
+
"default": "-",
|
1089
|
+
"description": "Toolbar title",
|
1063
1090
|
"options": [],
|
1064
1091
|
"value": {
|
1065
1092
|
"type": "string",
|
@@ -1067,9 +1094,9 @@
|
|
1067
1094
|
}
|
1068
1095
|
},
|
1069
1096
|
{
|
1070
|
-
"name": "text",
|
1071
|
-
"default": "
|
1072
|
-
"description": "Text",
|
1097
|
+
"name": "confirm-button-text",
|
1098
|
+
"default": "`Confirm`",
|
1099
|
+
"description": "Text of confirm button",
|
1073
1100
|
"options": [],
|
1074
1101
|
"value": {
|
1075
1102
|
"type": "string",
|
@@ -1077,9 +1104,9 @@
|
|
1077
1104
|
}
|
1078
1105
|
},
|
1079
1106
|
{
|
1080
|
-
"name": "
|
1081
|
-
"default": "
|
1082
|
-
"description": "
|
1107
|
+
"name": "cancel-button-text",
|
1108
|
+
"default": "`Cancel`",
|
1109
|
+
"description": "Text of cancel button",
|
1083
1110
|
"options": [],
|
1084
1111
|
"value": {
|
1085
1112
|
"type": "string",
|
@@ -1087,119 +1114,125 @@
|
|
1087
1114
|
}
|
1088
1115
|
},
|
1089
1116
|
{
|
1090
|
-
"name": "
|
1117
|
+
"name": "area-list",
|
1091
1118
|
"default": "-",
|
1092
|
-
"description": "
|
1119
|
+
"description": "Area list data",
|
1093
1120
|
"options": [],
|
1094
1121
|
"value": {
|
1095
|
-
"type": "
|
1122
|
+
"type": "object",
|
1096
1123
|
"kind": "expression"
|
1097
1124
|
}
|
1098
1125
|
},
|
1099
1126
|
{
|
1100
|
-
"name": "
|
1101
|
-
"default": "`
|
1102
|
-
"description": "
|
1127
|
+
"name": "columns-placeholder",
|
1128
|
+
"default": "`[]`",
|
1129
|
+
"description": "Placeholder of columns",
|
1103
1130
|
"options": [],
|
1104
1131
|
"value": {
|
1105
|
-
"type": "string",
|
1132
|
+
"type": "string[]",
|
1106
1133
|
"kind": "expression"
|
1107
1134
|
}
|
1108
1135
|
},
|
1109
1136
|
{
|
1110
|
-
"name": "
|
1111
|
-
"default": "`
|
1112
|
-
"description": "
|
1137
|
+
"name": "loading",
|
1138
|
+
"default": "`false`",
|
1139
|
+
"description": "Whether to show loading prompt",
|
1113
1140
|
"options": [],
|
1114
1141
|
"value": {
|
1115
|
-
"type": "
|
1142
|
+
"type": "boolean",
|
1116
1143
|
"kind": "expression"
|
1117
1144
|
}
|
1118
1145
|
},
|
1119
1146
|
{
|
1120
|
-
"name": "
|
1121
|
-
"default": "`
|
1122
|
-
"description": "
|
1147
|
+
"name": "readonly",
|
1148
|
+
"default": "`false`",
|
1149
|
+
"description": "Whether to be readonly",
|
1123
1150
|
"options": [],
|
1124
1151
|
"value": {
|
1125
|
-
"type": "
|
1152
|
+
"type": "boolean",
|
1126
1153
|
"kind": "expression"
|
1127
1154
|
}
|
1128
1155
|
},
|
1129
1156
|
{
|
1130
|
-
"name": "
|
1131
|
-
"default": "`
|
1132
|
-
"description": "
|
1157
|
+
"name": "item-height",
|
1158
|
+
"default": "`44`",
|
1159
|
+
"description": "Option height, supports `px` `vw` `vh` `rem` unit, default `px`",
|
1133
1160
|
"options": [],
|
1134
1161
|
"value": {
|
1135
|
-
"type": "string",
|
1162
|
+
"type": "number | string",
|
1136
1163
|
"kind": "expression"
|
1137
1164
|
}
|
1138
1165
|
},
|
1139
1166
|
{
|
1140
|
-
"name": "
|
1141
|
-
"default": "`
|
1142
|
-
"description": "
|
1167
|
+
"name": "columns-num",
|
1168
|
+
"default": "`3`",
|
1169
|
+
"description": "Level of picker",
|
1143
1170
|
"options": [],
|
1144
1171
|
"value": {
|
1145
|
-
"type": "
|
1172
|
+
"type": "number | string",
|
1146
1173
|
"kind": "expression"
|
1147
1174
|
}
|
1148
1175
|
},
|
1149
1176
|
{
|
1150
|
-
"name": "
|
1151
|
-
"default": "`
|
1152
|
-
"description": "
|
1177
|
+
"name": "visible-item-count",
|
1178
|
+
"default": "`6`",
|
1179
|
+
"description": "Count of visible columns",
|
1153
1180
|
"options": [],
|
1154
1181
|
"value": {
|
1155
|
-
"type": "
|
1182
|
+
"type": "number | string",
|
1156
1183
|
"kind": "expression"
|
1157
1184
|
}
|
1158
1185
|
},
|
1159
1186
|
{
|
1160
|
-
"name": "
|
1161
|
-
"default": "`
|
1162
|
-
"description": "
|
1187
|
+
"name": "swipe-duration",
|
1188
|
+
"default": "`1000`",
|
1189
|
+
"description": "Duration of the momentum animation, unit `ms`",
|
1163
1190
|
"options": [],
|
1164
1191
|
"value": {
|
1165
|
-
"type": "
|
1192
|
+
"type": "number | string",
|
1166
1193
|
"kind": "expression"
|
1167
1194
|
}
|
1168
1195
|
},
|
1169
1196
|
{
|
1170
|
-
"name": "
|
1171
|
-
"default": "
|
1172
|
-
"description": "
|
1197
|
+
"name": "is-oversea-code",
|
1198
|
+
"default": "-",
|
1199
|
+
"description": "The method to validate oversea code",
|
1173
1200
|
"options": [],
|
1174
1201
|
"value": {
|
1175
|
-
"type": "boolean",
|
1202
|
+
"type": "() => boolean",
|
1176
1203
|
"kind": "expression"
|
1177
1204
|
}
|
1178
|
-
}
|
1205
|
+
}
|
1206
|
+
]
|
1207
|
+
},
|
1208
|
+
{
|
1209
|
+
"name": "van-badge",
|
1210
|
+
"slots": [
|
1179
1211
|
{
|
1180
|
-
"name": "
|
1181
|
-
"
|
1182
|
-
"description": "Whether to disable button",
|
1183
|
-
"options": [],
|
1184
|
-
"value": {
|
1185
|
-
"type": "boolean",
|
1186
|
-
"kind": "expression"
|
1187
|
-
}
|
1212
|
+
"name": "default",
|
1213
|
+
"description": "Default slot"
|
1188
1214
|
},
|
1189
1215
|
{
|
1190
|
-
"name": "
|
1191
|
-
"
|
1192
|
-
|
1216
|
+
"name": "content",
|
1217
|
+
"description": "Custom badge content"
|
1218
|
+
}
|
1219
|
+
],
|
1220
|
+
"events": [],
|
1221
|
+
"attributes": [
|
1222
|
+
{
|
1223
|
+
"name": "content",
|
1224
|
+
"default": "-",
|
1225
|
+
"description": "Badge content",
|
1193
1226
|
"options": [],
|
1194
1227
|
"value": {
|
1195
|
-
"type": "
|
1228
|
+
"type": "number | string",
|
1196
1229
|
"kind": "expression"
|
1197
1230
|
}
|
1198
1231
|
},
|
1199
1232
|
{
|
1200
|
-
"name": "
|
1201
|
-
"default": "
|
1202
|
-
"description": "
|
1233
|
+
"name": "color",
|
1234
|
+
"default": "`#ee0a24`",
|
1235
|
+
"description": "Background color",
|
1203
1236
|
"options": [],
|
1204
1237
|
"value": {
|
1205
1238
|
"type": "string",
|
@@ -1207,19 +1240,19 @@
|
|
1207
1240
|
}
|
1208
1241
|
},
|
1209
1242
|
{
|
1210
|
-
"name": "
|
1211
|
-
"default": "`
|
1212
|
-
"description": "
|
1243
|
+
"name": "dot",
|
1244
|
+
"default": "`false`",
|
1245
|
+
"description": "Whether to show dot",
|
1213
1246
|
"options": [],
|
1214
1247
|
"value": {
|
1215
|
-
"type": "
|
1248
|
+
"type": "boolean",
|
1216
1249
|
"kind": "expression"
|
1217
1250
|
}
|
1218
1251
|
},
|
1219
1252
|
{
|
1220
|
-
"name": "
|
1221
|
-
"default": "
|
1222
|
-
"description": "
|
1253
|
+
"name": "max",
|
1254
|
+
"default": "-",
|
1255
|
+
"description": "Max value, show `{max}+` when exceed, only works when content is number",
|
1223
1256
|
"options": [],
|
1224
1257
|
"value": {
|
1225
1258
|
"type": "number | string",
|
@@ -1227,133 +1260,100 @@
|
|
1227
1260
|
}
|
1228
1261
|
},
|
1229
1262
|
{
|
1230
|
-
"name": "
|
1263
|
+
"name": "offset",
|
1231
1264
|
"default": "-",
|
1232
|
-
"description": "
|
1265
|
+
"description": "Offset of badge dot",
|
1233
1266
|
"options": [],
|
1234
1267
|
"value": {
|
1235
|
-
"type": "string",
|
1268
|
+
"type": "[number | string, number | string]",
|
1236
1269
|
"kind": "expression"
|
1237
1270
|
}
|
1238
1271
|
},
|
1239
1272
|
{
|
1240
|
-
"name": "
|
1241
|
-
"default": "
|
1242
|
-
"description": "
|
1273
|
+
"name": "show-zero",
|
1274
|
+
"default": "`true`",
|
1275
|
+
"description": "Whether to show badge when content is zero",
|
1243
1276
|
"options": [],
|
1244
1277
|
"value": {
|
1245
|
-
"type": "
|
1278
|
+
"type": "boolean",
|
1246
1279
|
"kind": "expression"
|
1247
1280
|
}
|
1248
1281
|
},
|
1249
1282
|
{
|
1250
|
-
"name": "
|
1251
|
-
"default": "`
|
1252
|
-
"description": "
|
1283
|
+
"name": "position",
|
1284
|
+
"default": "`top-right`",
|
1285
|
+
"description": "Badge position, can be set to `top-left` `bottom-left` `bottom-right`",
|
1253
1286
|
"options": [],
|
1254
1287
|
"value": {
|
1255
|
-
"type": "
|
1288
|
+
"type": "string",
|
1256
1289
|
"kind": "expression"
|
1257
1290
|
}
|
1258
1291
|
}
|
1259
1292
|
]
|
1260
1293
|
},
|
1261
1294
|
{
|
1262
|
-
"name": "van-
|
1295
|
+
"name": "van-button",
|
1263
1296
|
"slots": [
|
1264
1297
|
{
|
1265
1298
|
"name": "default",
|
1266
|
-
"description": "
|
1267
|
-
},
|
1268
|
-
{
|
1269
|
-
"name": "description",
|
1270
|
-
"description": "Custom description above the options"
|
1299
|
+
"description": "Default slot"
|
1271
1300
|
},
|
1272
1301
|
{
|
1273
|
-
"name": "
|
1274
|
-
"description": "Custom
|
1302
|
+
"name": "icon",
|
1303
|
+
"description": "Custom icon"
|
1275
1304
|
},
|
1276
1305
|
{
|
1277
|
-
"name": "
|
1278
|
-
"description": "Custom
|
1306
|
+
"name": "loading",
|
1307
|
+
"description": "Custom loading icon"
|
1279
1308
|
}
|
1280
1309
|
],
|
1281
1310
|
"events": [
|
1282
1311
|
{
|
1283
|
-
"name": "
|
1284
|
-
"description": "Emitted when
|
1312
|
+
"name": "click",
|
1313
|
+
"description": "Emitted when button is clicked and not disabled or loading",
|
1285
1314
|
"arguments": [
|
1286
1315
|
{
|
1287
|
-
"name": "
|
1288
|
-
"type": "
|
1289
|
-
},
|
1290
|
-
{
|
1291
|
-
"name": "index",
|
1292
|
-
"type": "number"
|
1316
|
+
"name": "event",
|
1317
|
+
"type": "MouseEvent"
|
1293
1318
|
}
|
1294
1319
|
]
|
1295
1320
|
},
|
1296
1321
|
{
|
1297
|
-
"name": "
|
1298
|
-
"description": "Emitted when
|
1299
|
-
"arguments": []
|
1300
|
-
},
|
1301
|
-
{
|
1302
|
-
"name": "open",
|
1303
|
-
"description": "Emitted when opening ActionSheet",
|
1304
|
-
"arguments": []
|
1305
|
-
},
|
1306
|
-
{
|
1307
|
-
"name": "close",
|
1308
|
-
"description": "Emitted when closing ActionSheet",
|
1309
|
-
"arguments": []
|
1310
|
-
},
|
1311
|
-
{
|
1312
|
-
"name": "opened",
|
1313
|
-
"description": "Emitted when ActionSheet is opened",
|
1314
|
-
"arguments": []
|
1315
|
-
},
|
1316
|
-
{
|
1317
|
-
"name": "closed",
|
1318
|
-
"description": "Emitted when ActionSheet is closed",
|
1319
|
-
"arguments": []
|
1320
|
-
},
|
1321
|
-
{
|
1322
|
-
"name": "click-overlay",
|
1323
|
-
"description": "Emitted when overlay is clicked",
|
1322
|
+
"name": "touchstart",
|
1323
|
+
"description": "Emitted when button is touched",
|
1324
1324
|
"arguments": [
|
1325
1325
|
{
|
1326
1326
|
"name": "event",
|
1327
|
-
"type": "
|
1327
|
+
"type": "TouchEvent"
|
1328
1328
|
}
|
1329
1329
|
]
|
1330
1330
|
}
|
1331
1331
|
],
|
1332
1332
|
"attributes": [
|
1333
1333
|
{
|
1334
|
-
"name": "
|
1335
|
-
"default": "`
|
1336
|
-
"description": "
|
1334
|
+
"name": "type",
|
1335
|
+
"default": "`default`",
|
1336
|
+
"description": "Can be set to `primary` `success` `warning` `danger`",
|
1337
1337
|
"options": [],
|
1338
1338
|
"value": {
|
1339
|
-
"type": "
|
1339
|
+
"type": "string",
|
1340
1340
|
"kind": "expression"
|
1341
1341
|
}
|
1342
1342
|
},
|
1343
1343
|
{
|
1344
|
-
"name": "
|
1345
|
-
"default": "`
|
1346
|
-
"description": "
|
1344
|
+
"name": "size",
|
1345
|
+
"default": "`normal`",
|
1346
|
+
"description": "Can be set to `large` `small` `mini`",
|
1347
1347
|
"options": [],
|
1348
1348
|
"value": {
|
1349
|
-
"type": "
|
1349
|
+
"type": "string",
|
1350
1350
|
"kind": "expression"
|
1351
1351
|
}
|
1352
1352
|
},
|
1353
1353
|
{
|
1354
|
-
"name": "
|
1354
|
+
"name": "text",
|
1355
1355
|
"default": "-",
|
1356
|
-
"description": "
|
1356
|
+
"description": "Text",
|
1357
1357
|
"options": [],
|
1358
1358
|
"value": {
|
1359
1359
|
"type": "string",
|
@@ -1361,9 +1361,9 @@
|
|
1361
1361
|
}
|
1362
1362
|
},
|
1363
1363
|
{
|
1364
|
-
"name": "
|
1364
|
+
"name": "color",
|
1365
1365
|
"default": "-",
|
1366
|
-
"description": "
|
1366
|
+
"description": "Color, support linear-gradient",
|
1367
1367
|
"options": [],
|
1368
1368
|
"value": {
|
1369
1369
|
"type": "string",
|
@@ -1371,9 +1371,9 @@
|
|
1371
1371
|
}
|
1372
1372
|
},
|
1373
1373
|
{
|
1374
|
-
"name": "
|
1374
|
+
"name": "icon",
|
1375
1375
|
"default": "-",
|
1376
|
-
"description": "
|
1376
|
+
"description": "Left Icon",
|
1377
1377
|
"options": [],
|
1378
1378
|
"value": {
|
1379
1379
|
"type": "string",
|
@@ -1381,19 +1381,19 @@
|
|
1381
1381
|
}
|
1382
1382
|
},
|
1383
1383
|
{
|
1384
|
-
"name": "
|
1385
|
-
"default": "`
|
1386
|
-
"description": "
|
1384
|
+
"name": "icon-prefix",
|
1385
|
+
"default": "`van-icon`",
|
1386
|
+
"description": "Icon className prefix",
|
1387
1387
|
"options": [],
|
1388
1388
|
"value": {
|
1389
|
-
"type": "
|
1389
|
+
"type": "string",
|
1390
1390
|
"kind": "expression"
|
1391
1391
|
}
|
1392
1392
|
},
|
1393
1393
|
{
|
1394
|
-
"name": "
|
1395
|
-
"default": "`
|
1396
|
-
"description": "
|
1394
|
+
"name": "icon-position",
|
1395
|
+
"default": "`left`",
|
1396
|
+
"description": "Icon position, can be set to `right`",
|
1397
1397
|
"options": [],
|
1398
1398
|
"value": {
|
1399
1399
|
"type": "string",
|
@@ -1401,29 +1401,29 @@
|
|
1401
1401
|
}
|
1402
1402
|
},
|
1403
1403
|
{
|
1404
|
-
"name": "
|
1405
|
-
"default": "`
|
1406
|
-
"description": "
|
1404
|
+
"name": "tag",
|
1405
|
+
"default": "`button`",
|
1406
|
+
"description": "HTML Tag",
|
1407
1407
|
"options": [],
|
1408
1408
|
"value": {
|
1409
|
-
"type": "
|
1409
|
+
"type": "string",
|
1410
1410
|
"kind": "expression"
|
1411
1411
|
}
|
1412
1412
|
},
|
1413
1413
|
{
|
1414
|
-
"name": "
|
1415
|
-
"default": "`
|
1416
|
-
"description": "
|
1414
|
+
"name": "native-type",
|
1415
|
+
"default": "`button`",
|
1416
|
+
"description": "Native Type Attribute",
|
1417
1417
|
"options": [],
|
1418
1418
|
"value": {
|
1419
|
-
"type": "
|
1419
|
+
"type": "string",
|
1420
1420
|
"kind": "expression"
|
1421
1421
|
}
|
1422
1422
|
},
|
1423
1423
|
{
|
1424
|
-
"name": "
|
1425
|
-
"default": "`
|
1426
|
-
"description": "Whether to
|
1424
|
+
"name": "plain",
|
1425
|
+
"default": "`false`",
|
1426
|
+
"description": "Whether to be plain button",
|
1427
1427
|
"options": [],
|
1428
1428
|
"value": {
|
1429
1429
|
"type": "boolean",
|
@@ -1431,29 +1431,29 @@
|
|
1431
1431
|
}
|
1432
1432
|
},
|
1433
1433
|
{
|
1434
|
-
"name": "
|
1435
|
-
"default": "
|
1436
|
-
"description": "
|
1434
|
+
"name": "block",
|
1435
|
+
"default": "`false`",
|
1436
|
+
"description": "Whether to set display block",
|
1437
1437
|
"options": [],
|
1438
1438
|
"value": {
|
1439
|
-
"type": "
|
1439
|
+
"type": "boolean",
|
1440
1440
|
"kind": "expression"
|
1441
1441
|
}
|
1442
1442
|
},
|
1443
1443
|
{
|
1444
|
-
"name": "
|
1445
|
-
"default": "
|
1446
|
-
"description": "
|
1444
|
+
"name": "round",
|
1445
|
+
"default": "`false`",
|
1446
|
+
"description": "Whether to be round button",
|
1447
1447
|
"options": [],
|
1448
1448
|
"value": {
|
1449
|
-
"type": "
|
1449
|
+
"type": "boolean",
|
1450
1450
|
"kind": "expression"
|
1451
1451
|
}
|
1452
1452
|
},
|
1453
1453
|
{
|
1454
|
-
"name": "
|
1455
|
-
"default": "`
|
1456
|
-
"description": "Whether to
|
1454
|
+
"name": "square",
|
1455
|
+
"default": "`false`",
|
1456
|
+
"description": "Whether to be square button",
|
1457
1457
|
"options": [],
|
1458
1458
|
"value": {
|
1459
1459
|
"type": "boolean",
|
@@ -1461,9 +1461,9 @@
|
|
1461
1461
|
}
|
1462
1462
|
},
|
1463
1463
|
{
|
1464
|
-
"name": "
|
1465
|
-
"default": "`
|
1466
|
-
"description": "Whether to
|
1464
|
+
"name": "disabled",
|
1465
|
+
"default": "`false`",
|
1466
|
+
"description": "Whether to disable button",
|
1467
1467
|
"options": [],
|
1468
1468
|
"value": {
|
1469
1469
|
"type": "boolean",
|
@@ -1471,9 +1471,9 @@
|
|
1471
1471
|
}
|
1472
1472
|
},
|
1473
1473
|
{
|
1474
|
-
"name": "
|
1475
|
-
"default": "`
|
1476
|
-
"description": "Whether to
|
1474
|
+
"name": "loading",
|
1475
|
+
"default": "`false`",
|
1476
|
+
"description": "Whether to show loading status",
|
1477
1477
|
"options": [],
|
1478
1478
|
"value": {
|
1479
1479
|
"type": "boolean",
|
@@ -1481,52 +1481,62 @@
|
|
1481
1481
|
}
|
1482
1482
|
},
|
1483
1483
|
{
|
1484
|
-
"name": "
|
1485
|
-
"default": "
|
1486
|
-
"description": "
|
1484
|
+
"name": "loading-text",
|
1485
|
+
"default": "-",
|
1486
|
+
"description": "Loading text",
|
1487
1487
|
"options": [],
|
1488
1488
|
"value": {
|
1489
|
-
"type": "
|
1489
|
+
"type": "string",
|
1490
1490
|
"kind": "expression"
|
1491
1491
|
}
|
1492
1492
|
},
|
1493
1493
|
{
|
1494
|
-
"name": "
|
1495
|
-
"default": "`
|
1496
|
-
"description": "
|
1494
|
+
"name": "loading-type",
|
1495
|
+
"default": "`circular`",
|
1496
|
+
"description": "Loading type, can be set to `spinner`",
|
1497
1497
|
"options": [],
|
1498
1498
|
"value": {
|
1499
|
-
"type": "
|
1499
|
+
"type": "string",
|
1500
1500
|
"kind": "expression"
|
1501
1501
|
}
|
1502
1502
|
},
|
1503
1503
|
{
|
1504
|
-
"name": "
|
1505
|
-
"default": "`
|
1506
|
-
"description": "
|
1504
|
+
"name": "loading-size",
|
1505
|
+
"default": "`20px`",
|
1506
|
+
"description": "Loading icon size",
|
1507
1507
|
"options": [],
|
1508
1508
|
"value": {
|
1509
|
-
"type": "
|
1509
|
+
"type": "number | string",
|
1510
1510
|
"kind": "expression"
|
1511
1511
|
}
|
1512
1512
|
},
|
1513
1513
|
{
|
1514
|
-
"name": "
|
1514
|
+
"name": "url",
|
1515
1515
|
"default": "-",
|
1516
|
-
"description": "
|
1516
|
+
"description": "Link URL",
|
1517
1517
|
"options": [],
|
1518
1518
|
"value": {
|
1519
|
-
"type": "string
|
1519
|
+
"type": "string",
|
1520
1520
|
"kind": "expression"
|
1521
1521
|
}
|
1522
1522
|
},
|
1523
1523
|
{
|
1524
|
-
"name": "
|
1524
|
+
"name": "to",
|
1525
1525
|
"default": "-",
|
1526
|
-
"description": "
|
1526
|
+
"description": "Target route of the link, same as using vue-router",
|
1527
1527
|
"options": [],
|
1528
1528
|
"value": {
|
1529
|
-
"type": "
|
1529
|
+
"type": "string | object",
|
1530
|
+
"kind": "expression"
|
1531
|
+
}
|
1532
|
+
},
|
1533
|
+
{
|
1534
|
+
"name": "replace",
|
1535
|
+
"default": "`false`",
|
1536
|
+
"description": "If true, the navigation will not leave a history record",
|
1537
|
+
"options": [],
|
1538
|
+
"value": {
|
1539
|
+
"type": "boolean",
|
1530
1540
|
"kind": "expression"
|
1531
1541
|
}
|
1532
1542
|
}
|
@@ -3461,48 +3471,35 @@
|
|
3461
3471
|
]
|
3462
3472
|
},
|
3463
3473
|
{
|
3464
|
-
"name": "van-
|
3465
|
-
"slots": [
|
3474
|
+
"name": "van-count-down",
|
3475
|
+
"slots": [
|
3476
|
+
{
|
3477
|
+
"name": "default",
|
3478
|
+
"description": "Custom Content"
|
3479
|
+
}
|
3480
|
+
],
|
3466
3481
|
"events": [
|
3467
3482
|
{
|
3468
|
-
"name": "
|
3469
|
-
"description": "Emitted when
|
3483
|
+
"name": "finish",
|
3484
|
+
"description": "Emitted when count down finished",
|
3470
3485
|
"arguments": []
|
3471
3486
|
},
|
3472
3487
|
{
|
3473
|
-
"name": "
|
3474
|
-
"description": "Emitted when
|
3475
|
-
"arguments": [
|
3476
|
-
{
|
3477
|
-
"name": "contact",
|
3478
|
-
"type": "Contact"
|
3479
|
-
},
|
3480
|
-
{
|
3481
|
-
"name": "index",
|
3482
|
-
"type": "number"
|
3483
|
-
}
|
3484
|
-
]
|
3485
|
-
},
|
3486
|
-
{
|
3487
|
-
"name": "select",
|
3488
|
-
"description": "Emitted when a contact is selected",
|
3488
|
+
"name": "change",
|
3489
|
+
"description": "Emitted when count down changed",
|
3489
3490
|
"arguments": [
|
3490
3491
|
{
|
3491
|
-
"name": "
|
3492
|
-
"type": "
|
3493
|
-
},
|
3494
|
-
{
|
3495
|
-
"name": "index",
|
3496
|
-
"type": "number"
|
3492
|
+
"name": "currentTime",
|
3493
|
+
"type": "CurrentTime"
|
3497
3494
|
}
|
3498
3495
|
]
|
3499
3496
|
}
|
3500
3497
|
],
|
3501
3498
|
"attributes": [
|
3502
3499
|
{
|
3503
|
-
"name": "
|
3504
|
-
"default": "
|
3505
|
-
"description": "
|
3500
|
+
"name": "time",
|
3501
|
+
"default": "`0`",
|
3502
|
+
"description": "Total time, unit milliseconds",
|
3506
3503
|
"options": [],
|
3507
3504
|
"value": {
|
3508
3505
|
"type": "number | string",
|
@@ -3510,100 +3507,113 @@
|
|
3510
3507
|
}
|
3511
3508
|
},
|
3512
3509
|
{
|
3513
|
-
"name": "
|
3514
|
-
"default": "`
|
3515
|
-
"description": "
|
3510
|
+
"name": "format",
|
3511
|
+
"default": "`HH:mm:ss`",
|
3512
|
+
"description": "Time format",
|
3516
3513
|
"options": [],
|
3517
3514
|
"value": {
|
3518
|
-
"type": "
|
3515
|
+
"type": "string",
|
3519
3516
|
"kind": "expression"
|
3520
3517
|
}
|
3521
3518
|
},
|
3522
3519
|
{
|
3523
|
-
"name": "
|
3524
|
-
"default": "`
|
3525
|
-
"description": "
|
3520
|
+
"name": "auto-start",
|
3521
|
+
"default": "`true`",
|
3522
|
+
"description": "Whether to auto start count down",
|
3526
3523
|
"options": [],
|
3527
3524
|
"value": {
|
3528
|
-
"type": "
|
3525
|
+
"type": "boolean",
|
3529
3526
|
"kind": "expression"
|
3530
3527
|
}
|
3531
3528
|
},
|
3532
3529
|
{
|
3533
|
-
"name": "
|
3534
|
-
"default": "
|
3535
|
-
"description": "
|
3530
|
+
"name": "millisecond",
|
3531
|
+
"default": "`false`",
|
3532
|
+
"description": "Whether to enable millisecond render",
|
3536
3533
|
"options": [],
|
3537
3534
|
"value": {
|
3538
|
-
"type": "
|
3535
|
+
"type": "boolean",
|
3539
3536
|
"kind": "expression"
|
3540
3537
|
}
|
3541
3538
|
}
|
3542
3539
|
]
|
3543
3540
|
},
|
3544
3541
|
{
|
3545
|
-
"name": "van-
|
3546
|
-
"slots": [
|
3547
|
-
{
|
3548
|
-
"name": "default",
|
3549
|
-
"description": "Custom Content"
|
3550
|
-
}
|
3551
|
-
],
|
3542
|
+
"name": "van-contact-list",
|
3543
|
+
"slots": [],
|
3552
3544
|
"events": [
|
3553
3545
|
{
|
3554
|
-
"name": "
|
3555
|
-
"description": "Emitted when
|
3546
|
+
"name": "add",
|
3547
|
+
"description": "Emitted when the add button is clicked",
|
3556
3548
|
"arguments": []
|
3557
3549
|
},
|
3558
3550
|
{
|
3559
|
-
"name": "
|
3560
|
-
"description": "Emitted when
|
3551
|
+
"name": "edit",
|
3552
|
+
"description": "Emitted when the edit button is clicked",
|
3561
3553
|
"arguments": [
|
3562
3554
|
{
|
3563
|
-
"name": "
|
3564
|
-
"type": "
|
3555
|
+
"name": "contact",
|
3556
|
+
"type": "Contact"
|
3557
|
+
},
|
3558
|
+
{
|
3559
|
+
"name": "index",
|
3560
|
+
"type": "number"
|
3561
|
+
}
|
3562
|
+
]
|
3563
|
+
},
|
3564
|
+
{
|
3565
|
+
"name": "select",
|
3566
|
+
"description": "Emitted when a contact is selected",
|
3567
|
+
"arguments": [
|
3568
|
+
{
|
3569
|
+
"name": "contact",
|
3570
|
+
"type": "Contact"
|
3571
|
+
},
|
3572
|
+
{
|
3573
|
+
"name": "index",
|
3574
|
+
"type": "number"
|
3565
3575
|
}
|
3566
3576
|
]
|
3567
3577
|
}
|
3568
3578
|
],
|
3569
3579
|
"attributes": [
|
3570
3580
|
{
|
3571
|
-
"name": "
|
3572
|
-
"default": "
|
3573
|
-
"description": "
|
3581
|
+
"name": "v-model",
|
3582
|
+
"default": "-",
|
3583
|
+
"description": "Id of chosen contact",
|
3574
3584
|
"options": [],
|
3575
3585
|
"value": {
|
3576
3586
|
"type": "number | string",
|
3577
3587
|
"kind": "expression"
|
3578
3588
|
}
|
3579
3589
|
},
|
3580
|
-
{
|
3581
|
-
"name": "
|
3582
|
-
"default": "`
|
3583
|
-
"description": "
|
3590
|
+
{
|
3591
|
+
"name": "list",
|
3592
|
+
"default": "`[]`",
|
3593
|
+
"description": "Contact list",
|
3584
3594
|
"options": [],
|
3585
3595
|
"value": {
|
3586
|
-
"type": "
|
3596
|
+
"type": "Contact[]",
|
3587
3597
|
"kind": "expression"
|
3588
3598
|
}
|
3589
3599
|
},
|
3590
3600
|
{
|
3591
|
-
"name": "
|
3592
|
-
"default": "`
|
3593
|
-
"description": "
|
3601
|
+
"name": "add-text",
|
3602
|
+
"default": "`Add new contact`",
|
3603
|
+
"description": "Add button text",
|
3594
3604
|
"options": [],
|
3595
3605
|
"value": {
|
3596
|
-
"type": "
|
3606
|
+
"type": "string",
|
3597
3607
|
"kind": "expression"
|
3598
3608
|
}
|
3599
3609
|
},
|
3600
3610
|
{
|
3601
|
-
"name": "
|
3602
|
-
"default": "
|
3603
|
-
"description": "
|
3611
|
+
"name": "default-tag-text",
|
3612
|
+
"default": "-",
|
3613
|
+
"description": "Default tag text",
|
3604
3614
|
"options": [],
|
3605
3615
|
"value": {
|
3606
|
-
"type": "
|
3616
|
+
"type": "string",
|
3607
3617
|
"kind": "expression"
|
3608
3618
|
}
|
3609
3619
|
}
|
@@ -4288,6 +4298,16 @@
|
|
4288
4298
|
"kind": "expression"
|
4289
4299
|
}
|
4290
4300
|
},
|
4301
|
+
{
|
4302
|
+
"name": "cancel-button-disabled",
|
4303
|
+
"default": "`false`",
|
4304
|
+
"description": "Whether to disable cancel button",
|
4305
|
+
"options": [],
|
4306
|
+
"value": {
|
4307
|
+
"type": "boolean",
|
4308
|
+
"kind": "expression"
|
4309
|
+
}
|
4310
|
+
},
|
4291
4311
|
{
|
4292
4312
|
"name": "confirm-button-text",
|
4293
4313
|
"default": "`Confirm`",
|
@@ -4308,6 +4328,16 @@
|
|
4308
4328
|
"kind": "expression"
|
4309
4329
|
}
|
4310
4330
|
},
|
4331
|
+
{
|
4332
|
+
"name": "confirm-button-disabled",
|
4333
|
+
"default": "`false`",
|
4334
|
+
"description": "Whether to disable confirm button",
|
4335
|
+
"options": [],
|
4336
|
+
"value": {
|
4337
|
+
"type": "boolean",
|
4338
|
+
"kind": "expression"
|
4339
|
+
}
|
4340
|
+
},
|
4311
4341
|
{
|
4312
4342
|
"name": "overlay",
|
4313
4343
|
"default": "`true`",
|
@@ -4818,6 +4848,20 @@
|
|
4818
4848
|
"type": "MouseEvent"
|
4819
4849
|
}
|
4820
4850
|
]
|
4851
|
+
},
|
4852
|
+
{
|
4853
|
+
"name": "start-validate",
|
4854
|
+
"description": "Emitted when start validation",
|
4855
|
+
"arguments": []
|
4856
|
+
},
|
4857
|
+
{
|
4858
|
+
"name": "end-validate",
|
4859
|
+
"description": "Emitted when end validation",
|
4860
|
+
"arguments": [
|
4861
|
+
{
|
4862
|
+
"name": "{ status: string }"
|
4863
|
+
}
|
4864
|
+
]
|
4821
4865
|
}
|
4822
4866
|
],
|
4823
4867
|
"attributes": [
|
@@ -6618,223 +6662,14 @@
|
|
6618
6662
|
"description": "Mode, can be set to `closeable` `link`",
|
6619
6663
|
"options": [],
|
6620
6664
|
"value": {
|
6621
|
-
"type": "string",
|
6622
|
-
"kind": "expression"
|
6623
|
-
}
|
6624
|
-
},
|
6625
|
-
{
|
6626
|
-
"name": "text",
|
6627
|
-
"default": "`''`",
|
6628
|
-
"description": "Notice text content",
|
6629
|
-
"options": [],
|
6630
|
-
"value": {
|
6631
|
-
"type": "string",
|
6632
|
-
"kind": "expression"
|
6633
|
-
}
|
6634
|
-
},
|
6635
|
-
{
|
6636
|
-
"name": "color",
|
6637
|
-
"default": "`#ed6a0c`",
|
6638
|
-
"description": "Text color",
|
6639
|
-
"options": [],
|
6640
|
-
"value": {
|
6641
|
-
"type": "string",
|
6642
|
-
"kind": "expression"
|
6643
|
-
}
|
6644
|
-
},
|
6645
|
-
{
|
6646
|
-
"name": "background",
|
6647
|
-
"default": "`#fffbe8`",
|
6648
|
-
"description": "Background color",
|
6649
|
-
"options": [],
|
6650
|
-
"value": {
|
6651
|
-
"type": "string",
|
6652
|
-
"kind": "expression"
|
6653
|
-
}
|
6654
|
-
},
|
6655
|
-
{
|
6656
|
-
"name": "left-icon",
|
6657
|
-
"default": "-",
|
6658
|
-
"description": "Left Icon",
|
6659
|
-
"options": [],
|
6660
|
-
"value": {
|
6661
|
-
"type": "string",
|
6662
|
-
"kind": "expression"
|
6663
|
-
}
|
6664
|
-
},
|
6665
|
-
{
|
6666
|
-
"name": "delay",
|
6667
|
-
"default": "`1`",
|
6668
|
-
"description": "Animation delay (s)",
|
6669
|
-
"options": [],
|
6670
|
-
"value": {
|
6671
|
-
"type": "number | string",
|
6672
|
-
"kind": "expression"
|
6673
|
-
}
|
6674
|
-
},
|
6675
|
-
{
|
6676
|
-
"name": "speed",
|
6677
|
-
"default": "`60`",
|
6678
|
-
"description": "Scroll speed (px/s)",
|
6679
|
-
"options": [],
|
6680
|
-
"value": {
|
6681
|
-
"type": "number | string",
|
6682
|
-
"kind": "expression"
|
6683
|
-
}
|
6684
|
-
},
|
6685
|
-
{
|
6686
|
-
"name": "scrollable",
|
6687
|
-
"default": "-",
|
6688
|
-
"description": "Whether to scroll content",
|
6689
|
-
"options": [],
|
6690
|
-
"value": {
|
6691
|
-
"type": "boolean",
|
6692
|
-
"kind": "expression"
|
6693
|
-
}
|
6694
|
-
},
|
6695
|
-
{
|
6696
|
-
"name": "wrapable",
|
6697
|
-
"default": "`false`",
|
6698
|
-
"description": "Whether to enable text wrap",
|
6699
|
-
"options": [],
|
6700
|
-
"value": {
|
6701
|
-
"type": "boolean",
|
6702
|
-
"kind": "expression"
|
6703
|
-
}
|
6704
|
-
}
|
6705
|
-
]
|
6706
|
-
},
|
6707
|
-
{
|
6708
|
-
"name": "van-overlay",
|
6709
|
-
"slots": [
|
6710
|
-
{
|
6711
|
-
"name": "default",
|
6712
|
-
"description": "Default slot"
|
6713
|
-
}
|
6714
|
-
],
|
6715
|
-
"events": [
|
6716
|
-
{
|
6717
|
-
"name": "click",
|
6718
|
-
"description": "Emitted when component is clicked",
|
6719
|
-
"arguments": [
|
6720
|
-
{
|
6721
|
-
"name": "event",
|
6722
|
-
"type": "MouseEvent"
|
6723
|
-
}
|
6724
|
-
]
|
6725
|
-
}
|
6726
|
-
],
|
6727
|
-
"attributes": [
|
6728
|
-
{
|
6729
|
-
"name": "show",
|
6730
|
-
"default": "`false`",
|
6731
|
-
"description": "Whether to show overlay",
|
6732
|
-
"options": [],
|
6733
|
-
"value": {
|
6734
|
-
"type": "boolean",
|
6735
|
-
"kind": "expression"
|
6736
|
-
}
|
6737
|
-
},
|
6738
|
-
{
|
6739
|
-
"name": "z-index",
|
6740
|
-
"default": "`1`",
|
6741
|
-
"description": "z-index",
|
6742
|
-
"options": [],
|
6743
|
-
"value": {
|
6744
|
-
"type": "number | string",
|
6745
|
-
"kind": "expression"
|
6746
|
-
}
|
6747
|
-
},
|
6748
|
-
{
|
6749
|
-
"name": "duration",
|
6750
|
-
"default": "`0.3`",
|
6751
|
-
"description": "Animation duration",
|
6752
|
-
"options": [],
|
6753
|
-
"value": {
|
6754
|
-
"type": "number | string",
|
6755
|
-
"kind": "expression"
|
6756
|
-
}
|
6757
|
-
},
|
6758
|
-
{
|
6759
|
-
"name": "class-name",
|
6760
|
-
"default": "-",
|
6761
|
-
"description": "ClassName",
|
6762
|
-
"options": [],
|
6763
|
-
"value": {
|
6764
|
-
"type": "string",
|
6765
|
-
"kind": "expression"
|
6766
|
-
}
|
6767
|
-
},
|
6768
|
-
{
|
6769
|
-
"name": "custom-class",
|
6770
|
-
"default": "-",
|
6771
|
-
"description": "Custom style",
|
6772
|
-
"options": [],
|
6773
|
-
"value": {
|
6774
|
-
"type": "object",
|
6775
|
-
"kind": "expression"
|
6776
|
-
}
|
6777
|
-
},
|
6778
|
-
{
|
6779
|
-
"name": "lock-scroll",
|
6780
|
-
"default": "`true`",
|
6781
|
-
"description": "Whether to lock background scroll",
|
6782
|
-
"options": [],
|
6783
|
-
"value": {
|
6784
|
-
"type": "boolean",
|
6785
|
-
"kind": "expression"
|
6786
|
-
}
|
6787
|
-
},
|
6788
|
-
{
|
6789
|
-
"name": "lazy-render",
|
6790
|
-
"default": "`true`",
|
6791
|
-
"description": "Whether to lazy render util appeared",
|
6792
|
-
"options": [],
|
6793
|
-
"value": {
|
6794
|
-
"type": "boolean",
|
6795
|
-
"kind": "expression"
|
6796
|
-
}
|
6797
|
-
}
|
6798
|
-
]
|
6799
|
-
},
|
6800
|
-
{
|
6801
|
-
"name": "van-pagination",
|
6802
|
-
"slots": [
|
6803
|
-
{
|
6804
|
-
"name": "page",
|
6805
|
-
"description": "Custom pagination item"
|
6806
|
-
},
|
6807
|
-
{
|
6808
|
-
"name": "prev-text",
|
6809
|
-
"description": "Custom prev text"
|
6810
|
-
},
|
6811
|
-
{
|
6812
|
-
"name": "next-text",
|
6813
|
-
"description": "Custom next text"
|
6814
|
-
}
|
6815
|
-
],
|
6816
|
-
"events": [
|
6817
|
-
{
|
6818
|
-
"name": "change",
|
6819
|
-
"description": "Emitted when current page changed",
|
6820
|
-
"arguments": []
|
6821
|
-
}
|
6822
|
-
],
|
6823
|
-
"attributes": [
|
6824
|
-
{
|
6825
|
-
"name": "v-model",
|
6826
|
-
"default": "-",
|
6827
|
-
"description": "Current page number",
|
6828
|
-
"options": [],
|
6829
|
-
"value": {
|
6830
|
-
"type": "number",
|
6665
|
+
"type": "string",
|
6831
6666
|
"kind": "expression"
|
6832
6667
|
}
|
6833
6668
|
},
|
6834
6669
|
{
|
6835
|
-
"name": "
|
6836
|
-
"default": "`
|
6837
|
-
"description": "
|
6670
|
+
"name": "text",
|
6671
|
+
"default": "`''`",
|
6672
|
+
"description": "Notice text content",
|
6838
6673
|
"options": [],
|
6839
6674
|
"value": {
|
6840
6675
|
"type": "string",
|
@@ -6842,9 +6677,9 @@
|
|
6842
6677
|
}
|
6843
6678
|
},
|
6844
6679
|
{
|
6845
|
-
"name": "
|
6846
|
-
"default": "`
|
6847
|
-
"description": "
|
6680
|
+
"name": "color",
|
6681
|
+
"default": "`#ed6a0c`",
|
6682
|
+
"description": "Text color",
|
6848
6683
|
"options": [],
|
6849
6684
|
"value": {
|
6850
6685
|
"type": "string",
|
@@ -6852,9 +6687,9 @@
|
|
6852
6687
|
}
|
6853
6688
|
},
|
6854
6689
|
{
|
6855
|
-
"name": "
|
6856
|
-
"default": "`
|
6857
|
-
"description": "
|
6690
|
+
"name": "background",
|
6691
|
+
"default": "`#fffbe8`",
|
6692
|
+
"description": "Background color",
|
6858
6693
|
"options": [],
|
6859
6694
|
"value": {
|
6860
6695
|
"type": "string",
|
@@ -6862,19 +6697,19 @@
|
|
6862
6697
|
}
|
6863
6698
|
},
|
6864
6699
|
{
|
6865
|
-
"name": "
|
6866
|
-
"default": "
|
6867
|
-
"description": "
|
6700
|
+
"name": "left-icon",
|
6701
|
+
"default": "-",
|
6702
|
+
"description": "Left Icon",
|
6868
6703
|
"options": [],
|
6869
6704
|
"value": {
|
6870
|
-
"type": "
|
6705
|
+
"type": "string",
|
6871
6706
|
"kind": "expression"
|
6872
6707
|
}
|
6873
6708
|
},
|
6874
6709
|
{
|
6875
|
-
"name": "
|
6876
|
-
"default": "`
|
6877
|
-
"description": "
|
6710
|
+
"name": "delay",
|
6711
|
+
"default": "`1`",
|
6712
|
+
"description": "Animation delay (s)",
|
6878
6713
|
"options": [],
|
6879
6714
|
"value": {
|
6880
6715
|
"type": "number | string",
|
@@ -6882,9 +6717,9 @@
|
|
6882
6717
|
}
|
6883
6718
|
},
|
6884
6719
|
{
|
6885
|
-
"name": "
|
6886
|
-
"default": "
|
6887
|
-
"description": "
|
6720
|
+
"name": "speed",
|
6721
|
+
"default": "`60`",
|
6722
|
+
"description": "Scroll speed (px/s)",
|
6888
6723
|
"options": [],
|
6889
6724
|
"value": {
|
6890
6725
|
"type": "number | string",
|
@@ -6892,19 +6727,19 @@
|
|
6892
6727
|
}
|
6893
6728
|
},
|
6894
6729
|
{
|
6895
|
-
"name": "
|
6896
|
-
"default": "
|
6897
|
-
"description": "
|
6730
|
+
"name": "scrollable",
|
6731
|
+
"default": "-",
|
6732
|
+
"description": "Whether to scroll content",
|
6898
6733
|
"options": [],
|
6899
6734
|
"value": {
|
6900
|
-
"type": "
|
6735
|
+
"type": "boolean",
|
6901
6736
|
"kind": "expression"
|
6902
6737
|
}
|
6903
6738
|
},
|
6904
6739
|
{
|
6905
|
-
"name": "
|
6740
|
+
"name": "wrapable",
|
6906
6741
|
"default": "`false`",
|
6907
|
-
"description": "Whether to
|
6742
|
+
"description": "Whether to enable text wrap",
|
6908
6743
|
"options": [],
|
6909
6744
|
"value": {
|
6910
6745
|
"type": "boolean",
|
@@ -7083,54 +6918,263 @@
|
|
7083
6918
|
"description": "Whether to show delete button",
|
7084
6919
|
"options": [],
|
7085
6920
|
"value": {
|
7086
|
-
"type": "boolean",
|
6921
|
+
"type": "boolean",
|
6922
|
+
"kind": "expression"
|
6923
|
+
}
|
6924
|
+
},
|
6925
|
+
{
|
6926
|
+
"name": "blur-on-close",
|
6927
|
+
"default": "`true`",
|
6928
|
+
"description": "Whether to emit blur event when clicking close button",
|
6929
|
+
"options": [],
|
6930
|
+
"value": {
|
6931
|
+
"type": "boolean",
|
6932
|
+
"kind": "expression"
|
6933
|
+
}
|
6934
|
+
},
|
6935
|
+
{
|
6936
|
+
"name": "hide-on-click-outside",
|
6937
|
+
"default": "`true`",
|
6938
|
+
"description": "Whether to hide keyboard when outside is clicked",
|
6939
|
+
"options": [],
|
6940
|
+
"value": {
|
6941
|
+
"type": "boolean",
|
6942
|
+
"kind": "expression"
|
6943
|
+
}
|
6944
|
+
},
|
6945
|
+
{
|
6946
|
+
"name": "teleport",
|
6947
|
+
"default": "-",
|
6948
|
+
"description": "Specifies a target element where NumberKeyboard will be mounted",
|
6949
|
+
"options": [],
|
6950
|
+
"value": {
|
6951
|
+
"type": "string | Element",
|
6952
|
+
"kind": "expression"
|
6953
|
+
}
|
6954
|
+
},
|
6955
|
+
{
|
6956
|
+
"name": "safe-area-inset-bottom",
|
6957
|
+
"default": "`true`",
|
6958
|
+
"description": "Whether to enable bottom safe area adaptation",
|
6959
|
+
"options": [],
|
6960
|
+
"value": {
|
6961
|
+
"type": "boolean",
|
6962
|
+
"kind": "expression"
|
6963
|
+
}
|
6964
|
+
},
|
6965
|
+
{
|
6966
|
+
"name": "random-key-order",
|
6967
|
+
"default": "`false`",
|
6968
|
+
"description": "Whether to shuffle the order of keys",
|
6969
|
+
"options": [],
|
6970
|
+
"value": {
|
6971
|
+
"type": "boolean",
|
6972
|
+
"kind": "expression"
|
6973
|
+
}
|
6974
|
+
}
|
6975
|
+
]
|
6976
|
+
},
|
6977
|
+
{
|
6978
|
+
"name": "van-overlay",
|
6979
|
+
"slots": [
|
6980
|
+
{
|
6981
|
+
"name": "default",
|
6982
|
+
"description": "Default slot"
|
6983
|
+
}
|
6984
|
+
],
|
6985
|
+
"events": [
|
6986
|
+
{
|
6987
|
+
"name": "click",
|
6988
|
+
"description": "Emitted when component is clicked",
|
6989
|
+
"arguments": [
|
6990
|
+
{
|
6991
|
+
"name": "event",
|
6992
|
+
"type": "MouseEvent"
|
6993
|
+
}
|
6994
|
+
]
|
6995
|
+
}
|
6996
|
+
],
|
6997
|
+
"attributes": [
|
6998
|
+
{
|
6999
|
+
"name": "show",
|
7000
|
+
"default": "`false`",
|
7001
|
+
"description": "Whether to show overlay",
|
7002
|
+
"options": [],
|
7003
|
+
"value": {
|
7004
|
+
"type": "boolean",
|
7005
|
+
"kind": "expression"
|
7006
|
+
}
|
7007
|
+
},
|
7008
|
+
{
|
7009
|
+
"name": "z-index",
|
7010
|
+
"default": "`1`",
|
7011
|
+
"description": "z-index",
|
7012
|
+
"options": [],
|
7013
|
+
"value": {
|
7014
|
+
"type": "number | string",
|
7015
|
+
"kind": "expression"
|
7016
|
+
}
|
7017
|
+
},
|
7018
|
+
{
|
7019
|
+
"name": "duration",
|
7020
|
+
"default": "`0.3`",
|
7021
|
+
"description": "Animation duration",
|
7022
|
+
"options": [],
|
7023
|
+
"value": {
|
7024
|
+
"type": "number | string",
|
7025
|
+
"kind": "expression"
|
7026
|
+
}
|
7027
|
+
},
|
7028
|
+
{
|
7029
|
+
"name": "class-name",
|
7030
|
+
"default": "-",
|
7031
|
+
"description": "ClassName",
|
7032
|
+
"options": [],
|
7033
|
+
"value": {
|
7034
|
+
"type": "string",
|
7035
|
+
"kind": "expression"
|
7036
|
+
}
|
7037
|
+
},
|
7038
|
+
{
|
7039
|
+
"name": "custom-class",
|
7040
|
+
"default": "-",
|
7041
|
+
"description": "Custom style",
|
7042
|
+
"options": [],
|
7043
|
+
"value": {
|
7044
|
+
"type": "object",
|
7045
|
+
"kind": "expression"
|
7046
|
+
}
|
7047
|
+
},
|
7048
|
+
{
|
7049
|
+
"name": "lock-scroll",
|
7050
|
+
"default": "`true`",
|
7051
|
+
"description": "Whether to lock background scroll",
|
7052
|
+
"options": [],
|
7053
|
+
"value": {
|
7054
|
+
"type": "boolean",
|
7055
|
+
"kind": "expression"
|
7056
|
+
}
|
7057
|
+
},
|
7058
|
+
{
|
7059
|
+
"name": "lazy-render",
|
7060
|
+
"default": "`true`",
|
7061
|
+
"description": "Whether to lazy render util appeared",
|
7062
|
+
"options": [],
|
7063
|
+
"value": {
|
7064
|
+
"type": "boolean",
|
7065
|
+
"kind": "expression"
|
7066
|
+
}
|
7067
|
+
}
|
7068
|
+
]
|
7069
|
+
},
|
7070
|
+
{
|
7071
|
+
"name": "van-pagination",
|
7072
|
+
"slots": [
|
7073
|
+
{
|
7074
|
+
"name": "page",
|
7075
|
+
"description": "Custom pagination item"
|
7076
|
+
},
|
7077
|
+
{
|
7078
|
+
"name": "prev-text",
|
7079
|
+
"description": "Custom prev text"
|
7080
|
+
},
|
7081
|
+
{
|
7082
|
+
"name": "next-text",
|
7083
|
+
"description": "Custom next text"
|
7084
|
+
}
|
7085
|
+
],
|
7086
|
+
"events": [
|
7087
|
+
{
|
7088
|
+
"name": "change",
|
7089
|
+
"description": "Emitted when current page changed",
|
7090
|
+
"arguments": []
|
7091
|
+
}
|
7092
|
+
],
|
7093
|
+
"attributes": [
|
7094
|
+
{
|
7095
|
+
"name": "v-model",
|
7096
|
+
"default": "-",
|
7097
|
+
"description": "Current page number",
|
7098
|
+
"options": [],
|
7099
|
+
"value": {
|
7100
|
+
"type": "number",
|
7101
|
+
"kind": "expression"
|
7102
|
+
}
|
7103
|
+
},
|
7104
|
+
{
|
7105
|
+
"name": "mode",
|
7106
|
+
"default": "`multi`",
|
7107
|
+
"description": "Mode, can be set to `simple` `multi`",
|
7108
|
+
"options": [],
|
7109
|
+
"value": {
|
7110
|
+
"type": "string",
|
7111
|
+
"kind": "expression"
|
7112
|
+
}
|
7113
|
+
},
|
7114
|
+
{
|
7115
|
+
"name": "prev-text",
|
7116
|
+
"default": "`Previous`",
|
7117
|
+
"description": "Previous text",
|
7118
|
+
"options": [],
|
7119
|
+
"value": {
|
7120
|
+
"type": "string",
|
7121
|
+
"kind": "expression"
|
7122
|
+
}
|
7123
|
+
},
|
7124
|
+
{
|
7125
|
+
"name": "next-text",
|
7126
|
+
"default": "`Next`",
|
7127
|
+
"description": "Next text",
|
7128
|
+
"options": [],
|
7129
|
+
"value": {
|
7130
|
+
"type": "string",
|
7087
7131
|
"kind": "expression"
|
7088
7132
|
}
|
7089
7133
|
},
|
7090
7134
|
{
|
7091
|
-
"name": "
|
7092
|
-
"default": "`
|
7093
|
-
"description": "
|
7135
|
+
"name": "total-items",
|
7136
|
+
"default": "`0`",
|
7137
|
+
"description": "Total items",
|
7094
7138
|
"options": [],
|
7095
7139
|
"value": {
|
7096
|
-
"type": "
|
7140
|
+
"type": "number | string",
|
7097
7141
|
"kind": "expression"
|
7098
7142
|
}
|
7099
7143
|
},
|
7100
7144
|
{
|
7101
|
-
"name": "
|
7102
|
-
"default": "`
|
7103
|
-
"description": "
|
7145
|
+
"name": "items-per-page",
|
7146
|
+
"default": "`10`",
|
7147
|
+
"description": "Item number per page",
|
7104
7148
|
"options": [],
|
7105
7149
|
"value": {
|
7106
|
-
"type": "
|
7150
|
+
"type": "number | string",
|
7107
7151
|
"kind": "expression"
|
7108
7152
|
}
|
7109
7153
|
},
|
7110
7154
|
{
|
7111
|
-
"name": "
|
7112
|
-
"default": "
|
7113
|
-
"description": "
|
7155
|
+
"name": "page-count",
|
7156
|
+
"default": "`-`",
|
7157
|
+
"description": "The total number of pages, if not set, will be calculated based on `total-items` and `items-per-page`",
|
7114
7158
|
"options": [],
|
7115
7159
|
"value": {
|
7116
|
-
"type": "
|
7160
|
+
"type": "number | string",
|
7117
7161
|
"kind": "expression"
|
7118
7162
|
}
|
7119
7163
|
},
|
7120
7164
|
{
|
7121
|
-
"name": "
|
7122
|
-
"default": "`
|
7123
|
-
"description": "
|
7165
|
+
"name": "show-page-size",
|
7166
|
+
"default": "`5`",
|
7167
|
+
"description": "Count of page size to show",
|
7124
7168
|
"options": [],
|
7125
7169
|
"value": {
|
7126
|
-
"type": "
|
7170
|
+
"type": "number | string",
|
7127
7171
|
"kind": "expression"
|
7128
7172
|
}
|
7129
7173
|
},
|
7130
7174
|
{
|
7131
|
-
"name": "
|
7175
|
+
"name": "force-ellipses",
|
7132
7176
|
"default": "`false`",
|
7133
|
-
"description": "Whether to
|
7177
|
+
"description": "Whether to show ellipses",
|
7134
7178
|
"options": [],
|
7135
7179
|
"value": {
|
7136
7180
|
"type": "boolean",
|
@@ -7933,6 +7977,103 @@
|
|
7933
7977
|
}
|
7934
7978
|
]
|
7935
7979
|
},
|
7980
|
+
{
|
7981
|
+
"name": "van-progress",
|
7982
|
+
"slots": [],
|
7983
|
+
"events": [],
|
7984
|
+
"attributes": [
|
7985
|
+
{
|
7986
|
+
"name": "percentage",
|
7987
|
+
"default": "`0`",
|
7988
|
+
"description": "Percentage",
|
7989
|
+
"options": [],
|
7990
|
+
"value": {
|
7991
|
+
"type": "number | string",
|
7992
|
+
"kind": "expression"
|
7993
|
+
}
|
7994
|
+
},
|
7995
|
+
{
|
7996
|
+
"name": "stroke-width",
|
7997
|
+
"default": "`4px`",
|
7998
|
+
"description": "Stroke width",
|
7999
|
+
"options": [],
|
8000
|
+
"value": {
|
8001
|
+
"type": "number | string",
|
8002
|
+
"kind": "expression"
|
8003
|
+
}
|
8004
|
+
},
|
8005
|
+
{
|
8006
|
+
"name": "color",
|
8007
|
+
"default": "`#1989fa`",
|
8008
|
+
"description": "Color",
|
8009
|
+
"options": [],
|
8010
|
+
"value": {
|
8011
|
+
"type": "string",
|
8012
|
+
"kind": "expression"
|
8013
|
+
}
|
8014
|
+
},
|
8015
|
+
{
|
8016
|
+
"name": "track-color",
|
8017
|
+
"default": "`#e5e5e5`",
|
8018
|
+
"description": "Track color",
|
8019
|
+
"options": [],
|
8020
|
+
"value": {
|
8021
|
+
"type": "string",
|
8022
|
+
"kind": "expression"
|
8023
|
+
}
|
8024
|
+
},
|
8025
|
+
{
|
8026
|
+
"name": "pivot-text",
|
8027
|
+
"default": "percentage",
|
8028
|
+
"description": "Pivot text",
|
8029
|
+
"options": [],
|
8030
|
+
"value": {
|
8031
|
+
"type": "string",
|
8032
|
+
"kind": "expression"
|
8033
|
+
}
|
8034
|
+
},
|
8035
|
+
{
|
8036
|
+
"name": "pivot-color",
|
8037
|
+
"default": "inherit progress color",
|
8038
|
+
"description": "Pivot text background color",
|
8039
|
+
"options": [],
|
8040
|
+
"value": {
|
8041
|
+
"type": "string",
|
8042
|
+
"kind": "expression"
|
8043
|
+
}
|
8044
|
+
},
|
8045
|
+
{
|
8046
|
+
"name": "text-color",
|
8047
|
+
"default": "`white`",
|
8048
|
+
"description": "Pivot text color",
|
8049
|
+
"options": [],
|
8050
|
+
"value": {
|
8051
|
+
"type": "string",
|
8052
|
+
"kind": "expression"
|
8053
|
+
}
|
8054
|
+
},
|
8055
|
+
{
|
8056
|
+
"name": "inactive",
|
8057
|
+
"default": "`false`",
|
8058
|
+
"description": "Whether to be gray",
|
8059
|
+
"options": [],
|
8060
|
+
"value": {
|
8061
|
+
"type": "boolean",
|
8062
|
+
"kind": "expression"
|
8063
|
+
}
|
8064
|
+
},
|
8065
|
+
{
|
8066
|
+
"name": "show-pivot",
|
8067
|
+
"default": "`true`",
|
8068
|
+
"description": "Whether to show text",
|
8069
|
+
"options": [],
|
8070
|
+
"value": {
|
8071
|
+
"type": "boolean",
|
8072
|
+
"kind": "expression"
|
8073
|
+
}
|
8074
|
+
}
|
8075
|
+
]
|
8076
|
+
},
|
7936
8077
|
{
|
7937
8078
|
"name": "van-pull-refresh",
|
7938
8079
|
"slots": [
|
@@ -7966,6 +8107,15 @@
|
|
7966
8107
|
"name": "refresh",
|
7967
8108
|
"description": "Emitted after pulling refresh",
|
7968
8109
|
"arguments": []
|
8110
|
+
},
|
8111
|
+
{
|
8112
|
+
"name": "change",
|
8113
|
+
"description": "Emitted when draging or status changed",
|
8114
|
+
"arguments": [
|
8115
|
+
{
|
8116
|
+
"name": "{ status: string, distance: number }"
|
8117
|
+
}
|
8118
|
+
]
|
7969
8119
|
}
|
7970
8120
|
],
|
7971
8121
|
"attributes": [
|
@@ -8071,103 +8221,6 @@
|
|
8071
8221
|
}
|
8072
8222
|
]
|
8073
8223
|
},
|
8074
|
-
{
|
8075
|
-
"name": "van-progress",
|
8076
|
-
"slots": [],
|
8077
|
-
"events": [],
|
8078
|
-
"attributes": [
|
8079
|
-
{
|
8080
|
-
"name": "percentage",
|
8081
|
-
"default": "`0`",
|
8082
|
-
"description": "Percentage",
|
8083
|
-
"options": [],
|
8084
|
-
"value": {
|
8085
|
-
"type": "number | string",
|
8086
|
-
"kind": "expression"
|
8087
|
-
}
|
8088
|
-
},
|
8089
|
-
{
|
8090
|
-
"name": "stroke-width",
|
8091
|
-
"default": "`4px`",
|
8092
|
-
"description": "Stroke width",
|
8093
|
-
"options": [],
|
8094
|
-
"value": {
|
8095
|
-
"type": "number | string",
|
8096
|
-
"kind": "expression"
|
8097
|
-
}
|
8098
|
-
},
|
8099
|
-
{
|
8100
|
-
"name": "color",
|
8101
|
-
"default": "`#1989fa`",
|
8102
|
-
"description": "Color",
|
8103
|
-
"options": [],
|
8104
|
-
"value": {
|
8105
|
-
"type": "string",
|
8106
|
-
"kind": "expression"
|
8107
|
-
}
|
8108
|
-
},
|
8109
|
-
{
|
8110
|
-
"name": "track-color",
|
8111
|
-
"default": "`#e5e5e5`",
|
8112
|
-
"description": "Track color",
|
8113
|
-
"options": [],
|
8114
|
-
"value": {
|
8115
|
-
"type": "string",
|
8116
|
-
"kind": "expression"
|
8117
|
-
}
|
8118
|
-
},
|
8119
|
-
{
|
8120
|
-
"name": "pivot-text",
|
8121
|
-
"default": "percentage",
|
8122
|
-
"description": "Pivot text",
|
8123
|
-
"options": [],
|
8124
|
-
"value": {
|
8125
|
-
"type": "string",
|
8126
|
-
"kind": "expression"
|
8127
|
-
}
|
8128
|
-
},
|
8129
|
-
{
|
8130
|
-
"name": "pivot-color",
|
8131
|
-
"default": "inherit progress color",
|
8132
|
-
"description": "Pivot text background color",
|
8133
|
-
"options": [],
|
8134
|
-
"value": {
|
8135
|
-
"type": "string",
|
8136
|
-
"kind": "expression"
|
8137
|
-
}
|
8138
|
-
},
|
8139
|
-
{
|
8140
|
-
"name": "text-color",
|
8141
|
-
"default": "`white`",
|
8142
|
-
"description": "Pivot text color",
|
8143
|
-
"options": [],
|
8144
|
-
"value": {
|
8145
|
-
"type": "string",
|
8146
|
-
"kind": "expression"
|
8147
|
-
}
|
8148
|
-
},
|
8149
|
-
{
|
8150
|
-
"name": "inactive",
|
8151
|
-
"default": "`false`",
|
8152
|
-
"description": "Whether to be gray",
|
8153
|
-
"options": [],
|
8154
|
-
"value": {
|
8155
|
-
"type": "boolean",
|
8156
|
-
"kind": "expression"
|
8157
|
-
}
|
8158
|
-
},
|
8159
|
-
{
|
8160
|
-
"name": "show-pivot",
|
8161
|
-
"default": "`true`",
|
8162
|
-
"description": "Whether to show text",
|
8163
|
-
"options": [],
|
8164
|
-
"value": {
|
8165
|
-
"type": "boolean",
|
8166
|
-
"kind": "expression"
|
8167
|
-
}
|
8168
|
-
}
|
8169
|
-
]
|
8170
|
-
},
|
8171
8224
|
{
|
8172
8225
|
"name": "van-radio",
|
8173
8226
|
"slots": [
|
@@ -10155,6 +10208,16 @@
|
|
10155
10208
|
"type": "boolean",
|
10156
10209
|
"kind": "expression"
|
10157
10210
|
}
|
10211
|
+
},
|
10212
|
+
{
|
10213
|
+
"name": "placeholder",
|
10214
|
+
"default": "`false`",
|
10215
|
+
"description": "Whether to generate a placeholder element",
|
10216
|
+
"options": [],
|
10217
|
+
"value": {
|
10218
|
+
"type": "boolean",
|
10219
|
+
"kind": "expression"
|
10220
|
+
}
|
10158
10221
|
}
|
10159
10222
|
]
|
10160
10223
|
},
|
@@ -10439,6 +10502,10 @@
|
|
10439
10502
|
{
|
10440
10503
|
"name": "node",
|
10441
10504
|
"description": "Custom the content of node"
|
10505
|
+
},
|
10506
|
+
{
|
10507
|
+
"name": "background",
|
10508
|
+
"description": "Custom the background of switch"
|
10442
10509
|
}
|
10443
10510
|
],
|
10444
10511
|
"events": [
|