vant 3.4.8 → 3.4.9

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.
Files changed (47) hide show
  1. package/changelog.generated.md +31 -39
  2. package/es/empty/Empty.js +10 -13
  3. package/es/empty/Images.d.ts +4 -0
  4. package/es/empty/Images.js +271 -0
  5. package/es/field/Field.js +6 -3
  6. package/es/field/types.d.ts +1 -1
  7. package/es/form/Form.d.ts +13 -13
  8. package/es/form/Form.js +6 -3
  9. package/es/form/index.d.ts +9 -9
  10. package/es/index.d.ts +1 -1
  11. package/es/index.js +1 -1
  12. package/es/loading/Loading.js +3 -1
  13. package/es/uploader/Uploader.js +2 -2
  14. package/es/uploader/utils.d.ts +0 -1
  15. package/es/uploader/utils.js +2 -4
  16. package/es/utils/basic.d.ts +1 -0
  17. package/es/utils/basic.js +3 -1
  18. package/lib/empty/Empty.js +10 -13
  19. package/lib/empty/Images.d.ts +4 -0
  20. package/lib/empty/Images.js +290 -0
  21. package/lib/field/Field.js +5 -2
  22. package/lib/field/types.d.ts +1 -1
  23. package/lib/form/Form.d.ts +13 -13
  24. package/lib/form/Form.js +5 -2
  25. package/lib/form/index.d.ts +9 -9
  26. package/lib/index.d.ts +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/loading/Loading.js +3 -1
  29. package/lib/uploader/Uploader.js +1 -1
  30. package/lib/uploader/utils.d.ts +0 -1
  31. package/lib/uploader/utils.js +2 -4
  32. package/lib/utils/basic.d.ts +1 -0
  33. package/lib/utils/basic.js +3 -1
  34. package/lib/vant.cjs.js +233 -49
  35. package/lib/vant.cjs.min.js +1 -1
  36. package/lib/vant.es.js +233 -49
  37. package/lib/vant.es.min.js +233 -49
  38. package/lib/vant.js +233 -49
  39. package/lib/vant.min.js +1 -1
  40. package/package.json +1 -1
  41. package/vetur/attributes.json +276 -276
  42. package/vetur/tags.json +90 -90
  43. package/vetur/web-types.json +1070 -1070
  44. package/es/empty/Network.d.ts +0 -1
  45. package/es/empty/Network.js +0 -89
  46. package/lib/empty/Network.d.ts +0 -1
  47. package/lib/empty/Network.js +0 -108
package/vetur/tags.json CHANGED
@@ -32,6 +32,32 @@
32
32
  "replace"
33
33
  ]
34
34
  },
35
+ "van-address-edit": {
36
+ "attributes": [
37
+ "area-list",
38
+ "area-columns-placeholder",
39
+ "area-placeholder",
40
+ "address-info",
41
+ "search-result",
42
+ "show-postal",
43
+ "show-delete",
44
+ "show-set-default",
45
+ "show-search-result",
46
+ "show-area",
47
+ "show-detail",
48
+ "disable-area",
49
+ "save-button-text",
50
+ "delete-button-text",
51
+ "detail-rows",
52
+ "detail-maxlength",
53
+ "is-saving",
54
+ "is-deleting",
55
+ "tel-validator",
56
+ "tel-maxlength",
57
+ "postal-validator",
58
+ "validator"
59
+ ]
60
+ },
35
61
  "van-action-sheet": {
36
62
  "attributes": [
37
63
  "v-model:show",
@@ -56,30 +82,15 @@
56
82
  "before-close"
57
83
  ]
58
84
  },
59
- "van-address-edit": {
85
+ "van-address-list": {
60
86
  "attributes": [
61
- "area-list",
62
- "area-columns-placeholder",
63
- "area-placeholder",
64
- "address-info",
65
- "search-result",
66
- "show-postal",
67
- "show-delete",
68
- "show-set-default",
69
- "show-search-result",
70
- "show-area",
71
- "show-detail",
72
- "disable-area",
73
- "save-button-text",
74
- "delete-button-text",
75
- "detail-rows",
76
- "detail-maxlength",
77
- "is-saving",
78
- "is-deleting",
79
- "tel-validator",
80
- "tel-maxlength",
81
- "postal-validator",
82
- "validator"
87
+ "v-model",
88
+ "list",
89
+ "disabled-list",
90
+ "disabled-text",
91
+ "switchable",
92
+ "add-button-text",
93
+ "default-tag-text"
83
94
  ]
84
95
  },
85
96
  "van-area": {
@@ -110,17 +121,6 @@
110
121
  "position"
111
122
  ]
112
123
  },
113
- "van-address-list": {
114
- "attributes": [
115
- "v-model",
116
- "list",
117
- "disabled-list",
118
- "disabled-text",
119
- "switchable",
120
- "add-button-text",
121
- "default-tag-text"
122
- ]
123
- },
124
124
  "van-button": {
125
125
  "attributes": [
126
126
  "type",
@@ -452,13 +452,6 @@
452
452
  "teleport"
453
453
  ]
454
454
  },
455
- "van-divider": {
456
- "attributes": [
457
- "dashed",
458
- "hairline",
459
- "content-position"
460
- ]
461
- },
462
455
  "van-dropdown-menu": {
463
456
  "attributes": [
464
457
  "active-color",
@@ -481,6 +474,13 @@
481
474
  "teleport"
482
475
  ]
483
476
  },
477
+ "van-divider": {
478
+ "attributes": [
479
+ "dashed",
480
+ "hairline",
481
+ "content-position"
482
+ ]
483
+ },
484
484
  "van-empty": {
485
485
  "attributes": [
486
486
  "image",
@@ -586,25 +586,6 @@
586
586
  "tag"
587
587
  ]
588
588
  },
589
- "van-image": {
590
- "attributes": [
591
- "src",
592
- "fit",
593
- "position",
594
- "alt",
595
- "width",
596
- "height",
597
- "radius",
598
- "round",
599
- "lazy-load",
600
- "show-error",
601
- "show-loading",
602
- "error-icon",
603
- "loading-icon",
604
- "icon-size",
605
- "icon-prefix"
606
- ]
607
- },
608
589
  "van-image-preview": {
609
590
  "attributes": [
610
591
  "v-model:show",
@@ -628,6 +609,25 @@
628
609
  "teleport"
629
610
  ]
630
611
  },
612
+ "van-image": {
613
+ "attributes": [
614
+ "src",
615
+ "fit",
616
+ "position",
617
+ "alt",
618
+ "width",
619
+ "height",
620
+ "radius",
621
+ "round",
622
+ "lazy-load",
623
+ "show-error",
624
+ "show-loading",
625
+ "error-icon",
626
+ "loading-icon",
627
+ "icon-size",
628
+ "icon-prefix"
629
+ ]
630
+ },
631
631
  "van-index-bar": {
632
632
  "attributes": [
633
633
  "index-list",
@@ -765,26 +765,6 @@
765
765
  "swipe-duration"
766
766
  ]
767
767
  },
768
- "van-popover": {
769
- "attributes": [
770
- "v-model:show",
771
- "actions",
772
- "placement",
773
- "theme",
774
- "trigger",
775
- "duration",
776
- "offset",
777
- "overlay",
778
- "overlay-class",
779
- "overlay-style",
780
- "show-arrow",
781
- "close-on-click-action",
782
- "close-on-click-outside",
783
- "close-on-click-overlay",
784
- "teleport",
785
- "icon-prefix"
786
- ]
787
- },
788
768
  "van-popup": {
789
769
  "attributes": [
790
770
  "v-model:show",
@@ -810,17 +790,24 @@
810
790
  "safe-area-inset-bottom"
811
791
  ]
812
792
  },
813
- "van-progress": {
793
+ "van-popover": {
814
794
  "attributes": [
815
- "percentage",
816
- "stroke-width",
817
- "color",
818
- "track-color",
819
- "pivot-text",
820
- "pivot-color",
821
- "text-color",
822
- "inactive",
823
- "show-pivot"
795
+ "v-model:show",
796
+ "actions",
797
+ "placement",
798
+ "theme",
799
+ "trigger",
800
+ "duration",
801
+ "offset",
802
+ "overlay",
803
+ "overlay-class",
804
+ "overlay-style",
805
+ "show-arrow",
806
+ "close-on-click-action",
807
+ "close-on-click-outside",
808
+ "close-on-click-overlay",
809
+ "teleport",
810
+ "icon-prefix"
824
811
  ]
825
812
  },
826
813
  "van-pull-refresh": {
@@ -837,6 +824,19 @@
837
824
  "disabled"
838
825
  ]
839
826
  },
827
+ "van-progress": {
828
+ "attributes": [
829
+ "percentage",
830
+ "stroke-width",
831
+ "color",
832
+ "track-color",
833
+ "pivot-text",
834
+ "pivot-color",
835
+ "text-color",
836
+ "inactive",
837
+ "show-pivot"
838
+ ]
839
+ },
840
840
  "van-radio": {
841
841
  "attributes": [
842
842
  "name",